@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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
@@ -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
|
|
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
|
-
|
|
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>
|