Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / license / license.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 _0x69db=['bluebird','request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License','license','lodash','util','api','moment'];(function(_0x874cf1,_0x2a4954){var _0x233579=function(_0xa6e939){while(--_0xa6e939){_0x874cf1['push'](_0x874cf1['shift']());}};_0x233579(++_0x2a4954);}(_0x69db,0x106));var _0xb69d=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x69db[_0x167cc1];return _0x10bc4b;};'use strict';var _=require(_0xb69d('0x0'));var util=require(_0xb69d('0x1'));var logger=require('../../config/logger')(_0xb69d('0x2'));var moment=require(_0xb69d('0x3'));var BPromise=require(_0xb69d('0x4'));var rp=require(_0xb69d('0x5'));var fs=require('fs');var path=require(_0xb69d('0x6'));var rimraf=require(_0xb69d('0x7'));var config=require(_0xb69d('0x8'));var attributes=require(_0xb69d('0x9'));module[_0xb69d('0xa')]=function(_0x13d2c1,_0x29ed58){return _0x13d2c1[_0xb69d('0xb')](_0xb69d('0xc'),attributes,{'tableName':_0xb69d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};