phrase 2.8.1 → 2.8.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AccountsApi.md +2 -2
  4. data/docs/AuthorizationsApi.md +2 -2
  5. data/docs/BlacklistedKeysApi.md +2 -2
  6. data/docs/BranchesApi.md +2 -2
  7. data/docs/CommentsApi.md +2 -2
  8. data/docs/DistributionsApi.md +2 -2
  9. data/docs/DocumentsApi.md +2 -2
  10. data/docs/GitLabSyncApi.md +2 -2
  11. data/docs/GlossariesApi.md +2 -2
  12. data/docs/GlossaryTermsApi.md +2 -2
  13. data/docs/InvitationsApi.md +2 -2
  14. data/docs/JobLocalesApi.md +2 -2
  15. data/docs/JobTemplateLocalesApi.md +2 -2
  16. data/docs/JobTemplatesApi.md +2 -2
  17. data/docs/JobsApi.md +4 -4
  18. data/docs/KeysApi.md +4 -4
  19. data/docs/LocalesApi.md +5 -5
  20. data/docs/MembersApi.md +2 -2
  21. data/docs/NotificationGroupsApi.md +2 -2
  22. data/docs/NotificationsApi.md +4 -2
  23. data/docs/OrdersApi.md +2 -2
  24. data/docs/ProjectsApi.md +2 -2
  25. data/docs/ReleasesApi.md +2 -2
  26. data/docs/ScreenshotMarkersApi.md +2 -2
  27. data/docs/ScreenshotsApi.md +2 -2
  28. data/docs/SpacesApi.md +4 -4
  29. data/docs/StyleGuidesApi.md +2 -2
  30. data/docs/TagsApi.md +2 -2
  31. data/docs/TeamsApi.md +2 -2
  32. data/docs/TranslationsApi.md +8 -8
  33. data/docs/UploadsApi.md +2 -2
  34. data/docs/VariablesApi.md +2 -2
  35. data/docs/VersionsHistoryApi.md +2 -2
  36. data/docs/WebhooksApi.md +2 -2
  37. data/lib/phrase/api/accounts_api.rb +2 -2
  38. data/lib/phrase/api/authorizations_api.rb +2 -2
  39. data/lib/phrase/api/blacklisted_keys_api.rb +2 -2
  40. data/lib/phrase/api/branches_api.rb +2 -2
  41. data/lib/phrase/api/comments_api.rb +2 -2
  42. data/lib/phrase/api/distributions_api.rb +2 -2
  43. data/lib/phrase/api/documents_api.rb +2 -2
  44. data/lib/phrase/api/git_lab_sync_api.rb +2 -2
  45. data/lib/phrase/api/glossaries_api.rb +2 -2
  46. data/lib/phrase/api/glossary_terms_api.rb +2 -2
  47. data/lib/phrase/api/invitations_api.rb +2 -2
  48. data/lib/phrase/api/job_locales_api.rb +2 -2
  49. data/lib/phrase/api/job_template_locales_api.rb +2 -2
  50. data/lib/phrase/api/job_templates_api.rb +2 -2
  51. data/lib/phrase/api/jobs_api.rb +4 -4
  52. data/lib/phrase/api/keys_api.rb +4 -4
  53. data/lib/phrase/api/locales_api.rb +5 -5
  54. data/lib/phrase/api/members_api.rb +2 -2
  55. data/lib/phrase/api/notification_groups_api.rb +2 -2
  56. data/lib/phrase/api/notifications_api.rb +5 -2
  57. data/lib/phrase/api/orders_api.rb +2 -2
  58. data/lib/phrase/api/projects_api.rb +2 -2
  59. data/lib/phrase/api/releases_api.rb +2 -2
  60. data/lib/phrase/api/screenshot_markers_api.rb +2 -2
  61. data/lib/phrase/api/screenshots_api.rb +2 -2
  62. data/lib/phrase/api/spaces_api.rb +4 -4
  63. data/lib/phrase/api/style_guides_api.rb +2 -2
  64. data/lib/phrase/api/tags_api.rb +2 -2
  65. data/lib/phrase/api/teams_api.rb +2 -2
  66. data/lib/phrase/api/translations_api.rb +8 -8
  67. data/lib/phrase/api/uploads_api.rb +2 -2
  68. data/lib/phrase/api/variables_api.rb +2 -2
  69. data/lib/phrase/api/versions_history_api.rb +2 -2
  70. data/lib/phrase/api/webhooks_api.rb +2 -2
  71. data/lib/phrase/version.rb +1 -1
  72. data/spec/api/accounts_api_spec.rb +1 -1
  73. data/spec/api/authorizations_api_spec.rb +1 -1
  74. data/spec/api/blacklisted_keys_api_spec.rb +1 -1
  75. data/spec/api/branches_api_spec.rb +1 -1
  76. data/spec/api/comments_api_spec.rb +1 -1
  77. data/spec/api/distributions_api_spec.rb +1 -1
  78. data/spec/api/documents_api_spec.rb +1 -1
  79. data/spec/api/git_lab_sync_api_spec.rb +1 -1
  80. data/spec/api/glossaries_api_spec.rb +1 -1
  81. data/spec/api/glossary_terms_api_spec.rb +1 -1
  82. data/spec/api/invitations_api_spec.rb +1 -1
  83. data/spec/api/job_locales_api_spec.rb +1 -1
  84. data/spec/api/job_template_locales_api_spec.rb +1 -1
  85. data/spec/api/job_templates_api_spec.rb +1 -1
  86. data/spec/api/jobs_api_spec.rb +2 -2
  87. data/spec/api/keys_api_spec.rb +2 -2
  88. data/spec/api/locales_api_spec.rb +2 -2
  89. data/spec/api/members_api_spec.rb +1 -1
  90. data/spec/api/notification_groups_api_spec.rb +1 -1
  91. data/spec/api/notifications_api_spec.rb +2 -1
  92. data/spec/api/orders_api_spec.rb +1 -1
  93. data/spec/api/projects_api_spec.rb +1 -1
  94. data/spec/api/releases_api_spec.rb +1 -1
  95. data/spec/api/screenshot_markers_api_spec.rb +1 -1
  96. data/spec/api/screenshots_api_spec.rb +1 -1
  97. data/spec/api/spaces_api_spec.rb +2 -2
  98. data/spec/api/style_guides_api_spec.rb +1 -1
  99. data/spec/api/tags_api_spec.rb +1 -1
  100. data/spec/api/teams_api_spec.rb +1 -1
  101. data/spec/api/translations_api_spec.rb +4 -4
  102. data/spec/api/uploads_api_spec.rb +1 -1
  103. data/spec/api/variables_api_spec.rb +1 -1
  104. data/spec/api/versions_history_api_spec.rb +1 -1
  105. data/spec/api/webhooks_api_spec.rb +1 -1
  106. metadata +200 -200
