revbits-cip-integration
Version:
This package will integrate CIP with any product
9 lines (8 loc) • 720 B
TypeScript
import { HttpCheckRolesExistenceByNamesResponse, HttpCheckUsersExistenceByUsernamesResponse, Role, User } from '..';
import { AnalyzeExistenceSyncStatusResponse, CURSOR_CALLBACK } from '../interfaces/types.type';
export declare function analyzeExistenceSyncStatus(checkExistenceResponse: HttpCheckRolesExistenceByNamesResponse | HttpCheckUsersExistenceByUsernamesResponse, systemValues: Array<string>): AnalyzeExistenceSyncStatusResponse;
export declare function chunkArray(array: Array<any>, chunkSize: number): any[][];
export declare function iteratePages<R extends {
data?: User[] | Role[] | undefined;
nextPageUrl?: string;
}>(getPageData: (page: number) => Promise<R>, cb: CURSOR_CALLBACK): Promise<void>;