phrase 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45c88312fc99c777087d2256ed62bb7214e7975d35c94b6009b6de16ce52badb
4
- data.tar.gz: d3ef0a73a994c0ed6c06172cd2f95fb46e9ad419cde1a1040965cea420f438dd
3
+ metadata.gz: ffca40a4f9017ee331ef15370f82ff0905d1331cbcded2f8281fc49c908f486a
4
+ data.tar.gz: 975618371652fdeda75b8af1024e7e25e5159dde04078a11ddfb3a87774a2a0a
5
5
  SHA512:
6
- metadata.gz: 34144375558920d59506076f076e2dcfb82107eb7894254e81e1527e543a34aaae6b3055d151de6b9e843add51b1d96b6d5e48bce9e59f2b2dbfc772b065555b
7
- data.tar.gz: 3de8db3b78370971dfb8a0ef3392d428e1751ecd1050713c5d0d4c55d8293b0ba266772118a22723b5eb6c15cbe3fd3d45c649807d6b1d6f0003194ffabb1995
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.11
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.11.gem
59
+ gem install ./phrase-1.0.12.gem
60
60
  ```
61
61
 
62
- (for development, run `gem install --dev ./phrase-1.0.11.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
@@ -348,6 +349,7 @@ Class | Method | HTTP request | Description
348
349
  - [Phrase::Invitation](docs/Invitation.md)
349
350
  - [Phrase::InvitationCreateParameters](docs/InvitationCreateParameters.md)
350
351
  - [Phrase::InvitationUpdateParameters](docs/InvitationUpdateParameters.md)
352
+ - [Phrase::InvitationUpdateSettingsParameters](docs/InvitationUpdateSettingsParameters.md)
351
353
  - [Phrase::Job](docs/Job.md)
352
354
  - [Phrase::JobCompleteParameters](docs/JobCompleteParameters.md)
353
355
  - [Phrase::JobCreateParameters](docs/JobCreateParameters.md)
@@ -12,10 +12,12 @@ Name | Type | Description | Notes
12
12
  **locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
13
13
  **default_locale_codes** | **Array<String>** | | [optional]
14
14
  **permissions** | [**Object**](.md) | | [optional]
15
+ **locale_ids** | **Array<String>** | | [optional]
15
16
  **created_at** | **DateTime** | | [optional]
16
17
  **updated_at** | **DateTime** | | [optional]
17
18
  **accepted_at** | **DateTime** | | [optional]
18
19
  **spaces** | [**Array<MemberSpaces>**](MemberSpaces.md) | | [optional]
20
+ **project_role** | [**Array<MemberProjectDetailProjectRoles>**](MemberProjectDetailProjectRoles.md) | | [optional]
19
21
 
20
22
  ## Code Sample
21
23
 
