Built motion from commit eddce310.|2.6.12
[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 _0x3ae5=['bluebird','../../config/environment','./faxQueue.attributes','exports','define','fax_queues','lodash','util','../../config/logger','api','moment'];(function(_0x2ee006,_0x518580){var _0x2481b6=function(_0x4a00f8){while(--_0x4a00f8){_0x2ee006['push'](_0x2ee006['shift']());}};_0x2481b6(++_0x518580);}(_0x3ae5,0x124));var _0x53ae=function(_0x3ccb37,_0x2df041){_0x3ccb37=_0x3ccb37-0x0;var _0x16cb31=_0x3ae5[_0x3ccb37];return _0x16cb31;};'use strict';var _=require(_0x53ae('0x0'));var util=require(_0x53ae('0x1'));var logger=require(_0x53ae('0x2'))(_0x53ae('0x3'));var moment=require(_0x53ae('0x4'));var BPromise=require(_0x53ae('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x53ae('0x6'));var attributes=require(_0x53ae('0x7'));module[_0x53ae('0x8')]=function(_0x5b7124,_0x417bbc){return _0x5b7124[_0x53ae('0x9')]('FaxQueue',attributes,{'tableName':_0x53ae('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};