976c10f64691b02dc18f2163e4833b61eea83e7f
[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 _0x24df=['ChatProactiveAction','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./chatProactiveAction.attributes','exports','define'];(function(_0x28a741,_0x55fd08){var _0x247cf3=function(_0x497565){while(--_0x497565){_0x28a741['push'](_0x28a741['shift']());}};_0x247cf3(++_0x55fd08);}(_0x24df,0x6d));var _0xf24d=function(_0x8ca8ae,_0x30fac3){_0x8ca8ae=_0x8ca8ae-0x0;var _0x2817bb=_0x24df[_0x8ca8ae];return _0x2817bb;};'use strict';var _=require(_0xf24d('0x0'));var util=require(_0xf24d('0x1'));var logger=require(_0xf24d('0x2'))('api');var moment=require(_0xf24d('0x3'));var BPromise=require(_0xf24d('0x4'));var rp=require(_0xf24d('0x5'));var fs=require('fs');var path=require(_0xf24d('0x6'));var rimraf=require(_0xf24d('0x7'));var config=require('../../config/environment');var attributes=require(_0xf24d('0x8'));module[_0xf24d('0x9')]=function(_0x59eac0,_0x963e15){return _0x59eac0[_0xf24d('0xa')](_0xf24d('0xb'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};