/opt/canhelp/node_modules/openai/resources/skills
NameSizeModeActions
versions/-0755rm
content.d.mts4130644editdlrm
content.d.mts.map3130644editdlrm
content.d.ts4090644editdlrm
content.d.ts.map3120644editdlrm
content.js8250644editdlrm
content.js.map4990644editdlrm
content.mjs6670644editdlrm
content.mjs.map5010644editdlrm
index.d.mts4970644editdlrm
index.d.mts.map4400644editdlrm
index.d.ts4930644editdlrm
index.d.ts.map4390644editdlrm
index.js7210644editdlrm
index.js.map2400644editdlrm
index.mjs2520644editdlrm
index.mjs.map1950644editdlrm
skills.d.mts40150644editdlrm
skills.d.mts.map25790644editdlrm
skills.d.ts40050644editdlrm
skills.d.ts.map25780644editdlrm
skills.js20270644editdlrm
skills.js.map13480644editdlrm
skills.mjs17350644editdlrm
skills.mjs.map13650644editdlrm
versions.d.mts770644editdlrm
versions.d.mts.map1310644editdlrm
versions.d.ts750644editdlrm
versions.d.ts.map1300644editdlrm
versions.js3150644editdlrm
versions.js.map1550644editdlrm
versions.mjs1620644editdlrm
versions.mjs.map1400644editdlrm
Edit: /opt/canhelp/node_modules/openai/resources/skills/skills.d.ts (4005B)
import { APIResource } from "../../core/resource.js"; import * as ContentAPI from "./content.js"; import { Content } from "./content.js"; import * as VersionsAPI from "./versions/versions.js"; import { DeletedSkillVersion, SkillVersion, SkillVersionList, SkillVersionsPage, VersionCreateParams, VersionDeleteParams, VersionListParams, VersionRetrieveParams, Versions } from "./versions/versions.js"; import { APIPromise } from "../../core/api-promise.js"; import { CursorPage, type CursorPageParams, PagePromise } from "../../core/pagination.js"; import { type Uploadable } from "../../core/uploads.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Skills extends APIResource { content: ContentAPI.Content; versions: VersionsAPI.Versions; /** * Create a new skill. */ create(body?: SkillCreateParams | null | undefined, options?: RequestOptions): APIPromise; /** * Get a skill by its ID. */ retrieve(skillID: string, options?: RequestOptions): APIPromise; /** * Update the default version pointer for a skill. */ update(skillID: string, body: SkillUpdateParams, options?: RequestOptions): APIPromise; /** * List all skills for the current project. */ list(query?: SkillListParams | null | undefined, options?: RequestOptions): PagePromise; /** * Delete a skill by its ID. */ delete(skillID: string, options?: RequestOptions): APIPromise; } export type SkillsPage = CursorPage; export interface DeletedSkill { id: string; deleted: boolean; object: 'skill.deleted'; } export interface Skill { /** * Unique identifier for the skill. */ id: string; /** * Unix timestamp (seconds) for when the skill was created. */ created_at: number; /** * Default version for the skill. */ default_version: string; /** * Description of the skill. */ description: string; /** * Latest version for the skill. */ latest_version: string; /** * Name of the skill. */ name: string; /** * The object type, which is `skill`. */ object: 'skill'; } export interface SkillList { /** * A list of items */ data: Array; /** * The ID of the first item in the list. */ first_id: string | null; /** * Whether there are more items available. */ has_more: boolean; /** * The ID of the last item in the list. */ last_id: string | null; /** * The type of object returned, must be `list`. */ object: 'list'; } export interface SkillCreateParams { /** * Skill files to upload (directory upload) or a single zip file. */ files?: Array | Uploadable; } export interface SkillUpdateParams { /** * The skill version number to set as default. */ default_version: string; } export interface SkillListParams extends CursorPageParams { /** * Sort order of results by timestamp. Use `asc` for ascending order or `desc` for * descending order. */ order?: 'asc' | 'desc'; } export declare namespace Skills { export { type DeletedSkill as DeletedSkill, type Skill as Skill, type SkillList as SkillList, type SkillsPage as SkillsPage, type SkillCreateParams as SkillCreateParams, type SkillUpdateParams as SkillUpdateParams, type SkillListParams as SkillListParams, }; export { Content as Content }; export { Versions as Versions, type DeletedSkillVersion as DeletedSkillVersion, type SkillVersion as SkillVersion, type SkillVersionList as SkillVersionList, type SkillVersionsPage as SkillVersionsPage, type VersionCreateParams as VersionCreateParams, type VersionRetrieveParams as VersionRetrieveParams, type VersionListParams as VersionListParams, type VersionDeleteParams as VersionDeleteParams, }; } //# sourceMappingURL=skills.d.ts.map