1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xa953=['exports','define','utf8mb4_unicode_ci','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./cannedAnswer.attributes'];(function(_0x296e19,_0x557eef){var _0x8ad35b=function(_0x4914fc){while(--_0x4914fc){_0x296e19['push'](_0x296e19['shift']());}};_0x8ad35b(++_0x557eef);}(_0xa953,0x1d1));var _0x3a95=function(_0x5876ad,_0x2150c0){_0x5876ad=_0x5876ad-0x0;var _0x4d46f7=_0xa953[_0x5876ad];return _0x4d46f7;};'use strict';var _=require('lodash');var util=require(_0x3a95('0x0'));var logger=require(_0x3a95('0x1'))('api');var moment=require('moment');var BPromise=require(_0x3a95('0x2'));var rp=require(_0x3a95('0x3'));var fs=require('fs');var path=require(_0x3a95('0x4'));var rimraf=require(_0x3a95('0x5'));var config=require(_0x3a95('0x6'));var attributes=require(_0x3a95('0x7'));module[_0x3a95('0x8')]=function(_0x4cdf98,_0x294854){return _0x4cdf98[_0x3a95('0x9')]('CannedAnswer',attributes,{'tableName':'tools_canned_answers','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x3a95('0xa')});};