Built motion from commit a679711e.|2.6.15
[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 _0x66e7=['request-promise','rimraf','../../config/environment','./faxQueue.attributes','exports','define','FaxQueue','fax_queues','lodash','api','moment'];(function(_0x4ae965,_0x305476){var _0x365add=function(_0x4ba4a6){while(--_0x4ba4a6){_0x4ae965['push'](_0x4ae965['shift']());}};_0x365add(++_0x305476);}(_0x66e7,0x110));var _0x766e=function(_0x1b4b23,_0x5dd6d6){_0x1b4b23=_0x1b4b23-0x0;var _0x2a325b=_0x66e7[_0x1b4b23];return _0x2a325b;};'use strict';var _=require(_0x766e('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x766e('0x1'));var moment=require(_0x766e('0x2'));var BPromise=require('bluebird');var rp=require(_0x766e('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x766e('0x4'));var config=require(_0x766e('0x5'));var attributes=require(_0x766e('0x6'));module[_0x766e('0x7')]=function(_0x454775,_0x3c9614){return _0x454775[_0x766e('0x8')](_0x766e('0x9'),attributes,{'tableName':_0x766e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};