Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / setting / setting.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 _0xa2ac=['path','../../config/environment','./setting.attributes','exports','settings','lodash','util','../../config/logger','api','moment'];(function(_0x182af5,_0x2fb4bc){var _0x104988=function(_0x4f29ef){while(--_0x4f29ef){_0x182af5['push'](_0x182af5['shift']());}};_0x104988(++_0x2fb4bc);}(_0xa2ac,0x14f));var _0xca2a=function(_0x545ce4,_0x530665){_0x545ce4=_0x545ce4-0x0;var _0x16b714=_0xa2ac[_0x545ce4];return _0x16b714;};'use strict';var _=require(_0xca2a('0x0'));var util=require(_0xca2a('0x1'));var logger=require(_0xca2a('0x2'))(_0xca2a('0x3'));var moment=require(_0xca2a('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xca2a('0x5'));var rimraf=require('rimraf');var config=require(_0xca2a('0x6'));var attributes=require(_0xca2a('0x7'));module[_0xca2a('0x8')]=function(_0x57ab54,_0x49af2f){return _0x57ab54['define']('Setting',attributes,{'tableName':_0xca2a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};