Type Alias ResourceType

ResourceType: {
    createResourceType(
        resourceTypeData: ResourceTypeSkeleton,
        resourceTypeUuid?: string,
    ): Promise<ResourceTypeSkeleton>;
    deleteResourceType(resourceTypeUuid: string): Promise<ResourceTypeSkeleton>;
    deleteResourceTypeByName(
        resourceTypeName: string,
    ): Promise<ResourceTypeSkeleton>;
    exportResourceType(
        resourceTypeUuid: string,
    ): Promise<ResourceTypeExportInterface>;
    exportResourceTypeByName(
        resourceTypeName: string,
    ): Promise<ResourceTypeExportInterface>;
    exportResourceTypes(): Promise<ResourceTypeExportInterface>;
    getResourceType(resourceTypeUuid: string): Promise<ResourceTypeSkeleton>;
    getResourceTypeByName(
        resourceTypeName: string,
    ): Promise<ResourceTypeSkeleton>;
    getResourceTypes(): Promise<ResourceTypeSkeleton[]>;
    importFirstResourceType(
        importData: ResourceTypeExportInterface,
    ): Promise<any>;
    importResourceType(
        resourceTypeUuid: string,
        importData: ResourceTypeExportInterface,
    ): Promise<any>;
    importResourceTypeByName(
        resourceTypeName: string,
        importData: ResourceTypeExportInterface,
    ): Promise<any>;
    importResourceTypes(
        importData: ResourceTypeExportInterface,
    ): Promise<any[]>;
    readResourceType(resourceTypeUuid: string): Promise<ResourceTypeSkeleton>;
    readResourceTypeByName(
        resourceTypeName: string,
    ): Promise<ResourceTypeSkeleton>;
    readResourceTypes(): Promise<ResourceTypeSkeleton[]>;
    updateResourceType(
        resourceTypeUuid: string,
        resourceTypeData: ResourceTypeSkeleton,
    ): Promise<ResourceTypeSkeleton>;
}

Type declaration