Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / api / faxQueue / faxQueue.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 _0x9ceb=['rimraf','../../config/environment','./faxQueue.attributes','exports','define','FaxQueue','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1e12a1,_0x50d28c){var _0x3030ad=function(_0x4acf2e){while(--_0x4acf2e){_0x1e12a1['push'](_0x1e12a1['shift']());}};_0x3030ad(++_0x50d28c);}(_0x9ceb,0x14b));var _0xb9ce=function(_0x1d9999,_0x545eb5){_0x1d9999=_0x1d9999-0x0;var _0x3c93c2=_0x9ceb[_0x1d9999];return _0x3c93c2;};'use strict';var _=require(_0xb9ce('0x0'));var util=require(_0xb9ce('0x1'));var logger=require(_0xb9ce('0x2'))(_0xb9ce('0x3'));var moment=require(_0xb9ce('0x4'));var BPromise=require(_0xb9ce('0x5'));var rp=require(_0xb9ce('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb9ce('0x7'));var config=require(_0xb9ce('0x8'));var attributes=require(_0xb9ce('0x9'));module[_0xb9ce('0xa')]=function(_0x357122,_0x23fa40){return _0x357122[_0xb9ce('0xb')](_0xb9ce('0xc'),attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};