phrase 2.2.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -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/Distribution.md +2 -0
  10. data/docs/DistributionCreateParameters.md +2 -0
  11. data/docs/DistributionUpdateParameters.md +2 -0
  12. data/docs/DistributionsApi.md +20 -5
  13. data/docs/DocumentsApi.md +8 -2
  14. data/docs/FormatsApi.md +4 -1
  15. data/docs/GitHubSyncApi.md +8 -2
  16. data/docs/GitLabSyncApi.md +28 -7
  17. data/docs/GlossariesApi.md +20 -5
  18. data/docs/GlossaryTermTranslationsApi.md +12 -3
  19. data/docs/GlossaryTermsApi.md +20 -5
  20. data/docs/ICUApi.md +73 -0
  21. data/docs/Icu.md +17 -0
  22. data/docs/IcuSkeletonParameters.md +21 -0
  23. data/docs/InvitationCreateParameters.md +2 -0
  24. data/docs/InvitationUpdateParameters.md +2 -0
  25. data/docs/InvitationsApi.md +28 -7
  26. data/docs/JobLocaleCompleteReviewParameters.md +17 -0
  27. data/docs/JobLocaleUpdateParameters.md +3 -1
  28. data/docs/JobLocalesApi.md +99 -7
  29. data/docs/JobLocalesCreateParameters.md +4 -2
  30. data/docs/JobTemplateLocalesApi.md +20 -5
  31. data/docs/JobTemplatesApi.md +20 -5
  32. data/docs/JobsApi.md +44 -11
  33. data/docs/KeysApi.md +44 -11
  34. data/docs/LocalesApi.md +35 -10
  35. data/docs/Member.md +6 -0
  36. data/docs/MembersApi.md +20 -5
  37. data/docs/NotificationGroupsApi.md +12 -3
  38. data/docs/NotificationsApi.md +12 -3
  39. data/docs/OrdersApi.md +20 -5
  40. data/docs/Project.md +2 -0
  41. data/docs/ProjectDetails.md +2 -0
  42. data/docs/ProjectsApi.md +20 -5
  43. data/docs/ReleaseCreateParameters.md +2 -0
  44. data/docs/ReleasesApi.md +24 -6
  45. data/docs/ScreenshotMarkersApi.md +20 -5
  46. data/docs/ScreenshotsApi.md +20 -5
  47. data/docs/SearchApi.md +4 -1
  48. data/docs/SpacesApi.md +32 -8
  49. data/docs/StyleGuidesApi.md +20 -5
  50. data/docs/TagsApi.md +16 -4
  51. data/docs/Team1.md +23 -0
  52. data/docs/TeamsApi.md +44 -11
  53. data/docs/TranslationsApi.md +68 -17
  54. data/docs/TranslationsVerifyParameters.md +3 -5
  55. data/docs/UploadsApi.md +12 -3
  56. data/docs/UserPreview.md +3 -1
  57. data/docs/UsersApi.md +4 -1
  58. data/docs/VariablesApi.md +20 -5
  59. data/docs/VersionsHistoryApi.md +8 -2
  60. data/docs/WebhooksApi.md +24 -6
  61. data/lib/phrase/api/accounts_api.rb +2 -2
  62. data/lib/phrase/api/authorizations_api.rb +5 -5
  63. data/lib/phrase/api/bitbucket_sync_api.rb +3 -3
  64. data/lib/phrase/api/blacklisted_keys_api.rb +5 -5
  65. data/lib/phrase/api/branches_api.rb +7 -7
  66. data/lib/phrase/api/comments_api.rb +8 -8
  67. data/lib/phrase/api/distributions_api.rb +5 -5
  68. data/lib/phrase/api/documents_api.rb +2 -2
  69. data/lib/phrase/api/formats_api.rb +1 -1
  70. data/lib/phrase/api/git_hub_sync_api.rb +2 -2
  71. data/lib/phrase/api/git_lab_sync_api.rb +7 -7
  72. data/lib/phrase/api/glossaries_api.rb +5 -5
  73. data/lib/phrase/api/glossary_term_translations_api.rb +3 -3
  74. data/lib/phrase/api/glossary_terms_api.rb +5 -5
  75. data/lib/phrase/api/icu_api.rb +78 -0
  76. data/lib/phrase/api/invitations_api.rb +7 -7
  77. data/lib/phrase/api/job_locales_api.rb +93 -7
  78. data/lib/phrase/api/job_template_locales_api.rb +5 -5
  79. data/lib/phrase/api/job_templates_api.rb +5 -5
  80. data/lib/phrase/api/jobs_api.rb +11 -11
  81. data/lib/phrase/api/keys_api.rb +11 -11
  82. data/lib/phrase/api/locales_api.rb +20 -11
  83. data/lib/phrase/api/members_api.rb +5 -5
  84. data/lib/phrase/api/notification_groups_api.rb +3 -3
  85. data/lib/phrase/api/notifications_api.rb +3 -3
  86. data/lib/phrase/api/orders_api.rb +5 -5
  87. data/lib/phrase/api/projects_api.rb +5 -5
  88. data/lib/phrase/api/releases_api.rb +6 -6
  89. data/lib/phrase/api/screenshot_markers_api.rb +5 -5
  90. data/lib/phrase/api/screenshots_api.rb +5 -5
  91. data/lib/phrase/api/search_api.rb +1 -1
  92. data/lib/phrase/api/spaces_api.rb +8 -8
  93. data/lib/phrase/api/style_guides_api.rb +5 -5
  94. data/lib/phrase/api/tags_api.rb +4 -4
  95. data/lib/phrase/api/teams_api.rb +11 -11
  96. data/lib/phrase/api/translations_api.rb +17 -17
  97. data/lib/phrase/api/uploads_api.rb +3 -3
  98. data/lib/phrase/api/users_api.rb +1 -1
  99. data/lib/phrase/api/variables_api.rb +5 -5
  100. data/lib/phrase/api/versions_history_api.rb +2 -2
  101. data/lib/phrase/api/webhooks_api.rb +6 -6
  102. data/lib/phrase/configuration.rb +8 -0
  103. data/lib/phrase/models/distribution.rb +12 -1
  104. data/lib/phrase/models/distribution_create_parameters.rb +13 -1
  105. data/lib/phrase/models/distribution_update_parameters.rb +13 -1
  106. data/lib/phrase/models/icu.rb +195 -0
  107. data/lib/phrase/models/icu_skeleton_parameters.rb +217 -0
  108. data/lib/phrase/models/invitation_create_parameters.rb +13 -1
  109. data/lib/phrase/models/invitation_update_parameters.rb +13 -1
  110. data/lib/phrase/models/job_locale_complete_review_parameters.rb +195 -0
  111. data/lib/phrase/models/job_locale_update_parameters.rb +16 -4
  112. data/lib/phrase/models/job_locales_create_parameters.rb +17 -5
  113. data/lib/phrase/models/member.rb +30 -1
  114. data/lib/phrase/models/project.rb +10 -1
  115. data/lib/phrase/models/project_details.rb +10 -1
  116. data/lib/phrase/models/release_create_parameters.rb +13 -1
  117. data/lib/phrase/models/team1.rb +221 -0
  118. data/lib/phrase/models/translations_verify_parameters.rb +14 -24
  119. data/lib/phrase/models/user_preview.rb +13 -4
  120. data/lib/phrase/response.rb +1 -1
  121. data/lib/phrase/version.rb +1 -1
  122. data/lib/phrase.rb +5 -0
  123. data/phrase.gemspec +2 -2
  124. data/spec/api/icu_api_spec.rb +36 -0
  125. data/spec/api/job_locales_api_spec.rb +16 -0
  126. data/spec/api/locales_api_spec.rb +2 -0
  127. data/spec/models/distribution_create_parameters_spec.rb +6 -0
  128. data/spec/models/distribution_spec.rb +6 -0
  129. data/spec/models/distribution_update_parameters_spec.rb +6 -0
  130. data/spec/models/icu_skeleton_parameters_spec.rb +41 -0
  131. data/spec/models/icu_spec.rb +29 -0
  132. data/spec/models/invitation_create_parameters_spec.rb +6 -0
  133. data/spec/models/invitation_update_parameters_spec.rb +6 -0
  134. data/spec/models/job_locale_complete_review_parameters_spec.rb +29 -0
  135. data/spec/models/job_locale_update_parameters_spec.rb +6 -0
  136. data/spec/models/job_locales_create_parameters_spec.rb +6 -0
  137. data/spec/models/member_spec.rb +18 -0
  138. data/spec/models/project_details_spec.rb +6 -0
  139. data/spec/models/project_spec.rb +6 -0
  140. data/spec/models/release_create_parameters_spec.rb +6 -0
  141. data/spec/models/team1_spec.rb +47 -0
  142. data/spec/models/translations_verify_parameters_spec.rb +2 -8
  143. data/spec/models/user_preview_spec.rb +6 -0
  144. metadata +214 -194
