be4f1c503d6e63ae9fefcf1cb1e379a47ca67e14
[motion2.git] / server / api / cmHopperBlack / cmHopperBlack.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 _0xfa18=['request-promise','path','../../config/environment','./cmHopperBlack.attributes','exports','define','CmHopperBlack','cm_hopper_black','util','../../config/logger','api'];(function(_0x571597,_0x204f09){var _0x2e3fb2=function(_0x13fc65){while(--_0x13fc65){_0x571597['push'](_0x571597['shift']());}};_0x2e3fb2(++_0x204f09);}(_0xfa18,0x1aa));var _0x8fa1=function(_0x4f6d9d,_0x32ffde){_0x4f6d9d=_0x4f6d9d-0x0;var _0x76b8f5=_0xfa18[_0x4f6d9d];return _0x76b8f5;};'use strict';var _=require('lodash');var util=require(_0x8fa1('0x0'));var logger=require(_0x8fa1('0x1'))(_0x8fa1('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x8fa1('0x3'));var fs=require('fs');var path=require(_0x8fa1('0x4'));var rimraf=require('rimraf');var config=require(_0x8fa1('0x5'));var attributes=require(_0x8fa1('0x6'));module[_0x8fa1('0x7')]=function(_0x3bd6c1,_0xd131bc){return _0x3bd6c1[_0x8fa1('0x8')](_0x8fa1('0x9'),attributes,{'tableName':_0x8fa1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};