@@ -30,10 +32,12 @@ instance = Phrase::Invitation.new(id: null,
30
32
  locales: null,
31
33
  default_locale_codes: null,
32
34
  permissions: null,
35
+ locale_ids: null,
33
36
  created_at: null,
34
37
  updated_at: null,
35
38
  accepted_at: null,
36
- spaces: null)
39
+ spaces: null,
40
+ project_role: null)
37
41
  ```
38
42
 
39
43
 
@@ -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)
@@ -61,6 +61,7 @@ require 'phrase/models/inline_response422_errors'
61
61
  require 'phrase/models/invitation'
62
62
  require 'phrase/models/invitation_create_parameters'
63
63
  require 'phrase/models/invitation_update_parameters'
64
+ require 'phrase/models/invitation_update_settings_parameters'
64
65
  require 'phrase/models/job'
65
66
  require 'phrase/models/job_complete_parameters'
66
67
  require 'phrase/models/job_create_parameters'
@@ -375,6 +375,86 @@ module Phrase
375
375
  return response, status_code, headers
376
376
  end
377
377
 
378
+ # Update a member's invitation access
379
+ # Update member's settings in the invitations. Access token scope must include <code>team.manage</code>.
380
+ # @param project_id [String] Project ID
381
+ # @param id [String] ID
382
+ # @param invitation_update_settings_parameters [InvitationUpdateSettingsParameters]
383
+ # @param [Hash] opts the optional parameters
384
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
385
+ # @return [Invitation]
386
+ def invitation_update_settings(project_id, id, invitation_update_settings_parameters, opts = {})
387
+ data, _status_code, _headers = invitation_update_settings_with_http_info(project_id, id, invitation_update_settings_parameters, opts)
388
+ data
389
+ end
390
+
391
+ # Update a member&#39;s invitation access
392
+ # Update member&#39;s settings in the invitations. Access token scope must include &lt;code&gt;team.manage&lt;/code&gt;.
393
+ # @param project_id [String] Project ID
394
+ # @param id [String] ID
395
+ # @param invitation_update_settings_parameters [InvitationUpdateSettingsParameters]
396
+ # @param [Hash] opts the optional parameters
397
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
398
+ # @return [Array<(Response<(Invitation)>, Integer, Hash)>] Response<(Invitation)> data, response status code and response headers
399
+ def invitation_update_settings_with_http_info(project_id, id, invitation_update_settings_parameters, opts = {})
400
+ if @api_client.config.debugging
401
+ @api_client.config.logger.debug 'Calling API: InvitationsApi.invitation_update_settings ...'
402
+ end
403
+ # verify the required parameter 'project_id' is set
404
+ if @api_client.config.client_side_validation && project_id.nil?
405
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling InvitationsApi.invitation_update_settings"
406
+ end
407
+ # verify the required parameter 'id' is set
408
+ if @api_client.config.client_side_validation && id.nil?
409
+ fail ArgumentError, "Missing the required parameter 'id' when calling InvitationsApi.invitation_update_settings"
410
+ end
411
+ # verify the required parameter 'invitation_update_settings_parameters' is set
412
+ if @api_client.config.client_side_validation && invitation_update_settings_parameters.nil?
413
+ fail ArgumentError, "Missing the required parameter 'invitation_update_settings_parameters' when calling InvitationsApi.invitation_update_settings"
414
+ end
415
+ # resource path
416
+ local_var_path = '/projects/{project_id}/invitations/{id}'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
417
+
418
+ # query parameters
419
+ query_params = opts[:query_params] || {}
420
+
421
+ # header parameters
422
+ header_params = opts[:header_params] || {}
423
+ # HTTP header 'Accept' (if needed)
424
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
425
+ # HTTP header 'Content-Type'
426
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
427
+ header_params[:'X-PhraseApp-OTP'] = opts[:'x_phrase_app_otp'] if !opts[:'x_phrase_app_otp'].nil?
428
+
429
+ # form parameters
430
+ form_params = opts[:form_params] || {}
431
+
432
+ # http body (model)
433
+ post_body = opts[:body] || @api_client.object_to_http_body(invitation_update_settings_parameters)
434
+
435
+ # return_type
436
+ return_type = opts[:return_type] || 'Invitation'
437
+
438
+ # auth_names
439
+ auth_names = opts[:auth_names] || ['Basic', 'Token']
440
+
441
+ new_options = opts.merge(
442
+ :header_params => header_params,
443
+ :query_params => query_params,
444
+ :form_params => form_params,
445
+ :body => post_body,
446
+ :auth_names => auth_names,
447
+ :return_type => return_type
448
+ )
449
+
450
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
451
+ if @api_client.config.debugging
452
+ @api_client.config.logger.debug "API called: InvitationsApi#invitation_update_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
453
+ end
454
+ response = ::Phrase::Response.new(data, headers)
455
+ return response, status_code, headers
456
+ end
457
+
378
458
  # List invitations
379
459
  # List invitations for an account. It will also list the accessible resources like projects and locales the invited user has access to. In case nothing is shown the default access from the role is used. Access token scope must include <code>team.manage</code>.
380
460
  # @param account_id [String] Account ID
@@ -18,6 +18,8 @@ module Phrase
18
18
 
19
19
  attr_accessor :permissions
20
20
 
21
+ attr_accessor :locale_ids
22
+
21
23
  attr_accessor :created_at
22
24
 
23
25
  attr_accessor :updated_at
@@ -26,6 +28,8 @@ module Phrase
26
28
 
27
29
  attr_accessor :spaces
28
30
 
31
+ attr_accessor :project_role
32
+
29
33
  # Attribute mapping from ruby-style variable name to JSON key.
30
34
  def self.attribute_map
31
35
  {
@@ -37,10 +41,12 @@ module Phrase
37
41
  :'locales' => :'locales',
38
42
  :'default_locale_codes' => :'default_locale_codes',
39
43
  :'permissions' => :'permissions',
44
+ :'locale_ids' => :'locale_ids',
40
45
  :'created_at' => :'created_at',
41
46
  :'updated_at' => :'updated_at',
42
47
  :'accepted_at' => :'accepted_at',
43
- :'spaces' => :'spaces'
48
+ :'spaces' => :'spaces',
49
+ :'project_role' => :'project_role'
44
50
  }
45
51
  end
46
52
 
@@ -55,10 +61,12 @@ module Phrase
55
61
  :'locales' => :'Array<LocalePreview>',
56
62
  :'default_locale_codes' => :'Array<String>',
57
63
  :'permissions' => :'Object',
64
+ :'locale_ids' => :'Array<String>',
58
65
  :'created_at' => :'DateTime',
59
66
  :'updated_at' => :'DateTime',
60
67
  :'accepted_at' => :'DateTime',
61
- :'spaces' => :'Array<MemberSpaces>'
68
+ :'spaces' => :'Array<MemberSpaces>',
69
+ :'project_role' => :'Array<MemberProjectDetailProjectRoles>'
62
70
  }
63
71
  end
64
72
 
@@ -121,6 +129,12 @@ module Phrase
121
129
  self.permissions = attributes[:'permissions']
122
130
  end
123
131
 
132
+ if attributes.key?(:'locale_ids')
133
+ if (value = attributes[:'locale_ids']).is_a?(Array)
134
+ self.locale_ids = value
135
+ end
136
+ end
137
+
124
138
  if attributes.key?(:'created_at')
125
139
  self.created_at = attributes[:'created_at']
126
140
  end
@@ -138,6 +152,12 @@ module Phrase
138
152
  self.spaces = value
139
153
  end
140
154
  end
155
+
156
+ if attributes.key?(:'project_role')
157
+ if (value = attributes[:'project_role']).is_a?(Array)
158
+ self.project_role = value
159
+ end
160
+ end
141
161
  end
142
162
 
143
163
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -166,10 +186,12 @@ module Phrase
166
186
  locales == o.locales &&
167
187
  default_locale_codes == o.default_locale_codes &&
168
188
  permissions == o.permissions &&
189
+ locale_ids == o.locale_ids &&
169
190
  created_at == o.created_at &&
170
191
  updated_at == o.updated_at &&
171
192
  accepted_at == o.accepted_at &&
172
- spaces == o.spaces
193
+ spaces == o.spaces &&
194
+ project_role == o.project_role
173
195
  end
174
196
 
175
197
  # @see the `==` method
@@ -181,7 +203,7 @@ module Phrase
181
203
  # Calculates hash code according to all attributes.
182
204
  # @return [Integer] Hash code
183
205
  def hash
184
- [id, email, role, state, projects, locales, default_locale_codes, permissions, created_at, updated_at, accepted_at, spaces].hash
206
+ [id, email, role, state, projects, locales, default_locale_codes, permissions, locale_ids, created_at, updated_at, accepted_at, spaces, project_role].hash
185
207
  end
186
208
 
187
209
  # Builds the object from hash
@@ -0,0 +1,207 @@
1
+ require 'date'
2
+
3
+ module Phrase
4
+ class InvitationUpdateSettingsParameters
5
+ # Member role, can be any of of Manager, Developer, Translator
6
+ attr_accessor :project_role
7
+
8
+ # List of locale ids the user has access to.
9
+ attr_accessor :locale_ids
10
+
11
+ # Attribute mapping from ruby-style variable name to JSON key.
12
+ def self.attribute_map
13
+ {
14
+ :'project_role' => :'project_role',
15
+ :'locale_ids' => :'locale_ids'
16
+ }
17
+ end
18
+
19
+ # Attribute type mapping.
20
+ def self.openapi_types
21
+ {
22
+ :'project_role' => :'String',
23
+ :'locale_ids' => :'Array<String>'
24
+ }
25
+ end
26
+
27
+ # List of attributes with nullable: true
28
+ def self.openapi_nullable
29
+ Set.new([
30
+ ])
31
+ end
32
+
33
+ # Initializes the object
34
+ # @param [Hash] attributes Model attributes in the form of hash
35
+ def initialize(attributes = {})
36
+ if (!attributes.is_a?(Hash))
37
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Phrase::InvitationUpdateSettingsParameters` initialize method"
38
+ end
39
+
40
+ # check to see if the attribute exists and convert string to symbol for hash key
41
+ attributes = attributes.each_with_object({}) { |(k, v), h|
42
+ if (!self.class.attribute_map.key?(k.to_sym))
43
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Phrase::InvitationUpdateSettingsParameters`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
44
+ end
45
+ h[k.to_sym] = v
46
+ }
47
+
48
+ if attributes.key?(:'project_role')
49
+ self.project_role = attributes[:'project_role']
50
+ end
51
+
52
+ if attributes.key?(:'locale_ids')
53
+ if (value = attributes[:'locale_ids']).is_a?(Array)
54
+ self.locale_ids = value
55
+ end
56
+ end
57
+ end
58
+
59
+ # Show invalid properties with the reasons. Usually used together with valid?
60
+ # @return Array for valid properties with the reasons
61
+ def list_invalid_properties
62
+ invalid_properties = Array.new
63
+ invalid_properties
64
+ end
65
+
66
+ # Check to see if the all the properties in the model are valid
67
+ # @return true if the model is valid
68
+ def valid?
69
+ true
70
+ end
71
+
72
+ # Checks equality by comparing each attribute.
73
+ # @param [Object] Object to be compared
74
+ def ==(o)
75
+ return true if self.equal?(o)
76
+ self.class == o.class &&
77
+ project_role == o.project_role &&
78
+ locale_ids == o.locale_ids
79
+ end
80
+
81
+ # @see the `==` method
82
+ # @param [Object] Object to be compared
83
+ def eql?(o)
84
+ self == o
85
+ end
86
+
87
+ # Calculates hash code according to all attributes.
88
+ # @return [Integer] Hash code
89
+ def hash
90
+ [project_role, locale_ids].hash
91
+ end
92
+
93
+ # Builds the object from hash
94
+ # @param [Hash] attributes Model attributes in the form of hash
95
+ # @return [Object] Returns the model itself
96
+ def self.build_from_hash(attributes)
97
+ new.build_from_hash(attributes)
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def build_from_hash(attributes)
104
+ return nil unless attributes.is_a?(Hash)
105
+ self.class.openapi_types.each_pair do |key, type|
106
+ if type =~ /\AArray<(.*)>/i
107
+ # check to ensure the input is an array given that the attribute
108
+ # is documented as an array but the input is not
109
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
110
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
111
+ end
112
+ elsif !attributes[self.class.attribute_map[key]].nil?
113
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
114
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
115
+ end
116
+
117
+ self
118
+ end
119
+
120
+ # Deserializes the data based on type
121
+ # @param string type Data type
122
+ # @param string value Value to be deserialized
123
+ # @return [Object] Deserialized data
124
+ def _deserialize(type, value)
125
+ case type.to_sym
126
+ when :DateTime
127
+ DateTime.parse(value)
128
+ when :Date
129
+ Date.parse(value)
130
+ when :String
131
+ value.to_s
132
+ when :Integer
133
+ value.to_i
134
+ when :Float
135
+ value.to_f
136
+ when :Boolean
137
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
138
+ true
139
+ else
140
+ false
141
+ end
142
+ when :Object
143
+ # generic object (usually a Hash), return directly
144
+ value
145
+ when /\AArray<(?<inner_type>.+)>\z/
146
+ inner_type = Regexp.last_match[:inner_type]
147
+ value.map { |v| _deserialize(inner_type, v) }
148
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
149
+ k_type = Regexp.last_match[:k_type]
150
+ v_type = Regexp.last_match[:v_type]
151
+ {}.tap do |hash|
152
+ value.each do |k, v|
153
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
154
+ end
155
+ end
156
+ else # model
157
+ Phrase.const_get(type).build_from_hash(value)
158
+ end
159
+ end
160
+
161
+ # Returns the string representation of the object
162
+ # @return [String] String presentation of the object
163
+ def to_s
164
+ to_hash.to_s
165
+ end
166
+
167
+ # to_body is an alias to to_hash (backward compatibility)
168
+ # @return [Hash] Returns the object in the form of hash
169
+ def to_body
170
+ to_hash
171
+ end
172
+
173
+ # Returns the object in the form of hash
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_hash
176
+ hash = {}
177
+ self.class.attribute_map.each_pair do |attr, param|
178
+ value = self.send(attr)
179
+ if value.nil?
180
+ is_nullable = self.class.openapi_nullable.include?(attr)
181
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
182
+ end
183
+
184
+ hash[param] = _to_hash(value)
185
+ end
186
+ hash
187
+ end
188
+
189
+ # Outputs non-array value in the form of hash
190
+ # For object, use to_hash. Otherwise, just return the value
191
+ # @param [Object] value Any valid value
192
+ # @return [Hash] Returns the value in the form of hash
193
+ def _to_hash(value)
194
+ if value.is_a?(Array)
195
+ value.compact.map { |v| _to_hash(v) }
196
+ elsif value.is_a?(Hash)
197
+ {}.tap do |hash|
198
+ value.each { |k, v| hash[k] = _to_hash(v) }
199
+ end
200
+ elsif value.respond_to? :to_hash
201
+ value.to_hash
202
+ else
203
+ value
204
+ end
205
+ end
206
+ end
207
+ end
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = '1.0.11'
2
+ VERSION = '1.0.12'
3
3
  end
@@ -91,6 +91,21 @@ describe 'InvitationsApi' do
91
91
  end
92
92
  end
93
93
 
94
+ # unit tests for invitation_update_settings
95
+ # Update a member&#39;s invitation access
96
+ # Update member&#39;s settings in the invitations. Access token scope must include &lt;code&gt;team.manage&lt;/code&gt;.
97
+ # @param project_id Project ID
98
+ # @param id ID
99
+ # @param invitation_update_settings_parameters
100
+ # @param [Hash] opts the optional parameters
101
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
102
+ # @return [Invitation]
103
+ describe 'invitation_update_settings test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
94
109
  # unit tests for invitations_list
95
110
  # List invitations
96
111
  # List invitations for an account. It will also list the accessible resources like projects and locales the invited user has access to. In case nothing is shown the default access from the role is used. Access token scope must include &lt;code&gt;team.manage&lt;/code&gt;.
@@ -68,6 +68,12 @@ describe 'Invitation' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "locale_ids"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
71
77
  describe 'test attribute "created_at"' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -92,4 +98,10 @@ describe 'Invitation' do
92
98
  end
93
99
  end
94
100
 
101
+ describe 'test attribute "project_role"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
95
107
  end
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::InvitationUpdateSettingsParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'InvitationUpdateSettingsParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::InvitationUpdateSettingsParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of InvitationUpdateSettingsParameters' do
19
+ it 'should create an instance of InvitationUpdateSettingsParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::InvitationUpdateSettingsParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "project_role"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ describe 'test attribute "locale_ids"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
35
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phrase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-16 00:00:00.000000000 Z
11
+ date: 2020-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -162,6 +162,7 @@ files:
162
162
  - docs/Invitation.md
163
163
  - docs/InvitationCreateParameters.md
164
164
  - docs/InvitationUpdateParameters.md
165
+ - docs/InvitationUpdateSettingsParameters.md
165
166
  - docs/InvitationsApi.md
166
167
  - docs/Job.md
167
168
  - docs/JobCompleteParameters.md
@@ -382,6 +383,7 @@ files:
382
383
  - lib/phrase/models/invitation.rb
383
384
  - lib/phrase/models/invitation_create_parameters.rb
384
385
  - lib/phrase/models/invitation_update_parameters.rb
386
+ - lib/phrase/models/invitation_update_settings_parameters.rb
385
387
  - lib/phrase/models/job.rb
386
388
  - lib/phrase/models/job_complete_parameters.rb
387
389
  - lib/phrase/models/job_create_parameters.rb
@@ -582,6 +584,7 @@ files:
582
584
  - spec/models/invitation_create_parameters_spec.rb
583
585
  - spec/models/invitation_spec.rb
584
586
  - spec/models/invitation_update_parameters_spec.rb
587
+ - spec/models/invitation_update_settings_parameters_spec.rb
585
588
  - spec/models/job_complete_parameters_spec.rb
586
589
  - spec/models/job_create_parameters_spec.rb
587
590
  - spec/models/job_details1_spec.rb
@@ -720,201 +723,202 @@ summary: You can collaborate on language file translation with your team or orde
720
723
  locale files, tag keys or interact in other ways with the localization data stored
721
724
  in Phrase for your account.
722
725
  test_files:
723
- - spec/api/bitbucket_sync_api_spec.rb
724
- - spec/api/accounts_api_spec.rb
725
- - spec/api/style_guides_api_spec.rb
726
- - spec/api/versions_history_api_spec.rb
727
- - spec/api/glossaries_api_spec.rb
728
- - spec/api/jobs_api_spec.rb
729
- - spec/api/git_lab_sync_api_spec.rb
730
- - spec/api/members_api_spec.rb
731
- - spec/api/tags_api_spec.rb
732
- - spec/api/screenshot_markers_api_spec.rb
733
726
  - spec/api/blacklisted_keys_api_spec.rb
734
727
  - spec/api/glossary_terms_api_spec.rb
735
- - spec/api/invitations_api_spec.rb
736
- - spec/api/users_api_spec.rb
737
- - spec/api/locales_api_spec.rb
738
- - spec/api/documents_api_spec.rb
739
- - spec/api/uploads_api_spec.rb
728
+ - spec/api/orders_api_spec.rb
729
+ - spec/api/glossaries_api_spec.rb
740
730
  - spec/api/distributions_api_spec.rb
741
- - spec/api/git_hub_sync_api_spec.rb
742
- - spec/api/projects_api_spec.rb
743
- - spec/api/formats_api_spec.rb
744
- - spec/api/teams_api_spec.rb
745
731
  - spec/api/translations_api_spec.rb
746
- - spec/api/glossary_term_translations_api_spec.rb
732
+ - spec/api/bitbucket_sync_api_spec.rb
733
+ - spec/api/branches_api_spec.rb
734
+ - spec/api/formats_api_spec.rb
735
+ - spec/api/authorizations_api_spec.rb
736
+ - spec/api/releases_api_spec.rb
737
+ - spec/api/documents_api_spec.rb
738
+ - spec/api/invitations_api_spec.rb
739
+ - spec/api/jobs_api_spec.rb
740
+ - spec/api/locales_api_spec.rb
747
741
  - spec/api/keys_api_spec.rb
742
+ - spec/api/style_guides_api_spec.rb
743
+ - spec/api/git_lab_sync_api_spec.rb
744
+ - spec/api/versions_history_api_spec.rb
745
+ - spec/api/job_locales_api_spec.rb
748
746
  - spec/api/screenshots_api_spec.rb
747
+ - spec/api/git_hub_sync_api_spec.rb
749
748
  - spec/api/comments_api_spec.rb
749
+ - spec/api/tags_api_spec.rb
750
+ - spec/api/users_api_spec.rb
750
751
  - spec/api/webhooks_api_spec.rb
751
- - spec/api/job_locales_api_spec.rb
752
+ - spec/api/projects_api_spec.rb
753
+ - spec/api/glossary_term_translations_api_spec.rb
754
+ - spec/api/accounts_api_spec.rb
755
+ - spec/api/screenshot_markers_api_spec.rb
756
+ - spec/api/uploads_api_spec.rb
757
+ - spec/api/teams_api_spec.rb
752
758
  - spec/api/spaces_api_spec.rb
753
- - spec/api/orders_api_spec.rb
754
- - spec/api/authorizations_api_spec.rb
755
- - spec/api/branches_api_spec.rb
756
- - spec/api/releases_api_spec.rb
759
+ - spec/api/members_api_spec.rb
757
760
  - spec/api_client_spec.rb
758
761
  - spec/configuration_spec.rb
759
- - spec/models/branch_merge_parameters_spec.rb
760
- - spec/models/tag_spec.rb
761
- - spec/models/inline_response422_spec.rb
762
- - spec/models/team_spec.rb
763
- - spec/models/distribution_create_parameters_spec.rb
764
- - spec/models/translation_verify_parameters_spec.rb
762
+ - spec/models/order_confirm_parameters_spec.rb
763
+ - spec/models/bitbucket_sync_spec.rb
765
764
  - spec/models/job_locale_update_parameters_spec.rb
766
- - spec/models/branch_spec.rb
767
- - spec/models/bitbucket_sync_import_parameters_spec.rb
768
- - spec/models/project_locales_spec.rb
769
- - spec/models/member_update_settings_parameters_spec.rb
770
- - spec/models/member_project_detail_spec.rb
771
- - spec/models/screenshot_spec.rb
772
- - spec/models/keys_untag_parameters_spec.rb
773
- - spec/models/team_detail_spec.rb
774
- - spec/models/styleguide_preview_spec.rb
775
- - spec/models/translation_version_spec.rb
776
- - spec/models/job_update_parameters_spec.rb
777
- - spec/models/styleguide_details1_spec.rb
778
- - spec/models/styleguide_create_parameters_spec.rb
779
- - spec/models/job_keys_create_parameters_spec.rb
780
- - spec/models/screenshot_marker_update_parameters_spec.rb
781
- - spec/models/locale_update_parameters_spec.rb
782
- - spec/models/translation_update_parameters_spec.rb
783
- - spec/models/job_locale_complete_parameters_spec.rb
784
- - spec/models/tag_create_parameters_spec.rb
785
- - spec/models/job_create_parameters_spec.rb
786
- - spec/models/member_spaces_spec.rb
787
- - spec/models/invitation_spec.rb
788
- - spec/models/gitlab_sync_import_parameters_spec.rb
789
- - spec/models/job_details_spec.rb
765
+ - spec/models/invitation_update_parameters_spec.rb
766
+ - spec/models/space_create_parameters_spec.rb
767
+ - spec/models/bitbucket_sync_export_parameters_spec.rb
790
768
  - spec/models/key_preview_spec.rb
791
- - spec/models/translation_create_parameters_spec.rb
792
- - spec/models/translations_include_parameters_spec.rb
793
- - spec/models/user_spec.rb
794
- - spec/models/key_update_parameters_spec.rb
795
- - spec/models/upload_summary_spec.rb
796
- - spec/models/project_create_parameters_spec.rb
797
- - spec/models/glossary_term_translation_update_parameters_spec.rb
798
- - spec/models/project_spec.rb
799
769
  - spec/models/account_details_spec.rb
800
- - spec/models/project_update_parameters_spec.rb
770
+ - spec/models/branch_name_spec.rb
771
+ - spec/models/translation_key_details1_spec.rb
772
+ - spec/models/translation_version_with_user1_spec.rb
773
+ - spec/models/gitlab_sync_export_parameters_spec.rb
774
+ - spec/models/job_details_spec.rb
775
+ - spec/models/job_start_parameters_spec.rb
776
+ - spec/models/keys_tag_parameters_spec.rb
777
+ - spec/models/project_details1_spec.rb
778
+ - spec/models/document_spec.rb
779
+ - spec/models/translation_spec.rb
780
+ - spec/models/blacklisted_key_create_parameters_spec.rb
781
+ - spec/models/branch_spec.rb
782
+ - spec/models/tag_with_stats1_statistics_spec.rb
783
+ - spec/models/spaces_projects_create_parameters_spec.rb
784
+ - spec/models/glossary_term_create_parameters_spec.rb
785
+ - spec/models/translation_details_spec.rb
786
+ - spec/models/team_update_parameters_spec.rb
787
+ - spec/models/screenshot_create_parameters_spec.rb
788
+ - spec/models/comment_update_parameters_spec.rb
801
789
  - spec/models/team_create_parameters_spec.rb
802
- - spec/models/invitation_update_parameters_spec.rb
803
- - spec/models/translation_exclude_parameters_spec.rb
804
- - spec/models/glossary_term_update_parameters_spec.rb
805
- - spec/models/job_locale_spec.rb
806
- - spec/models/authorization_create_parameters_spec.rb
790
+ - spec/models/member_project_detail_project_roles_spec.rb
791
+ - spec/models/project_short_spec.rb
792
+ - spec/models/glossary_term_translation_spec.rb
793
+ - spec/models/locale_preview_spec.rb
807
794
  - spec/models/space_spec.rb
808
- - spec/models/bitbucket_sync_export_response_spec.rb
809
- - spec/models/translations_verify_parameters_spec.rb
795
+ - spec/models/translation_order_spec.rb
796
+ - spec/models/screenshot_spec.rb
797
+ - spec/models/locale_statistics_spec.rb
798
+ - spec/models/project_spec.rb
799
+ - spec/models/translation_create_parameters_spec.rb
800
+ - spec/models/styleguide_details1_spec.rb
801
+ - spec/models/github_sync_export_parameters_spec.rb
810
802
  - spec/models/affected_resources_spec.rb
811
- - spec/models/account_spec.rb
812
- - spec/models/job_locales_create_parameters_spec.rb
813
- - spec/models/member_spec.rb
814
803
  - spec/models/release_create_parameters_spec.rb
815
- - spec/models/screenshot_update_parameters_spec.rb
816
804
  - spec/models/blacklisted_key_update_parameters_spec.rb
817
- - spec/models/styleguide_update_parameters_spec.rb
818
- - spec/models/job_locale_reopen_parameters_spec.rb
819
- - spec/models/locale_details1_spec.rb
805
+ - spec/models/glossary_term_translation_update_parameters_spec.rb
806
+ - spec/models/job_keys_create_parameters_spec.rb
807
+ - spec/models/team_detail_spec.rb
808
+ - spec/models/keys_untag_parameters_spec.rb
809
+ - spec/models/member_spaces_spec.rb
810
+ - spec/models/user_preview_spec.rb
811
+ - spec/models/bitbucket_sync_import_parameters_spec.rb
820
812
  - spec/models/github_sync_import_parameters_spec.rb
821
- - spec/models/branch_create_parameters_spec.rb
822
- - spec/models/tag_with_stats1_spec.rb
823
- - spec/models/gitlab_sync_export_spec.rb
824
- - spec/models/webhook_update_parameters_spec.rb
825
- - spec/models/authorization_update_parameters_spec.rb
826
- - spec/models/translation_key_details1_spec.rb
827
- - spec/models/team_update_parameters_spec.rb
828
- - spec/models/translation_version_with_user_spec.rb
829
- - spec/models/teams_projects_create_parameters_spec.rb
830
- - spec/models/translations_review_parameters_spec.rb
831
- - spec/models/release_spec.rb
832
- - spec/models/styleguide_details_spec.rb
833
- - spec/models/comment_mark_read_parameters_spec.rb
834
- - spec/models/project_short_spec.rb
835
- - spec/models/order_create_parameters_spec.rb
813
+ - spec/models/team_spec.rb
814
+ - spec/models/styleguide_preview_spec.rb
836
815
  - spec/models/upload_create_parameters_spec.rb
837
- - spec/models/authorization_with_token_spec.rb
838
- - spec/models/space_create_parameters_spec.rb
839
- - spec/models/screenshot_create_parameters_spec.rb
840
- - spec/models/document_spec.rb
841
- - spec/models/translation_version_with_user1_spec.rb
842
- - spec/models/glossary_term_translation_spec.rb
843
- - spec/models/invitation_create_parameters_spec.rb
844
- - spec/models/gitlab_sync_export_parameters_spec.rb
845
- - spec/models/member_update_parameters_spec.rb
846
- - spec/models/bitbucket_sync_export_parameters_spec.rb
847
- - spec/models/screenshot_marker_spec.rb
848
- - spec/models/gitlab_sync_history_spec.rb
849
- - spec/models/translation_details_spec.rb
816
+ - spec/models/upload_summary_spec.rb
817
+ - spec/models/job_locale_complete_parameters_spec.rb
818
+ - spec/models/screenshot_marker_update_parameters_spec.rb
850
819
  - spec/models/affected_count_spec.rb
851
- - spec/models/authorization_spec.rb
852
- - spec/models/webhook_create_parameters_spec.rb
853
- - spec/models/styleguide_spec.rb
820
+ - spec/models/translations_verify_parameters_spec.rb
821
+ - spec/models/branch_update_parameters_spec.rb
822
+ - spec/models/locale_details1_spec.rb
823
+ - spec/models/authorization_update_parameters_spec.rb
854
824
  - spec/models/keys_search_parameters_spec.rb
825
+ - spec/models/invitation_spec.rb
826
+ - spec/models/locale_create_parameters_spec.rb
827
+ - spec/models/gitlab_sync_export_spec.rb
828
+ - spec/models/project_details_spec.rb
829
+ - spec/models/user_spec.rb
830
+ - spec/models/member_update_settings_parameters_spec.rb
831
+ - spec/models/member_update_parameters_spec.rb
832
+ - spec/models/branch_create_parameters_spec.rb
833
+ - spec/models/styleguide_spec.rb
834
+ - spec/models/account_details1_spec.rb
835
+ - spec/models/job_create_parameters_spec.rb
855
836
  - spec/models/job_details1_spec.rb
856
- - spec/models/glossary_create_parameters_spec.rb
857
- - spec/models/glossary_spec.rb
858
- - spec/models/tag_with_stats1_statistics1_spec.rb
859
- - spec/models/translation_key_spec.rb
860
- - spec/models/glossary_term_create_parameters_spec.rb
861
- - spec/models/comment_create_parameters_spec.rb
862
- - spec/models/job_preview_spec.rb
863
- - spec/models/inline_response422_errors_spec.rb
837
+ - spec/models/translation_version_with_user_spec.rb
838
+ - spec/models/gitlab_sync_history_spec.rb
864
839
  - spec/models/upload_spec.rb
865
- - spec/models/locale_details_spec.rb
866
- - spec/models/locale_statistics_spec.rb
867
- - spec/models/branch_name_spec.rb
868
- - spec/models/blacklisted_key_spec.rb
869
- - spec/models/distribution_spec.rb
870
- - spec/models/spaces_projects_create_parameters_spec.rb
871
- - spec/models/job_reopen_parameters_spec.rb
872
- - spec/models/teams_spaces_create_parameters_spec.rb
873
- - spec/models/job_complete_parameters_spec.rb
874
- - spec/models/tag_with_stats_spec.rb
840
+ - spec/models/translation_details1_spec.rb
875
841
  - spec/models/translations_unverify_parameters_spec.rb
876
- - spec/models/job_spec.rb
877
842
  - spec/models/webhook_spec.rb
878
- - spec/models/key_create_parameters_spec.rb
879
- - spec/models/github_sync_export_parameters_spec.rb
880
- - spec/models/branch_update_parameters_spec.rb
881
- - spec/models/comment_spec.rb
882
- - spec/models/project_details1_spec.rb
883
- - spec/models/translation_order_spec.rb
884
- - spec/models/release_preview_spec.rb
885
- - spec/models/screenshot_marker_create_parameters_spec.rb
886
- - spec/models/translation_unverify_parameters_spec.rb
887
- - spec/models/keys_tag_parameters_spec.rb
888
- - spec/models/project_locales1_spec.rb
889
- - spec/models/bitbucket_sync_spec.rb
890
- - spec/models/job_start_parameters_spec.rb
891
- - spec/models/translation_spec.rb
892
- - spec/models/translation_key_details_spec.rb
893
- - spec/models/translation_review_parameters_spec.rb
894
- - spec/models/authorization_with_token1_spec.rb
895
- - spec/models/glossary_update_parameters_spec.rb
896
843
  - spec/models/glossary_term_spec.rb
897
- - spec/models/locale_preview_spec.rb
898
- - spec/models/locale_create_parameters_spec.rb
899
- - spec/models/translations_exclude_parameters_spec.rb
900
- - spec/models/translations_search_parameters_spec.rb
901
- - spec/models/translation_details1_spec.rb
902
- - spec/models/project_details_spec.rb
903
- - spec/models/tag_with_stats1_statistics_spec.rb
904
- - spec/models/blacklisted_key_create_parameters_spec.rb
905
- - spec/models/member_project_detail_project_roles_spec.rb
906
- - spec/models/space_update_parameters_spec.rb
907
- - spec/models/user_preview_spec.rb
908
844
  - spec/models/teams_users_create_parameters_spec.rb
845
+ - spec/models/translations_review_parameters_spec.rb
846
+ - spec/models/job_locale_spec.rb
847
+ - spec/models/translation_update_parameters_spec.rb
848
+ - spec/models/job_complete_parameters_spec.rb
909
849
  - spec/models/distribution_update_parameters_spec.rb
850
+ - spec/models/locale_details_spec.rb
851
+ - spec/models/project_locales1_spec.rb
852
+ - spec/models/screenshot_marker_spec.rb
853
+ - spec/models/project_update_parameters_spec.rb
854
+ - spec/models/release_preview_spec.rb
855
+ - spec/models/blacklisted_key_spec.rb
856
+ - spec/models/authorization_with_token_spec.rb
857
+ - spec/models/key_create_parameters_spec.rb
858
+ - spec/models/webhook_create_parameters_spec.rb
910
859
  - spec/models/gitlab_sync_spec.rb
911
- - spec/models/distribution_preview_spec.rb
912
- - spec/models/glossary_term_translation_create_parameters_spec.rb
913
- - spec/models/order_confirm_parameters_spec.rb
914
- - spec/models/comment_update_parameters_spec.rb
860
+ - spec/models/tag_spec.rb
861
+ - spec/models/screenshot_update_parameters_spec.rb
862
+ - spec/models/distribution_create_parameters_spec.rb
863
+ - spec/models/teams_projects_create_parameters_spec.rb
864
+ - spec/models/inline_response422_spec.rb
865
+ - spec/models/authorization_with_token1_spec.rb
866
+ - spec/models/tag_with_stats1_spec.rb
867
+ - spec/models/project_create_parameters_spec.rb
915
868
  - spec/models/locale_spec.rb
869
+ - spec/models/tag_with_stats1_statistics1_spec.rb
870
+ - spec/models/distribution_preview_spec.rb
871
+ - spec/models/translation_version_spec.rb
872
+ - spec/models/teams_spaces_create_parameters_spec.rb
873
+ - spec/models/job_reopen_parameters_spec.rb
874
+ - spec/models/webhook_update_parameters_spec.rb
875
+ - spec/models/translations_search_parameters_spec.rb
876
+ - spec/models/job_update_parameters_spec.rb
877
+ - spec/models/account_spec.rb
878
+ - spec/models/gitlab_sync_import_parameters_spec.rb
879
+ - spec/models/glossary_create_parameters_spec.rb
880
+ - spec/models/translation_key_details_spec.rb
881
+ - spec/models/authorization_spec.rb
916
882
  - spec/models/format_spec.rb
917
- - spec/models/account_details1_spec.rb
883
+ - spec/models/glossary_term_update_parameters_spec.rb
884
+ - spec/models/job_locales_create_parameters_spec.rb
885
+ - spec/models/locale_update_parameters_spec.rb
886
+ - spec/models/comment_mark_read_parameters_spec.rb
887
+ - spec/models/job_spec.rb
918
888
  - spec/models/translation_include_parameters_spec.rb
889
+ - spec/models/translation_review_parameters_spec.rb
890
+ - spec/models/styleguide_details_spec.rb
891
+ - spec/models/tag_with_stats_spec.rb
892
+ - spec/models/translations_exclude_parameters_spec.rb
893
+ - spec/models/release_spec.rb
894
+ - spec/models/comment_spec.rb
895
+ - spec/models/glossary_term_translation_create_parameters_spec.rb
896
+ - spec/models/screenshot_marker_create_parameters_spec.rb
897
+ - spec/models/styleguide_create_parameters_spec.rb
898
+ - spec/models/styleguide_update_parameters_spec.rb
899
+ - spec/models/job_preview_spec.rb
900
+ - spec/models/translation_key_spec.rb
901
+ - spec/models/bitbucket_sync_export_response_spec.rb
919
902
  - spec/models/release_update_parameters_spec.rb
903
+ - spec/models/member_spec.rb
904
+ - spec/models/branch_merge_parameters_spec.rb
905
+ - spec/models/invitation_update_settings_parameters_spec.rb
906
+ - spec/models/project_locales_spec.rb
907
+ - spec/models/key_update_parameters_spec.rb
908
+ - spec/models/translation_unverify_parameters_spec.rb
909
+ - spec/models/authorization_create_parameters_spec.rb
910
+ - spec/models/order_create_parameters_spec.rb
911
+ - spec/models/job_locale_reopen_parameters_spec.rb
912
+ - spec/models/invitation_create_parameters_spec.rb
913
+ - spec/models/tag_create_parameters_spec.rb
914
+ - spec/models/space_update_parameters_spec.rb
915
+ - spec/models/translation_exclude_parameters_spec.rb
916
+ - spec/models/inline_response422_errors_spec.rb
917
+ - spec/models/distribution_spec.rb
918
+ - spec/models/translation_verify_parameters_spec.rb
919
+ - spec/models/glossary_update_parameters_spec.rb
920
+ - spec/models/glossary_spec.rb
921
+ - spec/models/translations_include_parameters_spec.rb
922
+ - spec/models/member_project_detail_spec.rb
923
+ - spec/models/comment_create_parameters_spec.rb
920
924
  - spec/spec_helper.rb