a6a1241386c88f9fc247f86ed85b1d39cdbba30d
[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 _0x9b0e=['path','../../config/environment','./faxQueue.attributes','define','FaxQueue','fax_queues','lodash','../../config/logger','moment','request-promise'];(function(_0x3d27ba,_0x2671a3){var _0xf01885=function(_0x311f5c){while(--_0x311f5c){_0x3d27ba['push'](_0x3d27ba['shift']());}};_0xf01885(++_0x2671a3);}(_0x9b0e,0xe2));var _0xe9b0=function(_0x26ea4f,_0x1b644a){_0x26ea4f=_0x26ea4f-0x0;var _0x38a160=_0x9b0e[_0x26ea4f];return _0x38a160;};'use strict';var _=require(_0xe9b0('0x0'));var util=require('util');var logger=require(_0xe9b0('0x1'))('api');var moment=require(_0xe9b0('0x2'));var BPromise=require('bluebird');var rp=require(_0xe9b0('0x3'));var fs=require('fs');var path=require(_0xe9b0('0x4'));var rimraf=require('rimraf');var config=require(_0xe9b0('0x5'));var attributes=require(_0xe9b0('0x6'));module['exports']=function(_0x3b89d7,_0x23782f){return _0x3b89d7[_0xe9b0('0x7')](_0xe9b0('0x8'),attributes,{'tableName':_0xe9b0('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};