phrase 1.0.7 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -3
  3. data/docs/BranchName.md +17 -0
  4. data/docs/Invitation.md +9 -1
  5. data/docs/InvitationCreateParameters.md +4 -0
  6. data/docs/InvitationUpdateParameters.md +4 -0
  7. data/docs/InvitationUpdateSettingsParameters.md +19 -0
  8. data/docs/InvitationsApi.md +66 -0
  9. data/docs/Job.md +5 -3
  10. data/docs/JobDetails.md +4 -2
  11. data/docs/JobLocale.md +3 -1
  12. data/docs/LocalesApi.md +2 -0
  13. data/docs/Member.md +7 -1
  14. data/docs/MemberProjectDetail.md +35 -0
  15. data/docs/MemberProjectDetailProjectRoles.md +19 -0
  16. data/docs/MemberSpaces.md +25 -0
  17. data/docs/MemberUpdateParameters.md +4 -0
  18. data/docs/MemberUpdateSettingsParameters.md +19 -0
  19. data/docs/MembersApi.md +66 -0
  20. data/docs/Webhook.md +2 -0
  21. data/docs/WebhookCreateParameters.md +3 -1
  22. data/docs/WebhookUpdateParameters.md +3 -1
  23. data/lib/phrase.rb +6 -0
  24. data/lib/phrase/api/invitations_api.rb +80 -0
  25. data/lib/phrase/api/locales_api.rb +3 -0
  26. data/lib/phrase/api/members_api.rb +80 -0
  27. data/lib/phrase/api_client.rb +2 -0
  28. data/lib/phrase/models/branch_name.rb +194 -0
  29. data/lib/phrase/models/invitation.rb +48 -4
  30. data/lib/phrase/models/invitation_create_parameters.rb +25 -1
  31. data/lib/phrase/models/invitation_update_parameters.rb +25 -1
  32. data/lib/phrase/models/invitation_update_settings_parameters.rb +207 -0
  33. data/lib/phrase/models/job.rb +22 -13
  34. data/lib/phrase/models/job_details.rb +19 -10
  35. data/lib/phrase/models/job_locale.rb +13 -4
  36. data/lib/phrase/models/member.rb +35 -4
  37. data/lib/phrase/models/member_project_detail.rb +285 -0
  38. data/lib/phrase/models/member_project_detail_project_roles.rb +203 -0
  39. data/lib/phrase/models/member_spaces.rb +230 -0
  40. data/lib/phrase/models/member_update_parameters.rb +25 -1
  41. data/lib/phrase/models/member_update_settings_parameters.rb +207 -0
  42. data/lib/phrase/models/webhook.rb +10 -1
  43. data/lib/phrase/models/webhook_create_parameters.rb +14 -4
  44. data/lib/phrase/models/webhook_update_parameters.rb +14 -4
  45. data/lib/phrase/version.rb +1 -1
  46. data/spec/api/invitations_api_spec.rb +15 -0
  47. data/spec/api/locales_api_spec.rb +1 -0
  48. data/spec/api/members_api_spec.rb +15 -0
  49. data/spec/models/branch_name_spec.rb +29 -0
  50. data/spec/models/invitation_create_parameters_spec.rb +12 -0
  51. data/spec/models/invitation_spec.rb +24 -0
  52. data/spec/models/invitation_update_parameters_spec.rb +12 -0
  53. data/spec/models/invitation_update_settings_parameters_spec.rb +35 -0
  54. data/spec/models/job_details_spec.rb +9 -3
  55. data/spec/models/job_locale_spec.rb +6 -0
  56. data/spec/models/job_spec.rb +9 -3
  57. data/spec/models/member_project_detail_project_roles_spec.rb +35 -0
  58. data/spec/models/member_project_detail_spec.rb +83 -0
  59. data/spec/models/member_spaces_spec.rb +53 -0
  60. data/spec/models/member_spec.rb +18 -0
  61. data/spec/models/member_update_parameters_spec.rb +12 -0
  62. data/spec/models/member_update_settings_parameters_spec.rb +35 -0
  63. data/spec/models/webhook_create_parameters_spec.rb +6 -0
  64. data/spec/models/webhook_spec.rb +6 -0
  65. data/spec/models/webhook_update_parameters_spec.rb +6 -0
  66. metadata +189 -165
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 363818b3fafb57ee99cac2370eaad0ab61a2e1e287092aec2536b48037a7b724
4
- data.tar.gz: b856a73bc10eae5eb9f37aaff1cf4edb96d12d599e2230d3dc2a015e84259c94
3
+ metadata.gz: ffca40a4f9017ee331ef15370f82ff0905d1331cbcded2f8281fc49c908f486a
4
+ data.tar.gz: 975618371652fdeda75b8af1024e7e25e5159dde04078a11ddfb3a87774a2a0a
5
5
  SHA512:
