phrase 2.8.3 → 2.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +15 -12
- data/docs/BitbucketSyncApi.md +2 -2
- data/docs/BranchesApi.md +3 -3
- data/docs/GitHubSyncApi.md +2 -2
- data/docs/GitLabSyncApi.md +2 -2
- data/docs/JobCommentsApi.md +6 -6
- data/docs/JobLocale.md +3 -1
- data/docs/JobLocaleUpdateParameters.md +5 -1
- data/docs/JobLocalesCreateParameters.md +6 -2
- data/docs/JobTemplateDetails.md +35 -0
- data/docs/JobTemplateDetails1.md +21 -0
- data/docs/JobTemplateLocaleUpdateParameters.md +6 -2
- data/docs/{JobTemplateLocale.md → JobTemplateLocales.md} +6 -4
- data/docs/JobTemplateLocalesApi.md +8 -8
- data/docs/JobTemplateLocalesCreateParameters.md +5 -1
- data/docs/JobTemplatesApi.md +41 -41
- data/docs/KeysSearchParameters.md +1 -1
- data/docs/LocaleTeamPreview.md +21 -0
- data/docs/{JobTemplateUserPreview.md → LocaleUserPreview.md} +2 -2
- data/docs/LocalesApi.md +8 -4
- data/docs/NotificationGroupDetail.md +1 -1
- data/docs/NotificationGroupsApi.md +4 -4
- data/docs/NotificationsApi.md +4 -4
- data/docs/Project.md +2 -0
- data/docs/ProjectCreateParameters.md +5 -1
- data/docs/ProjectDetails.md +2 -0
- data/docs/ProjectUpdateParameters.md +5 -1
- data/docs/SearchApi.md +1 -1
- data/docs/TranslationsApi.md +23 -19
- data/docs/TranslationsExcludeParameters.md +1 -1
- data/docs/TranslationsIncludeParameters.md +1 -1
- data/docs/TranslationsReviewParameters.md +1 -1
- data/docs/TranslationsSearchParameters.md +1 -1
- data/docs/TranslationsUnverifyParameters.md +1 -1
- data/docs/TranslationsVerifyParameters.md +1 -1
- data/docs/UploadsApi.md +3 -3
- data/lib/phrase/api/bitbucket_sync_api.rb +4 -4
- data/lib/phrase/api/branches_api.rb +6 -6
- data/lib/phrase/api/git_hub_sync_api.rb +4 -4
- data/lib/phrase/api/git_lab_sync_api.rb +4 -4
- data/lib/phrase/api/job_comments_api.rb +9 -9
- data/lib/phrase/api/job_template_locales_api.rb +12 -12
- data/lib/phrase/api/job_templates_api.rb +72 -72
- data/lib/phrase/api/locales_api.rb +10 -4
- data/lib/phrase/api/notification_groups_api.rb +6 -6
- data/lib/phrase/api/notifications_api.rb +6 -6
- data/lib/phrase/api/search_api.rb +2 -2
- data/lib/phrase/api/translations_api.rb +20 -14
- data/lib/phrase/api/uploads_api.rb +2 -2
- data/lib/phrase/models/job_locale.rb +13 -2
- data/lib/phrase/models/job_locale_update_parameters.rb +28 -4
- data/lib/phrase/models/job_locales_create_parameters.rb +33 -4
- data/lib/phrase/models/job_template_details.rb +285 -0
- data/lib/phrase/models/job_template_details1.rb +214 -0
- data/lib/phrase/models/job_template_locale_update_parameters.rb +28 -9
- data/lib/phrase/models/{job_template_locale.rb → job_template_locales.rb} +18 -7
- data/lib/phrase/models/job_template_locales_create_parameters.rb +28 -4
- data/lib/phrase/models/keys_search_parameters.rb +1 -1
- data/lib/phrase/models/locale_team_preview.rb +212 -0
- data/lib/phrase/models/{job_template_user_preview.rb → locale_user_preview.rb} +3 -3
- data/lib/phrase/models/notification_group_detail.rb +1 -1
- data/lib/phrase/models/project.rb +10 -1
- data/lib/phrase/models/project_create_parameters.rb +22 -2
- data/lib/phrase/models/project_details.rb +10 -1
- data/lib/phrase/models/project_update_parameters.rb +22 -2
- data/lib/phrase/models/translations_exclude_parameters.rb +1 -1
- data/lib/phrase/models/translations_include_parameters.rb +1 -1
- data/lib/phrase/models/translations_review_parameters.rb +1 -1
- data/lib/phrase/models/translations_search_parameters.rb +1 -1
- data/lib/phrase/models/translations_unverify_parameters.rb +1 -1
- data/lib/phrase/models/translations_verify_parameters.rb +1 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +5 -2
- data/spec/api/bitbucket_sync_api_spec.rb +2 -2
- data/spec/api/branches_api_spec.rb +3 -3
- data/spec/api/git_hub_sync_api_spec.rb +2 -2
- data/spec/api/git_lab_sync_api_spec.rb +2 -2
- data/spec/api/job_comments_api_spec.rb +3 -3
- data/spec/api/job_template_locales_api_spec.rb +4 -4
- data/spec/api/job_templates_api_spec.rb +17 -17
- data/spec/api/locales_api_spec.rb +4 -2
- data/spec/api/notification_groups_api_spec.rb +2 -2
- data/spec/api/notifications_api_spec.rb +2 -2
- data/spec/api/search_api_spec.rb +1 -1
- data/spec/api/translations_api_spec.rb +9 -7
- data/spec/api/uploads_api_spec.rb +1 -1
- data/spec/models/job_locale_spec.rb +6 -0
- data/spec/models/job_locale_update_parameters_spec.rb +12 -0
- data/spec/models/job_locales_create_parameters_spec.rb +12 -0
- data/spec/models/job_template_details1_spec.rb +41 -0
- data/spec/models/job_template_details_spec.rb +83 -0
- data/spec/models/job_template_locale_update_parameters_spec.rb +12 -0
- data/spec/models/job_template_locales_create_parameters_spec.rb +12 -0
- data/spec/models/{job_template_locale_spec.rb → job_template_locales_spec.rb} +12 -6
- data/spec/models/locale_team_preview_spec.rb +41 -0
- data/spec/models/{job_template_user_preview_spec.rb → locale_user_preview_spec.rb} +6 -6
- data/spec/models/project_create_parameters_spec.rb +12 -0
- data/spec/models/project_details_spec.rb +6 -0
- data/spec/models/project_spec.rb +6 -0
- data/spec/models/project_update_parameters_spec.rb +12 -0
- metadata +237 -225
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47f6c4332b5679e8b3c28c543b8a651a2ad839a8fb706fd63c731a59decce041
|
4
|
+
data.tar.gz: 16b7a3335d2f6a2f08bfb702aac3ea2b9d2b5bae3ead4420870afe2c25dd4d99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f666459ddd0eded14e7d6c6f54126c6c969a5fef445dc4878c00b4b35be1216a327e91d556ed3ce3c63d102b8147895b38323b1c3effdd6b228b69fdb4fa87
|
7
|
+
data.tar.gz: 7d8bba43e41afe268313e985b044796a03e15a756509ce67661df19d9569df95773b3a75361939ea2d92935c7658b61ba9239fe21f9d29e28536e5e24ed5e4a4
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Phrase Strings is a translation management platform for software projects. You c
|
|
7
7
|
## This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 2.8.
|
10
|
+
- Package version: 2.8.7
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/)
|
13
13
|
|
@@ -56,10 +56,10 @@ gem build phrase.gemspec
|
|
56
56
|
Then install the gem locally:
|
57
57
|
|
58
58
|
```shell
|
59
|
-
gem install ./phrase-2.8.
|
59
|
+
gem install ./phrase-2.8.7.gem
|
60
60
|
```
|
61
61
|
|
62
|
-
(for development, run `gem install --dev ./phrase-2.8.
|
62
|
+
(for development, run `gem install --dev ./phrase-2.8.7.gem` to install the development dependencies)
|
63
63
|
|
64
64
|
## Getting Started
|
65
65
|
|
@@ -218,9 +218,9 @@ Class | Method | HTTP request | Description
|
|
218
218
|
*Phrase::JobTemplateLocalesApi* | [**job_template_locales_list**](docs/JobTemplateLocalesApi.md#job_template_locales_list) | **GET** /projects/{project_id}/job_templates/{job_template_id}/locales | List job template locales
|
219
219
|
*Phrase::JobTemplatesApi* | [**job_template_create**](docs/JobTemplatesApi.md#job_template_create) | **POST** /projects/{project_id}/job_templates | Create a job template
|
220
220
|
*Phrase::JobTemplatesApi* | [**job_template_delete**](docs/JobTemplatesApi.md#job_template_delete) | **DELETE** /projects/{project_id}/job_templates/{id} | Delete a job template
|
221
|
-
*Phrase::JobTemplatesApi* | [**job_template_show**](docs/JobTemplatesApi.md#job_template_show) | **GET** /projects/{project_id}/job_templates/{id} | Get a single job template
|
222
221
|
*Phrase::JobTemplatesApi* | [**job_template_update**](docs/JobTemplatesApi.md#job_template_update) | **PATCH** /projects/{project_id}/job_templates/{id} | Update a job template
|
223
222
|
*Phrase::JobTemplatesApi* | [**job_templates_list**](docs/JobTemplatesApi.md#job_templates_list) | **GET** /projects/{project_id}/job_templates | List job templates
|
223
|
+
*Phrase::JobTemplatesApi* | [**job_templates_show**](docs/JobTemplatesApi.md#job_templates_show) | **GET** /projects/{project_id}/job_templates/{id} | Get a single job template
|
224
224
|
*Phrase::JobsApi* | [**job_complete**](docs/JobsApi.md#job_complete) | **POST** /projects/{project_id}/jobs/{id}/complete | Complete a job
|
225
225
|
*Phrase::JobsApi* | [**job_create**](docs/JobsApi.md#job_create) | **POST** /projects/{project_id}/jobs | Create a job
|
226
226
|
*Phrase::JobsApi* | [**job_delete**](docs/JobsApi.md#job_delete) | **DELETE** /projects/{project_id}/jobs/{id} | Delete a job
|
@@ -320,7 +320,7 @@ Class | Method | HTTP request | Description
|
|
320
320
|
*Phrase::TeamsApi* | [**teams_users_delete**](docs/TeamsApi.md#teams_users_delete) | **DELETE** /accounts/{account_id}/teams/{team_id}/users/{id} | Remove User
|
321
321
|
*Phrase::TranslationsApi* | [**translation_create**](docs/TranslationsApi.md#translation_create) | **POST** /projects/{project_id}/translations | Create a translation
|
322
322
|
*Phrase::TranslationsApi* | [**translation_exclude**](docs/TranslationsApi.md#translation_exclude) | **PATCH** /projects/{project_id}/translations/{id}/exclude | Exclude a translation from export
|
323
|
-
*Phrase::TranslationsApi* | [**translation_include**](docs/TranslationsApi.md#translation_include) | **PATCH** /projects/{project_id}/translations/{id}/include |
|
323
|
+
*Phrase::TranslationsApi* | [**translation_include**](docs/TranslationsApi.md#translation_include) | **PATCH** /projects/{project_id}/translations/{id}/include | Include a translation
|
324
324
|
*Phrase::TranslationsApi* | [**translation_review**](docs/TranslationsApi.md#translation_review) | **PATCH** /projects/{project_id}/translations/{id}/review | Review a translation
|
325
325
|
*Phrase::TranslationsApi* | [**translation_show**](docs/TranslationsApi.md#translation_show) | **GET** /projects/{project_id}/translations/{id} | Get a single translation
|
326
326
|
*Phrase::TranslationsApi* | [**translation_unverify**](docs/TranslationsApi.md#translation_unverify) | **PATCH** /projects/{project_id}/translations/{id}/unverify | Mark a translation as unverified
|
@@ -328,15 +328,15 @@ Class | Method | HTTP request | Description
|
|
328
328
|
*Phrase::TranslationsApi* | [**translation_verify**](docs/TranslationsApi.md#translation_verify) | **PATCH** /projects/{project_id}/translations/{id}/verify | Verify a translation
|
329
329
|
*Phrase::TranslationsApi* | [**translations_by_key**](docs/TranslationsApi.md#translations_by_key) | **GET** /projects/{project_id}/keys/{key_id}/translations | List translations by key
|
330
330
|
*Phrase::TranslationsApi* | [**translations_by_locale**](docs/TranslationsApi.md#translations_by_locale) | **GET** /projects/{project_id}/locales/{locale_id}/translations | List translations by locale
|
331
|
-
*Phrase::TranslationsApi* | [**translations_exclude_collection**](docs/TranslationsApi.md#translations_exclude_collection) | **PATCH** /projects/{project_id}/translations/exclude |
|
332
|
-
*Phrase::TranslationsApi* | [**translations_include_collection**](docs/TranslationsApi.md#translations_include_collection) | **PATCH** /projects/{project_id}/translations/include |
|
331
|
+
*Phrase::TranslationsApi* | [**translations_exclude_collection**](docs/TranslationsApi.md#translations_exclude_collection) | **PATCH** /projects/{project_id}/translations/exclude | Exclude translations by query
|
332
|
+
*Phrase::TranslationsApi* | [**translations_include_collection**](docs/TranslationsApi.md#translations_include_collection) | **PATCH** /projects/{project_id}/translations/include | Include translations by query
|
333
333
|
*Phrase::TranslationsApi* | [**translations_list**](docs/TranslationsApi.md#translations_list) | **GET** /projects/{project_id}/translations | List all translations
|
334
334
|
*Phrase::TranslationsApi* | [**translations_review_collection**](docs/TranslationsApi.md#translations_review_collection) | **PATCH** /projects/{project_id}/translations/review | Review translations selected by query
|
335
335
|
*Phrase::TranslationsApi* | [**translations_search**](docs/TranslationsApi.md#translations_search) | **POST** /projects/{project_id}/translations/search | Search translations
|
336
|
-
*Phrase::TranslationsApi* | [**translations_unverify_collection**](docs/TranslationsApi.md#translations_unverify_collection) | **PATCH** /projects/{project_id}/translations/unverify |
|
337
|
-
*Phrase::TranslationsApi* | [**translations_verify_collection**](docs/TranslationsApi.md#translations_verify_collection) | **PATCH** /projects/{project_id}/translations/verify | Verify translations
|
336
|
+
*Phrase::TranslationsApi* | [**translations_unverify_collection**](docs/TranslationsApi.md#translations_unverify_collection) | **PATCH** /projects/{project_id}/translations/unverify | Unverify translations by query
|
337
|
+
*Phrase::TranslationsApi* | [**translations_verify_collection**](docs/TranslationsApi.md#translations_verify_collection) | **PATCH** /projects/{project_id}/translations/verify | Verify translations by query
|
338
338
|
*Phrase::UploadsApi* | [**upload_create**](docs/UploadsApi.md#upload_create) | **POST** /projects/{project_id}/uploads | Upload a new file
|
339
|
-
*Phrase::UploadsApi* | [**upload_show**](docs/UploadsApi.md#upload_show) | **GET** /projects/{project_id}/uploads/{id} |
|
339
|
+
*Phrase::UploadsApi* | [**upload_show**](docs/UploadsApi.md#upload_show) | **GET** /projects/{project_id}/uploads/{id} | Get a single upload
|
340
340
|
*Phrase::UploadsApi* | [**uploads_list**](docs/UploadsApi.md#uploads_list) | **GET** /projects/{project_id}/uploads | List uploads
|
341
341
|
*Phrase::UsersApi* | [**show_user**](docs/UsersApi.md#show_user) | **GET** /user | Show current User
|
342
342
|
*Phrase::VariablesApi* | [**variable_create**](docs/VariablesApi.md#variable_create) | **POST** /projects/{project_id}/variables | Create a variable
|
@@ -437,12 +437,13 @@ Class | Method | HTTP request | Description
|
|
437
437
|
- [Phrase::JobStartParameters](docs/JobStartParameters.md)
|
438
438
|
- [Phrase::JobTemplate](docs/JobTemplate.md)
|
439
439
|
- [Phrase::JobTemplateCreateParameters](docs/JobTemplateCreateParameters.md)
|
440
|
-
- [Phrase::
|
440
|
+
- [Phrase::JobTemplateDetails](docs/JobTemplateDetails.md)
|
441
|
+
- [Phrase::JobTemplateDetails1](docs/JobTemplateDetails1.md)
|
441
442
|
- [Phrase::JobTemplateLocaleUpdateParameters](docs/JobTemplateLocaleUpdateParameters.md)
|
443
|
+
- [Phrase::JobTemplateLocales](docs/JobTemplateLocales.md)
|
442
444
|
- [Phrase::JobTemplateLocalesCreateParameters](docs/JobTemplateLocalesCreateParameters.md)
|
443
445
|
- [Phrase::JobTemplatePreview](docs/JobTemplatePreview.md)
|
444
446
|
- [Phrase::JobTemplateUpdateParameters](docs/JobTemplateUpdateParameters.md)
|
445
|
-
- [Phrase::JobTemplateUserPreview](docs/JobTemplateUserPreview.md)
|
446
447
|
- [Phrase::JobUpdateParameters](docs/JobUpdateParameters.md)
|
447
448
|
- [Phrase::KeyCreateParameters](docs/KeyCreateParameters.md)
|
448
449
|
- [Phrase::KeyPreview](docs/KeyPreview.md)
|
@@ -459,7 +460,9 @@ Class | Method | HTTP request | Description
|
|
459
460
|
- [Phrase::LocalePreview](docs/LocalePreview.md)
|
460
461
|
- [Phrase::LocalePreview1](docs/LocalePreview1.md)
|
461
462
|
- [Phrase::LocaleStatistics](docs/LocaleStatistics.md)
|
463
|
+
- [Phrase::LocaleTeamPreview](docs/LocaleTeamPreview.md)
|
462
464
|
- [Phrase::LocaleUpdateParameters](docs/LocaleUpdateParameters.md)
|
465
|
+
- [Phrase::LocaleUserPreview](docs/LocaleUserPreview.md)
|
463
466
|
- [Phrase::Member](docs/Member.md)
|
464
467
|
- [Phrase::MemberProjectDetail](docs/MemberProjectDetail.md)
|
465
468
|
- [Phrase::MemberProjectDetailProjectRoles](docs/MemberProjectDetailProjectRoles.md)
|
data/docs/BitbucketSyncApi.md
CHANGED
@@ -16,7 +16,7 @@ Method | HTTP request | Description
|
|
16
16
|
|
17
17
|
Export from Phrase Strings to Bitbucket
|
18
18
|
|
19
|
-
Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository.
|
19
|
+
Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i>
|
20
20
|
|
21
21
|
### Example
|
22
22
|
|
@@ -79,7 +79,7 @@ Response<([**BitbucketSyncExportResponse**](BitbucketSyncExportResponse.md))>
|
|
79
79
|
|
80
80
|
Import to Phrase Strings from Bitbucket
|
81
81
|
|
82
|
-
Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository.
|
82
|
+
Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i>
|
83
83
|
|
84
84
|
### Example
|
85
85
|
|
data/docs/BranchesApi.md
CHANGED
@@ -20,7 +20,7 @@ Method | HTTP request | Description
|
|
20
20
|
|
21
21
|
Compare branches
|
22
22
|
|
23
|
-
Compare branch with main branch.
|
23
|
+
Compare branch with main branch. <br><br><i>Note: Comparing a branch may take several minutes depending on the project size.</i>
|
24
24
|
|
25
25
|
### Example
|
26
26
|
|
@@ -82,7 +82,7 @@ Response<(nil (empty response body))>
|
|
82
82
|
|
83
83
|
Create a branch
|
84
84
|
|
85
|
-
Create a new branch.
|
85
|
+
Create a new branch. <br><br><i>Note: Creating a new branch may take several minutes depending on the project size.</i>
|
86
86
|
|
87
87
|
### Example
|
88
88
|
|
@@ -207,7 +207,7 @@ Response<(nil (empty response body))>
|
|
207
207
|
|
208
208
|
Merge a branch
|
209
209
|
|
210
|
-
Merge an existing branch.
|
210
|
+
Merge an existing branch. <br><br><i>Note: Merging a branch may take several minutes depending on diff size.</i>
|
211
211
|
|
212
212
|
### Example
|
213
213
|
|
data/docs/GitHubSyncApi.md
CHANGED
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
15
15
|
|
16
16
|
Export from Phrase Strings to GitHub
|
17
17
|
|
18
|
-
Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository.
|
18
|
+
Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i>
|
19
19
|
|
20
20
|
### Example
|
21
21
|
|
@@ -75,7 +75,7 @@ Response<(nil (empty response body))>
|
|
75
75
|
|
76
76
|
Import to Phrase Strings from GitHub
|
77
77
|
|
78
|
-
Import files to Phrase Strings from your connected GitHub repository.
|
78
|
+
Import files to Phrase Strings from your connected GitHub repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i>
|
79
79
|
|
80
80
|
### Example
|
81
81
|
|
data/docs/GitLabSyncApi.md
CHANGED
@@ -82,7 +82,7 @@ Response<(nil (empty response body))>
|
|
82
82
|
|
83
83
|
Export from Phrase Strings to GitLab
|
84
84
|
|
85
|
-
Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository.
|
85
|
+
Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i>
|
86
86
|
|
87
87
|
### Example
|
88
88
|
|
@@ -212,7 +212,7 @@ Response<([**Array<GitlabSyncHistory>**](GitlabSyncHistory.md))>
|
|
212
212
|
|
213
213
|
Import from GitLab to Phrase
|
214
214
|
|
215
|
-
Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository.
|
215
|
+
Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i>
|
216
216
|
|
217
217
|
### Example
|
218
218
|
|
data/docs/JobCommentsApi.md
CHANGED
@@ -145,7 +145,7 @@ Response<(nil (empty response body))>
|
|
145
145
|
|
146
146
|
## job_comment_show
|
147
147
|
|
148
|
-
>
|
148
|
+
> JobComment job_comment_show(project_id, job_id, id, opts)
|
149
149
|
|
150
150
|
Get a single job comment
|
151
151
|
|
@@ -198,7 +198,7 @@ Name | Type | Description | Notes
|
|
198
198
|
|
199
199
|
### Return type
|
200
200
|
|
201
|
-
Response<(**
|
201
|
+
Response<([**JobComment**](JobComment.md))>
|
202
202
|
|
203
203
|
### Authorization
|
204
204
|
|
@@ -212,7 +212,7 @@ Response<(**Object**)>
|
|
212
212
|
|
213
213
|
## job_comment_update
|
214
214
|
|
215
|
-
>
|
215
|
+
> JobComment job_comment_update(project_id, key_id, id, job_comment_update_parameters, opts)
|
216
216
|
|
217
217
|
Update a job comment
|
218
218
|
|
@@ -265,7 +265,7 @@ Name | Type | Description | Notes
|
|
265
265
|
|
266
266
|
### Return type
|
267
267
|
|
268
|
-
Response<(**
|
268
|
+
Response<([**JobComment**](JobComment.md))>
|
269
269
|
|
270
270
|
### Authorization
|
271
271
|
|
@@ -279,7 +279,7 @@ Response<(**Object**)>
|
|
279
279
|
|
280
280
|
## job_comments_list
|
281
281
|
|
282
|
-
> Array<
|
282
|
+
> Array<JobComment> job_comments_list(project_id, job_id, opts)
|
283
283
|
|
284
284
|
List job comments
|
285
285
|
|
@@ -330,7 +330,7 @@ Name | Type | Description | Notes
|
|
330
330
|
|
331
331
|
### Return type
|
332
332
|
|
333
|
-
Response<(**Array<
|
333
|
+
Response<([**Array<JobComment>**](JobComment.md))>
|
334
334
|
|
335
335
|
### Authorization
|
336
336
|
|
data/docs/JobLocale.md
CHANGED
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
|
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**job** | [**JobPreview**](JobPreview.md) | | [optional]
|
9
9
|
**locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
10
|
-
**users** | [**Array<
|
10
|
+
**users** | [**Array<LocaleUserPreview>**](LocaleUserPreview.md) | | [optional]
|
11
|
+
**teams** | [**Array<LocaleTeamPreview>**](LocaleTeamPreview.md) | | [optional]
|
11
12
|
**completed** | **Boolean** | | [optional]
|
12
13
|
**translation_completed_at** | **DateTime** | | [optional]
|
13
14
|
**review_completed_at** | **DateTime** | | [optional]
|
@@ -21,6 +22,7 @@ instance = Phrase::JobLocale.new(id: null,
|
|
21
22
|
job: null,
|
22
23
|
locale: null,
|
23
24
|
users: null,
|
25
|
+
teams: null,
|
24
26
|
completed: null,
|
25
27
|
translation_completed_at: null,
|
26
28
|
review_completed_at: null)
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**locale_id** | **String** | locale id | [optional]
|
9
9
|
**user_ids** | **Array<String>** | Array of user ids to be assigned to the job locale | [optional]
|
10
10
|
**reviewer_ids** | **Array<String>** | Array of reviewer ids to be assigned to the job locale as reviewers | [optional]
|
11
|
+
**translator_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as translators | [optional]
|
12
|
+
**reviewer_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as reviewers | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'Phrase'
|
|
17
19
|
instance = Phrase::JobLocaleUpdateParameters.new(branch: my-feature-branch,
|
18
20
|
locale_id: abcd1234cdef1234abcd1234cdef1234,
|
19
21
|
user_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
20
|
-
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"]
|
22
|
+
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
23
|
+
translator_team_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
24
|
+
reviewer_team_ids: ["abcd1234cdef1234abcd1234cdef1234"])
|
21
25
|
```
|
22
26
|
|
23
27
|
|
@@ -5,9 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**branch** | **String** | specify the branch to use | [optional]
|
8
|
-
**locale_id** | **String** | locale id |
|
8
|
+
**locale_id** | **String** | locale id |
|
9
9
|
**user_ids** | **Array<String>** | Array of user ids to be assigned to the job locale as translators | [optional]
|
10
10
|
**reviewer_ids** | **Array<String>** | Array of reviewer ids to be assigned to the job locale as reviewers | [optional]
|
11
|
+
**translator_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as translators | [optional]
|
12
|
+
**reviewer_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as reviewers | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'Phrase'
|
|
17
19
|
instance = Phrase::JobLocalesCreateParameters.new(branch: my-feature-branch,
|
18
20
|
locale_id: abcd1234cdef1234abcd1234cdef1234,
|
19
21
|
user_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
20
|
-
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"]
|
22
|
+
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
23
|
+
translator_team_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
24
|
+
reviewer_team_ids: ["abcd1234cdef1234abcd1234cdef1234"])
|
21
25
|
```
|
22
26
|
|
23
27
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Phrase::JobTemplateDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | | [optional]
|
8
|
+
**name** | **String** | | [optional]
|
9
|
+
**briefing** | **String** | | [optional]
|
10
|
+
**project** | [**ProjectShort**](ProjectShort.md) | | [optional]
|
11
|
+
**branch** | [**Branch**](Branch.md) | | [optional]
|
12
|
+
**created_at** | **DateTime** | | [optional]
|
13
|
+
**updated_at** | **DateTime** | | [optional]
|
14
|
+
**owner** | [**UserPreview**](UserPreview.md) | | [optional]
|
15
|
+
**creator** | [**UserPreview**](UserPreview.md) | | [optional]
|
16
|
+
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
|
17
|
+
|
18
|
+
## Code Sample
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'Phrase'
|
22
|
+
|
23
|
+
instance = Phrase::JobTemplateDetails.new(id: null,
|
24
|
+
name: null,
|
25
|
+
briefing: null,
|
26
|
+
project: null,
|
27
|
+
branch: null,
|
28
|
+
created_at: null,
|
29
|
+
updated_at: null,
|
30
|
+
owner: null,
|
31
|
+
creator: null,
|
32
|
+
locales: null)
|
33
|
+
```
|
34
|
+
|
35
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Phrase::JobTemplateDetails1
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**owner** | [**UserPreview**](UserPreview.md) | | [optional]
|
8
|
+
**creator** | [**UserPreview**](UserPreview.md) | | [optional]
|
9
|
+
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'Phrase'
|
15
|
+
|
16
|
+
instance = Phrase::JobTemplateDetails1.new(owner: null,
|
17
|
+
creator: null,
|
18
|
+
locales: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -5,9 +5,11 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**branch** | **String** | specify the branch to use | [optional]
|
8
|
-
**locale_id** | **String** | locale id |
|
8
|
+
**locale_id** | **String** | locale id | [optional]
|
9
9
|
**user_ids** | **Array<String>** | Array of user ids to be assigned to the job template locale | [optional]
|
10
10
|
**reviewer_ids** | **Array<String>** | Array of reviewer ids to be assigned to the job template locale | [optional]
|
11
|
+
**translator_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as translators | [optional]
|
12
|
+
**reviewer_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as reviewers | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'Phrase'
|
|
17
19
|
instance = Phrase::JobTemplateLocaleUpdateParameters.new(branch: my-feature-branch,
|
18
20
|
locale_id: abcd1234cdef1234abcd1234cdef1234,
|
19
21
|
user_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
20
|
-
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"]
|
22
|
+
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
23
|
+
translator_team_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
24
|
+
reviewer_team_ids: ["abcd1234cdef1234abcd1234cdef1234"])
|
21
25
|
```
|
22
26
|
|
23
27
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Phrase::
|
1
|
+
# Phrase::JobTemplateLocales
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,17 +7,19 @@ Name | Type | Description | Notes
|
|
7
7
|
**id** | **String** | | [optional]
|
8
8
|
**job_template** | [**JobTemplatePreview**](JobTemplatePreview.md) | | [optional]
|
9
9
|
**locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
|
10
|
-
**users** | [**Array<
|
10
|
+
**users** | [**Array<LocaleUserPreview>**](LocaleUserPreview.md) | | [optional]
|
11
|
+
**teams** | [**Array<LocaleTeamPreview>**](LocaleTeamPreview.md) | | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
14
15
|
```ruby
|
15
16
|
require 'Phrase'
|
16
17
|
|
17
|
-
instance = Phrase::
|
18
|
+
instance = Phrase::JobTemplateLocales.new(id: null,
|
18
19
|
job_template: null,
|
19
20
|
locale: null,
|
20
|
-
users: null
|
21
|
+
users: null,
|
22
|
+
teams: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
@@ -80,7 +80,7 @@ Response<(nil (empty response body))>
|
|
80
80
|
|
81
81
|
## job_template_locale_show
|
82
82
|
|
83
|
-
>
|
83
|
+
> JobTemplateLocales job_template_locale_show(project_id, job_template_id, job_template_locale_id, opts)
|
84
84
|
|
85
85
|
Get a single job template locale
|
86
86
|
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
|
134
134
|
### Return type
|
135
135
|
|
136
|
-
Response<(**
|
136
|
+
Response<([**JobTemplateLocales**](JobTemplateLocales.md))>
|
137
137
|
|
138
138
|
### Authorization
|
139
139
|
|
@@ -147,7 +147,7 @@ Response<(**Object**)>
|
|
147
147
|
|
148
148
|
## job_template_locale_update
|
149
149
|
|
150
|
-
>
|
150
|
+
> JobTemplateLocales job_template_locale_update(project_id, job_template_id, job_template_locale_id, job_template_locale_update_parameters, opts)
|
151
151
|
|
152
152
|
Update a job template locale
|
153
153
|
|
@@ -200,7 +200,7 @@ Name | Type | Description | Notes
|
|
200
200
|
|
201
201
|
### Return type
|
202
202
|
|
203
|
-
Response<(**
|
203
|
+
Response<([**JobTemplateLocales**](JobTemplateLocales.md))>
|
204
204
|
|
205
205
|
### Authorization
|
206
206
|
|
@@ -214,7 +214,7 @@ Response<(**Object**)>
|
|
214
214
|
|
215
215
|
## job_template_locales_create
|
216
216
|
|
217
|
-
>
|
217
|
+
> JobTemplateLocales job_template_locales_create(project_id, job_template_id, job_template_locales_create_parameters, opts)
|
218
218
|
|
219
219
|
Create a job template locale
|
220
220
|
|
@@ -265,7 +265,7 @@ Name | Type | Description | Notes
|
|
265
265
|
|
266
266
|
### Return type
|
267
267
|
|
268
|
-
Response<([**
|
268
|
+
Response<([**JobTemplateLocales**](JobTemplateLocales.md))>
|
269
269
|
|
270
270
|
### Authorization
|
271
271
|
|
@@ -279,7 +279,7 @@ Response<([**JobTemplateLocale**](JobTemplateLocale.md))>
|
|
279
279
|
|
280
280
|
## job_template_locales_list
|
281
281
|
|
282
|
-
> Array<
|
282
|
+
> Array<JobTemplateLocales> job_template_locales_list(project_id, job_template_id, opts)
|
283
283
|
|
284
284
|
List job template locales
|
285
285
|
|
@@ -334,7 +334,7 @@ Name | Type | Description | Notes
|
|
334
334
|
|
335
335
|
### Return type
|
336
336
|
|
337
|
-
Response<(**Array<
|
337
|
+
Response<([**Array<JobTemplateLocales>**](JobTemplateLocales.md))>
|
338
338
|
|
339
339
|
### Authorization
|
340
340
|
|
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**locale_id** | **String** | locale id |
|
9
9
|
**user_ids** | **Array<String>** | Array of user ids to be assigned to the job template locale | [optional]
|
10
10
|
**reviewer_ids** | **Array<String>** | Array of reviewer ids to be assigned to the job template locale | [optional]
|
11
|
+
**translator_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as translators | [optional]
|
12
|
+
**reviewer_team_ids** | **Array<String>** | Array of team ids to be assigned to the job locale as reviewers | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'Phrase'
|
|
17
19
|
instance = Phrase::JobTemplateLocalesCreateParameters.new(branch: my-feature-branch,
|
18
20
|
locale_id: abcd1234cdef1234abcd1234cdef1234,
|
19
21
|
user_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
20
|
-
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"]
|
22
|
+
reviewer_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
23
|
+
translator_team_ids: ["abcd1234cdef1234abcd1234cdef1234"],
|
24
|
+
reviewer_team_ids: ["abcd1234cdef1234abcd1234cdef1234"])
|
21
25
|
```
|
22
26
|
|
23
27
|
|