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 _0xe037=['FaxAccount','fax_accounts','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','exports','define'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0xe037,0xf4));var _0x7e03=function(_0x31cc0e,_0x24ba4c){_0x31cc0e=_0x31cc0e-0x0;var _0x144862=_0xe037[_0x31cc0e];return _0x144862;};'use strict';var _=require(_0x7e03('0x0'));var util=require(_0x7e03('0x1'));var logger=require(_0x7e03('0x2'))('api');var moment=require(_0x7e03('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7e03('0x4'));var rimraf=require(_0x7e03('0x5'));var config=require(_0x7e03('0x6'));var attributes=require('./faxAccount.attributes');module[_0x7e03('0x7')]=function(_0x193781,_0x423b38){return _0x193781[_0x7e03('0x8')](_0x7e03('0x9'),attributes,{'tableName':_0x7e03('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};