@@ -13,7 +13,7 @@ module Phrase
13
13
  # @param [Hash] opts the optional parameters
14
14
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
15
15
  # @option opts [Integer] :page Page number
16
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
16
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
17
17
  # @return [Array<LocalePreview1>]
18
18
  def account_locales(id, opts = {})
19
19
  data, _status_code, _headers = account_locales_with_http_info(id, opts)
@@ -26,7 +26,7 @@ module Phrase
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
28
28
  # @option opts [Integer] :page Page number
29
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
29
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
30
30
  # @return [Array<(Response<(Array<LocalePreview1>)>, Integer, Hash)>] Response<(Array<LocalePreview1>)> data, response status code and response headers
31
31
  def account_locales_with_http_info(id, opts = {})
32
32
  if @api_client.config.debugging
@@ -37,7 +37,7 @@ module Phrase
37
37
  fail ArgumentError, "Missing the required parameter 'id' when calling LocalesApi.account_locales"
38
38
  end
39
39
  # resource path
40
- local_var_path = '/accounts/{account_id}/locales'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
40
+ local_var_path = '/accounts/{id}/locales'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
41
41
 
42
42
  # query parameters
43
43
  query_params = opts[:query_params] || {}
@@ -507,7 +507,7 @@ module Phrase
507
507
  # @param [Hash] opts the optional parameters
