4e28c00e2398c3a2ce9f8b1fd0491983ebcb8628
[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 _0x2756=['define','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./variable.attributes','exports'];(function(_0x3f7212,_0x767609){var _0x40bac8=function(_0x23fc77){while(--_0x23fc77){_0x3f7212['push'](_0x3f7212['shift']());}};_0x40bac8(++_0x767609);}(_0x2756,0x145));var _0x6275=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x2756[_0x19950b];return _0x3c6b41;};'use strict';var _=require(_0x6275('0x0'));var util=require(_0x6275('0x1'));var logger=require(_0x6275('0x2'))(_0x6275('0x3'));var moment=require('moment');var BPromise=require(_0x6275('0x4'));var rp=require(_0x6275('0x5'));var fs=require('fs');var path=require(_0x6275('0x6'));var rimraf=require(_0x6275('0x7'));var config=require(_0x6275('0x8'));var attributes=require(_0x6275('0x9'));module[_0x6275('0xa')]=function(_0x46bc2d,_0x5d7f65){return _0x46bc2d[_0x6275('0xb')]('Variable',attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};