UNPKG

@authup/core-http-kit

Version:

Package containing global constants, types & interfaces.

14 lines 931 B
import type { BuildInput } from 'rapiq'; import type { Robot } from '@authup/core-kit'; import { BaseAPI } from '../../base'; import type { EntityAPI, EntityCollectionResponse, EntityRecordResponse } from '../../types-base'; export declare class RobotAPI extends BaseAPI implements EntityAPI<Robot> { getMany(options?: BuildInput<Robot>): Promise<EntityCollectionResponse<Robot>>; getOne(id: Robot['id'], options?: BuildInput<Robot>): Promise<EntityRecordResponse<Robot>>; delete(id: Robot['id']): Promise<EntityRecordResponse<Robot>>; create(data: Partial<Robot>): Promise<EntityRecordResponse<Robot>>; update(id: Robot['id'], data: Partial<Robot>): Promise<EntityRecordResponse<Robot>>; createOrUpdate(idOrName: string, data: Partial<Robot>): Promise<EntityRecordResponse<Robot>>; integrity(id: Robot['id'] | Robot['name']): Promise<EntityRecordResponse<Robot>>; } //# sourceMappingURL=module.d.ts.map