@fiado/api-invoker 3.3.4 → 3.3.6
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/account-fiadoinc/AccountFiadoIncApi.d.ts +2 -1
- package/bin/account-fiadoinc/AccountFiadoIncApi.js +4 -0
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +2 -1
- package/bin/card-business/index.d.ts +2 -0
- package/bin/card-business/index.js +18 -0
- package/bin/card-business/queue/CardBusinessPublisher.d.ts +5 -0
- package/bin/card-business/queue/CardBusinessPublisher.js +33 -0
- package/bin/card-business/queue/ICardBusinessPublisher.d.ts +7 -0
- package/bin/container.config.js +2 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +1 -0
- package/package.json +2 -2
- package/src/account-fiadoinc/AccountFiadoIncApi.ts +6 -0
- package/src/account-fiadoinc/interfaces/IAccountFiadoIncApi.ts +3 -0
- package/src/card-business/index.ts +2 -0
- package/src/card-business/queue/CardBusinessPublisher.ts +22 -0
- package/src/card-business/queue/ICardBusinessPublisher.ts +8 -0
- package/src/container.config.ts +3 -0
- package/src/index.ts +1 -0
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApiV2.d.ts +0 -46
- package/bin/estafeta/EstafetaApi.d.ts +0 -0
- package/bin/estafeta/EstafetaApi.js +0 -0
- package/bin/report-processor-business/api/IReportProcessorBusiness.d.ts +0 -3
- package/bin/report-processor-business/api/IReportProcessorBusiness.js +0 -2
- /package/bin/{cognitoConnector/interfaces/ICognitoConnectorApiV2.js → card-business/queue/ICardBusinessPublisher.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IHttpRequest } from "@fiado/http-client";
|
|
2
|
-
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateBalanceRequest, AccountUpdateRequest, ExecuteP2pOperationRequest, ExecuteP2pOperationResponse, ExecutePocketOperationRequest, ExecutePocketOperationResponse, GetAccountResponse, GetAccountResponseList, GetPocketBalanceResponse } from "@fiado/type-kit/bin/account";
|
|
2
|
+
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateBalanceRequest, AccountUpdateRequest, ExecuteP2pOperationRequest, ExecuteP2pOperationResponse, ExecutePocketOperationRequest, ExecutePocketOperationResponse, GetAccountResponse, GetAccountResponseList, GetBankAccountUserResponse, GetPocketBalanceResponse } from "@fiado/type-kit/bin/account";
|
|
3
3
|
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
4
4
|
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider";
|
|
5
5
|
import { IAccountFiadoIncApi } from "./interfaces/IAccountFiadoIncApi";
|
|
@@ -15,6 +15,7 @@ export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
|
|
|
15
15
|
createAccount(provider: Provider, data: AccountCreateRequest): Promise<FiadoApiResponse<AccountCreateResponse>>;
|
|
16
16
|
getAccountByDirectoryId(provider: Provider, directoryId: string): Promise<FiadoApiResponse<GetAccountResponse[]>>;
|
|
17
17
|
getAccountByExternalAccountId(provider: Provider, externalAccountId: string): Promise<FiadoApiResponse<GetAccountResponse[]>>;
|
|
18
|
+
getExternalUser(provider: Provider, directoryId: string): Promise<FiadoApiResponse<GetBankAccountUserResponse>>;
|
|
18
19
|
scanAllAccounts(provider: Provider | 'ALL', limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>>;
|
|
19
20
|
scanAccountsByDateRange(provider: Provider | 'ALL', startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>>;
|
|
20
21
|
/** POCKETS **/
|
|
@@ -40,6 +40,10 @@ let AccountFiadoIncApi = class AccountFiadoIncApi {
|
|
|
40
40
|
const url = `${this.baseUrl}${provider}/accounts/external/${externalAccountId}`;
|
|
41
41
|
return await this.httpRequest.get(url);
|
|
42
42
|
}
|
|
43
|
+
async getExternalUser(provider, directoryId) {
|
|
44
|
+
const url = `${this.baseUrl}${provider}/users/${directoryId}/external`;
|
|
45
|
+
return await this.httpRequest.get(url);
|
|
46
|
+
}
|
|
43
47
|
async scanAllAccounts(provider, limit, lastEvaluatedKey) {
|
|
44
48
|
const queryParams = new URLSearchParams();
|
|
45
49
|
queryParams.append('provider', provider);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateBalanceRequest, AccountUpdateRequest, ExecuteP2pOperationRequest, ExecuteP2pOperationResponse, ExecutePocketOperationRequest, ExecutePocketOperationResponse, GetAccountResponse, GetAccountResponseList, GetPocketBalanceResponse } from "@fiado/type-kit/bin/account";
|
|
1
|
+
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateBalanceRequest, AccountUpdateRequest, ExecuteP2pOperationRequest, ExecuteP2pOperationResponse, ExecutePocketOperationRequest, ExecutePocketOperationResponse, GetAccountResponse, GetAccountResponseList, GetBankAccountUserResponse, GetPocketBalanceResponse } from "@fiado/type-kit/bin/account";
|
|
2
2
|
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
3
3
|
import { Provider } from "@fiado/type-kit/bin/provider";
|
|
4
4
|
import { IPublisher } from "../queue/interfaces/IPublisher";
|
|
@@ -15,6 +15,7 @@ export interface IAccountFiadoIncApi extends IPublisher {
|
|
|
15
15
|
update(provider: Provider, directoryId: string, data: AccountUpdateRequest): Promise<FiadoApiResponse<void>>;
|
|
16
16
|
replaceExternalAccount(provider: Provider, directoryId: string, externalAccountId: string, isPrincipal: boolean): Promise<FiadoApiResponse<void>>;
|
|
17
17
|
getAccountByExternalAccountId(provider: Provider, externalAccountId: string): Promise<FiadoApiResponse<GetAccountResponse[]>>;
|
|
18
|
+
getExternalUser(provider: Provider, directoryId: string): Promise<FiadoApiResponse<GetBankAccountUserResponse>>;
|
|
18
19
|
scanAllAccounts(provider: Provider | 'ALL', limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>>;
|
|
19
20
|
scanAccountsByDateRange(provider: Provider | 'ALL', startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>>;
|
|
20
21
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./queue/ICardBusinessPublisher"), exports);
|
|
18
|
+
__exportStar(require("./queue/CardBusinessPublisher"), exports);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CardBusinessQueueMessage, ICardBusinessPublisher } from "./ICardBusinessPublisher";
|
|
2
|
+
export default class CardBusinessPublisher implements ICardBusinessPublisher {
|
|
3
|
+
private readonly SQS_CARD_BUSINESS_QUEUE;
|
|
4
|
+
publish(message: CardBusinessQueueMessage): Promise<void>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const client_sqs_1 = require("@aws-sdk/client-sqs");
|
|
10
|
+
const inversify_1 = require("inversify");
|
|
11
|
+
let CardBusinessPublisher = class CardBusinessPublisher {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.SQS_CARD_BUSINESS_QUEUE = process.env.SQS_CARD_BUSINESS_QUEUE;
|
|
14
|
+
}
|
|
15
|
+
async publish(message) {
|
|
16
|
+
try {
|
|
17
|
+
const client = new client_sqs_1.SQSClient();
|
|
18
|
+
const sendMessageRequest = {
|
|
19
|
+
QueueUrl: this.SQS_CARD_BUSINESS_QUEUE,
|
|
20
|
+
MessageBody: JSON.stringify(message),
|
|
21
|
+
};
|
|
22
|
+
const command = new client_sqs_1.SendMessageCommand(sendMessageRequest);
|
|
23
|
+
await client.send(command);
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
throw new Error(`Error publishing message to queue ${': ' + error.message}`);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
CardBusinessPublisher = __decorate([
|
|
31
|
+
(0, inversify_1.injectable)()
|
|
32
|
+
], CardBusinessPublisher);
|
|
33
|
+
exports.default = CardBusinessPublisher;
|
package/bin/container.config.js
CHANGED
|
@@ -37,6 +37,7 @@ const group_1 = require("./group");
|
|
|
37
37
|
const ActivityApi_1 = __importDefault(require("./activity-business/ActivityApi"));
|
|
38
38
|
const TransactionProcessorApi_1 = __importDefault(require("./transactionProcessor/api/TransactionProcessorApi"));
|
|
39
39
|
const ActivityPublisher_1 = __importDefault(require("./activity-business/queue/ActivityPublisher"));
|
|
40
|
+
const CardBusinessPublisher_1 = __importDefault(require("./card-business/queue/CardBusinessPublisher"));
|
|
40
41
|
const RiskProfileApi_1 = __importDefault(require("./riskProfile/api/RiskProfileApi"));
|
|
41
42
|
const riskProfile_1 = require("./riskProfile");
|
|
42
43
|
const contactInformation_1 = require("./contactInformation");
|
|
@@ -134,6 +135,7 @@ exports.apiInvokerBindings = new inversify_1.ContainerModule((bind) => {
|
|
|
134
135
|
bind("IActivityApi").to(ActivityApi_1.default);
|
|
135
136
|
bind("ITransactionProcessorApi").to(TransactionProcessorApi_1.default);
|
|
136
137
|
bind("IActivityPublisher").to(ActivityPublisher_1.default);
|
|
138
|
+
bind("ICardBusinessPublisher").to(CardBusinessPublisher_1.default);
|
|
137
139
|
bind("IRiskProfileApi").to(RiskProfileApi_1.default);
|
|
138
140
|
bind("ITransactionAlarmPublisher").to(riskProfile_1.TransactionAlarmPublisher);
|
|
139
141
|
bind("IContactInformationApi").to(contactInformation_1.ContactInformationApi);
|
package/bin/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./bbvaRst";
|
|
|
27
27
|
export * from "./fraudPreventionEngine";
|
|
28
28
|
export * from "./group";
|
|
29
29
|
export * from "./activity-business";
|
|
30
|
+
export * from "./card-business";
|
|
30
31
|
export * from "./transactionProcessor";
|
|
31
32
|
export * from "./riskProfile";
|
|
32
33
|
export * from "./fiadoMessages";
|
package/bin/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __exportStar(require("./bbvaRst"), exports);
|
|
|
43
43
|
__exportStar(require("./fraudPreventionEngine"), exports);
|
|
44
44
|
__exportStar(require("./group"), exports);
|
|
45
45
|
__exportStar(require("./activity-business"), exports);
|
|
46
|
+
__exportStar(require("./card-business"), exports);
|
|
46
47
|
__exportStar(require("./transactionProcessor"), exports);
|
|
47
48
|
__exportStar(require("./riskProfile"), exports);
|
|
48
49
|
__exportStar(require("./fiadoMessages"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiado/api-invoker",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@fiado/gateway-adapter": "^1.1.50",
|
|
17
17
|
"@fiado/http-client": "^1.0.7",
|
|
18
18
|
"@fiado/logger": "^1.0.3",
|
|
19
|
-
"@fiado/type-kit": "^3.2
|
|
19
|
+
"@fiado/type-kit": "^3.6.2",
|
|
20
20
|
"dotenv": "^16.4.7",
|
|
21
21
|
"i": "^0.3.7",
|
|
22
22
|
"inversify": "^6.2.2",
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
ExecutePocketOperationResponse,
|
|
11
11
|
GetAccountResponse,
|
|
12
12
|
GetAccountResponseList,
|
|
13
|
+
GetBankAccountUserResponse,
|
|
13
14
|
GetPocketBalanceResponse
|
|
14
15
|
} from "@fiado/type-kit/bin/account";
|
|
15
16
|
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
@@ -54,6 +55,11 @@ export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
|
|
|
54
55
|
return await this.httpRequest.get(url);
|
|
55
56
|
}
|
|
56
57
|
|
|
58
|
+
async getExternalUser(provider: Provider, directoryId: string): Promise<FiadoApiResponse<GetBankAccountUserResponse>> {
|
|
59
|
+
const url = `${this.baseUrl}${provider}/users/${directoryId}/external`;
|
|
60
|
+
return await this.httpRequest.get(url);
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
async scanAllAccounts(provider: Provider | 'ALL', limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>> {
|
|
58
64
|
const queryParams = new URLSearchParams();
|
|
59
65
|
queryParams.append('provider', provider);
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
ExecutePocketOperationResponse,
|
|
10
10
|
GetAccountResponse,
|
|
11
11
|
GetAccountResponseList,
|
|
12
|
+
GetBankAccountUserResponse,
|
|
12
13
|
GetPocketBalanceResponse
|
|
13
14
|
} from "@fiado/type-kit/bin/account";
|
|
14
15
|
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
@@ -42,6 +43,8 @@ export interface IAccountFiadoIncApi extends IPublisher {
|
|
|
42
43
|
|
|
43
44
|
getAccountByExternalAccountId(provider: Provider, externalAccountId: string): Promise<FiadoApiResponse<GetAccountResponse[]>>
|
|
44
45
|
|
|
46
|
+
getExternalUser(provider: Provider, directoryId: string): Promise<FiadoApiResponse<GetBankAccountUserResponse>>
|
|
47
|
+
|
|
45
48
|
scanAllAccounts(provider: Provider | 'ALL', limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>>
|
|
46
49
|
|
|
47
50
|
scanAccountsByDateRange(provider: Provider | 'ALL', startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<FiadoApiResponse<GetAccountResponseList>>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SendMessageCommand, SendMessageRequest, SQSClient } from "@aws-sdk/client-sqs";
|
|
2
|
+
import { injectable } from "inversify";
|
|
3
|
+
import { CardBusinessQueueMessage, ICardBusinessPublisher } from "./ICardBusinessPublisher";
|
|
4
|
+
|
|
5
|
+
@injectable()
|
|
6
|
+
export default class CardBusinessPublisher implements ICardBusinessPublisher {
|
|
7
|
+
private readonly SQS_CARD_BUSINESS_QUEUE = process.env.SQS_CARD_BUSINESS_QUEUE;
|
|
8
|
+
|
|
9
|
+
async publish(message: CardBusinessQueueMessage): Promise<void> {
|
|
10
|
+
try {
|
|
11
|
+
const client: SQSClient = new SQSClient();
|
|
12
|
+
const sendMessageRequest: SendMessageRequest = {
|
|
13
|
+
QueueUrl: this.SQS_CARD_BUSINESS_QUEUE,
|
|
14
|
+
MessageBody: JSON.stringify(message),
|
|
15
|
+
};
|
|
16
|
+
const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
|
|
17
|
+
await client.send(command);
|
|
18
|
+
} catch (error) {
|
|
19
|
+
throw new Error(`Error publishing message to queue ${': ' + error.message}`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
package/src/container.config.ts
CHANGED
|
@@ -47,6 +47,8 @@ import ActivityApi from "./activity-business/ActivityApi";
|
|
|
47
47
|
import TransactionProcessorApi from "./transactionProcessor/api/TransactionProcessorApi";
|
|
48
48
|
import { ITransactionProcessorApi } from "./transactionProcessor";
|
|
49
49
|
import ActivityPublisher from "./activity-business/queue/ActivityPublisher";
|
|
50
|
+
import { ICardBusinessPublisher } from "./card-business";
|
|
51
|
+
import CardBusinessPublisher from "./card-business/queue/CardBusinessPublisher";
|
|
50
52
|
import RiskProfileApi from "./riskProfile/api/RiskProfileApi";
|
|
51
53
|
import {
|
|
52
54
|
IRiskProfileApi,
|
|
@@ -181,6 +183,7 @@ export const apiInvokerBindings = new ContainerModule((bind: interfaces.Bind) =>
|
|
|
181
183
|
bind<IActivityApi>("IActivityApi").to(ActivityApi);
|
|
182
184
|
bind<ITransactionProcessorApi>("ITransactionProcessorApi").to(TransactionProcessorApi);
|
|
183
185
|
bind<IActivityPublisher>("IActivityPublisher").to(ActivityPublisher);
|
|
186
|
+
bind<ICardBusinessPublisher>("ICardBusinessPublisher").to(CardBusinessPublisher);
|
|
184
187
|
bind<IRiskProfileApi>("IRiskProfileApi").to(RiskProfileApi);
|
|
185
188
|
bind<ITransactionAlarmPublisher>("ITransactionAlarmPublisher").to(TransactionAlarmPublisher);
|
|
186
189
|
bind<IContactInformationApi>("IContactInformationApi").to(ContactInformationApi);
|
package/src/index.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from "./bbvaRst";
|
|
|
27
27
|
export * from "./fraudPreventionEngine";
|
|
28
28
|
export * from "./group";
|
|
29
29
|
export * from "./activity-business";
|
|
30
|
+
export * from "./card-business";
|
|
30
31
|
export * from "./transactionProcessor";
|
|
31
32
|
export * from "./riskProfile";
|
|
32
33
|
export * from "./fiadoMessages";
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ChangePasswordRequest, GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector";
|
|
2
|
-
export interface ICognitoApi {
|
|
3
|
-
/**
|
|
4
|
-
* Healthcheck for the cognito-connector
|
|
5
|
-
*/
|
|
6
|
-
healthcheck(): Promise<HealthcheckResponse>;
|
|
7
|
-
/**
|
|
8
|
-
* Create a new user in Cognito
|
|
9
|
-
*/
|
|
10
|
-
signUp(request: SignUpRequest): Promise<SignUpResponse>;
|
|
11
|
-
/**
|
|
12
|
-
* Confirm sign-up for a user in Cognito
|
|
13
|
-
*/
|
|
14
|
-
signUpConfirm(request: SignUpConfirmRequest): Promise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* Sign in a user
|
|
17
|
-
*/
|
|
18
|
-
signIn(request: SignInRequest): Promise<SignInResponse>;
|
|
19
|
-
/**
|
|
20
|
-
* Sign out a user
|
|
21
|
-
*/
|
|
22
|
-
signOut(): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* Change a user's password
|
|
25
|
-
*/
|
|
26
|
-
changePassword(request: ChangePasswordRequest): Promise<void>;
|
|
27
|
-
/**
|
|
28
|
-
* Retrieve user details
|
|
29
|
-
*/
|
|
30
|
-
getUser(request: GetUserRequest): Promise<GetUserResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Refresh a user's tokens
|
|
33
|
-
*/
|
|
34
|
-
refreshToken(request: RefreshTokenRequest): Promise<RefreshTokenResponse>;
|
|
35
|
-
/**
|
|
36
|
-
* Respond to an auth challenge
|
|
37
|
-
*/
|
|
38
|
-
respondToAuthChallenge(request: RespondToAuthChallengeRequest): Promise<any>;
|
|
39
|
-
/**
|
|
40
|
-
* Reset a user's password
|
|
41
|
-
*/
|
|
42
|
-
resetPassword(request: SetPasswordRequest): Promise<void>;
|
|
43
|
-
}
|
|
44
|
-
export interface HealthcheckResponse {
|
|
45
|
-
status: string;
|
|
46
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|