phrase 1.0.2 → 1.0.3

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 (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -3
  3. data/docs/Account.md +2 -0
  4. data/docs/AccountDetails.md +3 -3
  5. data/docs/AccountsApi.md +2 -2
  6. data/docs/AuthorizationsApi.md +2 -2
  7. data/docs/BlacklistedKeysApi.md +4 -2
  8. data/docs/BranchesApi.md +2 -2
  9. data/docs/CommentsApi.md +2 -2
  10. data/docs/DistributionsApi.md +2 -2
  11. data/docs/Document.md +23 -0
  12. data/docs/DocumentsApi.md +137 -0
  13. data/docs/GitHubSyncApi.md +130 -0
  14. data/docs/GitLabSyncApi.md +2 -2
  15. data/docs/GithubSyncExportParameters.md +17 -0
  16. data/docs/GithubSyncImportParameters.md +17 -0
  17. data/docs/GlossariesApi.md +2 -2
  18. data/docs/GlossaryTermsApi.md +2 -2
  19. data/docs/InlineResponse422.md +19 -0
  20. data/docs/InlineResponse422Errors.md +21 -0
  21. data/docs/InvitationsApi.md +2 -2
  22. data/docs/JobLocalesApi.md +2 -2
  23. data/docs/JobsApi.md +2 -2
  24. data/docs/KeysApi.md +4 -4
  25. data/docs/LocalesApi.md +2 -2
  26. data/docs/MembersApi.md +2 -2
  27. data/docs/OrdersApi.md +2 -2
  28. data/docs/Project.md +2 -0
  29. data/docs/ProjectDetails.md +2 -2
  30. data/docs/ProjectsApi.md +2 -2
  31. data/docs/ReleasesApi.md +2 -2
  32. data/docs/ScreenshotMarkersApi.md +2 -2
  33. data/docs/ScreenshotsApi.md +2 -2
  34. data/docs/SpacesApi.md +4 -4
  35. data/docs/StyleGuidesApi.md +2 -2
  36. data/docs/TagsApi.md +2 -2
  37. data/docs/TeamsApi.md +2 -2
  38. data/docs/TranslationsApi.md +8 -8
  39. data/docs/UploadsApi.md +2 -2
  40. data/docs/VersionsHistoryApi.md +2 -2
  41. data/docs/WebhooksApi.md +2 -2
  42. data/lib/phrase.rb +7 -0
  43. data/lib/phrase/api/accounts_api.rb +2 -2
  44. data/lib/phrase/api/authorizations_api.rb +2 -2
  45. data/lib/phrase/api/blacklisted_keys_api.rb +5 -2
  46. data/lib/phrase/api/branches_api.rb +2 -2
  47. data/lib/phrase/api/comments_api.rb +2 -2
  48. data/lib/phrase/api/distributions_api.rb +2 -2
  49. data/lib/phrase/api/documents_api.rb +152 -0
  50. data/lib/phrase/api/git_hub_sync_api.rb +146 -0
  51. data/lib/phrase/api/git_lab_sync_api.rb +2 -2
  52. data/lib/phrase/api/glossaries_api.rb +2 -2
  53. data/lib/phrase/api/glossary_terms_api.rb +2 -2
  54. data/lib/phrase/api/invitations_api.rb +2 -2
  55. data/lib/phrase/api/job_locales_api.rb +2 -2
  56. data/lib/phrase/api/jobs_api.rb +2 -2
  57. data/lib/phrase/api/keys_api.rb +4 -4
  58. data/lib/phrase/api/locales_api.rb +2 -2
  59. data/lib/phrase/api/members_api.rb +2 -2
  60. data/lib/phrase/api/orders_api.rb +2 -2
  61. data/lib/phrase/api/projects_api.rb +2 -2
  62. data/lib/phrase/api/releases_api.rb +2 -2
  63. data/lib/phrase/api/screenshot_markers_api.rb +2 -2
  64. data/lib/phrase/api/screenshots_api.rb +2 -2
  65. data/lib/phrase/api/spaces_api.rb +4 -4
  66. data/lib/phrase/api/style_guides_api.rb +2 -2
  67. data/lib/phrase/api/tags_api.rb +2 -2
  68. data/lib/phrase/api/teams_api.rb +2 -2
  69. data/lib/phrase/api/translations_api.rb +8 -8
  70. data/lib/phrase/api/uploads_api.rb +2 -2
  71. data/lib/phrase/api/versions_history_api.rb +2 -2
  72. data/lib/phrase/api/webhooks_api.rb +2 -2
  73. data/lib/phrase/models/account.rb +10 -1
  74. data/lib/phrase/models/account_details.rb +13 -13
  75. data/lib/phrase/models/document.rb +221 -0
  76. data/lib/phrase/models/github_sync_export_parameters.rb +195 -0
  77. data/lib/phrase/models/github_sync_import_parameters.rb +195 -0
  78. data/lib/phrase/models/inline_response422.rb +205 -0
  79. data/lib/phrase/models/inline_response422_errors.rb +212 -0
  80. data/lib/phrase/models/project.rb +10 -1
  81. data/lib/phrase/models/project_details.rb +10 -10
  82. data/lib/phrase/version.rb +1 -1
  83. data/spec/api/accounts_api_spec.rb +1 -1
  84. data/spec/api/authorizations_api_spec.rb +1 -1
  85. data/spec/api/blacklisted_keys_api_spec.rb +2 -1
  86. data/spec/api/branches_api_spec.rb +1 -1
  87. data/spec/api/comments_api_spec.rb +1 -1
  88. data/spec/api/distributions_api_spec.rb +1 -1
  89. data/spec/api/documents_api_spec.rb +52 -0
  90. data/spec/api/git_hub_sync_api_spec.rb +49 -0
  91. data/spec/api/git_lab_sync_api_spec.rb +1 -1
  92. data/spec/api/glossaries_api_spec.rb +1 -1
  93. data/spec/api/glossary_terms_api_spec.rb +1 -1
  94. data/spec/api/invitations_api_spec.rb +1 -1
  95. data/spec/api/job_locales_api_spec.rb +1 -1
  96. data/spec/api/jobs_api_spec.rb +1 -1
  97. data/spec/api/keys_api_spec.rb +2 -2
  98. data/spec/api/locales_api_spec.rb +1 -1
  99. data/spec/api/members_api_spec.rb +1 -1
  100. data/spec/api/orders_api_spec.rb +1 -1
  101. data/spec/api/projects_api_spec.rb +1 -1
  102. data/spec/api/releases_api_spec.rb +1 -1
  103. data/spec/api/screenshot_markers_api_spec.rb +1 -1
  104. data/spec/api/screenshots_api_spec.rb +1 -1
  105. data/spec/api/spaces_api_spec.rb +2 -2
  106. data/spec/api/style_guides_api_spec.rb +1 -1
  107. data/spec/api/tags_api_spec.rb +1 -1
  108. data/spec/api/teams_api_spec.rb +1 -1
  109. data/spec/api/translations_api_spec.rb +4 -4
  110. data/spec/api/uploads_api_spec.rb +1 -1
  111. data/spec/api/versions_history_api_spec.rb +1 -1
  112. data/spec/api/webhooks_api_spec.rb +1 -1
  113. data/spec/models/account_details_spec.rb +4 -4
  114. data/spec/models/account_spec.rb +6 -0
  115. data/spec/models/document_spec.rb +47 -0
  116. data/spec/models/github_sync_export_parameters_spec.rb +29 -0
  117. data/spec/models/github_sync_import_parameters_spec.rb +29 -0
  118. data/spec/models/inline_response422_errors_spec.rb +41 -0
  119. data/spec/models/inline_response422_spec.rb +35 -0
  120. data/spec/models/project_details_spec.rb +6 -6
  121. data/spec/models/project_spec.rb +6 -0
  122. metadata +181 -153
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for Phrase::GitHubSyncApi
5
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
6
+ # Please update as you see appropriate
7
+ describe 'GitHubSyncApi' do
8
+ before do
9
+ # run before each test
10
+ @api_instance = Phrase::GitHubSyncApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of GitHubSyncApi' do
18
+ it 'should create an instance of GitHubSyncApi' do
19
+ expect(@api_instance).to be_instance_of(Phrase::GitHubSyncApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for github_sync_export
24
+ # Export from Phrase to GitHub
25
+ # Export translations from Phrase to GitHub according to the .phraseapp.yml file within the GitHub repository.
26
+ # @param github_sync_export_parameters
27
+ # @param [Hash] opts the optional parameters
28
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
+ # @return [nil]
30
+ describe 'github_sync_export test' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
33
+ end
34
+ end
35
+
36
+ # unit tests for github_sync_import
37
+ # Import to Phrase from GitHub
38
+ # Import files to Phrase from your connected GitHub repository.
39
+ # @param github_sync_import_parameters
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
42
+ # @return [nil]
43
+ describe 'github_sync_import test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -55,7 +55,7 @@ describe 'GitLabSyncApi' do
55
55
  # @param [Hash] opts the optional parameters
56
56
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
57
57
  # @option opts [Integer] :page Page number
58
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
58
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
59
59
  # @option opts [String] :account_id Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts.
60
60
  # @return [Array<GitlabSyncHistory>]
61
61
  describe 'gitlab_sync_history test' do
@@ -27,7 +27,7 @@ describe 'GlossariesApi' do
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
29
  # @option opts [Integer] :page Page number
30
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
30
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
31
31
  # @return [Array<Glossary>]
32
32
  describe 'glossaries_list test' do
33
33
  it 'should work' do
@@ -89,7 +89,7 @@ describe 'GlossaryTermsApi' do
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
91
91
  # @option opts [Integer] :page Page number
92
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
92
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
93
93
  # @return [Array<GlossaryTerm>]
94
94
  describe 'glossary_terms_list test' do
95
95
  it 'should work' do
@@ -98,7 +98,7 @@ describe 'InvitationsApi' do
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
100
100
  # @option opts [Integer] :page Page number
101
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
101
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
102
102
  # @return [Array<Invitation>]
103
103
  describe 'invitations_list test' do
104
104
  it 'should work' do
@@ -123,7 +123,7 @@ describe 'JobLocalesApi' do
123
123
  # @param [Hash] opts the optional parameters
124
124
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
125
125
  # @option opts [Integer] :page Page number
126
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
126
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
127
127
  # @option opts [String] :branch specify the branch to use
128
128
  # @return [Array<JobLocale>]
129
129
  describe 'job_locales_list test' do
@@ -162,7 +162,7 @@ describe 'JobsApi' do
162
162
  # @param [Hash] opts the optional parameters
163
163
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
164
164
  # @option opts [Integer] :page Page number
165
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
165
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
166
166
  # @option opts [String] :branch specify the branch to use
167
167
  # @option opts [String] :owned_by filter by user owning job
168
168
  # @option opts [String] :assigned_to filter by user assigned to job
@@ -102,7 +102,7 @@ describe 'KeysApi' do
102
102
  # @param [Hash] opts the optional parameters
103
103
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
104
104
  # @option opts [Integer] :page Page number
105
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
105
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
106
106
  # @option opts [String] :branch specify the branch to use
107
107
  # @option opts [String] :sort Sort by field. Can be one of: name, created_at, updated_at.
108
108
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -123,7 +123,7 @@ describe 'KeysApi' do
123
123
  # @param [Hash] opts the optional parameters
124
124
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
125
125
  # @option opts [Integer] :page Page number
126
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
126
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
127
127
  # @return [Array<TranslationKey>]
128
128
  describe 'keys_search test' do
129
129
  it 'should work' do
@@ -114,7 +114,7 @@ describe 'LocalesApi' do
114
114
  # @param [Hash] opts the optional parameters
115
115
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
116
116
  # @option opts [Integer] :page Page number
117
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
117
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
118
118
  # @option opts [String] :branch specify the branch to use
119
119
  # @return [Array<Locale>]
120
120
  describe 'locales_list test' do
@@ -70,7 +70,7 @@ describe 'MembersApi' do
70
70
  # @param [Hash] opts the optional parameters
71
71
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
72
72
  # @option opts [Integer] :page Page number
73
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
73
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
74
74
  # @return [Array<Member>]
75
75
  describe 'members_list test' do
76
76
  it 'should work' do
@@ -86,7 +86,7 @@ describe 'OrdersApi' do
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
88
88
  # @option opts [Integer] :page Page number
89
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
89
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
90
90
  # @option opts [String] :branch specify the branch to use
91
91
  # @return [Array<TranslationOrder>]
92
92
  describe 'orders_list test' do
@@ -79,7 +79,7 @@ describe 'ProjectsApi' do
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
81
81
  # @option opts [Integer] :page Page number
82
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
82
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
83
83
  # @return [Array<Project>]
84
84
  describe 'projects_list test' do
85
85
  it 'should work' do
@@ -104,7 +104,7 @@ describe 'ReleasesApi' do
104
104
  # @param [Hash] opts the optional parameters
105
105
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
106
106
  # @option opts [Integer] :page Page number
107
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
107
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
108
108
  # @return [Array<ReleasePreview>]
109
109
  describe 'releases_list test' do
110
110
  it 'should work' do
@@ -87,7 +87,7 @@ describe 'ScreenshotMarkersApi' do
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
89
89
  # @option opts [Integer] :page Page number
90
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
90
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
91
91
  # @return [Array<ScreenshotMarker>]
92
92
  describe 'screenshot_markers_list test' do
93
93
  it 'should work' do
@@ -84,7 +84,7 @@ describe 'ScreenshotsApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Screenshot>]
89
89
  describe 'screenshots_list test' do
90
90
  it 'should work' do
@@ -84,7 +84,7 @@ describe 'SpacesApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Space>]
89
89
  describe 'spaces_list test' do
90
90
  it 'should work' do
@@ -130,7 +130,7 @@ describe 'SpacesApi' do
130
130
  # @param [Hash] opts the optional parameters
131
131
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
132
132
  # @option opts [Integer] :page Page number
133
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
133
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
134
134
  # @return [Array<Project>]
135
135
  describe 'spaces_projects_list test' do
136
136
  it 'should work' do
@@ -84,7 +84,7 @@ describe 'StyleGuidesApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Styleguide>]
89
89
  describe 'styleguides_list test' do
90
90
  it 'should work' do
@@ -71,7 +71,7 @@ describe 'TagsApi' do
71
71
  # @param [Hash] opts the optional parameters
72
72
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
73
73
  # @option opts [Integer] :page Page number
74
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
74
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
75
75
  # @option opts [String] :branch specify the branch to use
76
76
  # @return [Array<Tag>]
77
77
  describe 'tags_list test' do
@@ -84,7 +84,7 @@ describe 'TeamsApi' do
84
84
  # @param [Hash] opts the optional parameters
85
85
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
86
86
  # @option opts [Integer] :page Page number
87
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
87
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
88
88
  # @return [Array<Team>]
89
89
  describe 'teams_list test' do
90
90
  it 'should work' do
@@ -147,7 +147,7 @@ describe 'TranslationsApi' do
147
147
  # @param [Hash] opts the optional parameters
148
148
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
149
149
  # @option opts [Integer] :page Page number
150
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
150
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
151
151
  # @option opts [String] :branch specify the branch to use
152
152
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
153
153
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -167,7 +167,7 @@ describe 'TranslationsApi' do
167
167
  # @param [Hash] opts the optional parameters
168
168
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
169
169
  # @option opts [Integer] :page Page number
170
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
170
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
171
171
  # @option opts [String] :branch specify the branch to use
172
172
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
173
173
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -214,7 +214,7 @@ describe 'TranslationsApi' do
214
214
  # @param [Hash] opts the optional parameters
215
215
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
216
216
  # @option opts [Integer] :page Page number
217
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
217
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
218
218
  # @option opts [String] :branch specify the branch to use
219
219
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
220
220
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
@@ -248,7 +248,7 @@ describe 'TranslationsApi' do
248
248
  # @param [Hash] opts the optional parameters
249
249
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
250
250
  # @option opts [Integer] :page Page number
251
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
251
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
252
252
  # @return [Array<Translation>]
253
253
  describe 'translations_search test' do
254
254
  it 'should work' do
@@ -70,7 +70,7 @@ describe 'UploadsApi' do
70
70
  # @param [Hash] opts the optional parameters
71
71
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
72
72
  # @option opts [Integer] :page Page number
73
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
73
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
74
74
  # @option opts [String] :branch specify the branch to use
75
75
  # @return [Array<Upload>]
76
76
  describe 'uploads_list test' do
@@ -44,7 +44,7 @@ describe 'VersionsHistoryApi' do
44
44
  # @param [Hash] opts the optional parameters
45
45
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
46
46
  # @option opts [Integer] :page Page number
47
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
47
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
48
48
  # @option opts [String] :branch specify the branch to use
49
49
  # @return [Array<TranslationVersion>]
50
50
  describe 'versions_list test' do
@@ -98,7 +98,7 @@ describe 'WebhooksApi' do
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
100
100
  # @option opts [Integer] :page Page number
101
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
101
+ # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
102
102
  # @return [Array<Webhook>]
103
103
  describe 'webhooks_list test' do
104
104
  it 'should work' do
@@ -32,25 +32,25 @@ describe 'AccountDetails' do
32
32
  end
33
33
  end
34
34
 
35
- describe 'test attribute "company"' do
35
+ describe 'test attribute "slug"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "created_at"' do
41
+ describe 'test attribute "company"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "updated_at"' do
47
+ describe 'test attribute "created_at"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "slug"' do
53
+ describe 'test attribute "updated_at"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,6 +32,12 @@ describe 'Account' do
32
32
  end
33
33
  end
34
34
 
35
+ describe 'test attribute "slug"' 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
+
35
41
  describe 'test attribute "company"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::Document
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'Document' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::Document.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Document' do
19
+ it 'should create an instance of Document' do
20
+ expect(@instance).to be_instance_of(Phrase::Document)
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 "name"' 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 "created_at"' 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 "updated_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
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::GithubSyncExportParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'GithubSyncExportParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::GithubSyncExportParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of GithubSyncExportParameters' do
19
+ it 'should create an instance of GithubSyncExportParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::GithubSyncExportParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "project_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
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::GithubSyncImportParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'GithubSyncImportParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::GithubSyncImportParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of GithubSyncImportParameters' do
19
+ it 'should create an instance of GithubSyncImportParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::GithubSyncImportParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "project_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
+ end