Built motion from commit d1eab355.|2.6.28
[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 _0x5f26=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','exports','FaxQueue','fax_queues'];(function(_0x4900d4,_0x1801c0){var _0x3b9afe=function(_0x4fc38e){while(--_0x4fc38e){_0x4900d4['push'](_0x4900d4['shift']());}};_0x3b9afe(++_0x1801c0);}(_0x5f26,0xc6));var _0x65f2=function(_0x2aa48b,_0x5a4446){_0x2aa48b=_0x2aa48b-0x0;var _0x48caf8=_0x5f26[_0x2aa48b];return _0x48caf8;};'use strict';var _=require(_0x65f2('0x0'));var util=require(_0x65f2('0x1'));var logger=require(_0x65f2('0x2'))(_0x65f2('0x3'));var moment=require(_0x65f2('0x4'));var BPromise=require(_0x65f2('0x5'));var rp=require(_0x65f2('0x6'));var fs=require('fs');var path=require(_0x65f2('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module[_0x65f2('0x8')]=function(_0x22be29,_0x22df65){return _0x22be29['define'](_0x65f2('0x9'),attributes,{'tableName':_0x65f2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};