Built motion from commit cf5ff673.|2.5.41
[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 _0xff78=['bluebird','path','rimraf','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','lodash','util','../../config/logger'];(function(_0x145703,_0x5d8eb5){var _0x4f6aae=function(_0x20c246){while(--_0x20c246){_0x145703['push'](_0x145703['shift']());}};_0x4f6aae(++_0x5d8eb5);}(_0xff78,0x115));var _0x8ff7=function(_0xfb0281,_0x3ff38b){_0xfb0281=_0xfb0281-0x0;var _0x408dd3=_0xff78[_0xfb0281];return _0x408dd3;};'use strict';var _=require(_0x8ff7('0x0'));var util=require(_0x8ff7('0x1'));var logger=require(_0x8ff7('0x2'))('api');var moment=require('moment');var BPromise=require(_0x8ff7('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x8ff7('0x4'));var rimraf=require(_0x8ff7('0x5'));var config=require('../../config/environment');var attributes=require(_0x8ff7('0x6'));module[_0x8ff7('0x7')]=function(_0x14e2d9,_0x24bf7e){return _0x14e2d9[_0x8ff7('0x8')](_0x8ff7('0x9'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};