Built motion from commit (unavailable).|2.5.1
[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 _0x3bd5=['request-promise','path','rimraf','../../config/environment','define','chat_proactive_actions','../../config/logger','api','bluebird'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0x3bd5,0xe7));var _0x53bd=function(_0x1034ea,_0x4fe295){_0x1034ea=_0x1034ea-0x0;var _0xc5c83=_0x3bd5[_0x1034ea];return _0xc5c83;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x53bd('0x0'))(_0x53bd('0x1'));var moment=require('moment');var BPromise=require(_0x53bd('0x2'));var rp=require(_0x53bd('0x3'));var fs=require('fs');var path=require(_0x53bd('0x4'));var rimraf=require(_0x53bd('0x5'));var config=require(_0x53bd('0x6'));var attributes=require('./chatProactiveAction.attributes');module['exports']=function(_0x443882,_0x21567b){return _0x443882[_0x53bd('0x7')]('ChatProactiveAction',attributes,{'tableName':_0x53bd('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};