Built motion from commit (unavailable).|2.5.12
[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 _0xd8ea=['path','rimraf','../../config/environment','exports','define','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x249091,_0x3aa835){var _0x1e8855=function(_0x1ab99e){while(--_0x1ab99e){_0x249091['push'](_0x249091['shift']());}};_0x1e8855(++_0x3aa835);}(_0xd8ea,0x1bd));var _0xad8e=function(_0x3bf7e5,_0xc51291){_0x3bf7e5=_0x3bf7e5-0x0;var _0x3cfc0a=_0xd8ea[_0x3bf7e5];return _0x3cfc0a;};'use strict';var _=require(_0xad8e('0x0'));var util=require(_0xad8e('0x1'));var logger=require(_0xad8e('0x2'))(_0xad8e('0x3'));var moment=require(_0xad8e('0x4'));var BPromise=require(_0xad8e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xad8e('0x6'));var rimraf=require(_0xad8e('0x7'));var config=require(_0xad8e('0x8'));var attributes=require('./variable.attributes');module[_0xad8e('0x9')]=function(_0x298e30,_0x458172){return _0x298e30[_0xad8e('0xa')]('Variable',attributes,{'tableName':'tools_variables','paranoid':![],'indexes':[],'timestamps':!![]});};