Built motion from commit e02f907f.|2.6.14
[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 _0x003e=['license','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./license.attributes','define'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x003e,0xb5));var _0xe003=function(_0x59710f,_0x44c7f0){_0x59710f=_0x59710f-0x0;var _0xaae66a=_0x003e[_0x59710f];return _0xaae66a;};'use strict';var _=require(_0xe003('0x0'));var util=require(_0xe003('0x1'));var logger=require(_0xe003('0x2'))(_0xe003('0x3'));var moment=require(_0xe003('0x4'));var BPromise=require(_0xe003('0x5'));var rp=require(_0xe003('0x6'));var fs=require('fs');var path=require(_0xe003('0x7'));var rimraf=require(_0xe003('0x8'));var config=require('../../config/environment');var attributes=require(_0xe003('0x9'));module['exports']=function(_0xcd1b8,_0x186786){return _0xcd1b8[_0xe003('0xa')]('License',attributes,{'tableName':_0xe003('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};