d203ac93eca1fe0593d2ba71234702e8a189f525
[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 _0xb4db=['./faxQueue.attributes','exports','define','FaxQueue','fax_queues','lodash','util','api','moment','path','rimraf','../../config/environment'];(function(_0x2a22ce,_0x367ba8){var _0x30584a=function(_0x7139ee){while(--_0x7139ee){_0x2a22ce['push'](_0x2a22ce['shift']());}};_0x30584a(++_0x367ba8);}(_0xb4db,0x1f1));var _0xbb4d=function(_0x417659,_0x2e3af9){_0x417659=_0x417659-0x0;var _0x3df5b9=_0xb4db[_0x417659];return _0x3df5b9;};'use strict';var _=require(_0xbb4d('0x0'));var util=require(_0xbb4d('0x1'));var logger=require('../../config/logger')(_0xbb4d('0x2'));var moment=require(_0xbb4d('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xbb4d('0x4'));var rimraf=require(_0xbb4d('0x5'));var config=require(_0xbb4d('0x6'));var attributes=require(_0xbb4d('0x7'));module[_0xbb4d('0x8')]=function(_0x223db5,_0x2e206a){return _0x223db5[_0xbb4d('0x9')](_0xbb4d('0xa'),attributes,{'tableName':_0xbb4d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};