Built motion from commit (unavailable).|2.5.13
[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 _0x2843=['moment','bluebird','path','../../config/environment','./variable.attributes','exports','define','lodash','util','../../config/logger','api'];(function(_0x1b828b,_0x344400){var _0x98da1a=function(_0x1a0f5b){while(--_0x1a0f5b){_0x1b828b['push'](_0x1b828b['shift']());}};_0x98da1a(++_0x344400);}(_0x2843,0x6a));var _0x3284=function(_0x333767,_0x3e6f9c){_0x333767=_0x333767-0x0;var _0x51661b=_0x2843[_0x333767];return _0x51661b;};'use strict';var _=require(_0x3284('0x0'));var util=require(_0x3284('0x1'));var logger=require(_0x3284('0x2'))(_0x3284('0x3'));var moment=require(_0x3284('0x4'));var BPromise=require(_0x3284('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3284('0x6'));var rimraf=require('rimraf');var config=require(_0x3284('0x7'));var attributes=require(_0x3284('0x8'));module[_0x3284('0x9')]=function(_0x1cd1dc,_0x442bff){return _0x1cd1dc[_0x3284('0xa')]('Variable',attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};