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 _0x78f5=['request-promise','./faxAccount.attributes','exports','define','FaxAccount','fax_accounts','lodash','util','api','moment','bluebird'];(function(_0x496529,_0x4a9696){var _0x4d5219=function(_0x476b6d){while(--_0x476b6d){_0x496529['push'](_0x496529['shift']());}};_0x4d5219(++_0x4a9696);}(_0x78f5,0x171));var _0x578f=function(_0x5a2358,_0x16bfff){_0x5a2358=_0x5a2358-0x0;var _0x2be9f1=_0x78f5[_0x5a2358];return _0x2be9f1;};'use strict';var _=require(_0x578f('0x0'));var util=require(_0x578f('0x1'));var logger=require('../../config/logger')(_0x578f('0x2'));var moment=require(_0x578f('0x3'));var BPromise=require(_0x578f('0x4'));var rp=require(_0x578f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x578f('0x6'));module[_0x578f('0x7')]=function(_0x37a9d0,_0x46dfc0){return _0x37a9d0[_0x578f('0x8')](_0x578f('0x9'),attributes,{'tableName':_0x578f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};