@fiado/api-invoker 3.0.46 → 3.0.47

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.
@@ -31,10 +31,13 @@ export interface IIdentityApi {
31
31
  getPeopleByFullName(fullName: string): Promise<any>;
32
32
  privateGetDocumentsUrlSigned(directoryId: string, documentNames: string[]): Promise<any>;
33
33
  /**
34
- * P10 Expedientes F2 Expediente Identidad compuesto.
35
- * Retorna people (con documents[] OCR) + documentsS3 (con signed URLs).
36
- * @param directoryId ID de directorio del cliente.
37
- * @param peopleId ID de people asociado al directorio.
34
+ * Lista keys de documentos del usuario en S3 (primitivo).
35
+ * Retorna { directoryId, keys: string[] }.
36
+ */
37
+ getUserDocuments(directoryId: string): Promise<any>;
38
+ /**
39
+ * @deprecated P10 F2 compuesto — usar getPeopleByIds (incluye ARC) +
40
+ * getUserDocuments + privateGetDocumentsUrlSigned. Se elimina tras migración.
38
41
  */
39
42
  getExpedienteIdentity(directoryId: string, peopleId: string): Promise<any>;
40
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "3.0.46",
3
+ "version": "3.0.47",
4
4
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -39,10 +39,14 @@ export interface IIdentityApi {
39
39
  privateGetDocumentsUrlSigned(directoryId: string, documentNames:string[]): Promise<any>
40
40
 
41
41
  /**
42
- * P10 Expedientes F2 Expediente Identidad compuesto.
43
- * Retorna people (con documents[] OCR) + documentsS3 (con signed URLs).
44
- * @param directoryId ID de directorio del cliente.
45
- * @param peopleId ID de people asociado al directorio.
42
+ * Lista keys de documentos del usuario en S3 (primitivo).
43
+ * Retorna { directoryId, keys: string[] }.
44
+ */
45
+ getUserDocuments(directoryId: string): Promise<any>
46
+
47
+ /**
48
+ * @deprecated P10 F2 compuesto — usar getPeopleByIds (incluye ARC) +
49
+ * getUserDocuments + privateGetDocumentsUrlSigned. Se elimina tras migración.
46
50
  */
47
51
  getExpedienteIdentity(directoryId: string, peopleId: string): Promise<any>
48
52
  }