Built motion from commit 0c5f406c.|2.6.29
[motion2.git] / server / api / variable / variable.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 _0xb34e=['define','Variable','tools_variables','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./variable.attributes','exports'];(function(_0x47fe2b,_0x506ccc){var _0x2b4135=function(_0x52d3b8){while(--_0x52d3b8){_0x47fe2b['push'](_0x47fe2b['shift']());}};_0x2b4135(++_0x506ccc);}(_0xb34e,0x12e));var _0xeb34=function(_0x424a9a,_0x2dd9af){_0x424a9a=_0x424a9a-0x0;var _0xa7831c=_0xb34e[_0x424a9a];return _0xa7831c;};'use strict';var _=require(_0xeb34('0x0'));var util=require('util');var logger=require(_0xeb34('0x1'))(_0xeb34('0x2'));var moment=require(_0xeb34('0x3'));var BPromise=require(_0xeb34('0x4'));var rp=require(_0xeb34('0x5'));var fs=require('fs');var path=require(_0xeb34('0x6'));var rimraf=require(_0xeb34('0x7'));var config=require('../../config/environment');var attributes=require(_0xeb34('0x8'));module[_0xeb34('0x9')]=function(_0x395f6b,_0x166a72){return _0x395f6b[_0xeb34('0xa')](_0xeb34('0xb'),attributes,{'tableName':_0xeb34('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};