Built motion from commit b5996064.|2.6.21
[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 _0xe044=['util','../../config/logger','moment','bluebird','rimraf','../../config/environment','exports','define','FaxQueue','lodash'];(function(_0x462a88,_0xbf35a2){var _0x2e86ce=function(_0x10d56e){while(--_0x10d56e){_0x462a88['push'](_0x462a88['shift']());}};_0x2e86ce(++_0xbf35a2);}(_0xe044,0x199));var _0x4e04=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe044[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x4e04('0x0'));var util=require(_0x4e04('0x1'));var logger=require(_0x4e04('0x2'))('api');var moment=require(_0x4e04('0x3'));var BPromise=require(_0x4e04('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4e04('0x5'));var config=require(_0x4e04('0x6'));var attributes=require('./faxQueue.attributes');module[_0x4e04('0x7')]=function(_0x52a6a0,_0x5d9276){return _0x52a6a0[_0x4e04('0x8')](_0x4e04('0x9'),attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};