diff --git a/openapi-generator/go_lang.yaml b/openapi-generator/go_lang.yaml index 36d18618..49fb8c28 100644 --- a/openapi-generator/go_lang.yaml +++ b/openapi-generator/go_lang.yaml @@ -2,7 +2,7 @@ generatorName: go outputDir: clients/go packageName: phrase -packageVersion: 2.4.0 +packageVersion: 2.5.0 gitUserId: phrase gitRepoId: phrase-go httpUserAgent: Phrase go diff --git a/openapi-generator/java_lang.yaml b/openapi-generator/java_lang.yaml index d79515f4..a0e24f3f 100644 --- a/openapi-generator/java_lang.yaml +++ b/openapi-generator/java_lang.yaml @@ -4,7 +4,7 @@ outputDir: clients/java apiPackage: com.phrase.client.api artifactId: phrase-java artifactUrl: https://developers.phrase.com -artifactVersion: 1.3.0 +artifactVersion: 1.4.0 developerEmail: support@phrase.com developerName: Phrase developerOrganization: Phrase.com diff --git a/openapi-generator/php_lang.yaml b/openapi-generator/php_lang.yaml index dd0d8bf4..dc683739 100644 --- a/openapi-generator/php_lang.yaml +++ b/openapi-generator/php_lang.yaml @@ -2,7 +2,7 @@ generatorName: php outputDir: clients/php invokerPackage: Phrase -artifactVersion: 1.3.0 +artifactVersion: 1.4.0 gitUserId: phrase gitRepoId: phrase-php packageName: phrase-php diff --git a/openapi-generator/python_lang.yaml b/openapi-generator/python_lang.yaml index 862ffa44..c69f4219 100644 --- a/openapi-generator/python_lang.yaml +++ b/openapi-generator/python_lang.yaml @@ -3,7 +3,7 @@ generatorName: python outputDir: clients/python packageName: phrase_api projectName: phrase-api -packageVersion: 1.3.0 +packageVersion: 1.4.0 packageUrl: "https://github.com/phrase/phrase-python" gitUserId: phrase gitRepoId: phrase-python diff --git a/openapi-generator/ruby_lang.yaml b/openapi-generator/ruby_lang.yaml index 319ddf8f..a7162b80 100644 --- a/openapi-generator/ruby_lang.yaml +++ b/openapi-generator/ruby_lang.yaml @@ -3,7 +3,7 @@ generatorName: ruby outputDir: clients/ruby moduleName: Phrase gemName: phrase -gemVersion: 2.6.0 +gemVersion: 2.7.0 gemDescription: 'Phrase is a translation management platform for software projects.' gemSummary: '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.' gemRequiredRubyVersion: '>= 2.6.0' diff --git a/openapi-generator/typescript_lang.yaml b/openapi-generator/typescript_lang.yaml index 35adb8ca..9d8f1c92 100644 --- a/openapi-generator/typescript_lang.yaml +++ b/openapi-generator/typescript_lang.yaml @@ -2,5 +2,5 @@ generatorName: typescript-fetch outputDir: clients/typescript npmName: "phrase-js" -npmVersion: 1.3.0 +npmVersion: 1.4.0 typescriptThreePlus: true diff --git a/schemas.yaml b/schemas.yaml index 0d9ee6af..b04b6f72 100644 --- a/schemas.yaml +++ b/schemas.yaml @@ -98,6 +98,8 @@ schemas: "$ref": schemas/team.yaml#/team team_detail: "$ref": schemas/team_detail.yaml#/team_detail + team_short: + "$ref": schemas/team_short.yaml#/team_short job: "$ref": schemas/job.yaml#/job job_details: diff --git a/schemas/invitation.yaml b/schemas/invitation.yaml index ea641dd9..8f38f4b6 100644 --- a/schemas/invitation.yaml +++ b/schemas/invitation.yaml @@ -19,6 +19,10 @@ invitation: type: array items: "$ref": "./locale_preview.yaml#/locale_preview" + teams: + type: array + items: + "$ref": "./team_short.yaml#/team_short" default_locale_codes: type: array items: @@ -41,24 +45,7 @@ invitation: spaces: type: array items: - type: object - properties: - id: - type: string - name: - type: string - created_at: - type: string - format: date-time - updated_at: - type: string - format: date-time - projects_count: - type: integer - teams: - type: array - items: - "$ref": "./team_short.yaml#/team_short" + "$ref": "./space_short.yaml#/space_short" project_role: type: array items: diff --git a/schemas/team_short.yaml b/schemas/team_short.yaml index 7d172674..fd5bd07f 100644 --- a/schemas/team_short.yaml +++ b/schemas/team_short.yaml @@ -1,7 +1,7 @@ --- team_short: type: object - title: team + title: team_short properties: id: type: string