0d69894080a9229bdca4c89114d2a08842029761
[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 _0x82f4=['util','../../config/logger','bluebird','request-promise','./userFaxQueue.attributes','exports','define','user_has_fax_queues','lodash'];(function(_0x16a1d7,_0x36d3fe){var _0x219598=function(_0x4d2f2f){while(--_0x4d2f2f){_0x16a1d7['push'](_0x16a1d7['shift']());}};_0x219598(++_0x36d3fe);}(_0x82f4,0x18b));var _0x482f=function(_0x34ff0b,_0x3432a3){_0x34ff0b=_0x34ff0b-0x0;var _0x1b0d1d=_0x82f4[_0x34ff0b];return _0x1b0d1d;};'use strict';var _=require(_0x482f('0x0'));var util=require(_0x482f('0x1'));var logger=require(_0x482f('0x2'))('api');var moment=require('moment');var BPromise=require(_0x482f('0x3'));var rp=require(_0x482f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x482f('0x5'));module[_0x482f('0x6')]=function(_0x5947c3,_0x286f3d){return _0x5947c3[_0x482f('0x7')]('UserFaxQueue',attributes,{'tableName':_0x482f('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};