Built motion from commit da24aabd.|2.6.20
[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 _0xe7d8=['path','../../config/environment','exports','define','UserFaxQueue','lodash','util','api','moment','bluebird','request-promise'];(function(_0x338f73,_0x1945c8){var _0x163fdf=function(_0x4cd033){while(--_0x4cd033){_0x338f73['push'](_0x338f73['shift']());}};_0x163fdf(++_0x1945c8);}(_0xe7d8,0x17b));var _0x8e7d=function(_0x44d9ab,_0x76bc69){_0x44d9ab=_0x44d9ab-0x0;var _0x31485e=_0xe7d8[_0x44d9ab];return _0x31485e;};'use strict';var _=require(_0x8e7d('0x0'));var util=require(_0x8e7d('0x1'));var logger=require('../../config/logger')(_0x8e7d('0x2'));var moment=require(_0x8e7d('0x3'));var BPromise=require(_0x8e7d('0x4'));var rp=require(_0x8e7d('0x5'));var fs=require('fs');var path=require(_0x8e7d('0x6'));var rimraf=require('rimraf');var config=require(_0x8e7d('0x7'));var attributes=require('./userFaxQueue.attributes');module[_0x8e7d('0x8')]=function(_0x147b4b,_0x240a22){return _0x147b4b[_0x8e7d('0x9')](_0x8e7d('0xa'),attributes,{'tableName':'user_has_fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};