1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xfc9d=['fax_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./faxApplication.attributes','exports','define','FaxApplication'];(function(_0x198958,_0x2474f3){var _0x47794b=function(_0x4ab6f6){while(--_0x4ab6f6){_0x198958['push'](_0x198958['shift']());}};_0x47794b(++_0x2474f3);}(_0xfc9d,0x15c));var _0xdfc9=function(_0x4b094b,_0x296fdb){_0x4b094b=_0x4b094b-0x0;var _0x32eac3=_0xfc9d[_0x4b094b];return _0x32eac3;};'use strict';var _=require(_0xdfc9('0x0'));var util=require(_0xdfc9('0x1'));var logger=require('../../config/logger')(_0xdfc9('0x2'));var moment=require(_0xdfc9('0x3'));var BPromise=require(_0xdfc9('0x4'));var rp=require(_0xdfc9('0x5'));var fs=require('fs');var path=require(_0xdfc9('0x6'));var rimraf=require('rimraf');var config=require(_0xdfc9('0x7'));var attributes=require(_0xdfc9('0x8'));module[_0xdfc9('0x9')]=function(_0x16b0bf,_0x27f3fe){return _0x16b0bf[_0xdfc9('0xa')](_0xdfc9('0xb'),attributes,{'tableName':_0xdfc9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xdfc9('0xd'),'collate':_0xdfc9('0xe')});};