phrase 1.0.2 → 1.0.7

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 (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -3
  3. data/docs/Account.md +2 -0
  4. data/docs/AccountDetails.md +3 -3
  5. data/docs/AccountsApi.md +2 -2
  6. data/docs/AuthorizationsApi.md +2 -2
  7. data/docs/BlacklistedKeysApi.md +4 -2
  8. data/docs/BranchesApi.md +2 -2
  9. data/docs/CommentsApi.md +2 -2
  10. data/docs/DistributionsApi.md +2 -2
  11. data/docs/Document.md +23 -0
  12. data/docs/DocumentsApi.md +137 -0
  13. data/docs/GitHubSyncApi.md +130 -0
  14. data/docs/GitLabSyncApi.md +2 -2
  15. data/docs/GithubSyncExportParameters.md +17 -0
  16. data/docs/GithubSyncImportParameters.md +17 -0
  17. data/docs/GlossariesApi.md +2 -2
  18. data/docs/GlossaryTermsApi.md +2 -2
  19. data/docs/InlineResponse422.md +19 -0
  20. data/docs/InlineResponse422Errors.md +21 -0
  21. data/docs/InvitationsApi.md +2 -2
  22. data/docs/Job.md +5 -1
  23. data/docs/JobCreateParameters.md +2 -0
  24. data/docs/JobDetails.md +4 -0
  25. data/docs/JobLocalesApi.md +2 -2
  26. data/docs/JobUpdateParameters.md +3 -1
  27. data/docs/JobsApi.md +74 -2
  28. data/docs/KeysApi.md +4 -4
  29. data/docs/LocalesApi.md +2 -2
  30. data/docs/MembersApi.md +2 -2
  31. data/docs/OrdersApi.md +2 -2
  32. data/docs/Project.md +2 -0
  33. data/docs/ProjectDetails.md +2 -2
  34. data/docs/ProjectsApi.md +2 -2
  35. data/docs/ReleasesApi.md +2 -2
  36. data/docs/ScreenshotMarkersApi.md +2 -2
  37. data/docs/ScreenshotsApi.md +4 -2
  38. data/docs/SpacesApi.md +4 -4
  39. data/docs/StyleGuidesApi.md +2 -2
  40. data/docs/TagsApi.md +2 -2
  41. data/docs/TeamsApi.md +2 -2
  42. data/docs/TranslationsApi.md +8 -8
  43. data/docs/UploadsApi.md +2 -2
  44. data/docs/VersionsHistoryApi.md +2 -2
  45. data/docs/WebhookCreateParameters.md +2 -0
  46. data/docs/WebhookUpdateParameters.md +2 -0
  47. data/docs/WebhooksApi.md +2 -2
  48. data/lib/phrase.rb +7 -0
  49. data/lib/phrase/api/accounts_api.rb +2 -2
  50. data/lib/phrase/api/authorizations_api.rb +2 -2
  51. data/lib/phrase/api/blacklisted_keys_api.rb +5 -2
  52. data/lib/phrase/api/branches_api.rb +2 -2
  53. data/lib/phrase/api/comments_api.rb +2 -2
  54. data/lib/phrase/api/distributions_api.rb +2 -2
  55. data/lib/phrase/api/documents_api.rb +152 -0
  56. data/lib/phrase/api/git_hub_sync_api.rb +146 -0
  57. data/lib/phrase/api/git_lab_sync_api.rb +2 -2
  58. data/lib/phrase/api/glossaries_api.rb +2 -2
  59. data/lib/phrase/api/glossary_terms_api.rb +2 -2
  60. data/lib/phrase/api/invitations_api.rb +2 -2
  61. data/lib/phrase/api/job_locales_api.rb +2 -2
  62. data/lib/phrase/api/jobs_api.rb +83 -2
  63. data/lib/phrase/api/keys_api.rb +4 -4
  64. data/lib/phrase/api/locales_api.rb +2 -2
  65. data/lib/phrase/api/members_api.rb +2 -2
  66. data/lib/phrase/api/orders_api.rb +2 -2
  67. data/lib/phrase/api/projects_api.rb +2 -2
  68. data/lib/phrase/api/releases_api.rb +2 -2
  69. data/lib/phrase/api/screenshot_markers_api.rb +2 -2
  70. data/lib/phrase/api/screenshots_api.rb +5 -2
  71. data/lib/phrase/api/spaces_api.rb +4 -4
  72. data/lib/phrase/api/style_guides_api.rb +2 -2
  73. data/lib/phrase/api/tags_api.rb +2 -2
  74. data/lib/phrase/api/teams_api.rb +2 -2
  75. data/lib/phrase/api/translations_api.rb +8 -8
  76. data/lib/phrase/api/uploads_api.rb +2 -2
  77. data/lib/phrase/api/versions_history_api.rb +2 -2
  78. data/lib/phrase/api/webhooks_api.rb +2 -2
  79. data/lib/phrase/api_client.rb +2 -2
  80. data/lib/phrase/models/account.rb +10 -1
  81. data/lib/phrase/models/account_details.rb +13 -13
  82. data/lib/phrase/models/document.rb +221 -0
  83. data/lib/phrase/models/github_sync_export_parameters.rb +195 -0
  84. data/lib/phrase/models/github_sync_import_parameters.rb +195 -0
  85. data/lib/phrase/models/inline_response422.rb +205 -0
  86. data/lib/phrase/models/inline_response422_errors.rb +212 -0
  87. data/lib/phrase/models/job.rb +22 -4
  88. data/lib/phrase/models/job_create_parameters.rb +11 -1
  89. data/lib/phrase/models/job_details.rb +19 -1
  90. data/lib/phrase/models/job_update_parameters.rb +14 -4
  91. data/lib/phrase/models/project.rb +10 -1
  92. data/lib/phrase/models/project_details.rb +10 -10
  93. data/lib/phrase/models/webhook_create_parameters.rb +11 -1
  94. data/lib/phrase/models/webhook_update_parameters.rb +11 -1
  95. data/lib/phrase/version.rb +1 -1
  96. data/spec/api/accounts_api_spec.rb +1 -1
  97. data/spec/api/authorizations_api_spec.rb +1 -1
  98. data/spec/api/blacklisted_keys_api_spec.rb +2 -1
  99. data/spec/api/branches_api_spec.rb +1 -1
  100. data/spec/api/comments_api_spec.rb +1 -1
  101. data/spec/api/distributions_api_spec.rb +1 -1
  102. data/spec/api/documents_api_spec.rb +52 -0
  103. data/spec/api/git_hub_sync_api_spec.rb +49 -0
  104. data/spec/api/git_lab_sync_api_spec.rb +1 -1
  105. data/spec/api/glossaries_api_spec.rb +1 -1
  106. data/spec/api/glossary_terms_api_spec.rb +1 -1
  107. data/spec/api/invitations_api_spec.rb +1 -1
  108. data/spec/api/job_locales_api_spec.rb +1 -1
  109. data/spec/api/jobs_api_spec.rb +19 -1
  110. data/spec/api/keys_api_spec.rb +2 -2
  111. data/spec/api/locales_api_spec.rb +1 -1
  112. data/spec/api/members_api_spec.rb +1 -1
  113. data/spec/api/orders_api_spec.rb +1 -1
  114. data/spec/api/projects_api_spec.rb +1 -1
  115. data/spec/api/releases_api_spec.rb +1 -1
  116. data/spec/api/screenshot_markers_api_spec.rb +1 -1
  117. data/spec/api/screenshots_api_spec.rb +2 -1
  118. data/spec/api/spaces_api_spec.rb +2 -2
  119. data/spec/api/style_guides_api_spec.rb +1 -1
  120. data/spec/api/tags_api_spec.rb +1 -1
  121. data/spec/api/teams_api_spec.rb +1 -1
  122. data/spec/api/translations_api_spec.rb +4 -4
  123. data/spec/api/uploads_api_spec.rb +1 -1
  124. data/spec/api/versions_history_api_spec.rb +1 -1
  125. data/spec/api/webhooks_api_spec.rb +1 -1
  126. data/spec/models/account_details_spec.rb +4 -4
  127. data/spec/models/account_spec.rb +6 -0
  128. data/spec/models/document_spec.rb +47 -0
  129. data/spec/models/github_sync_export_parameters_spec.rb +29 -0
  130. data/spec/models/github_sync_import_parameters_spec.rb +29 -0
  131. data/spec/models/inline_response422_errors_spec.rb +41 -0
  132. data/spec/models/inline_response422_spec.rb +35 -0
  133. data/spec/models/job_create_parameters_spec.rb +6 -0
  134. data/spec/models/job_details_spec.rb +12 -0
  135. data/spec/models/job_spec.rb +12 -0
  136. data/spec/models/job_update_parameters_spec.rb +6 -0
  137. data/spec/models/project_details_spec.rb +6 -6
  138. data/spec/models/project_spec.rb +6 -0
  139. data/spec/models/webhook_create_parameters_spec.rb +6 -0
  140. data/spec/models/webhook_update_parameters_spec.rb +6 -0
  141. metadata +183 -155
@@ -5,6 +5,9 @@ module Phrase
5
5
  # Callback URL to send requests to
6
6
  attr_accessor :callback_url
7
7
 
8
+ # Webhook secret used to calculate signature. If empty, the default project secret will be used.
9
+ attr_accessor :secret
10
+
8
11
  # Webhook description
9
12
  attr_accessor :description
10
13
 
@@ -18,6 +21,7 @@ module Phrase
18
21
  def self.attribute_map
19
22
  {
20
23
  :'callback_url' => :'callback_url',
24
+ :'secret' => :'secret',
21
25
  :'description' => :'description',
22
26
  :'events' => :'events',
23
27
  :'active' => :'active'
@@ -28,6 +32,7 @@ module Phrase
28
32
  def self.openapi_types
29
33
  {
30
34
  :'callback_url' => :'String',
35
+ :'secret' => :'String',
31
36
  :'description' => :'String',
32
37
  :'events' => :'String',
33
38
  :'active' => :'Boolean'
@@ -59,6 +64,10 @@ module Phrase
59
64
  self.callback_url = attributes[:'callback_url']
60
65
  end
61
66
 
67
+ if attributes.key?(:'secret')
68
+ self.secret = attributes[:'secret']
69
+ end
70
+
62
71
  if attributes.key?(:'description')
63
72
  self.description = attributes[:'description']
64
73
  end
@@ -91,6 +100,7 @@ module Phrase
91
100
  return true if self.equal?(o)
92
101
  self.class == o.class &&
93
102
  callback_url == o.callback_url &&
103
+ secret == o.secret &&
94
104
  description == o.description &&
95
105
  events == o.events &&
96
106
  active == o.active
@@ -105,7 +115,7 @@ module Phrase
105
115
  # Calculates hash code according to all attributes.
106
116
  # @return [Integer] Hash code
107
117
  def hash
108
- [callback_url, description, events, active].hash
118
+ [callback_url, secret, description, events, active].hash
109
119
  end
110
120
 
111
121
  # Builds the object from hash
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.7'
3
3
  end
@@ -39,7 +39,7 @@ describe 'AccountsApi' do
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
41
41
  # @option opts [Integer] :page Page number
42
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
42
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
43
43
  # @return [Array<Account>]
44
44
  describe 'accounts_list test' do
45
45
  it 'should work' do
@@ -79,7 +79,7 @@ describe 'AuthorizationsApi' do
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
81
81
  # @option opts [Integer] :page Page number
82
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
82
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
83
83
  # @return [Array<Authorization>]
84
84
  describe 'authorizations_list test' do
85
85
  it 'should work' do
@@ -84,7 +84,8 @@ describe 'BlacklistedKeysApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
+ # @option opts [String] :branch specify the branch to use
88
89
  # @return [Array<BlacklistedKey>]
89
90
  describe 'blacklisted_keys_list test' do
90
91
  it 'should work' do
@@ -113,7 +113,7 @@ describe 'BranchesApi' do
113
113
  # @param [Hash] opts the optional parameters
114
114
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
115
115
  # @option opts [Integer] :page Page number
116
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
116
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
117
117
  # @return [Array<Branch>]
118
118
  describe 'branches_list test' do
119
119
  it 'should work' do
@@ -139,7 +139,7 @@ describe 'CommentsApi' do
139
139
  # @param [Hash] opts the optional parameters
140
140
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
141
141
  # @option opts [Integer] :page Page number
142
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
142
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
143
143
  # @option opts [String] :branch specify the branch to use
144
144
  # @return [Array<Comment>]
145
145
  describe 'comments_list test' do
@@ -84,7 +84,7 @@ describe 'DistributionsApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<DistributionPreview>]
89
89
  describe 'distributions_list test' do
90
90
  it 'should work' do
@@ -0,0 +1,52 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for Phrase::DocumentsApi
5
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
6
+ # Please update as you see appropriate
7
+ describe 'DocumentsApi' do
8
+ before do
9
+ # run before each test
10
+ @api_instance = Phrase::DocumentsApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of DocumentsApi' do
18
+ it 'should create an instance of DocumentsApi' do
19
+ expect(@api_instance).to be_instance_of(Phrase::DocumentsApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for document_delete
24
+ # Delete document
25
+ # Delete an existing document.
26
+ # @param project_id Project ID
27
+ # @param id ID
28
+ # @param [Hash] opts the optional parameters
29
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
30
+ # @return [nil]
31
+ describe 'document_delete test' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ # unit tests for documents_list
38
+ # List documents
39
+ # List all documents the current user has access to.
40
+ # @param project_id Project ID
41
+ # @param [Hash] opts the optional parameters
42
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
43
+ # @option opts [Integer] :page Page number
44
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
45
+ # @return [Array<Document>]
46
+ describe 'documents_list test' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for Phrase::GitHubSyncApi
5
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
6
+ # Please update as you see appropriate
7
+ describe 'GitHubSyncApi' do
8
+ before do
9
+ # run before each test
10
+ @api_instance = Phrase::GitHubSyncApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of GitHubSyncApi' do
18
+ it 'should create an instance of GitHubSyncApi' do
19
+ expect(@api_instance).to be_instance_of(Phrase::GitHubSyncApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for github_sync_export
24
+ # Export from Phrase to GitHub
25
+ # Export translations from Phrase to GitHub according to the .phraseapp.yml file within the GitHub repository.
26
+ # @param github_sync_export_parameters
27
+ # @param [Hash] opts the optional parameters
28
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
+ # @return [nil]
30
+ describe 'github_sync_export 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
+ # unit tests for github_sync_import
37
+ # Import to Phrase from GitHub
38
+ # Import files to Phrase from your connected GitHub repository.
39
+ # @param github_sync_import_parameters
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
42
+ # @return [nil]
43
+ describe 'github_sync_import test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -55,7 +55,7 @@ describe 'GitLabSyncApi' do
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
57
57
  # @option opts [Integer] :page Page number
58
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
58
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
59
59
  # @option opts [String] :account_id Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts.
60
60
  # @return [Array<GitlabSyncHistory>]
61
61
  describe 'gitlab_sync_history test' do
@@ -27,7 +27,7 @@ describe 'GlossariesApi' do
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
29
  # @option opts [Integer] :page Page number
30
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
30
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
31
31
  # @return [Array<Glossary>]
32
32
  describe 'glossaries_list test' do
33
33
  it 'should work' do
@@ -89,7 +89,7 @@ describe 'GlossaryTermsApi' do
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
91
91
  # @option opts [Integer] :page Page number
92
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
92
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
93
93
  # @return [Array<GlossaryTerm>]
94
94
  describe 'glossary_terms_list test' do
95
95
  it 'should work' do
@@ -98,7 +98,7 @@ describe 'InvitationsApi' do
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
100
100
  # @option opts [Integer] :page Page number
101
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
101
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
102
102
  # @return [Array<Invitation>]
103
103
  describe 'invitations_list test' do
104
104
  it 'should work' do
@@ -123,7 +123,7 @@ describe 'JobLocalesApi' do
123
123
  # @param [Hash] opts the optional parameters
124
124
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
125
125
  # @option opts [Integer] :page Page number
126
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
126
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
127
127
  # @option opts [String] :branch specify the branch to use
128
128
  # @return [Array<JobLocale>]
129
129
  describe 'job_locales_list test' do
@@ -155,6 +155,24 @@ describe 'JobsApi' do
155
155
  end
156
156
  end
157
157
 
158
+ # unit tests for jobs_by_account
159
+ # List account jobs
160
+ # List all jobs for the given account.
161
+ # @param account_id Account ID
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
164
+ # @option opts [Integer] :page Page number
165
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
166
+ # @option opts [String] :owned_by filter by user owning job
167
+ # @option opts [String] :assigned_to filter by user assigned to job
168
+ # @option opts [String] :state filter by state of job Valid states are &lt;code&gt;draft&lt;/code&gt;, &lt;code&gt;in_progress&lt;/code&gt;, &lt;code&gt;completed&lt;/code&gt;
169
+ # @return [Array<Job>]
170
+ describe 'jobs_by_account test' do
171
+ it 'should work' do
172
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
173
+ end
174
+ end
175
+
158
176
  # unit tests for jobs_list
159
177
  # List jobs
160
178
  # List all jobs for the given project.
@@ -162,7 +180,7 @@ describe 'JobsApi' do
162
180
  # @param [Hash] opts the optional parameters
163
181
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
164
182
  # @option opts [Integer] :page Page number
165
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
183
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
166
184
  # @option opts [String] :branch specify the branch to use
167
185
  # @option opts [String] :owned_by filter by user owning job
168
186
  # @option opts [String] :assigned_to filter by user assigned to job
@@ -102,7 +102,7 @@ describe 'KeysApi' do
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
104
104
  # @option opts [Integer] :page Page number
105
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
105
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
106
106
  # @option opts [String] :branch specify the branch to use
107
107
  # @option opts [String] :sort Sort by field. Can be one of: name, created_at, updated_at.
108
108
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -123,7 +123,7 @@ describe 'KeysApi' do
123
123
  # @param [Hash] opts the optional parameters
124
124
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
125
125
  # @option opts [Integer] :page Page number
126
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
126
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
127
127
  # @return [Array<TranslationKey>]
128
128
  describe 'keys_search test' do
129
129
  it 'should work' do
@@ -114,7 +114,7 @@ describe 'LocalesApi' do
114
114
  # @param [Hash] opts the optional parameters
115
115
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
116
116
  # @option opts [Integer] :page Page number
117
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
117
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
118
118
  # @option opts [String] :branch specify the branch to use
119
119
  # @return [Array<Locale>]
120
120
  describe 'locales_list test' do
@@ -70,7 +70,7 @@ describe 'MembersApi' do
70
70
  # @param [Hash] opts the optional parameters
71
71
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
72
72
  # @option opts [Integer] :page Page number
73
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
73
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
74
74
  # @return [Array<Member>]
75
75
  describe 'members_list test' do
76
76
  it 'should work' do
@@ -86,7 +86,7 @@ describe 'OrdersApi' do
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
88
88
  # @option opts [Integer] :page Page number
89
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
89
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
90
90
  # @option opts [String] :branch specify the branch to use
91
91
  # @return [Array<TranslationOrder>]
92
92
  describe 'orders_list test' do
@@ -79,7 +79,7 @@ describe 'ProjectsApi' do
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
81
81
  # @option opts [Integer] :page Page number
82
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
82
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
83
83
  # @return [Array<Project>]
84
84
  describe 'projects_list test' do
85
85
  it 'should work' do
@@ -104,7 +104,7 @@ describe 'ReleasesApi' do
104
104
  # @param [Hash] opts the optional parameters
105
105
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
106
106
  # @option opts [Integer] :page Page number
107
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
107
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
108
108
  # @return [Array<ReleasePreview>]
109
109
  describe 'releases_list test' do
110
110
  it 'should work' do
@@ -87,7 +87,7 @@ describe 'ScreenshotMarkersApi' do
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
89
89
  # @option opts [Integer] :page Page number
90
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
90
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
91
91
  # @return [Array<ScreenshotMarker>]
92
92
  describe 'screenshot_markers_list test' do
93
93
  it 'should work' do
@@ -84,7 +84,8 @@ describe 'ScreenshotsApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
+ # @option opts [String] :key_id filter by key
88
89
  # @return [Array<Screenshot>]
89
90
  describe 'screenshots_list test' do
90
91
  it 'should work' do
@@ -84,7 +84,7 @@ describe 'SpacesApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Space>]
89
89
  describe 'spaces_list test' do
90
90
  it 'should work' do
@@ -130,7 +130,7 @@ describe 'SpacesApi' do
130
130
  # @param [Hash] opts the optional parameters
131
131
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
132
132
  # @option opts [Integer] :page Page number
133
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
133
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
134
134
  # @return [Array<Project>]
135
135
  describe 'spaces_projects_list test' do
136
136
  it 'should work' do
@@ -84,7 +84,7 @@ describe 'StyleGuidesApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Styleguide>]
89
89
  describe 'styleguides_list test' do
90
90
  it 'should work' do
@@ -71,7 +71,7 @@ describe 'TagsApi' do
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
73
73
  # @option opts [Integer] :page Page number
74
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
74
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
75
75
  # @option opts [String] :branch specify the branch to use
76
76
  # @return [Array<Tag>]
77
77
  describe 'tags_list test' do
@@ -84,7 +84,7 @@ describe 'TeamsApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Team>]
89
89
  describe 'teams_list test' do
90
90
  it 'should work' do
@@ -147,7 +147,7 @@ describe 'TranslationsApi' do
147
147
  # @param [Hash] opts the optional parameters
148
148
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
149
149
  # @option opts [Integer] :page Page number
150
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
150
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
151
151
  # @option opts [String] :branch specify the branch to use
152
152
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
153
153
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -167,7 +167,7 @@ describe 'TranslationsApi' do
167
167
  # @param [Hash] opts the optional parameters
168
168
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
169
169
  # @option opts [Integer] :page Page number
170
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
170
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
171
171
  # @option opts [String] :branch specify the branch to use
172
172
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
173
173
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -214,7 +214,7 @@ describe 'TranslationsApi' do
214
214
  # @param [Hash] opts the optional parameters
215
215
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
216
216
  # @option opts [Integer] :page Page number
217
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
217
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
218
218
  # @option opts [String] :branch specify the branch to use
219
219
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
220
220
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -248,7 +248,7 @@ describe 'TranslationsApi' do
248
248
  # @param [Hash] opts the optional parameters
249
249
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
250
250
  # @option opts [Integer] :page Page number
251
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
251
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
252
252
  # @return [Array<Translation>]
253
253
  describe 'translations_search test' do
254
254
  it 'should work' do