@fiado/api-invoker 1.2.50 → 1.2.51
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.
- package/bin/centralPayments/CentralPaymentsConnectorApi.d.ts +1 -1
- package/bin/centralPayments/CentralPaymentsConnectorApi.js +1 -1
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.d.ts +1 -1
- package/package.json +1 -1
- package/src/centralPayments/CentralPaymentsConnectorApi.ts +1 -1
- package/src/centralPayments/interfaces/ICentralPaymentsConnectorApi.ts +1 -1
|
@@ -27,7 +27,7 @@ export declare class CentralPaymentsConnectorApi implements ICentralPaymentsConn
|
|
|
27
27
|
updateCard(request: UpdateBankAccountCardRequest): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
28
28
|
updateCardProgram(externalCardId: string, programId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
29
29
|
orderPhysicalCard(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
30
|
-
|
|
30
|
+
getCardsByUserId(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
31
31
|
generateCardsInBatch(request: CardBatchRequest): Promise<FiadoApiResponse<CardBatchResponse>>;
|
|
32
32
|
getCardBatch(batchId: string): Promise<FiadoApiResponse<CardBatchResponse>>;
|
|
33
33
|
deleteCardBatch(batchId: string): Promise<FiadoApiResponse<CardBatchResponse>>;
|
|
@@ -89,7 +89,7 @@ let CentralPaymentsConnectorApi = class CentralPaymentsConnectorApi {
|
|
|
89
89
|
const url = `${this.baseUrl}/cards/physical/order/${externalUserId}`;
|
|
90
90
|
return await this.httpRequest.put(url);
|
|
91
91
|
}
|
|
92
|
-
async
|
|
92
|
+
async getCardsByUserId(externalUserId) {
|
|
93
93
|
const url = `${this.baseUrl}/cards/cardholders/${externalUserId}`;
|
|
94
94
|
return await this.httpRequest.get(url);
|
|
95
95
|
}
|
|
@@ -20,7 +20,7 @@ export interface ICentralPaymentsConnectorApi {
|
|
|
20
20
|
updateCard(request: UpdateBankAccountCardRequest): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
21
21
|
updateCardProgram(externalCardId: string, programId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
22
22
|
orderPhysicalCard(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
23
|
-
|
|
23
|
+
getCardsByUserId(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
24
24
|
generateCardsInBatch(request: CardBatchRequest): Promise<FiadoApiResponse<CardBatchResponse>>;
|
|
25
25
|
getCardBatch(batchId: string): Promise<FiadoApiResponse<CardBatchResponse>>;
|
|
26
26
|
deleteCardBatch(batchId: string): Promise<FiadoApiResponse<CardBatchResponse>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiado/api-invoker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.51",
|
|
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",
|
|
@@ -128,7 +128,7 @@ export class CentralPaymentsConnectorApi implements ICentralPaymentsConnectorApi
|
|
|
128
128
|
return await this.httpRequest.put(url);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
async
|
|
131
|
+
async getCardsByUserId(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>> {
|
|
132
132
|
const url = `${this.baseUrl}/cards/cardholders/${externalUserId}`;
|
|
133
133
|
return await this.httpRequest.get(url);
|
|
134
134
|
}
|
|
@@ -63,7 +63,7 @@ export interface ICentralPaymentsConnectorApi {
|
|
|
63
63
|
|
|
64
64
|
orderPhysicalCard(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
getCardsByUserId(externalUserId: string): Promise<FiadoApiResponse<GetBankAccountCardResponse>>;
|
|
67
67
|
|
|
68
68
|
generateCardsInBatch(request: CardBatchRequest): Promise<FiadoApiResponse<CardBatchResponse>>;
|
|
69
69
|
|