Built motion from commit 3c2ce842.|2.6.31
[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 _0x45e1=['exports','lodash','api','moment','bluebird','request-promise','path','../../config/environment','./chatProactiveAction.attributes'];(function(_0x2abe9a,_0x426745){var _0xdd91ac=function(_0x4279e5){while(--_0x4279e5){_0x2abe9a['push'](_0x2abe9a['shift']());}};_0xdd91ac(++_0x426745);}(_0x45e1,0x145));var _0x145e=function(_0xb37185,_0x3ec508){_0xb37185=_0xb37185-0x0;var _0x575b45=_0x45e1[_0xb37185];return _0x575b45;};'use strict';var _=require(_0x145e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x145e('0x1'));var moment=require(_0x145e('0x2'));var BPromise=require(_0x145e('0x3'));var rp=require(_0x145e('0x4'));var fs=require('fs');var path=require(_0x145e('0x5'));var rimraf=require('rimraf');var config=require(_0x145e('0x6'));var attributes=require(_0x145e('0x7'));module[_0x145e('0x8')]=function(_0x5228a5,_0x12fed4){return _0x5228a5['define']('ChatProactiveAction',attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};