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 _0x1857=['tools_canned_answers','utf8mb4_unicode_ci','lodash','util','api','moment','exports','define','CannedAnswer'];(function(_0x18a79d,_0x57bd2c){var _0x4f8848=function(_0x28af80){while(--_0x28af80){_0x18a79d['push'](_0x18a79d['shift']());}};_0x4f8848(++_0x57bd2c);}(_0x1857,0x1a0));var _0x7185=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x1857[_0x2641f9];return _0x585741;};'use strict';var _=require(_0x7185('0x0'));var util=require(_0x7185('0x1'));var logger=require('../../config/logger')(_0x7185('0x2'));var moment=require(_0x7185('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require('./cannedAnswer.attributes');module[_0x7185('0x4')]=function(_0xf7f5fc,_0x118961){return _0xf7f5fc[_0x7185('0x5')](_0x7185('0x6'),attributes,{'tableName':_0x7185('0x7'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x7185('0x8')});};