Built motion from commit da617fac.|2.6.6
[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 _0xb0c4=['../../config/logger','api','moment','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','util'];(function(_0x3f5e5e,_0x532de2){var _0x35ebd7=function(_0x1b9750){while(--_0x1b9750){_0x3f5e5e['push'](_0x3f5e5e['shift']());}};_0x35ebd7(++_0x532de2);}(_0xb0c4,0x111));var _0x4b0c=function(_0x4c2f30,_0xa91340){_0x4c2f30=_0x4c2f30-0x0;var _0xb8854d=_0xb0c4[_0x4c2f30];return _0xb8854d;};'use strict';var _=require(_0x4b0c('0x0'));var util=require(_0x4b0c('0x1'));var logger=require(_0x4b0c('0x2'))(_0x4b0c('0x3'));var moment=require(_0x4b0c('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x4b0c('0x5'));var attributes=require(_0x4b0c('0x6'));module[_0x4b0c('0x7')]=function(_0x39da7e,_0x497285){return _0x39da7e[_0x4b0c('0x8')](_0x4b0c('0x9'),attributes,{'tableName':_0x4b0c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};