Built motion from commit ce9a7520.|2.5.39
[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 _0xf7c9=['../../config/environment','./chatProactiveAction.attributes','define','ChatProactiveAction','chat_proactive_actions','util','../../config/logger','api','moment','bluebird','path'];(function(_0x599f41,_0x4db732){var _0x2e4d58=function(_0x14c882){while(--_0x14c882){_0x599f41['push'](_0x599f41['shift']());}};_0x2e4d58(++_0x4db732);}(_0xf7c9,0x139));var _0x9f7c=function(_0x918fa9,_0xba538d){_0x918fa9=_0x918fa9-0x0;var _0x2a5b7b=_0xf7c9[_0x918fa9];return _0x2a5b7b;};'use strict';var _=require('lodash');var util=require(_0x9f7c('0x0'));var logger=require(_0x9f7c('0x1'))(_0x9f7c('0x2'));var moment=require(_0x9f7c('0x3'));var BPromise=require(_0x9f7c('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9f7c('0x5'));var rimraf=require('rimraf');var config=require(_0x9f7c('0x6'));var attributes=require(_0x9f7c('0x7'));module['exports']=function(_0x4bb7d6,_0xebac9a){return _0x4bb7d6[_0x9f7c('0x8')](_0x9f7c('0x9'),attributes,{'tableName':_0x9f7c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};