import { APIResource } from "../../../core/resource.js"; import { APIPromise } from "../../../core/api-promise.js"; import { RequestOptions } from "../../../internal/request-options.js"; export declare class RubricTemplates extends APIResource { /** * Create a new rubric template * * @example * ```ts * const rubricTemplateResponse = * await client.v1.assignmentGrader.rubricTemplates.create({ * criteria: [{ pointsPossible: 0, title: 'title' }], * name: 'name', * }); * ``` */ create(body: RubricTemplateCreateParams, options?: RequestOptions): APIPromise; /** * Get all rubric templates * * @example * ```ts * const rubricTemplateResponses = * await client.v1.assignmentGrader.rubricTemplates.list(); * ``` */ list(options?: RequestOptions): APIPromise; /** * Delete a rubric template by ID * * @example * ```ts * await client.v1.assignmentGrader.rubricTemplates.delete( * 'id', * ); * ``` */ delete(id: string, options?: RequestOptions): APIPromise; /** * Get a rubric template by ID * * @example * ```ts * const rubricTemplateResponse = * await client.v1.assignmentGrader.rubricTemplates.getByID( * 'id', * ); * ``` */ getByID(id: string, options?: RequestOptions): APIPromise; } export interface RubricCriterion { /** * Points possible for this criterion */ pointsPossible: number; /** * Title of the criterion */ title: string; /** * Description of the criterion */ description?: string; } export interface RubricTemplateResponse { /** * Template ID */ _id: string; /** * Creation timestamp */ createdAt: string; /** * Created by user ID */ createdBy: string; /** * Grading criteria */ criteria: Array; /** * Template name */ name: string; /** * Organization ID */ organizationId: string; /** * Update timestamp */ updatedAt: string; /** * Template description */ description?: string; /** * Assignment content/context provided for grading */ assignmentContent?: string; } export type RubricTemplateListResponse = Array; export interface RubricTemplateCreateParams { /** * Grading criteria */ criteria: Array; /** * Name of the rubric template */ name: string; /** * Additional context for the assignment such as a reading passage, source material, or instructions */ assignmentContent?: string; /** * Description of the rubric template */ description?: string; } export declare namespace RubricTemplates { export { type RubricCriterion as RubricCriterion, type RubricTemplateResponse as RubricTemplateResponse, type RubricTemplateListResponse as RubricTemplateListResponse, type RubricTemplateCreateParams as RubricTemplateCreateParams, }; } //# sourceMappingURL=rubric-templates.d.ts.map