02d4e57b301a867f66dc0471b097e9fae25d7f5f
[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 _0x95e4=['api','moment','bluebird','path','rimraf','./userFaxQueue.attributes','exports','UserFaxQueue','user_has_fax_queues','lodash','util','../../config/logger'];(function(_0x350aeb,_0x3d265a){var _0x3c5273=function(_0x32b417){while(--_0x32b417){_0x350aeb['push'](_0x350aeb['shift']());}};_0x3c5273(++_0x3d265a);}(_0x95e4,0xb1));var _0x495e=function(_0x5dd607,_0x107dcc){_0x5dd607=_0x5dd607-0x0;var _0x15cccc=_0x95e4[_0x5dd607];return _0x15cccc;};'use strict';var _=require(_0x495e('0x0'));var util=require(_0x495e('0x1'));var logger=require(_0x495e('0x2'))(_0x495e('0x3'));var moment=require(_0x495e('0x4'));var BPromise=require(_0x495e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x495e('0x6'));var rimraf=require(_0x495e('0x7'));var config=require('../../config/environment');var attributes=require(_0x495e('0x8'));module[_0x495e('0x9')]=function(_0x32913f,_0x19c76c){return _0x32913f['define'](_0x495e('0xa'),attributes,{'tableName':_0x495e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};