Skip to content

Class.TranslationMemoryImportApi

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

Trados User Interface Extensibility v0.1.13 / TranslationMemoryImportApi

Class: TranslationMemoryImportApi

Extends

  • BaseAPI

Constructors

new TranslationMemoryImportApi()

new TranslationMemoryImportApi(configuration): TranslationMemoryImportApi

Parameters

configuration: Configuration= DefaultConfig

Returns

TranslationMemoryImportApi

Inherited from

runtime.BaseAPI.constructor

Source

lc-public-api/runtime.ts:97

Methods

getTMImportHistory()

getTMImportHistory(requestParameters, initOverrides?): Promise<ListTranslationMemoryImportHistory>

Gets the import history for a translation memory. Get Translation Memory Import History

Parameters

requestParameters: GetTMImportHistoryRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ListTranslationMemoryImportHistory>

Source

lc-public-api/apis/TranslationMemoryImportApi.ts:115


getTMImportHistoryRaw()

getTMImportHistoryRaw(requestParameters, initOverrides?): Promise<ApiResponse<ListTranslationMemoryImportHistory>>

Gets the import history for a translation memory. Get Translation Memory Import History

Parameters

requestParameters: GetTMImportHistoryRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<ListTranslationMemoryImportHistory>>

Source

lc-public-api/apis/TranslationMemoryImportApi.ts:55


importTranslationMemory()

importTranslationMemory(requestParameters, initOverrides?): Promise<TranslationMemoryImportResponse>

Generates an asynchronous import operation.

Read more about prerequisites and limitations on the official documentation center.
Note: The order of the multipart form parameter must be implemented as such: properties first, file second.
Use the Poll Translation Memory Import endpoint to poll until the import status is done.
To track the progress of the import please refer to Poll Translation Memory Import. Import Translation Memory

Parameters

requestParameters: ImportTranslationMemoryRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<TranslationMemoryImportResponse>

Source

lc-public-api/apis/TranslationMemoryImportApi.ts:212


importTranslationMemoryRaw()

importTranslationMemoryRaw(requestParameters, initOverrides?): Promise<ApiResponse<TranslationMemoryImportResponse>>

Generates an asynchronous import operation.

Read more about prerequisites and limitations on the official documentation center.
Note: The order of the multipart form parameter must be implemented as such: properties first, file second.
Use the Poll Translation Memory Import endpoint to poll until the import status is done.
To track the progress of the import please refer to Poll Translation Memory Import. Import Translation Memory

Parameters

requestParameters: ImportTranslationMemoryRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<TranslationMemoryImportResponse>>

Source

lc-public-api/apis/TranslationMemoryImportApi.ts:124


pollTMImport()

pollTMImport(requestParameters, initOverrides?): Promise<TranslationMemoryImportResponse>

Polls a Translation Memory import operation. The import is finished when the status is done. Poll Translation Memory Import

Parameters

requestParameters: PollTMImportRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<TranslationMemoryImportResponse>

Source

lc-public-api/apis/TranslationMemoryImportApi.ts:269


pollTMImportRaw()

pollTMImportRaw(requestParameters, initOverrides?): Promise<ApiResponse<TranslationMemoryImportResponse>>

Polls a Translation Memory import operation. The import is finished when the status is done. Poll Translation Memory Import

Parameters

requestParameters: PollTMImportRequest

initOverrides?: RequestInit | InitOverrideFunction

Returns

Promise<ApiResponse<TranslationMemoryImportResponse>>

Source

lc-public-api/apis/TranslationMemoryImportApi.ts:221


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