5b94d8c4a1a7007ece99c8b8f3c1e3ce93eee373
[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 _0x03f8=['UserFaxQueue','user_has_fax_queues','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./userFaxQueue.attributes'];(function(_0x157a33,_0x3fc488){var _0x506acd=function(_0x1c61c6){while(--_0x1c61c6){_0x157a33['push'](_0x157a33['shift']());}};_0x506acd(++_0x3fc488);}(_0x03f8,0x84));var _0x803f=function(_0x665870,_0x42ab57){_0x665870=_0x665870-0x0;var _0x317721=_0x03f8[_0x665870];return _0x317721;};'use strict';var _=require('lodash');var util=require(_0x803f('0x0'));var logger=require(_0x803f('0x1'))(_0x803f('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x803f('0x3'));var fs=require('fs');var path=require(_0x803f('0x4'));var rimraf=require(_0x803f('0x5'));var config=require(_0x803f('0x6'));var attributes=require(_0x803f('0x7'));module['exports']=function(_0x8ad83a,_0x4cf8b6){return _0x8ad83a['define'](_0x803f('0x8'),attributes,{'tableName':_0x803f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};