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 _0x01c6=['bluebird','request-promise','path','rimraf','../../config/environment','./cannedAnswer.attributes','exports','define','tools_canned_answers','lodash','util','../../config/logger','moment'];(function(_0x32e7d6,_0x682bc5){var _0x5427cf=function(_0x365c2d){while(--_0x365c2d){_0x32e7d6['push'](_0x32e7d6['shift']());}};_0x5427cf(++_0x682bc5);}(_0x01c6,0x1a9));var _0x601c=function(_0x4ec13d,_0x358a8f){_0x4ec13d=_0x4ec13d-0x0;var _0x3c3fa7=_0x01c6[_0x4ec13d];return _0x3c3fa7;};'use strict';var _=require(_0x601c('0x0'));var util=require(_0x601c('0x1'));var logger=require(_0x601c('0x2'))('api');var moment=require(_0x601c('0x3'));var BPromise=require(_0x601c('0x4'));var rp=require(_0x601c('0x5'));var fs=require('fs');var path=require(_0x601c('0x6'));var rimraf=require(_0x601c('0x7'));var config=require(_0x601c('0x8'));var attributes=require(_0x601c('0x9'));module[_0x601c('0xa')]=function(_0x5cb98c,_0x10ebd7){return _0x5cb98c[_0x601c('0xb')]('CannedAnswer',attributes,{'tableName':_0x601c('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};