78d467f377fb14df52550c93359e692658b570e7
[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 _0x309b=['path','rimraf','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','util','../../config/logger','request-promise'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x309b,0x188));var _0xb309=function(_0x42d7b7,_0x288f1d){_0x42d7b7=_0x42d7b7-0x0;var _0x398d45=_0x309b[_0x42d7b7];return _0x398d45;};'use strict';var _=require(_0xb309('0x0'));var util=require(_0xb309('0x1'));var logger=require(_0xb309('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xb309('0x3'));var fs=require('fs');var path=require(_0xb309('0x4'));var rimraf=require(_0xb309('0x5'));var config=require('../../config/environment');var attributes=require(_0xb309('0x6'));module[_0xb309('0x7')]=function(_0x149638,_0x527d26){return _0x149638[_0xb309('0x8')](_0xb309('0x9'),attributes,{'tableName':_0xb309('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};