d0a6ba402130f0f1f11960be1e121808287a4806
[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 _0xa99a=['./license.attributes','define','license','lodash','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment'];(function(_0x28407a,_0x2a7269){var _0x8bd6ef=function(_0x3c886f){while(--_0x3c886f){_0x28407a['push'](_0x28407a['shift']());}};_0x8bd6ef(++_0x2a7269);}(_0xa99a,0xa8));var _0xaa99=function(_0x2f4b0e,_0x55dc8c){_0x2f4b0e=_0x2f4b0e-0x0;var _0x55acd5=_0xa99a[_0x2f4b0e];return _0x55acd5;};'use strict';var _=require(_0xaa99('0x0'));var util=require('util');var logger=require(_0xaa99('0x1'))(_0xaa99('0x2'));var moment=require(_0xaa99('0x3'));var BPromise=require('bluebird');var rp=require(_0xaa99('0x4'));var fs=require('fs');var path=require(_0xaa99('0x5'));var rimraf=require(_0xaa99('0x6'));var config=require(_0xaa99('0x7'));var attributes=require(_0xaa99('0x8'));module['exports']=function(_0x39d744,_0x368b66){return _0x39d744[_0xaa99('0x9')]('License',attributes,{'tableName':_0xaa99('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};