Skip to content

Commit 20c4963

Browse files
author
Phrase
committed
1 parent f067eb5 commit 20c4963

File tree

207 files changed

+313
-307
lines changed

Some content is hidden

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

207 files changed

+313
-307
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Phrase API Reference
44
- API version: 2.0.0
5-
- Build date: 2022-04-07T14:47:01.778327Z[Etc/UTC]
5+
- Build date: 2022-04-11T09:06:41.362260Z[Etc/UTC]
66

77
Phrase is a translation management platform for software projects. You can collaborate on language file translation with your team or order translations through our platform. The API allows you to import locale files, download locale files, tag keys or interact in other ways with the localization data stored in Phrase for your account.
88

@@ -1434,7 +1434,7 @@ Add this dependency to your project's POM:
14341434
<dependency>
14351435
<groupId>com.phrase</groupId>
14361436
<artifactId>phrase-java</artifactId>
1437-
<version>1.3.0</version>
1437+
<version>1.4.0</version>
14381438
<scope>compile</scope>
14391439
</dependency>
14401440
```
@@ -1444,7 +1444,7 @@ Add this dependency to your project's POM:
14441444
Add this dependency to your project's build file:
14451445

14461446
```groovy
1447-
compile "com.phrase:phrase-java:1.3.0"
1447+
compile "com.phrase:phrase-java:1.4.0"
14481448
```
14491449

14501450
### Others
@@ -1457,7 +1457,7 @@ mvn clean package
14571457

14581458
Then manually install the following JARs:
14591459

1460-
* `target/phrase-java-1.3.0.jar`
1460+
* `target/phrase-java-1.4.0.jar`
14611461
* `target/lib/*.jar`
14621462

14631463
## Getting Started
@@ -1883,9 +1883,9 @@ Class | Method | HTTP request | Description
18831883
- [TagWithStats1Statistics](docs/TagWithStats1Statistics.md)
18841884
- [TagWithStats1Statistics1](docs/TagWithStats1Statistics1.md)
18851885
- [Team](docs/Team.md)
1886-
- [Team1](docs/Team1.md)
18871886
- [TeamCreateParameters](docs/TeamCreateParameters.md)
18881887
- [TeamDetail](docs/TeamDetail.md)
1888+
- [TeamShort](docs/TeamShort.md)
18891889
- [TeamUpdateParameters](docs/TeamUpdateParameters.md)
18901890
- [TeamsProjectsCreateParameters](docs/TeamsProjectsCreateParameters.md)
18911891
- [TeamsSpacesCreateParameters](docs/TeamsSpacesCreateParameters.md)

api/openapi.yaml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26144,7 +26144,7 @@ components:
2614426144
type: array
2614526145
teams:
2614626146
items:
26147-
$ref: '#/components/schemas/team_1'
26147+
$ref: '#/components/schemas/team_short'
2614826148
type: array
2614926149
spaces:
2615026150
items:
@@ -26278,6 +26278,10 @@ components:
2627826278
items:
2627926279
$ref: '#/components/schemas/locale_preview'
2628026280
type: array
26281+
teams:
26282+
items:
26283+
$ref: '#/components/schemas/team_short'
26284+
type: array
2628126285
default_locale_codes:
2628226286
items:
2628326287
type: string
@@ -26299,11 +26303,7 @@ components:
2629926303
type: string
2630026304
spaces:
2630126305
items:
26302-
$ref: '#/components/schemas/member_spaces'
26303-
type: array
26304-
teams:
26305-
items:
26306-
$ref: '#/components/schemas/member/properties/teams/items'
26306+
$ref: '#/components/schemas/project/properties/space'
2630726307
type: array
2630826308
project_role:
2630926309
items:
@@ -27146,6 +27146,25 @@ components:
2714627146
type: array
2714727147
title: team
2714827148
type: object
27149+
team_short:
27150+
example:
27151+
id: 2e7574e8f2372906a03110c2a7cfe671
27152+
name: My first Team
27153+
created_at: 2020-02-25T12:17:25Z
27154+
updated_at: 2020-03-13T14:46:57Z
27155+
properties:
27156+
id:
27157+
type: string
27158+
name:
27159+
type: string
27160+
created_at:
27161+
format: date-time
27162+
type: string
27163+
updated_at:
27164+
format: date-time
27165+
type: string
27166+
title: team_short
27167+
type: object
2714927168
job:
2715027169
example:
2715127170
id: 626ea67628690c73ac86ac81eec2d185
@@ -30139,19 +30158,6 @@ components:
3013930158
$ref: '#/components/schemas/subscription'
3014030159
slug:
3014130160
type: string
30142-
team_1:
30143-
example: '{"id":"2e7574e8f2372906a03110c2a7cfe671","name":"My first Team","created_at":"2020-02-25T12:17:25Z","updated_at":"2020-03-13T14:46:57Z"}'
30144-
properties:
30145-
id:
30146-
type: string
30147-
name:
30148-
type: string
30149-
created_at:
30150-
format: date-time
30151-
type: string
30152-
updated_at:
30153-
format: date-time
30154-
type: string
3015530161
member_spaces:
3015630162
properties:
3015730163
id:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ apply plugin: 'java-library'
66
apply plugin: 'maven-publish'
77

88
group = 'com.phrase'
9-
version = '1.3.0'
9+
version = '1.4.0'
1010

1111
buildscript {
1212
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.phrase",
44
name := "phrase-java",
5-
version := "1.3.0",
5+
version := "1.4.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/Invitation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Name | Type | Description | Notes
1212
**state** | **String** | | [optional]
1313
**projects** | [**List&lt;ProjectShort&gt;**](ProjectShort.md) | | [optional]
1414
**locales** | [**List&lt;LocalePreview&gt;**](LocalePreview.md) | | [optional]
15+
**teams** | [**List&lt;TeamShort&gt;**](TeamShort.md) | | [optional]
1516
**defaultLocaleCodes** | **List&lt;String&gt;** | | [optional]
1617
**permissions** | [**Object**](.md) | | [optional]
1718
**localeIds** | **List&lt;String&gt;** | | [optional]
1819
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
1920
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
2021
**acceptedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
21-
**spaces** | [**List&lt;MemberSpaces&gt;**](MemberSpaces.md) | | [optional]
22-
**teams** | [**List&lt;Items&gt;**](Items.md) | | [optional]
22+
**spaces** | [**List&lt;Space&gt;**](Space.md) | | [optional]
2323
**projectRole** | [**List&lt;MemberProjectDetailProjectRoles&gt;**](MemberProjectDetailProjectRoles.md) | | [optional]
2424

2525

docs/Member.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
1515
**projects** | [**List&lt;ProjectLocales&gt;**](ProjectLocales.md) | | [optional]
1616
**permissions** | [**Object**](.md) | | [optional]
1717
**defaultLocaleCodes** | **List&lt;String&gt;** | | [optional]
18-
**teams** | [**List&lt;Team1&gt;**](Team1.md) | | [optional]
18+
**teams** | [**List&lt;TeamShort&gt;**](TeamShort.md) | | [optional]
1919
**spaces** | [**List&lt;MemberSpaces&gt;**](MemberSpaces.md) | | [optional]
2020

2121

docs/Team1.md renamed to docs/TeamShort.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# Team1
3+
# TeamShort
44

55
## Properties
66

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>phrase-java</artifactId>
66
<packaging>jar</packaging>
77
<name>phrase-java</name>
8-
<version>1.3.0</version>
8+
<version>1.4.0</version>
99
<url>https://developers.phrase.com</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private void init() {
109109
json = new JSON();
110110

111111
// Set default User-Agent.
112-
setUserAgent("OpenAPI-Generator/1.3.0/java");
112+
setUserAgent("OpenAPI-Generator/1.4.0/java");
113113

114114
authentications = new HashMap<String, Authentication>();
115115
}

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 = "2022-04-07T14:47:01.778327Z[Etc/UTC]")
18+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2022-04-11T09:06:41.362260Z[Etc/UTC]")
1919
public class ApiException extends Exception {
2020
private int code = 0;
2121
private Map<String, List<String>> responseHeaders = null;

0 commit comments

Comments
 (0)