@@ -532,6 +532,10 @@ export class AuthorizedApiContext {
532532 // (undocumented)
533533 createDemoAccount(demoAccountSettings ? : DemoAccountSettings ): Promise <openApiClient .CreatedResponseBody >;
534534 // (undocumented)
535+ createRecoveryPhrase(opts : {
536+ name: string ;
537+ }): Promise <openApiClient .CreateRecoveryPhraseResult >;
538+ // (undocumented)
535539 createSessionTanChallenge(req : openApiClient .CreateSessionTanChallengeRequest ): Promise <openApiClient .Challenge >;
536540 // (undocumented)
537541 createTrade(req : CreateTradeRequest , viaCryptoService ? : boolean ): Promise <openApiClient .CreateTradeResponse >;
@@ -552,6 +556,8 @@ export class AuthorizedApiContext {
552556 // (undocumented)
553557 deletePortfolio(portfolioId : string ): Promise <openApiClient .OkResponseBody >;
554558 // (undocumented)
559+ deleteRecoveryPhrase(recoveryPhraseId : string ): Promise <void >;
560+ // (undocumented)
555561 deleteTradeDraft(params : openApiClient .DeleteTradeDraftRequest ): Promise <void >;
556562 // (undocumented)
557563 destroy(): void ;
@@ -616,6 +622,8 @@ export class AuthorizedApiContext {
616622 // (undocumented)
617623 getQuote(p : GetQuoteRequest ): Promise <openApiClient .GetQuoteResponse >;
618624 // (undocumented)
625+ getRecoveryPhrases(): Promise <openApiClient .GetRecoveryPhrasesResponse >;
626+ // (undocumented)
619627 getSecurityDetailedInfo(token : string ): Promise <openApiClient .GenericTable >;
620628 // (undocumented)
621629 getSecurityQuotes(opts : {
@@ -787,6 +795,8 @@ function BrokerEnvironmentToJSONRecursive(value?: BrokerEnvironment | null, igno
787795// @public (undocumented)
788796export class Brokerize {
789797 constructor (cfg : BrokerizeConfig );
798+ // (undocumented)
799+ checkRecoveryPhrase(recoveryPhrase : string ): Promise <openApiClient .CheckRecoveryPhrase200Response >;
790800 createAuth(authCtxCfg : AuthContextConfiguration , tokenRefreshCallback ? : TokenRefreshCallback ): Auth ;
791801 createAuthorizedContext(authCtxCfg : AuthContextConfiguration , tokenRefreshCallback ? : TokenRefreshCallback , customWebSocketClient ? : BrokerizeWebSocketClient ): AuthorizedApiContext ;
792802 createCustomWebSocketClient({ url , auth , }: {
@@ -798,6 +808,8 @@ export class Brokerize {
798808 // (undocumented)
799809 getCognitoConfig(): CognitoPoolConfig | undefined ;
800810 // (undocumented)
811+ obtainTokenByRecoveryPhrase(recoveryPhrase : string ): Promise <AuthContextConfiguration >;
812+ // (undocumented)
801813 refreshGuestUser(refreshToken : string ): Promise <GuestAuthContextConfiguration >;
802814}
803815
@@ -1355,6 +1367,7 @@ function ChangeOrderResponseToJSONRecursive(value?: ChangeOrderResponse | null,
13551367// @public
13561368interface CheckRecoveryPhrase200Response {
13571369 expiresAt: Date ;
1370+ userId: string ;
13581371}
13591372
13601373// @public (undocumented)
@@ -4491,7 +4504,10 @@ declare namespace Models {
44914504 TradeStatistics ,
44924505 GetPortfolioCalendarResponse ,
44934506 PortfolioCalendarDateRange ,
4494- PortfolioCalendarItem
4507+ PortfolioCalendarItem ,
4508+ GetRecoveryPhrasesResponse ,
4509+ CreateRecoveryPhraseResult ,
4510+ CheckRecoveryPhrase200Response
44954511 }
44964512}
44974513export { Models }
0 commit comments