Built motion from commit e0fa946e.|2.6.5
[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 _0x2cc9=['bluebird','request-promise','path','../../config/environment','./userFaxQueue.attributes','exports','define','UserFaxQueue','../../config/logger','api','moment'];(function(_0x1dc24d,_0x541fa4){var _0x5d7fb2=function(_0x7ccd26){while(--_0x7ccd26){_0x1dc24d['push'](_0x1dc24d['shift']());}};_0x5d7fb2(++_0x541fa4);}(_0x2cc9,0xc3));var _0x92cc=function(_0x3e647e,_0xfb8b6c){_0x3e647e=_0x3e647e-0x0;var _0x3a41fe=_0x2cc9[_0x3e647e];return _0x3a41fe;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x92cc('0x0'))(_0x92cc('0x1'));var moment=require(_0x92cc('0x2'));var BPromise=require(_0x92cc('0x3'));var rp=require(_0x92cc('0x4'));var fs=require('fs');var path=require(_0x92cc('0x5'));var rimraf=require('rimraf');var config=require(_0x92cc('0x6'));var attributes=require(_0x92cc('0x7'));module[_0x92cc('0x8')]=function(_0x224069,_0x232a24){return _0x224069[_0x92cc('0x9')](_0x92cc('0xa'),attributes,{'tableName':'user_has_fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};