Built motion from commit 9d0783e6.|2.6.13
[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 _0x679f=['fax_queues','lodash','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','FaxQueue'];(function(_0x1c00d7,_0x54c5e6){var _0x5a2418=function(_0x31338c){while(--_0x31338c){_0x1c00d7['push'](_0x1c00d7['shift']());}};_0x5a2418(++_0x54c5e6);}(_0x679f,0x169));var _0xf679=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0x679f[_0x40a045];return _0x1a687c;};'use strict';var _=require(_0xf679('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xf679('0x1'));var moment=require(_0xf679('0x2'));var BPromise=require(_0xf679('0x3'));var rp=require(_0xf679('0x4'));var fs=require('fs');var path=require(_0xf679('0x5'));var rimraf=require(_0xf679('0x6'));var config=require(_0xf679('0x7'));var attributes=require('./faxQueue.attributes');module[_0xf679('0x8')]=function(_0x42e44f,_0x5582d5){return _0x42e44f[_0xf679('0x9')](_0xf679('0xa'),attributes,{'tableName':_0xf679('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};