Built motion from commit dbf3a7e2.|2.6.30
[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 _0xa09f=['moment','bluebird','request-promise','path','rimraf','./chatProactiveAction.attributes','define','ChatProactiveAction','chat_proactive_actions','util','../../config/logger','api'];(function(_0x35d6d2,_0x4ee71a){var _0x528887=function(_0x2ece45){while(--_0x2ece45){_0x35d6d2['push'](_0x35d6d2['shift']());}};_0x528887(++_0x4ee71a);}(_0xa09f,0x17d));var _0xfa09=function(_0x1ed244,_0x7f311b){_0x1ed244=_0x1ed244-0x0;var _0x3c473b=_0xa09f[_0x1ed244];return _0x3c473b;};'use strict';var _=require('lodash');var util=require(_0xfa09('0x0'));var logger=require(_0xfa09('0x1'))(_0xfa09('0x2'));var moment=require(_0xfa09('0x3'));var BPromise=require(_0xfa09('0x4'));var rp=require(_0xfa09('0x5'));var fs=require('fs');var path=require(_0xfa09('0x6'));var rimraf=require(_0xfa09('0x7'));var config=require('../../config/environment');var attributes=require(_0xfa09('0x8'));module['exports']=function(_0x3020e6,_0x1b5a2e){return _0x3020e6[_0xfa09('0x9')](_0xfa09('0xa'),attributes,{'tableName':_0xfa09('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};