UNPKG

@simplyhomes/sos-sdk

Version:

TypeScript SDK for Simply Homes SoS API v4

55 lines 4.77 kB
import type { Configuration } from '../generated'; import { RelInspectionUsersAPIV4Api } from '../generated'; import type { V4InspectionUserRelationsControllerDeleteRelInspectionUserV4Request, V4InspectionUserRelationsControllerGetRelInspectionUserColumnsV4Request, V4InspectionUserRelationsControllerGetRelInspectionUserV4Request, V4InspectionUserRelationsControllerGetRelInspectionUsersInViewV4Request, V4InspectionUserRelationsControllerGetRelInspectionUsersV4Request, V4InspectionUserRelationsControllerUpdateRelInspectionUserV4Request, V4InspectionUserRelationsCreateRelInspectionUserBodyDto, V4InspectionUserRelationsCreateRelInspectionUserResponseDto, V4InspectionUserRelationsDeleteRelInspectionUserResponseDto, V4InspectionUserRelationsGetRelInspectionUserColumnsResponseDto, V4InspectionUserRelationsGetRelInspectionUserResponseDto, V4InspectionUserRelationsGetRelInspectionUsersInViewResponseDto, V4InspectionUserRelationsGetRelInspectionUsersResponseDto, V4InspectionUserRelationsUpdateRelInspectionUserBodyDto, V4InspectionUserRelationsUpdateRelInspectionUserResponseDto } from '../generated'; export declare class InspectionUserRelations { readonly list: InspectionUserRelationsList; readonly create: InspectionUserRelationsCreate; readonly update: InspectionUserRelationsUpdate; readonly delete: InspectionUserRelationsDelete; constructor(config: Configuration); } export declare class InspectionUserRelationsList { private api; constructor(api: RelInspectionUsersAPIV4Api); /** * one - get /v4/inspection-user-relations/inspections/{inspectionId}/users/{userId} */ one(inspectionId: V4InspectionUserRelationsControllerGetRelInspectionUserV4Request['inspectionId'], userId: V4InspectionUserRelationsControllerGetRelInspectionUserV4Request['userId'], options?: Omit<V4InspectionUserRelationsControllerGetRelInspectionUserV4Request, 'inspectionId' | 'userId'>): Promise<V4InspectionUserRelationsGetRelInspectionUserResponseDto>; /** * oneWithColumns - get /v4/inspection-user-relations/inspections/{inspectionId}/users/{userId}/{columns} */ oneWithColumns(inspectionId: V4InspectionUserRelationsControllerGetRelInspectionUserColumnsV4Request['inspectionId'], userId: V4InspectionUserRelationsControllerGetRelInspectionUserColumnsV4Request['userId'], columns: V4InspectionUserRelationsControllerGetRelInspectionUserColumnsV4Request['columns'], options?: Omit<V4InspectionUserRelationsControllerGetRelInspectionUserColumnsV4Request, 'inspectionId' | 'userId' | 'columns'>): Promise<V4InspectionUserRelationsGetRelInspectionUserColumnsResponseDto>; /** * all - get /v4/inspection-user-relations */ all(options?: V4InspectionUserRelationsControllerGetRelInspectionUsersV4Request): Promise<V4InspectionUserRelationsGetRelInspectionUsersResponseDto>; /** * withView - get /v4/inspection-user-relations/viewId/{viewId} */ withView(viewId: V4InspectionUserRelationsControllerGetRelInspectionUsersInViewV4Request['viewId'], options?: Omit<V4InspectionUserRelationsControllerGetRelInspectionUsersInViewV4Request, 'viewId'>): Promise<V4InspectionUserRelationsGetRelInspectionUsersInViewResponseDto>; } export declare class InspectionUserRelationsCreate { private api; constructor(api: RelInspectionUsersAPIV4Api); /** * one - post /v4/inspection-user-relations */ one(body: V4InspectionUserRelationsCreateRelInspectionUserBodyDto): Promise<V4InspectionUserRelationsCreateRelInspectionUserResponseDto>; } export declare class InspectionUserRelationsUpdate { private api; constructor(api: RelInspectionUsersAPIV4Api); /** * one - patch /v4/inspection-user-relations/inspections/{inspectionId}/users/{userId} */ one(inspectionId: V4InspectionUserRelationsControllerUpdateRelInspectionUserV4Request['inspectionId'], userId: V4InspectionUserRelationsControllerUpdateRelInspectionUserV4Request['userId'], body: V4InspectionUserRelationsUpdateRelInspectionUserBodyDto['relInspectionUser']): Promise<V4InspectionUserRelationsUpdateRelInspectionUserResponseDto>; } export declare class InspectionUserRelationsDelete { private api; constructor(api: RelInspectionUsersAPIV4Api); /** * one - delete /v4/inspection-user-relations/inspections/{inspectionId}/users/{userId} */ one(inspectionId: V4InspectionUserRelationsControllerDeleteRelInspectionUserV4Request['inspectionId'], userId: V4InspectionUserRelationsControllerDeleteRelInspectionUserV4Request['userId'], options?: Omit<V4InspectionUserRelationsControllerDeleteRelInspectionUserV4Request, 'inspectionId' | 'userId'>): Promise<V4InspectionUserRelationsDeleteRelInspectionUserResponseDto>; } //# sourceMappingURL=inspectionUserRelations.d.ts.map