86cb2aa244d05d9ad77d0a395255d92fb319efc1
[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 _0x5c21=['request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License','lodash','util','../../config/logger','api','moment'];(function(_0x50d0a5,_0x3ece14){var _0x16a49c=function(_0x5857fb){while(--_0x5857fb){_0x50d0a5['push'](_0x50d0a5['shift']());}};_0x16a49c(++_0x3ece14);}(_0x5c21,0x119));var _0x15c2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x5c21[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x15c2('0x0'));var util=require(_0x15c2('0x1'));var logger=require(_0x15c2('0x2'))(_0x15c2('0x3'));var moment=require(_0x15c2('0x4'));var BPromise=require('bluebird');var rp=require(_0x15c2('0x5'));var fs=require('fs');var path=require(_0x15c2('0x6'));var rimraf=require(_0x15c2('0x7'));var config=require(_0x15c2('0x8'));var attributes=require(_0x15c2('0x9'));module[_0x15c2('0xa')]=function(_0xa3217b,_0x25dd42){return _0xa3217b[_0x15c2('0xb')](_0x15c2('0xc'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};