Built motion from commit (unavailable).|2.5.7
[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 _0xb3e9=['license','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./license.attributes'];(function(_0x3a6c91,_0x58a5f9){var _0x2174e6=function(_0x1d71d4){while(--_0x1d71d4){_0x3a6c91['push'](_0x3a6c91['shift']());}};_0x2174e6(++_0x58a5f9);}(_0xb3e9,0x1eb));var _0x9b3e=function(_0x476bf4,_0x2a3755){_0x476bf4=_0x476bf4-0x0;var _0x788ffe=_0xb3e9[_0x476bf4];return _0x788ffe;};'use strict';var _=require(_0x9b3e('0x0'));var util=require('util');var logger=require(_0x9b3e('0x1'))(_0x9b3e('0x2'));var moment=require(_0x9b3e('0x3'));var BPromise=require(_0x9b3e('0x4'));var rp=require(_0x9b3e('0x5'));var fs=require('fs');var path=require(_0x9b3e('0x6'));var rimraf=require(_0x9b3e('0x7'));var config=require('../../config/environment');var attributes=require(_0x9b3e('0x8'));module['exports']=function(_0x27f3fc,_0x5dd905){return _0x27f3fc['define']('License',attributes,{'tableName':_0x9b3e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};