5ea78ded9f202d8d516570386b38b832f80199dd
[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 _0x38e9=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','lodash','util','../../config/logger'];(function(_0xcc3d40,_0x3c0f3c){var _0x4160a3=function(_0x6289e0){while(--_0x6289e0){_0xcc3d40['push'](_0xcc3d40['shift']());}};_0x4160a3(++_0x3c0f3c);}(_0x38e9,0xef));var _0x938e=function(_0x9fce47,_0x38c3e6){_0x9fce47=_0x9fce47-0x0;var _0x29e671=_0x38e9[_0x9fce47];return _0x29e671;};'use strict';var _=require(_0x938e('0x0'));var util=require(_0x938e('0x1'));var logger=require(_0x938e('0x2'))(_0x938e('0x3'));var moment=require(_0x938e('0x4'));var BPromise=require(_0x938e('0x5'));var rp=require(_0x938e('0x6'));var fs=require('fs');var path=require(_0x938e('0x7'));var rimraf=require(_0x938e('0x8'));var config=require(_0x938e('0x9'));var attributes=require('./license.attributes');module[_0x938e('0xa')]=function(_0x2e2820,_0x149bd3){return _0x2e2820['define']('License',attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};