Built motion from commit (unavailable).|2.5.24
[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 _0x47b9=['FaxQueue','util','../../config/logger','api','bluebird','path','rimraf','exports'];(function(_0x49ca18,_0x5e6d05){var _0x145d54=function(_0x30b9be){while(--_0x30b9be){_0x49ca18['push'](_0x49ca18['shift']());}};_0x145d54(++_0x5e6d05);}(_0x47b9,0x1b1));var _0x947b=function(_0x40aaa4,_0x3b22f4){_0x40aaa4=_0x40aaa4-0x0;var _0x4e21e5=_0x47b9[_0x40aaa4];return _0x4e21e5;};'use strict';var _=require('lodash');var util=require(_0x947b('0x0'));var logger=require(_0x947b('0x1'))(_0x947b('0x2'));var moment=require('moment');var BPromise=require(_0x947b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x947b('0x4'));var rimraf=require(_0x947b('0x5'));var config=require('../../config/environment');var attributes=require('./faxQueue.attributes');module[_0x947b('0x6')]=function(_0x101099,_0x479fad){return _0x101099['define'](_0x947b('0x7'),attributes,{'tableName':'fax_queues','paranoid':![],'indexes':[],'timestamps':!![]});};