phrase 2.2.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -34,6 +34,9 @@ Phrase.configure do |config|
34
34
  # Configure API key authorization: Token
35
35
  config.api_key['Authorization'] = 'YOUR API KEY'
36
36
  config.api_key_prefix['Authorization'] = 'token'
37
+
38
+ # Configure Bearer authorization (JWT): bearerAuth
39
+ config.access_token = 'YOUR_BEARER_TOKEN'
37
40
  end
38
41
 
39
42
  api_instance = Phrase::ScreenshotsApi.new
@@ -67,7 +70,7 @@ Response<([**Screenshot**](Screenshot.md))>
67
70
 
68
71
  ### Authorization
69
72
 
70
- [Basic](../README.md#Basic), [Token](../README.md#Token)
73
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
71
74
 
72
75
  ### HTTP request headers
73
76
 
@@ -97,6 +100,9 @@ Phrase.configure do |config|
97
100
  # Configure API key authorization: Token
98
101
  config.api_key['Authorization'] = 'YOUR API KEY'
99
102
  config.api_key_prefix['Authorization'] = 'token'
103
+
104
+ # Configure Bearer authorization (JWT): bearerAuth
105
+ config.access_token = 'YOUR_BEARER_TOKEN'
100
106
  end
101
107
 
102
108
  api_instance = Phrase::ScreenshotsApi.new
@@ -131,7 +137,7 @@ Response<(nil (empty response body))>
131
137
 
132
138
  ### Authorization
133
139
 
134
- [Basic](../README.md#Basic), [Token](../README.md#Token)
140
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
135
141
 
136
142
  ### HTTP request headers
137
143
 
@@ -161,6 +167,9 @@ Phrase.configure do |config|
161
167
  # Configure API key authorization: Token
162
168
  config.api_key['Authorization'] = 'YOUR API KEY'
163
169
  config.api_key_prefix['Authorization'] = 'token'
170
+
171
+ # Configure Bearer authorization (JWT): bearerAuth
172
+ config.access_token = 'YOUR_BEARER_TOKEN'
164
173
  end
165
174
 
166
175
  api_instance = Phrase::ScreenshotsApi.new
@@ -196,7 +205,7 @@ Response<([**Screenshot**](Screenshot.md))>
196
205
 
197
206
  ### Authorization
198
207
 
199
- [Basic](../README.md#Basic), [Token](../README.md#Token)
208
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
200
209
 
201
210
  ### HTTP request headers
202
211
 
@@ -226,6 +235,9 @@ Phrase.configure do |config|
226
235
  # Configure API key authorization: Token
227
236
  config.api_key['Authorization'] = 'YOUR API KEY'
228
237
  config.api_key_prefix['Authorization'] = 'token'
238
+
239
+ # Configure Bearer authorization (JWT): bearerAuth
240
+ config.access_token = 'YOUR_BEARER_TOKEN'
229
241
  end
230
242
 
231
243
  api_instance = Phrase::ScreenshotsApi.new
@@ -261,7 +273,7 @@ Response<([**Screenshot**](Screenshot.md))>
261
273
 
262
274
  ### Authorization
263
275
 
264
- [Basic](../README.md#Basic), [Token](../README.md#Token)
276
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
265
277
 
266
278
  ### HTTP request headers
267
279
 
@@ -291,6 +303,9 @@ Phrase.configure do |config|
291
303
  # Configure API key authorization: Token
292
304
  config.api_key['Authorization'] = 'YOUR API KEY'
293
305
  config.api_key_prefix['Authorization'] = 'token'
306
+
307
+ # Configure Bearer authorization (JWT): bearerAuth
308
+ config.access_token = 'YOUR_BEARER_TOKEN'
294
309
  end
295
310
 
296
311
  api_instance = Phrase::ScreenshotsApi.new
@@ -330,7 +345,7 @@ Response<([**Array&lt;Screenshot&gt;**](Screenshot.md))>
330
345
 
331
346
  ### Authorization
332
347
 
333
- [Basic](../README.md#Basic), [Token](../README.md#Token)
348
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
334
349
 
335
350
  ### HTTP request headers
336
351
 
data/docs/SearchApi.md CHANGED
@@ -30,6 +30,9 @@ Phrase.configure do |config|
30
30
  # Configure API key authorization: Token
31
31
  config.api_key['Authorization'] = 'YOUR API KEY'
32
32
  config.api_key_prefix['Authorization'] = 'token'
33
+
34
+ # Configure Bearer authorization (JWT): bearerAuth
35
+ config.access_token = 'YOUR_BEARER_TOKEN'
33
36
  end
34
37
 
35
38
  api_instance = Phrase::SearchApi.new
@@ -63,7 +66,7 @@ Response<([**AccountSearchResult**](AccountSearchResult.md))>
63
66
 
64
67
  ### Authorization
65
68
 
66
- [Basic](../README.md#Basic), [Token](../README.md#Token)
69
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
67
70
 
68
71
  ### HTTP request headers
69
72
 
data/docs/SpacesApi.md CHANGED
@@ -37,6 +37,9 @@ Phrase.configure do |config|
37
37
  # Configure API key authorization: Token
38
38
  config.api_key['Authorization'] = 'YOUR API KEY'
39
39
  config.api_key_prefix['Authorization'] = 'token'
40
+
41
+ # Configure Bearer authorization (JWT): bearerAuth
42
+ config.access_token = 'YOUR_BEARER_TOKEN'
40
43
  end
41
44
 
42
45
  api_instance = Phrase::SpacesApi.new
@@ -70,7 +73,7 @@ Response<([**Space**](Space.md))>
70
73
 
71
74
  ### Authorization
72
75
 
73
- [Basic](../README.md#Basic), [Token](../README.md#Token)
76
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
74
77
 
75
78
  ### HTTP request headers
76
79
 
@@ -100,6 +103,9 @@ Phrase.configure do |config|
100
103
  # Configure API key authorization: Token
101
104
  config.api_key['Authorization'] = 'YOUR API KEY'
102
105
  config.api_key_prefix['Authorization'] = 'token'
106
+
107
+ # Configure Bearer authorization (JWT): bearerAuth
108
+ config.access_token = 'YOUR_BEARER_TOKEN'
103
109
  end
104
110
 
105
111
  api_instance = Phrase::SpacesApi.new
@@ -132,7 +138,7 @@ Response<(nil (empty response body))>
132
138
 
133
139
  ### Authorization
134
140
 
135
- [Basic](../README.md#Basic), [Token](../README.md#Token)
141
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
136
142
 
137
143
  ### HTTP request headers
138
144
 
@@ -162,6 +168,9 @@ Phrase.configure do |config|
162
168
  # Configure API key authorization: Token
163
169
  config.api_key['Authorization'] = 'YOUR API KEY'
164
170
  config.api_key_prefix['Authorization'] = 'token'
171
+
172
+ # Configure Bearer authorization (JWT): bearerAuth
173
+ config.access_token = 'YOUR_BEARER_TOKEN'
165
174
  end
166
175
 
167
176
  api_instance = Phrase::SpacesApi.new
@@ -195,7 +204,7 @@ Response<([**Space**](Space.md))>
195
204
 
196
205
  ### Authorization
197
206
 
198
- [Basic](../README.md#Basic), [Token](../README.md#Token)
207
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
199
208
 
200
209
  ### HTTP request headers
201
210
 
@@ -225,6 +234,9 @@ Phrase.configure do |config|
225
234
  # Configure API key authorization: Token
226
235
  config.api_key['Authorization'] = 'YOUR API KEY'
227
236
  config.api_key_prefix['Authorization'] = 'token'
237
+
238
+ # Configure Bearer authorization (JWT): bearerAuth
239
+ config.access_token = 'YOUR_BEARER_TOKEN'
228
240
  end
229
241
 
230
242
  api_instance = Phrase::SpacesApi.new
@@ -260,7 +272,7 @@ Response<([**Space**](Space.md))>
260
272
 
261
273
  ### Authorization
262
274
 
263
- [Basic](../README.md#Basic), [Token](../README.md#Token)
275
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
264
276
 
265
277
  ### HTTP request headers
266
278
 
@@ -290,6 +302,9 @@ Phrase.configure do |config|
290
302
  # Configure API key authorization: Token
291
303
  config.api_key['Authorization'] = 'YOUR API KEY'
292
304
  config.api_key_prefix['Authorization'] = 'token'
305
+
306
+ # Configure Bearer authorization (JWT): bearerAuth
307
+ config.access_token = 'YOUR_BEARER_TOKEN'
293
308
  end
294
309
 
295
310
  api_instance = Phrase::SpacesApi.new
@@ -325,7 +340,7 @@ Response<([**Array&lt;Space&gt;**](Space.md))>
325
340
 
326
341
  ### Authorization
327
342
 
328
- [Basic](../README.md#Basic), [Token](../README.md#Token)
343
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
329
344
 
330
345
  ### HTTP request headers
331
346
 
@@ -355,6 +370,9 @@ Phrase.configure do |config|
355
370
  # Configure API key authorization: Token
356
371
  config.api_key['Authorization'] = 'YOUR API KEY'
357
372
  config.api_key_prefix['Authorization'] = 'token'
373
+
374
+ # Configure Bearer authorization (JWT): bearerAuth
375
+ config.access_token = 'YOUR_BEARER_TOKEN'
358
376
  end
359
377
 
360
378
  api_instance = Phrase::SpacesApi.new
@@ -389,7 +407,7 @@ Response<(nil (empty response body))>
389
407
 
390
408
  ### Authorization
391
409
 
392
- [Basic](../README.md#Basic), [Token](../README.md#Token)
410
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
393
411
 
394
412
  ### HTTP request headers
395
413
 
@@ -419,6 +437,9 @@ Phrase.configure do |config|
419
437
  # Configure API key authorization: Token
420
438
  config.api_key['Authorization'] = 'YOUR API KEY'
421
439
  config.api_key_prefix['Authorization'] = 'token'
440
+
441
+ # Configure Bearer authorization (JWT): bearerAuth
442
+ config.access_token = 'YOUR_BEARER_TOKEN'
422
443
  end
423
444
 
424
445
  api_instance = Phrase::SpacesApi.new
@@ -453,7 +474,7 @@ Response<(nil (empty response body))>
453
474
 
454
475
  ### Authorization
455
476
 
456
- [Basic](../README.md#Basic), [Token](../README.md#Token)
477
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
457
478
 
458
479
  ### HTTP request headers
459
480
 
@@ -483,6 +504,9 @@ Phrase.configure do |config|
483
504
  # Configure API key authorization: Token
484
505
  config.api_key['Authorization'] = 'YOUR API KEY'
485
506
  config.api_key_prefix['Authorization'] = 'token'
507
+
508
+ # Configure Bearer authorization (JWT): bearerAuth
509
+ config.access_token = 'YOUR_BEARER_TOKEN'
486
510
  end
487
511
 
488
512
  api_instance = Phrase::SpacesApi.new
@@ -520,7 +544,7 @@ Response<([**Array&lt;Project&gt;**](Project.md))>
520
544
 
521
545
  ### Authorization
522
546
 
523
- [Basic](../README.md#Basic), [Token](../README.md#Token)
547
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
524
548
 
525
549
  ### HTTP request headers
526
550
 
@@ -34,6 +34,9 @@ Phrase.configure do |config|
34
34
  # Configure API key authorization: Token
35
35
  config.api_key['Authorization'] = 'YOUR API KEY'
36
36
  config.api_key_prefix['Authorization'] = 'token'
37
+
38
+ # Configure Bearer authorization (JWT): bearerAuth
39
+ config.access_token = 'YOUR_BEARER_TOKEN'
37
40
  end
38
41
 
39
42
  api_instance = Phrase::StyleGuidesApi.new
@@ -67,7 +70,7 @@ Response<([**StyleguideDetails**](StyleguideDetails.md))>
67
70
 
68
71
  ### Authorization
69
72
 
70
- [Basic](../README.md#Basic), [Token](../README.md#Token)
73
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
71
74
 
72
75
  ### HTTP request headers
73
76
 
@@ -97,6 +100,9 @@ Phrase.configure do |config|
97
100
  # Configure API key authorization: Token
98
101
  config.api_key['Authorization'] = 'YOUR API KEY'
99
102
  config.api_key_prefix['Authorization'] = 'token'
103
+
104
+ # Configure Bearer authorization (JWT): bearerAuth
105
+ config.access_token = 'YOUR_BEARER_TOKEN'
100
106
  end
101
107
 
102
108
  api_instance = Phrase::StyleGuidesApi.new
@@ -129,7 +135,7 @@ Response<(nil (empty response body))>
129
135
 
130
136
  ### Authorization
131
137
 
132
- [Basic](../README.md#Basic), [Token](../README.md#Token)
138
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
133
139
 
134
140
  ### HTTP request headers
135
141
 
@@ -159,6 +165,9 @@ Phrase.configure do |config|
159
165
  # Configure API key authorization: Token
160
166
  config.api_key['Authorization'] = 'YOUR API KEY'
161
167
  config.api_key_prefix['Authorization'] = 'token'
168
+
169
+ # Configure Bearer authorization (JWT): bearerAuth
170
+ config.access_token = 'YOUR_BEARER_TOKEN'
162
171
  end
163
172
 
164
173
  api_instance = Phrase::StyleGuidesApi.new
@@ -192,7 +201,7 @@ Response<([**StyleguideDetails**](StyleguideDetails.md))>
192
201
 
193
202
  ### Authorization
194
203
 
195
- [Basic](../README.md#Basic), [Token](../README.md#Token)
204
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
196
205
 
197
206
  ### HTTP request headers
198
207
 
@@ -222,6 +231,9 @@ Phrase.configure do |config|
222
231
  # Configure API key authorization: Token
223
232
  config.api_key['Authorization'] = 'YOUR API KEY'
224
233
  config.api_key_prefix['Authorization'] = 'token'
234
+
235
+ # Configure Bearer authorization (JWT): bearerAuth
236
+ config.access_token = 'YOUR_BEARER_TOKEN'
225
237
  end
226
238
 
227
239
  api_instance = Phrase::StyleGuidesApi.new
@@ -257,7 +269,7 @@ Response<([**StyleguideDetails**](StyleguideDetails.md))>
257
269
 
258
270
  ### Authorization
259
271
 
260
- [Basic](../README.md#Basic), [Token](../README.md#Token)
272
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
261
273
 
262
274
  ### HTTP request headers
263
275
 
@@ -287,6 +299,9 @@ Phrase.configure do |config|
287
299
  # Configure API key authorization: Token
288
300
  config.api_key['Authorization'] = 'YOUR API KEY'
289
301
  config.api_key_prefix['Authorization'] = 'token'
302
+
303
+ # Configure Bearer authorization (JWT): bearerAuth
304
+ config.access_token = 'YOUR_BEARER_TOKEN'
290
305
  end
291
306
 
292
307
  api_instance = Phrase::StyleGuidesApi.new
@@ -322,7 +337,7 @@ Response<([**Array&lt;Styleguide&gt;**](Styleguide.md))>
322
337
 
323
338
  ### Authorization
324
339
 
325
- [Basic](../README.md#Basic), [Token](../README.md#Token)
340
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
326
341
 
327
342
  ### HTTP request headers
328
343
 
data/docs/TagsApi.md CHANGED
@@ -33,6 +33,9 @@ Phrase.configure do |config|
33
33
  # Configure API key authorization: Token
34
34
  config.api_key['Authorization'] = 'YOUR API KEY'
35
35
  config.api_key_prefix['Authorization'] = 'token'
36
+
37
+ # Configure Bearer authorization (JWT): bearerAuth
38
+ config.access_token = 'YOUR_BEARER_TOKEN'
36
39
  end
37
40
 
38
41
  api_instance = Phrase::TagsApi.new
@@ -66,7 +69,7 @@ Response<([**TagWithStats**](TagWithStats.md))>
66
69
 
67
70
  ### Authorization
68
71
 
69
- [Basic](../README.md#Basic), [Token](../README.md#Token)
72
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
70
73
 
71
74
  ### HTTP request headers
72
75
 
@@ -96,6 +99,9 @@ Phrase.configure do |config|
96
99
  # Configure API key authorization: Token
97
100
  config.api_key['Authorization'] = 'YOUR API KEY'
98
101
  config.api_key_prefix['Authorization'] = 'token'
102
+
103
+ # Configure Bearer authorization (JWT): bearerAuth
104
+ config.access_token = 'YOUR_BEARER_TOKEN'
99
105
  end
100
106
 
101
107
  api_instance = Phrase::TagsApi.new
@@ -130,7 +136,7 @@ Response<(nil (empty response body))>
130
136
 
131
137
  ### Authorization
132
138
 
133
- [Basic](../README.md#Basic), [Token](../README.md#Token)
139
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
134
140
 
135
141
  ### HTTP request headers
136
142
 
@@ -160,6 +166,9 @@ Phrase.configure do |config|
160
166
  # Configure API key authorization: Token
161
167
  config.api_key['Authorization'] = 'YOUR API KEY'
162
168
  config.api_key_prefix['Authorization'] = 'token'
169
+
170
+ # Configure Bearer authorization (JWT): bearerAuth
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
163
172
  end
164
173
 
165
174
  api_instance = Phrase::TagsApi.new
@@ -195,7 +204,7 @@ Response<([**TagWithStats**](TagWithStats.md))>
195
204
 
196
205
  ### Authorization
197
206
 
198
- [Basic](../README.md#Basic), [Token](../README.md#Token)
207
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
199
208
 
200
209
  ### HTTP request headers
201
210
 
@@ -225,6 +234,9 @@ Phrase.configure do |config|
225
234
  # Configure API key authorization: Token
226
235
  config.api_key['Authorization'] = 'YOUR API KEY'
227
236
  config.api_key_prefix['Authorization'] = 'token'
237
+
238
+ # Configure Bearer authorization (JWT): bearerAuth
239
+ config.access_token = 'YOUR_BEARER_TOKEN'
228
240
  end
229
241
 
230
242
  api_instance = Phrase::TagsApi.new
@@ -262,7 +274,7 @@ Response<([**Array&lt;Tag&gt;**](Tag.md))>
262
274
 
263
275
  ### Authorization
264
276
 
265
- [Basic](../README.md#Basic), [Token](../README.md#Token)
277
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
266
278
 
267
279
  ### HTTP request headers
268
280
 
data/docs/Team1.md ADDED
@@ -0,0 +1,23 @@
1
+ # Phrase::Team1
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | | [optional]
8
+ **name** | **String** | | [optional]
9
+ **created_at** | **DateTime** | | [optional]
10
+ **updated_at** | **DateTime** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'Phrase'
16
+
17
+ instance = Phrase::Team1.new(id: null,
18
+ name: null,
19
+ created_at: null,
20
+ updated_at: null)
21
+ ```
22
+
23
+
data/docs/TeamsApi.md CHANGED
@@ -40,6 +40,9 @@ Phrase.configure do |config|
40
40
  # Configure API key authorization: Token
41
41
  config.api_key['Authorization'] = 'YOUR API KEY'
42
42
  config.api_key_prefix['Authorization'] = 'token'
43
+
44
+ # Configure Bearer authorization (JWT): bearerAuth
45
+ config.access_token = 'YOUR_BEARER_TOKEN'
43
46
  end
44
47
 
45
48
  api_instance = Phrase::TeamsApi.new
@@ -73,7 +76,7 @@ Response<([**TeamDetail**](TeamDetail.md))>
73
76
 
74
77
  ### Authorization
75
78
 
76
- [Basic](../README.md#Basic), [Token](../README.md#Token)
79
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
77
80
 
78
81
  ### HTTP request headers
79
82
 
@@ -103,6 +106,9 @@ Phrase.configure do |config|
103
106
  # Configure API key authorization: Token
104
107
  config.api_key['Authorization'] = 'YOUR API KEY'
105
108
  config.api_key_prefix['Authorization'] = 'token'
109
+
110
+ # Configure Bearer authorization (JWT): bearerAuth
111
+ config.access_token = 'YOUR_BEARER_TOKEN'
106
112
  end
107
113
 
108
114
  api_instance = Phrase::TeamsApi.new
@@ -135,7 +141,7 @@ Response<(nil (empty response body))>
135
141
 
136
142
  ### Authorization
137
143
 
138
- [Basic](../README.md#Basic), [Token](../README.md#Token)
144
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
139
145
 
140
146
  ### HTTP request headers
141
147
 
@@ -165,6 +171,9 @@ Phrase.configure do |config|
165
171
  # Configure API key authorization: Token
166
172
  config.api_key['Authorization'] = 'YOUR API KEY'
167
173
  config.api_key_prefix['Authorization'] = 'token'
174
+
175
+ # Configure Bearer authorization (JWT): bearerAuth
176
+ config.access_token = 'YOUR_BEARER_TOKEN'
168
177
  end
169
178
 
170
179
  api_instance = Phrase::TeamsApi.new
@@ -198,7 +207,7 @@ Response<([**TeamDetail**](TeamDetail.md))>
198
207
 
199
208
  ### Authorization
200
209
 
201
- [Basic](../README.md#Basic), [Token](../README.md#Token)
210
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
202
211
 
203
212
  ### HTTP request headers
204
213
 
@@ -228,6 +237,9 @@ Phrase.configure do |config|
228
237
  # Configure API key authorization: Token
229
238
  config.api_key['Authorization'] = 'YOUR API KEY'
230
239
  config.api_key_prefix['Authorization'] = 'token'
240
+
241
+ # Configure Bearer authorization (JWT): bearerAuth
242
+ config.access_token = 'YOUR_BEARER_TOKEN'
231
243
  end
232
244
 
233
245
  api_instance = Phrase::TeamsApi.new
@@ -263,7 +275,7 @@ Response<([**TeamDetail**](TeamDetail.md))>
263
275
 
264
276
  ### Authorization
265
277
 
266
- [Basic](../README.md#Basic), [Token](../README.md#Token)
278
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
267
279
 
268
280
  ### HTTP request headers
269
281
 
@@ -293,6 +305,9 @@ Phrase.configure do |config|
293
305
  # Configure API key authorization: Token
294
306
  config.api_key['Authorization'] = 'YOUR API KEY'
295
307
  config.api_key_prefix['Authorization'] = 'token'
308
+
309
+ # Configure Bearer authorization (JWT): bearerAuth
310
+ config.access_token = 'YOUR_BEARER_TOKEN'
296
311
  end
297
312
 
298
313
  api_instance = Phrase::TeamsApi.new
@@ -328,7 +343,7 @@ Response<([**Array&lt;Team&gt;**](Team.md))>
328
343
 
329
344
  ### Authorization
330
345
 
331
- [Basic](../README.md#Basic), [Token](../README.md#Token)
346
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
332
347
 
333
348
  ### HTTP request headers
334
349
 
@@ -358,6 +373,9 @@ Phrase.configure do |config|
358
373
  # Configure API key authorization: Token
359
374
  config.api_key['Authorization'] = 'YOUR API KEY'
360
375
  config.api_key_prefix['Authorization'] = 'token'
376
+
377
+ # Configure Bearer authorization (JWT): bearerAuth
378
+ config.access_token = 'YOUR_BEARER_TOKEN'
361
379
  end
362
380
 
363
381
  api_instance = Phrase::TeamsApi.new
@@ -392,7 +410,7 @@ Response<(nil (empty response body))>
392
410
 
393
411
  ### Authorization
394
412
 
395
- [Basic](../README.md#Basic), [Token](../README.md#Token)
413
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
396
414
 
397
415
  ### HTTP request headers
398
416
 
@@ -422,6 +440,9 @@ Phrase.configure do |config|
422
440
  # Configure API key authorization: Token
423
441
  config.api_key['Authorization'] = 'YOUR API KEY'
424
442
  config.api_key_prefix['Authorization'] = 'token'
443
+
444
+ # Configure Bearer authorization (JWT): bearerAuth
445
+ config.access_token = 'YOUR_BEARER_TOKEN'
425
446
  end
426
447
 
427
448
  api_instance = Phrase::TeamsApi.new
@@ -456,7 +477,7 @@ Response<(nil (empty response body))>
456
477
 
457
478
  ### Authorization
458
479
 
459
- [Basic](../README.md#Basic), [Token](../README.md#Token)
480
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
460
481
 
461
482
  ### HTTP request headers
462
483
 
@@ -486,6 +507,9 @@ Phrase.configure do |config|
486
507
  # Configure API key authorization: Token
487
508
  config.api_key['Authorization'] = 'YOUR API KEY'
488
509
  config.api_key_prefix['Authorization'] = 'token'
510
+
511
+ # Configure Bearer authorization (JWT): bearerAuth
512
+ config.access_token = 'YOUR_BEARER_TOKEN'
489
513
  end
490
514
 
491
515
  api_instance = Phrase::TeamsApi.new
@@ -520,7 +544,7 @@ Response<(nil (empty response body))>
520
544
 
521
545
  ### Authorization
522
546
 
523
- [Basic](../README.md#Basic), [Token](../README.md#Token)
547
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
524
548
 
525
549
  ### HTTP request headers
526
550
 
@@ -550,6 +574,9 @@ Phrase.configure do |config|
550
574
  # Configure API key authorization: Token
551
575
  config.api_key['Authorization'] = 'YOUR API KEY'
552
576
  config.api_key_prefix['Authorization'] = 'token'
577
+
578
+ # Configure Bearer authorization (JWT): bearerAuth
579
+ config.access_token = 'YOUR_BEARER_TOKEN'
553
580
  end
554
581
 
555
582
  api_instance = Phrase::TeamsApi.new
@@ -584,7 +611,7 @@ Response<(nil (empty response body))>
584
611
 
585
612
  ### Authorization
586
613
 
587
- [Basic](../README.md#Basic), [Token](../README.md#Token)
614
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
588
615
 
589
616
  ### HTTP request headers
590
617
 
@@ -614,6 +641,9 @@ Phrase.configure do |config|
614
641
  # Configure API key authorization: Token
615
642
  config.api_key['Authorization'] = 'YOUR API KEY'
616
643
  config.api_key_prefix['Authorization'] = 'token'
644
+
645
+ # Configure Bearer authorization (JWT): bearerAuth
646
+ config.access_token = 'YOUR_BEARER_TOKEN'
617
647
  end
618
648
 
619
649
  api_instance = Phrase::TeamsApi.new
@@ -648,7 +678,7 @@ Response<(nil (empty response body))>
648
678
 
649
679
  ### Authorization
650
680
 
651
- [Basic](../README.md#Basic), [Token](../README.md#Token)
681
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
652
682
 
653
683
  ### HTTP request headers
654
684
 
@@ -678,6 +708,9 @@ Phrase.configure do |config|
678
708
  # Configure API key authorization: Token
679
709
  config.api_key['Authorization'] = 'YOUR API KEY'
680
710
  config.api_key_prefix['Authorization'] = 'token'
711
+
712
+ # Configure Bearer authorization (JWT): bearerAuth
713
+ config.access_token = 'YOUR_BEARER_TOKEN'
681
714
  end
682
715
 
683
716
  api_instance = Phrase::TeamsApi.new
@@ -712,7 +745,7 @@ Response<(nil (empty response body))>
712
745
 
713
746
  ### Authorization
714
747
 
715
- [Basic](../README.md#Basic), [Token](../README.md#Token)
748
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
716
749
 
717
750
  ### HTTP request headers
718
751