Built motion from commit ffdca78c.|2.6.24
[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 _0x25d3=['License','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./license.attributes','exports','define'];(function(_0xb62ac5,_0x2da758){var _0x1d63ec=function(_0x42bad0){while(--_0x42bad0){_0xb62ac5['push'](_0xb62ac5['shift']());}};_0x1d63ec(++_0x2da758);}(_0x25d3,0xe8));var _0x325d=function(_0x1aec31,_0x3052aa){_0x1aec31=_0x1aec31-0x0;var _0x33c26e=_0x25d3[_0x1aec31];return _0x33c26e;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x325d('0x0'))(_0x325d('0x1'));var moment=require(_0x325d('0x2'));var BPromise=require(_0x325d('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x325d('0x4'));var rimraf=require(_0x325d('0x5'));var config=require(_0x325d('0x6'));var attributes=require(_0x325d('0x7'));module[_0x325d('0x8')]=function(_0x5d1e2a,_0x3c98e9){return _0x5d1e2a[_0x325d('0x9')](_0x325d('0xa'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};