Built motion from commit f25620e4.|2.6.30
[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 _0x0bca=['../../config/logger','api','moment','bluebird','path','rimraf','lodash'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0x0bca,0x19c));var _0xa0bc=function(_0x1d8f95,_0xcd1d0e){_0x1d8f95=_0x1d8f95-0x0;var _0x4cb618=_0x0bca[_0x1d8f95];return _0x4cb618;};'use strict';var _=require(_0xa0bc('0x0'));var util=require('util');var logger=require(_0xa0bc('0x1'))(_0xa0bc('0x2'));var moment=require(_0xa0bc('0x3'));var BPromise=require(_0xa0bc('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa0bc('0x5'));var rimraf=require(_0xa0bc('0x6'));var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module['exports']=function(_0x4e68d8,_0x3f196b){return _0x4e68d8['define']('FaxQueue',attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};