034d7c22a23cf2195e4b880bc1b2710759b361ac
[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 _0x8ede=['api','bluebird','rimraf','../../config/environment','./faxApplication.attributes','exports','define','FaxApplication','utf8mb4','utf8mb4_unicode_ci','lodash','util'];(function(_0x4348f1,_0x579177){var _0x7cdff1=function(_0x454a9e){while(--_0x454a9e){_0x4348f1['push'](_0x4348f1['shift']());}};_0x7cdff1(++_0x579177);}(_0x8ede,0x8e));var _0xe8ed=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0x8ede[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xe8ed('0x0'));var util=require(_0xe8ed('0x1'));var logger=require('../../config/logger')(_0xe8ed('0x2'));var moment=require('moment');var BPromise=require(_0xe8ed('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe8ed('0x4'));var config=require(_0xe8ed('0x5'));var attributes=require(_0xe8ed('0x6'));module[_0xe8ed('0x7')]=function(_0x164031,_0x40fa65){return _0x164031[_0xe8ed('0x8')](_0xe8ed('0x9'),attributes,{'tableName':'fax_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xe8ed('0xa'),'collate':_0xe8ed('0xb')});};