Built motion from commit 97153652.|2.6.26
[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 _0x3a2e=['api','moment','request-promise','path','rimraf','../../config/environment','./license.attributes','define','license','lodash'];(function(_0x47f7ec,_0x369f9d){var _0x415101=function(_0x41317a){while(--_0x41317a){_0x47f7ec['push'](_0x47f7ec['shift']());}};_0x415101(++_0x369f9d);}(_0x3a2e,0x1f3));var _0xe3a2=function(_0xd7acd1,_0x4f864e){_0xd7acd1=_0xd7acd1-0x0;var _0x561856=_0x3a2e[_0xd7acd1];return _0x561856;};'use strict';var _=require(_0xe3a2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xe3a2('0x1'));var moment=require(_0xe3a2('0x2'));var BPromise=require('bluebird');var rp=require(_0xe3a2('0x3'));var fs=require('fs');var path=require(_0xe3a2('0x4'));var rimraf=require(_0xe3a2('0x5'));var config=require(_0xe3a2('0x6'));var attributes=require(_0xe3a2('0x7'));module['exports']=function(_0x38f4dd,_0xc9d9b2){return _0x38f4dd[_0xe3a2('0x8')]('License',attributes,{'tableName':_0xe3a2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};