508
508
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
509
509
  # @option opts [Integer] :page Page number
510
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
510
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
511
511
  # @option opts [String] :sort_by Sort locales. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;default_asc\&quot;, \&quot;default_desc\&quot;.
512
512
  # @option opts [String] :branch specify the branch to use
513
513
  # @return [Array<Locale>]
@@ -522,7 +522,7 @@ module Phrase
522
522
  # @param [Hash] opts the optional parameters
523
523
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
524
524
  # @option opts [Integer] :page Page number
525
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
525
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
526
526
  # @option opts [String] :sort_by Sort locales. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;default_asc\&quot;, \&quot;default_desc\&quot;.
527
527
  # @option opts [String] :branch specify the branch to use
528
528
  # @return [Array<(Response<(Array<Locale>)>, Integer, Hash)>] Response<(Array<Locale>)> data, response status code and response headers
@@ -315,7 +315,7 @@ module Phrase
315
315
  # @param [Hash] opts the optional parameters
316
316
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
317
317
  # @option opts [Integer] :page Page number
318
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
318
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
319
319
  # @return [Array<Member>]
320
320
  def members_list(account_id, opts = {})
321
321
  data, _status_code, _headers = members_list_with_http_info(account_id, opts)
@@ -328,7 +328,7 @@ module Phrase
328
328
  # @param [Hash] opts the optional parameters
329
329
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
330
330
  # @option opts [Integer] :page Page number
331
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
331
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
332
332
  # @return [Array<(Response<(Array<Member>)>, Integer, Hash)>] Response<(Array<Member>)> data, response status code and response headers
333
333
  def members_list_with_http_info(account_id, opts = {})
334
334
  if @api_client.config.debugging
@@ -12,7 +12,7 @@ module Phrase
12
12
  # @param [Hash] opts the optional parameters
13
13
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
14
14
  # @option opts [Integer] :page Page number
15
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
15
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
16
16
  # @return [Array<Object>]
17
17
  def notification_groups_list(opts = {})
18
18
  data, _status_code, _headers = notification_groups_list_with_http_info(opts)
@@ -24,7 +24,7 @@ module Phrase
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
26
26
  # @option opts [Integer] :page Page number
27
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
27
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
28
28
  # @return [Array<(Response<(Array<Object>)>, Integer, Hash)>] Response<(Array<Object>)> data, response status code and response headers
29
29
  def notification_groups_list_with_http_info(opts = {})
30
30
  if @api_client.config.debugging
@@ -12,7 +12,8 @@ module Phrase
12
12
  # @param [Hash] opts the optional parameters
13
13
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
14
14
  # @option opts [Integer] :page Page number
15
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
15
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
16
+ # @option opts [Boolean] :unseen Include only unseen notifications
16
17
  # @return [Array<Object>]
17
18
  def notifications_list(opts = {})
18
19
  data, _status_code, _headers = notifications_list_with_http_info(opts)
@@ -24,7 +25,8 @@ module Phrase
24
25
  # @param [Hash] opts the optional parameters
25
26
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
26
27
  # @option opts [Integer] :page Page number
27
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
28
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
29
+ # @option opts [Boolean] :unseen Include only unseen notifications
28
30
  # @return [Array<(Response<(Array<Object>)>, Integer, Hash)>] Response<(Array<Object>)> data, response status code and response headers
29
31
  def notifications_list_with_http_info(opts = {})
30
32
  if @api_client.config.debugging
@@ -37,6 +39,7 @@ module Phrase
37
39
  query_params = opts[:query_params] || {}
38
40
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
39
41
  query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
42
+ query_params[:'unseen'] = opts[:'unseen'] if !opts[:'unseen'].nil?
40
43
 
41
44
  # header parameters
42
45
  header_params = opts[:header_params] || {}
@@ -315,7 +315,7 @@ module Phrase
315
315
  # @param [Hash] opts the optional parameters
316
316
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
317
317
  # @option opts [Integer] :page Page number
318
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
318
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
319
319
  # @option opts [String] :branch specify the branch to use
320
320
  # @return [Array<TranslationOrder>]
321
321
  def orders_list(project_id, opts = {})
