phrase 1.0.8 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -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/ProjectUpdateParameters.md +43 -9
  21. data/docs/Variable.md +23 -0
  22. data/docs/VariableCreateParameters.md +19 -0
  23. data/docs/VariableUpdateParameters.md +19 -0
  24. data/docs/VariablesApi.md +331 -0
  25. data/docs/Webhook.md +2 -0
  26. data/docs/WebhookCreateParameters.md +3 -1
  27. data/docs/WebhookUpdateParameters.md +3 -1
  28. data/lib/phrase.rb +10 -0
  29. data/lib/phrase/api/invitations_api.rb +80 -0
  30. data/lib/phrase/api/locales_api.rb +3 -0
  31. data/lib/phrase/api/members_api.rb +80 -0
  32. data/lib/phrase/api/variables_api.rb +378 -0
  33. data/lib/phrase/models/branch_name.rb +194 -0
  34. data/lib/phrase/models/invitation.rb +48 -4
  35. data/lib/phrase/models/invitation_create_parameters.rb +25 -1
  36. data/lib/phrase/models/invitation_update_parameters.rb +25 -1
  37. data/lib/phrase/models/invitation_update_settings_parameters.rb +207 -0
  38. data/lib/phrase/models/job.rb +22 -13
  39. data/lib/phrase/models/job_details.rb +19 -10
  40. data/lib/phrase/models/job_locale.rb +13 -4
  41. data/lib/phrase/models/member.rb +35 -4
  42. data/lib/phrase/models/member_project_detail.rb +285 -0
  43. data/lib/phrase/models/member_project_detail_project_roles.rb +203 -0
  44. data/lib/phrase/models/member_spaces.rb +230 -0
  45. data/lib/phrase/models/member_update_parameters.rb +25 -1
  46. data/lib/phrase/models/member_update_settings_parameters.rb +207 -0
  47. data/lib/phrase/models/project_update_parameters.rb +183 -13
  48. data/lib/phrase/models/variable.rb +221 -0
  49. data/lib/phrase/models/variable_create_parameters.rb +205 -0
  50. data/lib/phrase/models/variable_update_parameters.rb +205 -0
  51. data/lib/phrase/models/webhook.rb +10 -1
  52. data/lib/phrase/models/webhook_create_parameters.rb +14 -4
  53. data/lib/phrase/models/webhook_update_parameters.rb +14 -4
  54. data/lib/phrase/version.rb +1 -1
  55. data/spec/api/invitations_api_spec.rb +15 -0
  56. data/spec/api/locales_api_spec.rb +1 -0
  57. data/spec/api/members_api_spec.rb +15 -0
  58. data/spec/api/variables_api_spec.rb +95 -0
  59. data/spec/models/branch_name_spec.rb +29 -0
  60. data/spec/models/invitation_create_parameters_spec.rb +12 -0
  61. data/spec/models/invitation_spec.rb +24 -0
  62. data/spec/models/invitation_update_parameters_spec.rb +12 -0
  63. data/spec/models/invitation_update_settings_parameters_spec.rb +35 -0
  64. data/spec/models/job_details_spec.rb +9 -3
  65. data/spec/models/job_locale_spec.rb +6 -0
  66. data/spec/models/job_spec.rb +9 -3
  67. data/spec/models/member_project_detail_project_roles_spec.rb +35 -0
  68. data/spec/models/member_project_detail_spec.rb +83 -0
  69. data/spec/models/member_spaces_spec.rb +53 -0
  70. data/spec/models/member_spec.rb +18 -0
  71. data/spec/models/member_update_parameters_spec.rb +12 -0
  72. data/spec/models/member_update_settings_parameters_spec.rb +35 -0
  73. data/spec/models/project_update_parameters_spec.rb +103 -1
  74. data/spec/models/variable_create_parameters_spec.rb +35 -0
  75. data/spec/models/variable_spec.rb +47 -0
  76. data/spec/models/variable_update_parameters_spec.rb +35 -0
  77. data/spec/models/webhook_create_parameters_spec.rb +6 -0
  78. data/spec/models/webhook_spec.rb +6 -0
  79. data/spec/models/webhook_update_parameters_spec.rb +6 -0
  80. metadata +205 -165
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 786cd863ec921dca3b5e1cb94b076fd60d161c941b851dcda43e81be41d00c29
4
- data.tar.gz: 7b190b38c23011e0587d7fe0096ebffc546e8760bf87977c4e69f65361fbbfad
3
+ metadata.gz: 49a19fc546ef52207dcf5bb6fb55be7d17952a2bf653c9ffff5be7635d3b4458
4
+ data.tar.gz: 0fa6cbdbea643ec4d224630d8c64d4985e98f24c027222f752a3401c9326ec4b
5
5
  SHA512:
