phrase 4.28.0 → 4.30.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/CHANGELOG.md +17 -0
- data/README.md +7 -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 +7 -5
- 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 +7 -5
- data/docs/JobUpdateParameters.md +7 -7
- 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/MembersApi.md +70 -0
- 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 +6 -4
- data/docs/OrganizationJobTemplateDetails.md +11 -11
- data/docs/OrganizationJobTemplateLocaleUpdateParameters.md +7 -7
- data/docs/OrganizationJobTemplateLocalesCreateParameters.md +7 -7
- data/docs/OrganizationJobTemplateUpdateParameters.md +6 -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 +27 -0
- 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/SupportedLanguagesApi.md +62 -0
- 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/members_api.rb +78 -0
- data/lib/phrase/api/repo_syncs_api.rb +6 -0
- data/lib/phrase/api/reports_api.rb +4 -4
- data/lib/phrase/api/supported_languages_api.rb +67 -0
- data/lib/phrase/models/job_template_create_parameters.rb +14 -4
- data/lib/phrase/models/job_template_update_parameters.rb +14 -4
- data/lib/phrase/models/locale_create_parameters.rb +2 -2
- data/lib/phrase/models/organization_job_template_create_parameters.rb +14 -4
- data/lib/phrase/models/organization_job_template_update_parameters.rb +14 -4
- data/lib/phrase/models/project_member.rb +241 -0
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +2 -0
- data/spec/api/members_api_spec.rb +17 -0
- data/spec/api/repo_syncs_api_spec.rb +2 -0
- data/spec/api/reports_api_spec.rb +2 -2
- data/spec/api/supported_languages_api_spec.rb +34 -0
- data/spec/models/job_template_create_parameters_spec.rb +6 -0
- data/spec/models/job_template_update_parameters_spec.rb +6 -0
- data/spec/models/organization_job_template_create_parameters_spec.rb +6 -0
- data/spec/models/organization_job_template_update_parameters_spec.rb +6 -0
- data/spec/models/project_member_spec.rb +59 -0
- metadata +270 -262
|
@@ -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::BranchSyncParameters.new(strategy: use_main)
|
|
14
|
+
instance = Phrase::BranchSyncParameters.new(strategy: 'use_main')
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
data/docs/CheckIssue.md
CHANGED
|
@@ -17,17 +17,17 @@ Name | Type | Description | Notes
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
require '
|
|
20
|
+
require 'phrase'
|
|
21
21
|
|
|
22
|
-
instance = Phrase::CheckIssue.new(id:
|
|
23
|
-
check_name:
|
|
24
|
-
state:
|
|
25
|
-
description:
|
|
26
|
-
dismissed_at:
|
|
27
|
-
solved_at:
|
|
28
|
-
created_at:
|
|
29
|
-
updated_at:
|
|
30
|
-
translation:
|
|
22
|
+
instance = Phrase::CheckIssue.new(id: nil,
|
|
23
|
+
check_name: nil,
|
|
24
|
+
state: nil,
|
|
25
|
+
description: nil,
|
|
26
|
+
dismissed_at: nil,
|
|
27
|
+
solved_at: nil,
|
|
28
|
+
created_at: nil,
|
|
29
|
+
updated_at: nil,
|
|
30
|
+
translation: nil)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
|
data/docs/Comment.md
CHANGED
|
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
|
-
require '
|
|
19
|
+
require 'phrase'
|
|
20
20
|
|
|
21
|
-
instance = Phrase::Comment.new(id:
|
|
22
|
-
message:
|
|
23
|
-
has_replies:
|
|
24
|
-
user:
|
|
25
|
-
created_at:
|
|
26
|
-
updated_at:
|
|
27
|
-
mentioned_users:
|
|
28
|
-
locales:
|
|
21
|
+
instance = Phrase::Comment.new(id: nil,
|
|
22
|
+
message: nil,
|
|
23
|
+
has_replies: nil,
|
|
24
|
+
user: nil,
|
|
25
|
+
created_at: nil,
|
|
26
|
+
updated_at: nil,
|
|
27
|
+
mentioned_users: nil,
|
|
28
|
+
locales: nil)
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
|
@@ -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::CommentCreateParameters.new(message: Some message
|
|
17
|
-
branch: my-feature-branch,
|
|
18
|
-
locale_ids: [
|
|
16
|
+
instance = Phrase::CommentCreateParameters.new(message: 'Some message...',
|
|
17
|
+
branch: 'my-feature-branch',
|
|
18
|
+
locale_ids: ["someId","someOtherId"])
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
|
@@ -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::CommentCreateParameters1.new(message: Some message
|
|
16
|
-
branch: my-feature-branch)
|
|
15
|
+
instance = Phrase::CommentCreateParameters1.new(message: 'Some message...',
|
|
16
|
+
branch: 'my-feature-branch')
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
|
@@ -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::CommentMarkReadParameters.new(branch: my-feature-branch)
|
|
14
|
+
instance = Phrase::CommentMarkReadParameters.new(branch: 'my-feature-branch')
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
|
data/docs/CommentReaction.md
CHANGED
|
@@ -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::CommentReaction.new(id:
|
|
20
|
-
emoji:
|
|
21
|
-
created_at:
|
|
22
|
-
updated_at:
|
|
23
|
-
comment:
|
|
24
|
-
user:
|
|
19
|
+
instance = Phrase::CommentReaction.new(id: nil,
|
|
20
|
+
emoji: nil,
|
|
21
|
+
created_at: nil,
|
|
22
|
+
updated_at: nil,
|
|
23
|
+
comment: nil,
|
|
24
|
+
user: nil)
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
|
|
@@ -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::CommentUpdateParameters.new(branch: my-feature-branch,
|
|
16
|
-
message: Some message...)
|
|
15
|
+
instance = Phrase::CommentUpdateParameters.new(branch: 'my-feature-branch',
|
|
16
|
+
message: 'Some message...')
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
data/docs/CurrentUser.md
CHANGED
|
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
|
-
require '
|
|
19
|
+
require 'phrase'
|
|
20
20
|
|
|
21
|
-
instance = Phrase::CurrentUser.new(id:
|
|
22
|
-
username:
|
|
23
|
-
name:
|
|
24
|
-
email:
|
|
25
|
-
position:
|
|
26
|
-
language:
|
|
27
|
-
created_at:
|
|
28
|
-
updated_at:
|
|
21
|
+
instance = Phrase::CurrentUser.new(id: nil,
|
|
22
|
+
username: nil,
|
|
23
|
+
name: nil,
|
|
24
|
+
email: nil,
|
|
25
|
+
position: nil,
|
|
26
|
+
language: nil,
|
|
27
|
+
created_at: nil,
|
|
28
|
+
updated_at: nil)
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
|
@@ -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::CustomMetadataPropertiesCreateParameters.new(name: Fruit,
|
|
19
|
-
data_type:
|
|
20
|
-
project_ids: [
|
|
21
|
-
description: A healthy snack for all ages,
|
|
22
|
-
value_options: [
|
|
18
|
+
instance = Phrase::CustomMetadataPropertiesCreateParameters.new(name: 'Fruit',
|
|
19
|
+
data_type: nil,
|
|
20
|
+
project_ids: ["abcd1234cdef1234abcd1234cdef1234","abcd1234cdef1234abcd1234cdef4321"],
|
|
21
|
+
description: 'A healthy snack for all ages',
|
|
22
|
+
value_options: ["Apple","Banana","Coconut"])
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -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::CustomMetadataPropertiesUpdateParameters.new(name: Fruit,
|
|
18
|
-
project_ids: [
|
|
19
|
-
description: A healthy snack for all ages,
|
|
20
|
-
value_options: [
|
|
17
|
+
instance = Phrase::CustomMetadataPropertiesUpdateParameters.new(name: 'Fruit',
|
|
18
|
+
project_ids: ["abcd1234cdef1234abcd1234cdef1234","abcd1234cdef1234abcd1234cdef4321"],
|
|
19
|
+
description: 'A healthy snack for all ages',
|
|
20
|
+
value_options: ["Apple","Banana","Coconut"])
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -17,17 +17,17 @@ Name | Type | Description | Notes
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
require '
|
|
20
|
+
require 'phrase'
|
|
21
21
|
|
|
22
|
-
instance = Phrase::CustomMetadataProperty.new(id:
|
|
23
|
-
name:
|
|
24
|
-
description:
|
|
25
|
-
data_type:
|
|
26
|
-
user:
|
|
27
|
-
projects:
|
|
28
|
-
value_options:
|
|
29
|
-
created_at:
|
|
30
|
-
updated_at:
|
|
22
|
+
instance = Phrase::CustomMetadataProperty.new(id: nil,
|
|
23
|
+
name: nil,
|
|
24
|
+
description: nil,
|
|
25
|
+
data_type: nil,
|
|
26
|
+
user: nil,
|
|
27
|
+
projects: nil,
|
|
28
|
+
value_options: nil,
|
|
29
|
+
created_at: nil,
|
|
30
|
+
updated_at: nil)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
|
data/docs/Distribution.md
CHANGED
|
@@ -16,16 +16,16 @@ Name | Type | Description | Notes
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
|
-
require '
|
|
19
|
+
require 'phrase'
|
|
20
20
|
|
|
21
|
-
instance = Phrase::Distribution.new(id:
|
|
22
|
-
name:
|
|
23
|
-
project:
|
|
24
|
-
platforms:
|
|
25
|
-
release_count:
|
|
26
|
-
created_at:
|
|
27
|
-
updated_at:
|
|
28
|
-
deleted_at:
|
|
21
|
+
instance = Phrase::Distribution.new(id: nil,
|
|
22
|
+
name: nil,
|
|
23
|
+
project: nil,
|
|
24
|
+
platforms: nil,
|
|
25
|
+
release_count: nil,
|
|
26
|
+
created_at: nil,
|
|
27
|
+
updated_at: nil,
|
|
28
|
+
deleted_at: nil)
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
|
@@ -17,13 +17,13 @@ Name | Type | Description | Notes
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
require '
|
|
20
|
+
require 'phrase'
|
|
21
21
|
|
|
22
|
-
instance = Phrase::DistributionCreateParameters.new(name: My Android Distribution,
|
|
23
|
-
project_id: abcd1234abcd1234abcd1234,
|
|
24
|
-
platforms: [
|
|
25
|
-
locale_ids: [
|
|
26
|
-
format_options: {xml:{enclose_in_cdata
|
|
22
|
+
instance = Phrase::DistributionCreateParameters.new(name: 'My Android Distribution',
|
|
23
|
+
project_id: 'abcd1234abcd1234abcd1234',
|
|
24
|
+
platforms: ["android","ios"],
|
|
25
|
+
locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
|
|
26
|
+
format_options: {xml:{enclose_in_cdata:'1'}},
|
|
27
27
|
fallback_locales_enabled: true,
|
|
28
28
|
fallback_to_non_regional_locale: true,
|
|
29
29
|
fallback_to_default_locale: true,
|
data/docs/DistributionDetails.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::DistributionDetails.new(id:
|
|
24
|
-
name:
|
|
25
|
-
project:
|
|
26
|
-
platforms:
|
|
27
|
-
release_count:
|
|
28
|
-
created_at:
|
|
29
|
-
updated_at:
|
|
30
|
-
deleted_at:
|
|
31
|
-
locales:
|
|
32
|
-
releases:
|
|
23
|
+
instance = Phrase::DistributionDetails.new(id: nil,
|
|
24
|
+
name: nil,
|
|
25
|
+
project: nil,
|
|
26
|
+
platforms: nil,
|
|
27
|
+
release_count: nil,
|
|
28
|
+
created_at: nil,
|
|
29
|
+
updated_at: nil,
|
|
30
|
+
deleted_at: nil,
|
|
31
|
+
locales: nil,
|
|
32
|
+
releases: nil)
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
|
|
@@ -17,13 +17,13 @@ Name | Type | Description | Notes
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
require '
|
|
20
|
+
require 'phrase'
|
|
21
21
|
|
|
22
|
-
instance = Phrase::DistributionUpdateParameters.new(name: My Android Distribution,
|
|
23
|
-
project_id: abcd1234abcd1234abcd1234,
|
|
24
|
-
platforms: [
|
|
25
|
-
locale_ids: [
|
|
26
|
-
format_options: {xml:{enclose_in_cdata
|
|
22
|
+
instance = Phrase::DistributionUpdateParameters.new(name: 'My Android Distribution',
|
|
23
|
+
project_id: 'abcd1234abcd1234abcd1234',
|
|
24
|
+
platforms: ["android","ios"],
|
|
25
|
+
locale_ids: ["abcd1234cdef1234abcd1234cdef1234","fff565db236400772368235db2c6117e"],
|
|
26
|
+
format_options: {xml:{enclose_in_cdata:'1'}},
|
|
27
27
|
fallback_locales_enabled: true,
|
|
28
28
|
fallback_to_non_regional_locale: true,
|
|
29
29
|
fallback_to_default_locale: true,
|
data/docs/Document.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::Document.new(id:
|
|
18
|
-
name:
|
|
19
|
-
created_at:
|
|
20
|
-
updated_at:
|
|
17
|
+
instance = Phrase::Document.new(id: nil,
|
|
18
|
+
name: nil,
|
|
19
|
+
created_at: nil,
|
|
20
|
+
updated_at: nil)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -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::DocumentDelete422Response.new(message:
|
|
16
|
-
errors:
|
|
15
|
+
instance = Phrase::DocumentDelete422Response.new(message: nil,
|
|
16
|
+
errors: nil)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
|
@@ -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::DocumentDelete422ResponseErrorsInner.new(resource:
|
|
17
|
-
field:
|
|
18
|
-
message:
|
|
16
|
+
instance = Phrase::DocumentDelete422ResponseErrorsInner.new(resource: nil,
|
|
17
|
+
field: nil,
|
|
18
|
+
message: nil)
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
data/docs/Error.md
CHANGED
data/docs/ErrorError.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::ErrorError.new(message:
|
|
16
|
-
code:
|
|
15
|
+
instance = Phrase::ErrorError.new(message: nil,
|
|
16
|
+
code: nil)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
data/docs/FigmaAttachment.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::FigmaAttachment.new(id:
|
|
18
|
-
url:
|
|
19
|
-
created_at:
|
|
20
|
-
updated_at:
|
|
17
|
+
instance = Phrase::FigmaAttachment.new(id: nil,
|
|
18
|
+
url: nil,
|
|
19
|
+
created_at: nil,
|
|
20
|
+
updated_at: nil)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -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::FigmaAttachmentCreateParameters.new(branch: my-feature-branch,
|
|
16
|
-
url: https://figma.com/file/xxxxx/sample)
|
|
15
|
+
instance = Phrase::FigmaAttachmentCreateParameters.new(branch: 'my-feature-branch',
|
|
16
|
+
url: 'https://figma.com/file/xxxxx/sample')
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
|
@@ -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::FigmaAttachmentUpdateParameters.new(branch: my-feature-branch,
|
|
16
|
-
url: https://figma.com/file/xxxxx/sample)
|
|
15
|
+
instance = Phrase::FigmaAttachmentUpdateParameters.new(branch: 'my-feature-branch',
|
|
16
|
+
url: 'https://figma.com/file/xxxxx/sample')
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|
data/docs/Format.md
CHANGED
|
@@ -18,16 +18,16 @@ Name | Type | Description | Notes
|
|
|
18
18
|
## Code Sample
|
|
19
19
|
|
|
20
20
|
```ruby
|
|
21
|
-
require '
|
|
21
|
+
require 'phrase'
|
|
22
22
|
|
|
23
|
-
instance = Phrase::Format.new(name: Ruby/Rails YAML,
|
|
24
|
-
api_name: yml,
|
|
25
|
-
description: YAML file format for use with Ruby/Rails applications,
|
|
26
|
-
extension: yml,
|
|
27
|
-
default_encoding: UTF-8,
|
|
23
|
+
instance = Phrase::Format.new(name: 'Ruby/Rails YAML',
|
|
24
|
+
api_name: 'yml',
|
|
25
|
+
description: 'YAML file format for use with Ruby/Rails applications',
|
|
26
|
+
extension: 'yml',
|
|
27
|
+
default_encoding: 'UTF-8',
|
|
28
28
|
importable: true,
|
|
29
29
|
exportable: true,
|
|
30
|
-
default_file: ./config/locales
|
|
30
|
+
default_file: './config/locales/<locale_name>.yml',
|
|
31
31
|
renders_default_locale: false,
|
|
32
32
|
includes_locale_information: false)
|
|
33
33
|
```
|
data/docs/Glossary.md
CHANGED
|
@@ -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::Glossary.new(id:
|
|
20
|
-
name:
|
|
21
|
-
projects:
|
|
22
|
-
spaces:
|
|
23
|
-
created_at:
|
|
24
|
-
updated_at:
|
|
19
|
+
instance = Phrase::Glossary.new(id: nil,
|
|
20
|
+
name: nil,
|
|
21
|
+
projects: nil,
|
|
22
|
+
spaces: nil,
|
|
23
|
+
created_at: nil,
|
|
24
|
+
updated_at: nil)
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
|
|
@@ -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::GlossaryCreateParameters.new(name: My glossary,
|
|
17
|
-
project_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
|
|
18
|
-
space_ids: [
|
|
16
|
+
instance = Phrase::GlossaryCreateParameters.new(name: 'My glossary',
|
|
17
|
+
project_ids: 'abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235',
|
|
18
|
+
space_ids: ["abcd1234abcd1234abcd1234","abcd1234abcd1234abcd1235"])
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
|
data/docs/GlossaryTerm.md
CHANGED
|
@@ -17,17 +17,17 @@ Name | Type | Description | Notes
|
|
|
17
17
|
## Code Sample
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
require '
|
|
20
|
+
require 'phrase'
|
|
21
21
|
|
|
22
|
-
instance = Phrase::GlossaryTerm.new(id:
|
|
23
|
-
term:
|
|
24
|
-
description:
|
|
25
|
-
translatable:
|
|
26
|
-
case_sensitive:
|
|
27
|
-
translations:
|
|
28
|
-
glossary:
|
|
29
|
-
created_at:
|
|
30
|
-
updated_at:
|
|
22
|
+
instance = Phrase::GlossaryTerm.new(id: nil,
|
|
23
|
+
term: nil,
|
|
24
|
+
description: nil,
|
|
25
|
+
translatable: nil,
|
|
26
|
+
case_sensitive: nil,
|
|
27
|
+
translations: nil,
|
|
28
|
+
glossary: nil,
|
|
29
|
+
created_at: nil,
|
|
30
|
+
updated_at: nil)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
|
|
@@ -12,10 +12,10 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
|
-
require '
|
|
15
|
+
require 'phrase'
|
|
16
16
|
|
|
17
|
-
instance = Phrase::GlossaryTermCreateParameters.new(term: MyCompany,
|
|
18
|
-
description: Use this when refering to our company,
|
|
17
|
+
instance = Phrase::GlossaryTermCreateParameters.new(term: 'MyCompany',
|
|
18
|
+
description: 'Use this when refering to our company',
|
|
19
19
|
translatable: true,
|
|
20
20
|
case_sensitive: true)
|
|
21
21
|
```
|
|
@@ -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::GlossaryTermGlossary.new(id:
|
|
16
|
-
name:
|
|
15
|
+
instance = Phrase::GlossaryTermGlossary.new(id: nil,
|
|
16
|
+
name: nil)
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
|