Skip to content

Commit e5b0bf5

Browse files
Regenerates API Bindings
1 parent 68f7395 commit e5b0bf5

File tree

75 files changed

+871
-407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+871
-407
lines changed

.openapi-generator/FILES

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ docs/DocumentsApi.md
1212
docs/Error.md
1313
docs/FileDeleteResponse.md
1414
docs/FilesApi.md
15+
docs/GetLiltCreateContentResponse.md
1516
docs/InlineResponse200.md
1617
docs/Job.md
1718
docs/JobCreateParameters.md
@@ -25,6 +26,8 @@ docs/LanguagePair.md
2526
docs/LanguagesApi.md
2627
docs/LanguagesResponse.md
2728
docs/LiltCreateContent.md
29+
docs/LiltCreateContentPreferences.md
30+
docs/LiltCreateContentTemplateParams.md
2831
docs/MemoriesApi.md
2932
docs/Memory.md
3033
docs/MemoryCreateParameters.md
@@ -83,6 +86,7 @@ src/main/java/com/lilt/client/model/DocumentWithoutSegments.java
8386
src/main/java/com/lilt/client/model/DocumentWithoutSegmentsStatus.java
8487
src/main/java/com/lilt/client/model/Error.java
8588
src/main/java/com/lilt/client/model/FileDeleteResponse.java
89+
src/main/java/com/lilt/client/model/GetLiltCreateContentResponse.java
8690
src/main/java/com/lilt/client/model/InlineResponse200.java
8791
src/main/java/com/lilt/client/model/Job.java
8892
src/main/java/com/lilt/client/model/JobCreateParameters.java
@@ -94,6 +98,8 @@ src/main/java/com/lilt/client/model/JobUpdateParameters.java
9498
src/main/java/com/lilt/client/model/LanguagePair.java
9599
src/main/java/com/lilt/client/model/LanguagesResponse.java
96100
src/main/java/com/lilt/client/model/LiltCreateContent.java
101+
src/main/java/com/lilt/client/model/LiltCreateContentPreferences.java
102+
src/main/java/com/lilt/client/model/LiltCreateContentTemplateParams.java
97103
src/main/java/com/lilt/client/model/Memory.java
98104
src/main/java/com/lilt/client/model/MemoryCreateParameters.java
99105
src/main/java/com/lilt/client/model/MemoryDeleteResponse.java

README.md

+11-7
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
Lilt REST API
44
- API version: v3.0
5-
- Build date: 2024-07-22T00:19:36.591Z[GMT]
5+
- Build date: 2024-09-25T18:19:41.715Z[GMT]
66

7+
Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals
78
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
89
* Training of and translating with interactive, adaptive machine translation
910
* Large-scale translation memory
1011
* The Lexicon (a large-scale termbase)
1112
* Programmatic control of the Lilt CAT environment
1213
* Translation memory synchronization
1314

14-
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
15+
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
16+
The base url for this REST API is `https://api.lilt.com/`.
1517

1618
## Authentication
1719

@@ -26,7 +28,6 @@ For development, you may also pass the REST API key via the `key` query paramete
2628
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.
2729

2830

