e1ff686e73dcf258b7b228879899985a8d7bbe11
[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 _0x4e80=['request-promise','path','rimraf','./chatProactiveAction.attributes','ChatProactiveAction','chat_proactive_actions','lodash','../../config/logger','api','moment'];(function(_0x25af59,_0x27587e){var _0x2cf9ce=function(_0x28e5df){while(--_0x28e5df){_0x25af59['push'](_0x25af59['shift']());}};_0x2cf9ce(++_0x27587e);}(_0x4e80,0x6a));var _0x04e8=function(_0x2dc2bf,_0x445916){_0x2dc2bf=_0x2dc2bf-0x0;var _0x5d1be8=_0x4e80[_0x2dc2bf];return _0x5d1be8;};'use strict';var _=require(_0x04e8('0x0'));var util=require('util');var logger=require(_0x04e8('0x1'))(_0x04e8('0x2'));var moment=require(_0x04e8('0x3'));var BPromise=require('bluebird');var rp=require(_0x04e8('0x4'));var fs=require('fs');var path=require(_0x04e8('0x5'));var rimraf=require(_0x04e8('0x6'));var config=require('../../config/environment');var attributes=require(_0x04e8('0x7'));module['exports']=function(_0x572047,_0x3b97e3){return _0x572047['define'](_0x04e8('0x8'),attributes,{'tableName':_0x04e8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};