4733924174eeda95e07d9fd6ad46372259f53200
[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 _0x0f21=['bluebird','request-promise','path','rimraf','./faxQueue.attributes','FaxQueue','lodash','api','moment'];(function(_0x47757b,_0x5e93b0){var _0x4217ce=function(_0x3d98dd){while(--_0x3d98dd){_0x47757b['push'](_0x47757b['shift']());}};_0x4217ce(++_0x5e93b0);}(_0x0f21,0x192));var _0x10f2=function(_0x196004,_0x31a6fc){_0x196004=_0x196004-0x0;var _0xec74b6=_0x0f21[_0x196004];return _0xec74b6;};'use strict';var _=require(_0x10f2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x10f2('0x1'));var moment=require(_0x10f2('0x2'));var BPromise=require(_0x10f2('0x3'));var rp=require(_0x10f2('0x4'));var fs=require('fs');var path=require(_0x10f2('0x5'));var rimraf=require(_0x10f2('0x6'));var config=require('../../config/environment');var attributes=require(_0x10f2('0x7'));module['exports']=function(_0xf0ac66,_0xa1396c){return _0xf0ac66['define'](_0x10f2('0x8'),attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};