Built motion from commit 47436d59.|2.6.7
[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 _0x61be=['util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./faxQueue.attributes','exports','fax_queues'];(function(_0x2ee4a9,_0x12f18d){var _0x7788ff=function(_0x1b98a3){while(--_0x1b98a3){_0x2ee4a9['push'](_0x2ee4a9['shift']());}};_0x7788ff(++_0x12f18d);}(_0x61be,0x155));var _0xe61b=function(_0x5c9113,_0x217c53){_0x5c9113=_0x5c9113-0x0;var _0x5e2921=_0x61be[_0x5c9113];return _0x5e2921;};'use strict';var _=require('lodash');var util=require(_0xe61b('0x0'));var logger=require(_0xe61b('0x1'))(_0xe61b('0x2'));var moment=require(_0xe61b('0x3'));var BPromise=require(_0xe61b('0x4'));var rp=require(_0xe61b('0x5'));var fs=require('fs');var path=require(_0xe61b('0x6'));var rimraf=require('rimraf');var config=require(_0xe61b('0x7'));var attributes=require(_0xe61b('0x8'));module[_0xe61b('0x9')]=function(_0x43ed64,_0xd1750){return _0x43ed64['define']('FaxQueue',attributes,{'tableName':_0xe61b('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};