Built motion from commit (unavailable).|2.3.1
[motion2.git] / server / api / schedule / schedule.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 _0xf58d=['./schedule.attributes','exports','Schedule','tools_schedules','lodash','moment','request-promise'];(function(_0x134c2e,_0x3573c4){var _0x2825db=function(_0x2a574d){while(--_0x2a574d){_0x134c2e['push'](_0x134c2e['shift']());}};_0x2825db(++_0x3573c4);}(_0xf58d,0xd6));var _0xdf58=function(_0xf1b947,_0x8fed91){_0xf1b947=_0xf1b947-0x0;var _0x50bb78=_0xf58d[_0xf1b947];return _0x50bb78;};'use strict';var _=require(_0xdf58('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xdf58('0x1'));var BPromise=require('bluebird');var rp=require(_0xdf58('0x2'));var attributes=require(_0xdf58('0x3'));module[_0xdf58('0x4')]=function(_0x48e2bd,_0x271a19){return _0x48e2bd['define'](_0xdf58('0x5'),attributes,{'tableName':_0xdf58('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};