Built motion from commit (unavailable).|2.5.23
[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 _0xff50=['fax_queues','api','bluebird','request-promise','path','../../config/environment','define','FaxQueue'];(function(_0x48e036,_0x461081){var _0x44f8bb=function(_0x1e7349){while(--_0x1e7349){_0x48e036['push'](_0x48e036['shift']());}};_0x44f8bb(++_0x461081);}(_0xff50,0xf9));var _0x0ff5=function(_0x2ed7d1,_0x363741){_0x2ed7d1=_0x2ed7d1-0x0;var _0x38ae3c=_0xff50[_0x2ed7d1];return _0x38ae3c;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x0ff5('0x0'));var moment=require('moment');var BPromise=require(_0x0ff5('0x1'));var rp=require(_0x0ff5('0x2'));var fs=require('fs');var path=require(_0x0ff5('0x3'));var rimraf=require('rimraf');var config=require(_0x0ff5('0x4'));var attributes=require('./faxQueue.attributes');module['exports']=function(_0x63653,_0x6fe32f){return _0x63653[_0x0ff5('0x5')](_0x0ff5('0x6'),attributes,{'tableName':_0x0ff5('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};