@@ -68,7 +68,7 @@ module Phrase
68
68
  return_type = opts[:return_type] || 'TranslationOrder'
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:auth_names] || ['Basic', 'Token']
71
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :header_params => header_params,
@@ -142,7 +142,7 @@ module Phrase
142
142
  return_type = opts[:return_type] || 'TranslationOrder'
143
143
 
144
144
  # auth_names
145
- auth_names = opts[:auth_names] || ['Basic', 'Token']
145
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
146
146
 
147
147
  new_options = opts.merge(
148
148
  :header_params => header_params,
@@ -215,7 +215,7 @@ module Phrase
215
215
  return_type = opts[:return_type]
216
216
 
217
217
  # auth_names
218
- auth_names = opts[:auth_names] || ['Basic', 'Token']
218
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
219
219
 
220
220
  new_options = opts.merge(
221
221
  :header_params => header_params,
@@ -290,7 +290,7 @@ module Phrase
290
290
  return_type = opts[:return_type] || 'TranslationOrder'
291
291
 
292
292
  # auth_names
293
- auth_names = opts[:auth_names] || ['Basic', 'Token']
293
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
294
294
 
295
295
  new_options = opts.merge(
296
296
  :header_params => header_params,
@@ -365,7 +365,7 @@ module Phrase
365
365
  return_type = opts[:return_type] || 'Array<TranslationOrder>'
366
366
 
367
367
  # auth_names
368
- auth_names = opts[:auth_names] || ['Basic', 'Token']
368
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
369
369
 
370
370
  new_options = opts.merge(
371
371
  :header_params => header_params,
@@ -56,7 +56,7 @@ module Phrase
56
56
  return_type = opts[:return_type] || 'ProjectDetails'
57
57
 
58
58
  # auth_names
59
- auth_names = opts[:auth_names] || ['Basic', 'Token']
59
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
60
60
 
61
61
  new_options = opts.merge(
62
62
  :header_params => header_params,
@@ -120,7 +120,7 @@ module Phrase
120
120
  return_type = opts[:return_type]
121
121
 
122
122
  # auth_names
123
- auth_names = opts[:auth_names] || ['Basic', 'Token']
123
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
124
124
 
125
125
  new_options = opts.merge(
126
126
  :header_params => header_params,
@@ -186,7 +186,7 @@ module Phrase
186
186
  return_type = opts[:return_type] || 'ProjectDetails'
187
187
 
188
188
  # auth_names
189
- auth_names = opts[:auth_names] || ['Basic', 'Token']
189
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
190
190
 
191
191
  new_options = opts.merge(
192
192
  :header_params => header_params,
@@ -260,7 +260,7 @@ module Phrase
260
260
  return_type = opts[:return_type] || 'ProjectDetails'
261
261
 
262
262
  # auth_names
263
- auth_names = opts[:auth_names] || ['Basic', 'Token']
263
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
264
264
 
265
265
  new_options = opts.merge(
266
266
  :header_params => header_params,
@@ -335,7 +335,7 @@ module Phrase
335
335
  return_type = opts[:return_type] || 'Array<Project>'
336
336
 
337
337
  # auth_names
338
- auth_names = opts[:auth_names] || ['Basic', 'Token']
338
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
339
339
 
340
340
  new_options = opts.merge(
341
341
  :header_params => header_params,
@@ -68,7 +68,7 @@ module Phrase
68
68
  return_type = opts[:return_type] || 'Release'
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:auth_names] || ['Basic', 'Token']
71
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :header_params => header_params,
@@ -144,7 +144,7 @@ module Phrase
144
144
  return_type = opts[:return_type]
145
145
 
146
146
  # auth_names
147
- auth_names = opts[:auth_names] || ['Basic', 'Token']
147
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
148
148
 
149
149
  new_options = opts.merge(
150
150
  :header_params => header_params,
@@ -222,7 +222,7 @@ module Phrase
222
222
  return_type = opts[:return_type] || 'Release'
223
223
 
224
224
  # auth_names
225
- auth_names = opts[:auth_names] || ['Basic', 'Token']
225
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
226
226
 
227
227
  new_options = opts.merge(
228
228
  :header_params => header_params,
@@ -300,7 +300,7 @@ module Phrase
300
300
  return_type = opts[:return_type] || 'Release'
301
301
 
302
302
  # auth_names
303
- auth_names = opts[:auth_names] || ['Basic', 'Token']
303
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
304
304
 
305
305
  new_options = opts.merge(
306
306
  :header_params => header_params,
@@ -386,7 +386,7 @@ module Phrase
386
386
  return_type = opts[:return_type] || 'Release'
387
387
 
388
388
  # auth_names
389
- auth_names = opts[:auth_names] || ['Basic', 'Token']
389
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
390
390
 
391
391
  new_options = opts.merge(
392
392
  :header_params => header_params,
@@ -464,7 +464,7 @@ module Phrase
464
464
  return_type = opts[:return_type] || 'Array<ReleasePreview>'
465
465
 
466
466
  # auth_names
467
- auth_names = opts[:auth_names] || ['Basic', 'Token']
467
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
468
468
 
469
469
  new_options = opts.merge(
470
470
  :header_params => header_params,
@@ -68,7 +68,7 @@ module Phrase
68
68
  return_type = opts[:return_type] || 'ScreenshotMarker'
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:auth_names] || ['Basic', 'Token']
71
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :header_params => header_params,
@@ -141,7 +141,7 @@ module Phrase
141
141
  return_type = opts[:return_type]
142
142
 
143
143
  # auth_names
144
- auth_names = opts[:auth_names] || ['Basic', 'Token']
144
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
145
145
 
146
146
  new_options = opts.merge(
147
147
  :header_params => header_params,
@@ -222,7 +222,7 @@ module Phrase
222
222
  return_type = opts[:return_type] || 'ScreenshotMarker'
223
223
 
224
224
  # auth_names
225
- auth_names = opts[:auth_names] || ['Basic', 'Token']
225
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
226
226
 
227
227
  new_options = opts.merge(
228
228
  :header_params => header_params,
@@ -302,7 +302,7 @@ module Phrase
302
302
  return_type = opts[:return_type] || 'ScreenshotMarker'
303
303
 
304
304
  # auth_names
305
- auth_names = opts[:auth_names] || ['Basic', 'Token']
305
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
306
306
 
307
307
  new_options = opts.merge(
308
308
  :header_params => header_params,
@@ -383,7 +383,7 @@ module Phrase
383
383
  return_type = opts[:return_type] || 'Array<ScreenshotMarker>'
384
384
 
385
385
  # auth_names
386
- auth_names = opts[:auth_names] || ['Basic', 'Token']
386
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
387
387
 
388
388
  new_options = opts.merge(
389
389
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'Screenshot'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -135,7 +135,7 @@ module Phrase
135
135
  return_type = opts[:return_type]
136
136
 
137
137
  # auth_names
138
- auth_names = opts[:auth_names] || ['Basic', 'Token']
138
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
139
139
 
140
140
  new_options = opts.merge(
141
141
  :header_params => header_params,
@@ -210,7 +210,7 @@ module Phrase
210
210
  return_type = opts[:return_type] || 'Screenshot'
211
211
 
212
212
  # auth_names
213
- auth_names = opts[:auth_names] || ['Basic', 'Token']
213
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
214
214
 
215
215
  new_options = opts.merge(
216
216
  :header_params => header_params,
@@ -290,7 +290,7 @@ module Phrase
290
290
  return_type = opts[:return_type] || 'Screenshot'
291
291
 
292
292
  # auth_names
293
- auth_names = opts[:auth_names] || ['Basic', 'Token']
293
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
294
294
 
295
295
  new_options = opts.merge(
296
296
  :header_params => header_params,
@@ -368,7 +368,7 @@ module Phrase
368
368
  return_type = opts[:return_type] || 'Array<Screenshot>'
369
369
 
370
370
  # auth_names
371
- auth_names = opts[:auth_names] || ['Basic', 'Token']
371
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
372
372
 
373
373
  new_options = opts.merge(
374
374
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'AccountSearchResult'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'Space'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -132,7 +132,7 @@ module Phrase
132
132
  return_type = opts[:return_type]
133
133
 
134
134
  # auth_names
135
- auth_names = opts[:auth_names] || ['Basic', 'Token']
135
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
136
136
 
137
137
  new_options = opts.merge(
138
138
  :header_params => header_params,
@@ -204,7 +204,7 @@ module Phrase
204
204
  return_type = opts[:return_type] || 'Space'
205
205
 
206
206
  # auth_names
207
- auth_names = opts[:auth_names] || ['Basic', 'Token']
207
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
208
208
 
209
209
  new_options = opts.merge(
210
210
  :header_params => header_params,
@@ -284,7 +284,7 @@ module Phrase
284
284
  return_type = opts[:return_type] || 'Space'
285
285
 
286
286
  # auth_names
287
- auth_names = opts[:auth_names] || ['Basic', 'Token']
287
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
288
288
 
289
289
  new_options = opts.merge(
290
290
  :header_params => header_params,
@@ -356,7 +356,7 @@ module Phrase
356
356
  return_type = opts[:return_type] || 'Array<Space>'
357
357
 
358
358
  # auth_names
359
- auth_names = opts[:auth_names] || ['Basic', 'Token']
359
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
360
360
 
361
361
  new_options = opts.merge(
362
362
  :header_params => header_params,
@@ -434,7 +434,7 @@ module Phrase
434
434
  return_type = opts[:return_type]
435
435
 
436
436
  # auth_names
437
- auth_names = opts[:auth_names] || ['Basic', 'Token']
437
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
438
438
 
439
439
  new_options = opts.merge(
440
440
  :header_params => header_params,
@@ -510,7 +510,7 @@ module Phrase
510
510
  return_type = opts[:return_type]
511
511
 
512
512
  # auth_names
513
- auth_names = opts[:auth_names] || ['Basic', 'Token']
513
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
514
514
 
515
515
  new_options = opts.merge(
516
516
  :header_params => header_params,
@@ -588,7 +588,7 @@ module Phrase
588
588
  return_type = opts[:return_type] || 'Array<Project>'
589
589
 
590
590
  # auth_names
591
- auth_names = opts[:auth_names] || ['Basic', 'Token']
591
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
592
592
 
593
593
  new_options = opts.merge(
594
594
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'StyleguideDetails'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -132,7 +132,7 @@ module Phrase
132
132
  return_type = opts[:return_type]
133
133
 
134
134
  # auth_names
135
- auth_names = opts[:auth_names] || ['Basic', 'Token']
135
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
136
136
 
137
137
  new_options = opts.merge(
138
138
  :header_params => header_params,
@@ -204,7 +204,7 @@ module Phrase
204
204
  return_type = opts[:return_type] || 'StyleguideDetails'
205
205
 
206
206
  # auth_names
207
- auth_names = opts[:auth_names] || ['Basic', 'Token']
207
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
208
208
 
209
209
  new_options = opts.merge(
210
210
  :header_params => header_params,
@@ -284,7 +284,7 @@ module Phrase
284
284
  return_type = opts[:return_type] || 'StyleguideDetails'
285
285
 
286
286
  # auth_names
287
- auth_names = opts[:auth_names] || ['Basic', 'Token']
287
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
288
288
 
289
289
  new_options = opts.merge(
290
290
  :header_params => header_params,
@@ -356,7 +356,7 @@ module Phrase
356
356
  return_type = opts[:return_type] || 'Array<Styleguide>'
357
357
 
358
358
  # auth_names
359
- auth_names = opts[:auth_names] || ['Basic', 'Token']
359
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
360
360
 
361
361
  new_options = opts.merge(
362
362
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'TagWithStats'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -135,7 +135,7 @@ module Phrase
135
135
  return_type = opts[:return_type]
136
136
 
137
137
  # auth_names
138
- auth_names = opts[:auth_names] || ['Basic', 'Token']
138
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
139
139
 
140
140
  new_options = opts.merge(
141
141
  :header_params => header_params,
@@ -210,7 +210,7 @@ module Phrase
210
210
  return_type = opts[:return_type] || 'TagWithStats'
211
211
 
212
212
  # auth_names
213
- auth_names = opts[:auth_names] || ['Basic', 'Token']
213
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
214
214
 
215
215
  new_options = opts.merge(
216
216
  :header_params => header_params,
@@ -285,7 +285,7 @@ module Phrase
285
285
  return_type = opts[:return_type] || 'Array<Tag>'
286
286
 
287
287
  # auth_names
288
- auth_names = opts[:auth_names] || ['Basic', 'Token']
288
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
289
289
 
290
290
  new_options = opts.merge(
291
291
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'TeamDetail'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -132,7 +132,7 @@ module Phrase
132
132
  return_type = opts[:return_type]
133
133
 
134
134
  # auth_names
135
- auth_names = opts[:auth_names] || ['Basic', 'Token']
135
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
136
136
 
137
137
  new_options = opts.merge(
138
138
  :header_params => header_params,
@@ -204,7 +204,7 @@ module Phrase
204
204
  return_type = opts[:return_type] || 'TeamDetail'
205
205
 
206
206
  # auth_names
207
- auth_names = opts[:auth_names] || ['Basic', 'Token']
207
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
208
208
 
209
209
  new_options = opts.merge(
210
210
  :header_params => header_params,
@@ -284,7 +284,7 @@ module Phrase
284
284
  return_type = opts[:return_type] || 'TeamDetail'
285
285
 
286
286
  # auth_names
287
- auth_names = opts[:auth_names] || ['Basic', 'Token']
287
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
288
288
 
289
289
  new_options = opts.merge(
290
290
  :header_params => header_params,
@@ -356,7 +356,7 @@ module Phrase
356
356
  return_type = opts[:return_type] || 'Array<Team>'
357
357
 
358
358
  # auth_names
359
- auth_names = opts[:auth_names] || ['Basic', 'Token']
359
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
360
360
 
361
361
  new_options = opts.merge(
362
362
  :header_params => header_params,
@@ -434,7 +434,7 @@ module Phrase
434
434
  return_type = opts[:return_type]
435
435
 
436
436
  # auth_names
437
- auth_names = opts[:auth_names] || ['Basic', 'Token']
437
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
438
438
 
439
439
  new_options = opts.merge(
440
440
  :header_params => header_params,
@@ -510,7 +510,7 @@ module Phrase
510
510
  return_type = opts[:return_type]
511
511
 
512
512
  # auth_names
513
- auth_names = opts[:auth_names] || ['Basic', 'Token']
513
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
514
514
 
515
515
  new_options = opts.merge(
516
516
  :header_params => header_params,
@@ -588,7 +588,7 @@ module Phrase
588
588
  return_type = opts[:return_type]
589
589
 
590
590
  # auth_names
591
- auth_names = opts[:auth_names] || ['Basic', 'Token']
591
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
592
592
 
593
593
  new_options = opts.merge(
594
594
  :header_params => header_params,
@@ -664,7 +664,7 @@ module Phrase
664
664
  return_type = opts[:return_type]
665
665
 
666
666
  # auth_names
667
- auth_names = opts[:auth_names] || ['Basic', 'Token']
667
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
668
668
 
669
669
  new_options = opts.merge(
670
670
  :header_params => header_params,
@@ -742,7 +742,7 @@ module Phrase
742
742
  return_type = opts[:return_type]
743
743
 
744
744
  # auth_names
745
- auth_names = opts[:auth_names] || ['Basic', 'Token']
745
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
746
746
 
747
747
  new_options = opts.merge(
748
748
  :header_params => header_params,
@@ -818,7 +818,7 @@ module Phrase
818
818
  return_type = opts[:return_type]
819
819
 
820
820
  # auth_names
821
- auth_names = opts[:auth_names] || ['Basic', 'Token']
821
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
822
822
 
823
823
  new_options = opts.merge(
824
824
  :header_params => header_params,
@@ -62,7 +62,7 @@ module Phrase
62
62
  return_type = opts[:return_type] || 'TranslationDetails'
63
63
 
64
64
  # auth_names
65
- auth_names = opts[:auth_names] || ['Basic', 'Token']
65
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
66
66
 
67
67
  new_options = opts.merge(
68
68
  :header_params => header_params,
@@ -142,7 +142,7 @@ module Phrase
142
142
  return_type = opts[:return_type] || 'TranslationDetails'
143
143
 
144
144
  # auth_names
145
- auth_names = opts[:auth_names] || ['Basic', 'Token']
145
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
146
146
 
147
147
  new_options = opts.merge(
148
148
  :header_params => header_params,
@@ -222,7 +222,7 @@ module Phrase
222
222
  return_type = opts[:return_type] || 'TranslationDetails'
223
223
 
224
224
  # auth_names
225
- auth_names = opts[:auth_names] || ['Basic', 'Token']
225
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
226
226
 
227
227
  new_options = opts.merge(
228
228
  :header_params => header_params,
@@ -302,7 +302,7 @@ module Phrase
302
302
  return_type = opts[:return_type] || 'TranslationDetails'
303
303
 
304
304
  # auth_names
305
- auth_names = opts[:auth_names] || ['Basic', 'Token']
305
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
306
306
 
307
307
  new_options = opts.merge(
308
308
  :header_params => header_params,
@@ -377,7 +377,7 @@ module Phrase
377
377
  return_type = opts[:return_type] || 'TranslationDetails'
378
378
 
379
379
  # auth_names
380
- auth_names = opts[:auth_names] || ['Basic', 'Token']
380
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
381
381
 
382
382
  new_options = opts.merge(
383
383
  :header_params => header_params,
@@ -457,7 +457,7 @@ module Phrase
457
457
  return_type = opts[:return_type] || 'TranslationDetails'
458
458
 
459
459
  # auth_names
460
- auth_names = opts[:auth_names] || ['Basic', 'Token']
460
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
461
461
 
462
462
  new_options = opts.merge(
463
463
  :header_params => header_params,
@@ -537,7 +537,7 @@ module Phrase
537
537
  return_type = opts[:return_type] || 'TranslationDetails'
538
538
 
539
539
  # auth_names
540
- auth_names = opts[:auth_names] || ['Basic', 'Token']
540
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
541
541
 
542
542
  new_options = opts.merge(
543
543
  :header_params => header_params,
@@ -617,7 +617,7 @@ module Phrase
617
617
  return_type = opts[:return_type] || 'TranslationDetails'
618
618
 
619
619
  # auth_names
620
- auth_names = opts[:auth_names] || ['Basic', 'Token']
620
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
621
621
 
622
622
  new_options = opts.merge(
623
623
  :header_params => header_params,
@@ -707,7 +707,7 @@ module Phrase
707
707
  return_type = opts[:return_type] || 'Array<Translation>'
708
708
 
709
709
  # auth_names
710
- auth_names = opts[:auth_names] || ['Basic', 'Token']
710
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
711
711
 
712
712
  new_options = opts.merge(
713
713
  :header_params => header_params,
@@ -797,7 +797,7 @@ module Phrase
797
797
  return_type = opts[:return_type] || 'Array<Translation>'
798
798
 
799
799
  # auth_names
800
- auth_names = opts[:auth_names] || ['Basic', 'Token']
800
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
801
801
 
802
802
  new_options = opts.merge(
803
803
  :header_params => header_params,
@@ -871,7 +871,7 @@ module Phrase
871
871
  return_type = opts[:return_type] || 'AffectedCount'
872
872
 
873
873
  # auth_names
874
- auth_names = opts[:auth_names] || ['Basic', 'Token']
874
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
875
875
 
876
876
  new_options = opts.merge(
877
877
  :header_params => header_params,
@@ -945,7 +945,7 @@ module Phrase
945
945
  return_type = opts[:return_type] || 'AffectedCount'
946
946
 
947
947
  # auth_names
948
- auth_names = opts[:auth_names] || ['Basic', 'Token']
948
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
949
949
 
950
950
  new_options = opts.merge(
951
951
  :header_params => header_params,
@@ -1029,7 +1029,7 @@ module Phrase
1029
1029
  return_type = opts[:return_type] || 'Array<Translation>'
1030
1030
 
1031
1031
  # auth_names
1032
- auth_names = opts[:auth_names] || ['Basic', 'Token']
1032
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
1033
1033
 
1034
1034
  new_options = opts.merge(
1035
1035
  :header_params => header_params,
@@ -1103,7 +1103,7 @@ module Phrase
1103
1103
  return_type = opts[:return_type] || 'AffectedCount'
1104
1104
 
1105
1105
  # auth_names
1106
- auth_names = opts[:auth_names] || ['Basic', 'Token']
1106
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
1107
1107
 
1108
1108
  new_options = opts.merge(
1109
1109
  :header_params => header_params,
@@ -1183,7 +1183,7 @@ module Phrase
1183
1183
  return_type = opts[:return_type] || 'Array<Translation>'
1184
1184
 
1185
1185
  # auth_names
1186
- auth_names = opts[:auth_names] || ['Basic', 'Token']
1186
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
1187
1187
 
1188
1188
  new_options = opts.merge(
1189
1189
  :header_params => header_params,
@@ -1257,7 +1257,7 @@ module Phrase
1257
1257
  return_type = opts[:return_type] || 'AffectedCount'
1258
1258
 
1259
1259
  # auth_names
1260
- auth_names = opts[:auth_names] || ['Basic', 'Token']
1260
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
1261
1261
 
1262
1262
  new_options = opts.merge(
1263
1263
  :header_params => header_params,
@@ -1331,7 +1331,7 @@ module Phrase
1331
1331
  return_type = opts[:return_type] || 'AffectedCount'
1332
1332
 
1333
1333
  # auth_names
1334
- auth_names = opts[:auth_names] || ['Basic', 'Token']
1334
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
1335
1335
 
1336
1336
  new_options = opts.merge(
1337
1337
  :header_params => header_params,
@@ -101,7 +101,7 @@ module Phrase
101
101
  return_type = opts[:return_type] || 'Upload'
102
102
 
103
103
  # auth_names
104
- auth_names = opts[:auth_names] || ['Basic', 'Token']
104
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
105
105
 
106
106
  new_options = opts.merge(
107
107
  :header_params => header_params,
@@ -176,7 +176,7 @@ module Phrase
176
176
  return_type = opts[:return_type] || 'Upload'
177
177
 
178
178
  # auth_names
179
- auth_names = opts[:auth_names] || ['Basic', 'Token']
179
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
180
180
 
181
181
  new_options = opts.merge(
182
182
  :header_params => header_params,
@@ -251,7 +251,7 @@ module Phrase
251
251
  return_type = opts[:return_type] || 'Array<Upload>'
252
252
 
253
253
  # auth_names
254
- auth_names = opts[:auth_names] || ['Basic', 'Token']
254
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
255
255
 
256
256
  new_options = opts.merge(
257
257
  :header_params => header_params,
@@ -48,7 +48,7 @@ module Phrase
48
48
  return_type = opts[:return_type] || 'CurrentUser'
49
49
 
50
50
  # auth_names
51
- auth_names = opts[:auth_names] || ['Basic', 'Token']
51
+ auth_names = opts[:auth_names] || ['Basic', 'Token', 'bearerAuth']
52
52
 
53
53
  new_options = opts.merge(
54
54
  :header_params => header_params,