Built motion from commit (unavailable).|2.4.21
[motion2.git] / server / api / cannedAnswer / cannedAnswer.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf81b=['./cannedAnswer.attributes','exports','CannedAnswer','tools_canned_answers','utf8mb4','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x261d12,_0x1e093c){var _0x441715=function(_0x2b5c1a){while(--_0x2b5c1a){_0x261d12['push'](_0x261d12['shift']());}};_0x441715(++_0x1e093c);}(_0xf81b,0x1cc));var _0xbf81=function(_0x27e0a5,_0x37512c){_0x27e0a5=_0x27e0a5-0x0;var _0xcc75ea=_0xf81b[_0x27e0a5];return _0xcc75ea;};'use strict';var _=require(_0xbf81('0x0'));var util=require(_0xbf81('0x1'));var logger=require(_0xbf81('0x2'))('api');var moment=require(_0xbf81('0x3'));var BPromise=require('bluebird');var rp=require(_0xbf81('0x4'));var fs=require('fs');var path=require(_0xbf81('0x5'));var rimraf=require(_0xbf81('0x6'));var config=require(_0xbf81('0x7'));var attributes=require(_0xbf81('0x8'));module[_0xbf81('0x9')]=function(_0x2a4b8e,_0x3af3e7){return _0x2a4b8e['define'](_0xbf81('0xa'),attributes,{'tableName':_0xbf81('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbf81('0xc'),'collate':'utf8mb4_unicode_ci'});};