Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / openchannelDisposition / openchannelDisposition.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 _0x1c52=['../../config/logger','api','./openchannelDisposition.attributes','exports','define','OpenchannelDisposition','openchannel_dispositions','lodash','util'];(function(_0x49aab7,_0x1d6397){var _0x587b6f=function(_0x2346ac){while(--_0x2346ac){_0x49aab7['push'](_0x49aab7['shift']());}};_0x587b6f(++_0x1d6397);}(_0x1c52,0x7c));var _0x21c5=function(_0x10c727,_0x970da8){_0x10c727=_0x10c727-0x0;var _0x275ac0=_0x1c52[_0x10c727];return _0x275ac0;};'use strict';var _=require(_0x21c5('0x0'));var util=require(_0x21c5('0x1'));var logger=require(_0x21c5('0x2'))(_0x21c5('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require(_0x21c5('0x4'));module[_0x21c5('0x5')]=function(_0x5374cd,_0x13c1a9){return _0x5374cd[_0x21c5('0x6')](_0x21c5('0x7'),attributes,{'tableName':_0x21c5('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};