Built motion from commit (unavailable).|2.5.29
[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 _0x03b7=['api','moment','bluebird','request-promise','path','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','lodash','util','../../config/logger'];(function(_0x51c22b,_0x4d4855){var _0x404ae0=function(_0x2ced9b){while(--_0x2ced9b){_0x51c22b['push'](_0x51c22b['shift']());}};_0x404ae0(++_0x4d4855);}(_0x03b7,0x142));var _0x703b=function(_0x5a1c1e,_0x4cf4c4){_0x5a1c1e=_0x5a1c1e-0x0;var _0x584cf2=_0x03b7[_0x5a1c1e];return _0x584cf2;};'use strict';var _=require(_0x703b('0x0'));var util=require(_0x703b('0x1'));var logger=require(_0x703b('0x2'))(_0x703b('0x3'));var moment=require(_0x703b('0x4'));var BPromise=require(_0x703b('0x5'));var rp=require(_0x703b('0x6'));var fs=require('fs');var path=require(_0x703b('0x7'));var rimraf=require('rimraf');var config=require(_0x703b('0x8'));var attributes=require(_0x703b('0x9'));module[_0x703b('0xa')]=function(_0x36cb07,_0x6740b8){return _0x36cb07[_0x703b('0xb')](_0x703b('0xc'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};