diff --git a/README.md b/README.md index 3ad7f94..3fb5d27 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Our services have a general quota of 4000 requests per minute. Should you hit th This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v2.0 -- Package version: 0.5.0 +- Package version: 0.6.3 - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit [https://lilt.com/docs/api](https://lilt.com/docs/api) @@ -326,6 +326,7 @@ Class | Method | HTTP request | Description - [LiltNode.QARuleMatchesRuleUrls](docs/QARuleMatchesRuleUrls.md) - [LiltNode.ResourceStatus](docs/ResourceStatus.md) - [LiltNode.ReviewCompletionTypeError](docs/ReviewCompletionTypeError.md) + - [LiltNode.SDLXLIFFFilter](docs/SDLXLIFFFilter.md) - [LiltNode.Segment](docs/Segment.md) - [LiltNode.SegmentCreateParameters](docs/SegmentCreateParameters.md) - [LiltNode.SegmentDeleteResponse](docs/SegmentDeleteResponse.md) diff --git a/docs/MemoriesApi.md b/docs/MemoriesApi.md index 5319370..dbcb23e 100644 --- a/docs/MemoriesApi.md +++ b/docs/MemoriesApi.md @@ -187,7 +187,7 @@ Name | Type | Description | Notes File import for a Memory -Imports common translation memory or termbase file formats to a specific Lilt memory. Currently supported file formats are `*.tmx`, `*.sdltm` and `*.tmq` for TM data; `*.csv` and `*.tbx` for termbase data. Request parameters should be passed as JSON object with the header field `LILT-API`. Example CURL command to upload a translation memory file named `my_memory.sdltm` in the current working directory: ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdltm\\\",\\\"memory_id\\\": 42}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdltm ``` +Imports common translation memory or termbase file formats to a specific Lilt memory. Currently supported file formats are `*.tmx`, `*.sdltm`, `*.sdlxliff`(With custom Filters), and `*.tmq` for TM data; `*.csv` and `*.tbx` for termbase data. Request parameters should be passed as JSON object with the header field `LILT-API`. Example CURL command to upload a translation memory file named `my_memory.sdltm` in the current working directory: ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdltm\\\",\\\"memory_id\\\": 42}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdltm ``` Example CURL command to upload a translation memory file named `my_memory.sdlxliff` in the current working directory, with Custom Filters based on SDLXLIFF fields, conf_name which maps to, percentage, and whether we should ignore unlocked segments. ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdlxliff\\\",\\\"memory_id\\\": 12,\\\"sdlxliff_filters\\\":[{\\\"conf_name\\\": \\\"Translated\\\", \\\"percentage\\\": 100, \\\"allow_unlocked\\\": false}]\"}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdlxliff ### Example @@ -209,6 +209,7 @@ let memoryId = 56; // Number | A unique Memory identifier. let name = "name_example"; // String | Name of the TM or termbase file. let body = "/path/to/file"; // File | The file contents to be uploaded. The entire POST body will be treated as the file. let opts = { + 'sdlxliffFilters': [new LiltNode.SDLXLIFFFilter()], // [SDLXLIFFFilter] | Contains Filter information Unique to SDLXLIFF 'hasHeaderRow': true, // Boolean | A flag indicating whether an imported Termbase CSV has a header row or not (the default value is `false`). 'skipDuplicates': true // Boolean | A flag indicating whether or not to skip the import of segments which already exist in the memory. (the default value is `false`). }; @@ -228,6 +229,7 @@ Name | Type | Description | Notes **memoryId** | **Number**| A unique Memory identifier. | **name** | **String**| Name of the TM or termbase file. | **body** | **File**| The file contents to be uploaded. The entire POST body will be treated as the file. | + **sdlxliffFilters** | [**[SDLXLIFFFilter]**](SDLXLIFFFilter.md)| Contains Filter information Unique to SDLXLIFF | [optional] **hasHeaderRow** | **Boolean**| A flag indicating whether an imported Termbase CSV has a header row or not (the default value is `false`). | [optional] **skipDuplicates** | **Boolean**| A flag indicating whether or not to skip the import of segments which already exist in the memory. (the default value is `false`). | [optional] diff --git a/docs/SDLXLIFFFilter.md b/docs/SDLXLIFFFilter.md new file mode 100644 index 0000000..d7f45df --- /dev/null +++ b/docs/SDLXLIFFFilter.md @@ -0,0 +1,28 @@ +# LiltNode.SDLXLIFFFilter + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**confName** | **String** | the current state of the SDLXLIFF Trans Unit. | +**allowablePercentage** | **Number** | This represents for the current conf_name what percentage the filter applies to. If you pass -1 it will take any value for this field and won't ignore blank values. If you pass 50, Lilt will only import Segments that have a 50 percent match or better. | [optional] +**allowUnlockedSegments** | **Boolean** | Boolean that tells Lilt whether we should allow unlocked Segments for this conf_name. | [optional] + + + +## Enum: ConfNameEnum + + +* `Translated` (value: `"Translated"`) + +* `Draft` (value: `"Draft"`) + +* `ApprovedTranslation` (value: `"ApprovedTranslation"`) + +* `Locked` (value: `"Locked"`) + +* `SignedOff` (value: `"SignedOff"`) + + + + diff --git a/src/ApiClient.js b/src/ApiClient.js index 8e9e032..32c8038 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -17,7 +17,7 @@ import querystring from "querystring"; /** * @module ApiClient -* @version 0.5.0 +* @version 0.6.3 */ /** diff --git a/src/api/CommentsApi.js b/src/api/CommentsApi.js index 53d2c4e..bfe1bf2 100644 --- a/src/api/CommentsApi.js +++ b/src/api/CommentsApi.js @@ -22,7 +22,7 @@ import Error from '../model/Error'; /** * Comments service. * @module api/CommentsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class CommentsApi { diff --git a/src/api/ConnectorsApi.js b/src/api/ConnectorsApi.js index 7515df9..cc239f7 100644 --- a/src/api/ConnectorsApi.js +++ b/src/api/ConnectorsApi.js @@ -22,7 +22,7 @@ import Error from '../model/Error'; /** * Connectors service. * @module api/ConnectorsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class ConnectorsApi { diff --git a/src/api/ConverterConfigApi.js b/src/api/ConverterConfigApi.js index 9f29bf6..cf32ba2 100644 --- a/src/api/ConverterConfigApi.js +++ b/src/api/ConverterConfigApi.js @@ -21,7 +21,7 @@ import Error from '../model/Error'; /** * ConverterConfig service. * @module api/ConverterConfigApi -* @version 0.5.0 +* @version 0.6.3 */ export default class ConverterConfigApi { diff --git a/src/api/DocumentsApi.js b/src/api/DocumentsApi.js index 0fce6ef..416aaa4 100644 --- a/src/api/DocumentsApi.js +++ b/src/api/DocumentsApi.js @@ -30,7 +30,7 @@ import TranslateCompletionTypeError from '../model/TranslateCompletionTypeError' /** * Documents service. * @module api/DocumentsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class DocumentsApi { diff --git a/src/api/FilesApi.js b/src/api/FilesApi.js index 2033aef..e3a8ba8 100644 --- a/src/api/FilesApi.js +++ b/src/api/FilesApi.js @@ -21,7 +21,7 @@ import SourceFile from '../model/SourceFile'; /** * Files service. * @module api/FilesApi -* @version 0.5.0 +* @version 0.6.3 */ export default class FilesApi { diff --git a/src/api/JobsApi.js b/src/api/JobsApi.js index 82e1a88..a0ce3e7 100644 --- a/src/api/JobsApi.js +++ b/src/api/JobsApi.js @@ -23,7 +23,7 @@ import JobUpdateParameters from '../model/JobUpdateParameters'; /** * Jobs service. * @module api/JobsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class JobsApi { diff --git a/src/api/LanguagesApi.js b/src/api/LanguagesApi.js index 2efc465..1a29f21 100644 --- a/src/api/LanguagesApi.js +++ b/src/api/LanguagesApi.js @@ -19,7 +19,7 @@ import LanguagesResponse from '../model/LanguagesResponse'; /** * Languages service. * @module api/LanguagesApi -* @version 0.5.0 +* @version 0.6.3 */ export default class LanguagesApi { diff --git a/src/api/LexiconApi.js b/src/api/LexiconApi.js index 7c78b73..a95d610 100644 --- a/src/api/LexiconApi.js +++ b/src/api/LexiconApi.js @@ -21,7 +21,7 @@ import LexiconUpdateResponse from '../model/LexiconUpdateResponse'; /** * Lexicon service. * @module api/LexiconApi -* @version 0.5.0 +* @version 0.6.3 */ export default class LexiconApi { diff --git a/src/api/MemoriesApi.js b/src/api/MemoriesApi.js index 5cf1e9c..cc49f1a 100644 --- a/src/api/MemoriesApi.js +++ b/src/api/MemoriesApi.js @@ -21,12 +21,13 @@ import MemoryImportResponse from '../model/MemoryImportResponse'; import MemoryInsertResponse from '../model/MemoryInsertResponse'; import MemoryUpdateParameters from '../model/MemoryUpdateParameters'; import MemoryUpdateResponse from '../model/MemoryUpdateResponse'; +import SDLXLIFFFilter from '../model/SDLXLIFFFilter'; import TranslationMemoryEntry from '../model/TranslationMemoryEntry'; /** * Memories service. * @module api/MemoriesApi -* @version 0.5.0 +* @version 0.6.3 */ export default class MemoriesApi { @@ -187,11 +188,12 @@ export default class MemoriesApi { /** * File import for a Memory - * Imports common translation memory or termbase file formats to a specific Lilt memory. Currently supported file formats are `*.tmx`, `*.sdltm` and `*.tmq` for TM data; `*.csv` and `*.tbx` for termbase data. Request parameters should be passed as JSON object with the header field `LILT-API`. Example CURL command to upload a translation memory file named `my_memory.sdltm` in the current working directory: ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdltm\\\",\\\"memory_id\\\": 42}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdltm ``` + * Imports common translation memory or termbase file formats to a specific Lilt memory. Currently supported file formats are `*.tmx`, `*.sdltm`, `*.sdlxliff`(With custom Filters), and `*.tmq` for TM data; `*.csv` and `*.tbx` for termbase data. Request parameters should be passed as JSON object with the header field `LILT-API`. Example CURL command to upload a translation memory file named `my_memory.sdltm` in the current working directory: ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdltm\\\",\\\"memory_id\\\": 42}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdltm ``` Example CURL command to upload a translation memory file named `my_memory.sdlxliff` in the current working directory, with Custom Filters based on SDLXLIFF fields, conf_name which maps to, percentage, and whether we should ignore unlocked segments. ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdlxliff\\\",\\\"memory_id\\\": 12,\\\"sdlxliff_filters\\\":[{\\\"conf_name\\\": \\\"Translated\\\", \\\"percentage\\\": 100, \\\"allow_unlocked\\\": false}]\"}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdlxliff * @param {Number} memoryId A unique Memory identifier. * @param {String} name Name of the TM or termbase file. * @param {File} body The file contents to be uploaded. The entire POST body will be treated as the file. * @param {Object} opts Optional parameters + * @param {Array.} opts.sdlxliffFilters Contains Filter information Unique to SDLXLIFF * @param {Boolean} opts.hasHeaderRow A flag indicating whether an imported Termbase CSV has a header row or not (the default value is `false`). * @param {Boolean} opts.skipDuplicates A flag indicating whether or not to skip the import of segments which already exist in the memory. (the default value is `false`). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MemoryImportResponse} and HTTP response @@ -219,6 +221,7 @@ export default class MemoriesApi { let headerParams = { 'memory_id': memoryId, 'name': name, + 'sdlxliff_filters': opts['sdlxliffFilters'], 'has_header_row': opts['hasHeaderRow'], 'skip_duplicates': opts['skipDuplicates'] }; @@ -238,11 +241,12 @@ export default class MemoriesApi { /** * File import for a Memory - * Imports common translation memory or termbase file formats to a specific Lilt memory. Currently supported file formats are `*.tmx`, `*.sdltm` and `*.tmq` for TM data; `*.csv` and `*.tbx` for termbase data. Request parameters should be passed as JSON object with the header field `LILT-API`. Example CURL command to upload a translation memory file named `my_memory.sdltm` in the current working directory: ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdltm\\\",\\\"memory_id\\\": 42}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdltm ``` + * Imports common translation memory or termbase file formats to a specific Lilt memory. Currently supported file formats are `*.tmx`, `*.sdltm`, `*.sdlxliff`(With custom Filters), and `*.tmq` for TM data; `*.csv` and `*.tbx` for termbase data. Request parameters should be passed as JSON object with the header field `LILT-API`. Example CURL command to upload a translation memory file named `my_memory.sdltm` in the current working directory: ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdltm\\\",\\\"memory_id\\\": 42}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdltm ``` Example CURL command to upload a translation memory file named `my_memory.sdlxliff` in the current working directory, with Custom Filters based on SDLXLIFF fields, conf_name which maps to, percentage, and whether we should ignore unlocked segments. ``` curl -X POST https://lilt.com/2/memories/import?key=API_KEY \\ --header \"LILT-API: {\\\"name\\\": \\\"my_memory.sdlxliff\\\",\\\"memory_id\\\": 12,\\\"sdlxliff_filters\\\":[{\\\"conf_name\\\": \\\"Translated\\\", \\\"percentage\\\": 100, \\\"allow_unlocked\\\": false}]\"}\" \\ --header \"Content-Type: application/octet-stream\" \\ --data-binary @my_memory.sdlxliff * @param {Number} memoryId A unique Memory identifier. * @param {String} name Name of the TM or termbase file. * @param {File} body The file contents to be uploaded. The entire POST body will be treated as the file. * @param {Object} opts Optional parameters + * @param {Array.} opts.sdlxliffFilters Contains Filter information Unique to SDLXLIFF * @param {Boolean} opts.hasHeaderRow A flag indicating whether an imported Termbase CSV has a header row or not (the default value is `false`). * @param {Boolean} opts.skipDuplicates A flag indicating whether or not to skip the import of segments which already exist in the memory. (the default value is `false`). * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MemoryImportResponse} diff --git a/src/api/ProjectsApi.js b/src/api/ProjectsApi.js index 347f764..224ed4b 100644 --- a/src/api/ProjectsApi.js +++ b/src/api/ProjectsApi.js @@ -28,7 +28,7 @@ import ProjectsToUpdate from '../model/ProjectsToUpdate'; /** * Projects service. * @module api/ProjectsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class ProjectsApi { diff --git a/src/api/QAApi.js b/src/api/QAApi.js index 95e1e68..4598e6f 100644 --- a/src/api/QAApi.js +++ b/src/api/QAApi.js @@ -19,7 +19,7 @@ import QARuleMatches from '../model/QARuleMatches'; /** * QA service. * @module api/QAApi -* @version 0.5.0 +* @version 0.6.3 */ export default class QAApi { diff --git a/src/api/RootApi.js b/src/api/RootApi.js index ea903de..87df605 100644 --- a/src/api/RootApi.js +++ b/src/api/RootApi.js @@ -19,7 +19,7 @@ import Error from '../model/Error'; /** * Root service. * @module api/RootApi -* @version 0.5.0 +* @version 0.6.3 */ export default class RootApi { diff --git a/src/api/SegmentsApi.js b/src/api/SegmentsApi.js index 7d84245..807b342 100644 --- a/src/api/SegmentsApi.js +++ b/src/api/SegmentsApi.js @@ -25,7 +25,7 @@ import TaggedSegment from '../model/TaggedSegment'; /** * Segments service. * @module api/SegmentsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class SegmentsApi { diff --git a/src/api/SettingsApi.js b/src/api/SettingsApi.js index 1fba415..44885cc 100644 --- a/src/api/SettingsApi.js +++ b/src/api/SettingsApi.js @@ -21,7 +21,7 @@ import SettingUpsertResponse from '../model/SettingUpsertResponse'; /** * Settings service. * @module api/SettingsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class SettingsApi { diff --git a/src/api/TranslateApi.js b/src/api/TranslateApi.js index 8c9644f..a8f3774 100644 --- a/src/api/TranslateApi.js +++ b/src/api/TranslateApi.js @@ -23,7 +23,7 @@ import TranslationList from '../model/TranslationList'; /** * Translate service. * @module api/TranslateApi -* @version 0.5.0 +* @version 0.6.3 */ export default class TranslateApi { diff --git a/src/api/WorkflowsApi.js b/src/api/WorkflowsApi.js index e2f4c88..619862b 100644 --- a/src/api/WorkflowsApi.js +++ b/src/api/WorkflowsApi.js @@ -21,7 +21,7 @@ import WorkflowTemplate from '../model/WorkflowTemplate'; /** * Workflows service. * @module api/WorkflowsApi -* @version 0.5.0 +* @version 0.6.3 */ export default class WorkflowsApi { diff --git a/src/index.js b/src/index.js index b2160fa..b113cc8 100644 --- a/src/index.js +++ b/src/index.js @@ -94,6 +94,7 @@ import QARuleMatchesRuleCategory from './model/QARuleMatchesRuleCategory'; import QARuleMatchesRuleUrls from './model/QARuleMatchesRuleUrls'; import ResourceStatus from './model/ResourceStatus'; import ReviewCompletionTypeError from './model/ReviewCompletionTypeError'; +import SDLXLIFFFilter from './model/SDLXLIFFFilter'; import Segment from './model/Segment'; import SegmentCreateParameters from './model/SegmentCreateParameters'; import SegmentDeleteResponse from './model/SegmentDeleteResponse'; @@ -166,7 +167,7 @@ import WorkflowsApi from './api/WorkflowsApi'; * *

* @module index -* @version 0.5.0 +* @version 0.6.3 */ export { /** @@ -661,6 +662,12 @@ export { */ ReviewCompletionTypeError, + /** + * The SDLXLIFFFilter model constructor. + * @property {module:model/SDLXLIFFFilter} + */ + SDLXLIFFFilter, + /** * The Segment model constructor. * @property {module:model/Segment} diff --git a/src/model/AddFileLabelRequest.js b/src/model/AddFileLabelRequest.js index f356c78..cc83c8f 100644 --- a/src/model/AddFileLabelRequest.js +++ b/src/model/AddFileLabelRequest.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The AddFileLabelRequest model module. * @module model/AddFileLabelRequest - * @version 0.5.0 + * @version 0.6.3 */ class AddFileLabelRequest { /** diff --git a/src/model/Annotation.js b/src/model/Annotation.js index dc3985a..70d075e 100644 --- a/src/model/Annotation.js +++ b/src/model/Annotation.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Annotation model module. * @module model/Annotation - * @version 0.5.0 + * @version 0.6.3 */ class Annotation { /** diff --git a/src/model/ApiRoot.js b/src/model/ApiRoot.js index f930b23..45fefb0 100644 --- a/src/model/ApiRoot.js +++ b/src/model/ApiRoot.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ApiRoot model module. * @module model/ApiRoot - * @version 0.5.0 + * @version 0.6.3 */ class ApiRoot { /** diff --git a/src/model/AssignmentDetails.js b/src/model/AssignmentDetails.js index dca4449..3debfcc 100644 --- a/src/model/AssignmentDetails.js +++ b/src/model/AssignmentDetails.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The AssignmentDetails model module. * @module model/AssignmentDetails - * @version 0.5.0 + * @version 0.6.3 */ class AssignmentDetails { /** diff --git a/src/model/AssignmentError.js b/src/model/AssignmentError.js index abab386..85ce984 100644 --- a/src/model/AssignmentError.js +++ b/src/model/AssignmentError.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The AssignmentError model module. * @module model/AssignmentError - * @version 0.5.0 + * @version 0.6.3 */ class AssignmentError { /** diff --git a/src/model/AutoAssignmentParameters.js b/src/model/AutoAssignmentParameters.js index a742297..6663c9e 100644 --- a/src/model/AutoAssignmentParameters.js +++ b/src/model/AutoAssignmentParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The AutoAssignmentParameters model module. * @module model/AutoAssignmentParameters - * @version 0.5.0 + * @version 0.6.3 */ class AutoAssignmentParameters { /** diff --git a/src/model/AutoAssignmentResponse.js b/src/model/AutoAssignmentResponse.js index 1b10ae2..871b44f 100644 --- a/src/model/AutoAssignmentResponse.js +++ b/src/model/AutoAssignmentResponse.js @@ -18,7 +18,7 @@ import AssignmentError from './AssignmentError'; /** * The AutoAssignmentResponse model module. * @module model/AutoAssignmentResponse - * @version 0.5.0 + * @version 0.6.3 */ class AutoAssignmentResponse { /** diff --git a/src/model/BadRequest.js b/src/model/BadRequest.js index f00f9b9..407e08e 100644 --- a/src/model/BadRequest.js +++ b/src/model/BadRequest.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The BadRequest model module. * @module model/BadRequest - * @version 0.5.0 + * @version 0.6.3 */ class BadRequest { /** diff --git a/src/model/Comment.js b/src/model/Comment.js index 51d1819..d887004 100644 --- a/src/model/Comment.js +++ b/src/model/Comment.js @@ -17,7 +17,7 @@ import Annotation from './Annotation'; /** * The Comment model module. * @module model/Comment - * @version 0.5.0 + * @version 0.6.3 */ class Comment { /** diff --git a/src/model/CommentBody.js b/src/model/CommentBody.js index 3cf0432..ceed062 100644 --- a/src/model/CommentBody.js +++ b/src/model/CommentBody.js @@ -17,7 +17,7 @@ import Annotation from './Annotation'; /** * The CommentBody model module. * @module model/CommentBody - * @version 0.5.0 + * @version 0.6.3 */ class CommentBody { /** diff --git a/src/model/CommentDeleteResponse.js b/src/model/CommentDeleteResponse.js index ffb5ad2..801c02e 100644 --- a/src/model/CommentDeleteResponse.js +++ b/src/model/CommentDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The CommentDeleteResponse model module. * @module model/CommentDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class CommentDeleteResponse { /** diff --git a/src/model/Connector.js b/src/model/Connector.js index a5ba9ab..d05898d 100644 --- a/src/model/Connector.js +++ b/src/model/Connector.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Connector model module. * @module model/Connector - * @version 0.5.0 + * @version 0.6.3 */ class Connector { /** diff --git a/src/model/ConnectorArguments.js b/src/model/ConnectorArguments.js index c0952b0..eaa1641 100644 --- a/src/model/ConnectorArguments.js +++ b/src/model/ConnectorArguments.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ConnectorArguments model module. * @module model/ConnectorArguments - * @version 0.5.0 + * @version 0.6.3 */ class ConnectorArguments { /** diff --git a/src/model/ConnectorDeleteResponse.js b/src/model/ConnectorDeleteResponse.js index 45a9da7..0a0e224 100644 --- a/src/model/ConnectorDeleteResponse.js +++ b/src/model/ConnectorDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ConnectorDeleteResponse model module. * @module model/ConnectorDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class ConnectorDeleteResponse { /** diff --git a/src/model/ConnectorJob.js b/src/model/ConnectorJob.js index 1834aad..08e2672 100644 --- a/src/model/ConnectorJob.js +++ b/src/model/ConnectorJob.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ConnectorJob model module. * @module model/ConnectorJob - * @version 0.5.0 + * @version 0.6.3 */ class ConnectorJob { /** diff --git a/src/model/ConverterConfigUpdateResponse.js b/src/model/ConverterConfigUpdateResponse.js index 92f4f0a..c4c533b 100644 --- a/src/model/ConverterConfigUpdateResponse.js +++ b/src/model/ConverterConfigUpdateResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ConverterConfigUpdateResponse model module. * @module model/ConverterConfigUpdateResponse - * @version 0.5.0 + * @version 0.6.3 */ class ConverterConfigUpdateResponse { /** diff --git a/src/model/CreateConverterConfigParameters.js b/src/model/CreateConverterConfigParameters.js index c5f553a..42a2f7f 100644 --- a/src/model/CreateConverterConfigParameters.js +++ b/src/model/CreateConverterConfigParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The CreateConverterConfigParameters model module. * @module model/CreateConverterConfigParameters - * @version 0.5.0 + * @version 0.6.3 */ class CreateConverterConfigParameters { /** diff --git a/src/model/DocumentAssignmentParameters.js b/src/model/DocumentAssignmentParameters.js index a36ab97..269f809 100644 --- a/src/model/DocumentAssignmentParameters.js +++ b/src/model/DocumentAssignmentParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentAssignmentParameters model module. * @module model/DocumentAssignmentParameters - * @version 0.5.0 + * @version 0.6.3 */ class DocumentAssignmentParameters { /** diff --git a/src/model/DocumentAssignmentResponse.js b/src/model/DocumentAssignmentResponse.js index 02dc6f0..934014f 100644 --- a/src/model/DocumentAssignmentResponse.js +++ b/src/model/DocumentAssignmentResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentAssignmentResponse model module. * @module model/DocumentAssignmentResponse - * @version 0.5.0 + * @version 0.6.3 */ class DocumentAssignmentResponse { /** diff --git a/src/model/DocumentComments.js b/src/model/DocumentComments.js index 5bdc6bf..1685caf 100644 --- a/src/model/DocumentComments.js +++ b/src/model/DocumentComments.js @@ -17,7 +17,7 @@ import Comment from './Comment'; /** * The DocumentComments model module. * @module model/DocumentComments - * @version 0.5.0 + * @version 0.6.3 */ class DocumentComments { /** diff --git a/src/model/DocumentDeleteResponse.js b/src/model/DocumentDeleteResponse.js index 9b82d65..756b966 100644 --- a/src/model/DocumentDeleteResponse.js +++ b/src/model/DocumentDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentDeleteResponse model module. * @module model/DocumentDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class DocumentDeleteResponse { /** diff --git a/src/model/DocumentDoneUpdateParameters.js b/src/model/DocumentDoneUpdateParameters.js index 5f97849..3b8f153 100644 --- a/src/model/DocumentDoneUpdateParameters.js +++ b/src/model/DocumentDoneUpdateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentDoneUpdateParameters model module. * @module model/DocumentDoneUpdateParameters - * @version 0.5.0 + * @version 0.6.3 */ class DocumentDoneUpdateParameters { /** diff --git a/src/model/DocumentDoneUpdateParameters1.js b/src/model/DocumentDoneUpdateParameters1.js index 1ef66e7..bf6d250 100644 --- a/src/model/DocumentDoneUpdateParameters1.js +++ b/src/model/DocumentDoneUpdateParameters1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentDoneUpdateParameters1 model module. * @module model/DocumentDoneUpdateParameters1 - * @version 0.5.0 + * @version 0.6.3 */ class DocumentDoneUpdateParameters1 { /** diff --git a/src/model/DocumentDoneUpdateParameters2.js b/src/model/DocumentDoneUpdateParameters2.js index 099dd7a..325bcdd 100644 --- a/src/model/DocumentDoneUpdateParameters2.js +++ b/src/model/DocumentDoneUpdateParameters2.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentDoneUpdateParameters2 model module. * @module model/DocumentDoneUpdateParameters2 - * @version 0.5.0 + * @version 0.6.3 */ class DocumentDoneUpdateParameters2 { /** diff --git a/src/model/DocumentParameters.js b/src/model/DocumentParameters.js index 0cbc024..21ced0b 100644 --- a/src/model/DocumentParameters.js +++ b/src/model/DocumentParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentParameters model module. * @module model/DocumentParameters - * @version 0.5.0 + * @version 0.6.3 */ class DocumentParameters { /** diff --git a/src/model/DocumentPretranslateParameters.js b/src/model/DocumentPretranslateParameters.js index 776c9c9..76289d0 100644 --- a/src/model/DocumentPretranslateParameters.js +++ b/src/model/DocumentPretranslateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentPretranslateParameters model module. * @module model/DocumentPretranslateParameters - * @version 0.5.0 + * @version 0.6.3 */ class DocumentPretranslateParameters { /** diff --git a/src/model/DocumentPretranslateResponse.js b/src/model/DocumentPretranslateResponse.js index 2e563b3..2dfef62 100644 --- a/src/model/DocumentPretranslateResponse.js +++ b/src/model/DocumentPretranslateResponse.js @@ -17,7 +17,7 @@ import DocumentPretranslating from './DocumentPretranslating'; /** * The DocumentPretranslateResponse model module. * @module model/DocumentPretranslateResponse - * @version 0.5.0 + * @version 0.6.3 */ class DocumentPretranslateResponse { /** diff --git a/src/model/DocumentPretranslating.js b/src/model/DocumentPretranslating.js index d8e8417..e32f805 100644 --- a/src/model/DocumentPretranslating.js +++ b/src/model/DocumentPretranslating.js @@ -17,7 +17,7 @@ import DocumentPretranslatingStatus from './DocumentPretranslatingStatus'; /** * The DocumentPretranslating model module. * @module model/DocumentPretranslating - * @version 0.5.0 + * @version 0.6.3 */ class DocumentPretranslating { /** diff --git a/src/model/DocumentPretranslatingStatus.js b/src/model/DocumentPretranslatingStatus.js index cdecf04..68c609b 100644 --- a/src/model/DocumentPretranslatingStatus.js +++ b/src/model/DocumentPretranslatingStatus.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentPretranslatingStatus model module. * @module model/DocumentPretranslatingStatus - * @version 0.5.0 + * @version 0.6.3 */ class DocumentPretranslatingStatus { /** diff --git a/src/model/DocumentQuote.js b/src/model/DocumentQuote.js index ed7467a..1d7475d 100644 --- a/src/model/DocumentQuote.js +++ b/src/model/DocumentQuote.js @@ -17,7 +17,7 @@ import MatchBand from './MatchBand'; /** * The DocumentQuote model module. * @module model/DocumentQuote - * @version 0.5.0 + * @version 0.6.3 */ class DocumentQuote { /** diff --git a/src/model/DocumentWithSegments.js b/src/model/DocumentWithSegments.js index 5b93351..7cec1e2 100644 --- a/src/model/DocumentWithSegments.js +++ b/src/model/DocumentWithSegments.js @@ -18,7 +18,7 @@ import Segment from './Segment'; /** * The DocumentWithSegments model module. * @module model/DocumentWithSegments - * @version 0.5.0 + * @version 0.6.3 */ class DocumentWithSegments { /** diff --git a/src/model/DocumentWithoutSegments.js b/src/model/DocumentWithoutSegments.js index fbfed64..2894980 100644 --- a/src/model/DocumentWithoutSegments.js +++ b/src/model/DocumentWithoutSegments.js @@ -17,7 +17,7 @@ import DocumentWithoutSegmentsStatus from './DocumentWithoutSegmentsStatus'; /** * The DocumentWithoutSegments model module. * @module model/DocumentWithoutSegments - * @version 0.5.0 + * @version 0.6.3 */ class DocumentWithoutSegments { /** diff --git a/src/model/DocumentWithoutSegmentsStatus.js b/src/model/DocumentWithoutSegmentsStatus.js index 2542ef6..ee955eb 100644 --- a/src/model/DocumentWithoutSegmentsStatus.js +++ b/src/model/DocumentWithoutSegmentsStatus.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The DocumentWithoutSegmentsStatus model module. * @module model/DocumentWithoutSegmentsStatus - * @version 0.5.0 + * @version 0.6.3 */ class DocumentWithoutSegmentsStatus { /** diff --git a/src/model/DocumentWorkflow.js b/src/model/DocumentWorkflow.js index 4d946e8..d7aa2e9 100644 --- a/src/model/DocumentWorkflow.js +++ b/src/model/DocumentWorkflow.js @@ -18,7 +18,7 @@ import WorkflowTask from './WorkflowTask'; /** * The DocumentWorkflow model module. * @module model/DocumentWorkflow - * @version 0.5.0 + * @version 0.6.3 */ class DocumentWorkflow { /** diff --git a/src/model/EditFilterMappingParameters.js b/src/model/EditFilterMappingParameters.js index 67e6d6e..902bb22 100644 --- a/src/model/EditFilterMappingParameters.js +++ b/src/model/EditFilterMappingParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The EditFilterMappingParameters model module. * @module model/EditFilterMappingParameters - * @version 0.5.0 + * @version 0.6.3 */ class EditFilterMappingParameters { /** diff --git a/src/model/Error.js b/src/model/Error.js index 90fff94..7c00bef 100644 --- a/src/model/Error.js +++ b/src/model/Error.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Error model module. * @module model/Error - * @version 0.5.0 + * @version 0.6.3 */ class Error { /** diff --git a/src/model/FileDeleteResponse.js b/src/model/FileDeleteResponse.js index 507f15c..8b19b43 100644 --- a/src/model/FileDeleteResponse.js +++ b/src/model/FileDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The FileDeleteResponse model module. * @module model/FileDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class FileDeleteResponse { /** diff --git a/src/model/Job.js b/src/model/Job.js index 39efce4..f9f1d42 100644 --- a/src/model/Job.js +++ b/src/model/Job.js @@ -17,7 +17,7 @@ import JobStats from './JobStats'; /** * The Job model module. * @module model/Job - * @version 0.5.0 + * @version 0.6.3 */ class Job { /** diff --git a/src/model/JobCreateParameters.js b/src/model/JobCreateParameters.js index 7a98a5e..498729a 100644 --- a/src/model/JobCreateParameters.js +++ b/src/model/JobCreateParameters.js @@ -17,7 +17,7 @@ import LanguagePair from './LanguagePair'; /** * The JobCreateParameters model module. * @module model/JobCreateParameters - * @version 0.5.0 + * @version 0.6.3 */ class JobCreateParameters { /** diff --git a/src/model/JobDeleteResponse.js b/src/model/JobDeleteResponse.js index a8af367..5a9591f 100644 --- a/src/model/JobDeleteResponse.js +++ b/src/model/JobDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The JobDeleteResponse model module. * @module model/JobDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class JobDeleteResponse { /** diff --git a/src/model/JobLeverageStats.js b/src/model/JobLeverageStats.js index 5d828a6..c087be4 100644 --- a/src/model/JobLeverageStats.js +++ b/src/model/JobLeverageStats.js @@ -17,7 +17,7 @@ import ProjectStats from './ProjectStats'; /** * The JobLeverageStats model module. * @module model/JobLeverageStats - * @version 0.5.0 + * @version 0.6.3 */ class JobLeverageStats { /** diff --git a/src/model/JobProject.js b/src/model/JobProject.js index b5dd79e..5eeeb8a 100644 --- a/src/model/JobProject.js +++ b/src/model/JobProject.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The JobProject model module. * @module model/JobProject - * @version 0.5.0 + * @version 0.6.3 */ class JobProject { /** diff --git a/src/model/JobStats.js b/src/model/JobStats.js index 3d84844..2022324 100644 --- a/src/model/JobStats.js +++ b/src/model/JobStats.js @@ -17,7 +17,7 @@ import JobProject from './JobProject'; /** * The JobStats model module. * @module model/JobStats - * @version 0.5.0 + * @version 0.6.3 */ class JobStats { /** diff --git a/src/model/JobUpdateParameters.js b/src/model/JobUpdateParameters.js index 167e78d..b87b0f4 100644 --- a/src/model/JobUpdateParameters.js +++ b/src/model/JobUpdateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The JobUpdateParameters model module. * @module model/JobUpdateParameters - * @version 0.5.0 + * @version 0.6.3 */ class JobUpdateParameters { /** diff --git a/src/model/LanguagePair.js b/src/model/LanguagePair.js index c1042ac..d2c90d8 100644 --- a/src/model/LanguagePair.js +++ b/src/model/LanguagePair.js @@ -17,7 +17,7 @@ import WorkflowStageAssignment from './WorkflowStageAssignment'; /** * The LanguagePair model module. * @module model/LanguagePair - * @version 0.5.0 + * @version 0.6.3 */ class LanguagePair { /** diff --git a/src/model/LanguagesResponse.js b/src/model/LanguagesResponse.js index 56c055d..0b86f82 100644 --- a/src/model/LanguagesResponse.js +++ b/src/model/LanguagesResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The LanguagesResponse model module. * @module model/LanguagesResponse - * @version 0.5.0 + * @version 0.6.3 */ class LanguagesResponse { /** diff --git a/src/model/LexiconEntry.js b/src/model/LexiconEntry.js index 7867255..21e3d4d 100644 --- a/src/model/LexiconEntry.js +++ b/src/model/LexiconEntry.js @@ -18,7 +18,7 @@ import LexiconEntryTranslations from './LexiconEntryTranslations'; /** * The LexiconEntry model module. * @module model/LexiconEntry - * @version 0.5.0 + * @version 0.6.3 */ class LexiconEntry { /** diff --git a/src/model/LexiconEntryExamples.js b/src/model/LexiconEntryExamples.js index 32ab889..82901a8 100644 --- a/src/model/LexiconEntryExamples.js +++ b/src/model/LexiconEntryExamples.js @@ -18,7 +18,7 @@ import LexiconEntryTargetSpan from './LexiconEntryTargetSpan'; /** * The LexiconEntryExamples model module. * @module model/LexiconEntryExamples - * @version 0.5.0 + * @version 0.6.3 */ class LexiconEntryExamples { /** diff --git a/src/model/LexiconEntrySourceSpan.js b/src/model/LexiconEntrySourceSpan.js index a44f832..e576c04 100644 --- a/src/model/LexiconEntrySourceSpan.js +++ b/src/model/LexiconEntrySourceSpan.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The LexiconEntrySourceSpan model module. * @module model/LexiconEntrySourceSpan - * @version 0.5.0 + * @version 0.6.3 */ class LexiconEntrySourceSpan { /** diff --git a/src/model/LexiconEntryTargetSpan.js b/src/model/LexiconEntryTargetSpan.js index 394e1ba..06772ad 100644 --- a/src/model/LexiconEntryTargetSpan.js +++ b/src/model/LexiconEntryTargetSpan.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The LexiconEntryTargetSpan model module. * @module model/LexiconEntryTargetSpan - * @version 0.5.0 + * @version 0.6.3 */ class LexiconEntryTargetSpan { /** diff --git a/src/model/LexiconEntryTranslations.js b/src/model/LexiconEntryTranslations.js index bfa9d30..a54d50c 100644 --- a/src/model/LexiconEntryTranslations.js +++ b/src/model/LexiconEntryTranslations.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The LexiconEntryTranslations model module. * @module model/LexiconEntryTranslations - * @version 0.5.0 + * @version 0.6.3 */ class LexiconEntryTranslations { /** diff --git a/src/model/LexiconUpdateParameters.js b/src/model/LexiconUpdateParameters.js index 71a88e8..8f56833 100644 --- a/src/model/LexiconUpdateParameters.js +++ b/src/model/LexiconUpdateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The LexiconUpdateParameters model module. * @module model/LexiconUpdateParameters - * @version 0.5.0 + * @version 0.6.3 */ class LexiconUpdateParameters { /** diff --git a/src/model/LexiconUpdateResponse.js b/src/model/LexiconUpdateResponse.js index 8d3fe23..3faf63c 100644 --- a/src/model/LexiconUpdateResponse.js +++ b/src/model/LexiconUpdateResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The LexiconUpdateResponse model module. * @module model/LexiconUpdateResponse - * @version 0.5.0 + * @version 0.6.3 */ class LexiconUpdateResponse { /** diff --git a/src/model/MatchBand.js b/src/model/MatchBand.js index 103166b..e9cec85 100644 --- a/src/model/MatchBand.js +++ b/src/model/MatchBand.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MatchBand model module. * @module model/MatchBand - * @version 0.5.0 + * @version 0.6.3 */ class MatchBand { /** diff --git a/src/model/Memory.js b/src/model/Memory.js index fa9e5ed..d6fc869 100644 --- a/src/model/Memory.js +++ b/src/model/Memory.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Memory model module. * @module model/Memory - * @version 0.5.0 + * @version 0.6.3 */ class Memory { /** diff --git a/src/model/MemoryCreateParameters.js b/src/model/MemoryCreateParameters.js index 1c77b55..d0f17eb 100644 --- a/src/model/MemoryCreateParameters.js +++ b/src/model/MemoryCreateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MemoryCreateParameters model module. * @module model/MemoryCreateParameters - * @version 0.5.0 + * @version 0.6.3 */ class MemoryCreateParameters { /** diff --git a/src/model/MemoryDeleteResponse.js b/src/model/MemoryDeleteResponse.js index e562be3..dc774c0 100644 --- a/src/model/MemoryDeleteResponse.js +++ b/src/model/MemoryDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MemoryDeleteResponse model module. * @module model/MemoryDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class MemoryDeleteResponse { /** diff --git a/src/model/MemoryImportResponse.js b/src/model/MemoryImportResponse.js index a446b5b..e3c7046 100644 --- a/src/model/MemoryImportResponse.js +++ b/src/model/MemoryImportResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MemoryImportResponse model module. * @module model/MemoryImportResponse - * @version 0.5.0 + * @version 0.6.3 */ class MemoryImportResponse { /** diff --git a/src/model/MemoryInsertResponse.js b/src/model/MemoryInsertResponse.js index 88e9841..8ce57e4 100644 --- a/src/model/MemoryInsertResponse.js +++ b/src/model/MemoryInsertResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MemoryInsertResponse model module. * @module model/MemoryInsertResponse - * @version 0.5.0 + * @version 0.6.3 */ class MemoryInsertResponse { /** diff --git a/src/model/MemoryUpdateParameters.js b/src/model/MemoryUpdateParameters.js index 58f737a..7c3016a 100644 --- a/src/model/MemoryUpdateParameters.js +++ b/src/model/MemoryUpdateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MemoryUpdateParameters model module. * @module model/MemoryUpdateParameters - * @version 0.5.0 + * @version 0.6.3 */ class MemoryUpdateParameters { /** diff --git a/src/model/MemoryUpdateResponse.js b/src/model/MemoryUpdateResponse.js index 5ffa0da..d03f10c 100644 --- a/src/model/MemoryUpdateResponse.js +++ b/src/model/MemoryUpdateResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The MemoryUpdateResponse model module. * @module model/MemoryUpdateResponse - * @version 0.5.0 + * @version 0.6.3 */ class MemoryUpdateResponse { /** diff --git a/src/model/NextWorkflowTask.js b/src/model/NextWorkflowTask.js index 14c8cfd..0c35ac9 100644 --- a/src/model/NextWorkflowTask.js +++ b/src/model/NextWorkflowTask.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The NextWorkflowTask model module. * @module model/NextWorkflowTask - * @version 0.5.0 + * @version 0.6.3 */ class NextWorkflowTask { /** diff --git a/src/model/Project.js b/src/model/Project.js index a3762e0..13cc32f 100644 --- a/src/model/Project.js +++ b/src/model/Project.js @@ -17,7 +17,7 @@ import DocumentWithoutSegments from './DocumentWithoutSegments'; /** * The Project model module. * @module model/Project - * @version 0.5.0 + * @version 0.6.3 */ class Project { /** diff --git a/src/model/ProjectCreateParameters.js b/src/model/ProjectCreateParameters.js index 5729209..b2ef87f 100644 --- a/src/model/ProjectCreateParameters.js +++ b/src/model/ProjectCreateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ProjectCreateParameters model module. * @module model/ProjectCreateParameters - * @version 0.5.0 + * @version 0.6.3 */ class ProjectCreateParameters { /** diff --git a/src/model/ProjectDeleteResponse.js b/src/model/ProjectDeleteResponse.js index caab369..1843577 100644 --- a/src/model/ProjectDeleteResponse.js +++ b/src/model/ProjectDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ProjectDeleteResponse model module. * @module model/ProjectDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class ProjectDeleteResponse { /** diff --git a/src/model/ProjectQuote.js b/src/model/ProjectQuote.js index cade2b8..60268d6 100644 --- a/src/model/ProjectQuote.js +++ b/src/model/ProjectQuote.js @@ -18,7 +18,7 @@ import MatchBand from './MatchBand'; /** * The ProjectQuote model module. * @module model/ProjectQuote - * @version 0.5.0 + * @version 0.6.3 */ class ProjectQuote { /** diff --git a/src/model/ProjectStats.js b/src/model/ProjectStats.js index 728fb19..333d25e 100644 --- a/src/model/ProjectStats.js +++ b/src/model/ProjectStats.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ProjectStats model module. * @module model/ProjectStats - * @version 0.5.0 + * @version 0.6.3 */ class ProjectStats { /** diff --git a/src/model/ProjectStatus.js b/src/model/ProjectStatus.js index fa006cb..0eec1e1 100644 --- a/src/model/ProjectStatus.js +++ b/src/model/ProjectStatus.js @@ -17,7 +17,7 @@ import ResourceStatus from './ResourceStatus'; /** * The ProjectStatus model module. * @module model/ProjectStatus - * @version 0.5.0 + * @version 0.6.3 */ class ProjectStatus { /** diff --git a/src/model/ProjectUpdateResponse.js b/src/model/ProjectUpdateResponse.js index 6aa0b70..513f760 100644 --- a/src/model/ProjectUpdateResponse.js +++ b/src/model/ProjectUpdateResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ProjectUpdateResponse model module. * @module model/ProjectUpdateResponse - * @version 0.5.0 + * @version 0.6.3 */ class ProjectUpdateResponse { /** diff --git a/src/model/ProjectsToDeliver.js b/src/model/ProjectsToDeliver.js index e69c6fb..b1fa75f 100644 --- a/src/model/ProjectsToDeliver.js +++ b/src/model/ProjectsToDeliver.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ProjectsToDeliver model module. * @module model/ProjectsToDeliver - * @version 0.5.0 + * @version 0.6.3 */ class ProjectsToDeliver { /** diff --git a/src/model/ProjectsToUpdate.js b/src/model/ProjectsToUpdate.js index 53b402a..b533100 100644 --- a/src/model/ProjectsToUpdate.js +++ b/src/model/ProjectsToUpdate.js @@ -17,7 +17,7 @@ import ProjectUpdateResponse from './ProjectUpdateResponse'; /** * The ProjectsToUpdate model module. * @module model/ProjectsToUpdate - * @version 0.5.0 + * @version 0.6.3 */ class ProjectsToUpdate { /** diff --git a/src/model/QARuleMatches.js b/src/model/QARuleMatches.js index c678061..5617867 100644 --- a/src/model/QARuleMatches.js +++ b/src/model/QARuleMatches.js @@ -18,7 +18,7 @@ import QARuleMatchesMatches from './QARuleMatchesMatches'; /** * The QARuleMatches model module. * @module model/QARuleMatches - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatches { /** diff --git a/src/model/QARuleMatchesContext.js b/src/model/QARuleMatchesContext.js index b9794cf..8d38f86 100644 --- a/src/model/QARuleMatchesContext.js +++ b/src/model/QARuleMatchesContext.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The QARuleMatchesContext model module. * @module model/QARuleMatchesContext - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesContext { /** diff --git a/src/model/QARuleMatchesCustomRules.js b/src/model/QARuleMatchesCustomRules.js index 7bb9aae..c23bcd8 100644 --- a/src/model/QARuleMatchesCustomRules.js +++ b/src/model/QARuleMatchesCustomRules.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The QARuleMatchesCustomRules model module. * @module model/QARuleMatchesCustomRules - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesCustomRules { /** diff --git a/src/model/QARuleMatchesMatches.js b/src/model/QARuleMatchesMatches.js index d706ce0..9b9f058 100644 --- a/src/model/QARuleMatchesMatches.js +++ b/src/model/QARuleMatchesMatches.js @@ -19,7 +19,7 @@ import QARuleMatchesRule from './QARuleMatchesRule'; /** * The QARuleMatchesMatches model module. * @module model/QARuleMatchesMatches - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesMatches { /** diff --git a/src/model/QARuleMatchesReplacements.js b/src/model/QARuleMatchesReplacements.js index 38b75ae..428c1ab 100644 --- a/src/model/QARuleMatchesReplacements.js +++ b/src/model/QARuleMatchesReplacements.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The QARuleMatchesReplacements model module. * @module model/QARuleMatchesReplacements - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesReplacements { /** diff --git a/src/model/QARuleMatchesRule.js b/src/model/QARuleMatchesRule.js index 2a83dbf..179ff71 100644 --- a/src/model/QARuleMatchesRule.js +++ b/src/model/QARuleMatchesRule.js @@ -18,7 +18,7 @@ import QARuleMatchesRuleUrls from './QARuleMatchesRuleUrls'; /** * The QARuleMatchesRule model module. * @module model/QARuleMatchesRule - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesRule { /** diff --git a/src/model/QARuleMatchesRuleCategory.js b/src/model/QARuleMatchesRuleCategory.js index 45c1308..bbb825c 100644 --- a/src/model/QARuleMatchesRuleCategory.js +++ b/src/model/QARuleMatchesRuleCategory.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The QARuleMatchesRuleCategory model module. * @module model/QARuleMatchesRuleCategory - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesRuleCategory { /** diff --git a/src/model/QARuleMatchesRuleUrls.js b/src/model/QARuleMatchesRuleUrls.js index 7ddf271..fc1e30a 100644 --- a/src/model/QARuleMatchesRuleUrls.js +++ b/src/model/QARuleMatchesRuleUrls.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The QARuleMatchesRuleUrls model module. * @module model/QARuleMatchesRuleUrls - * @version 0.5.0 + * @version 0.6.3 */ class QARuleMatchesRuleUrls { /** diff --git a/src/model/ResourceStatus.js b/src/model/ResourceStatus.js index 76100b9..0bacb77 100644 --- a/src/model/ResourceStatus.js +++ b/src/model/ResourceStatus.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ResourceStatus model module. * @module model/ResourceStatus - * @version 0.5.0 + * @version 0.6.3 */ class ResourceStatus { /** diff --git a/src/model/ReviewCompletionTypeError.js b/src/model/ReviewCompletionTypeError.js index 0d25f28..861c3bc 100644 --- a/src/model/ReviewCompletionTypeError.js +++ b/src/model/ReviewCompletionTypeError.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The ReviewCompletionTypeError model module. * @module model/ReviewCompletionTypeError - * @version 0.5.0 + * @version 0.6.3 */ class ReviewCompletionTypeError { /** diff --git a/src/model/SDLXLIFFFilter.js b/src/model/SDLXLIFFFilter.js new file mode 100644 index 0000000..310e5f8 --- /dev/null +++ b/src/model/SDLXLIFFFilter.js @@ -0,0 +1,131 @@ +/** + * Lilt REST API + * The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request. + * + * The version of the OpenAPI document: v2.0 + * Contact: support@lilt.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +import ApiClient from '../ApiClient'; + +/** + * The SDLXLIFFFilter model module. + * @module model/SDLXLIFFFilter + * @version 0.6.3 + */ +class SDLXLIFFFilter { + /** + * Constructs a new SDLXLIFFFilter. + * @alias module:model/SDLXLIFFFilter + * @param confName {module:model/SDLXLIFFFilter.ConfNameEnum} the current state of the SDLXLIFF Trans Unit. + */ + constructor(confName) { + + SDLXLIFFFilter.initialize(this, confName); + } + + /** + * Initializes the fields of this object. + * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). + * Only for internal use. + */ + static initialize(obj, confName) { + obj['confName'] = confName; + } + + /** + * Constructs a SDLXLIFFFilter from a plain JavaScript object, optionally creating a new instance. + * Copies all relevant properties from data to obj if supplied or a new instance if not. + * @param {Object} data The plain JavaScript object bearing properties of interest. + * @param {module:model/SDLXLIFFFilter} obj Optional instance to populate. + * @return {module:model/SDLXLIFFFilter} The populated SDLXLIFFFilter instance. + */ + static constructFromObject(data, obj) { + if (data) { + obj = obj || new SDLXLIFFFilter(); + + if (data.hasOwnProperty('confName')) { + obj['confName'] = ApiClient.convertToType(data['confName'], 'String'); + } + if (data.hasOwnProperty('allowablePercentage')) { + obj['allowablePercentage'] = ApiClient.convertToType(data['allowablePercentage'], 'Number'); + } + if (data.hasOwnProperty('allowUnlockedSegments')) { + obj['allowUnlockedSegments'] = ApiClient.convertToType(data['allowUnlockedSegments'], 'Boolean'); + } + } + return obj; + } + + +} + +/** + * the current state of the SDLXLIFF Trans Unit. + * @member {module:model/SDLXLIFFFilter.ConfNameEnum} confName + */ +SDLXLIFFFilter.prototype['confName'] = undefined; + +/** + * This represents for the current conf_name what percentage the filter applies to. If you pass -1 it will take any value for this field and won't ignore blank values. If you pass 50, Lilt will only import Segments that have a 50 percent match or better. + * @member {Number} allowablePercentage + */ +SDLXLIFFFilter.prototype['allowablePercentage'] = undefined; + +/** + * Boolean that tells Lilt whether we should allow unlocked Segments for this conf_name. + * @member {Boolean} allowUnlockedSegments + */ +SDLXLIFFFilter.prototype['allowUnlockedSegments'] = undefined; + + + + + +/** + * Allowed values for the confName property. + * @enum {String} + * @readonly + */ +SDLXLIFFFilter['ConfNameEnum'] = { + + /** + * value: "Translated" + * @const + */ + "Translated": "Translated", + + /** + * value: "Draft" + * @const + */ + "Draft": "Draft", + + /** + * value: "ApprovedTranslation" + * @const + */ + "ApprovedTranslation": "ApprovedTranslation", + + /** + * value: "Locked" + * @const + */ + "Locked": "Locked", + + /** + * value: "SignedOff" + * @const + */ + "SignedOff": "SignedOff" +}; + + + +export default SDLXLIFFFilter; + diff --git a/src/model/Segment.js b/src/model/Segment.js index 7f67226..bb5391c 100644 --- a/src/model/Segment.js +++ b/src/model/Segment.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Segment model module. * @module model/Segment - * @version 0.5.0 + * @version 0.6.3 */ class Segment { /** diff --git a/src/model/SegmentCreateParameters.js b/src/model/SegmentCreateParameters.js index 9ca9925..2f6171e 100644 --- a/src/model/SegmentCreateParameters.js +++ b/src/model/SegmentCreateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SegmentCreateParameters model module. * @module model/SegmentCreateParameters - * @version 0.5.0 + * @version 0.6.3 */ class SegmentCreateParameters { /** diff --git a/src/model/SegmentDeleteResponse.js b/src/model/SegmentDeleteResponse.js index 655a947..ec2083d 100644 --- a/src/model/SegmentDeleteResponse.js +++ b/src/model/SegmentDeleteResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SegmentDeleteResponse model module. * @module model/SegmentDeleteResponse - * @version 0.5.0 + * @version 0.6.3 */ class SegmentDeleteResponse { /** diff --git a/src/model/SegmentDoneResponse.js b/src/model/SegmentDoneResponse.js index deb8d31..8b002fc 100644 --- a/src/model/SegmentDoneResponse.js +++ b/src/model/SegmentDoneResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SegmentDoneResponse model module. * @module model/SegmentDoneResponse - * @version 0.5.0 + * @version 0.6.3 */ class SegmentDoneResponse { /** diff --git a/src/model/SegmentUpdateParameters.js b/src/model/SegmentUpdateParameters.js index 67850ee..1981346 100644 --- a/src/model/SegmentUpdateParameters.js +++ b/src/model/SegmentUpdateParameters.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SegmentUpdateParameters model module. * @module model/SegmentUpdateParameters - * @version 0.5.0 + * @version 0.6.3 */ class SegmentUpdateParameters { /** diff --git a/src/model/SegmentWithComments.js b/src/model/SegmentWithComments.js index fb71d54..b25110f 100644 --- a/src/model/SegmentWithComments.js +++ b/src/model/SegmentWithComments.js @@ -17,7 +17,7 @@ import Comment from './Comment'; /** * The SegmentWithComments model module. * @module model/SegmentWithComments - * @version 0.5.0 + * @version 0.6.3 */ class SegmentWithComments { /** diff --git a/src/model/SetDocumentStageRequest.js b/src/model/SetDocumentStageRequest.js index 411ff9f..a5bc7ac 100644 --- a/src/model/SetDocumentStageRequest.js +++ b/src/model/SetDocumentStageRequest.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SetDocumentStageRequest model module. * @module model/SetDocumentStageRequest - * @version 0.5.0 + * @version 0.6.3 */ class SetDocumentStageRequest { /** diff --git a/src/model/Setting.js b/src/model/Setting.js index 5ded71c..d7b19b7 100644 --- a/src/model/Setting.js +++ b/src/model/Setting.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Setting model module. * @module model/Setting - * @version 0.5.0 + * @version 0.6.3 */ class Setting { /** diff --git a/src/model/SettingUpsertBody.js b/src/model/SettingUpsertBody.js index 6d7c3b3..ae610ad 100644 --- a/src/model/SettingUpsertBody.js +++ b/src/model/SettingUpsertBody.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SettingUpsertBody model module. * @module model/SettingUpsertBody - * @version 0.5.0 + * @version 0.6.3 */ class SettingUpsertBody { /** diff --git a/src/model/SettingUpsertResponse.js b/src/model/SettingUpsertResponse.js index bde347b..6a35a40 100644 --- a/src/model/SettingUpsertResponse.js +++ b/src/model/SettingUpsertResponse.js @@ -17,7 +17,7 @@ import Setting from './Setting'; /** * The SettingUpsertResponse model module. * @module model/SettingUpsertResponse - * @version 0.5.0 + * @version 0.6.3 */ class SettingUpsertResponse { /** diff --git a/src/model/SourceFile.js b/src/model/SourceFile.js index c10d192..16c0a7d 100644 --- a/src/model/SourceFile.js +++ b/src/model/SourceFile.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The SourceFile model module. * @module model/SourceFile - * @version 0.5.0 + * @version 0.6.3 */ class SourceFile { /** diff --git a/src/model/TaggedSegment.js b/src/model/TaggedSegment.js index 6b5bc17..62faf53 100644 --- a/src/model/TaggedSegment.js +++ b/src/model/TaggedSegment.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TaggedSegment model module. * @module model/TaggedSegment - * @version 0.5.0 + * @version 0.6.3 */ class TaggedSegment { /** diff --git a/src/model/TranslateCompletionTypeError.js b/src/model/TranslateCompletionTypeError.js index 9318e4c..f2664a8 100644 --- a/src/model/TranslateCompletionTypeError.js +++ b/src/model/TranslateCompletionTypeError.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TranslateCompletionTypeError model module. * @module model/TranslateCompletionTypeError - * @version 0.5.0 + * @version 0.6.3 */ class TranslateCompletionTypeError { /** diff --git a/src/model/TranslateRegisterResponse.js b/src/model/TranslateRegisterResponse.js index 1dda6b3..494e55d 100644 --- a/src/model/TranslateRegisterResponse.js +++ b/src/model/TranslateRegisterResponse.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TranslateRegisterResponse model module. * @module model/TranslateRegisterResponse - * @version 0.5.0 + * @version 0.6.3 */ class TranslateRegisterResponse { /** diff --git a/src/model/TranslateSegmentBody.js b/src/model/TranslateSegmentBody.js index 37fbd43..5a796fd 100644 --- a/src/model/TranslateSegmentBody.js +++ b/src/model/TranslateSegmentBody.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TranslateSegmentBody model module. * @module model/TranslateSegmentBody - * @version 0.5.0 + * @version 0.6.3 */ class TranslateSegmentBody { /** diff --git a/src/model/TranslateSegmentBody1.js b/src/model/TranslateSegmentBody1.js index b568354..e3cd215 100644 --- a/src/model/TranslateSegmentBody1.js +++ b/src/model/TranslateSegmentBody1.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TranslateSegmentBody1 model module. * @module model/TranslateSegmentBody1 - * @version 0.5.0 + * @version 0.6.3 */ class TranslateSegmentBody1 { /** diff --git a/src/model/Translation.js b/src/model/Translation.js index 8ff80a9..3a723e9 100644 --- a/src/model/Translation.js +++ b/src/model/Translation.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The Translation model module. * @module model/Translation - * @version 0.5.0 + * @version 0.6.3 */ class Translation { /** diff --git a/src/model/TranslationInfo.js b/src/model/TranslationInfo.js index db6ae4f..f239a66 100644 --- a/src/model/TranslationInfo.js +++ b/src/model/TranslationInfo.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TranslationInfo model module. * @module model/TranslationInfo - * @version 0.5.0 + * @version 0.6.3 */ class TranslationInfo { /** diff --git a/src/model/TranslationList.js b/src/model/TranslationList.js index 0a17491..6a5abeb 100644 --- a/src/model/TranslationList.js +++ b/src/model/TranslationList.js @@ -17,7 +17,7 @@ import Translation from './Translation'; /** * The TranslationList model module. * @module model/TranslationList - * @version 0.5.0 + * @version 0.6.3 */ class TranslationList { /** diff --git a/src/model/TranslationMemoryEntry.js b/src/model/TranslationMemoryEntry.js index d23070e..5fd27f7 100644 --- a/src/model/TranslationMemoryEntry.js +++ b/src/model/TranslationMemoryEntry.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The TranslationMemoryEntry model module. * @module model/TranslationMemoryEntry - * @version 0.5.0 + * @version 0.6.3 */ class TranslationMemoryEntry { /** diff --git a/src/model/WorkflowStage.js b/src/model/WorkflowStage.js index 793410b..6ad7009 100644 --- a/src/model/WorkflowStage.js +++ b/src/model/WorkflowStage.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The WorkflowStage model module. * @module model/WorkflowStage - * @version 0.5.0 + * @version 0.6.3 */ class WorkflowStage { /** diff --git a/src/model/WorkflowStageAssignment.js b/src/model/WorkflowStageAssignment.js index 0c0f09a..ff4b450 100644 --- a/src/model/WorkflowStageAssignment.js +++ b/src/model/WorkflowStageAssignment.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The WorkflowStageAssignment model module. * @module model/WorkflowStageAssignment - * @version 0.5.0 + * @version 0.6.3 */ class WorkflowStageAssignment { /** diff --git a/src/model/WorkflowStageTemplate.js b/src/model/WorkflowStageTemplate.js index 1ddbd2a..1169d51 100644 --- a/src/model/WorkflowStageTemplate.js +++ b/src/model/WorkflowStageTemplate.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The WorkflowStageTemplate model module. * @module model/WorkflowStageTemplate - * @version 0.5.0 + * @version 0.6.3 */ class WorkflowStageTemplate { /** diff --git a/src/model/WorkflowTask.js b/src/model/WorkflowTask.js index 0224fd8..9223c28 100644 --- a/src/model/WorkflowTask.js +++ b/src/model/WorkflowTask.js @@ -16,7 +16,7 @@ import ApiClient from '../ApiClient'; /** * The WorkflowTask model module. * @module model/WorkflowTask - * @version 0.5.0 + * @version 0.6.3 */ class WorkflowTask { /** diff --git a/src/model/WorkflowTemplate.js b/src/model/WorkflowTemplate.js index 6c4059c..55d81ea 100644 --- a/src/model/WorkflowTemplate.js +++ b/src/model/WorkflowTemplate.js @@ -17,7 +17,7 @@ import WorkflowStageTemplate from './WorkflowStageTemplate'; /** * The WorkflowTemplate model module. * @module model/WorkflowTemplate - * @version 0.5.0 + * @version 0.6.3 */ class WorkflowTemplate { /** diff --git a/test/model/SDLXLIFFFilter.spec.js b/test/model/SDLXLIFFFilter.spec.js new file mode 100644 index 0000000..f7507a7 --- /dev/null +++ b/test/model/SDLXLIFFFilter.spec.js @@ -0,0 +1,77 @@ +/** + * Lilt REST API + * The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request. + * + * The version of the OpenAPI document: v2.0 + * Contact: support@lilt.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + * + */ + +(function(root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. + define(['expect.js', process.cwd()+'/src/index'], factory); + } else if (typeof module === 'object' && module.exports) { + // CommonJS-like environments that support module.exports, like Node. + factory(require('expect.js'), require(process.cwd()+'/src/index')); + } else { + // Browser globals (root is window) + factory(root.expect, root.LiltNode); + } +}(this, function(expect, LiltNode) { + 'use strict'; + + var instance; + + beforeEach(function() { + instance = new LiltNode.SDLXLIFFFilter(); + }); + + var getProperty = function(object, getter, property) { + // Use getter method if present; otherwise, get the property directly. + if (typeof object[getter] === 'function') + return object[getter](); + else + return object[property]; + } + + var setProperty = function(object, setter, property, value) { + // Use setter method if present; otherwise, set the property directly. + if (typeof object[setter] === 'function') + object[setter](value); + else + object[property] = value; + } + + describe('SDLXLIFFFilter', function() { + it('should create an instance of SDLXLIFFFilter', function() { + // uncomment below and update the code to test SDLXLIFFFilter + //var instane = new LiltNode.SDLXLIFFFilter(); + //expect(instance).to.be.a(LiltNode.SDLXLIFFFilter); + }); + + it('should have the property confName (base name: "confName")', function() { + // uncomment below and update the code to test the property confName + //var instane = new LiltNode.SDLXLIFFFilter(); + //expect(instance).to.be(); + }); + + it('should have the property allowablePercentage (base name: "allowablePercentage")', function() { + // uncomment below and update the code to test the property allowablePercentage + //var instane = new LiltNode.SDLXLIFFFilter(); + //expect(instance).to.be(); + }); + + it('should have the property allowUnlockedSegments (base name: "allowUnlockedSegments")', function() { + // uncomment below and update the code to test the property allowUnlockedSegments + //var instane = new LiltNode.SDLXLIFFFilter(); + //expect(instance).to.be(); + }); + + }); + +}));