Skip to content

Commit

Permalink
Deploying from phrase/openapi@0bd17562
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Apr 17, 2024
1 parent 0975410 commit 0e0bb07
Show file tree
Hide file tree
Showing 26 changed files with 2,617 additions and 5 deletions.
18 changes: 18 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ docs/ReleasePreview.md
docs/ReleaseUpdateParameters.md
docs/ReleasesApi.md
docs/RepliesListParameters.md
docs/RepoSync.md
docs/RepoSyncEvent.md
docs/RepoSyncEventErrorsInner.md
docs/RepoSyncExport.md
docs/RepoSyncImport.md
docs/RepoSyncsApi.md
docs/ReportsApi.md
docs/Screenshot.md
docs/ScreenshotMarker.md
Expand Down Expand Up @@ -312,6 +318,7 @@ 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/releases_api.rb
lib/phrase/api/repo_syncs_api.rb
lib/phrase/api/reports_api.rb
lib/phrase/api/screenshot_markers_api.rb
lib/phrase/api/screenshots_api.rb
Expand Down Expand Up @@ -481,6 +488,11 @@ lib/phrase/models/release_create_parameters.rb
lib/phrase/models/release_preview.rb
lib/phrase/models/release_update_parameters.rb
lib/phrase/models/replies_list_parameters.rb
lib/phrase/models/repo_sync.rb
lib/phrase/models/repo_sync_event.rb
lib/phrase/models/repo_sync_event_errors_inner.rb
lib/phrase/models/repo_sync_export.rb
lib/phrase/models/repo_sync_import.rb
lib/phrase/models/screenshot.rb
lib/phrase/models/screenshot_marker.rb
lib/phrase/models/screenshot_marker_create_parameters.rb
Expand Down Expand Up @@ -581,6 +593,7 @@ spec/api/organization_job_templates_api_spec.rb
spec/api/projects_api_spec.rb
spec/api/quality_performance_score_api_spec.rb
spec/api/releases_api_spec.rb
spec/api/repo_syncs_api_spec.rb
spec/api/reports_api_spec.rb
spec/api/screenshot_markers_api_spec.rb
spec/api/screenshots_api_spec.rb
Expand Down Expand Up @@ -748,6 +761,11 @@ spec/models/release_preview_spec.rb
spec/models/release_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
spec/models/repo_sync_event_spec.rb
spec/models/repo_sync_export_spec.rb
spec/models/repo_sync_import_spec.rb
spec/models/repo_sync_spec.rb
spec/models/screenshot_marker_create_parameters_spec.rb
spec/models/screenshot_marker_spec.rb
spec/models/screenshot_marker_update_parameters_spec.rb
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,13 @@ Class | Method | HTTP request | Description
*Phrase::ReleasesApi* | [**release_show**](docs/ReleasesApi.md#release_show) | **GET** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Get a single release
*Phrase::ReleasesApi* | [**release_update**](docs/ReleasesApi.md#release_update) | **PATCH** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Update a release
*Phrase::ReleasesApi* | [**releases_list**](docs/ReleasesApi.md#releases_list) | **GET** /accounts/{account_id}/distributions/{distribution_id}/releases | List releases
*Phrase::RepoSyncsApi* | [**repo_sync_activate**](docs/RepoSyncsApi.md#repo_sync_activate) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/activate | Activate a Repo Sync
*Phrase::RepoSyncsApi* | [**repo_sync_deactivate**](docs/RepoSyncsApi.md#repo_sync_deactivate) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate | Deactivate a Repo Sync
*Phrase::RepoSyncsApi* | [**repo_sync_events**](docs/RepoSyncsApi.md#repo_sync_events) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events | Repository Syncs History
*Phrase::RepoSyncsApi* | [**repo_sync_export**](docs/RepoSyncsApi.md#repo_sync_export) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/export | Export to code repository
*Phrase::RepoSyncsApi* | [**repo_sync_import**](docs/RepoSyncsApi.md#repo_sync_import) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/import | Import from code repository
*Phrase::RepoSyncsApi* | [**repo_sync_list**](docs/RepoSyncsApi.md#repo_sync_list) | **GET** /accounts/{account_id}/repo_syncs | Get Repo Syncs
*Phrase::RepoSyncsApi* | [**repo_sync_show**](docs/RepoSyncsApi.md#repo_sync_show) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id} | Get a single Repo Sync
*Phrase::ReportsApi* | [**report_locales_list**](docs/ReportsApi.md#report_locales_list) | **GET** /projects/{project_id}/report/locales | List Locale Reports
*Phrase::ReportsApi* | [**report_show**](docs/ReportsApi.md#report_show) | **GET** /projects/{project_id}/report | Get Project Report
*Phrase::ScreenshotMarkersApi* | [**screenshot_marker_create**](docs/ScreenshotMarkersApi.md#screenshot_marker_create) | **POST** /projects/{project_id}/screenshots/{screenshot_id}/markers | Create a screenshot marker
Expand Down Expand Up @@ -549,6 +556,11 @@ Class | Method | HTTP request | Description
- [Phrase::ReleasePreview](docs/ReleasePreview.md)
- [Phrase::ReleaseUpdateParameters](docs/ReleaseUpdateParameters.md)
- [Phrase::RepliesListParameters](docs/RepliesListParameters.md)
- [Phrase::RepoSync](docs/RepoSync.md)
- [Phrase::RepoSyncEvent](docs/RepoSyncEvent.md)
- [Phrase::RepoSyncEventErrorsInner](docs/RepoSyncEventErrorsInner.md)
- [Phrase::RepoSyncExport](docs/RepoSyncExport.md)
- [Phrase::RepoSyncImport](docs/RepoSyncImport.md)
- [Phrase::Screenshot](docs/Screenshot.md)
- [Phrase::ScreenshotMarker](docs/ScreenshotMarker.md)
- [Phrase::ScreenshotMarkerCreateParameters](docs/ScreenshotMarkerCreateParameters.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@59a8891e,
screenshot: [B@38da693b,
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@f054e29,
screenshot: [B@1c2912bb,
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@2c890ee3,
project_image: [B@4f808f77,
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@62068fa5,
project_image: [B@758a3ba0,
remove_project_image: false,
workflow: review,
machine_translation_enabled: true,
Expand Down
33 changes: 33 additions & 0 deletions docs/RepoSync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Phrase::RepoSync

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | | [optional]
**project** | [**ProjectShort**](ProjectShort.md) | | [optional]
**provider** | **String** | | [optional]
**enabled** | **Boolean** | | [optional]
**auto_import** | **Boolean** | | [optional]
**repo_name** | **String** | | [optional]
**created_at** | **Time** | | [optional]
**last_import_at** | **Time** | | [optional]
**last_export_at** | **Time** | | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::RepoSync.new(id: null,
project: null,
provider: null,
enabled: null,
auto_import: null,
repo_name: null,
created_at: null,
last_import_at: null,
last_export_at: null)
```


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**event_type** | **String** | | [optional]
**created_at** | **Time** | | [optional]
**status** | **String** | | [optional]
**pull_request_url** | **String** | URL of the pull request created on export | [optional]
**auto_import** | **Boolean** | Whether the import was triggered by the repo push event | [optional]
**errors** | [**Array<RepoSyncEventErrorsInner>**](RepoSyncEventErrorsInner.md) | List of error messages, in case of failure | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::RepoSyncEvent.new(event_type: null,
created_at: null,
status: null,
pull_request_url: null,
auto_import: null,
errors: null)
```


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::RepoSyncEventErrorsInner.new()
```


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **String** | | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::RepoSyncExport.new(message: Export started)
```


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **String** | | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::RepoSyncImport.new(message: Import started)
```


Loading

0 comments on commit 0e0bb07

Please sign in to comment.