6255b9fb35239f27f080014a7906599da0cb34db
[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 _0x6cfa=['util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash'];(function(_0x3ab353,_0x5d5283){var _0x1e2285=function(_0x55804f){while(--_0x55804f){_0x3ab353['push'](_0x3ab353['shift']());}};_0x1e2285(++_0x5d5283);}(_0x6cfa,0x6f));var _0xa6cf=function(_0x33ab79,_0x4f7c50){_0x33ab79=_0x33ab79-0x0;var _0x10ac00=_0x6cfa[_0x33ab79];return _0x10ac00;};'use strict';var _=require(_0xa6cf('0x0'));var util=require(_0xa6cf('0x1'));var logger=require(_0xa6cf('0x2'))(_0xa6cf('0x3'));var moment=require(_0xa6cf('0x4'));var BPromise=require(_0xa6cf('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa6cf('0x6'));var rimraf=require(_0xa6cf('0x7'));var config=require(_0xa6cf('0x8'));var attributes=require(_0xa6cf('0x9'));module[_0xa6cf('0xa')]=function(_0x425692,_0x1d843d){return _0x425692[_0xa6cf('0xb')](_0xa6cf('0xc'),attributes,{'tableName':_0xa6cf('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};