@fiado/api-invoker 3.0.46 → 3.0.48

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.
@@ -13,6 +13,4 @@ export declare class IdentityApi implements IIdentityApi {
13
13
  getPeopleByFullName(fullName: string): Promise<any>;
14
14
  privateGetDocumentsUrlSigned(directoryId: string, documentNames: string[]): Promise<any>;
15
15
  getUserDocuments(directoryId: string): Promise<any>;
16
- /** @deprecated — se elimina tras migración a primitivos */
17
- getExpedienteIdentity(directoryId: string, peopleId: string): Promise<any>;
18
16
  }
@@ -80,11 +80,6 @@ let IdentityApi = class IdentityApi {
80
80
  const url = `${this.baseUrl}identities/private/people/${directoryId}/documents`;
81
81
  return await this.httpRequest.get(url);
82
82
  }
83
- /** @deprecated — se elimina tras migración a primitivos */
84
- async getExpedienteIdentity(directoryId, peopleId) {
85
- const url = `${this.baseUrl}identities/private/people/${directoryId}/expediente?peopleId=${encodeURIComponent(peopleId)}`;
86
- return await this.httpRequest.get(url);
87
- }
88
83
  };
89
84
  exports.IdentityApi = IdentityApi;
90
85
  exports.IdentityApi = IdentityApi = __decorate([
@@ -31,10 +31,8 @@ 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[] }.
38
36
  */
39
- getExpedienteIdentity(directoryId: string, peopleId: string): Promise<any>;
37
+ getUserDocuments(directoryId: string): Promise<any>;
40
38
  }
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.48",
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",
@@ -93,10 +93,4 @@ export class IdentityApi implements IIdentityApi {
93
93
  const url = `${this.baseUrl}identities/private/people/${directoryId}/documents`;
94
94
  return await this.httpRequest.get(url);
95
95
  }
96
-
97
- /** @deprecated — se elimina tras migración a primitivos */
98
- async getExpedienteIdentity(directoryId: string, peopleId: string): Promise<any> {
99
- const url = `${this.baseUrl}identities/private/people/${directoryId}/expediente?peopleId=${encodeURIComponent(peopleId)}`;
100
- return await this.httpRequest.get(url);
101
- }
102
96
  }
@@ -39,10 +39,8 @@ 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[] }.
46
44
  */
47
- getExpedienteIdentity(directoryId: string, peopleId: string): Promise<any>
45
+ getUserDocuments(directoryId: string): Promise<any>
48
46
  }