Skip to content

Class.TermbaseImportApi

Octavian Condre edited this page Jul 25, 2024 · 2 revisions

Trados User Interface Extensibility v0.1.13 / TermbaseImportApi

Class: TermbaseImportApi

Extends

  • BaseAPI

Constructors

new TermbaseImportApi()

new TermbaseImportApi(configuration): TermbaseImportApi

Parameters

configuration: Configuration= DefaultConfig

Returns

TermbaseImportApi

Inherited from

runtime.BaseAPI.constructor

Source

lc-public-api/runtime.ts:97

Methods

downloadTermbaseImportLog()

downloadTermbaseImportLog(requestParameters, initOverrides?): Promise<Blob>

Downloads the termbase import logs. Download Termbase Import Logs

Parameters

requestParameters: DownloadTermbaseImportLogRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<Blob>

Source

lc-public-api/apis/TermbaseImportApi.ts:119


downloadTermbaseImportLogRaw()

downloadTermbaseImportLogRaw(requestParameters, initOverrides?): Promise<ApiResponse<Blob>>

Downloads the termbase import logs. Download Termbase Import Logs

Parameters

requestParameters: DownloadTermbaseImportLogRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<Blob>>

Source

lc-public-api/apis/TermbaseImportApi.ts:64


getImportHistory()

getImportHistory(requestParameters, initOverrides?): Promise<ListTermbaseImportHistory>

Gets the import history for a termbase. Get Termbase Import History

Parameters

requestParameters: GetImportHistoryRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ListTermbaseImportHistory>

Source

lc-public-api/apis/TermbaseImportApi.ts:188


getImportHistoryRaw()

getImportHistoryRaw(requestParameters, initOverrides?): Promise<ApiResponse<ListTermbaseImportHistory>>

Gets the import history for a termbase. Get Termbase Import History

Parameters

requestParameters: GetImportHistoryRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<ListTermbaseImportHistory>>

Source

lc-public-api/apis/TermbaseImportApi.ts:128


importTermbase()

importTermbase(requestParameters, initOverrides?): Promise<TermbaseImportResponse>

Generates an asynchronous import operation.
Use the Poll Import Termbase endpoint to poll until the import status is done.
Import Termbase

Parameters

requestParameters: ImportTermbaseRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<TermbaseImportResponse>

Source

lc-public-api/apis/TermbaseImportApi.ts:281


importTermbaseRaw()

importTermbaseRaw(requestParameters, initOverrides?): Promise<ApiResponse<TermbaseImportResponse>>

Generates an asynchronous import operation.
Use the Poll Import Termbase endpoint to poll until the import status is done.
Import Termbase

Parameters

requestParameters: ImportTermbaseRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<TermbaseImportResponse>>

Source

lc-public-api/apis/TermbaseImportApi.ts:197


pollTermbaseImport()

pollTermbaseImport(requestParameters, initOverrides?): Promise<TermbasePollImportResponse>

Polls a termbase import operation. Poll Termbase Import

Parameters

requestParameters: PollTermbaseImportRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<TermbasePollImportResponse>

Source

lc-public-api/apis/TermbaseImportApi.ts:345


pollTermbaseImportRaw()

pollTermbaseImportRaw(requestParameters, initOverrides?): Promise<ApiResponse<TermbasePollImportResponse>>

Polls a termbase import operation. Poll Termbase Import

Parameters

requestParameters: PollTermbaseImportRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<TermbasePollImportResponse>>

Source

lc-public-api/apis/TermbaseImportApi.ts:290


withMiddleware()

withMiddleware<T>(this, ...middlewares): T

Type parameters

T extends BaseAPI<T>

Parameters

this: T

• ...middlewares: Middleware[]

Returns

T

Inherited from

runtime.BaseAPI.withMiddleware

Source

lc-public-api/runtime.ts:101


withPostMiddleware()

withPostMiddleware<T>(this, ...postMiddlewares): T

Type parameters

T extends BaseAPI<T>

Parameters

this: T

• ...postMiddlewares: (undefined | (context) => Promise<void | Response>)[]

Returns

T

Inherited from

runtime.BaseAPI.withPostMiddleware

Source

lc-public-api/runtime.ts:112


withPreMiddleware()

withPreMiddleware<T>(this, ...preMiddlewares): T

Type parameters

T extends BaseAPI<T>

Parameters

this: T

• ...preMiddlewares: (undefined | (context) => Promise<void | FetchParams>)[]

Returns

T

Inherited from

runtime.BaseAPI.withPreMiddleware

Source

lc-public-api/runtime.ts:107

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally