phrase 4.29.0 → 4.30.1
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/CHANGELOG.md +14 -0
- data/README.md +4 -4
- data/docs/Account.md +8 -8
- data/docs/AccountDetails.md +10 -10
- data/docs/AccountSearchResult.md +8 -8
- data/docs/AffectedCount.md +2 -2
- data/docs/AffectedResources.md +2 -2
- data/docs/Authorization.md +9 -9
- data/docs/AuthorizationCreateParameters.md +4 -4
- data/docs/AuthorizationUpdateParameters.md +4 -4
- data/docs/AuthorizationWithToken.md +10 -10
- data/docs/Automation.md +17 -17
- data/docs/AutomationEvent.md +10 -10
- data/docs/AutomationEventProject.md +3 -3
- data/docs/AutomationsCreateParameters.md +10 -10
- data/docs/AutomationsCreateParameters1.md +10 -10
- data/docs/BlacklistedKey.md +5 -5
- data/docs/BlacklistedKeyCreateParameters.md +2 -2
- data/docs/BlacklistedKeyUpdateParameters.md +2 -2
- data/docs/Branch.md +12 -12
- data/docs/BranchComparison.md +5 -5
- data/docs/BranchComparisonChange.md +3 -3
- data/docs/BranchComparisonDiff.md +4 -4
- data/docs/BranchComparisonDiffConflictsValue.md +3 -3
- data/docs/BranchCreateComparisonParameters.md +2 -2
- data/docs/BranchCreateParameters.md +3 -3
- data/docs/BranchMergeParameters.md +2 -2
- data/docs/BranchName.md +2 -2
- data/docs/BranchSyncParameters.md +2 -2
- data/docs/BranchUpdateParameters.md +2 -2
- data/docs/CheckIssue.md +10 -10
- data/docs/Comment.md +9 -9
- data/docs/CommentCreateParameters.md +4 -4
- data/docs/CommentCreateParameters1.md +3 -3
- data/docs/CommentMarkReadParameters.md +2 -2
- data/docs/CommentReaction.md +7 -7
- data/docs/CommentUpdateParameters.md +3 -3
- data/docs/CurrentUser.md +9 -9
- data/docs/CustomMetadataDataType.md +1 -1
- data/docs/CustomMetadataPropertiesCreateParameters.md +6 -6
- data/docs/CustomMetadataPropertiesUpdateParameters.md +5 -5
- data/docs/CustomMetadataProperty.md +10 -10
- data/docs/Distribution.md +9 -9
- data/docs/DistributionCreateParameters.md +6 -6
- data/docs/DistributionDetails.md +11 -11
- data/docs/DistributionUpdateParameters.md +6 -6
- data/docs/Document.md +5 -5
- data/docs/DocumentDelete422Response.md +3 -3
- data/docs/DocumentDelete422ResponseErrorsInner.md +4 -4
- data/docs/Error.md +2 -2
- data/docs/ErrorError.md +3 -3
- data/docs/FigmaAttachment.md +5 -5
- data/docs/FigmaAttachmentCreateParameters.md +3 -3
- data/docs/FigmaAttachmentUpdateParameters.md +3 -3
- data/docs/Format.md +7 -7
- data/docs/Glossary.md +7 -7
- data/docs/GlossaryCreateParameters.md +4 -4
- data/docs/GlossaryTerm.md +10 -10
- data/docs/GlossaryTermCreateParameters.md +3 -3
- data/docs/GlossaryTermGlossary.md +3 -3
- data/docs/GlossaryTermTranslation.md +6 -6
- data/docs/GlossaryTermTranslationCreateParameters.md +3 -3
- data/docs/GlossaryTermTranslationUpdateParameters.md +3 -3
- data/docs/GlossaryTermUpdateParameters.md +3 -3
- data/docs/GlossaryUpdateParameters.md +4 -4
- data/docs/Icu.md +2 -2
- data/docs/IcuSkeletonError.md +2 -2
- data/docs/IcuSkeletonParameters.md +5 -5
- data/docs/Invitation.md +16 -16
- data/docs/InvitationCreateParameters.md +9 -9
- data/docs/InvitationUpdateParameters.md +8 -8
- data/docs/InvitationUpdateSettingsParameters.md +3 -3
- data/docs/Job.md +14 -14
- data/docs/JobAnnotation.md +5 -5
- data/docs/JobAnnotationShort.md +3 -3
- data/docs/JobAnnotationUpdateParameters.md +3 -3
- data/docs/JobComment.md +8 -8
- data/docs/JobCommentCreateParameters.md +3 -3
- data/docs/JobCommentUpdateParameters.md +3 -3
- data/docs/JobCompleteParameters.md +2 -2
- data/docs/JobCreateParameters.md +11 -11
- data/docs/JobDetails.md +22 -22
- data/docs/JobKeysCreateParameters.md +3 -3
- data/docs/JobKeysDeleteParameters.md +3 -3
- data/docs/JobLocale.md +10 -10
- data/docs/JobLocaleCompleteParameters.md +2 -2
- data/docs/JobLocaleCompleteReviewParameters.md +2 -2
- data/docs/JobLocaleReopenParameters.md +2 -2
- data/docs/JobLocaleUpdateParameters.md +7 -7
- data/docs/JobLocalesCreateParameters.md +7 -7
- data/docs/JobPreview.md +4 -4
- data/docs/JobReopenParameters.md +2 -2
- data/docs/JobStartParameters.md +2 -2
- data/docs/JobTemplate.md +9 -9
- data/docs/JobTemplateCreateParameters.md +6 -6
- data/docs/JobTemplateDetails.md +12 -12
- data/docs/JobTemplateLocaleUpdateParameters.md +7 -7
- data/docs/JobTemplateLocales.md +6 -6
- data/docs/JobTemplateLocalesCreateParameters.md +7 -7
- data/docs/JobTemplatePreview.md +3 -3
- data/docs/JobTemplateUpdateParameters.md +6 -6
- data/docs/JobUpdateParameters.md +6 -8
- data/docs/JobsApi.md +3 -1
- data/docs/KeyCreateParameters.md +21 -21
- data/docs/KeyFormatAnnotationsList200ResponseInner.md +3 -3
- data/docs/KeyLink.md +8 -8
- data/docs/KeyLinksBatchDestroyParameters.md +4 -4
- data/docs/KeyLinksCreateParameters.md +2 -2
- data/docs/KeyPreview.md +5 -5
- data/docs/KeyUpdateParameters.md +19 -19
- data/docs/KeysExcludeParameters.md +5 -5
- data/docs/KeysIncludeParameters.md +5 -5
- data/docs/KeysSearchParameters.md +6 -6
- data/docs/KeysTagParameters.md +5 -5
- data/docs/KeysUntagParameters.md +5 -5
- data/docs/Locale.md +17 -17
- data/docs/LocaleCreateParameters.md +16 -16
- data/docs/LocaleDetails.md +18 -18
- data/docs/LocaleDownload.md +8 -8
- data/docs/LocaleDownloadCreateParameters.md +14 -14
- data/docs/LocaleDownloadParams.md +8 -8
- data/docs/LocaleDownloadResult.md +2 -2
- data/docs/LocalePreview.md +4 -4
- data/docs/LocalePreview1.md +3 -3
- data/docs/LocaleReport.md +15 -15
- data/docs/LocaleStatistics.md +8 -8
- data/docs/LocaleTeamPreview.md +4 -4
- data/docs/LocaleUpdateParameters.md +14 -14
- data/docs/LocaleUserPreview.md +5 -5
- data/docs/MachineTranslationLocaleProviderMapping.md +4 -4
- data/docs/MachineTranslationLocaleProviderMappingsCreateParameters.md +4 -4
- data/docs/MachineTranslationSettings.md +3 -3
- data/docs/MachineTranslationSettingsUpdateParameters.md +2 -2
- data/docs/Member.md +12 -12
- data/docs/MemberProjectDetail.md +11 -11
- data/docs/MemberProjectDetailProjectRolesInner.md +3 -3
- data/docs/MemberSpacesInner.md +6 -6
- data/docs/MemberUpdateParameters.md +8 -8
- data/docs/MemberUpdateSettingsParameters.md +3 -3
- data/docs/Notification.md +14 -14
- data/docs/NotificationGroup.md +5 -5
- data/docs/NotificationGroupDetail.md +7 -7
- data/docs/OrderConfirmParameters.md +2 -2
- data/docs/OrderCreateParameters.md +16 -16
- data/docs/OrganizationJobTemplate.md +8 -8
- data/docs/OrganizationJobTemplateCreateParameters.md +4 -4
- data/docs/OrganizationJobTemplateDetails.md +11 -11
- data/docs/OrganizationJobTemplateLocaleUpdateParameters.md +7 -7
- data/docs/OrganizationJobTemplateLocalesCreateParameters.md +7 -7
- data/docs/OrganizationJobTemplateUpdateParameters.md +4 -4
- data/docs/PreTranslation.md +8 -8
- data/docs/PreTranslationCreateParameters.md +3 -3
- data/docs/Project.md +12 -12
- data/docs/ProjectCreateParameters.md +16 -16
- data/docs/ProjectDetails.md +18 -18
- data/docs/ProjectLocales.md +8 -8
- data/docs/ProjectMember.md +7 -7
- data/docs/ProjectReport.md +9 -9
- data/docs/ProjectShort.md +6 -6
- data/docs/ProjectUpdateParameters.md +14 -14
- data/docs/QualityPerformanceScoreList200Response.md +4 -4
- data/docs/QualityPerformanceScoreList200ResponseAnyOf.md +3 -3
- data/docs/QualityPerformanceScoreList200ResponseAnyOfData.md +2 -2
- data/docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md +4 -4
- data/docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md +4 -4
- data/docs/QualityPerformanceScoreListRequest.md +2 -2
- data/docs/Release.md +14 -14
- data/docs/ReleaseCreateParameters.md +8 -8
- data/docs/ReleaseCreateParameters1.md +8 -8
- data/docs/ReleasePreview.md +13 -13
- data/docs/ReleaseTrigger.md +12 -12
- data/docs/ReleaseUpdateParameters.md +6 -6
- data/docs/ReleaseUpdateParameters1.md +8 -8
- data/docs/RepoSync.md +12 -12
- data/docs/RepoSyncCreateParameters.md +10 -10
- data/docs/RepoSyncEvent.md +8 -8
- data/docs/RepoSyncExportParameters.md +3 -3
- data/docs/RepoSyncImportParameters.md +3 -3
- data/docs/RepoSyncsApi.md +5 -1
- data/docs/ReportsApi.md +4 -4
- data/docs/Screenshot.md +8 -8
- data/docs/ScreenshotMarker.md +7 -7
- data/docs/ScreenshotMarkerCreateParameters.md +4 -4
- data/docs/ScreenshotMarkerPresentation.md +5 -5
- data/docs/ScreenshotMarkerUpdateParameters.md +4 -4
- data/docs/ScreenshotUpdateParameters.md +5 -5
- data/docs/SearchInAccountParameters.md +4 -4
- data/docs/Space.md +7 -7
- data/docs/Space1.md +6 -6
- data/docs/SpaceCreateParameters.md +2 -2
- data/docs/SpaceUpdateParameters.md +2 -2
- data/docs/SpacesProjectsCreateParameters.md +2 -2
- data/docs/Styleguide.md +5 -5
- data/docs/StyleguideCreateParameters.md +14 -14
- data/docs/StyleguideDetails.md +18 -18
- data/docs/StyleguidePreview.md +3 -3
- data/docs/StyleguideUpdateParameters.md +14 -14
- data/docs/Subscription.md +3 -3
- data/docs/Tag.md +6 -6
- data/docs/TagCreateParameters.md +3 -3
- data/docs/TagWithStats.md +7 -7
- data/docs/TagWithStats1Statistics.md +5 -5
- data/docs/TagWithStats1Statistics1.md +3 -3
- data/docs/Team.md +8 -8
- data/docs/TeamCreateParameters.md +2 -2
- data/docs/TeamDetail.md +8 -8
- data/docs/TeamShort.md +5 -5
- data/docs/TeamUpdateParameters.md +2 -2
- data/docs/TeamsProjectsCreateParameters.md +2 -2
- data/docs/TeamsSpacesCreateParameters.md +2 -2
- data/docs/TeamsUsersCreateParameters.md +2 -2
- data/docs/Translation.md +13 -13
- data/docs/TranslationCreateParameters.md +9 -9
- data/docs/TranslationDetails.md +15 -15
- data/docs/TranslationExcludeParameters.md +2 -2
- data/docs/TranslationIncludeParameters.md +2 -2
- data/docs/TranslationKey.md +11 -11
- data/docs/TranslationKeyDetails.md +21 -21
- data/docs/TranslationOrder.md +19 -19
- data/docs/TranslationParent.md +3 -3
- data/docs/TranslationReviewParameters.md +2 -2
- data/docs/TranslationUnreviewParameters.md +2 -2
- data/docs/TranslationUnverifyParameters.md +2 -2
- data/docs/TranslationUpdateParameters.md +7 -7
- data/docs/TranslationVerifyParameters.md +2 -2
- data/docs/TranslationVersion.md +9 -9
- data/docs/TranslationVersionWithUser.md +10 -10
- data/docs/TranslationsExcludeParameters.md +5 -5
- data/docs/TranslationsIncludeParameters.md +5 -5
- data/docs/TranslationsReviewParameters.md +3 -3
- data/docs/TranslationsSearchParameters.md +5 -5
- data/docs/TranslationsUnreviewParameters.md +3 -3
- data/docs/TranslationsUnverifyParameters.md +5 -5
- data/docs/TranslationsVerifyParameters.md +4 -4
- data/docs/Upload.md +13 -13
- data/docs/UploadBatch.md +9 -9
- data/docs/UploadBatchesCreateParameters.md +3 -3
- data/docs/UploadSummary.md +11 -11
- data/docs/UploadsApi.md +2 -2
- data/docs/User.md +7 -7
- data/docs/UserPreview.md +5 -5
- data/docs/Variable.md +5 -5
- data/docs/VariableCreateParameters.md +3 -3
- data/docs/VariableUpdateParameters.md +3 -3
- data/docs/Webhook.md +9 -9
- data/docs/WebhookCreateParameters.md +7 -7
- data/docs/WebhookDelivery.md +8 -8
- data/docs/WebhookUpdateParameters.md +7 -7
- data/lib/phrase/api/jobs_api.rb +3 -0
- data/lib/phrase/api/repo_syncs_api.rb +6 -0
- data/lib/phrase/api/reports_api.rb +4 -4
- data/lib/phrase/models/job_update_parameters.rb +1 -11
- data/lib/phrase/models/locale_create_parameters.rb +2 -2
- data/lib/phrase/version.rb +1 -1
- data/spec/api/jobs_api_spec.rb +1 -0
- data/spec/api/repo_syncs_api_spec.rb +2 -0
- data/spec/api/reports_api_spec.rb +2 -2
- data/spec/models/job_update_parameters_spec.rb +0 -6
- metadata +264 -264
data/docs/LocaleDetails.md
CHANGED
|
@@ -25,25 +25,25 @@ Name | Type | Description | Notes
|
|
|
25
25
|
## Code Sample
|
|
26
26
|
|
|
27
27
|
```ruby
|
|
28
|
-
require '
|
|
28
|
+
require 'phrase'
|
|
29
29
|
|
|
30
|
-
instance = Phrase::LocaleDetails.new(id:
|
|
31
|
-
name:
|
|
32
|
-
code:
|
|
33
|
-
default:
|
|
34
|
-
main:
|
|
35
|
-
rtl:
|
|
36
|
-
plural_forms:
|
|
37
|
-
ordinal_plural_forms:
|
|
38
|
-
source_locale:
|
|
39
|
-
fallback_locale:
|
|
40
|
-
language_ai_profile:
|
|
41
|
-
unverify_new_translations:
|
|
42
|
-
unverify_updated_translations:
|
|
43
|
-
unverify_on_source_changes:
|
|
44
|
-
created_at:
|
|
45
|
-
updated_at:
|
|
46
|
-
statistics:
|
|
30
|
+
instance = Phrase::LocaleDetails.new(id: nil,
|
|
31
|
+
name: nil,
|
|
32
|
+
code: nil,
|
|
33
|
+
default: nil,
|
|
34
|
+
main: nil,
|
|
35
|
+
rtl: nil,
|
|
36
|
+
plural_forms: nil,
|
|
37
|
+
ordinal_plural_forms: nil,
|
|
38
|
+
source_locale: nil,
|
|
39
|
+
fallback_locale: nil,
|
|
40
|
+
language_ai_profile: nil,
|
|
41
|
+
unverify_new_translations: nil,
|
|
42
|
+
unverify_updated_translations: nil,
|
|
43
|
+
unverify_on_source_changes: nil,
|
|
44
|
+
created_at: nil,
|
|
45
|
+
updated_at: nil,
|
|
46
|
+
statistics: nil)
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
|
data/docs/LocaleDownload.md
CHANGED
|
@@ -15,15 +15,15 @@ Name | Type | Description | Notes
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
require '
|
|
18
|
+
require 'phrase'
|
|
19
19
|
|
|
20
|
-
instance = Phrase::LocaleDownload.new(id:
|
|
21
|
-
status:
|
|
22
|
-
result:
|
|
23
|
-
params:
|
|
24
|
-
error:
|
|
25
|
-
created_at:
|
|
26
|
-
completed_at:
|
|
20
|
+
instance = Phrase::LocaleDownload.new(id: nil,
|
|
21
|
+
status: nil,
|
|
22
|
+
result: nil,
|
|
23
|
+
params: nil,
|
|
24
|
+
error: nil,
|
|
25
|
+
created_at: nil,
|
|
26
|
+
completed_at: nil)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
|
|
@@ -28,28 +28,28 @@ Name | Type | Description | Notes
|
|
|
28
28
|
## Code Sample
|
|
29
29
|
|
|
30
30
|
```ruby
|
|
31
|
-
require '
|
|
31
|
+
require 'phrase'
|
|
32
32
|
|
|
33
|
-
instance = Phrase::LocaleDownloadCreateParameters.new(file_format: yml,
|
|
34
|
-
branch: my-feature-branch,
|
|
35
|
-
tags: feature1,feature2,
|
|
33
|
+
instance = Phrase::LocaleDownloadCreateParameters.new(file_format: 'yml',
|
|
34
|
+
branch: 'my-feature-branch',
|
|
35
|
+
tags: 'feature1,feature2',
|
|
36
36
|
include_empty_translations: true,
|
|
37
37
|
exclude_empty_zero_forms: true,
|
|
38
38
|
include_translated_keys: true,
|
|
39
39
|
keep_notranslate_tags: true,
|
|
40
|
-
format_options: {
|
|
41
|
-
encoding: UTF-8,
|
|
40
|
+
format_options: {"format_options":{"foo":"bar"}},
|
|
41
|
+
encoding: 'UTF-8',
|
|
42
42
|
include_unverified_translations: true,
|
|
43
|
-
use_last_reviewed_version:
|
|
44
|
-
locale_ids: [
|
|
45
|
-
fallback_locale_id: abcd1234abcd1234abcd1234abcd1234,
|
|
43
|
+
use_last_reviewed_version: nil,
|
|
44
|
+
locale_ids: ["de","en"],
|
|
45
|
+
fallback_locale_id: 'abcd1234abcd1234abcd1234abcd1234',
|
|
46
46
|
use_locale_fallback: false,
|
|
47
47
|
fallback_for_unverified_translations: false,
|
|
48
|
-
source_locale_id: abcd1234abcd1234abcd1234abcd1234,
|
|
49
|
-
custom_metadata_filters:
|
|
50
|
-
translation_key_prefix: prefix_,
|
|
51
|
-
filter_by_prefix:
|
|
52
|
-
updated_since: 2023-01-01T00:00:00Z)
|
|
48
|
+
source_locale_id: 'abcd1234abcd1234abcd1234abcd1234',
|
|
49
|
+
custom_metadata_filters: nil,
|
|
50
|
+
translation_key_prefix: 'prefix_',
|
|
51
|
+
filter_by_prefix: nil,
|
|
52
|
+
updated_since: '2023-01-01T00:00:00Z')
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
|
|
@@ -15,15 +15,15 @@ Name | Type | Description | Notes
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
require '
|
|
18
|
+
require 'phrase'
|
|
19
19
|
|
|
20
|
-
instance = Phrase::LocaleDownloadParams.new(file_format:
|
|
21
|
-
locale_id:
|
|
22
|
-
tags:
|
|
23
|
-
branch:
|
|
24
|
-
include_empty_translations:
|
|
25
|
-
include_translated_keys:
|
|
26
|
-
include_unverified_translations:
|
|
20
|
+
instance = Phrase::LocaleDownloadParams.new(file_format: nil,
|
|
21
|
+
locale_id: nil,
|
|
22
|
+
tags: nil,
|
|
23
|
+
branch: nil,
|
|
24
|
+
include_empty_translations: nil,
|
|
25
|
+
include_translated_keys: nil,
|
|
26
|
+
include_unverified_translations: nil)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
|
data/docs/LocalePreview.md
CHANGED
|
@@ -11,11 +11,11 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
|
-
require '
|
|
14
|
+
require 'phrase'
|
|
15
15
|
|
|
16
|
-
instance = Phrase::LocalePreview.new(id:
|
|
17
|
-
name:
|
|
18
|
-
code:
|
|
16
|
+
instance = Phrase::LocalePreview.new(id: nil,
|
|
17
|
+
name: nil,
|
|
18
|
+
code: nil)
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
data/docs/LocalePreview1.md
CHANGED
|
@@ -10,10 +10,10 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Code Sample
|
|
11
11
|
|
|
12
12
|
```ruby
|
|
13
|
-
require '
|
|
13
|
+
require 'phrase'
|
|
14
14
|
|
|
15
|
-
instance = Phrase::LocalePreview1.new(name:
|
|
16
|
-
code:
|
|
15
|
+
instance = Phrase::LocalePreview1.new(name: nil,
|
|
16
|
+
code: nil)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
data/docs/LocaleReport.md
CHANGED
|
@@ -22,22 +22,22 @@ Name | Type | Description | Notes
|
|
|
22
22
|
## Code Sample
|
|
23
23
|
|
|
24
24
|
```ruby
|
|
25
|
-
require '
|
|
25
|
+
require 'phrase'
|
|
26
26
|
|
|
27
|
-
instance = Phrase::LocaleReport.new(keys_count:
|
|
28
|
-
translated_translations_percentage:
|
|
29
|
-
unverified_translations_percentage:
|
|
30
|
-
reviewed_translations_percentage:
|
|
31
|
-
untranslated_keys_percentage:
|
|
32
|
-
completed_translations_count:
|
|
33
|
-
untranslated_keys_count:
|
|
34
|
-
unverified_translations_count:
|
|
35
|
-
reviewed_translations_count:
|
|
36
|
-
source_word_count:
|
|
37
|
-
word_count:
|
|
38
|
-
word_count_unverified:
|
|
39
|
-
word_count_missing:
|
|
40
|
-
locale:
|
|
27
|
+
instance = Phrase::LocaleReport.new(keys_count: nil,
|
|
28
|
+
translated_translations_percentage: nil,
|
|
29
|
+
unverified_translations_percentage: nil,
|
|
30
|
+
reviewed_translations_percentage: nil,
|
|
31
|
+
untranslated_keys_percentage: nil,
|
|
32
|
+
completed_translations_count: nil,
|
|
33
|
+
untranslated_keys_count: nil,
|
|
34
|
+
unverified_translations_count: nil,
|
|
35
|
+
reviewed_translations_count: nil,
|
|
36
|
+
source_word_count: nil,
|
|
37
|
+
word_count: nil,
|
|
38
|
+
word_count_unverified: nil,
|
|
39
|
+
word_count_missing: nil,
|
|
40
|
+
locale: nil)
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
|
data/docs/LocaleStatistics.md
CHANGED
|
@@ -15,15 +15,15 @@ Name | Type | Description | Notes
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
require '
|
|
18
|
+
require 'phrase'
|
|
19
19
|
|
|
20
|
-
instance = Phrase::LocaleStatistics.new(keys_total_count:
|
|
21
|
-
keys_untranslated_count:
|
|
22
|
-
words_total_count:
|
|
23
|
-
translations_completed_count:
|
|
24
|
-
translations_unverified_count:
|
|
25
|
-
unverified_words_count:
|
|
26
|
-
missing_words_count:
|
|
20
|
+
instance = Phrase::LocaleStatistics.new(keys_total_count: nil,
|
|
21
|
+
keys_untranslated_count: nil,
|
|
22
|
+
words_total_count: nil,
|
|
23
|
+
translations_completed_count: nil,
|
|
24
|
+
translations_unverified_count: nil,
|
|
25
|
+
unverified_words_count: nil,
|
|
26
|
+
missing_words_count: nil)
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
|
data/docs/LocaleTeamPreview.md
CHANGED
|
@@ -11,11 +11,11 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
|
-
require '
|
|
14
|
+
require 'phrase'
|
|
15
15
|
|
|
16
|
-
instance = Phrase::LocaleTeamPreview.new(id:
|
|
17
|
-
name:
|
|
18
|
-
role:
|
|
16
|
+
instance = Phrase::LocaleTeamPreview.new(id: nil,
|
|
17
|
+
name: nil,
|
|
18
|
+
role: nil)
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
|
@@ -21,21 +21,21 @@ Name | Type | Description | Notes
|
|
|
21
21
|
## Code Sample
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
|
-
require '
|
|
24
|
+
require 'phrase'
|
|
25
25
|
|
|
26
|
-
instance = Phrase::LocaleUpdateParameters.new(branch: my-feature-branch,
|
|
27
|
-
name: de,
|
|
28
|
-
code: de-DE,
|
|
29
|
-
default:
|
|
30
|
-
main:
|
|
31
|
-
rtl:
|
|
32
|
-
source_locale_id: abcd1234abcd1234abcd1234abcd1234,
|
|
33
|
-
fallback_locale_id: abcd1234abcd1234abcd1234abcd1234,
|
|
34
|
-
unverify_new_translations:
|
|
35
|
-
unverify_updated_translations:
|
|
36
|
-
unverify_on_source_changes:
|
|
37
|
-
autotranslate:
|
|
38
|
-
language_ai_profile: abcd1234abcd1234abcd1234abcd1234)
|
|
26
|
+
instance = Phrase::LocaleUpdateParameters.new(branch: 'my-feature-branch',
|
|
27
|
+
name: 'de',
|
|
28
|
+
code: 'de-DE',
|
|
29
|
+
default: nil,
|
|
30
|
+
main: nil,
|
|
31
|
+
rtl: nil,
|
|
32
|
+
source_locale_id: 'abcd1234abcd1234abcd1234abcd1234',
|
|
33
|
+
fallback_locale_id: 'abcd1234abcd1234abcd1234abcd1234',
|
|
34
|
+
unverify_new_translations: nil,
|
|
35
|
+
unverify_updated_translations: nil,
|
|
36
|
+
unverify_on_source_changes: nil,
|
|
37
|
+
autotranslate: nil,
|
|
38
|
+
language_ai_profile: 'abcd1234abcd1234abcd1234abcd1234')
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
|
data/docs/LocaleUserPreview.md
CHANGED
|
@@ -12,12 +12,12 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
|
-
require '
|
|
15
|
+
require 'phrase'
|
|
16
16
|
|
|
17
|
-
instance = Phrase::LocaleUserPreview.new(id:
|
|
18
|
-
username:
|
|
19
|
-
name:
|
|
20
|
-
role:
|
|
17
|
+
instance = Phrase::LocaleUserPreview.new(id: nil,
|
|
18
|
+
username: nil,
|
|
19
|
+
name: nil,
|
|
20
|
+
role: nil)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -11,11 +11,11 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
|
-
require '
|
|
14
|
+
require 'phrase'
|
|
15
15
|
|
|
16
|
-
instance = Phrase::MachineTranslationLocaleProviderMapping.new(source_locale_code: en,
|
|
17
|
-
target_locale_code: de,
|
|
18
|
-
service: google_translate)
|
|
16
|
+
instance = Phrase::MachineTranslationLocaleProviderMapping.new(source_locale_code: 'en',
|
|
17
|
+
target_locale_code: 'de',
|
|
18
|
+
service: 'google_translate')
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
|
@@ -11,11 +11,11 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Code Sample
|
|
12
12
|
|
|
13
13
|
```ruby
|
|
14
|
-
require '
|
|
14
|
+
require 'phrase'
|
|
15
15
|
|
|
16
|
-
instance = Phrase::MachineTranslationLocaleProviderMappingsCreateParameters.new(source_locale_code: en,
|
|
17
|
-
target_locale_code: de,
|
|
18
|
-
service: google_translate)
|
|
16
|
+
instance = Phrase::MachineTranslationLocaleProviderMappingsCreateParameters.new(source_locale_code: 'en',
|
|
17
|
+
target_locale_code: 'de',
|
|
18
|
+
service: 'google_translate')
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
|
@@ -12,12 +12,12 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
|
-
require '
|
|
15
|
+
require 'phrase'
|
|
16
16
|
|
|
17
|
-
instance = Phrase::MachineTranslationSettings.new(default_service: google_translate,
|
|
17
|
+
instance = Phrase::MachineTranslationSettings.new(default_service: 'google_translate',
|
|
18
18
|
machine_translation_units_used: 12500,
|
|
19
19
|
machine_translation_units_total: 1000000,
|
|
20
|
-
locale_provider_mappings:
|
|
20
|
+
locale_provider_mappings: nil)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
|
9
9
|
## Code Sample
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
require '
|
|
12
|
+
require 'phrase'
|
|
13
13
|
|
|
14
|
-
instance = Phrase::MachineTranslationSettingsUpdateParameters.new(default_service: google_translate)
|
|
14
|
+
instance = Phrase::MachineTranslationSettingsUpdateParameters.new(default_service: 'google_translate')
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
data/docs/Member.md
CHANGED
|
@@ -19,19 +19,19 @@ Name | Type | Description | Notes
|
|
|
19
19
|
## Code Sample
|
|
20
20
|
|
|
21
21
|
```ruby
|
|
22
|
-
require '
|
|
22
|
+
require 'phrase'
|
|
23
23
|
|
|
24
|
-
instance = Phrase::Member.new(id:
|
|
25
|
-
email:
|
|
26
|
-
username:
|
|
27
|
-
created_at:
|
|
28
|
-
last_activity_at:
|
|
29
|
-
role:
|
|
30
|
-
projects:
|
|
31
|
-
permissions:
|
|
32
|
-
default_locale_codes:
|
|
33
|
-
teams:
|
|
34
|
-
spaces:
|
|
24
|
+
instance = Phrase::Member.new(id: nil,
|
|
25
|
+
email: nil,
|
|
26
|
+
username: nil,
|
|
27
|
+
created_at: nil,
|
|
28
|
+
last_activity_at: nil,
|
|
29
|
+
role: nil,
|
|
30
|
+
projects: nil,
|
|
31
|
+
permissions: nil,
|
|
32
|
+
default_locale_codes: nil,
|
|
33
|
+
teams: nil,
|
|
34
|
+
spaces: nil)
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
|
data/docs/MemberProjectDetail.md
CHANGED
|
@@ -18,18 +18,18 @@ Name | Type | Description | Notes
|
|
|
18
18
|
## Code Sample
|
|
19
19
|
|
|
20
20
|
```ruby
|
|
21
|
-
require '
|
|
21
|
+
require 'phrase'
|
|
22
22
|
|
|
23
|
-
instance = Phrase::MemberProjectDetail.new(id:
|
|
24
|
-
email:
|
|
25
|
-
username:
|
|
26
|
-
role:
|
|
27
|
-
projects:
|
|
28
|
-
permissions:
|
|
29
|
-
locale_ids:
|
|
30
|
-
default_locale_codes:
|
|
31
|
-
spaces:
|
|
32
|
-
project_roles:
|
|
23
|
+
instance = Phrase::MemberProjectDetail.new(id: nil,
|
|
24
|
+
email: nil,
|
|
25
|
+
username: nil,
|
|
26
|
+
role: nil,
|
|
27
|
+
projects: nil,
|
|
28
|
+
permissions: nil,
|
|
29
|
+
locale_ids: nil,
|
|
30
|
+
default_locale_codes: nil,
|
|
31
|
+
spaces: nil,
|
|
32
|
+
project_roles: nil)
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
|
|
@@ -10,10 +10,10 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Code Sample
|
|
11
11
|
|
|
12
12
|
```ruby
|
|
13
|
-
require '
|
|
13
|
+
require 'phrase'
|
|
14
14
|
|
|
15
|
-
instance = Phrase::MemberProjectDetailProjectRolesInner.new(project_id:
|
|
16
|
-
role:
|
|
15
|
+
instance = Phrase::MemberProjectDetailProjectRolesInner.new(project_id: nil,
|
|
16
|
+
role: nil)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
data/docs/MemberSpacesInner.md
CHANGED
|
@@ -13,13 +13,13 @@ Name | Type | Description | Notes
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
|
-
require '
|
|
16
|
+
require 'phrase'
|
|
17
17
|
|
|
18
|
-
instance = Phrase::MemberSpacesInner.new(id:
|
|
19
|
-
name:
|
|
20
|
-
created_at:
|
|
21
|
-
updated_at:
|
|
22
|
-
projects_count:
|
|
18
|
+
instance = Phrase::MemberSpacesInner.new(id: nil,
|
|
19
|
+
name: nil,
|
|
20
|
+
created_at: nil,
|
|
21
|
+
updated_at: nil,
|
|
22
|
+
projects_count: nil)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -15,15 +15,15 @@ Name | Type | Description | Notes
|
|
|
15
15
|
## Code Sample
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
require '
|
|
18
|
+
require 'phrase'
|
|
19
19
|
|
|
20
|
-
instance = Phrase::MemberUpdateParameters.new(strategy: set,
|
|
21
|
-
role: Developer,
|
|
22
|
-
project_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
|
|
23
|
-
locale_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
|
|
24
|
-
default_locale_codes: [
|
|
25
|
-
space_ids: [
|
|
26
|
-
permissions: {
|
|
20
|
+
instance = Phrase::MemberUpdateParameters.new(strategy: 'set',
|
|
21
|
+
role: 'Developer',
|
|
22
|
+
project_ids: 'abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235',
|
|
23
|
+
locale_ids: 'abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235',
|
|
24
|
+
default_locale_codes: ["en","fi"],
|
|
25
|
+
space_ids: ["abcd1234abcd1234abcd1234","abcd1234abcd1234abcd1235"],
|
|
26
|
+
permissions: {"create_upload":true,"review_translations":true})
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
|
|
@@ -10,10 +10,10 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Code Sample
|
|
11
11
|
|
|
12
12
|
```ruby
|
|
13
|
-
require '
|
|
13
|
+
require 'phrase'
|
|
14
14
|
|
|
15
|
-
instance = Phrase::MemberUpdateSettingsParameters.new(project_role: Developer,
|
|
16
|
-
locale_ids: [
|
|
15
|
+
instance = Phrase::MemberUpdateSettingsParameters.new(project_role: 'Developer',
|
|
16
|
+
locale_ids: ["abcd1234abcd1234abcd1234","abcd1234abcd1234abcd1235"])
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
data/docs/Notification.md
CHANGED
|
@@ -21,21 +21,21 @@ Name | Type | Description | Notes
|
|
|
21
21
|
## Code Sample
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
|
-
require '
|
|
24
|
+
require 'phrase'
|
|
25
25
|
|
|
26
|
-
instance = Phrase::Notification.new(id:
|
|
27
|
-
event_name:
|
|
28
|
-
created_at:
|
|
29
|
-
updated_at:
|
|
30
|
-
delivered_at:
|
|
31
|
-
seen_at:
|
|
32
|
-
data:
|
|
33
|
-
resource:
|
|
34
|
-
locale:
|
|
35
|
-
user:
|
|
36
|
-
project:
|
|
37
|
-
account:
|
|
38
|
-
group:
|
|
26
|
+
instance = Phrase::Notification.new(id: nil,
|
|
27
|
+
event_name: nil,
|
|
28
|
+
created_at: nil,
|
|
29
|
+
updated_at: nil,
|
|
30
|
+
delivered_at: nil,
|
|
31
|
+
seen_at: nil,
|
|
32
|
+
data: nil,
|
|
33
|
+
resource: nil,
|
|
34
|
+
locale: nil,
|
|
35
|
+
user: nil,
|
|
36
|
+
project: nil,
|
|
37
|
+
account: nil,
|
|
38
|
+
group: nil)
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
|
data/docs/NotificationGroup.md
CHANGED
|
@@ -12,12 +12,12 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
|
-
require '
|
|
15
|
+
require 'phrase'
|
|
16
16
|
|
|
17
|
-
instance = Phrase::NotificationGroup.new(id:
|
|
18
|
-
event_name:
|
|
19
|
-
created_at:
|
|
20
|
-
updated_at:
|
|
17
|
+
instance = Phrase::NotificationGroup.new(id: nil,
|
|
18
|
+
event_name: nil,
|
|
19
|
+
created_at: nil,
|
|
20
|
+
updated_at: nil)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -14,14 +14,14 @@ Name | Type | Description | Notes
|
|
|
14
14
|
## Code Sample
|
|
15
15
|
|
|
16
16
|
```ruby
|
|
17
|
-
require '
|
|
17
|
+
require 'phrase'
|
|
18
18
|
|
|
19
|
-
instance = Phrase::NotificationGroupDetail.new(id:
|
|
20
|
-
event_name:
|
|
21
|
-
created_at:
|
|
22
|
-
updated_at:
|
|
23
|
-
notifications_count:
|
|
24
|
-
latest_notification:
|
|
19
|
+
instance = Phrase::NotificationGroupDetail.new(id: nil,
|
|
20
|
+
event_name: nil,
|
|
21
|
+
created_at: nil,
|
|
22
|
+
updated_at: nil,
|
|
23
|
+
notifications_count: nil,
|
|
24
|
+
latest_notification: nil)
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
|
|
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
|
|
|
9
9
|
## Code Sample
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
require '
|
|
12
|
+
require 'phrase'
|
|
13
13
|
|
|
14
|
-
instance = Phrase::OrderConfirmParameters.new(branch: my-feature-branch)
|
|
14
|
+
instance = Phrase::OrderConfirmParameters.new(branch: 'my-feature-branch')
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|