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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b66b4452fa8924afc21208940b9298fb10c7965f36fa03c6a6608ddd68bfd54
4
- data.tar.gz: 6930ce1230f17ad67e73f23887ada41e2af3b9a5fa96f1f974d3c8fb0d6ce54e
3
+ metadata.gz: f12d174084a3e38ee030bf8896d8c17ea1b471c4dc216bfb369ba1356ba03295
4
+ data.tar.gz: 45923fc861a6f0ec4a2ac7e0f2d9ce24238c5c82a0f105ca10b7ade4a7c4a568
5
5
  SHA512:
6
- metadata.gz: 8a5d00806afda156ad205eaa945e9d78d18d3032e3ffae5e7609e90cf0772096bddded33edb5b19777c6c0db625eb0072228be39f5c40c4e90eb68e1f07dabcb
7
- data.tar.gz: 6da5e83c4bd54f55d1cd0a2b4de65a09ad68a2b2f366c1f5dc9a8c04085faaae36f8f0161c3aee22ecafdb361e6fd6d3d3b84795859becceea02e3d6a73e3b45
6
+ metadata.gz: 6fd6ed9c97c81cff899da598152431985f2a70b13b215768e506282043d8fa60a16c8b2ad50c579dcfbd7bfec43cc8d7c2da5b22a03832f4af6ebb644fedd4b4
7
+ data.tar.gz: 4338b00d1f909af289e865c5e3ea9fc9f41e90aaf69115d313f26b1f5075119ad03cd3d15268d8e709373d093a6b0157cf0a6ff4b630982c54b353fba1213caf
data/README.md CHANGED
@@ -7,7 +7,7 @@ Phrase is a translation management platform for software projects. You can colla
7
7
  ## This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 2.2.0
10
+ - Package version: 2.5.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/)
13
13
 
@@ -56,10 +56,10 @@ gem build phrase.gemspec
56
56
  Then install the gem locally:
57
57
 
58
58
  ```shell
59
- gem install ./phrase-2.2.0.gem
59
+ gem install ./phrase-2.5.0.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./phrase-2.2.0.gem` to install the development dependencies)
62
+ (for development, run `gem install --dev ./phrase-2.5.0.gem` to install the development dependencies)
63
63
 
64
64
  ## Getting Started
65
65
 
@@ -78,6 +78,9 @@ Phrase.configure do |config|
78
78
  # Or configure API key authorization: Token
79
79
  config.api_key['Authorization'] = 'YOUR API KEY'
80
80
  config.api_key_prefix['Authorization'] = 'token'
81
+
82
+ # Or configure Bearer authorization (JWT): bearerAuth
83
+ config.access_token = 'YOUR_BEARER_TOKEN'
81
84
  end
82
85
 
83
86
  api_instance = Phrase::AccountsApi.new
@@ -98,6 +101,10 @@ end
98
101
 
