Skip to content

Commit 0955118

Browse files
author
Phrase
committed
1 parent 24262ef commit 0955118

File tree

231 files changed

+246
-959
lines changed

Some content is hidden

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

231 files changed

+246
-959
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ docs/CommentReactionsApi.md
3636
docs/CommentRepliesApi.md
3737
docs/CommentUpdateParameters.md
3838
docs/CommentsApi.md
39-
docs/CommentsListParameters.md
4039
docs/CurrentUser.md
4140
docs/CustomMetadataApi.md
4241
docs/CustomMetadataDataType.md
@@ -190,7 +189,6 @@ docs/ReleaseTriggersApi.md
190189
docs/ReleaseUpdateParameters.md
191190
docs/ReleaseUpdateParameters1.md
192191
docs/ReleasesApi.md
193-
docs/RepliesListParameters.md
194192
docs/RepoSync.md
195193
docs/RepoSyncEvent.md
196194
docs/RepoSyncEventsApi.md
@@ -376,7 +374,6 @@ src/main/java/com/phrase/client/model/CommentCreateParameters1.java
376374
src/main/java/com/phrase/client/model/CommentMarkReadParameters.java
377375
src/main/java/com/phrase/client/model/CommentReaction.java
378376
src/main/java/com/phrase/client/model/CommentUpdateParameters.java
379-
src/main/java/com/phrase/client/model/CommentsListParameters.java
380377
src/main/java/com/phrase/client/model/CurrentUser.java
381378
src/main/java/com/phrase/client/model/CustomMetadataDataType.java
382379
src/main/java/com/phrase/client/model/CustomMetadataPropertiesCreateParameters.java
@@ -500,7 +497,6 @@ src/main/java/com/phrase/client/model/ReleasePreview.java
500497
src/main/java/com/phrase/client/model/ReleaseTrigger.java
501498
src/main/java/com/phrase/client/model/ReleaseUpdateParameters.java
502499
src/main/java/com/phrase/client/model/ReleaseUpdateParameters1.java
503-
src/main/java/com/phrase/client/model/RepliesListParameters.java
504500
src/main/java/com/phrase/client/model/RepoSync.java
505501
src/main/java/com/phrase/client/model/RepoSyncEvent.java
506502
src/main/java/com/phrase/client/model/Screenshot.java
@@ -639,7 +635,6 @@ src/test/java/com/phrase/client/model/CommentMarkReadParametersTest.java
639635
src/test/java/com/phrase/client/model/CommentReactionTest.java
640636
src/test/java/com/phrase/client/model/CommentTest.java
641637
src/test/java/com/phrase/client/model/CommentUpdateParametersTest.java
642-
src/test/java/com/phrase/client/model/CommentsListParametersTest.java
643638
src/test/java/com/phrase/client/model/CurrentUserTest.java
644639
src/test/java/com/phrase/client/model/CustomMetadataDataTypeTest.java
645640
src/test/java/com/phrase/client/model/CustomMetadataPropertiesCreateParametersTest.java
@@ -763,7 +758,6 @@ src/test/java/com/phrase/client/model/ReleaseTest.java
763758
src/test/java/com/phrase/client/model/ReleaseTriggerTest.java
764759
src/test/java/com/phrase/client/model/ReleaseUpdateParameters1Test.java
765760
src/test/java/com/phrase/client/model/ReleaseUpdateParametersTest.java
766-
src/test/java/com/phrase/client/model/RepliesListParametersTest.java
767761
src/test/java/com/phrase/client/model/RepoSyncEventTest.java
768762
src/test/java/com/phrase/client/model/RepoSyncTest.java
769763
src/test/java/com/phrase/client/model/ScreenshotMarkerCreateParametersTest.java

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,6 @@ Class | Method | HTTP request | Description
405405
- [CommentMarkReadParameters](docs/CommentMarkReadParameters.md)
406406
- [CommentReaction](docs/CommentReaction.md)
407407
- [CommentUpdateParameters](docs/CommentUpdateParameters.md)
408-
- [CommentsListParameters](docs/CommentsListParameters.md)
409408
- [CurrentUser](docs/CurrentUser.md)
410409
- [CustomMetadataDataType](docs/CustomMetadataDataType.md)
411410
- [CustomMetadataPropertiesCreateParameters](docs/CustomMetadataPropertiesCreateParameters.md)
@@ -529,7 +528,6 @@ Class | Method | HTTP request | Description
529528
- [ReleaseTrigger](docs/ReleaseTrigger.md)
530529
- [ReleaseUpdateParameters](docs/ReleaseUpdateParameters.md)
531530
- [ReleaseUpdateParameters1](docs/ReleaseUpdateParameters1.md)
532-
- [RepliesListParameters](docs/RepliesListParameters.md)
533531
- [RepoSync](docs/RepoSync.md)
534532
- [RepoSyncEvent](docs/RepoSyncEvent.md)
535533
- [Screenshot](docs/Screenshot.md)

