phrase 2.7.0 → 2.8.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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -21
  3. data/docs/BlacklistedKeyCreateParameters.md +1 -1
  4. data/docs/BlacklistedKeyUpdateParameters.md +1 -1
  5. data/docs/BlacklistedKeysApi.md +20 -20
  6. data/docs/DistributionCreateParameters.md +2 -0
  7. data/docs/DistributionUpdateParameters.md +2 -0
  8. data/docs/GlossariesApi.md +20 -20
  9. data/docs/GlossaryTermTranslationsApi.md +12 -12
  10. data/docs/GlossaryTermsApi.md +20 -20
  11. data/docs/JobComment.md +29 -0
  12. data/docs/JobCommentCreateParameters.md +17 -0
  13. data/docs/JobCommentUpdateParameters.md +17 -0
  14. data/docs/JobCommentsApi.md +343 -0
  15. data/docs/Locale.md +2 -0
  16. data/docs/LocaleCreateParameters.md +2 -0
  17. data/docs/LocaleDetails.md +2 -0
  18. data/docs/LocaleUpdateParameters.md +2 -0
  19. data/docs/ScreenshotsApi.md +12 -6
  20. data/docs/StyleguideCreateParameters.md +1 -1
  21. data/docs/StyleguideUpdateParameters.md +1 -1
  22. data/docs/VersionsHistoryApi.md +1 -1
  23. data/docs/WebhookDeliveriesApi.md +206 -0
  24. data/docs/WebhookDelivery.md +29 -0
  25. data/lib/phrase/api/blacklisted_keys_api.rb +20 -20
  26. data/lib/phrase/api/glossaries_api.rb +20 -20
  27. data/lib/phrase/api/glossary_term_translations_api.rb +12 -12
  28. data/lib/phrase/api/glossary_terms_api.rb +20 -20
  29. data/lib/phrase/api/job_comments_api.rb +411 -0
  30. data/lib/phrase/api/screenshots_api.rb +17 -11
  31. data/lib/phrase/api/versions_history_api.rb +2 -2
  32. data/lib/phrase/api/webhook_deliveries_api.rb +241 -0
  33. data/lib/phrase/models/blacklisted_key_create_parameters.rb +1 -1
  34. data/lib/phrase/models/blacklisted_key_update_parameters.rb +1 -1
  35. data/lib/phrase/models/distribution_create_parameters.rb +11 -1
  36. data/lib/phrase/models/distribution_update_parameters.rb +11 -1
  37. data/lib/phrase/models/job_comment.rb +250 -0
  38. data/lib/phrase/models/job_comment_create_parameters.rb +195 -0
  39. data/lib/phrase/models/job_comment_update_parameters.rb +195 -0
  40. data/lib/phrase/models/locale.rb +10 -1
  41. data/lib/phrase/models/locale_create_parameters.rb +11 -1
  42. data/lib/phrase/models/locale_details.rb +10 -1
  43. data/lib/phrase/models/locale_update_parameters.rb +11 -1
  44. data/lib/phrase/models/webhook_delivery.rb +248 -0
  45. data/lib/phrase/version.rb +1 -1
  46. data/lib/phrase.rb +6 -0
  47. data/spec/api/blacklisted_keys_api_spec.rb +10 -10
  48. data/spec/api/glossaries_api_spec.rb +10 -10
  49. data/spec/api/glossary_term_translations_api_spec.rb +6 -6
  50. data/spec/api/glossary_terms_api_spec.rb +10 -10
  51. data/spec/api/job_comments_api_spec.rb +101 -0
  52. data/spec/api/screenshots_api_spec.rb +4 -1
  53. data/spec/api/versions_history_api_spec.rb +1 -1
  54. data/spec/api/webhook_deliveries_api_spec.rb +68 -0
  55. data/spec/models/distribution_create_parameters_spec.rb +6 -0
  56. data/spec/models/distribution_update_parameters_spec.rb +6 -0
  57. data/spec/models/job_comment_create_parameters_spec.rb +29 -0
  58. data/spec/models/job_comment_spec.rb +65 -0
  59. data/spec/models/job_comment_update_parameters_spec.rb +29 -0
  60. data/spec/models/locale_create_parameters_spec.rb +6 -0
  61. data/spec/models/locale_details_spec.rb +6 -0
  62. data/spec/models/locale_spec.rb +6 -0
  63. data/spec/models/locale_update_parameters_spec.rb +6 -0
  64. data/spec/models/webhook_delivery_spec.rb +65 -0
  65. metadata +221 -197
@@ -50,6 +50,12 @@ describe 'DistributionCreateParameters' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "fallback_locales_enabled"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "fallback_to_non_regional_locale"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'DistributionUpdateParameters' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "fallback_locales_enabled"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "fallback_to_non_regional_locale"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobCommentCreateParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobCommentCreateParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobCommentCreateParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobCommentCreateParameters' do
19
+ it 'should create an instance of JobCommentCreateParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::JobCommentCreateParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "message"' 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
+ end
@@ -0,0 +1,65 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobComment
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobComment' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobComment.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobComment' do
19
+ it 'should create an instance of JobComment' do
20
+ expect(@instance).to be_instance_of(Phrase::JobComment)
21
+ end
22
+ end
23
+ describe 'test attribute "id"' 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 "message"' 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
+ describe 'test attribute "job_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "user"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "created_at"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "updated_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "mentioned_users"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobCommentUpdateParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobCommentUpdateParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobCommentUpdateParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobCommentUpdateParameters' do
19
+ it 'should create an instance of JobCommentUpdateParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::JobCommentUpdateParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "message"' 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
+ end
@@ -62,6 +62,12 @@ describe 'LocaleCreateParameters' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "fallback_locale_id"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "unverify_new_translations"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -68,6 +68,12 @@ describe 'LocaleDetails' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "fallback_locale"' 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
@@ -68,6 +68,12 @@ describe 'Locale' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "fallback_locale"' 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
@@ -62,6 +62,12 @@ describe 'LocaleUpdateParameters' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "fallback_locale_id"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "unverify_new_translations"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,65 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::WebhookDelivery
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'WebhookDelivery' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::WebhookDelivery.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of WebhookDelivery' do
19
+ it 'should create an instance of WebhookDelivery' do
20
+ expect(@instance).to be_instance_of(Phrase::WebhookDelivery)
21
+ end
22
+ end
23
+ describe 'test attribute "id"' 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 "webhook_id"' 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
+ describe 'test attribute "response_status_code"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "delivered_at"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "duration_ms"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "created_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "updated_at"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end