diff --git a/src/index.d.ts b/src/index.d.ts index 910011f7..b87d7113 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -83,7 +83,7 @@ declare namespace SDKStandardComponents { } type TCredentialScope = { - scope: string; + actions: string[]; accountId: string; } @@ -154,18 +154,17 @@ declare namespace SDKStandardComponents { initiatorId: string; accountIds: string[]; authChannels: TAuthChannel[]; - scopes: string[]; + scopes: TCredentialScope[]; callbackUri: string; - authorizationUri: string; + authUri: string; authToken: string; } type PostConsentRequestsRequest = { id: string; initiatorId: string; - accountIds: string[]; authChannels: TAuthChannel[]; - scopes: string[]; + scopes: TCredentialScope[]; callbackUri: string; }