Built motion from commit 10af8726.|2.6.34
[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 _0xec7e=['util','api','moment','request-promise','./chatProactiveAction.attributes','define','ChatProactiveAction','chat_proactive_actions','lodash'];(function(_0x5d8e33,_0x365f3a){var _0x4fdbd8=function(_0x415f2d){while(--_0x415f2d){_0x5d8e33['push'](_0x5d8e33['shift']());}};_0x4fdbd8(++_0x365f3a);}(_0xec7e,0xe0));var _0xeec7=function(_0x5131bf,_0x393223){_0x5131bf=_0x5131bf-0x0;var _0x296624=_0xec7e[_0x5131bf];return _0x296624;};'use strict';var _=require(_0xeec7('0x0'));var util=require(_0xeec7('0x1'));var logger=require('../../config/logger')(_0xeec7('0x2'));var moment=require(_0xeec7('0x3'));var BPromise=require('bluebird');var rp=require(_0xeec7('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xeec7('0x5'));module['exports']=function(_0x421a09,_0x4cfeca){return _0x421a09[_0xeec7('0x6')](_0xeec7('0x7'),attributes,{'tableName':_0xeec7('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};