Built motion from commit c738b9ac.|2.6.25
[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 _0x6f7b=['../../config/environment','exports','License','util','../../config/logger','api','moment','request-promise','path'];(function(_0x3e6729,_0x16d4af){var _0x535bcd=function(_0x5e6c5f){while(--_0x5e6c5f){_0x3e6729['push'](_0x3e6729['shift']());}};_0x535bcd(++_0x16d4af);}(_0x6f7b,0xe4));var _0xb6f7=function(_0x5a869b,_0x3b4bc2){_0x5a869b=_0x5a869b-0x0;var _0x22b48c=_0x6f7b[_0x5a869b];return _0x22b48c;};'use strict';var _=require('lodash');var util=require(_0xb6f7('0x0'));var logger=require(_0xb6f7('0x1'))(_0xb6f7('0x2'));var moment=require(_0xb6f7('0x3'));var BPromise=require('bluebird');var rp=require(_0xb6f7('0x4'));var fs=require('fs');var path=require(_0xb6f7('0x5'));var rimraf=require('rimraf');var config=require(_0xb6f7('0x6'));var attributes=require('./license.attributes');module[_0xb6f7('0x7')]=function(_0xc046c,_0x5124df){return _0xc046c['define'](_0xb6f7('0x8'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};