29-
For more information, please visit [https://developers.lilt.com/](https://developers.lilt.com/)
3031

3132
*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
3233

@@ -61,7 +62,7 @@ Add this dependency to your project's POM:
6162
<dependency>
6263
<groupId>org.openapitools</groupId>
6364
<artifactId>openapi-java-client</artifactId>
64-
<version>2.2.0</version>
65+
<version>3.0.0</version>
6566
<scope>compile</scope>
6667
</dependency>
6768
```
@@ -71,7 +72,7 @@ Add this dependency to your project's POM:
7172
Add this dependency to your project's build file:
7273

7374
```groovy
74-
compile "org.openapitools:openapi-java-client:2.2.0"
75+
compile "org.openapitools:openapi-java-client:3.0.0"
7576
```
7677

7778
### Others
@@ -84,7 +85,7 @@ mvn clean package
8485

8586
Then manually install the following JARs:
8687

87-
* `target/openapi-java-client-2.2.0.jar`
88+
* `target/openapi-java-client-3.0.0.jar`
8889
* `target/lib/*.jar`
8990

9091
## Getting Started
@@ -198,6 +199,7 @@ Class | Method | HTTP request | Description
198199
- [DocumentWithoutSegmentsStatus](docs/DocumentWithoutSegmentsStatus.md)
199200
- [Error](docs/Error.md)
200201
- [FileDeleteResponse](docs/FileDeleteResponse.md)
202+
- [GetLiltCreateContentResponse](docs/GetLiltCreateContentResponse.md)
201203
- [InlineResponse200](docs/InlineResponse200.md)
202204
- [Job](docs/Job.md)
203205
- [JobCreateParameters](docs/JobCreateParameters.md)
@@ -209,6 +211,8 @@ Class | Method | HTTP request | Description
209211
- [LanguagePair](docs/LanguagePair.md)
210212
- [LanguagesResponse](docs/LanguagesResponse.md)
211213
- [LiltCreateContent](docs/LiltCreateContent.md)
214+
- [LiltCreateContentPreferences](docs/LiltCreateContentPreferences.md)
215+
- [LiltCreateContentTemplateParams](docs/LiltCreateContentTemplateParams.md)
212216
- [Memory](docs/Memory.md)
213217
- [MemoryCreateParameters](docs/MemoryCreateParameters.md)
214218
- [MemoryDeleteResponse](docs/MemoryDeleteResponse.md)
@@ -251,5 +255,5 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
251255

252256
## Author
253257

254-
support@lilt.com
258+
255259

api/openapi.yaml

+116-56
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,25 @@
11
openapi: 3.0.1
22
info:
3-
contact:
4-
email: support@lilt.com
5-
name: Lilt REST API Support
6-
url: https://developers.lilt.com/
7-
description: |
8-
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
9-
* Training of and translating with interactive, adaptive machine translation
10-
* Large-scale translation memory
11-
* The Lexicon (a large-scale termbase)
12-
* Programmatic control of the Lilt CAT environment
13-
* Translation memory synchronization
14-
15-
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
16-
17-
## Authentication
18-
19-
Requests are authenticated via REST API key, which requires the Business plan.
20-
21-
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`.
22-
23-
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.
24-
25-
## Quotas
26-
27-
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.
3+
description: "Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals\
4+
\ \nThe Lilt REST API enables programmatic access to the full-range of Lilt\
5+
\ backend services including:\n * Training of and translating with interactive,\
6+
\ adaptive machine translation\n * Large-scale translation memory\n * The Lexicon\
7+
\ (a large-scale termbase)\n * Programmatic control of the Lilt CAT environment\n\
8+
\ * Translation memory synchronization\n\nRequests and responses are in JSON\
9+
\ format. The REST API only responds to HTTPS / SSL requests. \nThe base url for\
10+
\ this REST API is `https://api.lilt.com/`.\n\n## Authentication\n\nRequests are\
11+
\ authenticated via REST API key, which requires the Business plan.\n\nRequests\
12+
\ are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication).\
13+
\ Add your REST API key as both the `username` and `password`.\n\nFor development,\
14+
\ you may also pass the REST API key via the `key` query parameter. This is less\
15+
\ secure than HTTP Basic Auth, and is not recommended for production use.\n\n\
16+
## Quotas\n\nOur services have a general quota of 4000 requests per minute. Should\
17+
\ you hit the maximum requests per minute, you will need to wait 60 seconds before\
18+
\ you can send another request.\n"
2819
title: Lilt REST API
2920
version: v3.0
3021
servers:
31-
- url: https://api.lilt.com/
22+
- url: https://api.lilt.com
3223
security:
3324
- ApiKeyAuth: []
3425
- BasicAuth: []
@@ -658,8 +649,12 @@ paths:
658649
content:
659650
application/json:
660651
schema:
661-
$ref: '#/components/schemas/TranslationInfo'
662-
description: Translation info
652+
description: List of TranslationInfo objects
653+
items:
654+
$ref: '#/components/schemas/TranslationInfo'
655+
title: monitorFileTranslationResponse
656+
type: array
657+
description: Translation Info
663658
default:
664659
content:
665660
application/json:
@@ -720,8 +715,12 @@ paths:
720715
content:
721716
application/json:
722717
schema:
723-
$ref: '#/components/schemas/TranslationInfo'
724-
description: Translation info
718+
description: List of TranslationInfo objects
719+
items:
720+
$ref: '#/components/schemas/TranslationInfo'
721+
title: batchTranslateFileResponse
722+
type: array
723+
description: Translation Info
725724
default:
726725
content:
727726
application/json:
@@ -828,9 +827,7 @@ paths:
828827
content:
829828
application/json:
830829
schema:
831-
items:
832-
$ref: '#/components/schemas/LiltCreateContent'
833-
type: array
830+
$ref: '#/components/schemas/getLiltCreateContentResponse'
834831
description: An object with a documents next task Workflow metadata.
835832
summary: Get Lilt Create content
836833
tags:
@@ -2789,35 +2786,31 @@ components:
27892786
description: |
27902787
Content Parameters for LiltCreate.
27912788
example:
2792-
summary: summary
2793-
tone: tone
2794-
terms: terms
2789+
template: template
2790+
preferences:
2791+
styleguide: styleguide
2792+
tone: tone
2793+
templateParams:
2794+
summary: summary
2795+
contentLength: 0
2796+
language: language
2797+
sections: sections
27952798
language: language
2796-
memoryId: memoryId
2797-
sections:
2798-
- sections
2799-
- sections
28002799
properties:
2801-
tone:
2802-
description: The tone of the content.
2803-
type: string
2804-
terms:
2805-
description: The terms of the content.
2806-
type: string
2807-
summary:
2808-
description: The summary of the content.
2809-
type: string
28102800
language:
28112801
description: The language of the content.
28122802
type: string
2813-
memoryId:
2814-
description: The memory ID of the content.
2803+
template:
2804+
description: The template of the content.
28152805
type: string
2816-
sections:
2817-
description: The sections of the content.
2818-
items:
2819-
type: string
2820-
type: array
2806+
templateParams:
2807+
$ref: '#/components/schemas/LiltCreateContent_templateParams'
2808+
preferences:
2809+
$ref: '#/components/schemas/LiltCreateContent_preferences'
2810+
required:
2811+
- language
2812+
- template
2813+
- templateParams
28212814
type: object
28222815
JobProject:
28232816
description: |
@@ -4016,6 +4009,37 @@ components:
40164009
type: boolean
40174010
title: signLiltCreateTermsResponse
40184011
type: object
4012+
getLiltCreateContentResponse:
4013+
example:
4014+
contents:
4015+
- template: template
4016+
preferences:
4017+
styleguide: styleguide
4018+
tone: tone
4019+
templateParams:
4020+
summary: summary
4021+
contentLength: 0
4022+
language: language
4023+
sections: sections
4024+
language: language
4025+
- template: template
4026+
preferences:
4027+
styleguide: styleguide
4028+
tone: tone
4029+
templateParams:
4030+
summary: summary
4031+
contentLength: 0
4032+
language: language
4033+
sections: sections
4034+
language: language
4035+
properties:
4036+
contents:
4037+
description: List of LiltCreateContent objects
4038+
items:
4039+
$ref: '#/components/schemas/LiltCreateContent'
4040+
type: array
4041+
title: getLiltCreateContentResponse
4042+
type: object
40194043
inline_response_200:
40204044
example:
40214045
id: 0
@@ -4266,6 +4290,42 @@ components:
42664290
type: string
42674291
title: AddFileLabelRequest
42684292
type: object
4293+
LiltCreateContent_templateParams:
4294+
description: The template parameters of the content.
4295+
example:
4296+
summary: summary
4297+
contentLength: 0
4298+
language: language
4299+
sections: sections
4300+
properties:
4301+
contentLength:
4302+
description: The length of the content.
4303+
type: integer
4304+
language:
4305+
description: The language of the content.
4306+
type: string
4307+
sections:
4308+
description: The section of the content.
4309+
type: string
4310+
summary:
4311+
description: The summary of the content.
4312+
type: string
4313+
required:
4314+
- language
4315+
type: object
4316+
LiltCreateContent_preferences:
4317+
description: The preferences of the content.
4318+
example:
4319+
styleguide: styleguide
4320+
tone: tone
4321+
properties:
4322+
tone:
4323+
description: The tone of the content.
4324+
type: string
4325+
styleguide:
4326+
description: The styleguide of the content.
4327+
type: string
4328+
type: object
42694329
DocumentWithoutSegments_status:
42704330
description: A list of translations for the query term.
42714331
example:

docs/CreateApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Name | Type | Description | Notes
238238

239239
<a name="getLiltCreateContent"></a>
240240
# **getLiltCreateContent**
241-
> List&lt;LiltCreateContent&gt; getLiltCreateContent()
241+
> GetLiltCreateContentResponse getLiltCreateContent()
242242
243243
Get Lilt Create content
244244

@@ -272,7 +272,7 @@ public class Example {
272272

273273
CreateApi apiInstance = new CreateApi(defaultClient);
274274
try {
275-
List<LiltCreateContent> result = apiInstance.getLiltCreateContent();
275+
GetLiltCreateContentResponse result = apiInstance.getLiltCreateContent();
276276
System.out.println(result);
277277
} catch (ApiException e) {
278278
System.err.println("Exception when calling CreateApi#getLiltCreateContent");
@@ -290,7 +290,7 @@ This endpoint does not need any parameter.
290290

291291
### Return type
292292

293-
[**List&lt;LiltCreateContent&gt;**](LiltCreateContent.md)
293+
[**GetLiltCreateContentResponse**](GetLiltCreateContentResponse.md)
294294

295295
### Authorization
296296

docs/GetLiltCreateContentResponse.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
3+
# GetLiltCreateContentResponse
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**contents** | [**List&lt;LiltCreateContent&gt;**](LiltCreateContent.md) | List of LiltCreateContent objects | [optional]
10+
11+
12+

docs/LiltCreateContent.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ Content Parameters for LiltCreate.
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**tone** | **String** | The tone of the content. | [optional]
11-
**terms** | **String** | The terms of the content. | [optional]
12-
**summary** | **String** | The summary of the content. | [optional]
13-
**language** | **String** | The language of the content. | [optional]
14-
**memoryId** | **String** | The memory ID of the content. | [optional]
15-
**sections** | **List&lt;String&gt;** | The sections of the content. | [optional]
10+
**language** | **String** | The language of the content. |
11+
**template** | **String** | The template of the content. |
12+
**templateParams** | [**LiltCreateContentTemplateParams**](LiltCreateContentTemplateParams.md) | |
13+
**preferences** | [**LiltCreateContentPreferences**](LiltCreateContentPreferences.md) | | [optional]
1614

1715

1816

0 commit comments

Comments
 (0)