phrase 2.4.0 → 2.5.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.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +16 -3
  3. data/docs/AccountsApi.md +8 -2
  4. data/docs/AuthorizationsApi.md +20 -5
  5. data/docs/BitbucketSyncApi.md +12 -3
  6. data/docs/BlacklistedKeysApi.md +20 -5
  7. data/docs/BranchesApi.md +28 -7
  8. data/docs/CommentsApi.md +32 -8
  9. data/docs/DistributionsApi.md +20 -5
  10. data/docs/DocumentsApi.md +8 -2
  11. data/docs/FormatsApi.md +4 -1
  12. data/docs/GitHubSyncApi.md +8 -2
  13. data/docs/GitLabSyncApi.md +28 -7
  14. data/docs/GlossariesApi.md +20 -5
  15. data/docs/GlossaryTermTranslationsApi.md +12 -3
  16. data/docs/GlossaryTermsApi.md +20 -5
  17. data/docs/ICUApi.md +73 -0
  18. data/docs/Icu.md +17 -0
  19. data/docs/IcuSkeletonParameters.md +21 -0
  20. data/docs/InvitationsApi.md +28 -7
  21. data/docs/JobLocaleCompleteReviewParameters.md +17 -0
  22. data/docs/JobLocaleUpdateParameters.md +3 -1
  23. data/docs/JobLocalesApi.md +99 -7
  24. data/docs/JobLocalesCreateParameters.md +4 -2
  25. data/docs/JobTemplateLocalesApi.md +20 -5
  26. data/docs/JobTemplatesApi.md +20 -5
  27. data/docs/JobsApi.md +44 -11
  28. data/docs/KeysApi.md +44 -11
  29. data/docs/LocalesApi.md +28 -7
  30. data/docs/Member.md +6 -0
  31. data/docs/MembersApi.md +20 -5
  32. data/docs/NotificationGroupsApi.md +12 -3
  33. data/docs/NotificationsApi.md +12 -3
  34. data/docs/OrdersApi.md +20 -5
  35. data/docs/Project.md +2 -0
  36. data/docs/ProjectDetails.md +2 -0
  37. data/docs/ProjectsApi.md +20 -5
  38. data/docs/ReleasesApi.md +24 -6
  39. data/docs/ScreenshotMarkersApi.md +20 -5
  40. data/docs/ScreenshotsApi.md +20 -5
  41. data/docs/SearchApi.md +4 -1
  42. data/docs/SpacesApi.md +32 -8
  43. data/docs/StyleGuidesApi.md +20 -5
  44. data/docs/TagsApi.md +16 -4
  45. data/docs/Team1.md +23 -0
  46. data/docs/TeamsApi.md +44 -11
  47. data/docs/TranslationsApi.md +68 -17
  48. data/docs/UploadsApi.md +12 -3
  49. data/docs/UserPreview.md +3 -1
  50. data/docs/UsersApi.md +4 -1
  51. data/docs/VariablesApi.md +20 -5
  52. data/docs/VersionsHistoryApi.md +8 -2
  53. data/docs/WebhooksApi.md +24 -6
  54. data/lib/phrase/api/accounts_api.rb +2 -2
  55. data/lib/phrase/api/authorizations_api.rb +5 -5
  56. data/lib/phrase/api/bitbucket_sync_api.rb +3 -3
  57. data/lib/phrase/api/blacklisted_keys_api.rb +5 -5
  58. data/lib/phrase/api/branches_api.rb +7 -7
  59. data/lib/phrase/api/comments_api.rb +8 -8
  60. data/lib/phrase/api/distributions_api.rb +5 -5
  61. data/lib/phrase/api/documents_api.rb +2 -2
  62. data/lib/phrase/api/formats_api.rb +1 -1
  63. data/lib/phrase/api/git_hub_sync_api.rb +2 -2
  64. data/lib/phrase/api/git_lab_sync_api.rb +7 -7
  65. data/lib/phrase/api/glossaries_api.rb +5 -5
  66. data/lib/phrase/api/glossary_term_translations_api.rb +3 -3
  67. data/lib/phrase/api/glossary_terms_api.rb +5 -5
  68. data/lib/phrase/api/icu_api.rb +78 -0
  69. data/lib/phrase/api/invitations_api.rb +7 -7
  70. data/lib/phrase/api/job_locales_api.rb +93 -7
  71. data/lib/phrase/api/job_template_locales_api.rb +5 -5
  72. data/lib/phrase/api/job_templates_api.rb +5 -5
  73. data/lib/phrase/api/jobs_api.rb +11 -11
  74. data/lib/phrase/api/keys_api.rb +11 -11
  75. data/lib/phrase/api/locales_api.rb +7 -7
  76. data/lib/phrase/api/members_api.rb +5 -5
  77. data/lib/phrase/api/notification_groups_api.rb +3 -3
  78. data/lib/phrase/api/notifications_api.rb +3 -3
  79. data/lib/phrase/api/orders_api.rb +5 -5
  80. data/lib/phrase/api/projects_api.rb +5 -5
  81. data/lib/phrase/api/releases_api.rb +6 -6
  82. data/lib/phrase/api/screenshot_markers_api.rb +5 -5
  83. data/lib/phrase/api/screenshots_api.rb +5 -5
  84. data/lib/phrase/api/search_api.rb +1 -1
  85. data/lib/phrase/api/spaces_api.rb +8 -8
  86. data/lib/phrase/api/style_guides_api.rb +5 -5
  87. data/lib/phrase/api/tags_api.rb +4 -4
  88. data/lib/phrase/api/teams_api.rb +11 -11
  89. data/lib/phrase/api/translations_api.rb +17 -17
  90. data/lib/phrase/api/uploads_api.rb +3 -3
  91. data/lib/phrase/api/users_api.rb +1 -1
  92. data/lib/phrase/api/variables_api.rb +5 -5
  93. data/lib/phrase/api/versions_history_api.rb +2 -2
  94. data/lib/phrase/api/webhooks_api.rb +6 -6
  95. data/lib/phrase/configuration.rb +8 -0
  96. data/lib/phrase/models/icu.rb +195 -0
  97. data/lib/phrase/models/icu_skeleton_parameters.rb +217 -0
  98. data/lib/phrase/models/job_locale_complete_review_parameters.rb +195 -0
  99. data/lib/phrase/models/job_locale_update_parameters.rb +16 -4
  100. data/lib/phrase/models/job_locales_create_parameters.rb +17 -5
  101. data/lib/phrase/models/member.rb +30 -1
  102. data/lib/phrase/models/project.rb +10 -1
  103. data/lib/phrase/models/project_details.rb +10 -1
  104. data/lib/phrase/models/team1.rb +221 -0
  105. data/lib/phrase/models/user_preview.rb +13 -4
  106. data/lib/phrase/response.rb +1 -1
  107. data/lib/phrase/version.rb +1 -1
  108. data/lib/phrase.rb +5 -0
  109. data/phrase.gemspec +2 -2
  110. data/spec/api/icu_api_spec.rb +36 -0
  111. data/spec/api/job_locales_api_spec.rb +16 -0
  112. data/spec/models/icu_skeleton_parameters_spec.rb +41 -0
  113. data/spec/models/icu_spec.rb +29 -0
  114. data/spec/models/job_locale_complete_review_parameters_spec.rb +29 -0
  115. data/spec/models/job_locale_update_parameters_spec.rb +6 -0
  116. data/spec/models/job_locales_create_parameters_spec.rb +6 -0
  117. data/spec/models/member_spec.rb +18 -0
  118. data/spec/models/project_details_spec.rb +6 -0
  119. data/spec/models/project_spec.rb +6 -0
  120. data/spec/models/team1_spec.rb +47 -0
  121. data/spec/models/user_preview_spec.rb +6 -0
  122. metadata +218 -198
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for Phrase::ICUApi
5
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
6
+ # Please update as you see appropriate
7
+ describe 'ICUApi' do
8
+ before do
9
+ # run before each test
10
+ @api_instance = Phrase::ICUApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of ICUApi' do
18
+ it 'should create an instance of ICUApi' do
19
+ expect(@api_instance).to be_instance_of(Phrase::ICUApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for icu_skeleton
24
+ # Build icu skeletons
25
+ # Returns icu skeletons for multiple locale codes based on a source content.
26
+ # @param icu_skeleton_parameters
27
+ # @param [Hash] opts the optional parameters
28
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
+ # @return [Icu]
30
+ describe 'icu_skeleton test' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ end
@@ -36,6 +36,22 @@ describe 'JobLocalesApi' do
36
36
  end
37
37
  end
38
38
 
39
+ # unit tests for job_locale_complete_review
40
+ # Review a job locale
41
+ # Mark job locale as reviewed.
42
+ # @param project_id Project ID
43
+ # @param job_id Job ID
44
+ # @param id ID
45
+ # @param job_locale_complete_review_parameters
46
+ # @param [Hash] opts the optional parameters
47
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
48
+ # @return [JobLocale]
49
+ describe 'job_locale_complete_review test' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
+ end
53
+ end
54
+
39
55
  # unit tests for job_locale_delete
40
56
  # Delete a job locale
41
57
  # Delete an existing job locale.
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::IcuSkeletonParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'IcuSkeletonParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::IcuSkeletonParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of IcuSkeletonParameters' do
19
+ it 'should create an instance of IcuSkeletonParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::IcuSkeletonParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "content"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ describe 'test attribute "locale_codes"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
35
+ describe 'test attribute "zero_form_enabled"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::Icu
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'Icu' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::Icu.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Icu' do
19
+ it 'should create an instance of Icu' do
20
+ expect(@instance).to be_instance_of(Phrase::Icu)
21
+ end
22
+ end
23
+ describe 'test attribute "locale_code"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobLocaleCompleteReviewParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobLocaleCompleteReviewParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobLocaleCompleteReviewParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobLocaleCompleteReviewParameters' do
19
+ it 'should create an instance of JobLocaleCompleteReviewParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::JobLocaleCompleteReviewParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "branch"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ end
@@ -38,4 +38,10 @@ describe 'JobLocaleUpdateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "reviewer_ids"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  end
@@ -38,4 +38,10 @@ describe 'JobLocalesCreateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "reviewer_ids"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  end
@@ -38,6 +38,18 @@ describe 'Member' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "created_at"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "last_activity_at"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
41
53
  describe 'test attribute "role"' do
42
54
  it 'should work' do
43
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +74,12 @@ describe 'Member' do
62
74
  end
63
75
  end
64
76
 
77
+ describe 'test attribute "teams"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
65
83
  describe 'test attribute "spaces"' do
66
84
  it 'should work' do
67
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +62,12 @@ describe 'ProjectDetails' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "point_of_contact"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "created_at"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +62,12 @@ describe 'Project' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "point_of_contact"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "created_at"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::Team1
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'Team1' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::Team1.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Team1' do
19
+ it 'should create an instance of Team1' do
20
+ expect(@instance).to be_instance_of(Phrase::Team1)
21
+ end
22
+ end
23
+ describe 'test attribute "id"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ describe 'test attribute "name"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
35
+ describe 'test attribute "created_at"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "updated_at"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -38,4 +38,10 @@ describe 'UserPreview' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "gravatar_uid"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  end