Built motion from commit (unavailable).|2.4.16
[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 _0xe3ab=['path','../../config/environment','./license.attributes','exports','define','License','license','lodash','../../config/logger','api','moment','bluebird'];(function(_0x570c2e,_0x8045b4){var _0x2c88b8=function(_0x562843){while(--_0x562843){_0x570c2e['push'](_0x570c2e['shift']());}};_0x2c88b8(++_0x8045b4);}(_0xe3ab,0x8b));var _0xbe3a=function(_0x5db6de,_0x1c82cb){_0x5db6de=_0x5db6de-0x0;var _0x18d4e7=_0xe3ab[_0x5db6de];return _0x18d4e7;};'use strict';var _=require(_0xbe3a('0x0'));var util=require('util');var logger=require(_0xbe3a('0x1'))(_0xbe3a('0x2'));var moment=require(_0xbe3a('0x3'));var BPromise=require(_0xbe3a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbe3a('0x5'));var rimraf=require('rimraf');var config=require(_0xbe3a('0x6'));var attributes=require(_0xbe3a('0x7'));module[_0xbe3a('0x8')]=function(_0xe218e1,_0x3f4fde){return _0xe218e1[_0xbe3a('0x9')](_0xbe3a('0xa'),attributes,{'tableName':_0xbe3a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};