6
- metadata.gz: ee376ffad0648c64a9f4eec806331afbaf9a65eaaf1577a9fc5192b93abdfcf85fff077a299c942902b983b84b70b2f46102fb27dd1fd499009dc8585dcec1b9
7
- data.tar.gz: e9fd4bc297f45da44232563a52bc812771e58ee9fafcb0893f79ca80a9d7df0544025b4914e7b27e6413035612d2fa16a8f79eb3c2417ae2881968388129a0fd
6
+ metadata.gz: 4bd17deee15174bea2fa279f3049458c5d6321206ca93c7505ad7b56f2c6948e44d73261cf439b3873d765b30fa6a5a119a7a8f18f8ca495102df4a7514f4857
7
+ data.tar.gz: dba28ac1b043877b45a5a58e41381cda4bbaa28d8c42dd736eafc30bb3b5289d642a973839acff8e7053788c2f115d10378727a59dc5632d2c422a2eee67d981
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: 1.0.7
10
+ - Package version: 1.0.12
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-1.0.7.gem
59
+ gem install ./phrase-1.0.12.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./phrase-1.0.7.gem` to install the development dependencies)
62
+ (for development, run `gem install --dev ./phrase-1.0.12.gem` to install the development dependencies)
63
63
 
64
64
  ## Getting Started
65
65
 
@@ -169,6 +169,7 @@ Class | Method | HTTP request | Description
169
169
  *Phrase::InvitationsApi* | [**invitation_resend**](docs/InvitationsApi.md#invitation_resend) | **POST** /accounts/{account_id}/invitations/{id}/resend | Resend an invitation
170
170
  *Phrase::InvitationsApi* | [**invitation_show**](docs/InvitationsApi.md#invitation_show) | **GET** /accounts/{account_id}/invitations/{id} | Get a single invitation
171
171
  *Phrase::InvitationsApi* | [**invitation_update**](docs/InvitationsApi.md#invitation_update) | **PATCH** /accounts/{account_id}/invitations/{id} | Update an invitation
172
+ *Phrase::InvitationsApi* | [**invitation_update_settings**](docs/InvitationsApi.md#invitation_update_settings) | **PATCH** /projects/{project_id}/invitations/{id} | Update a member's invitation access
172
173
  *Phrase::InvitationsApi* | [**invitations_list**](docs/InvitationsApi.md#invitations_list) | **GET** /accounts/{account_id}/invitations | List invitations
173
174
  *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
174
175
  *Phrase::JobLocalesApi* | [**job_locale_delete**](docs/JobLocalesApi.md#job_locale_delete) | **DELETE** /projects/{project_id}/jobs/{job_id}/locales/{id} | Delete a job locale
@@ -206,6 +207,7 @@ Class | Method | HTTP request | Description
206
207
  *Phrase::MembersApi* | [**member_delete**](docs/MembersApi.md#member_delete) | **DELETE** /accounts/{account_id}/members/{id} | Remove a user from the account
207
208
  *Phrase::MembersApi* | [**member_show**](docs/MembersApi.md#member_show) | **GET** /accounts/{account_id}/members/{id} | Get single member
208
209
  *Phrase::MembersApi* | [**member_update**](docs/MembersApi.md#member_update) | **PATCH** /accounts/{account_id}/members/{id} | Update a member
210
+ *Phrase::MembersApi* | [**member_update_settings**](docs/MembersApi.md#member_update_settings) | **PATCH** /projects/{project_id}/members/{id} | Update a member's project settings
209
211
  *Phrase::MembersApi* | [**members_list**](docs/MembersApi.md#members_list) | **GET** /accounts/{account_id}/members | List members
210
212
  *Phrase::OrdersApi* | [**order_confirm**](docs/OrdersApi.md#order_confirm) | **PATCH** /projects/{project_id}/orders/{id}/confirm | Confirm an order
211
213
  *Phrase::OrdersApi* | [**order_create**](docs/OrdersApi.md#order_create) | **POST** /projects/{project_id}/orders | Create a new order
@@ -314,6 +316,7 @@ Class | Method | HTTP request | Description
314
316
  - [Phrase::Branch](docs/Branch.md)
315
317
  - [Phrase::BranchCreateParameters](docs/BranchCreateParameters.md)
316
318
  - [Phrase::BranchMergeParameters](docs/BranchMergeParameters.md)
319
+ - [Phrase::BranchName](docs/BranchName.md)
317
320
  - [Phrase::BranchUpdateParameters](docs/BranchUpdateParameters.md)
318
321
  - [Phrase::Comment](docs/Comment.md)
319
322
  - [Phrase::CommentCreateParameters](docs/CommentCreateParameters.md)
@@ -346,6 +349,7 @@ Class | Method | HTTP request | Description
346
349
  - [Phrase::Invitation](docs/Invitation.md)
347
350
  - [Phrase::InvitationCreateParameters](docs/InvitationCreateParameters.md)
348
351
  - [Phrase::InvitationUpdateParameters](docs/InvitationUpdateParameters.md)
352
+ - [Phrase::InvitationUpdateSettingsParameters](docs/InvitationUpdateSettingsParameters.md)
349
353
  - [Phrase::Job](docs/Job.md)
350
354
  - [Phrase::JobCompleteParameters](docs/JobCompleteParameters.md)
351
355
  - [Phrase::JobCreateParameters](docs/JobCreateParameters.md)
@@ -375,7 +379,11 @@ Class | Method | HTTP request | Description
375
379
  - [Phrase::LocaleStatistics](docs/LocaleStatistics.md)
376
380
  - [Phrase::LocaleUpdateParameters](docs/LocaleUpdateParameters.md)
377
381
  - [Phrase::Member](docs/Member.md)
382
+ - [Phrase::MemberProjectDetail](docs/MemberProjectDetail.md)
383
+ - [Phrase::MemberProjectDetailProjectRoles](docs/MemberProjectDetailProjectRoles.md)
384
+ - [Phrase::MemberSpaces](docs/MemberSpaces.md)
378
385
  - [Phrase::MemberUpdateParameters](docs/MemberUpdateParameters.md)
386
+ - [Phrase::MemberUpdateSettingsParameters](docs/MemberUpdateSettingsParameters.md)
379
387
  - [Phrase::OrderConfirmParameters](docs/OrderConfirmParameters.md)
380
388
  - [Phrase::OrderCreateParameters](docs/OrderCreateParameters.md)
381
389
  - [Phrase::Project](docs/Project.md)
@@ -0,0 +1,17 @@
1
+ # Phrase::BranchName
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'Phrase'
13
+
14
+ instance = Phrase::BranchName.new(name: null)
15
+ ```
16
+
17
+
@@ -10,10 +10,14 @@ Name | Type | Description | Notes
10
10
  **state** | **String** | | [optional]
