Built motion from commit 0415ced0.|2.6.28
[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 _0xb169=['path','../../config/environment','define','ChatProactiveAction','chat_proactive_actions','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x513aa5,_0x1fba79){var _0x1a1a7c=function(_0x240e3f){while(--_0x240e3f){_0x513aa5['push'](_0x513aa5['shift']());}};_0x1a1a7c(++_0x1fba79);}(_0xb169,0x155));var _0x9b16=function(_0xcfeda9,_0xd418ae){_0xcfeda9=_0xcfeda9-0x0;var _0x4826c7=_0xb169[_0xcfeda9];return _0x4826c7;};'use strict';var _=require(_0x9b16('0x0'));var util=require(_0x9b16('0x1'));var logger=require(_0x9b16('0x2'))(_0x9b16('0x3'));var moment=require(_0x9b16('0x4'));var BPromise=require(_0x9b16('0x5'));var rp=require(_0x9b16('0x6'));var fs=require('fs');var path=require(_0x9b16('0x7'));var rimraf=require('rimraf');var config=require(_0x9b16('0x8'));var attributes=require('./chatProactiveAction.attributes');module['exports']=function(_0x353a12,_0x2c6f11){return _0x353a12[_0x9b16('0x9')](_0x9b16('0xa'),attributes,{'tableName':_0x9b16('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};