Built motion from commit dc14b02d.|2.6.27
[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 _0xf586=['bluebird','request-promise','path','rimraf','../../config/environment','./faxQueue.attributes','exports','define','FaxQueue','lodash','util','api'];(function(_0x38e3f3,_0x39a49a){var _0x4ca93d=function(_0x17a89e){while(--_0x17a89e){_0x38e3f3['push'](_0x38e3f3['shift']());}};_0x4ca93d(++_0x39a49a);}(_0xf586,0x189));var _0x6f58=function(_0x25ba6a,_0x4422d6){_0x25ba6a=_0x25ba6a-0x0;var _0x1be09a=_0xf586[_0x25ba6a];return _0x1be09a;};'use strict';var _=require(_0x6f58('0x0'));var util=require(_0x6f58('0x1'));var logger=require('../../config/logger')(_0x6f58('0x2'));var moment=require('moment');var BPromise=require(_0x6f58('0x3'));var rp=require(_0x6f58('0x4'));var fs=require('fs');var path=require(_0x6f58('0x5'));var rimraf=require(_0x6f58('0x6'));var config=require(_0x6f58('0x7'));var attributes=require(_0x6f58('0x8'));module[_0x6f58('0x9')]=function(_0x5ab943,_0x267f47){return _0x5ab943[_0x6f58('0xa')](_0x6f58('0xb'),attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};