Skip to content

Commit

Permalink
Deploying from phrase/openapi@7a1a0d91
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed May 31, 2024
1 parent b193c5f commit 2d86b54
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 101 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +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_activate**](docs/RepoSyncsApi.md#repo_sync_activate) | **POST** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync
*Phrase::RepoSyncsApi* | [**repo_sync_deactivate**](docs/RepoSyncsApi.md#repo_sync_deactivate) | **POST** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync
*Phrase::RepoSyncsApi* | [**repo_sync_events**](docs/RepoSyncsApi.md#repo_sync_events) | **GET** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History
*Phrase::RepoSyncsApi* | [**repo_sync_export**](docs/RepoSyncsApi.md#repo_sync_export) | **POST** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository
*Phrase::RepoSyncsApi* | [**repo_sync_import**](docs/RepoSyncsApi.md#repo_sync_import) | **POST** /accounts/{account_id}/repo_syncs/{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::RepoSyncsApi* | [**repo_sync_show**](docs/RepoSyncsApi.md#repo_sync_show) | **GET** /accounts/{account_id}/repo_syncs/{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
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@171dbfa0,
screenshot: [B@12b67070,
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@3dfb1cec,
screenshot: [B@f33b8fc,
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@4b2c95ff,
project_image: [B@4e4892bf,
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@19266d52,
project_image: [B@59889208,
remove_project_image: false,
workflow: review,
machine_translation_enabled: true,
Expand Down
60 changes: 30 additions & 30 deletions docs/RepoSyncsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ All URIs are relative to *https://api.phrase.com/v2*

Method | HTTP request | Description
------------- | ------------- | -------------
[**repo_sync_activate**](RepoSyncsApi.md#repo_sync_activate) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/activate | Activate a Repo Sync
[**repo_sync_deactivate**](RepoSyncsApi.md#repo_sync_deactivate) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/deactivate | Deactivate a Repo Sync
[**repo_sync_events**](RepoSyncsApi.md#repo_sync_events) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id}/events | Repository Syncs History
[**repo_sync_export**](RepoSyncsApi.md#repo_sync_export) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/export | Export to code repository
[**repo_sync_import**](RepoSyncsApi.md#repo_sync_import) | **POST** /accounts/{account_id}/repo_syncs/{repo_sync_id}/import | Import from code repository
[**repo_sync_activate**](RepoSyncsApi.md#repo_sync_activate) | **POST** /accounts/{account_id}/repo_syncs/{id}/activate | Activate a Repo Sync
[**repo_sync_deactivate**](RepoSyncsApi.md#repo_sync_deactivate) | **POST** /accounts/{account_id}/repo_syncs/{id}/deactivate | Deactivate a Repo Sync
[**repo_sync_events**](RepoSyncsApi.md#repo_sync_events) | **GET** /accounts/{account_id}/repo_syncs/{id}/events | Repository Syncs History
[**repo_sync_export**](RepoSyncsApi.md#repo_sync_export) | **POST** /accounts/{account_id}/repo_syncs/{id}/export | Export to code repository
[**repo_sync_import**](RepoSyncsApi.md#repo_sync_import) | **POST** /accounts/{account_id}/repo_syncs/{id}/import | Import from code repository
[**repo_sync_list**](RepoSyncsApi.md#repo_sync_list) | **GET** /accounts/{account_id}/repo_syncs | Get Repo Syncs
[**repo_sync_show**](RepoSyncsApi.md#repo_sync_show) | **GET** /accounts/{account_id}/repo_syncs/{repo_sync_id} | Get a single Repo Sync
[**repo_sync_show**](RepoSyncsApi.md#repo_sync_show) | **GET** /accounts/{account_id}/repo_syncs/{id} | Get a single Repo Sync



## repo_sync_activate

> RepoSync repo_sync_activate(account_id, repo_sync_id, opts)
> RepoSync repo_sync_activate(account_id, id, opts)
Activate a Repo Sync

Expand All @@ -40,14 +40,14 @@ end

api_instance = Phrase::RepoSyncsApi.new
account_id = 'account_id_example' # String | Account ID
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
id = 'id_example' # String | ID
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Activate a Repo Sync
result = api_instance.repo_sync_activate(account_id, repo_sync_id, opts)
result = api_instance.repo_sync_activate(account_id, id, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling RepoSyncsApi->repo_sync_activate: #{e}"
Expand All @@ -60,7 +60,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **String**| Account ID |
**repo_sync_id** | **String**| Repo Sync ID |
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -79,7 +79,7 @@ Response<([**RepoSync**](RepoSync.md))>

## repo_sync_deactivate

> RepoSync repo_sync_deactivate(account_id, repo_sync_id, opts)
> RepoSync repo_sync_deactivate(account_id, id, opts)
Deactivate a Repo Sync

Expand All @@ -103,14 +103,14 @@ end

api_instance = Phrase::RepoSyncsApi.new
account_id = 'account_id_example' # String | Account ID
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
id = 'id_example' # String | ID
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Deactivate a Repo Sync
result = api_instance.repo_sync_deactivate(account_id, repo_sync_id, opts)
result = api_instance.repo_sync_deactivate(account_id, id, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling RepoSyncsApi->repo_sync_deactivate: #{e}"
Expand All @@ -123,7 +123,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **String**| Account ID |
**repo_sync_id** | **String**| Repo Sync ID |
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -142,7 +142,7 @@ Response<([**RepoSync**](RepoSync.md))>

## repo_sync_events

> Array&lt;RepoSyncEvent&gt; repo_sync_events(account_id, repo_sync_id, opts)
> Array&lt;RepoSyncEvent&gt; repo_sync_events(account_id, id, opts)
Repository Syncs History

Expand All @@ -166,14 +166,14 @@ end

api_instance = Phrase::RepoSyncsApi.new
account_id = 'account_id_example' # String | Account ID
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
id = 'id_example' # String | ID
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Repository Syncs History
result = api_instance.repo_sync_events(account_id, repo_sync_id, opts)
result = api_instance.repo_sync_events(account_id, id, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling RepoSyncsApi->repo_sync_events: #{e}"
Expand All @@ -186,7 +186,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **String**| Account ID |
**repo_sync_id** | **String**| Repo Sync ID |
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -205,7 +205,7 @@ Response<([**Array&lt;RepoSyncEvent&gt;**](RepoSyncEvent.md))>

## repo_sync_export

> RepoSyncExport repo_sync_export(account_id, repo_sync_id, opts)
> RepoSyncExport repo_sync_export(account_id, id, opts)
Export to code repository

Expand All @@ -229,14 +229,14 @@ end

api_instance = Phrase::RepoSyncsApi.new
account_id = 'account_id_example' # String | Account ID
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
id = 'id_example' # String | ID
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Export to code repository
result = api_instance.repo_sync_export(account_id, repo_sync_id, opts)
result = api_instance.repo_sync_export(account_id, id, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling RepoSyncsApi->repo_sync_export: #{e}"
Expand All @@ -249,7 +249,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **String**| Account ID |
**repo_sync_id** | **String**| Repo Sync ID |
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand All @@ -268,7 +268,7 @@ Response<([**RepoSyncExport**](RepoSyncExport.md))>

## repo_sync_import

> RepoSyncImport repo_sync_import(account_id, repo_sync_id, opts)
> RepoSyncImport repo_sync_import(account_id, id, opts)
Import from code repository

Expand All @@ -292,14 +292,14 @@ end

api_instance = Phrase::RepoSyncsApi.new
account_id = 'account_id_example' # String | Account ID
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
id = 'id_example' # String | ID
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Import from code repository
result = api_instance.repo_sync_import(account_id, repo_sync_id, opts)
result = api_instance.repo_sync_import(account_id, id, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling RepoSyncsApi->repo_sync_import: #{e}"
Expand All @@ -312,7 +312,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **String**| Account ID |
**repo_sync_id** | **String**| Repo Sync ID |
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand Down Expand Up @@ -392,7 +392,7 @@ Response<([**Array&lt;RepoSync&gt;**](RepoSync.md))>

## repo_sync_show

> RepoSync repo_sync_show(account_id, repo_sync_id, opts)
> RepoSync repo_sync_show(account_id, id, opts)
Get a single Repo Sync

Expand All @@ -416,14 +416,14 @@ end

api_instance = Phrase::RepoSyncsApi.new
account_id = 'account_id_example' # String | Account ID
repo_sync_id = 'repo_sync_id_example' # String | Repo Sync ID
id = 'id_example' # String | ID
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Get a single Repo Sync
result = api_instance.repo_sync_show(account_id, repo_sync_id, opts)
result = api_instance.repo_sync_show(account_id, id, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling RepoSyncsApi->repo_sync_show: #{e}"
Expand All @@ -436,7 +436,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**account_id** | **String**| Account ID |
**repo_sync_id** | **String**| Repo Sync ID |
**id** | **String**| ID |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type
Expand Down
2 changes: 1 addition & 1 deletion docs/ScreenshotUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require 'Phrase'
instance = Phrase::ScreenshotUpdateParameters.new(branch: my-feature-branch,
name: A screenshot name,
description: A screenshot description,
filename: [B@38b14624)
filename: [B@1861c4a9)
```


Loading

0 comments on commit 2d86b54

Please sign in to comment.