Built motion from commit b0a9a629.|2.6.33
[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 _0x95e4=['request-promise','path','../../config/environment','./license.attributes','exports','define','license','lodash','util','../../config/logger','moment'];(function(_0x198fc6,_0x5eaee9){var _0x4376bb=function(_0x4b3241){while(--_0x4b3241){_0x198fc6['push'](_0x198fc6['shift']());}};_0x4376bb(++_0x5eaee9);}(_0x95e4,0x193));var _0x495e=function(_0xee52d4,_0x46fca1){_0xee52d4=_0xee52d4-0x0;var _0x31d46c=_0x95e4[_0xee52d4];return _0x31d46c;};'use strict';var _=require(_0x495e('0x0'));var util=require(_0x495e('0x1'));var logger=require(_0x495e('0x2'))('api');var moment=require(_0x495e('0x3'));var BPromise=require('bluebird');var rp=require(_0x495e('0x4'));var fs=require('fs');var path=require(_0x495e('0x5'));var rimraf=require('rimraf');var config=require(_0x495e('0x6'));var attributes=require(_0x495e('0x7'));module[_0x495e('0x8')]=function(_0x44096e,_0x1d8f2c){return _0x44096e[_0x495e('0x9')]('License',attributes,{'tableName':_0x495e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};