Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / faxApplication / faxApplication.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 _0xd33a=['bluebird','path','rimraf','./faxApplication.attributes','exports','define','FaxApplication','utf8mb4','utf8mb4_unicode_ci','util','api','moment'];(function(_0x17e58f,_0x7bf0b2){var _0x3c6894=function(_0x56ce25){while(--_0x56ce25){_0x17e58f['push'](_0x17e58f['shift']());}};_0x3c6894(++_0x7bf0b2);}(_0xd33a,0x1e9));var _0xad33=function(_0x436561,_0x5d35e4){_0x436561=_0x436561-0x0;var _0x3b4396=_0xd33a[_0x436561];return _0x3b4396;};'use strict';var _=require('lodash');var util=require(_0xad33('0x0'));var logger=require('../../config/logger')(_0xad33('0x1'));var moment=require(_0xad33('0x2'));var BPromise=require(_0xad33('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xad33('0x4'));var rimraf=require(_0xad33('0x5'));var config=require('../../config/environment');var attributes=require(_0xad33('0x6'));module[_0xad33('0x7')]=function(_0x37cc53,_0x2cdd75){return _0x37cc53[_0xad33('0x8')](_0xad33('0x9'),attributes,{'tableName':'fax_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xad33('0xa'),'collate':_0xad33('0xb')});};