ddcb4c0bf3fdef769f0094aaaccd09f4310e0587
[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 _0x75cb=['../../config/environment','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','../../config/logger','moment','bluebird','request-promise','rimraf'];(function(_0x23e6bb,_0x5c2d69){var _0x1e3b4c=function(_0x1afc46){while(--_0x1afc46){_0x23e6bb['push'](_0x23e6bb['shift']());}};_0x1e3b4c(++_0x5c2d69);}(_0x75cb,0xd6));var _0xb75c=function(_0x123450,_0x491c01){_0x123450=_0x123450-0x0;var _0x23b29d=_0x75cb[_0x123450];return _0x23b29d;};'use strict';var _=require(_0xb75c('0x0'));var util=require('util');var logger=require(_0xb75c('0x1'))('api');var moment=require(_0xb75c('0x2'));var BPromise=require(_0xb75c('0x3'));var rp=require(_0xb75c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb75c('0x5'));var config=require(_0xb75c('0x6'));var attributes=require('./chatProactiveAction.attributes');module[_0xb75c('0x7')]=function(_0x1cd6f9,_0x473d3e){return _0x1cd6f9[_0xb75c('0x8')](_0xb75c('0x9'),attributes,{'tableName':_0xb75c('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};