Built motion from commit d9028345.|2.5.43
[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 _0x1f7b=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./variable.attributes','define','tools_variables','lodash','util'];(function(_0x455c6c,_0x1e78b7){var _0x488242=function(_0x3e8fb0){while(--_0x3e8fb0){_0x455c6c['push'](_0x455c6c['shift']());}};_0x488242(++_0x1e78b7);}(_0x1f7b,0x18a));var _0xb1f7=function(_0x2077c2,_0x275ab5){_0x2077c2=_0x2077c2-0x0;var _0x312f9f=_0x1f7b[_0x2077c2];return _0x312f9f;};'use strict';var _=require(_0xb1f7('0x0'));var util=require(_0xb1f7('0x1'));var logger=require(_0xb1f7('0x2'))(_0xb1f7('0x3'));var moment=require(_0xb1f7('0x4'));var BPromise=require(_0xb1f7('0x5'));var rp=require(_0xb1f7('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb1f7('0x7'));var config=require(_0xb1f7('0x8'));var attributes=require(_0xb1f7('0x9'));module['exports']=function(_0x1c1865,_0x48672b){return _0x1c1865[_0xb1f7('0xa')]('Variable',attributes,{'tableName':_0xb1f7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};