Built motion from commit (unavailable).|2.5.7
[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 _0xf12a=['util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','exports','CannedAnswer','tools_canned_answers','utf8mb4','utf8mb4_unicode_ci','lodash'];(function(_0x2261ce,_0x9ed8b6){var _0x524640=function(_0x3cbb90){while(--_0x3cbb90){_0x2261ce['push'](_0x2261ce['shift']());}};_0x524640(++_0x9ed8b6);}(_0xf12a,0x8e));var _0xaf12=function(_0x453378,_0x2f360c){_0x453378=_0x453378-0x0;var _0xab3d9e=_0xf12a[_0x453378];return _0xab3d9e;};'use strict';var _=require(_0xaf12('0x0'));var util=require(_0xaf12('0x1'));var logger=require(_0xaf12('0x2'))(_0xaf12('0x3'));var moment=require(_0xaf12('0x4'));var BPromise=require(_0xaf12('0x5'));var rp=require(_0xaf12('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xaf12('0x7'));var attributes=require('./cannedAnswer.attributes');module[_0xaf12('0x8')]=function(_0x581be3,_0x17c0c8){return _0x581be3['define'](_0xaf12('0x9'),attributes,{'tableName':_0xaf12('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xaf12('0xb'),'collate':_0xaf12('0xc')});};