Built motion from commit (unavailable).|2.1.0
[motion2.git] / server / api / faxQueue / faxQueue.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 _0x0d96=['request-promise','exports','FaxQueue','fax_queues','lodash','../../config/logger','api','moment','bluebird'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x0d96,0x67));var _0x60d9=function(_0x5cf6e4,_0x3327ef){_0x5cf6e4=_0x5cf6e4-0x0;var _0x29f410=_0x0d96[_0x5cf6e4];return _0x29f410;};'use strict';var _=require(_0x60d9('0x0'));var util=require('util');var logger=require(_0x60d9('0x1'))(_0x60d9('0x2'));var moment=require(_0x60d9('0x3'));var BPromise=require(_0x60d9('0x4'));var rp=require(_0x60d9('0x5'));var attributes=require('./faxQueue.attributes');module[_0x60d9('0x6')]=function(_0x2c9c17,_0x189015){return _0x2c9c17['define'](_0x60d9('0x7'),attributes,{'tableName':_0x60d9('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};