@@ -329,7 +329,7 @@ module Phrase
329
329
  # @param [Hash] opts the optional parameters
330
330
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
331
331
  # @option opts [Integer] :page Page number
332
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
332
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
333
333
  # @option opts [String] :branch specify the branch to use
334
334
  # @return [Array<(Response<(Array<TranslationOrder>)>, Integer, Hash)>] Response<(Array<TranslationOrder>)> data, response status code and response headers
335
335
  def orders_list_with_http_info(project_id, opts = {})
@@ -284,7 +284,7 @@ module Phrase
284
284
  # @param [Hash] opts the optional parameters
285
285
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
286
286
  # @option opts [Integer] :page Page number
287
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
287
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
288
288
  # @option opts [String] :account_id Filter by Account ID
289
289
  # @option opts [String] :sort_by Sort projects. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;updated_at_asc\&quot;, \&quot;updated_at_desc\&quot;, \&quot;space_asc\&quot; and \&quot;space_desc\&quot;.
290
290
  # @option opts [Array<String>] :filters Filter projects. Valid options are [\&quot;favorites\&quot;].
@@ -299,7 +299,7 @@ module Phrase
299
299
  # @param [Hash] opts the optional parameters
300
300
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
301
301
  # @option opts [Integer] :page Page number
302
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
302
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
303
303
  # @option opts [String] :account_id Filter by Account ID
304
304
  # @option opts [String] :sort_by Sort projects. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;updated_at_asc\&quot;, \&quot;updated_at_desc\&quot;, \&quot;space_asc\&quot; and \&quot;space_desc\&quot;.
305
305
  # @option opts [Array<String>] :filters Filter projects. Valid options are [\&quot;favorites\&quot;].
@@ -412,7 +412,7 @@ module Phrase
412
412
  # @param [Hash] opts the optional parameters
413
413
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
414
414
  # @option opts [Integer] :page Page number
415
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
415
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
416
416
  # @return [Array<ReleasePreview>]
417
417
  def releases_list(account_id, distribution_id, opts = {})
418
418
  data, _status_code, _headers = releases_list_with_http_info(account_id, distribution_id, opts)
@@ -426,7 +426,7 @@ module Phrase
426
426
  # @param [Hash] opts the optional parameters
427
427
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
428
428
  # @option opts [Integer] :page Page number
429
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
429
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
430
430
  # @return [Array<(Response<(Array<ReleasePreview>)>, Integer, Hash)>] Response<(Array<ReleasePreview>)> data, response status code and response headers
431
431
  def releases_list_with_http_info(account_id, distribution_id, opts = {})
432
432
  if @api_client.config.debugging
@@ -328,7 +328,7 @@ module Phrase
328
328
  # @param [Hash] opts the optional parameters
329
329
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
330
330
  # @option opts [Integer] :page Page number
331
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
331
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
332
332
  # @option opts [String] :branch specify the branch to use
333
333
  # @return [Array<ScreenshotMarker>]
334
334
  def screenshot_markers_list(project_id, id, opts = {})
@@ -343,7 +343,7 @@ module Phrase
343
343
  # @param [Hash] opts the optional parameters
344
344
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
345
345
  # @option opts [Integer] :page Page number
346
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
346
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
347
347
  # @option opts [String] :branch specify the branch to use
348
348
  # @return [Array<(Response<(Array<ScreenshotMarker>)>, Integer, Hash)>] Response<(Array<ScreenshotMarker>)> data, response status code and response headers
349
349
  def screenshot_markers_list_with_http_info(project_id, id, opts = {})
@@ -321,7 +321,7 @@ module Phrase
321
321
  # @param [Hash] opts the optional parameters
322
322
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
323
323
  # @option opts [Integer] :page Page number
324
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
324
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
325
325
  # @option opts [String] :branch specify the branch to use
326
326
  # @option opts [String] :key_id filter by key
327
327
  # @return [Array<Screenshot>]
@@ -336,7 +336,7 @@ module Phrase
336
336
  # @param [Hash] opts the optional parameters
337
337
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
338
338
  # @option opts [Integer] :page Page number
