phrase 2.5.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -11
- data/docs/AccountsApi.md +2 -8
- data/docs/AuthorizationsApi.md +5 -20
- data/docs/BitbucketSyncApi.md +3 -12
- data/docs/BlacklistedKeysApi.md +5 -20
- data/docs/BranchesApi.md +7 -28
- data/docs/CommentsApi.md +8 -32
- data/docs/DistributionsApi.md +5 -20
- data/docs/DocumentsApi.md +2 -8
- data/docs/FormatsApi.md +1 -4
- data/docs/GitHubSyncApi.md +2 -8
- data/docs/GitLabSyncApi.md +7 -28
- data/docs/GlossariesApi.md +5 -20
- data/docs/GlossaryTermTranslationsApi.md +3 -12
- data/docs/GlossaryTermsApi.md +5 -20
- data/docs/ICUApi.md +1 -4
- data/docs/IcuSkeletonParameters.md +2 -0
- data/docs/Invitation.md +3 -1
- data/docs/InvitationsApi.md +7 -28
- data/docs/JobCreateParameters.md +3 -1
- data/docs/JobLocalesApi.md +8 -32
- data/docs/JobTemplateLocalesApi.md +5 -20
- data/docs/JobTemplatesApi.md +5 -20
- data/docs/JobsApi.md +141 -44
- data/docs/KeyCreateParameters.md +2 -0
- data/docs/KeysApi.md +11 -44
- data/docs/LocalesApi.md +7 -28
- data/docs/Member.md +1 -1
- data/docs/MembersApi.md +5 -20
- data/docs/NotificationGroupsApi.md +3 -12
- data/docs/NotificationsApi.md +3 -12
- data/docs/OrdersApi.md +5 -20
- data/docs/ProjectLocales.md +2 -0
- data/docs/ProjectMemberSpecific.md +27 -0
- data/docs/ProjectsApi.md +5 -20
- data/docs/ReleasesApi.md +6 -24
- data/docs/ScreenshotMarkersApi.md +5 -20
- data/docs/ScreenshotsApi.md +5 -20
- data/docs/SearchApi.md +1 -4
- data/docs/SpacesApi.md +8 -32
- data/docs/StyleGuidesApi.md +5 -20
- data/docs/TagsApi.md +4 -16
- data/docs/{Team1.md → TeamShort.md} +2 -2
- data/docs/TeamsApi.md +11 -44
- data/docs/TranslationsApi.md +17 -68
- data/docs/UploadsApi.md +3 -12
- data/docs/UsersApi.md +1 -4
- data/docs/VariablesApi.md +5 -20
- data/docs/VersionsHistoryApi.md +2 -8
- data/docs/WebhooksApi.md +6 -24
- data/lib/phrase/api/accounts_api.rb +2 -2
- data/lib/phrase/api/authorizations_api.rb +5 -5
- data/lib/phrase/api/bitbucket_sync_api.rb +3 -3
- data/lib/phrase/api/blacklisted_keys_api.rb +5 -5
- data/lib/phrase/api/branches_api.rb +7 -7
- data/lib/phrase/api/comments_api.rb +8 -8
- data/lib/phrase/api/distributions_api.rb +5 -5
- data/lib/phrase/api/documents_api.rb +2 -2
- data/lib/phrase/api/formats_api.rb +1 -1
- data/lib/phrase/api/git_hub_sync_api.rb +2 -2
- data/lib/phrase/api/git_lab_sync_api.rb +7 -7
- data/lib/phrase/api/glossaries_api.rb +5 -5
- data/lib/phrase/api/glossary_term_translations_api.rb +3 -3
- data/lib/phrase/api/glossary_terms_api.rb +5 -5
- data/lib/phrase/api/icu_api.rb +1 -1
- data/lib/phrase/api/invitations_api.rb +7 -7
- data/lib/phrase/api/job_locales_api.rb +8 -8
- data/lib/phrase/api/job_template_locales_api.rb +5 -5
- data/lib/phrase/api/job_templates_api.rb +5 -5
- data/lib/phrase/api/jobs_api.rb +157 -11
- data/lib/phrase/api/keys_api.rb +11 -11
- data/lib/phrase/api/locales_api.rb +7 -7
- data/lib/phrase/api/members_api.rb +5 -5
- data/lib/phrase/api/notification_groups_api.rb +3 -3
- data/lib/phrase/api/notifications_api.rb +3 -3
- data/lib/phrase/api/orders_api.rb +5 -5
- data/lib/phrase/api/projects_api.rb +5 -5
- data/lib/phrase/api/releases_api.rb +6 -6
- data/lib/phrase/api/screenshot_markers_api.rb +5 -5
- data/lib/phrase/api/screenshots_api.rb +5 -5
- data/lib/phrase/api/search_api.rb +1 -1
- data/lib/phrase/api/spaces_api.rb +8 -8
- data/lib/phrase/api/style_guides_api.rb +5 -5
- data/lib/phrase/api/tags_api.rb +4 -4
- data/lib/phrase/api/teams_api.rb +11 -11
- data/lib/phrase/api/translations_api.rb +17 -17
- data/lib/phrase/api/uploads_api.rb +3 -3
- data/lib/phrase/api/users_api.rb +1 -1
- data/lib/phrase/api/variables_api.rb +5 -5
- data/lib/phrase/api/versions_history_api.rb +2 -2
- data/lib/phrase/api/webhooks_api.rb +6 -6
- data/lib/phrase/configuration.rb +0 -8
- data/lib/phrase/models/icu_skeleton_parameters.rb +11 -1
- data/lib/phrase/models/invitation.rb +13 -2
- data/lib/phrase/models/job_create_parameters.rb +14 -4
- data/lib/phrase/models/key_create_parameters.rb +11 -1
- data/lib/phrase/models/member.rb +1 -1
- data/lib/phrase/models/project_locales.rb +11 -2
- data/lib/phrase/models/project_member_specific.rb +239 -0
- data/lib/phrase/models/{team1.rb → team_short.rb} +3 -3
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +2 -1
- data/spec/api/jobs_api_spec.rb +30 -0
- data/spec/models/icu_skeleton_parameters_spec.rb +6 -0
- data/spec/models/invitation_spec.rb +6 -0
- data/spec/models/job_create_parameters_spec.rb +6 -0
- data/spec/models/key_create_parameters_spec.rb +6 -0
- data/spec/models/project_locales_spec.rb +6 -0
- data/spec/models/project_member_specific_spec.rb +59 -0
- data/spec/models/{team1_spec.rb → team_short_spec.rb} +6 -6
- metadata +204 -200
|
@@ -62,7 +62,7 @@ module Phrase
|
|
|
62
62
|
return_type = opts[:return_type] || 'Object'
|
|
63
63
|
|
|
64
64
|
# auth_names
|
|
65
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
65
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
66
66
|
|
|
67
67
|
new_options = opts.merge(
|
|
68
68
|
:header_params => header_params,
|
|
@@ -135,7 +135,7 @@ module Phrase
|
|
|
135
135
|
return_type = opts[:return_type]
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
138
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:header_params => header_params,
|
|
@@ -210,7 +210,7 @@ module Phrase
|
|
|
210
210
|
return_type = opts[:return_type] || 'Object'
|
|
211
211
|
|
|
212
212
|
# auth_names
|
|
213
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
213
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
214
214
|
|
|
215
215
|
new_options = opts.merge(
|
|
216
216
|
:header_params => header_params,
|
|
@@ -290,7 +290,7 @@ module Phrase
|
|
|
290
290
|
return_type = opts[:return_type] || 'Object'
|
|
291
291
|
|
|
292
292
|
# auth_names
|
|
293
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
293
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
294
294
|
|
|
295
295
|
new_options = opts.merge(
|
|
296
296
|
:header_params => header_params,
|
|
@@ -365,7 +365,7 @@ module Phrase
|
|
|
365
365
|
return_type = opts[:return_type] || 'Array<JobTemplate>'
|
|
366
366
|
|
|
367
367
|
# auth_names
|
|
368
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
368
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
369
369
|
|
|
370
370
|
new_options = opts.merge(
|
|
371
371
|
:header_params => header_params,
|
data/lib/phrase/api/jobs_api.rb
CHANGED
|
@@ -68,7 +68,7 @@ module Phrase
|
|
|
68
68
|
return_type = opts[:return_type] || 'JobDetails'
|
|
69
69
|
|
|
70
70
|
# auth_names
|
|
71
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
71
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:header_params => header_params,
|
|
@@ -142,7 +142,7 @@ module Phrase
|
|
|
142
142
|
return_type = opts[:return_type] || 'JobDetails'
|
|
143
143
|
|
|
144
144
|
# auth_names
|
|
145
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
145
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
146
146
|
|
|
147
147
|
new_options = opts.merge(
|
|
148
148
|
:header_params => header_params,
|
|
@@ -215,7 +215,7 @@ module Phrase
|
|
|
215
215
|
return_type = opts[:return_type]
|
|
216
216
|
|
|
217
217
|
# auth_names
|
|
218
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
218
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
219
219
|
|
|
220
220
|
new_options = opts.merge(
|
|
221
221
|
:header_params => header_params,
|
|
@@ -295,7 +295,7 @@ module Phrase
|
|
|
295
295
|
return_type = opts[:return_type] || 'JobDetails'
|
|
296
296
|
|
|
297
297
|
# auth_names
|
|
298
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
298
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
299
299
|
|
|
300
300
|
new_options = opts.merge(
|
|
301
301
|
:header_params => header_params,
|
|
@@ -371,7 +371,7 @@ module Phrase
|
|
|
371
371
|
return_type = opts[:return_type]
|
|
372
372
|
|
|
373
373
|
# auth_names
|
|
374
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
374
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
375
375
|
|
|
376
376
|
new_options = opts.merge(
|
|
377
377
|
:header_params => header_params,
|
|
@@ -390,6 +390,79 @@ module Phrase
|
|
|
390
390
|
return response, status_code, headers
|
|
391
391
|
end
|
|
392
392
|
|
|
393
|
+
# Lock a job
|
|
394
|
+
# If you are the job owner, you may lock a job using this API request.
|
|
395
|
+
# @param project_id [String] Project ID
|
|
396
|
+
# @param id [String] ID
|
|
397
|
+
# @param [Hash] opts the optional parameters
|
|
398
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
399
|
+
# @option opts [String] :branch specify the branch to use
|
|
400
|
+
# @return [nil]
|
|
401
|
+
def job_lock(project_id, id, opts = {})
|
|
402
|
+
data, _status_code, _headers = job_lock_with_http_info(project_id, id, opts)
|
|
403
|
+
data
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
# Lock a job
|
|
407
|
+
# If you are the job owner, you may lock a job using this API request.
|
|
408
|
+
# @param project_id [String] Project ID
|
|
409
|
+
# @param id [String] ID
|
|
410
|
+
# @param [Hash] opts the optional parameters
|
|
411
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
412
|
+
# @option opts [String] :branch specify the branch to use
|
|
413
|
+
# @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers
|
|
414
|
+
def job_lock_with_http_info(project_id, id, opts = {})
|
|
415
|
+
if @api_client.config.debugging
|
|
416
|
+
@api_client.config.logger.debug 'Calling API: JobsApi.job_lock ...'
|
|
417
|
+
end
|
|
418
|
+
# verify the required parameter 'project_id' is set
|
|
419
|
+
if @api_client.config.client_side_validation && project_id.nil?
|
|
420
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling JobsApi.job_lock"
|
|
421
|
+
end
|
|
422
|
+
# verify the required parameter 'id' is set
|
|
423
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
424
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling JobsApi.job_lock"
|
|
425
|
+
end
|
|
426
|
+
# resource path
|
|
427
|
+
local_var_path = '/projects/{project_id}/jobs/{id}/lock'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
428
|
+
|
|
429
|
+
# query parameters
|
|
430
|
+
query_params = opts[:query_params] || {}
|
|
431
|
+
query_params[:'branch'] = opts[:'branch'] if !opts[:'branch'].nil?
|
|
432
|
+
|
|
433
|
+
# header parameters
|
|
434
|
+
header_params = opts[:header_params] || {}
|
|
435
|
+
header_params[:'X-PhraseApp-OTP'] = opts[:'x_phrase_app_otp'] if !opts[:'x_phrase_app_otp'].nil?
|
|
436
|
+
|
|
437
|
+
# form parameters
|
|
438
|
+
form_params = opts[:form_params] || {}
|
|
439
|
+
|
|
440
|
+
# http body (model)
|
|
441
|
+
post_body = opts[:body]
|
|
442
|
+
|
|
443
|
+
# return_type
|
|
444
|
+
return_type = opts[:return_type]
|
|
445
|
+
|
|
446
|
+
# auth_names
|
|
447
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
448
|
+
|
|
449
|
+
new_options = opts.merge(
|
|
450
|
+
:header_params => header_params,
|
|
451
|
+
:query_params => query_params,
|
|
452
|
+
:form_params => form_params,
|
|
453
|
+
:body => post_body,
|
|
454
|
+
:auth_names => auth_names,
|
|
455
|
+
:return_type => return_type
|
|
456
|
+
)
|
|
457
|
+
|
|
458
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
459
|
+
if @api_client.config.debugging
|
|
460
|
+
@api_client.config.logger.debug "API called: JobsApi#job_lock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
461
|
+
end
|
|
462
|
+
response = ::Phrase::Response.new(data, headers)
|
|
463
|
+
return response, status_code, headers
|
|
464
|
+
end
|
|
465
|
+
|
|
393
466
|
# Reopen a job
|
|
394
467
|
# Mark a job as uncompleted.
|
|
395
468
|
# @param project_id [String] Project ID
|
|
@@ -451,7 +524,7 @@ module Phrase
|
|
|
451
524
|
return_type = opts[:return_type] || 'JobDetails'
|
|
452
525
|
|
|
453
526
|
# auth_names
|
|
454
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
527
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
455
528
|
|
|
456
529
|
new_options = opts.merge(
|
|
457
530
|
:header_params => header_params,
|
|
@@ -526,7 +599,7 @@ module Phrase
|
|
|
526
599
|
return_type = opts[:return_type] || 'JobDetails'
|
|
527
600
|
|
|
528
601
|
# auth_names
|
|
529
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
602
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
530
603
|
|
|
531
604
|
new_options = opts.merge(
|
|
532
605
|
:header_params => header_params,
|
|
@@ -606,7 +679,7 @@ module Phrase
|
|
|
606
679
|
return_type = opts[:return_type] || 'JobDetails'
|
|
607
680
|
|
|
608
681
|
# auth_names
|
|
609
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
682
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
610
683
|
|
|
611
684
|
new_options = opts.merge(
|
|
612
685
|
:header_params => header_params,
|
|
@@ -625,6 +698,79 @@ module Phrase
|
|
|
625
698
|
return response, status_code, headers
|
|
626
699
|
end
|
|
627
700
|
|
|
701
|
+
# Unlock a job
|
|
702
|
+
# If you are the job owner, you may unlock a locked job using this API request.
|
|
703
|
+
# @param project_id [String] Project ID
|
|
704
|
+
# @param id [String] ID
|
|
705
|
+
# @param [Hash] opts the optional parameters
|
|
706
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
707
|
+
# @option opts [String] :branch specify the branch to use
|
|
708
|
+
# @return [nil]
|
|
709
|
+
def job_unlock(project_id, id, opts = {})
|
|
710
|
+
data, _status_code, _headers = job_unlock_with_http_info(project_id, id, opts)
|
|
711
|
+
data
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
# Unlock a job
|
|
715
|
+
# If you are the job owner, you may unlock a locked job using this API request.
|
|
716
|
+
# @param project_id [String] Project ID
|
|
717
|
+
# @param id [String] ID
|
|
718
|
+
# @param [Hash] opts the optional parameters
|
|
719
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
720
|
+
# @option opts [String] :branch specify the branch to use
|
|
721
|
+
# @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers
|
|
722
|
+
def job_unlock_with_http_info(project_id, id, opts = {})
|
|
723
|
+
if @api_client.config.debugging
|
|
724
|
+
@api_client.config.logger.debug 'Calling API: JobsApi.job_unlock ...'
|
|
725
|
+
end
|
|
726
|
+
# verify the required parameter 'project_id' is set
|
|
727
|
+
if @api_client.config.client_side_validation && project_id.nil?
|
|
728
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling JobsApi.job_unlock"
|
|
729
|
+
end
|
|
730
|
+
# verify the required parameter 'id' is set
|
|
731
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
732
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling JobsApi.job_unlock"
|
|
733
|
+
end
|
|
734
|
+
# resource path
|
|
735
|
+
local_var_path = '/projects/{project_id}/jobs/{id}/unlock'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s)).sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
736
|
+
|
|
737
|
+
# query parameters
|
|
738
|
+
query_params = opts[:query_params] || {}
|
|
739
|
+
query_params[:'branch'] = opts[:'branch'] if !opts[:'branch'].nil?
|
|
740
|
+
|
|
741
|
+
# header parameters
|
|
742
|
+
header_params = opts[:header_params] || {}
|
|
743
|
+
header_params[:'X-PhraseApp-OTP'] = opts[:'x_phrase_app_otp'] if !opts[:'x_phrase_app_otp'].nil?
|
|
744
|
+
|
|
745
|
+
# form parameters
|
|
746
|
+
form_params = opts[:form_params] || {}
|
|
747
|
+
|
|
748
|
+
# http body (model)
|
|
749
|
+
post_body = opts[:body]
|
|
750
|
+
|
|
751
|
+
# return_type
|
|
752
|
+
return_type = opts[:return_type]
|
|
753
|
+
|
|
754
|
+
# auth_names
|
|
755
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
756
|
+
|
|
757
|
+
new_options = opts.merge(
|
|
758
|
+
:header_params => header_params,
|
|
759
|
+
:query_params => query_params,
|
|
760
|
+
:form_params => form_params,
|
|
761
|
+
:body => post_body,
|
|
762
|
+
:auth_names => auth_names,
|
|
763
|
+
:return_type => return_type
|
|
764
|
+
)
|
|
765
|
+
|
|
766
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
767
|
+
if @api_client.config.debugging
|
|
768
|
+
@api_client.config.logger.debug "API called: JobsApi#job_unlock\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
769
|
+
end
|
|
770
|
+
response = ::Phrase::Response.new(data, headers)
|
|
771
|
+
return response, status_code, headers
|
|
772
|
+
end
|
|
773
|
+
|
|
628
774
|
# Update a job
|
|
629
775
|
# Update an existing job.
|
|
630
776
|
# @param project_id [String] Project ID
|
|
@@ -686,7 +832,7 @@ module Phrase
|
|
|
686
832
|
return_type = opts[:return_type] || 'JobDetails'
|
|
687
833
|
|
|
688
834
|
# auth_names
|
|
689
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
835
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
690
836
|
|
|
691
837
|
new_options = opts.merge(
|
|
692
838
|
:header_params => header_params,
|
|
@@ -767,7 +913,7 @@ module Phrase
|
|
|
767
913
|
return_type = opts[:return_type] || 'Array<Job>'
|
|
768
914
|
|
|
769
915
|
# auth_names
|
|
770
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
916
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
771
917
|
|
|
772
918
|
new_options = opts.merge(
|
|
773
919
|
:header_params => header_params,
|
|
@@ -851,7 +997,7 @@ module Phrase
|
|
|
851
997
|
return_type = opts[:return_type] || 'Array<Job>'
|
|
852
998
|
|
|
853
999
|
# auth_names
|
|
854
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
1000
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
855
1001
|
|
|
856
1002
|
new_options = opts.merge(
|
|
857
1003
|
:header_params => header_params,
|
data/lib/phrase/api/keys_api.rb
CHANGED
|
@@ -62,7 +62,7 @@ module Phrase
|
|
|
62
62
|
return_type = opts[:return_type] || 'TranslationKeyDetails'
|
|
63
63
|
|
|
64
64
|
# auth_names
|
|
65
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
65
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
66
66
|
|
|
67
67
|
new_options = opts.merge(
|
|
68
68
|
:header_params => header_params,
|
|
@@ -135,7 +135,7 @@ module Phrase
|
|
|
135
135
|
return_type = opts[:return_type]
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
138
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
139
139
|
|
|
140
140
|
new_options = opts.merge(
|
|
141
141
|
:header_params => header_params,
|
|
@@ -210,7 +210,7 @@ module Phrase
|
|
|
210
210
|
return_type = opts[:return_type] || 'TranslationKeyDetails'
|
|
211
211
|
|
|
212
212
|
# auth_names
|
|
213
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
213
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
214
214
|
|
|
215
215
|
new_options = opts.merge(
|
|
216
216
|
:header_params => header_params,
|
|
@@ -290,7 +290,7 @@ module Phrase
|
|
|
290
290
|
return_type = opts[:return_type] || 'TranslationKeyDetails'
|
|
291
291
|
|
|
292
292
|
# auth_names
|
|
293
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
293
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
294
294
|
|
|
295
295
|
new_options = opts.merge(
|
|
296
296
|
:header_params => header_params,
|
|
@@ -365,7 +365,7 @@ module Phrase
|
|
|
365
365
|
return_type = opts[:return_type] || 'AffectedResources'
|
|
366
366
|
|
|
367
367
|
# auth_names
|
|
368
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
368
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
369
369
|
|
|
370
370
|
new_options = opts.merge(
|
|
371
371
|
:header_params => header_params,
|
|
@@ -439,7 +439,7 @@ module Phrase
|
|
|
439
439
|
return_type = opts[:return_type] || 'AffectedResources'
|
|
440
440
|
|
|
441
441
|
# auth_names
|
|
442
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
442
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
443
443
|
|
|
444
444
|
new_options = opts.merge(
|
|
445
445
|
:header_params => header_params,
|
|
@@ -513,7 +513,7 @@ module Phrase
|
|
|
513
513
|
return_type = opts[:return_type] || 'AffectedResources'
|
|
514
514
|
|
|
515
515
|
# auth_names
|
|
516
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
516
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
517
517
|
|
|
518
518
|
new_options = opts.merge(
|
|
519
519
|
:header_params => header_params,
|
|
@@ -600,7 +600,7 @@ module Phrase
|
|
|
600
600
|
return_type = opts[:return_type] || 'Array<TranslationKey>'
|
|
601
601
|
|
|
602
602
|
# auth_names
|
|
603
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
603
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
604
604
|
|
|
605
605
|
new_options = opts.merge(
|
|
606
606
|
:header_params => header_params,
|
|
@@ -680,7 +680,7 @@ module Phrase
|
|
|
680
680
|
return_type = opts[:return_type] || 'Array<TranslationKey>'
|
|
681
681
|
|
|
682
682
|
# auth_names
|
|
683
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
683
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
684
684
|
|
|
685
685
|
new_options = opts.merge(
|
|
686
686
|
:header_params => header_params,
|
|
@@ -754,7 +754,7 @@ module Phrase
|
|
|
754
754
|
return_type = opts[:return_type] || 'AffectedResources'
|
|
755
755
|
|
|
756
756
|
# auth_names
|
|
757
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
757
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
758
758
|
|
|
759
759
|
new_options = opts.merge(
|
|
760
760
|
:header_params => header_params,
|
|
@@ -828,7 +828,7 @@ module Phrase
|
|
|
828
828
|
return_type = opts[:return_type] || 'AffectedResources'
|
|
829
829
|
|
|
830
830
|
# auth_names
|
|
831
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
831
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
832
832
|
|
|
833
833
|
new_options = opts.merge(
|
|
834
834
|
:header_params => header_params,
|
|
@@ -60,7 +60,7 @@ module Phrase
|
|
|
60
60
|
return_type = opts[:return_type] || 'Array<LocalePreview1>'
|
|
61
61
|
|
|
62
62
|
# auth_names
|
|
63
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
63
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
64
64
|
|
|
65
65
|
new_options = opts.merge(
|
|
66
66
|
:header_params => header_params,
|
|
@@ -134,7 +134,7 @@ module Phrase
|
|
|
134
134
|
return_type = opts[:return_type] || 'LocaleDetails'
|
|
135
135
|
|
|
136
136
|
# auth_names
|
|
137
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
137
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
138
138
|
|
|
139
139
|
new_options = opts.merge(
|
|
140
140
|
:header_params => header_params,
|
|
@@ -207,7 +207,7 @@ module Phrase
|
|
|
207
207
|
return_type = opts[:return_type]
|
|
208
208
|
|
|
209
209
|
# auth_names
|
|
210
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
210
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
211
211
|
|
|
212
212
|
new_options = opts.merge(
|
|
213
213
|
:header_params => header_params,
|
|
@@ -327,7 +327,7 @@ module Phrase
|
|
|
327
327
|
return_type = opts[:return_type] || 'File'
|
|
328
328
|
|
|
329
329
|
# auth_names
|
|
330
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
330
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
331
331
|
|
|
332
332
|
new_options = opts.merge(
|
|
333
333
|
:header_params => header_params,
|
|
@@ -402,7 +402,7 @@ module Phrase
|
|
|
402
402
|
return_type = opts[:return_type] || 'LocaleDetails'
|
|
403
403
|
|
|
404
404
|
# auth_names
|
|
405
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
405
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
406
406
|
|
|
407
407
|
new_options = opts.merge(
|
|
408
408
|
:header_params => header_params,
|
|
@@ -482,7 +482,7 @@ module Phrase
|
|
|
482
482
|
return_type = opts[:return_type] || 'LocaleDetails'
|
|
483
483
|
|
|
484
484
|
# auth_names
|
|
485
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
485
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
486
486
|
|
|
487
487
|
new_options = opts.merge(
|
|
488
488
|
:header_params => header_params,
|
|
@@ -560,7 +560,7 @@ module Phrase
|
|
|
560
560
|
return_type = opts[:return_type] || 'Array<Locale>'
|
|
561
561
|
|
|
562
562
|
# auth_names
|
|
563
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
563
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
564
564
|
|
|
565
565
|
new_options = opts.merge(
|
|
566
566
|
:header_params => header_params,
|
|
@@ -58,7 +58,7 @@ module Phrase
|
|
|
58
58
|
return_type = opts[:return_type]
|
|
59
59
|
|
|
60
60
|
# auth_names
|
|
61
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
61
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
62
62
|
|
|
63
63
|
new_options = opts.merge(
|
|
64
64
|
:header_params => header_params,
|
|
@@ -130,7 +130,7 @@ module Phrase
|
|
|
130
130
|
return_type = opts[:return_type] || 'Member'
|
|
131
131
|
|
|
132
132
|
# auth_names
|
|
133
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
133
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
134
134
|
|
|
135
135
|
new_options = opts.merge(
|
|
136
136
|
:header_params => header_params,
|
|
@@ -210,7 +210,7 @@ module Phrase
|
|
|
210
210
|
return_type = opts[:return_type] || 'Member'
|
|
211
211
|
|
|
212
212
|
# auth_names
|
|
213
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
213
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
214
214
|
|
|
215
215
|
new_options = opts.merge(
|
|
216
216
|
:header_params => header_params,
|
|
@@ -290,7 +290,7 @@ module Phrase
|
|
|
290
290
|
return_type = opts[:return_type] || 'MemberProjectDetail'
|
|
291
291
|
|
|
292
292
|
# auth_names
|
|
293
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
293
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
294
294
|
|
|
295
295
|
new_options = opts.merge(
|
|
296
296
|
:header_params => header_params,
|
|
@@ -362,7 +362,7 @@ module Phrase
|
|
|
362
362
|
return_type = opts[:return_type] || 'Array<Member>'
|
|
363
363
|
|
|
364
364
|
# auth_names
|
|
365
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
365
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
366
366
|
|
|
367
367
|
new_options = opts.merge(
|
|
368
368
|
:header_params => header_params,
|
|
@@ -54,7 +54,7 @@ module Phrase
|
|
|
54
54
|
return_type = opts[:return_type] || 'Array<Object>'
|
|
55
55
|
|
|
56
56
|
# auth_names
|
|
57
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
57
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
58
58
|
|
|
59
59
|
new_options = opts.merge(
|
|
60
60
|
:header_params => header_params,
|
|
@@ -114,7 +114,7 @@ module Phrase
|
|
|
114
114
|
return_type = opts[:return_type] || 'Array<Object>'
|
|
115
115
|
|
|
116
116
|
# auth_names
|
|
117
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
117
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
118
118
|
|
|
119
119
|
new_options = opts.merge(
|
|
120
120
|
:header_params => header_params,
|
|
@@ -180,7 +180,7 @@ module Phrase
|
|
|
180
180
|
return_type = opts[:return_type] || 'NotificationGroupDetail'
|
|
181
181
|
|
|
182
182
|
# auth_names
|
|
183
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
183
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
184
184
|
|
|
185
185
|
new_options = opts.merge(
|
|
186
186
|
:header_params => header_params,
|
|
@@ -54,7 +54,7 @@ module Phrase
|
|
|
54
54
|
return_type = opts[:return_type] || 'Array<Object>'
|
|
55
55
|
|
|
56
56
|
# auth_names
|
|
57
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
57
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
58
58
|
|
|
59
59
|
new_options = opts.merge(
|
|
60
60
|
:header_params => header_params,
|
|
@@ -114,7 +114,7 @@ module Phrase
|
|
|
114
114
|
return_type = opts[:return_type] || 'Array<Object>'
|
|
115
115
|
|
|
116
116
|
# auth_names
|
|
117
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
117
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
118
118
|
|
|
119
119
|
new_options = opts.merge(
|
|
120
120
|
:header_params => header_params,
|
|
@@ -180,7 +180,7 @@ module Phrase
|
|
|
180
180
|
return_type = opts[:return_type] || 'Notification'
|
|
181
181
|
|
|
182
182
|
# auth_names
|
|
183
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
183
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
184
184
|
|
|
185
185
|
new_options = opts.merge(
|
|
186
186
|
:header_params => header_params,
|
|
@@ -68,7 +68,7 @@ module Phrase
|
|
|
68
68
|
return_type = opts[:return_type] || 'TranslationOrder'
|
|
69
69
|
|
|
70
70
|
# auth_names
|
|
71
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
71
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
72
72
|
|
|
73
73
|
new_options = opts.merge(
|
|
74
74
|
:header_params => header_params,
|
|
@@ -142,7 +142,7 @@ module Phrase
|
|
|
142
142
|
return_type = opts[:return_type] || 'TranslationOrder'
|
|
143
143
|
|
|
144
144
|
# auth_names
|
|
145
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
145
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
146
146
|
|
|
147
147
|
new_options = opts.merge(
|
|
148
148
|
:header_params => header_params,
|
|
@@ -215,7 +215,7 @@ module Phrase
|
|
|
215
215
|
return_type = opts[:return_type]
|
|
216
216
|
|
|
217
217
|
# auth_names
|
|
218
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
218
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
219
219
|
|
|
220
220
|
new_options = opts.merge(
|
|
221
221
|
:header_params => header_params,
|
|
@@ -290,7 +290,7 @@ module Phrase
|
|
|
290
290
|
return_type = opts[:return_type] || 'TranslationOrder'
|
|
291
291
|
|
|
292
292
|
# auth_names
|
|
293
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
293
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
294
294
|
|
|
295
295
|
new_options = opts.merge(
|
|
296
296
|
:header_params => header_params,
|
|
@@ -365,7 +365,7 @@ module Phrase
|
|
|
365
365
|
return_type = opts[:return_type] || 'Array<TranslationOrder>'
|
|
366
366
|
|
|
367
367
|
# auth_names
|
|
368
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
368
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
369
369
|
|
|
370
370
|
new_options = opts.merge(
|
|
371
371
|
:header_params => header_params,
|
|
@@ -56,7 +56,7 @@ module Phrase
|
|
|
56
56
|
return_type = opts[:return_type] || 'ProjectDetails'
|
|
57
57
|
|
|
58
58
|
# auth_names
|
|
59
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
59
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
60
60
|
|
|
61
61
|
new_options = opts.merge(
|
|
62
62
|
:header_params => header_params,
|
|
@@ -120,7 +120,7 @@ module Phrase
|
|
|
120
120
|
return_type = opts[:return_type]
|
|
121
121
|
|
|
122
122
|
# auth_names
|
|
123
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
123
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
124
124
|
|
|
125
125
|
new_options = opts.merge(
|
|
126
126
|
:header_params => header_params,
|
|
@@ -186,7 +186,7 @@ module Phrase
|
|
|
186
186
|
return_type = opts[:return_type] || 'ProjectDetails'
|
|
187
187
|
|
|
188
188
|
# auth_names
|
|
189
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
189
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
190
190
|
|
|
191
191
|
new_options = opts.merge(
|
|
192
192
|
:header_params => header_params,
|
|
@@ -260,7 +260,7 @@ module Phrase
|
|
|
260
260
|
return_type = opts[:return_type] || 'ProjectDetails'
|
|
261
261
|
|
|
262
262
|
# auth_names
|
|
263
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
263
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
264
264
|
|
|
265
265
|
new_options = opts.merge(
|
|
266
266
|
:header_params => header_params,
|
|
@@ -335,7 +335,7 @@ module Phrase
|
|
|
335
335
|
return_type = opts[:return_type] || 'Array<Project>'
|
|
336
336
|
|
|
337
337
|
# auth_names
|
|
338
|
-
auth_names = opts[:auth_names] || ['Basic', 'Token'
|
|
338
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
|
339
339
|
|
|
340
340
|
new_options = opts.merge(
|
|
341
341
|
:header_params => header_params,
|