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 _0xbf4a=['utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','bluebird','request-promise','path','../../config/environment','./cannedAnswer.attributes','exports','define'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0xbf4a,0x146));var _0xabf4=function(_0x28dd43,_0x2bcf5d){_0x28dd43=_0x28dd43-0x0;var _0x32eb86=_0xbf4a[_0x28dd43];return _0x32eb86;};'use strict';var _=require(_0xabf4('0x0'));var util=require(_0xabf4('0x1'));var logger=require(_0xabf4('0x2'))('api');var moment=require('moment');var BPromise=require(_0xabf4('0x3'));var rp=require(_0xabf4('0x4'));var fs=require('fs');var path=require(_0xabf4('0x5'));var rimraf=require('rimraf');var config=require(_0xabf4('0x6'));var attributes=require(_0xabf4('0x7'));module[_0xabf4('0x8')]=function(_0x99ef14,_0x1d9403){return _0x99ef14[_0xabf4('0x9')]('CannedAnswer',attributes,{'tableName':'tools_canned_answers','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xabf4('0xa'),'collate':_0xabf4('0xb')});};