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 _0x6716=['moment','bluebird','request-promise','path','rimraf','exports','define','FaxAccount','fax_accounts','lodash','util','../../config/logger'];(function(_0x3d6c87,_0x4c189f){var _0x35acf5=function(_0x4639e1){while(--_0x4639e1){_0x3d6c87['push'](_0x3d6c87['shift']());}};_0x35acf5(++_0x4c189f);}(_0x6716,0xe1));var _0x6671=function(_0x516060,_0x560202){_0x516060=_0x516060-0x0;var _0x577f1a=_0x6716[_0x516060];return _0x577f1a;};'use strict';var _=require(_0x6671('0x0'));var util=require(_0x6671('0x1'));var logger=require(_0x6671('0x2'))('api');var moment=require(_0x6671('0x3'));var BPromise=require(_0x6671('0x4'));var rp=require(_0x6671('0x5'));var fs=require('fs');var path=require(_0x6671('0x6'));var rimraf=require(_0x6671('0x7'));var config=require('../../config/environment');var attributes=require('./faxAccount.attributes');module[_0x6671('0x8')]=function(_0x1e98e9,_0x3e3c32){return _0x1e98e9[_0x6671('0x9')](_0x6671('0xa'),attributes,{'tableName':_0x6671('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};