Built motion from commit fa4c4286.|2.6.29
[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 _0x2e69=['bluebird','../../config/environment','define','FaxApplication','utf8mb4','utf8mb4_unicode_ci','util','moment'];(function(_0x4f9b18,_0x2cb5ca){var _0x29f20c=function(_0x268b3d){while(--_0x268b3d){_0x4f9b18['push'](_0x4f9b18['shift']());}};_0x29f20c(++_0x2cb5ca);}(_0x2e69,0x13e));var _0x92e6=function(_0x4dff36,_0x24d3c1){_0x4dff36=_0x4dff36-0x0;var _0x4dbc29=_0x2e69[_0x4dff36];return _0x4dbc29;};'use strict';var _=require('lodash');var util=require(_0x92e6('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x92e6('0x1'));var BPromise=require(_0x92e6('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x92e6('0x3'));var attributes=require('./faxApplication.attributes');module['exports']=function(_0x3bb911,_0x74ab79){return _0x3bb911[_0x92e6('0x4')](_0x92e6('0x5'),attributes,{'tableName':'fax_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x92e6('0x6'),'collate':_0x92e6('0x7')});};