11
11
  **projects** | [**Array<ProjectShort>**](ProjectShort.md) | | [optional]
12
12
  **locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
13
+ **default_locale_codes** | **Array<String>** | | [optional]
13
14
  **permissions** | [**Object**](.md) | | [optional]
15
+ **locale_ids** | **Array<String>** | | [optional]
14
16
  **created_at** | **DateTime** | | [optional]
15
17
  **updated_at** | **DateTime** | | [optional]
16
18
  **accepted_at** | **DateTime** | | [optional]
19
+ **spaces** | [**Array<MemberSpaces>**](MemberSpaces.md) | | [optional]
20
+ **project_role** | [**Array<MemberProjectDetailProjectRoles>**](MemberProjectDetailProjectRoles.md) | | [optional]
17
21
 
18
22
  ## Code Sample
19
23
 
@@ -26,10 +30,14 @@ instance = Phrase::Invitation.new(id: null,
26
30
  state: null,
27
31
  projects: null,
28
32
  locales: null,
33
+ default_locale_codes: null,
29
34
  permissions: null,
35
+ locale_ids: null,
30
36
  created_at: null,
31
37
  updated_at: null,
32
- accepted_at: null)
38
+ accepted_at: null,
39
+ spaces: null,
40
+ project_role: null)
33
41
  ```
34
42
 
35
43
 
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
8
8
  **role** | **String** | Invitiation role, can be any of Manager, Developer, Translator. | [optional]
9
9
  **project_ids** | **String** | List of project ids the invited user has access to. | [optional]
10
10
  **locale_ids** | **String** | List of locale ids the invited user has access to. | [optional]
11
+ **space_ids** | **Array<String>** | List of spaces the user is assigned to. | [optional]
12
+ **default_locale_codes** | **Array<String>** | List of default locales for the user. | [optional]
11
13
  **permissions** | **Hash<String, String>** | Additional permissions depending on invitation role. Available permissions are <code>create_upload</code> and <code>review_translations</code> | [optional]
12
14
 
13
15
  ## Code Sample
@@ -19,6 +21,8 @@ instance = Phrase::InvitationCreateParameters.new(email: example@mail.com,
19
21
  role: Developer,
20
22
  project_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
21
23
  locale_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
24
+ space_ids: ["abcd1234abcd1234abcd1234","abcd1234abcd1234abcd1235"],
25
+ default_locale_codes: ["en","de"],
22
26
  permissions: {"create_upload":true,"review_translations":true})
23
27
  ```
