BetaSkillsOperations interface

Operations for BetaSkillsOperations.

Properties

create

Creates a new version of a skill. If the skill does not exist, it will be created.

createFromFiles

Creates a new version of a skill from uploaded files via multipart form data.

delete

Removes the specified skill and its associated versions.

deleteVersion

Removes the specified version of a skill.

download

Downloads the zip content for the default version of a skill.

downloadVersion

Downloads the zip content for a specific version of a skill.

get

Retrieves the specified skill and its current configuration.

getVersion

Retrieves the specified version of a skill by name and version identifier.

list

Returns the skills available in the current project.

listVersions

Returns the available versions for the specified skill.

update

Modifies the specified skill's configuration.

Property Details

create

Creates a new version of a skill. If the skill does not exist, it will be created.

create: (name: string, options?: BetaSkillsCreateOptionalParams) => Promise<SkillVersion>

Property Value

(name: string, options?: BetaSkillsCreateOptionalParams) => Promise<SkillVersion>

createFromFiles

Creates a new version of a skill from uploaded files via multipart form data.

createFromFiles: (name: string, content: CreateSkillVersionFromFilesBody, options?: CreateFromFilesOptionalParams) => Promise<SkillVersion>

Property Value

(name: string, content: CreateSkillVersionFromFilesBody, options?: CreateFromFilesOptionalParams) => Promise<SkillVersion>

delete

Removes the specified skill and its associated versions.

delete: (name: string, options?: BetaSkillsDeleteOptionalParams) => Promise<DeleteSkillResponse>

Property Value

(name: string, options?: BetaSkillsDeleteOptionalParams) => Promise<DeleteSkillResponse>

deleteVersion

Removes the specified version of a skill.

deleteVersion: (name: string, version: string, options?: DeleteVersionOptionalParams) => Promise<DeleteSkillVersionResponse>

Property Value

(name: string, version: string, options?: DeleteVersionOptionalParams) => Promise<DeleteSkillVersionResponse>

download

Downloads the zip content for the default version of a skill.

download: (name: string, options?: BetaSkillsDownloadOptionalParams) => Promise<BetaSkillsDownloadResponse>

Property Value

(name: string, options?: BetaSkillsDownloadOptionalParams) => Promise<BetaSkillsDownloadResponse>

downloadVersion

Downloads the zip content for a specific version of a skill.

downloadVersion: (name: string, version: string, options?: DownloadVersionOptionalParams) => Promise<DownloadVersionResponse>

Property Value

(name: string, version: string, options?: DownloadVersionOptionalParams) => Promise<DownloadVersionResponse>

get

Retrieves the specified skill and its current configuration.

get: (name: string, options?: BetaSkillsGetOptionalParams) => Promise<Skill>

Property Value

(name: string, options?: BetaSkillsGetOptionalParams) => Promise<Skill>

getVersion

Retrieves the specified version of a skill by name and version identifier.

getVersion: (name: string, version: string, options?: GetVersionOptionalParams) => Promise<SkillVersion>

Property Value

(name: string, version: string, options?: GetVersionOptionalParams) => Promise<SkillVersion>

list

Returns the skills available in the current project.

list: (options?: BetaSkillsListOptionalParams) => PagedAsyncIterableIterator<Skill, Skill[], PageSettings>

Property Value

(options?: BetaSkillsListOptionalParams) => PagedAsyncIterableIterator<Skill, Skill[], PageSettings>

listVersions

Returns the available versions for the specified skill.

listVersions: (name: string, options?: ListVersionsOptionalParams) => PagedAsyncIterableIterator<SkillVersion, SkillVersion[], PageSettings>

Property Value

(name: string, options?: ListVersionsOptionalParams) => PagedAsyncIterableIterator<SkillVersion, SkillVersion[], PageSettings>

update

Modifies the specified skill's configuration.

update: (name: string, defaultVersion: string, options?: BetaSkillsUpdateOptionalParams) => Promise<Skill>

Property Value

(name: string, defaultVersion: string, options?: BetaSkillsUpdateOptionalParams) => Promise<Skill>