6
- metadata.gz: 842413258da9682e4c40f6d98cb5dc2de6c1f046bf00d27f9923686ad8a9316eb694f84d96e29764c995cbbbc19e10d868759c4372956fab35d5f8050a5872cc
7
- data.tar.gz: 5190235afcfa191f12002945acb66646a9bbbb16b7965ebed8bc0e4201a8a3b17f80b041e56b2ee6b241594eb397d715e2d0e3b760ab1f7708305d175058f34b
6
+ metadata.gz: 6417d48d5c4db8bdd56e5d15e82e443a30ce12709930a38e36e1e10d7ca2d1de79c68a8f603dce55d6ace04eb24828503615116337883e74a9fa343ceb971a71
7
+ data.tar.gz: 1f3acb829026fc944d11b5a17b0d33fda84461f2373a170371266a13d52f2292a8ca5978a441cd65aa2d4a0136ffffb44d2d3017d8a8222bbeaeee31f71699a5
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.8
10
+ - Package version: 1.0.13
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.8.gem
59
+ gem install ./phrase-1.0.13.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./phrase-1.0.8.gem` to install the development dependencies)
62
+ (for development, run `gem install --dev ./phrase-1.0.13.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
@@ -282,6 +284,11 @@ Class | Method | HTTP request | Description
282
284
  *Phrase::UploadsApi* | [**upload_show**](docs/UploadsApi.md#upload_show) | **GET** /projects/{project_id}/uploads/{id} | View upload details
283
285
  *Phrase::UploadsApi* | [**uploads_list**](docs/UploadsApi.md#uploads_list) | **GET** /projects/{project_id}/uploads | List uploads
284
286
  *Phrase::UsersApi* | [**show_user**](docs/UsersApi.md#show_user) | **GET** /user | Show current User
287
+ *Phrase::VariablesApi* | [**variable_create**](docs/VariablesApi.md#variable_create) | **POST** /projects/{project_id}/variables | Create a variable
288
+ *Phrase::VariablesApi* | [**variable_delete**](docs/VariablesApi.md#variable_delete) | **DELETE** /projects/{project_id}/variables/{name} | Delete a variable
289
+ *Phrase::VariablesApi* | [**variable_show**](docs/VariablesApi.md#variable_show) | **GET** /projects/{project_id}/variables/{name} | Get a single variable
290
+ *Phrase::VariablesApi* | [**variable_update**](docs/VariablesApi.md#variable_update) | **PATCH** /projects/{project_id}/variables/{name} | Update a variable
291
+ *Phrase::VariablesApi* | [**variables_list**](docs/VariablesApi.md#variables_list) | **GET** /projects/{project_id}/variables | List variables
285
292
  *Phrase::VersionsHistoryApi* | [**version_show**](docs/VersionsHistoryApi.md#version_show) | **GET** /projects/{project_id}/translations/{translation_id}/versions/{id} | Get a single version
286
293
  *Phrase::VersionsHistoryApi* | [**versions_list**](docs/VersionsHistoryApi.md#versions_list) | **GET** /projects/{project_id}/translations/{translation_id}/versions | List all versions
287
294
  *Phrase::WebhooksApi* | [**webhook_create**](docs/WebhooksApi.md#webhook_create) | **POST** /projects/{project_id}/webhooks | Create a webhook
@@ -314,6 +321,7 @@ Class | Method | HTTP request | Description
314
321
  - [Phrase::Branch](docs/Branch.md)
315
322
  - [Phrase::BranchCreateParameters](docs/BranchCreateParameters.md)
316
323
  - [Phrase::BranchMergeParameters](docs/BranchMergeParameters.md)
324
+ - [Phrase::BranchName](docs/BranchName.md)
317
325
  - [Phrase::BranchUpdateParameters](docs/BranchUpdateParameters.md)
318
326
  - [Phrase::Comment](docs/Comment.md)
319
327
  - [Phrase::CommentCreateParameters](docs/CommentCreateParameters.md)
@@ -346,6 +354,7 @@ Class | Method | HTTP request | Description
346
354
  - [Phrase::Invitation](docs/Invitation.md)
347
355
  - [Phrase::InvitationCreateParameters](docs/InvitationCreateParameters.md)
348
356
  - [Phrase::InvitationUpdateParameters](docs/InvitationUpdateParameters.md)
357
+ - [Phrase::InvitationUpdateSettingsParameters](docs/InvitationUpdateSettingsParameters.md)
349
358
  - [Phrase::Job](docs/Job.md)
350
359
  - [Phrase::JobCompleteParameters](docs/JobCompleteParameters.md)
351
360
  - [Phrase::JobCreateParameters](docs/JobCreateParameters.md)
@@ -375,7 +384,11 @@ Class | Method | HTTP request | Description
375
384
  - [Phrase::LocaleStatistics](docs/LocaleStatistics.md)
376
385
  - [Phrase::LocaleUpdateParameters](docs/LocaleUpdateParameters.md)
377
386
  - [Phrase::Member](docs/Member.md)
387
+ - [Phrase::MemberProjectDetail](docs/MemberProjectDetail.md)
388
+ - [Phrase::MemberProjectDetailProjectRoles](docs/MemberProjectDetailProjectRoles.md)
389
+ - [Phrase::MemberSpaces](docs/MemberSpaces.md)
378
390
  - [Phrase::MemberUpdateParameters](docs/MemberUpdateParameters.md)
391
+ - [Phrase::MemberUpdateSettingsParameters](docs/MemberUpdateSettingsParameters.md)
379
392
  - [Phrase::OrderConfirmParameters](docs/OrderConfirmParameters.md)
380
393
  - [Phrase::OrderCreateParameters](docs/OrderCreateParameters.md)
381
394
  - [Phrase::Project](docs/Project.md)
@@ -447,6 +460,9 @@ Class | Method | HTTP request | Description
447
460
  - [Phrase::UploadSummary](docs/UploadSummary.md)
448
461
  - [Phrase::User](docs/User.md)
449
462
  - [Phrase::UserPreview](docs/UserPreview.md)
463
+ - [Phrase::Variable](docs/Variable.md)
464
+ - [Phrase::VariableCreateParameters](docs/VariableCreateParameters.md)
465
+ - [Phrase::VariableUpdateParameters](docs/VariableUpdateParameters.md)
450
466
  - [Phrase::Webhook](docs/Webhook.md)
451
467
  - [Phrase::WebhookCreateParameters](docs/WebhookCreateParameters.md)
452
468
  - [Phrase::WebhookUpdateParameters](docs/WebhookUpdateParameters.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
+