phrase 2.5.0 → 2.7.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 (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -11
  3. data/docs/AccountsApi.md +2 -8
  4. data/docs/AuthorizationsApi.md +5 -20
  5. data/docs/BitbucketSyncApi.md +3 -12
  6. data/docs/BlacklistedKeysApi.md +5 -20
  7. data/docs/BranchesApi.md +7 -28
  8. data/docs/CommentsApi.md +8 -32
  9. data/docs/DistributionsApi.md +5 -20
  10. data/docs/DocumentsApi.md +2 -8
  11. data/docs/FormatsApi.md +1 -4
  12. data/docs/GitHubSyncApi.md +2 -8
  13. data/docs/GitLabSyncApi.md +7 -28
  14. data/docs/GlossariesApi.md +5 -20
  15. data/docs/GlossaryTermTranslationsApi.md +3 -12
  16. data/docs/GlossaryTermsApi.md +5 -20
  17. data/docs/ICUApi.md +1 -4
  18. data/docs/IcuSkeletonParameters.md +2 -0
  19. data/docs/Invitation.md +3 -1
  20. data/docs/InvitationsApi.md +7 -28
  21. data/docs/JobCreateParameters.md +3 -1
  22. data/docs/JobLocalesApi.md +8 -32
  23. data/docs/JobTemplateLocalesApi.md +5 -20
  24. data/docs/JobTemplatesApi.md +5 -20
  25. data/docs/JobsApi.md +141 -44
  26. data/docs/KeyCreateParameters.md +2 -0
  27. data/docs/KeysApi.md +11 -44
  28. data/docs/LocalesApi.md +7 -28
  29. data/docs/Member.md +1 -1
  30. data/docs/MembersApi.md +5 -20
  31. data/docs/NotificationGroupsApi.md +3 -12
  32. data/docs/NotificationsApi.md +3 -12
  33. data/docs/OrdersApi.md +5 -20
  34. data/docs/ProjectLocales.md +2 -0
  35. data/docs/ProjectMemberSpecific.md +27 -0
  36. data/docs/ProjectsApi.md +5 -20
  37. data/docs/ReleasesApi.md +6 -24
  38. data/docs/ScreenshotMarkersApi.md +5 -20
  39. data/docs/ScreenshotsApi.md +5 -20
  40. data/docs/SearchApi.md +1 -4
  41. data/docs/SpacesApi.md +8 -32
  42. data/docs/StyleGuidesApi.md +5 -20
  43. data/docs/TagsApi.md +4 -16
  44. data/docs/{Team1.md → TeamShort.md} +2 -2
  45. data/docs/TeamsApi.md +11 -44
  46. data/docs/TranslationsApi.md +17 -68
  47. data/docs/UploadsApi.md +3 -12
  48. data/docs/UsersApi.md +1 -4
  49. data/docs/VariablesApi.md +5 -20
  50. data/docs/VersionsHistoryApi.md +2 -8
  51. data/docs/WebhooksApi.md +6 -24
  52. data/lib/phrase/api/accounts_api.rb +2 -2
  53. data/lib/phrase/api/authorizations_api.rb +5 -5
  54. data/lib/phrase/api/bitbucket_sync_api.rb +3 -3
  55. data/lib/phrase/api/blacklisted_keys_api.rb +5 -5
  56. data/lib/phrase/api/branches_api.rb +7 -7
  57. data/lib/phrase/api/comments_api.rb +8 -8
  58. data/lib/phrase/api/distributions_api.rb +5 -5
  59. data/lib/phrase/api/documents_api.rb +2 -2
  60. data/lib/phrase/api/formats_api.rb +1 -1
  61. data/lib/phrase/api/git_hub_sync_api.rb +2 -2
  62. data/lib/phrase/api/git_lab_sync_api.rb +7 -7
  63. data/lib/phrase/api/glossaries_api.rb +5 -5
  64. data/lib/phrase/api/glossary_term_translations_api.rb +3 -3
  65. data/lib/phrase/api/glossary_terms_api.rb +5 -5
  66. data/lib/phrase/api/icu_api.rb +1 -1
  67. data/lib/phrase/api/invitations_api.rb +7 -7
  68. data/lib/phrase/api/job_locales_api.rb +8 -8
  69. data/lib/phrase/api/job_template_locales_api.rb +5 -5
  70. data/lib/phrase/api/job_templates_api.rb +5 -5
  71. data/lib/phrase/api/jobs_api.rb +157 -11
  72. data/lib/phrase/api/keys_api.rb +11 -11
  73. data/lib/phrase/api/locales_api.rb +7 -7
  74. data/lib/phrase/api/members_api.rb +5 -5
  75. data/lib/phrase/api/notification_groups_api.rb +3 -3
  76. data/lib/phrase/api/notifications_api.rb +3 -3
  77. data/lib/phrase/api/orders_api.rb +5 -5
  78. data/lib/phrase/api/projects_api.rb +5 -5
  79. data/lib/phrase/api/releases_api.rb +6 -6
  80. data/lib/phrase/api/screenshot_markers_api.rb +5 -5
  81. data/lib/phrase/api/screenshots_api.rb +5 -5
  82. data/lib/phrase/api/search_api.rb +1 -1
  83. data/lib/phrase/api/spaces_api.rb +8 -8
  84. data/lib/phrase/api/style_guides_api.rb +5 -5
  85. data/lib/phrase/api/tags_api.rb +4 -4
  86. data/lib/phrase/api/teams_api.rb +11 -11
  87. data/lib/phrase/api/translations_api.rb +17 -17
  88. data/lib/phrase/api/uploads_api.rb +3 -3
  89. data/lib/phrase/api/users_api.rb +1 -1
  90. data/lib/phrase/api/variables_api.rb +5 -5
  91. data/lib/phrase/api/versions_history_api.rb +2 -2
  92. data/lib/phrase/api/webhooks_api.rb +6 -6
  93. data/lib/phrase/configuration.rb +0 -8
  94. data/lib/phrase/models/icu_skeleton_parameters.rb +11 -1
  95. data/lib/phrase/models/invitation.rb +13 -2
  96. data/lib/phrase/models/job_create_parameters.rb +14 -4
  97. data/lib/phrase/models/key_create_parameters.rb +11 -1
  98. data/lib/phrase/models/member.rb +1 -1
  99. data/lib/phrase/models/project_locales.rb +11 -2
  100. data/lib/phrase/models/project_member_specific.rb +239 -0
  101. data/lib/phrase/models/{team1.rb → team_short.rb} +3 -3
  102. data/lib/phrase/version.rb +1 -1
  103. data/lib/phrase.rb +2 -1
  104. data/spec/api/jobs_api_spec.rb +30 -0
  105. data/spec/models/icu_skeleton_parameters_spec.rb +6 -0
  106. data/spec/models/invitation_spec.rb +6 -0
  107. data/spec/models/job_create_parameters_spec.rb +6 -0
  108. data/spec/models/key_create_parameters_spec.rb +6 -0
  109. data/spec/models/project_locales_spec.rb +6 -0
  110. data/spec/models/project_member_specific_spec.rb +59 -0
  111. data/spec/models/{team1_spec.rb → team_short_spec.rb} +6 -6
  112. metadata +204 -200
@@ -95,6 +95,21 @@ describe 'JobsApi' do
95
95
  end
96
96
  end
97
97
 
98
+ # unit tests for job_lock
99
+ # Lock a job
100
+ # If you are the job owner, you may lock a job using this API request.
101
+ # @param project_id Project ID
102
+ # @param id ID
103
+ # @param [Hash] opts the optional parameters
104
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
105
+ # @option opts [String] :branch specify the branch to use
106
+ # @return [nil]
107
+ describe 'job_lock test' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
98
113
  # unit tests for job_reopen
99
114
  # Reopen a job
100
115
  # Mark a job as uncompleted.
@@ -140,6 +155,21 @@ describe 'JobsApi' do
140
155
  end
141
156
  end
142
157
 
158
+ # unit tests for job_unlock
159
+ # Unlock a job
160
+ # If you are the job owner, you may unlock a locked job using this API request.
161
+ # @param project_id Project ID
162
+ # @param id ID
163
+ # @param [Hash] opts the optional parameters
164
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
165
+ # @option opts [String] :branch specify the branch to use
166
+ # @return [nil]
167
+ describe 'job_unlock test' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
143
173
  # unit tests for job_update
144
174
  # Update a job
145
175
  # Update an existing job.
@@ -32,6 +32,12 @@ describe 'IcuSkeletonParameters' do
32
32
  end
33
33
  end
34
34
 
35
+ describe 'test attribute "keep_content"' 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
+
35
41
  describe 'test attribute "zero_form_enabled"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,6 +56,12 @@ describe 'Invitation' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "teams"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  describe 'test attribute "default_locale_codes"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -68,4 +68,10 @@ describe 'JobCreateParameters' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "job_template_id"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
71
77
  end
@@ -86,6 +86,12 @@ describe 'KeyCreateParameters' do
86
86
  end
87
87
  end
88
88
 
89
+ describe 'test attribute "default_translation_content"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
89
95
  describe 'test attribute "xml_space_preserve"' do
90
96
  it 'should work' do
91
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,6 +32,12 @@ describe 'ProjectLocales' do
32
32
  end
33
33
  end
34
34
 
35
+ describe 'test attribute "project_role"' 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
+
35
41
  describe 'test attribute "main_format"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,59 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::ProjectMemberSpecific
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'ProjectMemberSpecific' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::ProjectMemberSpecific.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of ProjectMemberSpecific' do
19
+ it 'should create an instance of ProjectMemberSpecific' do
20
+ expect(@instance).to be_instance_of(Phrase::ProjectMemberSpecific)
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 "project_role"' 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 "main_format"' 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 "created_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
+
53
+ describe 'test attribute "updated_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -2,22 +2,22 @@ require 'spec_helper'
2
2
  require 'json'
3
3
  require 'date'
4
4
 
5
- # Unit tests for Phrase::Team1
5
+ # Unit tests for Phrase::TeamShort
6
6
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
7
  # Please update as you see appropriate
8
- describe 'Team1' do
8
+ describe 'TeamShort' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::Team1.new
11
+ @instance = Phrase::TeamShort.new
12
12
  end
13
13
 
14
14
  after do
15
15
  # run after each test
16
16
  end
17
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)
18
+ describe 'test an instance of TeamShort' do
19
+ it 'should create an instance of TeamShort' do
20
+ expect(@instance).to be_instance_of(Phrase::TeamShort)
21
21
  end
22
22
  end
23
23
  describe 'test attribute "id"' do