11eae4b75f09da5e0f4dfe6887349fe5d6f3ff58
[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 _0x4b51=['util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash'];(function(_0x2f4b47,_0xdaa94d){var _0x5f3a62=function(_0x57a828){while(--_0x57a828){_0x2f4b47['push'](_0x2f4b47['shift']());}};_0x5f3a62(++_0xdaa94d);}(_0x4b51,0x6f));var _0x14b5=function(_0x556bb1,_0x34830d){_0x556bb1=_0x556bb1-0x0;var _0x45455f=_0x4b51[_0x556bb1];return _0x45455f;};'use strict';var _=require(_0x14b5('0x0'));var util=require(_0x14b5('0x1'));var logger=require(_0x14b5('0x2'))(_0x14b5('0x3'));var moment=require(_0x14b5('0x4'));var BPromise=require(_0x14b5('0x5'));var rp=require(_0x14b5('0x6'));var fs=require('fs');var path=require(_0x14b5('0x7'));var rimraf=require('rimraf');var config=require(_0x14b5('0x8'));var attributes=require(_0x14b5('0x9'));module[_0x14b5('0xa')]=function(_0x1bc04b,_0xfd3a27){return _0x1bc04b[_0x14b5('0xb')](_0x14b5('0xc'),attributes,{'tableName':_0x14b5('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};