Built motion from commit d5e4af8c.|2.6.23
[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 _0xfe0b=['rimraf','../../config/environment','exports','define','fax_queues','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x14b555,_0xa1805c){var _0x5c5f38=function(_0x1d74db){while(--_0x1d74db){_0x14b555['push'](_0x14b555['shift']());}};_0x5c5f38(++_0xa1805c);}(_0xfe0b,0x89));var _0xbfe0=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xfe0b[_0xa464c9];return _0x3d73c4;};'use strict';var _=require(_0xbfe0('0x0'));var util=require(_0xbfe0('0x1'));var logger=require(_0xbfe0('0x2'))(_0xbfe0('0x3'));var moment=require('moment');var BPromise=require(_0xbfe0('0x4'));var rp=require(_0xbfe0('0x5'));var fs=require('fs');var path=require(_0xbfe0('0x6'));var rimraf=require(_0xbfe0('0x7'));var config=require(_0xbfe0('0x8'));var attributes=require('./faxQueue.attributes');module[_0xbfe0('0x9')]=function(_0x30213b,_0x188a90){return _0x30213b[_0xbfe0('0xa')]('FaxQueue',attributes,{'tableName':_0xbfe0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};