Skip to content

Commit

Permalink
fix identity getUserPartnerAccountRelations typing
Browse files Browse the repository at this point in the history
Fridus committed Oct 31, 2023
1 parent ca8953e commit ec73147
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions packages/omnipartners/src/api/identity/index.ts
Original file line number Diff line number Diff line change
@@ -810,14 +810,17 @@ export default class Identity extends Api {
public getUserPartnerAccountRelations(
data: IGetUserPartnerAccountRelationsInput,
): Promise<{
data: { records: { accepted: IUserPartnerAccountRelation[] } };
page: string;
recordsPerPage: string;
totalRecordCount: string;
totalPages: number;
records_per_page: string;
total_record_count: string;
total_pages: number;
data: {
records: { accepted: IUserPartnerAccountRelation[] }
page: string;
records_per_page: string;
total_record_count: string;
total_pages: number;
// Deprecated
recordsPerPage: string;
totalRecordCount: string;
totalPages: number;
};
}> {
return this.get(
"/service/partners/get-users/",

0 comments on commit ec73147

Please sign in to comment.