Built motion from commit (unavailable).|2.5.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 _0xd88c=['define','License','license','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x58dd4c,_0x3b5689){var _0x153125=function(_0x7ac0f9){while(--_0x7ac0f9){_0x58dd4c['push'](_0x58dd4c['shift']());}};_0x153125(++_0x3b5689);}(_0xd88c,0x162));var _0xcd88=function(_0x20dba1,_0x726a24){_0x20dba1=_0x20dba1-0x0;var _0x47203d=_0xd88c[_0x20dba1];return _0x47203d;};'use strict';var _=require(_0xcd88('0x0'));var util=require(_0xcd88('0x1'));var logger=require(_0xcd88('0x2'))(_0xcd88('0x3'));var moment=require('moment');var BPromise=require(_0xcd88('0x4'));var rp=require(_0xcd88('0x5'));var fs=require('fs');var path=require(_0xcd88('0x6'));var rimraf=require(_0xcd88('0x7'));var config=require(_0xcd88('0x8'));var attributes=require('./license.attributes');module[_0xcd88('0x9')]=function(_0x133953,_0x48eb1e){return _0x133953[_0xcd88('0xa')](_0xcd88('0xb'),attributes,{'tableName':_0xcd88('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};