12985e6f34100b1a4f3bbaf7e18a036d0ea2b3f9
[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 _0x5f4f=['../../config/environment','./faxQueue.attributes','exports','FaxQueue','fax_queues','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x5391af,_0x3f1f3d){var _0xda66b0=function(_0x32be99){while(--_0x32be99){_0x5391af['push'](_0x5391af['shift']());}};_0xda66b0(++_0x3f1f3d);}(_0x5f4f,0x71));var _0xf5f4=function(_0x122096,_0x60c295){_0x122096=_0x122096-0x0;var _0x3d1966=_0x5f4f[_0x122096];return _0x3d1966;};'use strict';var _=require(_0xf5f4('0x0'));var util=require('util');var logger=require(_0xf5f4('0x1'))('api');var moment=require(_0xf5f4('0x2'));var BPromise=require(_0xf5f4('0x3'));var rp=require(_0xf5f4('0x4'));var fs=require('fs');var path=require(_0xf5f4('0x5'));var rimraf=require(_0xf5f4('0x6'));var config=require(_0xf5f4('0x7'));var attributes=require(_0xf5f4('0x8'));module[_0xf5f4('0x9')]=function(_0x4585ca,_0x1de195){return _0x4585ca['define'](_0xf5f4('0xa'),attributes,{'tableName':_0xf5f4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};