api/openapi.yaml

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -10612,12 +10612,6 @@ paths:
1061210612
schema:
1061310613
type: string
1061410614
style: form
10615-
requestBody:
10616-
content:
10617-
application/json:
10618-
schema:
10619-
$ref: '#/components/schemas/comments_list_parameters'
10620-
required: true
1062110615
responses:
1062210616
"200":
1062310617
content:
@@ -10687,7 +10681,6 @@ paths:
1068710681
--locale_ids someId \
1068810682
--access_token <token>
1068910683
x-cli-version: "2.5"
10690-
x-content-type: application/json
1069110684
x-accepts: application/json
1069210685
post:
1069310686
description: Create a new comment for a key.
@@ -12018,12 +12011,6 @@ paths:
1201812011
schema:
1201912012
type: string
1202012013
style: form
12021-
requestBody:
12022-
content:
12023-
application/json:
12024-
schema:
12025-
$ref: '#/components/schemas/replies_list_parameters'
12026-
required: true
1202712014
responses:
1202812015
"200":
1202912016
content:
@@ -12102,7 +12089,6 @@ paths:
1210212089
--query "Some comment content" \
1210312090
--access_token <token>
1210412091
x-cli-version: "2.10"
12105-
x-content-type: application/json
1210612092
x-accepts: application/json
1210712093
post:
1210812094
description: Create a new reply for a comment.
@@ -32852,38 +32838,6 @@ components:
3285232838
type: string
3285332839
title: authorization/update/parameters
3285432840
type: object
32855-
comments_list_parameters:
32856-
properties:
32857-
branch:
32858-
description: Specify the branch to use
32859-
example: my-feature-branch
32860-
type: string
32861-
query:
32862-
description: Search query for comment messages
32863-
example: Some comment content
32864-
type: string
32865-
locale_ids:
32866-
description: Search comments by their assigned locales
32867-
example:
32868-
- someId
32869-
- otherId
32870-
items:
32871-
type: string
32872-
type: array
32873-
filters:
32874-
description: Specify filters to find comments by
32875-
example:
32876-
- read
32877-
- unread
32878-
items:
32879-
type: string
32880-
type: array
32881-
order:
32882-
description: Specify ordering of comments
32883-
example: desc
32884-
type: string
32885-
title: comments/list/parameters
32886-
type: object
3288732841
comment_create_parameters:
3288832842
properties:
3288932843
message:
@@ -32926,30 +32880,6 @@ components:
3292632880
type: string
3292732881
title: comment/mark/read/parameters
3292832882
type: object
32929-
replies_list_parameters:
32930-
properties:
32931-
branch:
32932-
description: Specify the branch to use
32933-
example: my-feature-branch
32934-
type: string
32935-
query:
32936-
description: Search query for comment messages
32937-
example: Some comment content
32938-
type: string
32939-
filters:
32940-
description: Specify filters to find comments by
32941-
example:
32942-
- read
32943-
- unread
32944-
items:
32945-
type: string
32946-
type: array
32947-
order:
32948-
description: Specify ordering of comments
32949-
example: desc
32950-
type: string
32951-
title: replies/list/parameters
32952-
type: object
3295332883
comment_create_parameters_1:
3295432884
properties:
3295532885
message:

docs/CommentRepliesApi.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414

1515
<a name="repliesList"></a>
1616
# **repliesList**
17-
> List&lt;Comment&gt; repliesList(projectId, keyId, commentId, repliesListParameters, xPhraseAppOTP, page, perPage, branch, query, filters, order)
17+
> List&lt;Comment&gt; repliesList(projectId, keyId, commentId, xPhraseAppOTP, page, perPage, branch, query, filters, order)
1818
1919
List replies
2020

