9d0f4bb27bba5988ce96b6069dc5519af293fb34
[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 _0x0a51=['../../config/logger','moment','bluebird','request-promise','path','rimraf','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','util'];(function(_0x2d4d56,_0x2b0908){var _0x43136f=function(_0x1c7060){while(--_0x1c7060){_0x2d4d56['push'](_0x2d4d56['shift']());}};_0x43136f(++_0x2b0908);}(_0x0a51,0x8d));var _0x10a5=function(_0x1d3321,_0x118267){_0x1d3321=_0x1d3321-0x0;var _0x359aa3=_0x0a51[_0x1d3321];return _0x359aa3;};'use strict';var _=require(_0x10a5('0x0'));var util=require(_0x10a5('0x1'));var logger=require(_0x10a5('0x2'))('api');var moment=require(_0x10a5('0x3'));var BPromise=require(_0x10a5('0x4'));var rp=require(_0x10a5('0x5'));var fs=require('fs');var path=require(_0x10a5('0x6'));var rimraf=require(_0x10a5('0x7'));var config=require('../../config/environment');var attributes=require(_0x10a5('0x8'));module[_0x10a5('0x9')]=function(_0x529e56,_0x292c5d){return _0x529e56[_0x10a5('0xa')](_0x10a5('0xb'),attributes,{'tableName':_0x10a5('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};