phrase 2.8.3 → 2.9.0
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 +31 -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/OrganizationJobTemplate.md +25 -0
- data/docs/OrganizationJobTemplateCreateParameters.md +19 -0
- data/docs/OrganizationJobTemplateDetails.md +31 -0
- data/docs/OrganizationJobTemplateLocaleUpdateParameters.md +27 -0
- data/docs/OrganizationJobTemplateLocalesApi.md +341 -0
- data/docs/OrganizationJobTemplateLocalesCreateParameters.md +27 -0
- data/docs/OrganizationJobTemplateUpdateParameters.md +19 -0
- data/docs/OrganizationJobTemplatesApi.md +331 -0
- 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/organization_job_template_locales_api.rb +408 -0
- data/lib/phrase/api/organization_job_templates_api.rb +378 -0
- 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/organization_job_template.rb +230 -0
- data/lib/phrase/models/organization_job_template_create_parameters.rb +210 -0
- data/lib/phrase/models/organization_job_template_details.rb +267 -0
- data/lib/phrase/models/organization_job_template_locale_update_parameters.rb +253 -0
- data/lib/phrase/models/organization_job_template_locales_create_parameters.rb +263 -0
- data/lib/phrase/models/organization_job_template_update_parameters.rb +210 -0
- 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 +13 -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/organization_job_template_locales_api_spec.rb +100 -0
- data/spec/api/organization_job_templates_api_spec.rb +95 -0
- 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/organization_job_template_create_parameters_spec.rb +35 -0
- data/spec/models/organization_job_template_details_spec.rb +71 -0
- data/spec/models/organization_job_template_locale_update_parameters_spec.rb +59 -0
- data/spec/models/organization_job_template_locales_create_parameters_spec.rb +59 -0
- data/spec/models/organization_job_template_spec.rb +53 -0
- data/spec/models/organization_job_template_update_parameters_spec.rb +35 -0
- 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 +269 -225
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa22f134a6c2fff285e1b8156f8996425ad5fb1ca2c200d53716432d807c39df
|
|
4
|
+
data.tar.gz: 4d1ff0a13cb19365df3595b46b0279fe8ac57354667cc036604ed7c787f30b85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b4e276e204df624cec6c4afba2d4d67fdaa48df9b8620fcf7149362aaa5af42d6b58a7af02db33f66858658cb7a7da859645ba312999b45adf71ea6be00a34a
|
|
7
|
+
data.tar.gz: 3a7640bdf6629aa6bd05f923be402f08834235d02b61a12ce4b5bc5d084048da5e5dfc3450243df95fc35f7f0b97c95a352433fe0e32ace3634f8bf03f473827
|
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.
|
|
10
|
+
- Package version: 2.9.0
|
|
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.
|
|
59
|
+
gem install ./phrase-2.9.0.gem
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
(for development, run `gem install --dev ./phrase-2.
|
|
62
|
+
(for development, run `gem install --dev ./phrase-2.9.0.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
|
|
@@ -268,6 +268,16 @@ Class | Method | HTTP request | Description
|
|
|
268
268
|
*Phrase::OrdersApi* | [**order_delete**](docs/OrdersApi.md#order_delete) | **DELETE** /projects/{project_id}/orders/{id} | Cancel an order
|
|
269
269
|
*Phrase::OrdersApi* | [**order_show**](docs/OrdersApi.md#order_show) | **GET** /projects/{project_id}/orders/{id} | Get a single order
|
|
270
270
|
*Phrase::OrdersApi* | [**orders_list**](docs/OrdersApi.md#orders_list) | **GET** /projects/{project_id}/orders | List orders
|
|
271
|
+
*Phrase::OrganizationJobTemplateLocalesApi* | [**organization_job_template_locale_delete**](docs/OrganizationJobTemplateLocalesApi.md#organization_job_template_locale_delete) | **DELETE** /accounts/{account_id}/job_templates/{job_template_id}/locales/{job_template_locale_id} | Delete an organization job template locale
|
|
272
|
+
*Phrase::OrganizationJobTemplateLocalesApi* | [**organization_job_template_locale_show**](docs/OrganizationJobTemplateLocalesApi.md#organization_job_template_locale_show) | **GET** /accounts/{account_id}/job_templates/{job_template_id}/locales/{job_template_locale_id} | Get a single organization job template locale
|
|
273
|
+
*Phrase::OrganizationJobTemplateLocalesApi* | [**organization_job_template_locale_update**](docs/OrganizationJobTemplateLocalesApi.md#organization_job_template_locale_update) | **PATCH** /accounts/{account_id}/job_templates/{job_template_id}/locales/{job_template_locale_id} | Update an organization job template locale
|
|
274
|
+
*Phrase::OrganizationJobTemplateLocalesApi* | [**organization_job_template_locales_create**](docs/OrganizationJobTemplateLocalesApi.md#organization_job_template_locales_create) | **POST** /accounts/{account_id}/job_templates/{job_template_id}/locales | Create an organization job template locale
|
|
275
|
+
*Phrase::OrganizationJobTemplateLocalesApi* | [**organization_job_template_locales_list**](docs/OrganizationJobTemplateLocalesApi.md#organization_job_template_locales_list) | **GET** /accounts/{account_id}/job_templates/{job_template_id}/locales | List organization job template locales
|
|
276
|
+
*Phrase::OrganizationJobTemplatesApi* | [**organization_job_template_create**](docs/OrganizationJobTemplatesApi.md#organization_job_template_create) | **POST** /accounts/{account_id}/job_templates | Create an organization job template
|
|
277
|
+
*Phrase::OrganizationJobTemplatesApi* | [**organization_job_template_delete**](docs/OrganizationJobTemplatesApi.md#organization_job_template_delete) | **DELETE** /accounts/{account_id}/job_templates/{id} | Delete an organization job template
|
|
278
|
+
*Phrase::OrganizationJobTemplatesApi* | [**organization_job_template_update**](docs/OrganizationJobTemplatesApi.md#organization_job_template_update) | **PATCH** /accounts/{account_id}/job_templates/{id} | Update an organization job template
|
|
279
|
+
*Phrase::OrganizationJobTemplatesApi* | [**organization_job_templates_list**](docs/OrganizationJobTemplatesApi.md#organization_job_templates_list) | **GET** /accounts/{account_id}/job_templates | List organization job templates
|
|
280
|
+
*Phrase::OrganizationJobTemplatesApi* | [**organization_job_templates_show**](docs/OrganizationJobTemplatesApi.md#organization_job_templates_show) | **GET** /accounts/{account_id}/job_templates/{id} | Get a single organization job template
|
|
271
281
|
*Phrase::ProjectsApi* | [**project_create**](docs/ProjectsApi.md#project_create) | **POST** /projects | Create a project
|
|
272
282
|
*Phrase::ProjectsApi* | [**project_delete**](docs/ProjectsApi.md#project_delete) | **DELETE** /projects/{id} | Delete a project
|
|
273
283
|
*Phrase::ProjectsApi* | [**project_show**](docs/ProjectsApi.md#project_show) | **GET** /projects/{id} | Get a single project
|
|
@@ -320,7 +330,7 @@ Class | Method | HTTP request | Description
|
|
|
320
330
|
*Phrase::TeamsApi* | [**teams_users_delete**](docs/TeamsApi.md#teams_users_delete) | **DELETE** /accounts/{account_id}/teams/{team_id}/users/{id} | Remove User
|
|
321
331
|
*Phrase::TranslationsApi* | [**translation_create**](docs/TranslationsApi.md#translation_create) | **POST** /projects/{project_id}/translations | Create a translation
|
|
322
332
|
*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 |
|
|
333
|
+
*Phrase::TranslationsApi* | [**translation_include**](docs/TranslationsApi.md#translation_include) | **PATCH** /projects/{project_id}/translations/{id}/include | Include a translation
|
|
324
334
|
*Phrase::TranslationsApi* | [**translation_review**](docs/TranslationsApi.md#translation_review) | **PATCH** /projects/{project_id}/translations/{id}/review | Review a translation
|
|
325
335
|
*Phrase::TranslationsApi* | [**translation_show**](docs/TranslationsApi.md#translation_show) | **GET** /projects/{project_id}/translations/{id} | Get a single translation
|
|
326
336
|
*Phrase::TranslationsApi* | [**translation_unverify**](docs/TranslationsApi.md#translation_unverify) | **PATCH** /projects/{project_id}/translations/{id}/unverify | Mark a translation as unverified
|
|
@@ -328,15 +338,15 @@ Class | Method | HTTP request | Description
|
|
|
328
338
|
*Phrase::TranslationsApi* | [**translation_verify**](docs/TranslationsApi.md#translation_verify) | **PATCH** /projects/{project_id}/translations/{id}/verify | Verify a translation
|
|
329
339
|
*Phrase::TranslationsApi* | [**translations_by_key**](docs/TranslationsApi.md#translations_by_key) | **GET** /projects/{project_id}/keys/{key_id}/translations | List translations by key
|
|
330
340
|
*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 |
|
|
341
|
+
*Phrase::TranslationsApi* | [**translations_exclude_collection**](docs/TranslationsApi.md#translations_exclude_collection) | **PATCH** /projects/{project_id}/translations/exclude | Exclude translations by query
|
|
342
|
+
*Phrase::TranslationsApi* | [**translations_include_collection**](docs/TranslationsApi.md#translations_include_collection) | **PATCH** /projects/{project_id}/translations/include | Include translations by query
|
|
333
343
|
*Phrase::TranslationsApi* | [**translations_list**](docs/TranslationsApi.md#translations_list) | **GET** /projects/{project_id}/translations | List all translations
|
|
334
344
|
*Phrase::TranslationsApi* | [**translations_review_collection**](docs/TranslationsApi.md#translations_review_collection) | **PATCH** /projects/{project_id}/translations/review | Review translations selected by query
|
|
335
345
|
*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
|
|
346
|
+
*Phrase::TranslationsApi* | [**translations_unverify_collection**](docs/TranslationsApi.md#translations_unverify_collection) | **PATCH** /projects/{project_id}/translations/unverify | Unverify translations by query
|
|
347
|
+
*Phrase::TranslationsApi* | [**translations_verify_collection**](docs/TranslationsApi.md#translations_verify_collection) | **PATCH** /projects/{project_id}/translations/verify | Verify translations by query
|
|
338
348
|
*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} |
|
|
349
|
+
*Phrase::UploadsApi* | [**upload_show**](docs/UploadsApi.md#upload_show) | **GET** /projects/{project_id}/uploads/{id} | Get a single upload
|
|
340
350
|
*Phrase::UploadsApi* | [**uploads_list**](docs/UploadsApi.md#uploads_list) | **GET** /projects/{project_id}/uploads | List uploads
|
|
341
351
|
*Phrase::UsersApi* | [**show_user**](docs/UsersApi.md#show_user) | **GET** /user | Show current User
|
|
342
352
|
*Phrase::VariablesApi* | [**variable_create**](docs/VariablesApi.md#variable_create) | **POST** /projects/{project_id}/variables | Create a variable
|
|
@@ -437,12 +447,13 @@ Class | Method | HTTP request | Description
|
|
|
437
447
|
- [Phrase::JobStartParameters](docs/JobStartParameters.md)
|
|
438
448
|
- [Phrase::JobTemplate](docs/JobTemplate.md)
|
|
439
449
|
- [Phrase::JobTemplateCreateParameters](docs/JobTemplateCreateParameters.md)
|
|
440
|
-
- [Phrase::
|
|
450
|
+
- [Phrase::JobTemplateDetails](docs/JobTemplateDetails.md)
|
|
451
|
+
- [Phrase::JobTemplateDetails1](docs/JobTemplateDetails1.md)
|
|
441
452
|
- [Phrase::JobTemplateLocaleUpdateParameters](docs/JobTemplateLocaleUpdateParameters.md)
|
|
453
|
+
- [Phrase::JobTemplateLocales](docs/JobTemplateLocales.md)
|
|
442
454
|
- [Phrase::JobTemplateLocalesCreateParameters](docs/JobTemplateLocalesCreateParameters.md)
|
|
443
455
|
- [Phrase::JobTemplatePreview](docs/JobTemplatePreview.md)
|
|
444
456
|
- [Phrase::JobTemplateUpdateParameters](docs/JobTemplateUpdateParameters.md)
|
|
445
|
-
- [Phrase::JobTemplateUserPreview](docs/JobTemplateUserPreview.md)
|
|
446
457
|
- [Phrase::JobUpdateParameters](docs/JobUpdateParameters.md)
|
|
447
458
|
- [Phrase::KeyCreateParameters](docs/KeyCreateParameters.md)
|
|
448
459
|
- [Phrase::KeyPreview](docs/KeyPreview.md)
|
|
@@ -459,7 +470,9 @@ Class | Method | HTTP request | Description
|
|
|
459
470
|
- [Phrase::LocalePreview](docs/LocalePreview.md)
|
|
460
471
|
- [Phrase::LocalePreview1](docs/LocalePreview1.md)
|
|
461
472
|
- [Phrase::LocaleStatistics](docs/LocaleStatistics.md)
|
|
473
|
+
- [Phrase::LocaleTeamPreview](docs/LocaleTeamPreview.md)
|
|
462
474
|
- [Phrase::LocaleUpdateParameters](docs/LocaleUpdateParameters.md)
|
|
475
|
+
- [Phrase::LocaleUserPreview](docs/LocaleUserPreview.md)
|
|
463
476
|
- [Phrase::Member](docs/Member.md)
|
|
464
477
|
- [Phrase::MemberProjectDetail](docs/MemberProjectDetail.md)
|
|
465
478
|
- [Phrase::MemberProjectDetailProjectRoles](docs/MemberProjectDetailProjectRoles.md)
|
|
@@ -471,6 +484,12 @@ Class | Method | HTTP request | Description
|
|
|
471
484
|
- [Phrase::NotificationGroupDetail](docs/NotificationGroupDetail.md)
|
|
472
485
|
- [Phrase::OrderConfirmParameters](docs/OrderConfirmParameters.md)
|
|
473
486
|
- [Phrase::OrderCreateParameters](docs/OrderCreateParameters.md)
|
|
487
|
+
- [Phrase::OrganizationJobTemplate](docs/OrganizationJobTemplate.md)
|
|
488
|
+
- [Phrase::OrganizationJobTemplateCreateParameters](docs/OrganizationJobTemplateCreateParameters.md)
|
|
489
|
+
- [Phrase::OrganizationJobTemplateDetails](docs/OrganizationJobTemplateDetails.md)
|
|
490
|
+
- [Phrase::OrganizationJobTemplateLocaleUpdateParameters](docs/OrganizationJobTemplateLocaleUpdateParameters.md)
|
|
491
|
+
- [Phrase::OrganizationJobTemplateLocalesCreateParameters](docs/OrganizationJobTemplateLocalesCreateParameters.md)
|
|
492
|
+
- [Phrase::OrganizationJobTemplateUpdateParameters](docs/OrganizationJobTemplateUpdateParameters.md)
|
|
474
493
|
- [Phrase::Project](docs/Project.md)
|
|
475
494
|
- [Phrase::ProjectCreateParameters](docs/ProjectCreateParameters.md)
|
|
476
495
|
- [Phrase::ProjectDetails](docs/ProjectDetails.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
|
|