339
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
339
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
340
340
  # @option opts [String] :branch specify the branch to use
341
341
  # @option opts [String] :key_id filter by key
342
342
  # @return [Array<(Response<(Array<Screenshot>)>, Integer, Hash)>] Response<(Array<Screenshot>)> data, response status code and response headers
@@ -309,7 +309,7 @@ module Phrase
309
309
  # @param [Hash] opts the optional parameters
310
310
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
311
311
  # @option opts [Integer] :page Page number
312
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
312
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
313
313
  # @return [Array<Space>]
314
314
  def spaces_list(account_id, opts = {})
315
315
  data, _status_code, _headers = spaces_list_with_http_info(account_id, opts)
@@ -322,7 +322,7 @@ module Phrase
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
324
324
  # @option opts [Integer] :page Page number
325
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
325
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
326
326
  # @return [Array<(Response<(Array<Space>)>, Integer, Hash)>] Response<(Array<Space>)> data, response status code and response headers
327
327
  def spaces_list_with_http_info(account_id, opts = {})
328
328
  if @api_client.config.debugging
@@ -536,7 +536,7 @@ module Phrase
536
536
  # @param [Hash] opts the optional parameters
537
537
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
538
538
  # @option opts [Integer] :page Page number
539
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
539
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
540
540
  # @return [Array<Project>]
541
541
  def spaces_projects_list(account_id, space_id, opts = {})
542
542
  data, _status_code, _headers = spaces_projects_list_with_http_info(account_id, space_id, opts)
@@ -550,7 +550,7 @@ module Phrase
550
550
  # @param [Hash] opts the optional parameters
551
551
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
552
552
  # @option opts [Integer] :page Page number
553
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
553
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
554
554
  # @return [Array<(Response<(Array<Project>)>, Integer, Hash)>] Response<(Array<Project>)> data, response status code and response headers
555
555
  def spaces_projects_list_with_http_info(account_id, space_id, opts = {})
556
556
  if @api_client.config.debugging
@@ -309,7 +309,7 @@ module Phrase
309
309
  # @param [Hash] opts the optional parameters
310
310
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
311
311
  # @option opts [Integer] :page Page number
312
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
312
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
313
313
  # @return [Array<Styleguide>]
314
314
  def styleguides_list(project_id, opts = {})
315
315
  data, _status_code, _headers = styleguides_list_with_http_info(project_id, opts)
@@ -322,7 +322,7 @@ module Phrase
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
324
324
  # @option opts [Integer] :page Page number
325
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
325
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
326
326
  # @return [Array<(Response<(Array<Styleguide>)>, Integer, Hash)>] Response<(Array<Styleguide>)> data, response status code and response headers
327
327
  def styleguides_list_with_http_info(project_id, opts = {})
328
328
  if @api_client.config.debugging
@@ -235,7 +235,7 @@ module Phrase
235
235
  # @param [Hash] opts the optional parameters
236
236
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
237
237
  # @option opts [Integer] :page Page number
238
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
238
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
239
239
  # @option opts [String] :branch specify the branch to use
240
240
  # @return [Array<Tag>]
241
241
  def tags_list(project_id, opts = {})
@@ -249,7 +249,7 @@ module Phrase
249
249
  # @param [Hash] opts the optional parameters
250
250
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
251
251
  # @option opts [Integer] :page Page number
252
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
252
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
253
253
  # @option opts [String] :branch specify the branch to use
254
254
  # @return [Array<(Response<(Array<Tag>)>, Integer, Hash)>] Response<(Array<Tag>)> data, response status code and response headers
255
255
  def tags_list_with_http_info(project_id, opts = {})
@@ -309,7 +309,7 @@ module Phrase
309
309
  # @param [Hash] opts the optional parameters
310
310
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
311
311
  # @option opts [Integer] :page Page number
312
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
312
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
313
313
  # @return [Array<Team>]
314
314
  def teams_list(account_id, opts = {})
315
315
  data, _status_code, _headers = teams_list_with_http_info(account_id, opts)
@@ -322,7 +322,7 @@ module Phrase
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
324
324
  # @option opts [Integer] :page Page number
