From ec73147af6ed37fc5d85b9216de141679e7aa3a1 Mon Sep 17 00:00:00 2001 From: Florent Detry Date: Tue, 31 Oct 2023 15:45:36 +0100 Subject: [PATCH] fix identity getUserPartnerAccountRelations typing --- .../omnipartners/src/api/identity/index.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/omnipartners/src/api/identity/index.ts b/packages/omnipartners/src/api/identity/index.ts index 029b7ce9..4927b3c5 100644 --- a/packages/omnipartners/src/api/identity/index.ts +++ b/packages/omnipartners/src/api/identity/index.ts @@ -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/",