e61a0d73890ac3071e75d27f5dd29302146b7dd3
[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 _0xa929=['lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions'];(function(_0x19b42d,_0x59b9bb){var _0x43cd04=function(_0x4bbb08){while(--_0x4bbb08){_0x19b42d['push'](_0x19b42d['shift']());}};_0x43cd04(++_0x59b9bb);}(_0xa929,0x11e));var _0x9a92=function(_0x2097ef,_0x2f6d5e){_0x2097ef=_0x2097ef-0x0;var _0x302c3c=_0xa929[_0x2097ef];return _0x302c3c;};'use strict';var _=require(_0x9a92('0x0'));var util=require(_0x9a92('0x1'));var logger=require(_0x9a92('0x2'))('api');var moment=require(_0x9a92('0x3'));var BPromise=require(_0x9a92('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9a92('0x5'));var rimraf=require(_0x9a92('0x6'));var config=require(_0x9a92('0x7'));var attributes=require(_0x9a92('0x8'));module[_0x9a92('0x9')]=function(_0x20a616,_0x1d22a0){return _0x20a616[_0x9a92('0xa')](_0x9a92('0xb'),attributes,{'tableName':_0x9a92('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};