Built motion from commit 5b761a7b.|2.5.36
[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 _0x18e1=['request-promise','path','rimraf','../../config/environment','./license.attributes','exports','define','License','lodash','moment','bluebird'];(function(_0x30248f,_0x454272){var _0x538f45=function(_0x1602f5){while(--_0x1602f5){_0x30248f['push'](_0x30248f['shift']());}};_0x538f45(++_0x454272);}(_0x18e1,0x6b));var _0x118e=function(_0x4fdc78,_0x2eab1f){_0x4fdc78=_0x4fdc78-0x0;var _0x284883=_0x18e1[_0x4fdc78];return _0x284883;};'use strict';var _=require(_0x118e('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x118e('0x1'));var BPromise=require(_0x118e('0x2'));var rp=require(_0x118e('0x3'));var fs=require('fs');var path=require(_0x118e('0x4'));var rimraf=require(_0x118e('0x5'));var config=require(_0x118e('0x6'));var attributes=require(_0x118e('0x7'));module[_0x118e('0x8')]=function(_0x5cb2e1,_0xf7d88c){return _0x5cb2e1[_0x118e('0x9')](_0x118e('0xa'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};