325
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
325
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
326
326
  # @return [Array<(Response<(Array<Team>)>, Integer, Hash)>] Response<(Array<Team>)> data, response status code and response headers
327
327
  def teams_list_with_http_info(account_id, opts = {})
328
328
  if @api_client.config.debugging
@@ -643,7 +643,7 @@ module Phrase
643
643
  # @param [Hash] opts the optional parameters
644
644
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
645
645
  # @option opts [Integer] :page Page number
646
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
646
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
647
647
  # @option opts [String] :branch specify the branch to use
648
648
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
649
649
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -661,7 +661,7 @@ module Phrase
661
661
  # @param [Hash] opts the optional parameters
662
662
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
663
663
  # @option opts [Integer] :page Page number
664
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
664
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
665
665
  # @option opts [String] :branch specify the branch to use
666
666
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
667
667
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -733,7 +733,7 @@ module Phrase
733
733
  # @param [Hash] opts the optional parameters
734
734
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
735
735
  # @option opts [Integer] :page Page number
736
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
736
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
737
737
  # @option opts [String] :branch specify the branch to use
738
738
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
739
739
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -751,7 +751,7 @@ module Phrase
751
751
  # @param [Hash] opts the optional parameters
752
752
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
753
753
  # @option opts [Integer] :page Page number
754
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
754
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
755
755
  # @option opts [String] :branch specify the branch to use
756
756
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
757
757
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -970,7 +970,7 @@ module Phrase
970
970
  # @param [Hash] opts the optional parameters
971
971
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
972
972
  # @option opts [Integer] :page Page number
973
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
973
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
974
974
  # @option opts [String] :branch specify the branch to use
975
975
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
976
976
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -987,7 +987,7 @@ module Phrase
987
987
  # @param [Hash] opts the optional parameters
988
988
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
989
989
  # @option opts [Integer] :page Page number
990
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
990
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
991
991
  # @option opts [String] :branch specify the branch to use
992
992
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
993
993
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -1129,7 +1129,7 @@ module Phrase
1129
1129
  # @param [Hash] opts the optional parameters
1130
1130
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
1131
1131
  # @option opts [Integer] :page Page number
1132
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
1132
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
1133
1133
  # @return [Array<Translation>]
1134
1134
  def translations_search(project_id, translations_search_parameters, opts = {})
1135
1135
  data, _status_code, _headers = translations_search_with_http_info(project_id, translations_search_parameters, opts)
@@ -1143,7 +1143,7 @@ module Phrase
1143
1143
  # @param [Hash] opts the optional parameters
1144
1144
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
1145
1145
  # @option opts [Integer] :page Page number
1146
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
1146
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
1147
1147
  # @return [Array<(Response<(Array<Translation>)>, Integer, Hash)>] Response<(Array<Translation>)> data, response status code and response headers
1148
1148
  def translations_search_with_http_info(project_id, translations_search_parameters, opts = {})
1149
1149
  if @api_client.config.debugging
@@ -201,7 +201,7 @@ module Phrase
201
201
  # @param [Hash] opts the optional parameters
202
202
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
203
203
  # @option opts [Integer] :page Page number
204
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
204
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
205
205
  # @option opts [String] :branch specify the branch to use
206
206
  # @return [Array<Upload>]
207
207
  def uploads_list(project_id, opts = {})
@@ -215,7 +215,7 @@ module Phrase
215
215
  # @param [Hash] opts the optional parameters
216
216
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
217
217
  # @option opts [Integer] :page Page number
218
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
218
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
219
219
  # @option opts [String] :branch specify the branch to use
220
220
  # @return [Array<(Response<(Array<Upload>)>, Integer, Hash)>] Response<(Array<Upload>)> data, response status code and response headers
221
221
  def uploads_list_with_http_info(project_id, opts = {})
@@ -309,7 +309,7 @@ module Phrase
309
309
  # @param [Hash] opts the optional parameters
310
310
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
311
311
  # @option opts [Integer] :page Page number
312
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
312
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
313
313
  # @return [Array<Variable>]
314
314
  def variables_list(project_id, opts = {})
315
315
  data, _status_code, _headers = variables_list_with_http_info(project_id, opts)
