2c1c5f57c4fa4532c2c866e9bbee73d4535aa217
[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 _0xa1d0=['util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','define','License','license'];(function(_0x3b0731,_0xcf9925){var _0x4204d7=function(_0x635ac5){while(--_0x635ac5){_0x3b0731['push'](_0x3b0731['shift']());}};_0x4204d7(++_0xcf9925);}(_0xa1d0,0xfa));var _0x0a1d=function(_0x39f05e,_0x475588){_0x39f05e=_0x39f05e-0x0;var _0x527565=_0xa1d0[_0x39f05e];return _0x527565;};'use strict';var _=require('lodash');var util=require(_0x0a1d('0x0'));var logger=require(_0x0a1d('0x1'))(_0x0a1d('0x2'));var moment=require('moment');var BPromise=require(_0x0a1d('0x3'));var rp=require(_0x0a1d('0x4'));var fs=require('fs');var path=require(_0x0a1d('0x5'));var rimraf=require('rimraf');var config=require(_0x0a1d('0x6'));var attributes=require('./license.attributes');module['exports']=function(_0x5241ee,_0x203208){return _0x5241ee[_0x0a1d('0x7')](_0x0a1d('0x8'),attributes,{'tableName':_0x0a1d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};