@fiado/api-invoker 3.0.43 → 3.0.44

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.
@@ -10,7 +10,7 @@ export default class PomeloApi implements IPomeloApi {
10
10
  getUserById(externalUserId: string): Promise<any>;
11
11
  updateUser(object: UpdateBankAccountUserRequest): Promise<any>;
12
12
  getCardSensitiveInformation(externalCardId: string, externalUserId?: string): Promise<any>;
13
- getCardById(externalCardId: string): Promise<any>;
13
+ getCardByIdExternal(externalCardId: string): Promise<any>;
14
14
  getCardsById(externalCardId: string): Promise<any>;
15
15
  getCardsByUserId(externalUserId: string): Promise<any>;
16
16
  createCard(object: CreateBankAccountRequest): Promise<any>;
@@ -36,7 +36,7 @@ let PomeloApi = class PomeloApi {
36
36
  const url = `${this.baseUrl}cards/${externalCardId}/sensitive?externalUserId=${externalUserId}`;
37
37
  return await this.httpRequest.get(url);
38
38
  }
39
- async getCardById(externalCardId) {
39
+ async getCardByIdExternal(externalCardId) {
40
40
  const url = `${this.baseUrl}cards/${externalCardId}/detail`;
41
41
  return await this.httpRequest.get(url);
42
42
  }
@@ -5,7 +5,7 @@ export interface IPomeloApi {
5
5
  getUserById(externalUserId: string): Promise<any>;
6
6
  createUser(request: CreateBankAccountUserRequest): Promise<any>;
7
7
  getCardSensitiveInformation(externalCardId: string, externalUserId?: string): Promise<any>;
8
- getCardById(externalCardId: string): Promise<any>;
8
+ getCardByIdExternal(externalCardId: string): Promise<any>;
9
9
  getCardsById(externalCardId: string): Promise<any>;
10
10
  getCardsByUserId(externalUserId: string): Promise<any>;
11
11
  createCard(object: CreateBankAccountRequest): Promise<any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
3
 
4
- "version": "3.0.43",
4
+ "version": "3.0.44",
5
5
 
6
6
 
7
7
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
@@ -35,7 +35,7 @@ export default class PomeloApi implements IPomeloApi {
35
35
  return await this.httpRequest.get(url);
36
36
  }
37
37
 
38
- public async getCardById(externalCardId: string): Promise<any> {
38
+ public async getCardByIdExternal(externalCardId: string): Promise<any> {
39
39
  const url: string = `${this.baseUrl}cards/${externalCardId}/detail`;
40
40
  return await this.httpRequest.get(url);
41
41
  }
@@ -10,7 +10,7 @@ export interface IPomeloApi {
10
10
 
11
11
  // //Card
12
12
  getCardSensitiveInformation(externalCardId: string, externalUserId?: string): Promise<any>
13
- getCardById(externalCardId: string): Promise<any>
13
+ getCardByIdExternal(externalCardId: string): Promise<any>
14
14
  getCardsById(externalCardId: string): Promise<any>
15
15
  getCardsByUserId(externalUserId: string): Promise<any>
16
16
  createCard(object: CreateBankAccountRequest): Promise<any>