Built motion from commit 19a84241.|2.5.34
[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 _0x4d6e=['lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','exports','define'];(function(_0x1dd034,_0x5f5a76){var _0x4ecb48=function(_0x18ee58){while(--_0x18ee58){_0x1dd034['push'](_0x1dd034['shift']());}};_0x4ecb48(++_0x5f5a76);}(_0x4d6e,0x12c));var _0xe4d6=function(_0x2c0a00,_0x3548e4){_0x2c0a00=_0x2c0a00-0x0;var _0x119901=_0x4d6e[_0x2c0a00];return _0x119901;};'use strict';var _=require(_0xe4d6('0x0'));var util=require(_0xe4d6('0x1'));var logger=require(_0xe4d6('0x2'))('api');var moment=require(_0xe4d6('0x3'));var BPromise=require('bluebird');var rp=require(_0xe4d6('0x4'));var fs=require('fs');var path=require(_0xe4d6('0x5'));var rimraf=require(_0xe4d6('0x6'));var config=require(_0xe4d6('0x7'));var attributes=require('./license.attributes');module[_0xe4d6('0x8')]=function(_0x3f010f,_0x470d1c){return _0x3f010f[_0xe4d6('0x9')]('License',attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};