dd99b5505e9ac8868026e80fb99b8aac0566642d
[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 _0x378e=['define','fax_queues','lodash','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports'];(function(_0x28947d,_0x4cc9c6){var _0x12d2ee=function(_0x3f38fc){while(--_0x3f38fc){_0x28947d['push'](_0x28947d['shift']());}};_0x12d2ee(++_0x4cc9c6);}(_0x378e,0x160));var _0xe378=function(_0x5e4ea6,_0x3127e5){_0x5e4ea6=_0x5e4ea6-0x0;var _0x19d312=_0x378e[_0x5e4ea6];return _0x19d312;};'use strict';var _=require(_0xe378('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xe378('0x1'));var moment=require(_0xe378('0x2'));var BPromise=require(_0xe378('0x3'));var rp=require(_0xe378('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe378('0x5'));var config=require(_0xe378('0x6'));var attributes=require('./faxQueue.attributes');module[_0xe378('0x7')]=function(_0x27bad1,_0x473c98){return _0x27bad1[_0xe378('0x8')]('FaxQueue',attributes,{'tableName':_0xe378('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};