Skip to content

Commit

Permalink
fix: profile type
Browse files Browse the repository at this point in the history
  • Loading branch information
einaralex committed Jan 13, 2025
1 parent b7a1b8e commit 13829a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion packages/sdk-react-provider/src/lib/hooks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,6 @@ export type {
MoveIbanPayload,
LinkAddress,
Profile,
ProfilePermissions,
Token,
SubmitProfileDetailsPayload,
NewOrder,
Expand Down
12 changes: 4 additions & 8 deletions packages/sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,22 +242,18 @@ export interface Identifier {
bic?: string;
}

export interface ProfilePermissions {
id: string;
kind: ProfileType;
name: string;
perms: Permission[];
}
export interface ProfilesResponse {
profiles: ProfilePermissions[];
profiles: Profile[];
}
export interface Profile {
id: string;
name: string;
kind: ProfileType;
state: ProfileState;
kyc: KYC;
// kyc: KYC;
}
/** @deprecated use Profile */
export type ProfilePermissions = Profile;

export interface ProfilesQueryParams {
/** profile state to filter by */
Expand Down

0 comments on commit 13829a7

Please sign in to comment.