Skip to content

vualett/bo-frontend

Repository files navigation

Backoffice Frontend

Methods

Users

- Meteor.call('users.verify', userID, category)
- Meteor.call('users.getInfoById', userID, { onlyName: true }, )
- Meteor.call('users.addBankAccount', item, null, userID, )
- Meteor.call('users.resetPassword', params.token, _hashPassword(password), )
- Meteor.call('users.verifyEmail', token, )
- Meteor.call('users.setDisableState', userID, )
- Meteor.call('users.getAccessLogs', id, )
- Meteor.call('users.admin.create', userData, role, )
- Meteor.call('users.editInfo', userID, data, )
- Meteor.call('users.reactivatedDwollaAccount', userID, )
- Meteor.call('users.dwolla.tryRelinkBankAccount', userID, )
- Meteor.call('users.dwollaCustomerStatus', userID, )
- Meteor.call('users.getReferrals', userID, )
- Meteor.call('users.hasCashAdvance', id, )
- Meteor.call('users.setToDelete.cancel', userID)
- Meteor.call('users.setConfig.auditDone', userID)
- Meteor.call('users.rate', userID, value)
- Meteor.call('users.setConfig.paymentDay', userID, Number(selected.value), )
- Meteor.call('users.markAsNotInterested', userID, true)
- Meteor.call('users.verify', userID, category, true, true, )
- Meteor.call('users.decline', userID, )
- Meteor.call('users.assetsReport.controlApproval', asset_report_id, true, true, )
- Meteor.call('users.assetsReport.controlReview', asset_report_id, true, true, )
- Meteor.call('users.getAssetReport', userID, reportID, )
- Meteor.call('users.getBankAccountBalances', userID, )
- Meteor.call('users.sendVerificationEmail', client._id, email.address, )
- Meteor.call('users.changeEmail', client._id, newEmail);
- Meteor.call('users.getInfoById', id, { cashAdvance: true }, )
- Meteor.call('users.getAccessLogs', id, )
- Meteor.call('users.getAvatarURL', userID, )
- Meteor.call('users.findFromAssetsReport', { type: 'name', value: data, omit: omitUserId }, )
- Meteor.call('users.findWith', { phone: data }, )
- Meteor.call('users.addReferrer', userID, referrer._id, )
- Meteor.call('users.updateField', userID, 'status.qualify', !user.status.qualify, reason );
- Meteor.call('users.upgradeToPromoter', userID)
- Meteor.call('users.upgradeToPromoter', userID, 'truck' )
- Meteor.call('users.changeEmail', userID, newEmail, )
- Meteor.call('users.addPhoneNumber', userID, newNumber, )
- Meteor.call('users.resetPasswordViaSMS', userID, )
- Meteor.call('users.setDisableState', userID)
- Meteor.call('users.setToDelete', userID, confirm, )
- Meteor.call('users.markAsNotInterested', userID)
- Meteor.call('users.setConfig.canShare', userID, !user.canShare )
- Meteor.call('users.changeDriverLicenseStatus', userID, false);
- Meteor.call('users.updateField', id, 'status.qualify', false, 'not interested',
- Meteor.call('users.getCashAdvanceHistory', userID, )
- Meteor.call('users.getInfoById', rescheduledBy, )
- Meteor.call('user.forgotPassword', user.emails[user.emails.length - 1].address, )
- Meteor.call('customers', query, )
- Meteor.call('searchCustomers', query, )

Deals

- Meteor.call('deals.cancel', dealID, (error)
- Meteor.call('deals.auditDwollaTransfers', dealID, )
- Meteor.call('deals.readjustPayments', dealID, maxPayment, startDate, )
- Meteor.call('deals.complete', dealID, )
- Meteor.call('deals.suspend', dealID, )
- Meteor.call('deals.applyBonus', dealID, Amount, )
- Meteor.call('deals.unsuspend', dealID, )
- Meteor.call('deals.batchReschedule', cashAdvance._id, )
- Meteor.call('deals.changePaymentsDay', cashAdvance._id, { firstDate }, )
- Meteor.call('deals.initiatePayment', dealID, paymentNumber, )
- Meteor.call('deals.reschedulePayment', { dealID: dealID, paymentNumber: Number(paymentNumber), newDate }, )
- Meteor.call('deals.cancelPayment', { dealID: dealID, paymentNumber: Number(paymentNumber), newDate }, )
- Meteor.call('deals.paidWithDirectDeposit', dealID, paymentNumber, )
- Meteor.call('deals.checkIfPaymentProcessed', dealID, payment.number )
- Meteor.call('deals.request', deal, userID)
- Meteor.call('deals.approve', dealID, )
- Meteor.call('createOverdueCase', deal._id, )

Accounting

- Meteor.call('accounting.accountsInDefault', )
- Meteor.call('accounting.overdue', filterBy, )
- Meteor.call('accounting.collection', range, )
- Meteor.call('accounting.expectedCollection', range, )
- Meteor.call('accounting.overview', range, )

Server

- Meteor.call('backofficeVersion', )
- Meteor.call('getServerTime', )
- Meteor.call('heartbeat')

Platform

- Meteor.call('ualett.setDailyGoal', goal + 1)
- Meteor.call('ualett.getProducts', )

Development Environment

- Meteor.call('_dev.users.delete', id)
- Meteor.call('_dev.users.addCA', id)
- Meteor.call('_dev.users.approveCA', id)
- Meteor.call('_dev.users.processPayments', id)
- Meteor.call('_dev.fixtures.addUser')
- Meteor.call('_dev.users.verifyEmail', id)
- Meteor.call('_dev.users.addDL', id)
- Meteor.call('_dev.users.plaid.createItem', id)
- Meteor.call('_dev.users.getAssetsReport', id)

Subscriptions

Customers

- Meteor.subscribe('user', id);
- Meteor.subscribe('usersPaginated', { query, limit: _limit, });

Deals

- Meteor.subscribe('dealsPayments', { query });
- Meteor.subscribe('dealsPaginated', { limit });
- Meteor.subscribe('todaysCompletedCA');
- Meteor.subscribe('dealByUserID', userID);
- Meteor.subscribe('requestedDeals', { limit: 10 });

Counts

- Meteor.subscribe('countUsers', { query });
- Meteor.subscribe('countDeals');
- Meteor.subscribe('countTodayDeals');

Admin Users

- Meteor.subscribe('adminUsers');

UNCLASSIFIED SUBSCRIPTIONS * may needs refactor

- Meteor.subscribe('_roles')
- Meteor.subscribe('settings');
- Meteor.subscribe('agendaJobs');
- Meteor.subscribe('verificationCodes');
- Meteor.subscribe('invitations', selected, search);
- Meteor.subscribe('userNotes', userID);
- Meteor.subscribe('logs', userID);

UNCLASSIFIED METHODS * may needs refactor

Meteor.call('notes.delete', _id)
Meteor.call('notes.delete', _id)
Meteor.call('notes.insert', { message: messageToAdd, where: 'user', userId: userID, });

Meteor.call('images.uploadDocument', 'driverLicense', img, userID)
Meteor.call('createClientAccount', user())

Meteor.call('mail.get', 'unread', )
Meteor.call('mail.markAllAsRead')
Meteor.call('mail.getContent', email.id, )

Meteor.call('dwolla.getUalettFundingBalance', false, )
Meteor.call('dwolla.getAllTransfers', )
Meteor.call('dwolla.removeFundingSource', userID, null, true)

Meteor.call('plaid.createAssetReport', userId, )
Meteor.call('plaid.searchInstitutions', query, )
Meteor.call('plaid.getTopInstitutions', )
Meteor.call('plaid.getInstitutionsByID', institutionID, )
Meteor.call('plaid.createAssetReport', userID, )
Meteor.call('plaid.createAssetReport', userID, )

Meteor.call('metrics.deals', )
Meteor.call('metrics.users', { all: true }, )
Meteor.call('metrics.users', {}, )
Meteor.call('metrics.daily', )

Meteor.call('getInvitations', option, ) Meteor.call('invitations.markAsNotInterested', invitation._id, )
Meteor.call('invitations.markAsInvalid', invitation._id, )
Meteor.call('invitations.changeTypeOfReferral', invitation._id, type, )
Meteor.call('invitations.addNote', invitation._id, note, )
Meteor.call('invitations.findInvitation', value, )

Meteor.call('analytics.declinedPayments', )
Meteor.call('analytics.duePayments', )
Meteor.call('analytics.deals', { period: this.state.selectedPeriod, type: 'allocated', chart: true }, )

Meteor.call('TransferLogs.get', )
Meteor.call('availableProducts', _id, (err, data)
Meteor.call('files.uploadDriverLicense', data, userID, )
Meteor.call('images.getLink', documents.driverLicense.fileId, )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published