Built motion from commit (unavailable).|2.4.18
[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 _0xa03f=['rimraf','../../config/environment','./variable.attributes','exports','define','tools_variables','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x49a5cc,_0x696bfe){var _0x263c62=function(_0x3af7e5){while(--_0x3af7e5){_0x49a5cc['push'](_0x49a5cc['shift']());}};_0x263c62(++_0x696bfe);}(_0xa03f,0x1ce));var _0xfa03=function(_0x4ef823,_0x258047){_0x4ef823=_0x4ef823-0x0;var _0x3f9837=_0xa03f[_0x4ef823];return _0x3f9837;};'use strict';var _=require(_0xfa03('0x0'));var util=require(_0xfa03('0x1'));var logger=require(_0xfa03('0x2'))(_0xfa03('0x3'));var moment=require('moment');var BPromise=require(_0xfa03('0x4'));var rp=require(_0xfa03('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfa03('0x6'));var config=require(_0xfa03('0x7'));var attributes=require(_0xfa03('0x8'));module[_0xfa03('0x9')]=function(_0x35b494,_0x391eed){return _0x35b494[_0xfa03('0xa')]('Variable',attributes,{'tableName':_0xfa03('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};