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 _0x3da0=['path','rimraf','../../config/environment','./cannedAnswer.attributes','exports','CannedAnswer','tools_canned_answers','utf8mb4_unicode_ci','lodash','util','../../config/logger','moment','bluebird'];(function(_0x392842,_0x365019){var _0x157c7d=function(_0x406d05){while(--_0x406d05){_0x392842['push'](_0x392842['shift']());}};_0x157c7d(++_0x365019);}(_0x3da0,0x1e9));var _0x03da=function(_0xc3aae7,_0x3bfa91){_0xc3aae7=_0xc3aae7-0x0;var _0x1f365a=_0x3da0[_0xc3aae7];return _0x1f365a;};'use strict';var _=require(_0x03da('0x0'));var util=require(_0x03da('0x1'));var logger=require(_0x03da('0x2'))('api');var moment=require(_0x03da('0x3'));var BPromise=require(_0x03da('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x03da('0x5'));var rimraf=require(_0x03da('0x6'));var config=require(_0x03da('0x7'));var attributes=require(_0x03da('0x8'));module[_0x03da('0x9')]=function(_0x36c6e0,_0x13dd8d){return _0x36c6e0['define'](_0x03da('0xa'),attributes,{'tableName':_0x03da('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x03da('0xc')});};