@@ -322,7 +322,7 @@ module Phrase
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
324
324
  # @option opts [Integer] :page Page number
325
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
325
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
326
326
  # @return [Array<(Response<(Array<Variable>)>, Integer, Hash)>] Response<(Array<Variable>)> data, response status code and response headers
327
327
  def variables_list_with_http_info(project_id, opts = {})
328
328
  if @api_client.config.debugging
@@ -95,7 +95,7 @@ module Phrase
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
97
97
  # @option opts [Integer] :page Page number
98
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
98
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
99
99
  # @option opts [String] :branch specify the branch to use
100
100
  # @return [Array<TranslationVersion>]
101
101
  def versions_list(project_id, translation_id, opts = {})
@@ -110,7 +110,7 @@ module Phrase
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
112
112
  # @option opts [Integer] :page Page number
113
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
113
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
114
114
  # @option opts [String] :branch specify the branch to use
115
115
  # @return [Array<(Response<(Array<TranslationVersion>)>, Integer, Hash)>] Response<(Array<TranslationVersion>)> data, response status code and response headers
116
116
  def versions_list_with_http_info(project_id, translation_id, opts = {})
@@ -379,7 +379,7 @@ module Phrase
379
379
  # @param [Hash] opts the optional parameters
380
380
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
381
381
  # @option opts [Integer] :page Page number
382
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
382
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
383
383
  # @return [Array<Webhook>]
384
384
  def webhooks_list(project_id, opts = {})
385
385
  data, _status_code, _headers = webhooks_list_with_http_info(project_id, opts)
@@ -392,7 +392,7 @@ module Phrase
392
392
  # @param [Hash] opts the optional parameters
393
393
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
394
394
  # @option opts [Integer] :page Page number
395
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
395
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
396
396
  # @return [Array<(Response<(Array<Webhook>)>, Integer, Hash)>] Response<(Array<Webhook>)> data, response status code and response headers
397
397
  def webhooks_list_with_http_info(project_id, opts = {})
398
398
  if @api_client.config.debugging
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '2.8.1'
2
+ VERSION = '2.8.3'
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, 25 by default
42
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 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, 25 by default
82
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
83
83
  # @return [Array<Authorization>]
84
84
  describe 'authorizations_list test' do
85
85
  it 'should work' do
@@ -84,7 +84,7 @@ 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, 25 by default
87
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
88
88
  # @option opts [String] :branch specify the branch to use
89
89
  # @return [Array<BlacklistedKey>]
90
90
  describe 'blacklisted_keys_list test' 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, 25 by default
116
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 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, 25 by default
142
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 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, 25 by default
87
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
88
88
  # @return [Array<DistributionPreview>]
89
89
  describe 'distributions_list test' do
90
90
  it 'should work' do
@@ -41,7 +41,7 @@ describe 'DocumentsApi' do
41
41
  # @param [Hash] opts the optional parameters
42
42
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
43
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
44
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
45
45
  # @return [Array<Document>]
46
46
  describe 'documents_list test' do
47
47
  it 'should work' do
@@ -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, 25 by default
58
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 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, 25 by default
30
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 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, 25 by default
92
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
93
93
  # @return [Array<GlossaryTerm>]
94
94
  describe 'glossary_terms_list test' do
95
95
  it 'should work' do
@@ -113,7 +113,7 @@ describe 'InvitationsApi' 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, 25 by default
116
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
117
117
  # @return [Array<Invitation>]
118
118
  describe 'invitations_list test' do
119
119
  it 'should work' do
@@ -139,7 +139,7 @@ describe 'JobLocalesApi' 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, 25 by default
142
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
143
143
  # @option opts [String] :branch specify the branch to use
144
144
  # @return [Array<JobLocale>]
145
145
  describe 'job_locales_list test' do
@@ -91,7 +91,7 @@ describe 'JobTemplateLocalesApi' do
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
93
93
  # @option opts [Integer] :page Page number
94
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
94
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
95
95
  # @option opts [String] :branch specify the branch to use
96
96
  # @return [Array<Object>]
97
97
  describe 'job_template_locales_list test' do