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 _0xcd9e=['define','FaxAccount','fax_accounts','util','../../config/logger','moment','bluebird','request-promise','path','./faxAccount.attributes'];(function(_0x2a880e,_0x44beb7){var _0x45e0ce=function(_0x10cbc2){while(--_0x10cbc2){_0x2a880e['push'](_0x2a880e['shift']());}};_0x45e0ce(++_0x44beb7);}(_0xcd9e,0x7b));var _0xecd9=function(_0x84b8cb,_0x1bf09a){_0x84b8cb=_0x84b8cb-0x0;var _0x51fa31=_0xcd9e[_0x84b8cb];return _0x51fa31;};'use strict';var _=require('lodash');var util=require(_0xecd9('0x0'));var logger=require(_0xecd9('0x1'))('api');var moment=require(_0xecd9('0x2'));var BPromise=require(_0xecd9('0x3'));var rp=require(_0xecd9('0x4'));var fs=require('fs');var path=require(_0xecd9('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xecd9('0x6'));module['exports']=function(_0x2a5d2a,_0x19cc89){return _0x2a5d2a[_0xecd9('0x7')](_0xecd9('0x8'),attributes,{'tableName':_0xecd9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};