Skip to content

Commit e629daa

Browse files
author
Phrase
committed
1 parent e60ce3f commit e629daa

File tree

222 files changed

+344
-263
lines changed

Some content is hidden

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

222 files changed

+344
-263
lines changed

api/openapi.yaml

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7862,7 +7862,7 @@ paths:
78627862
schema:
78637863
type: integer
78647864
style: form
7865-
- description: specify the branch to use
7865+
- description: Branch to use
78667866
example: my-feature-branch
78677867
explode: true
78687868
in: query
@@ -7889,7 +7889,7 @@ paths:
78897889
schema:
78907890
type: string
78917891
style: form
7892-
- description: "filter by state of job Valid states are <code>draft</code>,\
7892+
- description: "filter by state of job; valid states are: <code>draft</code>,\
78937893
\ <code>in_progress</code>, <code>completed</code>"
78947894
example: completed
78957895
explode: true
@@ -7899,6 +7899,15 @@ paths:
78997899
schema:
79007900
type: string
79017901
style: form
7902+
- description: filter by jobs updated since given date
7903+
example: 2013-02-21T00:00:00.000Z
7904+
explode: true
7905+
in: query
7906+
name: updated_since
7907+
required: false
7908+
schema:
7909+
type: string
7910+
style: form
79027911
responses:
79037912
"200":
79047913
content:
@@ -8112,7 +8121,7 @@ paths:
81128121
schema:
81138122
type: string
81148123
style: form
8115-
- description: "filter by state of job Valid states are <code>draft</code>,\
8124+
- description: "filter by state of job; valid states are: <code>draft</code>,\
81168125
\ <code>in_progress</code>, <code>completed</code>"
81178126
example: completed
81188127
explode: true
@@ -8122,6 +8131,15 @@ paths:
81228131
schema:
81238132
type: string
81248133
style: form
8134+
- description: filter by jobs updated since given date
8135+
example: 2013-02-21T00:00:00.000Z
8136+
explode: true
8137+
in: query
8138+
name: updated_since
8139+
required: false
8140+
schema:
8141+
type: string
8142+
style: form
81258143
responses:
81268144
"200":
81278145
content:
@@ -28680,6 +28698,47 @@ components:
2868028698
schema:
2868128699
type: string
2868228700
style: form
28701+
job_owner:
28702+
description: filter by user owning job
28703+
example: abcd1234cdef1234abcd1234cdef1234
28704+
explode: true
28705+
in: query
28706+
name: owned_by
28707+
required: false
28708+
schema:
28709+
type: string
28710+
style: form
28711+
job_assignee:
28712+
description: filter by user assigned to job
28713+
example: abcd1234cdef1234abcd1234cdef1234
28714+
explode: true
28715+
in: query
28716+
name: assigned_to
28717+
required: false
28718+
schema:
28719+
type: string
28720+
style: form
28721+
job_state:
28722+
description: "filter by state of job; valid states are: <code>draft</code>,\
28723+
\ <code>in_progress</code>, <code>completed</code>"
28724+
example: completed
28725+
explode: true
28726+
in: query
28727+
name: state
28728+
required: false
28729+
schema:
28730+
type: string
28731+
style: form
28732+
job_updated_since:
28733+
description: filter by jobs updated since given date
28734+
example: 2013-02-21T00:00:00.000Z
28735+
explode: true
28736+
in: query
28737+
name: updated_since
28738+
required: false
28739+
schema:
28740+
type: string
28741+
style: form
2868328742
responses:
2868428743
"200":
2868528744
description: OK

docs/JobsApi.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ Name | Type | Description | Notes
917917

918918
<a name="jobsByAccount"></a>
919919
# **jobsByAccount**
920-
> List&lt;Job&gt; jobsByAccount(accountId, xPhraseAppOTP, page, perPage, ownedBy, assignedTo, state)
920+
> List&lt;Job&gt; jobsByAccount(accountId, xPhraseAppOTP, page, perPage, ownedBy, assignedTo, state, updatedSince)
921921
922922
List account jobs
923923

