@fiado/api-invoker 3.3.0 → 3.3.1

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.
@@ -11,5 +11,7 @@ export default class ContractBusinessApi implements IContractBusinessApi {
11
11
  folio: string;
12
12
  sessionId: string;
13
13
  metadata?: Record<string, unknown>;
14
+ partnerId?: string;
15
+ category?: string;
14
16
  }): Promise<any>;
15
17
  }
@@ -6,5 +6,9 @@ export interface IContractBusinessApi {
6
6
  folio: string;
7
7
  sessionId: string;
8
8
  metadata?: Record<string, unknown>;
9
+ /** Opcional: partnerId para resolver el template con path profundo en S3 */
10
+ partnerId?: string;
11
+ /** Opcional: category (ej: "credito") para el path profundo de template */
12
+ category?: string;
9
13
  }): Promise<any>;
10
14
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "3.3.0",
4
- "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
3
+ "version": "3.3.1",
4
+ "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicaci\u00f3n entre ellas a trav\u00e9s de invocaciones http",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
7
7
  "scripts": {
@@ -26,4 +26,4 @@
26
26
  "devDependencies": {
27
27
  "@types/node": "^20.17.24"
28
28
  }
29
- }
29
+ }
@@ -17,6 +17,8 @@ export default class ContractBusinessApi implements IContractBusinessApi {
17
17
  folio: string;
18
18
  sessionId: string;
19
19
  metadata?: Record<string, unknown>;
20
+ partnerId?: string;
21
+ category?: string;
20
22
  }): Promise<any> {
21
23
  const { documentType, ...body } = params;
22
24
  return await this.httpRequest.post(`${this.baseUrl}/sign/${documentType}`, body);
@@ -6,5 +6,9 @@ export interface IContractBusinessApi {
6
6
  folio: string;
7
7
  sessionId: string;
8
8
  metadata?: Record<string, unknown>;
9
+ /** Opcional: partnerId para resolver el template con path profundo en S3 */
10
+ partnerId?: string;
11
+ /** Opcional: category (ej: "credito") para el path profundo de template */
12
+ category?: string;
9
13
  }): Promise<any>;
10
14
  }