Built motion from commit b9b02fed.|2.6.5
[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 _0xde34=['../../config/logger','api','moment','bluebird','path','../../config/environment','./chatProactiveAction.attributes','exports','ChatProactiveAction','chat_proactive_actions','util'];(function(_0x10a7cc,_0x3ba665){var _0x2a2a56=function(_0x4c5aad){while(--_0x4c5aad){_0x10a7cc['push'](_0x10a7cc['shift']());}};_0x2a2a56(++_0x3ba665);}(_0xde34,0xc5));var _0x4de3=function(_0xdc7a27,_0x534258){_0xdc7a27=_0xdc7a27-0x0;var _0x364a58=_0xde34[_0xdc7a27];return _0x364a58;};'use strict';var _=require('lodash');var util=require(_0x4de3('0x0'));var logger=require(_0x4de3('0x1'))(_0x4de3('0x2'));var moment=require(_0x4de3('0x3'));var BPromise=require(_0x4de3('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4de3('0x5'));var rimraf=require('rimraf');var config=require(_0x4de3('0x6'));var attributes=require(_0x4de3('0x7'));module[_0x4de3('0x8')]=function(_0x3a96e4,_0x5ae87b){return _0x3a96e4['define'](_0x4de3('0x9'),attributes,{'tableName':_0x4de3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};