Built motion from commit 497d3d92.|2.5.43
[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 _0x906e=['../../config/environment','exports','define','license','lodash','api','moment','request-promise','path','rimraf'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x906e,0x13a));var _0xe906=function(_0x54a9b9,_0x31352f){_0x54a9b9=_0x54a9b9-0x0;var _0x2a34ef=_0x906e[_0x54a9b9];return _0x2a34ef;};'use strict';var _=require(_0xe906('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xe906('0x1'));var moment=require(_0xe906('0x2'));var BPromise=require('bluebird');var rp=require(_0xe906('0x3'));var fs=require('fs');var path=require(_0xe906('0x4'));var rimraf=require(_0xe906('0x5'));var config=require(_0xe906('0x6'));var attributes=require('./license.attributes');module[_0xe906('0x7')]=function(_0x7962aa,_0x164eb6){return _0x7962aa[_0xe906('0x8')]('License',attributes,{'tableName':_0xe906('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};