Built motion from commit fade34fd.|2.5.41
[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 _0x0ccf=['bluebird','request-promise','../../config/environment','./variable.attributes','exports','Variable','tools_variables','lodash','util','../../config/logger','api','moment'];(function(_0x44a73e,_0x809ba0){var _0x399d44=function(_0x521802){while(--_0x521802){_0x44a73e['push'](_0x44a73e['shift']());}};_0x399d44(++_0x809ba0);}(_0x0ccf,0x11b));var _0xf0cc=function(_0x5deae6,_0x42bc27){_0x5deae6=_0x5deae6-0x0;var _0xdb7c98=_0x0ccf[_0x5deae6];return _0xdb7c98;};'use strict';var _=require(_0xf0cc('0x0'));var util=require(_0xf0cc('0x1'));var logger=require(_0xf0cc('0x2'))(_0xf0cc('0x3'));var moment=require(_0xf0cc('0x4'));var BPromise=require(_0xf0cc('0x5'));var rp=require(_0xf0cc('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xf0cc('0x7'));var attributes=require(_0xf0cc('0x8'));module[_0xf0cc('0x9')]=function(_0x1356e0,_0x556253){return _0x1356e0['define'](_0xf0cc('0xa'),attributes,{'tableName':_0xf0cc('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};