Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / userFaxQueue / userFaxQueue.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 _0xefe3=['../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','UserFaxQueue','user_has_fax_queues','lodash','util'];(function(_0x1cac85,_0x3aeb46){var _0x23c2f4=function(_0x21ce10){while(--_0x21ce10){_0x1cac85['push'](_0x1cac85['shift']());}};_0x23c2f4(++_0x3aeb46);}(_0xefe3,0xbc));var _0x3efe=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xefe3[_0x20a584];return _0x4b41a8;};'use strict';var _=require(_0x3efe('0x0'));var util=require(_0x3efe('0x1'));var logger=require(_0x3efe('0x2'))('api');var moment=require('moment');var BPromise=require(_0x3efe('0x3'));var rp=require(_0x3efe('0x4'));var fs=require('fs');var path=require(_0x3efe('0x5'));var rimraf=require(_0x3efe('0x6'));var config=require(_0x3efe('0x7'));var attributes=require('./userFaxQueue.attributes');module['exports']=function(_0x2fe915,_0x451c4e){return _0x2fe915['define'](_0x3efe('0x8'),attributes,{'tableName':_0x3efe('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};