24
28
 
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
7
7
  **role** | **String** | Invitiation role, can be any of Manager, Developer, Translator | [optional]
8
8
  **project_ids** | **String** | List of project ids the invited user has access to | [optional]
9
9
  **locale_ids** | **String** | List of locale ids the invited user has access to | [optional]
10
+ **space_ids** | **Array<String>** | List of spaces the user is assigned to. | [optional]
11
+ **default_locale_codes** | **Array<String>** | List of default locales for the user. | [optional]
10
12
  **permissions** | **Hash<String, String>** | Additional permissions depending on invitation role. | [optional]
11
13
 
12
14
  ## Code Sample
@@ -17,6 +19,8 @@ require 'Phrase'
17
19
  instance = Phrase::InvitationUpdateParameters.new(role: Invitiation role,
18
20
  project_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
19
21
  locale_ids: abcd1234abcd1234abcd1234,abcd1234abcd1234abcd1235,
22
+ space_ids: ["abcd1234abcd1234abcd1234","abcd1234abcd1234abcd1235"],
23
+ default_locale_codes: ["en","de"],
20
24
  permissions: {"create_upload":true})
21
25
  ```
22
26
 
@@ -0,0 +1,19 @@
1
+ # Phrase::InvitationUpdateSettingsParameters
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **project_role** | **String** | Member role, can be any of of Manager, Developer, Translator | [optional]
8
+ **locale_ids** | **Array<String>** | List of locale ids the user has access to. | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Phrase'
14
+
15
+ instance = Phrase::InvitationUpdateSettingsParameters.new(project_role: Developer,
16
+ locale_ids: ["abcd1234abcd1234abcd1234","abcd1234abcd1234abcd1235"])
17
+ ```
18
+
19
+
@@ -9,6 +9,7 @@ Method | HTTP request | Description
9
9
  [**invitation_resend**](InvitationsApi.md#invitation_resend) | **POST** /accounts/{account_id}/invitations/{id}/resend | Resend an invitation
10
10
  [**invitation_show**](InvitationsApi.md#invitation_show) | **GET** /accounts/{account_id}/invitations/{id} | Get a single invitation
11
11
  [**invitation_update**](InvitationsApi.md#invitation_update) | **PATCH** /accounts/{account_id}/invitations/{id} | Update an invitation
12
+ [**invitation_update_settings**](InvitationsApi.md#invitation_update_settings) | **PATCH** /projects/{project_id}/invitations/{id} | Update a member's invitation access
12
13
  [**invitations_list**](InvitationsApi.md#invitations_list) | **GET** /accounts/{account_id}/invitations | List invitations
13
14
 
14
15
 
@@ -329,6 +330,71 @@ Response<([**Invitation**](Invitation.md))>
329
330
  - **Accept**: application/json
330
331
 
331
332
 
333
+ ## invitation_update_settings
334
+
335
+ > Invitation invitation_update_settings(project_id, id, invitation_update_settings_parameters, opts)
336
+
337
+ Update a member's invitation access
338
+
339
+ Update member's settings in the invitations. Access token scope must include <code>team.manage</code>.
340
+
341
+ ### Example
342
+
343
+ ```ruby
344
+ # load the gem
345
+ require 'phrase'
346
+ # setup authorization
347
+ Phrase.configure do |config|
348
+ # Configure HTTP basic authorization: Basic
349
+ config.username = 'YOUR USERNAME'
350
+ config.password = 'YOUR PASSWORD'
351
+
352
+ # Configure API key authorization: Token
353
+ config.api_key['Authorization'] = 'YOUR API KEY'
354
+ config.api_key_prefix['Authorization'] = 'token'
355
+ end
356
+
357
+ api_instance = Phrase::InvitationsApi.new
358
+ project_id = 'project_id_example' # String | Project ID
359
+ id = 'id_example' # String | ID
360
+ invitation_update_settings_parameters = Phrase::InvitationUpdateSettingsParameters.new # InvitationUpdateSettingsParameters |
361
+ opts = {
362
+ x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
363
+ }
364
+
365
+ begin
366
+ #Update a member's invitation access
367
+ result = api_instance.invitation_update_settings(project_id, id, invitation_update_settings_parameters, opts)
368
+ pp result
369
+ rescue Phrase::ApiError => e
370
+ puts "Exception when calling InvitationsApi->invitation_update_settings: #{e}"
371
+ end
372
+ ```
373
+
374
+ ### Parameters
375
+
376
+
377
+ Name | Type | Description | Notes
378
+ ------------- | ------------- | ------------- | -------------
379
+ **project_id** | **String**| Project ID |
380
+ **id** | **String**| ID |
381
+ **invitation_update_settings_parameters** | [**InvitationUpdateSettingsParameters**](InvitationUpdateSettingsParameters.md)| |
382
+ **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
383
+
384
+ ### Return type
385
+
386
+ Response<([**Invitation**](Invitation.md))>
387
+
388
+ ### Authorization
389
+
390
+ [Basic](../README.md#Basic), [Token](../README.md#Token)
391
+
392
+ ### HTTP request headers
393
+
394
+ - **Content-Type**: application/json
395
+ - **Accept**: application/json
396
+
397
+
332
398
  ## invitations_list
333
399
 
334
400
  > Array&lt;Invitation&gt; invitations_list(account_id, opts)
@@ -10,9 +10,10 @@ Name | Type | Description | Notes
10
10
  **due_date** | **DateTime** | | [optional]
11
11
  **state** | **String** | | [optional]
12
12
  **ticket_url** | **String** | | [optional]
13
+ **project** | [**ProjectShort**](ProjectShort.md) | | [optional]
14
+ **branch** | [**BranchName**](BranchName.md) | | [optional]
13
15
  **created_at** | **DateTime** | | [optional]
14
16
  **updated_at** | **DateTime** | | [optional]
15
- **project** | [**ProjectShort**](ProjectShort.md) | | [optional]
16
17
 
17
18
  ## Code Sample
18
19
 
@@ -25,9 +26,10 @@ instance = Phrase::Job.new(id: null,
25
26
  due_date: null,
26
27
  state: null,
27
28
  ticket_url: null,
29
+ project: null,
30
+ branch: null,
28
31
  created_at: null,
29
- updated_at: null,
30
- project: null)
32
+ updated_at: null)
31
33
  ```
32
34
 
33
35
 
@@ -10,9 +10,10 @@ Name | Type | Description | Notes
10
10
  **due_date** | **DateTime** | | [optional]
11
11
  **state** | **String** | | [optional]
12
12
  **ticket_url** | **String** | | [optional]
13
+ **project** | [**ProjectShort**](ProjectShort.md) | | [optional]
14
+ **branch** | [**BranchName**](BranchName.md) | | [optional]
13
15
  **created_at** | **DateTime** | | [optional]
14
16
  **updated_at** | **DateTime** | | [optional]
15
- **project** | [**ProjectShort**](ProjectShort.md) | | [optional]
16
17
  **owner** | [**UserPreview**](UserPreview.md) | | [optional]
17
18
  **job_tag_name** | **String** | | [optional]
18
19
  **locales** | [**Array&lt;LocalePreview&gt;**](LocalePreview.md) | | [optional]
@@ -29,9 +30,10 @@ instance = Phrase::JobDetails.new(id: null,
29
30
  due_date: null,
30
31
  state: null,
31
32
  ticket_url: null,
33
+ project: null,
34
+ branch: null,
32
35
  created_at: null,
33
36
  updated_at: null,
34
- project: null,
35
37
  owner: null,
36
38
  job_tag_name: null,
37
39
  locales: null,
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **job** | [**JobPreview**](JobPreview.md) | | [optional]
9
9
  **locale** | [**LocalePreview**](LocalePreview.md) | | [optional]
10
10
  **users** | [**Array&lt;UserPreview&gt;**](UserPreview.md) | | [optional]
11
+ **completed** | **Boolean** | | [optional]
11
12
 
12
13
  ## Code Sample
13
14
 
@@ -17,7 +18,8 @@ require 'Phrase'
17
18
  instance = Phrase::JobLocale.new(id: null,
18
19
  job: null,
19
20
  locale: null,
20
- users: null)
21
+ users: null,
22
+ completed: null)
21
23
  ```
22
24
 
23
25
 
@@ -174,6 +174,7 @@ opts = {
174
174
  tags: 'feature1,feature2', # String | Limit results to keys tagged with a list of comma separated tag names.
175
175
  tag: 'feature', # String | Limit download to tagged keys. This parameter is deprecated. Please use the \"tags\" parameter instead
176
176
  include_empty_translations: true, # Boolean | Indicates whether keys without translations should be included in the output as well.
177
+ exclude_empty_zero_forms: true, # Boolean | Indicates whether zero forms should be included when empty in pluralized keys.
177
178
  include_translated_keys: true, # Boolean | Include translated keys in the locale file. Use in combination with include_empty_translations to obtain only untranslated keys.
178
179
  keep_notranslate_tags: true, # Boolean | Indicates whether [NOTRANSLATE] tags should be kept.
179
180
  convert_emoji: true, # Boolean | This option is obsolete. Projects that were created on or after Nov 29th 2019 or that did not contain emoji by then will not require this flag any longer since emoji are now supported natively.
@@ -206,6 +207,7 @@ Name | Type | Description | Notes
206
207
  **tags** | **String**| Limit results to keys tagged with a list of comma separated tag names. | [optional]
207
208
  **tag** | **String**| Limit download to tagged keys. This parameter is deprecated. Please use the \&quot;tags\&quot; parameter instead | [optional]
208
209
  **include_empty_translations** | **Boolean**| Indicates whether keys without translations should be included in the output as well. | [optional]
210
+ **exclude_empty_zero_forms** | **Boolean**| Indicates whether zero forms should be included when empty in pluralized keys. | [optional]
209
211
  **include_translated_keys** | **Boolean**| Include translated keys in the locale file. Use in combination with include_empty_translations to obtain only untranslated keys. | [optional]
210
212
  **keep_notranslate_tags** | **Boolean**| Indicates whether [NOTRANSLATE] tags should be kept. | [optional]
211
213
  **convert_emoji** | **Boolean**| This option is obsolete. Projects that were created on or after Nov 29th 2019 or that did not contain emoji by then will not require this flag any longer since emoji are now supported natively. | [optional]
@@ -9,6 +9,9 @@ Name | Type | Description | Notes
9
9
  **username** | **String** | | [optional]
10
10
  **role** | **String** | | [optional]
11
11
  **projects** | [**Array&lt;ProjectLocales&gt;**](ProjectLocales.md) | | [optional]
12
+ **permissions** | [**Object**](.md) | | [optional]
13
+ **default_locale_codes** | **Array&lt;String&gt;** | | [optional]
14
+ **spaces** | [**Array&lt;MemberSpaces&gt;**](MemberSpaces.md) | | [optional]
12
15
 
13
16
  ## Code Sample
14
17
 
@@ -19,7 +22,10 @@ instance = Phrase::Member.new(id: null,
19
22
  email: null,
20
23
  username: null,
21
24
  role: null,
22
- projects: null)
25
+ projects: null,
26
+ permissions: null,
27
+ default_locale_codes: null,
28
+ spaces: null)
23
29
  ```
24
30
 
25
31
 
@@ -0,0 +1,35 @@
1
+ # Phrase::MemberProjectDetail
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | | [optional]
8
+ **email** | **String** | | [optional]
9
+ **username** | **String** | | [optional]
10
+ **role** | **String** | | [optional]
11
+ **projects** | [**Array&lt;ProjectLocales&gt;**](ProjectLocales.md) | | [optional]
12
+ **permissions** | [**Object**](.md) | | [optional]
13
+ **locale_ids** | **Array&lt;String&gt;** | | [optional]
14
+ **default_locale_codes** | **Array&lt;String&gt;** | | [optional]
15
+ **spaces** | [**Array&lt;MemberSpaces&gt;**](MemberSpaces.md) | | [optional]
16
+ **project_roles** | [**Array&lt;MemberProjectDetailProjectRoles&gt;**](MemberProjectDetailProjectRoles.md) | | [optional]
17
+
18
+ ## Code Sample
19
+
20
+ ```ruby
21
+ require 'Phrase'
22
+
23
+ instance = Phrase::MemberProjectDetail.new(id: null,
24
+ email: null,
25
+ username: null,
26
+ role: null,
27
+ projects: null,
28
+ permissions: null,
29
+ locale_ids: null,
30
+ default_locale_codes: null,
31
+ spaces: null,
32
+ project_roles: null)
33
+ ```
34
+
35
+
@@ -0,0 +1,19 @@
1
+ # Phrase::MemberProjectDetailProjectRoles
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **project_id** | **String** | | [optional]
8
+ **role** | **String** | | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'Phrase'
14
+
15
+ instance = Phrase::MemberProjectDetailProjectRoles.new(project_id: null,
16
+ role: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,25 @@
1
+ # Phrase::MemberSpaces
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | | [optional]
8
+ **name** | **String** | | [optional]
9
+ **created_at** | [**AnyType**](.md) | | [optional]
10
+ **updated_at** | [**AnyType**](.md) | | [optional]
11
+ **projects_count** | **Integer** | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'Phrase'
17
+
18
+ instance = Phrase::MemberSpaces.new(id: null,
19
+ name: null,
20
+ created_at: null,
21
+ updated_at: null,
22
+ projects_count: null)
23
+ ```
24
+
25
+