Skip to content

Commit

Permalink
Deploying from phrase/openapi@8cb91dcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Jun 12, 2024
1 parent 2928519 commit 6dcf1b8
Show file tree
Hide file tree
Showing 20 changed files with 1,995 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,12 @@ docs/ProjectsQualityPerformanceScoreRequest.md
docs/QualityPerformanceScoreApi.md
docs/Release.md
docs/ReleaseCreateParameters.md
docs/ReleaseCreateParameters1.md
docs/ReleasePreview.md
docs/ReleaseTrigger.md
docs/ReleaseTriggersApi.md
docs/ReleaseUpdateParameters.md
docs/ReleaseUpdateParameters1.md
docs/ReleasesApi.md
docs/RepliesListParameters.md
docs/RepoSync.md
Expand Down Expand Up @@ -318,6 +322,7 @@ lib/phrase/api/organization_job_template_locales_api.rb
lib/phrase/api/organization_job_templates_api.rb
lib/phrase/api/projects_api.rb
lib/phrase/api/quality_performance_score_api.rb
lib/phrase/api/release_triggers_api.rb
lib/phrase/api/releases_api.rb
lib/phrase/api/repo_syncs_api.rb
lib/phrase/api/reports_api.rb
Expand Down Expand Up @@ -486,8 +491,11 @@ lib/phrase/models/projects_quality_performance_score200_response_any_of_errors_i
lib/phrase/models/projects_quality_performance_score_request.rb
lib/phrase/models/release.rb
lib/phrase/models/release_create_parameters.rb
lib/phrase/models/release_create_parameters1.rb
lib/phrase/models/release_preview.rb
lib/phrase/models/release_trigger.rb
lib/phrase/models/release_update_parameters.rb
lib/phrase/models/release_update_parameters1.rb
lib/phrase/models/replies_list_parameters.rb
lib/phrase/models/repo_sync.rb
lib/phrase/models/repo_sync_event.rb
Expand Down Expand Up @@ -594,6 +602,7 @@ spec/api/organization_job_template_locales_api_spec.rb
spec/api/organization_job_templates_api_spec.rb
spec/api/projects_api_spec.rb
spec/api/quality_performance_score_api_spec.rb
spec/api/release_triggers_api_spec.rb
spec/api/releases_api_spec.rb
spec/api/repo_syncs_api_spec.rb
spec/api/reports_api_spec.rb
Expand Down Expand Up @@ -758,9 +767,12 @@ spec/models/projects_quality_performance_score200_response_any_of_errors_inner_s
spec/models/projects_quality_performance_score200_response_any_of_spec.rb
spec/models/projects_quality_performance_score200_response_spec.rb
spec/models/projects_quality_performance_score_request_spec.rb
spec/models/release_create_parameters1_spec.rb
spec/models/release_create_parameters_spec.rb
spec/models/release_preview_spec.rb
spec/models/release_spec.rb
spec/models/release_trigger_spec.rb
spec/models/release_update_parameters1_spec.rb
spec/models/release_update_parameters_spec.rb
spec/models/replies_list_parameters_spec.rb
spec/models/repo_sync_event_errors_inner_spec.rb
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,11 @@ Class | Method | HTTP request | Description
*Phrase::ProjectsApi* | [**project_update**](docs/ProjectsApi.md#project_update) | **PATCH** /projects/{id} | Update a project
*Phrase::ProjectsApi* | [**projects_list**](docs/ProjectsApi.md#projects_list) | **GET** /projects | List projects
*Phrase::QualityPerformanceScoreApi* | [**projects_quality_performance_score**](docs/QualityPerformanceScoreApi.md#projects_quality_performance_score) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
*Phrase::ReleaseTriggersApi* | [**release_triggers_create**](docs/ReleaseTriggersApi.md#release_triggers_create) | **POST** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | Create a release trigger
*Phrase::ReleaseTriggersApi* | [**release_triggers_destroy**](docs/ReleaseTriggersApi.md#release_triggers_destroy) | **DELETE** /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id} | Delete a single release trigger
*Phrase::ReleaseTriggersApi* | [**release_triggers_list**](docs/ReleaseTriggersApi.md#release_triggers_list) | **GET** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | List release triggers
*Phrase::ReleaseTriggersApi* | [**release_triggers_show**](docs/ReleaseTriggersApi.md#release_triggers_show) | **GET** /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id} | Get a single release trigger
*Phrase::ReleaseTriggersApi* | [**release_triggers_update**](docs/ReleaseTriggersApi.md#release_triggers_update) | **PATCH** /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id} | Update a release trigger
*Phrase::ReleasesApi* | [**release_create**](docs/ReleasesApi.md#release_create) | **POST** /accounts/{account_id}/distributions/{distribution_id}/releases | Create a release
*Phrase::ReleasesApi* | [**release_delete**](docs/ReleasesApi.md#release_delete) | **DELETE** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Delete a release
*Phrase::ReleasesApi* | [**release_publish**](docs/ReleasesApi.md#release_publish) | **POST** /accounts/{account_id}/distributions/{distribution_id}/releases/{id}/publish | Publish a release
Expand Down Expand Up @@ -553,8 +558,11 @@ Class | Method | HTTP request | Description
- [Phrase::ProjectsQualityPerformanceScoreRequest](docs/ProjectsQualityPerformanceScoreRequest.md)
- [Phrase::Release](docs/Release.md)
- [Phrase::ReleaseCreateParameters](docs/ReleaseCreateParameters.md)
- [Phrase::ReleaseCreateParameters1](docs/ReleaseCreateParameters1.md)
- [Phrase::ReleasePreview](docs/ReleasePreview.md)
- [Phrase::ReleaseTrigger](docs/ReleaseTrigger.md)
- [Phrase::ReleaseUpdateParameters](docs/ReleaseUpdateParameters.md)
- [Phrase::ReleaseUpdateParameters1](docs/ReleaseUpdateParameters1.md)
- [Phrase::RepliesListParameters](docs/RepliesListParameters.md)
- [Phrase::RepoSync](docs/RepoSync.md)
- [Phrase::RepoSyncEvent](docs/RepoSyncEvent.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/KeyCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ instance = Phrase::KeyCreateParameters.new(branch: my-feature-branch,
data_type: number,
tags: awesome-feature,needs-proofreading,
max_characters_allowed: 140,
screenshot: [B@12b67070,
screenshot: [B@68017525,
remove_screenshot: null,
unformatted: null,
default_translation_content: Default translation content,
Expand Down
2 changes: 1 addition & 1 deletion docs/KeyUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ instance = Phrase::KeyUpdateParameters.new(branch: my-feature-branch,
data_type: number,
tags: awesome-feature,needs-proofreading,
max_characters_allowed: 140,
screenshot: [B@f33b8fc,
screenshot: [B@434d5eb9,
remove_screenshot: null,
unformatted: null,
xml_space_preserve: null,
Expand Down
2 changes: 1 addition & 1 deletion docs/ProjectCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ instance = Phrase::ProjectCreateParameters.new(name: My Android Project,
main_format: yml,
media: Python,
shares_translation_memory: true,
project_image: [B@4e4892bf,
project_image: [B@4cec414d,
remove_project_image: null,
account_id: abcd1234,
point_of_contact: abcd1234,
Expand Down
2 changes: 1 addition & 1 deletion docs/ProjectUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ instance = Phrase::ProjectUpdateParameters.new(account_id: abcd1234,
main_format: yml,
media: Python,
shares_translation_memory: true,
project_image: [B@59889208,
project_image: [B@62a939cd,
remove_project_image: false,
workflow: review,
machine_translation_enabled: true,
Expand Down
29 changes: 29 additions & 0 deletions docs/ReleaseCreateParameters1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Phrase::ReleaseCreateParameters1

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cron_schedule** | **String** | Cron schedule for the scheduler. Read more about the format of this field at https://en.wikipedia.org/wiki/Cron | [optional]
**time_zone** | **String** | Time zone for the scheduler | [optional]
**locale_ids** | **Array<String>** | List of locale ids that will be included in the release. | [optional]
**tags** | **Array<String>** | Only include tagged keys in the release. For a key to be included it must be tagged with all tags provided | [optional]
**branch** | **String** | Branch used for release | [optional]
**app_min_version** | **String** | The created releases will be available only for apps with version greater or equal to this value | [optional]
**app_max_version** | **String** | The created releases will be available only for apps with version less or equal to this value | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::ReleaseCreateParameters1.new(cron_schedule: 15 18 * * 1,3,
time_zone: Europe/Berlin,
locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
tags: ["android","feature1"],
branch: my-feature-branch,
app_min_version: 1.0.0,
app_max_version: 2.0.0)
```


37 changes: 37 additions & 0 deletions docs/ReleaseTrigger.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Phrase::ReleaseTrigger

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | | [optional]
**branch** | **String** | | [optional]
**cron_schedule** | **String** | Cron schedule for the scheduler. Read more about the format of this field at https://en.wikipedia.org/wiki/Cron | [optional]
**time_zone** | **String** | Time zone for the scheduler | [optional]
**next_run_at** | **Time** | The next time a release will be created for this trigger | [optional]
**app_min_version** | **String** | | [optional]
**app_max_version** | **String** | | [optional]
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
**tags** | **Array<String>** | | [optional]
**created_at** | **Time** | | [optional]
**updated_at** | **Time** | | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::ReleaseTrigger.new(id: null,
branch: null,
cron_schedule: null,
time_zone: null,
next_run_at: null,
app_min_version: null,
app_max_version: null,
locales: null,
tags: null,
created_at: null,
updated_at: null)
```


Loading

0 comments on commit 6dcf1b8

Please sign in to comment.