4dff05334b755e4e01a1e106f3474e8f24cc5bd4
[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 _0x4226=['../../config/logger','api','moment','bluebird','rimraf','../../config/environment','define','FaxQueue','fax_queues','lodash','util'];(function(_0x5c867f,_0x8c0263){var _0xcc8945=function(_0x5d3ce1){while(--_0x5d3ce1){_0x5c867f['push'](_0x5c867f['shift']());}};_0xcc8945(++_0x8c0263);}(_0x4226,0xe5));var _0x6422=function(_0xccbc12,_0x3de199){_0xccbc12=_0xccbc12-0x0;var _0x381410=_0x4226[_0xccbc12];return _0x381410;};'use strict';var _=require(_0x6422('0x0'));var util=require(_0x6422('0x1'));var logger=require(_0x6422('0x2'))(_0x6422('0x3'));var moment=require(_0x6422('0x4'));var BPromise=require(_0x6422('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x6422('0x6'));var config=require(_0x6422('0x7'));var attributes=require('./faxQueue.attributes');module['exports']=function(_0x1eaed3,_0x32e41b){return _0x1eaed3[_0x6422('0x8')](_0x6422('0x9'),attributes,{'tableName':_0x6422('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};