99
102
  ```
100
103
 
104
+ ## Get help / support
105
+
106
+ Please contact [support@phrase.com](mailto:support@phrase.com?subject=[GitHub]%20phrase-go) and we can take more direct action toward finding a solution.
107
+
101
108
  ## Documentation for API Endpoints
102
109
 
103
110
  All URIs are relative to *https://api.phrase.com/v2*
@@ -164,6 +171,7 @@ Class | Method | HTTP request | Description
164
171
  *Phrase::GlossaryTermsApi* | [**glossary_term_show**](docs/GlossaryTermsApi.md#glossary_term_show) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Get a single glossary term
165
172
  *Phrase::GlossaryTermsApi* | [**glossary_term_update**](docs/GlossaryTermsApi.md#glossary_term_update) | **PATCH** /accounts/{account_id}/glossaries/{glossary_id}/terms/{id} | Update a glossary term
166
173
  *Phrase::GlossaryTermsApi* | [**glossary_terms_list**](docs/GlossaryTermsApi.md#glossary_terms_list) | **GET** /accounts/{account_id}/glossaries/{glossary_id}/terms | List glossary terms
174
+ *Phrase::ICUApi* | [**icu_skeleton**](docs/ICUApi.md#icu_skeleton) | **POST** /icu/skeleton | Build icu skeletons
167
175
  *Phrase::InvitationsApi* | [**invitation_create**](docs/InvitationsApi.md#invitation_create) | **POST** /accounts/{account_id}/invitations | Create a new invitation
168
176
  *Phrase::InvitationsApi* | [**invitation_delete**](docs/InvitationsApi.md#invitation_delete) | **DELETE** /accounts/{account_id}/invitations/{id} | Delete an invitation
169
177
  *Phrase::InvitationsApi* | [**invitation_resend**](docs/InvitationsApi.md#invitation_resend) | **POST** /accounts/{account_id}/invitations/{id}/resend | Resend an invitation
@@ -172,6 +180,7 @@ Class | Method | HTTP request | Description
172
180
  *Phrase::InvitationsApi* | [**invitation_update_settings**](docs/InvitationsApi.md#invitation_update_settings) | **PATCH** /projects/{project_id}/invitations/{id} | Update a member's invitation access
173
181
  *Phrase::InvitationsApi* | [**invitations_list**](docs/InvitationsApi.md#invitations_list) | **GET** /accounts/{account_id}/invitations | List invitations
174
182
  *Phrase::JobLocalesApi* | [**job_locale_complete**](docs/JobLocalesApi.md#job_locale_complete) | **POST** /projects/{project_id}/jobs/{job_id}/locales/{id}/complete | Complete a job locale
183
+ *Phrase::JobLocalesApi* | [**job_locale_complete_review**](docs/JobLocalesApi.md#job_locale_complete_review) | **POST** /projects/{project_id}/jobs/{job_id}/locales/{id}/complete_review | Review a job locale
175
184
  *Phrase::JobLocalesApi* | [**job_locale_delete**](docs/JobLocalesApi.md#job_locale_delete) | **DELETE** /projects/{project_id}/jobs/{job_id}/locales/{id} | Delete a job locale
176
185
  *Phrase::JobLocalesApi* | [**job_locale_reopen**](docs/JobLocalesApi.md#job_locale_reopen) | **POST** /projects/{project_id}/jobs/{job_id}/locales/{id}/reopen | Reopen a job locale
177
186
  *Phrase::JobLocalesApi* | [**job_locale_show**](docs/JobLocalesApi.md#job_locale_show) | **GET** /projects/{project_id}/jobs/{job_id}/locale/{id} | Get a single job locale
@@ -371,6 +380,8 @@ Class | Method | HTTP request | Description
371
380
  - [Phrase::GlossaryTermTranslationUpdateParameters](docs/GlossaryTermTranslationUpdateParameters.md)
372
381
  - [Phrase::GlossaryTermUpdateParameters](docs/GlossaryTermUpdateParameters.md)
373
382
  - [Phrase::GlossaryUpdateParameters](docs/GlossaryUpdateParameters.md)
383
+ - [Phrase::Icu](docs/Icu.md)
384
+ - [Phrase::IcuSkeletonParameters](docs/IcuSkeletonParameters.md)
374
385
  - [Phrase::InlineResponse422](docs/InlineResponse422.md)
375
386
  - [Phrase::InlineResponse422Errors](docs/InlineResponse422Errors.md)
376
387
  - [Phrase::Invitation](docs/Invitation.md)
@@ -385,6 +396,7 @@ Class | Method | HTTP request | Description
385
396
  - [Phrase::JobKeysCreateParameters](docs/JobKeysCreateParameters.md)
386
397
  - [Phrase::JobLocale](docs/JobLocale.md)
387
398
  - [Phrase::JobLocaleCompleteParameters](docs/JobLocaleCompleteParameters.md)
399
+ - [Phrase::JobLocaleCompleteReviewParameters](docs/JobLocaleCompleteReviewParameters.md)
388
400
  - [Phrase::JobLocaleReopenParameters](docs/JobLocaleReopenParameters.md)
389
401
  - [Phrase::JobLocaleUpdateParameters](docs/JobLocaleUpdateParameters.md)
390
402
  - [Phrase::JobLocalesCreateParameters](docs/JobLocalesCreateParameters.md)
@@ -465,6 +477,7 @@ Class | Method | HTTP request | Description
465
477
  - [Phrase::TagWithStats1Statistics](docs/TagWithStats1Statistics.md)
466
478
  - [Phrase::TagWithStats1Statistics1](docs/TagWithStats1Statistics1.md)
467
479
  - [Phrase::Team](docs/Team.md)
480
+ - [Phrase::Team1](docs/Team1.md)
468
481
  - [Phrase::TeamCreateParameters](docs/TeamCreateParameters.md)
469
482
  - [Phrase::TeamDetail](docs/TeamDetail.md)
470
483
  - [Phrase::TeamUpdateParameters](docs/TeamUpdateParameters.md)
@@ -521,3 +534,7 @@ Class | Method | HTTP request | Description
521
534
  - **API key parameter name**: Authorization
522
535
  - **Location**: HTTP header
523
536
 
537
+ ### bearerAuth
538
+
539
+ - **Type**: Bearer authentication (JWT)
540
+
data/docs/AccountsApi.md CHANGED
@@ -31,6 +31,9 @@ Phrase.configure do |config|
31
31
  # Configure API key authorization: Token
32
32
  config.api_key['Authorization'] = 'YOUR API KEY'
33
33
  config.api_key_prefix['Authorization'] = 'token'
34
+
35
+ # Configure Bearer authorization (JWT): bearerAuth
36
+ config.access_token = 'YOUR_BEARER_TOKEN'
34
37
  end
35
38
 
36
39
  api_instance = Phrase::AccountsApi.new
@@ -62,7 +65,7 @@ Response<([**AccountDetails**](AccountDetails.md))>
62
65
 
63
66
  ### Authorization
64
67
 
65
- [Basic](../README.md#Basic), [Token](../README.md#Token)
68
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
66
69
 
67
70
  ### HTTP request headers
68
71
 
@@ -92,6 +95,9 @@ Phrase.configure do |config|
92
95
  # Configure API key authorization: Token
93
96
  config.api_key['Authorization'] = 'YOUR API KEY'
94
97
  config.api_key_prefix['Authorization'] = 'token'
98
+
99
+ # Configure Bearer authorization (JWT): bearerAuth
100
+ config.access_token = 'YOUR_BEARER_TOKEN'
95
101
  end
96
102
 
97
103
  api_instance = Phrase::AccountsApi.new
@@ -125,7 +131,7 @@ Response<([**Array&lt;Account&gt;**](Account.md))>
125
131
 
126
132
  ### Authorization
127
133
 
128
- [Basic](../README.md#Basic), [Token](../README.md#Token)
134
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
129
135
 
130
136
  ### HTTP request headers
131
137
 
@@ -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::AuthorizationsApi.new
@@ -65,7 +68,7 @@ Response<([**AuthorizationWithToken**](AuthorizationWithToken.md))>
65
68
 
66
69
  ### Authorization
67
70
 
68
- [Basic](../README.md#Basic), [Token](../README.md#Token)
71
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
69
72
 
70
73
  ### HTTP request headers
71
74
 
@@ -95,6 +98,9 @@ Phrase.configure do |config|
95
98
  # Configure API key authorization: Token
96
99
  config.api_key['Authorization'] = 'YOUR API KEY'
97
100
  config.api_key_prefix['Authorization'] = 'token'
101
+
102
+ # Configure Bearer authorization (JWT): bearerAuth
103
+ config.access_token = 'YOUR_BEARER_TOKEN'
98
104
  end
99
105
 
100
106
  api_instance = Phrase::AuthorizationsApi.new
@@ -125,7 +131,7 @@ Response<(nil (empty response body))>
125
131
 
126
132
  ### Authorization
127
133
 
128
- [Basic](../README.md#Basic), [Token](../README.md#Token)
134
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
129
135
 
130
136
  ### HTTP request headers
131
137
 
@@ -155,6 +161,9 @@ Phrase.configure do |config|
155
161
  # Configure API key authorization: Token
156
162
  config.api_key['Authorization'] = 'YOUR API KEY'
157
163
  config.api_key_prefix['Authorization'] = 'token'
164
+
165
+ # Configure Bearer authorization (JWT): bearerAuth
166
+ config.access_token = 'YOUR_BEARER_TOKEN'
158
167
  end
159
168
 
160
169
  api_instance = Phrase::AuthorizationsApi.new
@@ -186,7 +195,7 @@ Response<([**Authorization**](Authorization.md))>
186
195
 
187
196
  ### Authorization
188
197
 
189
- [Basic](../README.md#Basic), [Token](../README.md#Token)
198
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
190
199
 
191
200
  ### HTTP request headers
192
201
 
@@ -216,6 +225,9 @@ Phrase.configure do |config|
216
225
  # Configure API key authorization: Token
217
226
  config.api_key['Authorization'] = 'YOUR API KEY'
218
227
  config.api_key_prefix['Authorization'] = 'token'
228
+
229
+ # Configure Bearer authorization (JWT): bearerAuth
230
+ config.access_token = 'YOUR_BEARER_TOKEN'
219
231
  end
220
232
 
221
233
  api_instance = Phrase::AuthorizationsApi.new
@@ -249,7 +261,7 @@ Response<([**Authorization**](Authorization.md))>
249
261
 
250
262
  ### Authorization
251
263
 
252
- [Basic](../README.md#Basic), [Token](../README.md#Token)
264
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
253
265
 
254
266
  ### HTTP request headers
255
267
 
@@ -279,6 +291,9 @@ Phrase.configure do |config|
279
291
  # Configure API key authorization: Token
280
292
  config.api_key['Authorization'] = 'YOUR API KEY'
281
293
  config.api_key_prefix['Authorization'] = 'token'
294
+
295
+ # Configure Bearer authorization (JWT): bearerAuth
296
+ config.access_token = 'YOUR_BEARER_TOKEN'
282
297
  end
283
298
 
284
299
  api_instance = Phrase::AuthorizationsApi.new
@@ -312,7 +327,7 @@ Response<([**Array&lt;Authorization&gt;**](Authorization.md))>
312
327
 
313
328
  ### Authorization
314
329
 
315
- [Basic](../README.md#Basic), [Token](../README.md#Token)
330
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
316
331
 
317
332
  ### HTTP request headers
318
333
 
@@ -32,6 +32,9 @@ Phrase.configure do |config|
32
32
  # Configure API key authorization: Token
33
33
  config.api_key['Authorization'] = 'YOUR API KEY'
34
34
  config.api_key_prefix['Authorization'] = 'token'
35
+
36
+ # Configure Bearer authorization (JWT): bearerAuth
37
+ config.access_token = 'YOUR_BEARER_TOKEN'
35
38
  end
36
39
 
37
40
  api_instance = Phrase::BitbucketSyncApi.new
@@ -65,7 +68,7 @@ Response<([**BitbucketSyncExportResponse**](BitbucketSyncExportResponse.md))>
65
68
 
66
69
  ### Authorization
67
70
 
68
- [Basic](../README.md#Basic), [Token](../README.md#Token)
71
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
69
72
 
70
73
  ### HTTP request headers
71
74
 
@@ -95,6 +98,9 @@ Phrase.configure do |config|
95
98
  # Configure API key authorization: Token
96
99
  config.api_key['Authorization'] = 'YOUR API KEY'
97
100
  config.api_key_prefix['Authorization'] = 'token'
101
+
102
+ # Configure Bearer authorization (JWT): bearerAuth
103
+ config.access_token = 'YOUR_BEARER_TOKEN'
98
104
  end
99
105
 
100
106
  api_instance = Phrase::BitbucketSyncApi.new
@@ -127,7 +133,7 @@ Response<(nil (empty response body))>
127
133
 
128
134
  ### Authorization
129
135
 
130
- [Basic](../README.md#Basic), [Token](../README.md#Token)
136
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
131
137
 
132
138
  ### HTTP request headers
133
139
 
@@ -157,6 +163,9 @@ Phrase.configure do |config|
157
163
  # Configure API key authorization: Token
158
164
  config.api_key['Authorization'] = 'YOUR API KEY'
159
165
  config.api_key_prefix['Authorization'] = 'token'
166
+
167
+ # Configure Bearer authorization (JWT): bearerAuth
168
+ config.access_token = 'YOUR_BEARER_TOKEN'
160
169
  end
161
170
 
162
171
  api_instance = Phrase::BitbucketSyncApi.new
@@ -188,7 +197,7 @@ Response<([**Array&lt;BitbucketSync&gt;**](BitbucketSync.md))>
188
197
 
189
198
  ### Authorization
190
199
 
191
- [Basic](../README.md#Basic), [Token](../README.md#Token)
200
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
192
201
 
193
202
  ### HTTP request headers
194
203
 
@@ -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::BlacklistedKeysApi.new
@@ -67,7 +70,7 @@ Response<([**BlacklistedKey**](BlacklistedKey.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::BlacklistedKeysApi.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::BlacklistedKeysApi.new
@@ -192,7 +201,7 @@ Response<([**BlacklistedKey**](BlacklistedKey.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::BlacklistedKeysApi.new
@@ -257,7 +269,7 @@ Response<([**BlacklistedKey**](BlacklistedKey.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::BlacklistedKeysApi.new
@@ -324,7 +339,7 @@ Response<([**Array&lt;BlacklistedKey&gt;**](BlacklistedKey.md))>
324
339
 
325
340
  ### Authorization
326
341
 
327
- [Basic](../README.md#Basic), [Token](../README.md#Token)
342
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
328
343
 
329
344
  ### HTTP request headers
330
345
 
data/docs/BranchesApi.md CHANGED
@@ -36,6 +36,9 @@ Phrase.configure do |config|
36
36
  # Configure API key authorization: Token
37
37
  config.api_key['Authorization'] = 'YOUR API KEY'
38
38
  config.api_key_prefix['Authorization'] = 'token'
39
+
40
+ # Configure Bearer authorization (JWT): bearerAuth
41
+ config.access_token = 'YOUR_BEARER_TOKEN'
39
42
  end
40
43
 
41
44
  api_instance = Phrase::BranchesApi.new
@@ -68,7 +71,7 @@ Response<(nil (empty response body))>
68
71
 
69
72
  ### Authorization
70
73
 
71
- [Basic](../README.md#Basic), [Token](../README.md#Token)
74
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
72
75
 
73
76
  ### HTTP request headers
74
77
 
@@ -98,6 +101,9 @@ Phrase.configure do |config|
98
101
  # Configure API key authorization: Token
99
102
  config.api_key['Authorization'] = 'YOUR API KEY'
100
103
  config.api_key_prefix['Authorization'] = 'token'
104
+
105
+ # Configure Bearer authorization (JWT): bearerAuth
106
+ config.access_token = 'YOUR_BEARER_TOKEN'
101
107
  end
102
108
 
103
109
  api_instance = Phrase::BranchesApi.new
@@ -131,7 +137,7 @@ Response<([**Branch**](Branch.md))>
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::BranchesApi.new
@@ -193,7 +202,7 @@ Response<(nil (empty response body))>
193
202
 
194
203
  ### Authorization
195
204
 
196
- [Basic](../README.md#Basic), [Token](../README.md#Token)
205
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
197
206
 
198
207
  ### HTTP request headers
199
208
 
@@ -223,6 +232,9 @@ Phrase.configure do |config|
223
232
  # Configure API key authorization: Token
224
233
  config.api_key['Authorization'] = 'YOUR API KEY'
225
234
  config.api_key_prefix['Authorization'] = 'token'
235
+
236
+ # Configure Bearer authorization (JWT): bearerAuth
237
+ config.access_token = 'YOUR_BEARER_TOKEN'
226
238
  end
227
239
 
228
240
  api_instance = Phrase::BranchesApi.new
@@ -257,7 +269,7 @@ Response<(nil (empty response body))>
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::BranchesApi.new
@@ -320,7 +335,7 @@ Response<([**Branch**](Branch.md))>
320
335
 
321
336
  ### Authorization
322
337
 
323
- [Basic](../README.md#Basic), [Token](../README.md#Token)
338
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
324
339
 
325
340
  ### HTTP request headers
326
341
 
@@ -350,6 +365,9 @@ Phrase.configure do |config|
350
365
  # Configure API key authorization: Token
351
366
  config.api_key['Authorization'] = 'YOUR API KEY'
352
367
  config.api_key_prefix['Authorization'] = 'token'
368
+
369
+ # Configure Bearer authorization (JWT): bearerAuth
370
+ config.access_token = 'YOUR_BEARER_TOKEN'
353
371
  end
354
372
 
355
373
  api_instance = Phrase::BranchesApi.new
@@ -385,7 +403,7 @@ Response<([**Branch**](Branch.md))>
385
403
 
386
404
  ### Authorization
387
405
 
388
- [Basic](../README.md#Basic), [Token](../README.md#Token)
406
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
389
407
 
390
408
  ### HTTP request headers
391
409
 
@@ -415,6 +433,9 @@ Phrase.configure do |config|
415
433
  # Configure API key authorization: Token
416
434
  config.api_key['Authorization'] = 'YOUR API KEY'
417
435
  config.api_key_prefix['Authorization'] = 'token'
436
+
437
+ # Configure Bearer authorization (JWT): bearerAuth
438
+ config.access_token = 'YOUR_BEARER_TOKEN'
418
439
  end
419
440
 
420
441
  api_instance = Phrase::BranchesApi.new
@@ -450,7 +471,7 @@ Response<([**Array&lt;Branch&gt;**](Branch.md))>
450
471
 
451
472
  ### Authorization
452
473
 
453
- [Basic](../README.md#Basic), [Token](../README.md#Token)
474
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
454
475
 
455
476
  ### HTTP request headers
456
477
 
data/docs/CommentsApi.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::CommentsApi.new
@@ -72,7 +75,7 @@ Response<([**Comment**](Comment.md))>
72
75
 
73
76
  ### Authorization
74
77
 
75
- [Basic](../README.md#Basic), [Token](../README.md#Token)
78
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
76
79
 
77
80
  ### HTTP request headers
78
81
 
@@ -102,6 +105,9 @@ Phrase.configure do |config|
102
105
  # Configure API key authorization: Token
103
106
  config.api_key['Authorization'] = 'YOUR API KEY'
104
107
  config.api_key_prefix['Authorization'] = 'token'
108
+
109
+ # Configure Bearer authorization (JWT): bearerAuth
110
+ config.access_token = 'YOUR_BEARER_TOKEN'
105
111
  end
106
112
 
107
113
  api_instance = Phrase::CommentsApi.new
@@ -138,7 +144,7 @@ Response<(nil (empty response body))>
138
144
 
139
145
  ### Authorization
140
146
 
141
- [Basic](../README.md#Basic), [Token](../README.md#Token)
147
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
142
148
 
143
149
  ### HTTP request headers
144
150
 
@@ -168,6 +174,9 @@ Phrase.configure do |config|
168
174
  # Configure API key authorization: Token
169
175
  config.api_key['Authorization'] = 'YOUR API KEY'
170
176
  config.api_key_prefix['Authorization'] = 'token'
177
+
178
+ # Configure Bearer authorization (JWT): bearerAuth
179
+ config.access_token = 'YOUR_BEARER_TOKEN'
171
180
  end
172
181
 
173
182
  api_instance = Phrase::CommentsApi.new
@@ -204,7 +213,7 @@ Response<(nil (empty response body))>
204
213
 
205
214
  ### Authorization
206
215
 
207
- [Basic](../README.md#Basic), [Token](../README.md#Token)
216
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
208
217
 
209
218
  ### HTTP request headers
210
219
 
@@ -234,6 +243,9 @@ Phrase.configure do |config|
234
243
  # Configure API key authorization: Token
235
244
  config.api_key['Authorization'] = 'YOUR API KEY'
236
245
  config.api_key_prefix['Authorization'] = 'token'
246
+
247
+ # Configure Bearer authorization (JWT): bearerAuth
248
+ config.access_token = 'YOUR_BEARER_TOKEN'
237
249
  end
238
250
 
239
251
  api_instance = Phrase::CommentsApi.new
@@ -270,7 +282,7 @@ Response<(nil (empty response body))>
270
282
 
271
283
  ### Authorization
272
284
 
273
- [Basic](../README.md#Basic), [Token](../README.md#Token)
285
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
274
286
 
275
287
  ### HTTP request headers
276
288
 
@@ -300,6 +312,9 @@ Phrase.configure do |config|
300
312
  # Configure API key authorization: Token
301
313
  config.api_key['Authorization'] = 'YOUR API KEY'
302
314
  config.api_key_prefix['Authorization'] = 'token'
315
+
316
+ # Configure Bearer authorization (JWT): bearerAuth
317
+ config.access_token = 'YOUR_BEARER_TOKEN'
303
318
  end
304
319
 
305
320
  api_instance = Phrase::CommentsApi.new
@@ -336,7 +351,7 @@ Response<(nil (empty response body))>
336
351
 
337
352
  ### Authorization
338
353
 
339
- [Basic](../README.md#Basic), [Token](../README.md#Token)
354
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
340
355
 
341
356
  ### HTTP request headers
342
357
 
@@ -366,6 +381,9 @@ Phrase.configure do |config|
366
381
  # Configure API key authorization: Token
367
382
  config.api_key['Authorization'] = 'YOUR API KEY'
368
383
  config.api_key_prefix['Authorization'] = 'token'
384
+
385
+ # Configure Bearer authorization (JWT): bearerAuth
386
+ config.access_token = 'YOUR_BEARER_TOKEN'
369
387
  end
370
388
 
371
389
  api_instance = Phrase::CommentsApi.new
@@ -403,7 +421,7 @@ Response<([**Comment**](Comment.md))>
403
421
 
404
422
  ### Authorization
405
423
 
406
- [Basic](../README.md#Basic), [Token](../README.md#Token)
424
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
407
425
 
408
426
  ### HTTP request headers
409
427
 
@@ -433,6 +451,9 @@ Phrase.configure do |config|
433
451
  # Configure API key authorization: Token
434
452
  config.api_key['Authorization'] = 'YOUR API KEY'
435
453
  config.api_key_prefix['Authorization'] = 'token'
454
+
455
+ # Configure Bearer authorization (JWT): bearerAuth
456
+ config.access_token = 'YOUR_BEARER_TOKEN'
436
457
  end
437
458
 
438
459
  api_instance = Phrase::CommentsApi.new
@@ -470,7 +491,7 @@ Response<([**Comment**](Comment.md))>
470
491
 
471
492
  ### Authorization
472
493
 
473
- [Basic](../README.md#Basic), [Token](../README.md#Token)
494
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
474
495
 
475
496
  ### HTTP request headers
476
497
 
@@ -500,6 +521,9 @@ Phrase.configure do |config|
500
521
  # Configure API key authorization: Token
501
522
  config.api_key['Authorization'] = 'YOUR API KEY'
502
523
  config.api_key_prefix['Authorization'] = 'token'
524
+
525
+ # Configure Bearer authorization (JWT): bearerAuth
526
+ config.access_token = 'YOUR_BEARER_TOKEN'
503
527
  end
504
528
 
505
529
  api_instance = Phrase::CommentsApi.new
@@ -539,7 +563,7 @@ Response<([**Array&lt;Comment&gt;**](Comment.md))>
539
563
 
540
564
  ### Authorization
541
565
 
542
- [Basic](../README.md#Basic), [Token](../README.md#Token)
566
+ [Basic](../README.md#Basic), [Token](../README.md#Token), [bearerAuth](../README.md#bearerAuth)
543
567
 
544
568
  ### HTTP request headers
545
569
 
data/docs/Distribution.md CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **name** | **String** | | [optional]
9
9
  **project** | [**ProjectShort**](ProjectShort.md) | | [optional]
10
10
  **platforms** | **Array&lt;String&gt;** | | [optional]
11
+ **locales** | [**Array&lt;LocalePreview&gt;**](LocalePreview.md) | | [optional]
11
12
  **releases** | [**Array&lt;ReleasePreview&gt;**](ReleasePreview.md) | | [optional]
12
13
  **created_at** | **DateTime** | | [optional]
13
14
  **deleted_at** | **DateTime** | | [optional]
@@ -21,6 +22,7 @@ instance = Phrase::Distribution.new(id: null,
21
22
  name: null,
22
23
  project: null,
23
24
  platforms: null,
25
+ locales: null,
24
26
  releases: null,
25
27
  created_at: null,
26
28
  deleted_at: null)