603608d347711b0aa117fd53e5dedcfefb07b415
[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 _0x175e=['request-promise','rimraf','./faxQueue.attributes','define','fax_queues','lodash','util','../../config/logger','api','moment'];(function(_0x43a317,_0x254632){var _0x131e67=function(_0x2182bc){while(--_0x2182bc){_0x43a317['push'](_0x43a317['shift']());}};_0x131e67(++_0x254632);}(_0x175e,0x87));var _0xe175=function(_0x1fbdd6,_0x21ad1f){_0x1fbdd6=_0x1fbdd6-0x0;var _0x8a8600=_0x175e[_0x1fbdd6];return _0x8a8600;};'use strict';var _=require(_0xe175('0x0'));var util=require(_0xe175('0x1'));var logger=require(_0xe175('0x2'))(_0xe175('0x3'));var moment=require(_0xe175('0x4'));var BPromise=require('bluebird');var rp=require(_0xe175('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe175('0x6'));var config=require('../../config/environment');var attributes=require(_0xe175('0x7'));module['exports']=function(_0x403fb2,_0x3362da){return _0x403fb2[_0xe175('0x8')]('FaxQueue',attributes,{'tableName':_0xe175('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};