fc6d6ebcc44cb14990f5b0c733e48fa00da85e3a
[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 _0xb3d1=['api','moment','bluebird','request-promise','path','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','lodash','../../config/logger'];(function(_0x55abd9,_0x1148af){var _0x3e5669=function(_0x6f2105){while(--_0x6f2105){_0x55abd9['push'](_0x55abd9['shift']());}};_0x3e5669(++_0x1148af);}(_0xb3d1,0x174));var _0x1b3d=function(_0x3eebec,_0x33de1d){_0x3eebec=_0x3eebec-0x0;var _0x422046=_0xb3d1[_0x3eebec];return _0x422046;};'use strict';var _=require(_0x1b3d('0x0'));var util=require('util');var logger=require(_0x1b3d('0x1'))(_0x1b3d('0x2'));var moment=require(_0x1b3d('0x3'));var BPromise=require(_0x1b3d('0x4'));var rp=require(_0x1b3d('0x5'));var fs=require('fs');var path=require(_0x1b3d('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x1b3d('0x7'));module[_0x1b3d('0x8')]=function(_0x583433,_0x359c08){return _0x583433[_0x1b3d('0x9')](_0x1b3d('0xa'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};