Skip to content

Commit

Permalink
Deploying from phrase/openapi@4935dac5
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Apr 2, 2024
1 parent 3b79a85 commit 54addfa
Show file tree
Hide file tree
Showing 23 changed files with 1,799 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ docs/JobTemplatesApi.md
docs/JobUpdateParameters.md
docs/JobsApi.md
docs/KeyCreateParameters.md
docs/KeyLink.md
docs/KeyLinksBatchDestroyParameters.md
docs/KeyLinksCreateParameters.md
docs/KeyLinksIndex400Response.md
docs/KeyPreview.md
docs/KeyUpdateParameters.md
docs/KeysApi.md
Expand All @@ -136,6 +140,7 @@ docs/KeysIncludeParameters.md
docs/KeysSearchParameters.md
docs/KeysTagParameters.md
docs/KeysUntagParameters.md
docs/LinkedKeysApi.md
docs/Locale.md
docs/LocaleCreateParameters.md
docs/LocaleDetails.md
Expand Down Expand Up @@ -296,6 +301,7 @@ lib/phrase/api/job_templates_api.rb
lib/phrase/api/jobs_api.rb
lib/phrase/api/keys_api.rb
lib/phrase/api/keys_figma_attachments_api.rb
lib/phrase/api/linked_keys_api.rb
lib/phrase/api/locales_api.rb
lib/phrase/api/members_api.rb
lib/phrase/api/notification_groups_api.rb
Expand Down Expand Up @@ -419,6 +425,10 @@ lib/phrase/models/job_template_preview.rb
lib/phrase/models/job_template_update_parameters.rb
lib/phrase/models/job_update_parameters.rb
lib/phrase/models/key_create_parameters.rb
lib/phrase/models/key_link.rb
lib/phrase/models/key_links_batch_destroy_parameters.rb
lib/phrase/models/key_links_create_parameters.rb
lib/phrase/models/key_links_index400_response.rb
lib/phrase/models/key_preview.rb
lib/phrase/models/key_update_parameters.rb
lib/phrase/models/keys_exclude_parameters.rb
Expand Down Expand Up @@ -561,6 +571,7 @@ spec/api/job_templates_api_spec.rb
spec/api/jobs_api_spec.rb
spec/api/keys_api_spec.rb
spec/api/keys_figma_attachments_api_spec.rb
spec/api/linked_keys_api_spec.rb
spec/api/members_api_spec.rb
spec/api/notification_groups_api_spec.rb
spec/api/notifications_api_spec.rb
Expand Down Expand Up @@ -681,6 +692,10 @@ spec/models/job_template_spec.rb
spec/models/job_template_update_parameters_spec.rb
spec/models/job_update_parameters_spec.rb
spec/models/key_create_parameters_spec.rb
spec/models/key_link_spec.rb
spec/models/key_links_batch_destroy_parameters_spec.rb
spec/models/key_links_create_parameters_spec.rb
spec/models/key_links_index400_response_spec.rb
spec/models/key_preview_spec.rb
spec/models/key_update_parameters_spec.rb
spec/models/keys_exclude_parameters_spec.rb
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ Class | Method | HTTP request | Description
*Phrase::KeysApi* | [**keys_untag**](docs/KeysApi.md#keys_untag) | **PATCH** /projects/{project_id}/keys/untag | Remove tags from collection of keys
*Phrase::KeysFigmaAttachmentsApi* | [**figma_attachment_attach_to_key**](docs/KeysFigmaAttachmentsApi.md#figma_attachment_attach_to_key) | **POST** /projects/{project_id}/figma_attachments/{figma_attachment_id}/keys | Attach the Figma attachment to a key
*Phrase::KeysFigmaAttachmentsApi* | [**figma_attachment_detach_from_key**](docs/KeysFigmaAttachmentsApi.md#figma_attachment_detach_from_key) | **DELETE** /projects/{project_id}/figma_attachments/{figma_attachment_id}/keys/{id} | Detach the Figma attachment from a key
*Phrase::LinkedKeysApi* | [**key_links_batch_destroy**](docs/LinkedKeysApi.md#key_links_batch_destroy) | **DELETE** /projects/{project_id}/keys/{id}/key_links | Batch unlink child keys from a parent key
*Phrase::LinkedKeysApi* | [**key_links_create**](docs/LinkedKeysApi.md#key_links_create) | **POST** /projects/{project_id}/keys/{id}/key_links | Link child keys to a parent key
*Phrase::LinkedKeysApi* | [**key_links_destroy**](docs/LinkedKeysApi.md#key_links_destroy) | **DELETE** /projects/{project_id}/keys/{id}/key_links/{child_key_id} | Unlink a child key from a parent key
*Phrase::LinkedKeysApi* | [**key_links_index**](docs/LinkedKeysApi.md#key_links_index) | **GET** /projects/{project_id}/keys/{id}/key_links | Retrieve all child keys linked to a specific parent key
*Phrase::LocalesApi* | [**account_locales**](docs/LocalesApi.md#account_locales) | **GET** /accounts/{id}/locales | List locales used in account
*Phrase::LocalesApi* | [**locale_create**](docs/LocalesApi.md#locale_create) | **POST** /projects/{project_id}/locales | Create a locale
*Phrase::LocalesApi* | [**locale_delete**](docs/LocalesApi.md#locale_delete) | **DELETE** /projects/{project_id}/locales/{id} | Delete a locale
Expand Down Expand Up @@ -489,6 +493,10 @@ Class | Method | HTTP request | Description
- [Phrase::JobTemplateUpdateParameters](docs/JobTemplateUpdateParameters.md)
- [Phrase::JobUpdateParameters](docs/JobUpdateParameters.md)
- [Phrase::KeyCreateParameters](docs/KeyCreateParameters.md)
- [Phrase::KeyLink](docs/KeyLink.md)
- [Phrase::KeyLinksBatchDestroyParameters](docs/KeyLinksBatchDestroyParameters.md)
- [Phrase::KeyLinksCreateParameters](docs/KeyLinksCreateParameters.md)
- [Phrase::KeyLinksIndex400Response](docs/KeyLinksIndex400Response.md)
- [Phrase::KeyPreview](docs/KeyPreview.md)
- [Phrase::KeyUpdateParameters](docs/KeyUpdateParameters.md)
- [Phrase::KeysExcludeParameters](docs/KeysExcludeParameters.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@38dd5c3a,
screenshot: [B@4b0e0dd5,
remove_screenshot: null,
unformatted: null,
default_translation_content: Default translation content,
Expand Down
29 changes: 29 additions & 0 deletions docs/KeyLink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Phrase::KeyLink

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **Time** | The timestamp when the link was created. |
**updated_at** | **Time** | The timestamp when the link was last updated. |
**created_by** | [**UserPreview**](UserPreview.md) | |
**updated_by** | [**UserPreview**](UserPreview.md) | |
**account** | [**Account**](Account.md) | |
**parent** | [**KeyPreview**](KeyPreview.md) | |
**children** | [**Array<KeyPreview>**](KeyPreview.md) | The child translation keys linked to the parent. |

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::KeyLink.new(created_at: null,
updated_at: null,
created_by: null,
updated_by: null,
account: null,
parent: null,
children: null)
```


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**child_key_ids** | **Array<String>** | The IDs of the child keys to unlink from the parent key. |

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::KeyLinksBatchDestroyParameters.new(child_key_ids: ["child_key_id1","child_key_id2"])
```


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

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**child_key_ids** | **Array<String>** | The IDs of the child keys to link to the parent key. Can be left empty, to only mark the given translation-key as parent |

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::KeyLinksCreateParameters.new(child_key_ids: ["child_key_id1","child_key_id2"])
```


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

## Properties

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

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::KeyLinksIndex400Response.new(message: null)
```


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@533c7a52,
screenshot: [B@608c36a6,
remove_screenshot: null,
unformatted: null,
xml_space_preserve: null,
Expand Down
Loading

0 comments on commit 54addfa

Please sign in to comment.