9ca6e3a487893d4f05026ea6b2d746987e5f3fb4
[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 _0xb650=['util','api','bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','chat_proactive_actions','lodash'];(function(_0x50278b,_0xfb0e2c){var _0x2c952f=function(_0xe50386){while(--_0xe50386){_0x50278b['push'](_0x50278b['shift']());}};_0x2c952f(++_0xfb0e2c);}(_0xb650,0x18b));var _0x0b65=function(_0x1f4fde,_0x4d5e82){_0x1f4fde=_0x1f4fde-0x0;var _0x2b5d9b=_0xb650[_0x1f4fde];return _0x2b5d9b;};'use strict';var _=require(_0x0b65('0x0'));var util=require(_0x0b65('0x1'));var logger=require('../../config/logger')(_0x0b65('0x2'));var moment=require('moment');var BPromise=require(_0x0b65('0x3'));var rp=require(_0x0b65('0x4'));var fs=require('fs');var path=require(_0x0b65('0x5'));var rimraf=require(_0x0b65('0x6'));var config=require(_0x0b65('0x7'));var attributes=require(_0x0b65('0x8'));module[_0x0b65('0x9')]=function(_0x110feb,_0x3eba4e){return _0x110feb['define']('ChatProactiveAction',attributes,{'tableName':_0x0b65('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};