Built motion from commit (unavailable).|2.5.9
[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 _0xf249=['define','ChatProactiveAction','util','../../config/logger','api','moment','bluebird','path','rimraf','./chatProactiveAction.attributes'];(function(_0x21c8a9,_0x5687f4){var _0x1f8a72=function(_0x54f365){while(--_0x54f365){_0x21c8a9['push'](_0x21c8a9['shift']());}};_0x1f8a72(++_0x5687f4);}(_0xf249,0x8e));var _0x9f24=function(_0x42c8f2,_0x369897){_0x42c8f2=_0x42c8f2-0x0;var _0x237ac5=_0xf249[_0x42c8f2];return _0x237ac5;};'use strict';var _=require('lodash');var util=require(_0x9f24('0x0'));var logger=require(_0x9f24('0x1'))(_0x9f24('0x2'));var moment=require(_0x9f24('0x3'));var BPromise=require(_0x9f24('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9f24('0x5'));var rimraf=require(_0x9f24('0x6'));var config=require('../../config/environment');var attributes=require(_0x9f24('0x7'));module['exports']=function(_0x28f86b,_0x4d2844){return _0x28f86b[_0x9f24('0x8')](_0x9f24('0x9'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};