Built motion from commit d1eab355.|2.6.28
[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 _0x9b8a=['define','License','lodash','util','../../config/logger','api','request-promise','path','rimraf','./license.attributes'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x9b8a,0x106));var _0xa9b8=function(_0x408fe0,_0x2b49c0){_0x408fe0=_0x408fe0-0x0;var _0x21b8b1=_0x9b8a[_0x408fe0];return _0x21b8b1;};'use strict';var _=require(_0xa9b8('0x0'));var util=require(_0xa9b8('0x1'));var logger=require(_0xa9b8('0x2'))(_0xa9b8('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa9b8('0x4'));var fs=require('fs');var path=require(_0xa9b8('0x5'));var rimraf=require(_0xa9b8('0x6'));var config=require('../../config/environment');var attributes=require(_0xa9b8('0x7'));module['exports']=function(_0xf29126,_0x11ce54){return _0xf29126[_0xa9b8('0x8')](_0xa9b8('0x9'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};