@@ -49,7 +49,6 @@ public class Example {
4949
String projectId = "projectId_example"; // String | Project ID
5050
String keyId = "keyId_example"; // String | Translation Key ID
5151
String commentId = "commentId_example"; // String | Comment ID
52-
RepliesListParameters repliesListParameters = new RepliesListParameters(); // RepliesListParameters |
5352
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
5453
Integer page = 1; // Integer | Page number
5554
Integer perPage = 25; // Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default
@@ -58,7 +57,7 @@ public class Example {
5857
List<String> filters = Arrays.asList(); // List<String> | Specify the filter for the comments
5958
String order = "desc"; // String | Order direction. Can be one of: asc, desc.
6059
try {
61-
List<Comment> result = apiInstance.repliesList(projectId, keyId, commentId, repliesListParameters, xPhraseAppOTP, page, perPage, branch, query, filters, order);
60+
List<Comment> result = apiInstance.repliesList(projectId, keyId, commentId, xPhraseAppOTP, page, perPage, branch, query, filters, order);
6261
System.out.println(result);
6362
} catch (ApiException e) {
6463
System.err.println("Exception when calling CommentRepliesApi#repliesList");
@@ -78,7 +77,6 @@ Name | Type | Description | Notes
7877
**projectId** | **String**| Project ID |
7978
**keyId** | **String**| Translation Key ID |
8079
**commentId** | **String**| Comment ID |
81-
**repliesListParameters** | [**RepliesListParameters**](RepliesListParameters.md)| |
8280
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]
8381
**page** | **Integer**| Page number | [optional]
8482
**perPage** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional]
@@ -97,7 +95,7 @@ Name | Type | Description | Notes
9795

9896
### HTTP request headers
9997

100-
- **Content-Type**: application/json
98+
- **Content-Type**: Not defined
10199
- **Accept**: application/json
102100

103101
### HTTP response details

docs/CommentsApi.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ Name | Type | Description | Notes
598598

599599
<a name="commentsList"></a>
600600
# **commentsList**
601-
> List&lt;Comment&gt; commentsList(projectId, keyId, commentsListParameters, xPhraseAppOTP, page, perPage, branch, query, localeIds, filters, order)
601+
> List&lt;Comment&gt; commentsList(projectId, keyId, xPhraseAppOTP, page, perPage, branch, query, localeIds, filters, order)
602602
603603
List comments
604604

@@ -632,7 +632,6 @@ public class Example {
632632
CommentsApi apiInstance = new CommentsApi(defaultClient);
633633
String projectId = "projectId_example"; // String | Project ID
634634
String keyId = "keyId_example"; // String | Translation Key ID
635-
CommentsListParameters commentsListParameters = new CommentsListParameters(); // CommentsListParameters |
636635
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
637636
Integer page = 1; // Integer | Page number
638637
Integer perPage = 25; // Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default
@@ -642,7 +641,7 @@ public class Example {
642641
List<String> filters = Arrays.asList(); // List<String> | Specify the filter for the comments
643642
String order = "desc"; // String | Order direction. Can be one of: asc, desc.
644643
try {
645-
List<Comment> result = apiInstance.commentsList(projectId, keyId, commentsListParameters, xPhraseAppOTP, page, perPage, branch, query, localeIds, filters, order);
644+
List<Comment> result = apiInstance.commentsList(projectId, keyId, xPhraseAppOTP, page, perPage, branch, query, localeIds, filters, order);
646645
System.out.println(result);
647646
} catch (ApiException e) {
648647
System.err.println("Exception when calling CommentsApi#commentsList");
@@ -661,7 +660,6 @@ Name | Type | Description | Notes
661660
------------- | ------------- | ------------- | -------------
662661
**projectId** | **String**| Project ID |
663662
**keyId** | **String**| Translation Key ID |
664-
**commentsListParameters** | [**CommentsListParameters**](CommentsListParameters.md)| |
665663
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]
666664
**page** | **Integer**| Page number | [optional]
667665
**perPage** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional]
@@ -681,7 +679,7 @@ Name | Type | Description | Notes
681679

682680
### HTTP request headers
683681

684-
- **Content-Type**: application/json
682+
- **Content-Type**: Not defined
685683
- **Accept**: application/json
686684

687685
### HTTP response details

docs/CommentsListParameters.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/RepliesListParameters.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/main/java/com/phrase/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import java.util.Map;
1616
import java.util.List;
1717

18-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-03-06T13:03:40.363619553Z[Etc/UTC]")
18+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-03-31T08:36:18.299935511Z[Etc/UTC]")
1919
public class ApiException extends Exception {
2020
private int code = 0;
2121
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/phrase/client/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
package com.phrase.client;
1414

15-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-03-06T13:03:40.363619553Z[Etc/UTC]")
15+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-03-31T08:36:18.299935511Z[Etc/UTC]")
1616
public class Configuration {
1717
private static ApiClient defaultApiClient = new ApiClient();
1818

src/main/java/com/phrase/client/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
package com.phrase.client;
1414

15-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-03-06T13:03:40.363619553Z[Etc/UTC]")
15+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-03-31T08:36:18.299935511Z[Etc/UTC]")
1616
public class Pair {
1717
private String name = "";
1818
private String value = "";

0 commit comments

Comments
 (0)