@@ -955,9 +955,10 @@ public class Example {
955955
Integer perPage = 25; // Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default
956956
String ownedBy = "abcd1234cdef1234abcd1234cdef1234"; // String | filter by user owning job
957957
String assignedTo = "abcd1234cdef1234abcd1234cdef1234"; // String | filter by user assigned to job
958-
String state = "completed"; // String | filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code>
958+
String state = "completed"; // String | filter by state of job; valid states are: <code>draft</code>, <code>in_progress</code>, <code>completed</code>
959+
String updatedSince = "2013-02-21T00:00:00.000Z"; // String | filter by jobs updated since given date
959960
try {
960-
List<Job> result = apiInstance.jobsByAccount(accountId, xPhraseAppOTP, page, perPage, ownedBy, assignedTo, state);
961+
List<Job> result = apiInstance.jobsByAccount(accountId, xPhraseAppOTP, page, perPage, ownedBy, assignedTo, state, updatedSince);
961962
System.out.println(result);
962963
} catch (ApiException e) {
963964
System.err.println("Exception when calling JobsApi#jobsByAccount");
@@ -980,7 +981,8 @@ Name | Type | Description | Notes
980981
**perPage** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional]
981982
**ownedBy** | **String**| filter by user owning job | [optional]
982983
**assignedTo** | **String**| filter by user assigned to job | [optional]
983-
**state** | **String**| filter by state of job Valid states are &lt;code&gt;draft&lt;/code&gt;, &lt;code&gt;in_progress&lt;/code&gt;, &lt;code&gt;completed&lt;/code&gt; | [optional]
984+
**state** | **String**| filter by state of job; valid states are: &lt;code&gt;draft&lt;/code&gt;, &lt;code&gt;in_progress&lt;/code&gt;, &lt;code&gt;completed&lt;/code&gt; | [optional]
985+
**updatedSince** | **String**| filter by jobs updated since given date | [optional]
984986

985987
### Return type
986988

@@ -1005,7 +1007,7 @@ Name | Type | Description | Notes
10051007

10061008
<a name="jobsList"></a>
10071009
# **jobsList**
1008-
> List&lt;Job&gt; jobsList(projectId, xPhraseAppOTP, page, perPage, branch, ownedBy, assignedTo, state)
1010+
> List&lt;Job&gt; jobsList(projectId, xPhraseAppOTP, page, perPage, branch, ownedBy, assignedTo, state, updatedSince)
10091011
10101012
List jobs
10111013

@@ -1041,12 +1043,13 @@ public class Example {
10411043
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
10421044
Integer page = 1; // Integer | Page number
10431045
Integer perPage = 25; // Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default
1044-
String branch = "my-feature-branch"; // String | specify the branch to use
1046+
String branch = "my-feature-branch"; // String | Branch to use
10451047
String ownedBy = "abcd1234cdef1234abcd1234cdef1234"; // String | filter by user owning job
10461048
String assignedTo = "abcd1234cdef1234abcd1234cdef1234"; // String | filter by user assigned to job
1047-
String state = "completed"; // String | filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code>
1049+
String state = "completed"; // String | filter by state of job; valid states are: <code>draft</code>, <code>in_progress</code>, <code>completed</code>
1050+
String updatedSince = "2013-02-21T00:00:00.000Z"; // String | filter by jobs updated since given date
10481051
try {
1049-
List<Job> result = apiInstance.jobsList(projectId, xPhraseAppOTP, page, perPage, branch, ownedBy, assignedTo, state);
1052+
List<Job> result = apiInstance.jobsList(projectId, xPhraseAppOTP, page, perPage, branch, ownedBy, assignedTo, state, updatedSince);
10501053
System.out.println(result);
10511054
} catch (ApiException e) {
10521055
System.err.println("Exception when calling JobsApi#jobsList");
@@ -1067,10 +1070,11 @@ Name | Type | Description | Notes
10671070
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]
10681071
**page** | **Integer**| Page number | [optional]
10691072
**perPage** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional]
1070-
**branch** | **String**| specify the branch to use | [optional]
1073+
**branch** | **String**| Branch to use | [optional]
10711074
**ownedBy** | **String**| filter by user owning job | [optional]
10721075
**assignedTo** | **String**| filter by user assigned to job | [optional]
1073-
**state** | **String**| filter by state of job Valid states are &lt;code&gt;draft&lt;/code&gt;, &lt;code&gt;in_progress&lt;/code&gt;, &lt;code&gt;completed&lt;/code&gt; | [optional]
1076+
**state** | **String**| filter by state of job; valid states are: &lt;code&gt;draft&lt;/code&gt;, &lt;code&gt;in_progress&lt;/code&gt;, &lt;code&gt;completed&lt;/code&gt; | [optional]
1077+
**updatedSince** | **String**| filter by jobs updated since given date | [optional]
10741078

10751079
### Return type
10761080

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-02-17T14:34:37.999277883Z[Etc/UTC]")
18+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-21T13:17:47.655543194Z[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-02-17T14:34:37.999277883Z[Etc/UTC]")
15+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-21T13:17:47.655543194Z[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-02-17T14:34:37.999277883Z[Etc/UTC]")
15+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-21T13:17:47.655543194Z[Etc/UTC]")
1616
public class Pair {
1717
private String name = "";
1818
private String value = "";

src/main/java/com/phrase/client/StringUtil.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-02-17T14:34:37.999277883Z[Etc/UTC]")
15+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-02-21T13:17:47.655543194Z[Etc/UTC]")
1616
public class StringUtil {
1717
/**
1818
* Check if the given array contains the given value (with case-insensitive comparison).

0 commit comments

Comments
 (0)