@aitmed/sdk
Version:
Official Front-End Software Development Kit
156 lines (143 loc) • 4.25 kB
Markdown
# Todos
Flow of new API:
1. Test the API on postman
2. Code the method
3. Create TS type
4. Copy + Paste to interfaces.md
5. Unit test
6. Docs
## General todos
## Unit tests
- [ ] initTruevault (test that it sets the full tvUser on \_tvUser as well)
- [ ] createBlob
- [ ] fetchTvBlob
- [ ] fetchAppointments (new param: _patients_)
- [ ] cancelAppointment
- [ ] deactivatePatient
- [ ] fetchPatients
- [ ] fetchAppointments ("include" parameter)
- [ ] subscriptions
- [ ] fetchPaymentProfile
- [ ] createChasePaymentProfile
- [ ] getFundingStatus
- [ ] deleteFromAvailabilityAgenda
- [ ] fetchAvailabilityAgenda
- [ ] fetchMeetingToken
- [ ] fetchAppointmentPatientImages
- [ ] setAvailabilityDates
- [ ] updateChasePaymentProfile
- [ ] authOfflineProvider
- [ ] fetchProvider
- [ ] loginWithJwtToken
- [ ] loginAsPatient
- [ ] verifyPaymentCode
- [ ] sendConfirmationEmail
- [ ] validateInviterCode
- [ ] createReferringPatient
- [ ] fetchPharmacies
- [ ] sendPrescriptionToPharmacy
- [ ] authPatient
- [ ] authProvider
## Docs
- [ ] authOfflineProvider
- [ ] createBlob
- [ ] createAppointment (update with new params + return values [returns the newly created appointment object])
- [ ] cancelAppointment
- [ ] createAppointment (coupons soft restriction)
- [ ] deleteFromAvailabilityAgenda
- [ ] fetchPatients
- [ ] fetchAppointments ("include" parameter)
- [ ] fetchPaymentProfile
- [ ] fetchTvBlob
- [ ] fetchAvailabilityAgenda
- [ ] fetchMeetingToken
- [ ] fetchAppointmentPatientImages
- [ ] getFundingStatus
- [ ] setAvailabilityDates
- [ ] subscriptions
- [ ] subscriptions.signatureError
- [ ] subscriptions.accountType
- [ ] updateChasePaymentProfile
- [ ] sendConfirmationEmail
- [ ] validateInviterCode
- [ ] createReferringPatient
- [ ] fetchPharmacies
- [ ] sendPrescriptionToPharmacy
- [ ] authPatient
- [ ] authProvider
## Production-ready API's
- activateProvider
- authPatient
- authProvider
- approveProvider
- confirmEmail
- createAppointment
- createAppointmentReview
- createChasePaymentProfile
- createPatient
- createPatientBlob
- createPatientMember
- createReferringPatient
- deleteChasePaymentProfile
- deletePatientBlob
- login
- loginAsAdmin
- loginWithJwtToken
- fetchAppointment
- fetchAppointments
- fetchAppointmentReviews
- fetchGenders
- fetchCategories
- fetchCoupons
- fetchDwollaToken
- fetchSpecialties
- fetchLanguages
- fetchPatient
- fetchProvider
- fetchPatientBlob
- fetchPatientBlobs
- fetchPatientMembers
- fetchPaymentProfile
- fetchPharmacies
- fetchUpcomingAppointments
- fetchPreviousAppointments
- fetchPatientDocument
- fetchPatientDocuments
- fetchTvBlob
- findProviders
- findProviderAvailabilities
- forgotPassword
- forgotPasswordProvider
- joinMeeting
- queryAppointments
- resetPassword
- sendPrescriptionToPharmacy
- suspendProvider
- updateAppointment
- updateAppointmentReview
- updatePatientDocument
- updateBackendPatient
- updateProvider
- validateInviterCode
## Not ready API's
## Untested API's
- activateAccount
- fetchAppointmentReview
- [fetchAppointmentTransactionDetails](http://gitlab.aitmed.io/docs/documentation/blob/master/Backend/API/transfer/provider_revenue.md#non-staffing-company-provider-revenue)
- [fetchBillingCycleRevenue](http://gitlab.aitmed.io/docs/documentation/blob/master/Backend/API/transfer/provider_revenue.md#non-staffing-company-provider-revenue)
- [fetchPaidTransactionDetails](http://gitlab.aitmed.io/docs/documentation/blob/master/Backend/API/transfer/provider_revenue.md#non-staffing-company-provider-revenue)
- [fetchTotalRevenue](http://gitlab.aitmed.io/docs/documentation/blob/master/Backend/API/transfer/provider_revenue.md#non-staffing-company-provider-revenue)
- [updatePatient](http://gitlab.aitmed.io/docs/documentation/blob/master/Backend/API/account/patient/update_patient.md)
- deletePatientDocument
- createBlob
- cancelAppointment
- uploadPatientDocument
- fetchPatients
- getFundingStatus
- deleteFromAvailabilityAgenda
- fetchAvailabilityAgenda
- fetchMeetingToken
- fetchAppointmentPatientImages
- setAvailabilityDates
- updateChasePaymentProfile
- authOfflineProvider