Built motion from commit (unavailable).|2.5.15
[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 _0xef8e=['util','../../config/logger','api','bluebird','request-promise','../../config/environment','./variable.attributes','exports','define','tools_variables'];(function(_0x28c331,_0x1537fe){var _0x51ed22=function(_0x2cfedd){while(--_0x2cfedd){_0x28c331['push'](_0x28c331['shift']());}};_0x51ed22(++_0x1537fe);}(_0xef8e,0x8c));var _0xeef8=function(_0x4905d1,_0x10b1bd){_0x4905d1=_0x4905d1-0x0;var _0x22123=_0xef8e[_0x4905d1];return _0x22123;};'use strict';var _=require('lodash');var util=require(_0xeef8('0x0'));var logger=require(_0xeef8('0x1'))(_0xeef8('0x2'));var moment=require('moment');var BPromise=require(_0xeef8('0x3'));var rp=require(_0xeef8('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xeef8('0x5'));var attributes=require(_0xeef8('0x6'));module[_0xeef8('0x7')]=function(_0x17dcda,_0x5603a5){return _0x17dcda[_0xeef8('0x8')]('Variable',attributes,{'tableName':_0xeef8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};