Built motion from commit 994c64e1.|2.6.1
[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 _0xf17e=['exports','define','License','license','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x36e900,_0x4b0279){var _0xeccc59=function(_0x198867){while(--_0x198867){_0x36e900['push'](_0x36e900['shift']());}};_0xeccc59(++_0x4b0279);}(_0xf17e,0xb8));var _0xef17=function(_0x3b93d3,_0x2835c3){_0x3b93d3=_0x3b93d3-0x0;var _0x6e0d58=_0xf17e[_0x3b93d3];return _0x6e0d58;};'use strict';var _=require(_0xef17('0x0'));var util=require(_0xef17('0x1'));var logger=require('../../config/logger')(_0xef17('0x2'));var moment=require(_0xef17('0x3'));var BPromise=require(_0xef17('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xef17('0x5'));var rimraf=require(_0xef17('0x6'));var config=require(_0xef17('0x7'));var attributes=require('./license.attributes');module[_0xef17('0x8')]=function(_0x5a7193,_0xfe9a4b){return _0x5a7193[_0xef17('0x9')](_0xef17('0xa'),attributes,{'tableName':_0xef17('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};