@blackcode_sa/metaestetics-api 1.14.26 → 1.14.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +202 -143
- package/dist/index.mjs +181 -122
- package/package.json +1 -1
- package/src/services/auth/auth.service.ts +16 -5
- package/src/services/patient/patient.service.ts +6 -4
- package/src/services/patient/utils/clinic.utils.ts +80 -1
package/dist/index.d.mts
CHANGED
|
@@ -6306,13 +6306,14 @@ declare class PatientService extends BaseService {
|
|
|
6306
6306
|
startAfter?: string;
|
|
6307
6307
|
}): Promise<PatientProfileForDoctor[]>;
|
|
6308
6308
|
/**
|
|
6309
|
-
* Gets all patients associated with a specific clinic.
|
|
6309
|
+
* Gets all patients associated with a specific clinic, including sensitive info.
|
|
6310
|
+
* This merges data from PatientProfile and PatientSensitiveInfo subcollection.
|
|
6310
6311
|
*
|
|
6311
6312
|
* @param {string} clinicId - ID of the clinic whose patients to retrieve
|
|
6312
6313
|
* @param {Object} options - Optional parameters for pagination
|
|
6313
6314
|
* @param {number} options.limit - Maximum number of profiles to return
|
|
6314
6315
|
* @param {string} options.startAfter - The ID of the document to start after (for pagination)
|
|
6315
|
-
* @returns {Promise<PatientProfile[]>} A promise resolving to an array of patient profiles
|
|
6316
|
+
* @returns {Promise<PatientProfile[]>} A promise resolving to an array of patient profiles with merged sensitive info
|
|
6316
6317
|
*/
|
|
6317
6318
|
getPatientsByClinic(clinicId: string, options?: {
|
|
6318
6319
|
limit?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -6306,13 +6306,14 @@ declare class PatientService extends BaseService {
|
|
|
6306
6306
|
startAfter?: string;
|
|
6307
6307
|
}): Promise<PatientProfileForDoctor[]>;
|
|
6308
6308
|
/**
|
|
6309
|
-
* Gets all patients associated with a specific clinic.
|
|
6309
|
+
* Gets all patients associated with a specific clinic, including sensitive info.
|
|
6310
|
+
* This merges data from PatientProfile and PatientSensitiveInfo subcollection.
|
|
6310
6311
|
*
|
|
6311
6312
|
* @param {string} clinicId - ID of the clinic whose patients to retrieve
|
|
6312
6313
|
* @param {Object} options - Optional parameters for pagination
|
|
6313
6314
|
* @param {number} options.limit - Maximum number of profiles to return
|
|
6314
6315
|
* @param {string} options.startAfter - The ID of the document to start after (for pagination)
|
|
6315
|
-
* @returns {Promise<PatientProfile[]>} A promise resolving to an array of patient profiles
|
|
6316
|
+
* @returns {Promise<PatientProfile[]>} A promise resolving to an array of patient profiles with merged sensitive info
|
|
6316
6317
|
*/
|
|
6317
6318
|
getPatientsByClinic(clinicId: string, options?: {
|
|
6318
6319
|
limit?: number;
|