Built motion from commit 67e5df37.|2.0.66
[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 _0x8d97=['./license.attributes','exports','define','License','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x8d97,0x82));var _0x78d9=function(_0x407f31,_0x1887f9){_0x407f31=_0x407f31-0x0;var _0x3c0f03=_0x8d97[_0x407f31];return _0x3c0f03;};'use strict';var _=require('lodash');var util=require(_0x78d9('0x0'));var logger=require(_0x78d9('0x1'))('api');var moment=require(_0x78d9('0x2'));var BPromise=require(_0x78d9('0x3'));var rp=require(_0x78d9('0x4'));var attributes=require(_0x78d9('0x5'));module[_0x78d9('0x6')]=function(_0x5f4582,_0x2125d0){return _0x5f4582[_0x78d9('0x7')](_0x78d9('0x8'),attributes,{'tableName':'license','paranoid':![],'indexes':[],'timestamps':!![]});};