Built motion from commit b5996064.|2.6.21
[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 _0x69de=['path','rimraf','../../config/environment','./userFaxQueue.attributes','UserFaxQueue','user_has_fax_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0x69de,0xbc));var _0xe69d=function(_0x3f8a03,_0x319b9c){_0x3f8a03=_0x3f8a03-0x0;var _0x147fb2=_0x69de[_0x3f8a03];return _0x147fb2;};'use strict';var _=require(_0xe69d('0x0'));var util=require(_0xe69d('0x1'));var logger=require(_0xe69d('0x2'))(_0xe69d('0x3'));var moment=require(_0xe69d('0x4'));var BPromise=require(_0xe69d('0x5'));var rp=require(_0xe69d('0x6'));var fs=require('fs');var path=require(_0xe69d('0x7'));var rimraf=require(_0xe69d('0x8'));var config=require(_0xe69d('0x9'));var attributes=require(_0xe69d('0xa'));module['exports']=function(_0x532b9c,_0x1dd62d){return _0x532b9c['define'](_0xe69d('0xb'),attributes,{'tableName':_0xe69d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};