a831cfa170e6b5e75dfa1fd35019669f8fb32385
[motion2.git] / server / api / chatProactiveAction / chatProactiveAction.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 _0x7be2=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions'];(function(_0x36858d,_0x4e1f31){var _0x59ea81=function(_0x2533ca){while(--_0x2533ca){_0x36858d['push'](_0x36858d['shift']());}};_0x59ea81(++_0x4e1f31);}(_0x7be2,0xdd));var _0x27be=function(_0x3e417d,_0xaf2086){_0x3e417d=_0x3e417d-0x0;var _0x5c2ede=_0x7be2[_0x3e417d];return _0x5c2ede;};'use strict';var _=require(_0x27be('0x0'));var util=require(_0x27be('0x1'));var logger=require(_0x27be('0x2'))('api');var moment=require(_0x27be('0x3'));var BPromise=require(_0x27be('0x4'));var rp=require(_0x27be('0x5'));var fs=require('fs');var path=require(_0x27be('0x6'));var rimraf=require(_0x27be('0x7'));var config=require('../../config/environment');var attributes=require(_0x27be('0x8'));module[_0x27be('0x9')]=function(_0x3da188,_0x31b74e){return _0x3da188[_0x27be('0xa')](_0x27be('0xb'),attributes,{'tableName':_0x27be('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};