phrase 4.22.0 → 4.24.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 (209) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/README.md +8 -6
  4. data/docs/AccountDetails.md +1 -1
  5. data/docs/AuthorizationsApi.md +1 -1
  6. data/docs/Automation.md +6 -0
  7. data/docs/AutomationsApi.md +1 -1
  8. data/docs/AutomationsCreateParameters.md +5 -1
  9. data/docs/AutomationsCreateParameters1.md +5 -1
  10. data/docs/BlacklistedKeysApi.md +1 -1
  11. data/docs/Branch.md +2 -0
  12. data/docs/BranchCreateParameters.md +3 -1
  13. data/docs/BranchMergeParameters.md +1 -1
  14. data/docs/BranchSyncParameters.md +1 -1
  15. data/docs/BranchesApi.md +10 -10
  16. data/docs/CommentsApi.md +7 -7
  17. data/docs/Distribution.md +4 -4
  18. data/docs/{DistributionPreview.md → DistributionDetails.md} +9 -3
  19. data/docs/DistributionsApi.md +9 -9
  20. data/docs/DocumentDelete422Response.md +19 -0
  21. data/docs/{CustomMetadataPropertyCreate422ResponseErrorsInner.md → DocumentDelete422ResponseErrorsInner.md} +2 -2
  22. data/docs/DocumentsApi.md +4 -2
  23. data/docs/FigmaAttachmentsApi.md +1 -1
  24. data/docs/GlossariesApi.md +1 -1
  25. data/docs/Glossary.md +2 -0
  26. data/docs/GlossaryTerm.md +2 -0
  27. data/docs/GlossaryTermGlossary.md +19 -0
  28. data/docs/GlossaryTermTranslationsApi.md +1 -1
  29. data/docs/GlossaryTermsApi.md +1 -1
  30. data/docs/IcuSkeletonParameters.md +3 -1
  31. data/docs/Invitation.md +2 -2
  32. data/docs/InvitationsApi.md +1 -1
  33. data/docs/Job.md +5 -1
  34. data/docs/JobDetails.md +8 -2
  35. data/docs/JobTemplate.md +2 -0
  36. data/docs/JobTemplateDetails.md +2 -0
  37. data/docs/JobTemplatesApi.md +1 -1
  38. data/docs/JobsApi.md +15 -9
  39. data/docs/KeyCreateParameters.md +6 -2
  40. data/docs/KeyUpdateParameters.md +6 -2
  41. data/docs/KeysApi.md +1 -1
  42. data/docs/LocaleDownloadCreateParameters.md +4 -2
  43. data/docs/LocalesApi.md +12 -6
  44. data/docs/MembersApi.md +1 -1
  45. data/docs/NotificationsApi.md +3 -1
  46. data/docs/OrdersApi.md +4 -2
  47. data/docs/OrganizationJobTemplate.md +4 -0
  48. data/docs/OrganizationJobTemplateDetails.md +4 -0
  49. data/docs/OrganizationJobTemplatesApi.md +1 -1
  50. data/docs/ProjectCreateParameters.md +17 -1
  51. data/docs/ProjectDetails.md +7 -1
  52. data/docs/ProjectUpdateParameters.md +17 -3
  53. data/docs/ProjectsApi.md +10 -8
  54. data/docs/Release.md +2 -0
  55. data/docs/ReleasesApi.md +1 -1
  56. data/docs/RepoSync.md +2 -0
  57. data/docs/ScreenshotMarker.md +2 -2
  58. data/docs/ScreenshotMarkerPresentation.md +23 -0
  59. data/docs/ScreenshotMarkersApi.md +1 -1
  60. data/docs/ScreenshotUpdateParameters.md +1 -1
  61. data/docs/ScreenshotsApi.md +1 -1
  62. data/docs/SearchInAccountParameters.md +3 -1
  63. data/docs/StyleGuidesApi.md +1 -1
  64. data/docs/StyleguideCreateParameters.md +3 -3
  65. data/docs/StyleguideUpdateParameters.md +3 -3
  66. data/docs/Tag.md +2 -0
  67. data/docs/TagWithStats.md +2 -0
  68. data/docs/TagsApi.md +5 -3
  69. data/docs/TranslationCreateParameters.md +5 -1
  70. data/docs/TranslationOrder.md +2 -2
  71. data/docs/TranslationUpdateParameters.md +3 -1
  72. data/docs/TranslationsApi.md +4 -0
  73. data/docs/UploadBatch.md +4 -2
  74. data/docs/UploadSummary.md +1 -1
  75. data/docs/UploadsApi.md +3 -1
  76. data/docs/VariablesApi.md +1 -1
  77. data/docs/WebhooksApi.md +7 -6
  78. data/lib/phrase/api/authorizations_api.rb +2 -0
  79. data/lib/phrase/api/automations_api.rb +2 -0
  80. data/lib/phrase/api/blacklisted_keys_api.rb +2 -0
  81. data/lib/phrase/api/branches_api.rb +20 -14
  82. data/lib/phrase/api/comments_api.rb +18 -4
  83. data/lib/phrase/api/distributions_api.rb +14 -12
  84. data/lib/phrase/api/documents_api.rb +5 -0
  85. data/lib/phrase/api/figma_attachments_api.rb +2 -0
  86. data/lib/phrase/api/glossaries_api.rb +2 -0
  87. data/lib/phrase/api/glossary_term_translations_api.rb +2 -0
  88. data/lib/phrase/api/glossary_terms_api.rb +2 -0
  89. data/lib/phrase/api/invitations_api.rb +2 -0
  90. data/lib/phrase/api/job_templates_api.rb +2 -0
  91. data/lib/phrase/api/jobs_api.rb +18 -6
  92. data/lib/phrase/api/keys_api.rb +2 -0
  93. data/lib/phrase/api/locales_api.rb +15 -4
  94. data/lib/phrase/api/members_api.rb +2 -0
  95. data/lib/phrase/api/notifications_api.rb +3 -0
  96. data/lib/phrase/api/orders_api.rb +5 -0
  97. data/lib/phrase/api/organization_job_templates_api.rb +2 -0
  98. data/lib/phrase/api/projects_api.rb +23 -10
  99. data/lib/phrase/api/releases_api.rb +2 -0
  100. data/lib/phrase/api/screenshot_markers_api.rb +2 -0
  101. data/lib/phrase/api/screenshots_api.rb +2 -0
  102. data/lib/phrase/api/style_guides_api.rb +2 -0
  103. data/lib/phrase/api/tags_api.rb +7 -2
  104. data/lib/phrase/api/translations_api.rb +6 -0
  105. data/lib/phrase/api/uploads_api.rb +3 -0
  106. data/lib/phrase/api/variables_api.rb +2 -0
  107. data/lib/phrase/api/webhooks_api.rb +9 -5
  108. data/lib/phrase/models/account_details.rb +1 -0
  109. data/lib/phrase/models/authorization_create_parameters.rb +22 -0
  110. data/lib/phrase/models/authorization_update_parameters.rb +22 -0
  111. data/lib/phrase/models/automation.rb +34 -1
  112. data/lib/phrase/models/automations_create_parameters.rb +24 -4
  113. data/lib/phrase/models/automations_create_parameters1.rb +24 -4
  114. data/lib/phrase/models/branch.rb +46 -1
  115. data/lib/phrase/models/branch_create_parameters.rb +14 -4
  116. data/lib/phrase/models/branch_merge_parameters.rb +35 -1
  117. data/lib/phrase/models/branch_sync_parameters.rb +35 -1
  118. data/lib/phrase/models/distribution.rb +17 -20
  119. data/lib/phrase/models/{distribution_preview.rb → distribution_details.rb} +46 -7
  120. data/lib/phrase/models/{custom_metadata_property_create422_response.rb → document_delete422_response.rb} +4 -4
  121. data/lib/phrase/models/{custom_metadata_property_create422_response_errors_inner.rb → document_delete422_response_errors_inner.rb} +3 -3
  122. data/lib/phrase/models/glossary.rb +12 -1
  123. data/lib/phrase/models/glossary_term.rb +10 -1
  124. data/lib/phrase/models/glossary_term_glossary.rb +206 -0
  125. data/lib/phrase/models/icu_skeleton_parameters.rb +12 -2
  126. data/lib/phrase/models/invitation.rb +9 -8
  127. data/lib/phrase/models/job.rb +26 -4
  128. data/lib/phrase/models/job_details.rb +37 -4
  129. data/lib/phrase/models/job_template.rb +11 -1
  130. data/lib/phrase/models/job_template_details.rb +11 -1
  131. data/lib/phrase/models/key_create_parameters.rb +26 -4
  132. data/lib/phrase/models/key_update_parameters.rb +26 -4
  133. data/lib/phrase/models/locale_download_create_parameters.rb +13 -3
  134. data/lib/phrase/models/organization_job_template.rb +22 -1
  135. data/lib/phrase/models/organization_job_template_details.rb +22 -1
  136. data/lib/phrase/models/project_create_parameters.rb +115 -1
  137. data/lib/phrase/models/project_details.rb +31 -4
  138. data/lib/phrase/models/project_update_parameters.rb +75 -5
  139. data/lib/phrase/models/release.rb +10 -1
  140. data/lib/phrase/models/repo_sync.rb +12 -1
  141. data/lib/phrase/models/screenshot_marker.rb +2 -1
  142. data/lib/phrase/models/screenshot_marker_presentation.rb +224 -0
  143. data/lib/phrase/models/search_in_account_parameters.rb +16 -4
  144. data/lib/phrase/models/styleguide_create_parameters.rb +61 -3
  145. data/lib/phrase/models/styleguide_update_parameters.rb +61 -3
  146. data/lib/phrase/models/tag.rb +11 -1
  147. data/lib/phrase/models/tag_with_stats.rb +11 -1
  148. data/lib/phrase/models/translation_create_parameters.rb +24 -4
  149. data/lib/phrase/models/translation_order.rb +8 -7
  150. data/lib/phrase/models/translation_update_parameters.rb +14 -4
  151. data/lib/phrase/models/upload_batch.rb +24 -14
  152. data/lib/phrase/models/upload_summary.rb +1 -1
  153. data/lib/phrase/version.rb +1 -1
  154. data/lib/phrase.rb +5 -3
  155. data/spec/api/branches_api_spec.rb +7 -7
  156. data/spec/api/comments_api_spec.rb +2 -2
  157. data/spec/api/distributions_api_spec.rb +4 -4
  158. data/spec/api/documents_api_spec.rb +1 -0
  159. data/spec/api/jobs_api_spec.rb +4 -2
  160. data/spec/api/notifications_api_spec.rb +1 -0
  161. data/spec/api/orders_api_spec.rb +1 -0
  162. data/spec/api/projects_api_spec.rb +6 -5
  163. data/spec/api/tags_api_spec.rb +2 -1
  164. data/spec/api/translations_api_spec.rb +2 -0
  165. data/spec/api/webhooks_api_spec.rb +2 -2
  166. data/spec/models/authorization_create_parameters_spec.rb +4 -0
  167. data/spec/models/authorization_update_parameters_spec.rb +4 -0
  168. data/spec/models/automation_spec.rb +18 -0
  169. data/spec/models/automations_create_parameters1_spec.rb +12 -0
  170. data/spec/models/automations_create_parameters_spec.rb +12 -0
  171. data/spec/models/branch_create_parameters_spec.rb +6 -0
  172. data/spec/models/branch_merge_parameters_spec.rb +4 -0
  173. data/spec/models/branch_spec.rb +10 -0
  174. data/spec/models/branch_sync_parameters_spec.rb +4 -0
  175. data/spec/models/{distribution_preview_spec.rb → distribution_details_spec.rb} +24 -6
  176. data/spec/models/distribution_spec.rb +3 -3
  177. data/spec/models/{custom_metadata_property_create422_response_errors_inner_spec.rb → document_delete422_response_errors_inner_spec.rb} +6 -6
  178. data/spec/models/{custom_metadata_property_create422_response_spec.rb → document_delete422_response_spec.rb} +6 -6
  179. data/spec/models/glossary_spec.rb +6 -0
  180. data/spec/models/glossary_term_glossary_spec.rb +35 -0
  181. data/spec/models/glossary_term_spec.rb +6 -0
  182. data/spec/models/icu_skeleton_parameters_spec.rb +6 -0
  183. data/spec/models/invitation_spec.rb +1 -1
  184. data/spec/models/job_details_spec.rb +18 -0
  185. data/spec/models/job_spec.rb +12 -0
  186. data/spec/models/job_template_details_spec.rb +6 -0
  187. data/spec/models/job_template_spec.rb +6 -0
  188. data/spec/models/key_create_parameters_spec.rb +12 -0
  189. data/spec/models/key_update_parameters_spec.rb +12 -0
  190. data/spec/models/locale_download_create_parameters_spec.rb +6 -0
  191. data/spec/models/organization_job_template_details_spec.rb +12 -0
  192. data/spec/models/organization_job_template_spec.rb +12 -0
  193. data/spec/models/project_create_parameters_spec.rb +52 -0
  194. data/spec/models/project_details_spec.rb +18 -0
  195. data/spec/models/project_update_parameters_spec.rb +42 -0
  196. data/spec/models/release_spec.rb +6 -0
  197. data/spec/models/repo_sync_spec.rb +6 -0
  198. data/spec/models/screenshot_marker_presentation_spec.rb +47 -0
  199. data/spec/models/search_in_account_parameters_spec.rb +6 -0
  200. data/spec/models/styleguide_create_parameters_spec.rb +12 -0
  201. data/spec/models/styleguide_update_parameters_spec.rb +12 -0
  202. data/spec/models/tag_spec.rb +6 -0
  203. data/spec/models/tag_with_stats_spec.rb +6 -0
  204. data/spec/models/translation_create_parameters_spec.rb +12 -0
  205. data/spec/models/translation_order_spec.rb +1 -1
  206. data/spec/models/translation_update_parameters_spec.rb +6 -0
  207. data/spec/models/upload_batch_spec.rb +8 -2
  208. metadata +262 -254
  209. data/docs/CustomMetadataPropertyCreate422Response.md +0 -19
@@ -102,7 +102,7 @@ describe 'JobsApi' 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 [String] :branch specify the branch to use
105
- # @return [nil]
105
+ # @return [JobDetails]
106
106
  describe 'job_lock test' do
107
107
  it 'should work' do
108
108
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -164,7 +164,7 @@ describe 'JobsApi' do
164
164
  # @param [Hash] opts the optional parameters
165
165
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
166
166
  # @option opts [String] :branch specify the branch to use
167
- # @return [nil]
167
+ # @return [JobDetails]
168
168
  describe 'job_unlock test' do
169
169
  it 'should work' do
170
170
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -217,6 +217,8 @@ describe 'JobsApi' do
217
217
  # @option opts [String] :owned_by filter by user owning job
218
218
  # @option opts [String] :assigned_to filter by user assigned to job
219
219
  # @option opts [String] :state filter by state of job; valid states are: `draft`, `in_progress`, `completed`
220
+ # @option opts [Array<String>] :states Filter by multiple job states at once. Accepted values are the same as &#x60;state&#x60;. When supplied, &#x60;state&#x60; is ignored. Rejected with &#x60;400 Bad Request&#x60; if any value is unknown.
221
+ # @option opts [String] :key_id Filter to jobs that include the translation key identified by this code (matches via the job&#39;s tags).
220
222
  # @option opts [String] :updated_since filter by jobs updated since given date
221
223
  # @return [Array<Job>]
222
224
  describe 'jobs_list test' do
@@ -28,6 +28,7 @@ describe 'NotificationsApi' do
28
28
  # @option opts [Integer] :page Page number
29
29
  # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
30
30
  # @option opts [Boolean] :unseen Include only unseen notifications
31
+ # @option opts [Integer] :last_days Restrict the results to notifications created within the last N days. Coerced to integer; non-numeric values resolve to 0 (returning nothing).
31
32
  # @return [Array<Notification>]
32
33
  describe 'notifications_list test' do
33
34
  it 'should work' do
@@ -88,6 +88,7 @@ describe 'OrdersApi' do
88
88
  # @option opts [Integer] :page Page number
89
89
  # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
90
90
  # @option opts [String] :branch specify the branch to use
91
+ # @option opts [String] :translation_id Filter the result to orders that include the given translation. When supplied with a translation code that does not exist, an empty list is returned.
91
92
  # @return [Array<TranslationOrder>]
92
93
  describe 'orders_list test' do
93
94
  it 'should work' do
@@ -22,7 +22,7 @@ describe 'ProjectsApi' do
22
22
 
23
23
  # unit tests for project_create
24
24
  # Create a project
25
- # Create a new project.
25
+ # Create a new project in the given account. When &#x60;source_project_id&#x60; is supplied, the new project is created as a clone of that project. All locales, keys, and translations are copied asynchronously after the response is returned, so they may not be available immediately. Settings from the source project are inherited unless explicitly overridden in the request; in clone mode, the &#x60;shares_translation_memory&#x60; field is ignored and inherited from the source. &#x60;shares_translation_memory&#x60; defaults to &#x60;true&#x60; when omitted on a non-clone create.
26
26
  # @param project_create_parameters
27
27
  # @param [Hash] opts the optional parameters
28
28
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -35,7 +35,7 @@ describe 'ProjectsApi' do
35
35
 
36
36
  # unit tests for project_delete
37
37
  # Delete a project
38
- # Delete an existing project.
38
+ # Delete an existing project. Associated repository syncs and OTA distributions are removed. A &#x60;project:delete&#x60; event is dispatched.
39
39
  # @param id ID
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
@@ -75,14 +75,15 @@ describe 'ProjectsApi' do
75
75
 
76
76
  # unit tests for projects_list
77
77
  # List projects
78
- # List all projects the current user has access to.
78
+ # List all projects the current user has access to. When the &#x60;account_id&#x60; query parameter is omitted, the response includes projects across every account the user is a member of. Pass &#x60;account_id&#x60; to scope the results to a single account.
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
82
  # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
83
83
  # @option opts [String] :account_id Filter by Account ID
84
- # @option opts [String] :sort_by Sort projects. Valid options are \&quot;name_asc\&quot;, \&quot;name_desc\&quot;, \&quot;updated_at_asc\&quot;, \&quot;updated_at_desc\&quot;, \&quot;space_asc\&quot; and \&quot;space_desc\&quot;.
85
- # @option opts [Array<String>] :filters Filter projects. Valid options are [\&quot;favorites\&quot;].
84
+ # @option opts [String] :sort_by Sort projects. Valid values are &#x60;name_asc&#x60;, &#x60;name_desc&#x60;, &#x60;updated_at_asc&#x60;, &#x60;updated_at_desc&#x60;, &#x60;space_asc&#x60;, and &#x60;space_desc&#x60;. The trailing direction segment is optional; if omitted or invalid, projects are sorted ascending. Any other value is ignored and the default ordering is returned.
85
+ # @option opts [Array<String>] :filters Filter projects. The only supported value is &#x60;favorites&#x60;, which restricts the results to projects the current user has starred.
86
+ # @option opts [String] :q Search query. The only supported syntax is &#x60;name:&lt;text&gt;&#x60; — for example &#x60;name:android&#x60; returns projects whose name matches &#x60;android&#x60; (case-insensitive substring). Any value that does not match the &#x60;name:&#x60; prefix is ignored.
86
87
  # @return [Array<Project>]
87
88
  describe 'projects_list test' do
88
89
  it 'should work' do
@@ -73,7 +73,8 @@ describe 'TagsApi' do
73
73
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
74
74
  # @option opts [Integer] :page Page number
75
75
  # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
76
- # @option opts [Boolean] :exclude_system_tags excludes tags generated by the system, e.g. job, upload or figma tags
76
+ # @option opts [Boolean] :exclude_system_tags Excludes tags generated by the system, e.g. job, upload or figma tags. Mutually exclusive with &#x60;only_system_tags&#x60;.
77
+ # @option opts [Boolean] :only_system_tags Returns only system-generated tags (e.g. job, upload, figma) and excludes user-defined tags. Mutually exclusive with &#x60;exclude_system_tags&#x60;.
77
78
  # @option opts [String] :branch specify the branch to use
78
79
  # @option opts [String] :q Specify a query to filter tags by name.
79
80
  # @return [Array<Tag>]
@@ -233,6 +233,8 @@ describe 'TranslationsApi' do
233
233
  # @option opts [Integer] :page Page number
234
234
  # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
235
235
  # @option opts [String] :branch specify the branch to use
236
+ # @option opts [String] :key_id Filter translations to those attached to the key identified by this code. Equivalent to calling &#x60;GET /projects/{project_id}/keys/{key_id}/translations&#x60;.
237
+ # @option opts [String] :locale_id Filter translations to those for the given locale (locale code or id). Equivalent to calling &#x60;GET /projects/{project_id}/locales/{locale_id}/translations&#x60;.
236
238
  # @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
237
239
  # @option opts [String] :order Order direction. Can be one of: asc, desc.
238
240
  # @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * &#x60;id:translation_id,...&#x60; for queries on a comma-separated list of ids * &#x60;tags:XYZ&#x60; for tags on the translation * &#x60;unverified:{true|false}&#x60; for verification status * &#x60;excluded:{true|false}&#x60; for exclusion status * &#x60;updated_at:{&gt;&#x3D;|&lt;&#x3D;}2013-02-21T00:00:00Z&#x60; for date range queries * &#x60;reviewed_after:2013-02-21T00:00:00Z&#x60; for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
@@ -64,12 +64,12 @@ describe 'WebhooksApi' do
64
64
 
65
65
  # unit tests for webhook_test
66
66
  # Test a webhook
67
- # Perform a test request for a webhook.
67
+ # Perform a test request for a webhook. Sends a synthetic &#x60;test:event&#x60; payload to the webhook&#39;s &#x60;callback_url&#x60; and returns the webhook resource.
68
68
  # @param project_id Project ID
69
69
  # @param id ID
70
70
  # @param [Hash] opts the optional parameters
71
71
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
72
- # @return [nil]
72
+ # @return [Webhook]
73
73
  describe 'webhook_test test' do
74
74
  it 'should work' do
75
75
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -29,6 +29,10 @@ describe 'AuthorizationCreateParameters' do
29
29
  describe 'test attribute "scopes"' do
30
30
  it 'should work' do
31
31
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["read", "write", "orders.create", "team.manage"])
33
+ # validator.allowable_values.each do |value|
34
+ # expect { @instance.scopes = value }.not_to raise_error
35
+ # end
32
36
  end
33
37
  end
34
38
 
@@ -29,6 +29,10 @@ describe 'AuthorizationUpdateParameters' do
29
29
  describe 'test attribute "scopes"' do
30
30
  it 'should work' do
31
31
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["read", "write", "orders.create", "team.manage"])
33
+ # validator.allowable_values.each do |value|
34
+ # expect { @instance.scopes = value }.not_to raise_error
35
+ # end
32
36
  end
33
37
  end
34
38
 
@@ -68,12 +68,30 @@ describe 'Automation' do
68
68
  end
69
69
  end
70
70
 
71
+ describe 'test attribute "project_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 "job_template_id"' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
80
  end
75
81
  end
76
82
 
83
+ describe 'test attribute "job_owner_id"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "include_only_updated_locales"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
77
95
  describe 'test attribute "tags"' do
78
96
  it 'should work' do
79
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -76,4 +76,16 @@ describe 'AutomationsCreateParameters1' do
76
76
  end
77
77
  end
78
78
 
79
+ describe 'test attribute "job_owner_id"' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ describe 'test attribute "include_only_updated_locales"' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
79
91
  end
@@ -76,4 +76,16 @@ describe 'AutomationsCreateParameters' do
76
76
  end
77
77
  end
78
78
 
79
+ describe 'test attribute "job_owner_id"' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ describe 'test attribute "include_only_updated_locales"' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
79
91
  end
@@ -26,4 +26,10 @@ describe 'BranchCreateParameters' do
26
26
  end
27
27
  end
28
28
 
29
+ describe 'test attribute "base"' 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
+
29
35
  end
@@ -23,6 +23,10 @@ describe 'BranchMergeParameters' do
23
23
  describe 'test attribute "strategy"' do
24
24
  it 'should work' do
25
25
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["use_main", "use_branch"])
27
+ # validator.allowable_values.each do |value|
28
+ # expect { @instance.strategy = value }.not_to raise_error
29
+ # end
26
30
  end
27
31
  end
28
32
 
@@ -38,6 +38,12 @@ describe 'Branch' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "base"' 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
+
41
47
  describe 'test attribute "created_at"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -71,6 +77,10 @@ describe 'Branch' do
71
77
  describe 'test attribute "state"' do
72
78
  it 'should work' do
73
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["creating_branch", "merging_branch", "syncing_branch", "merged", "success", "branch_error", "merge_conflict"])
81
+ # validator.allowable_values.each do |value|
82
+ # expect { @instance.state = value }.not_to raise_error
83
+ # end
74
84
  end
75
85
  end
76
86
 
@@ -23,6 +23,10 @@ describe 'BranchSyncParameters' do
23
23
  describe 'test attribute "strategy"' do
24
24
  it 'should work' do
25
25
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["use_main", "use_branch"])
27
+ # validator.allowable_values.each do |value|
28
+ # expect { @instance.strategy = value }.not_to raise_error
29
+ # end
26
30
  end
27
31
  end
28
32
 
@@ -2,22 +2,22 @@ require 'spec_helper'
2
2
  require 'json'
3
3
  require 'date'
4
4
 
5
- # Unit tests for Phrase::DistributionPreview
5
+ # Unit tests for Phrase::DistributionDetails
6
6
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
7
  # Please update as you see appropriate
8
- describe 'DistributionPreview' do
8
+ describe 'DistributionDetails' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::DistributionPreview.new
11
+ @instance = Phrase::DistributionDetails.new
12
12
  end
13
13
 
14
14
  after do
15
15
  # run after each test
16
16
  end
17
17
 
18
- describe 'test an instance of DistributionPreview' do
19
- it 'should create an instance of DistributionPreview' do
20
- expect(@instance).to be_instance_of(Phrase::DistributionPreview)
18
+ describe 'test an instance of DistributionDetails' do
19
+ it 'should create an instance of DistributionDetails' do
20
+ expect(@instance).to be_instance_of(Phrase::DistributionDetails)
21
21
  end
22
22
  end
23
23
  describe 'test attribute "id"' do
@@ -56,10 +56,28 @@ describe 'DistributionPreview' do
56
56
  end
57
57
  end
58
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
+
59
65
  describe 'test attribute "deleted_at"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
68
  end
63
69
  end
64
70
 
71
+ describe 'test attribute "locales"' 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
+
77
+ describe 'test attribute "releases"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
65
83
  end
@@ -44,19 +44,19 @@ describe 'Distribution' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "locales"' do
47
+ describe 'test attribute "release_count"' 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 "releases"' do
53
+ describe 'test attribute "created_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
57
57
  end
58
58
 
59
- describe 'test attribute "created_at"' do
59
+ describe 'test attribute "updated_at"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
@@ -2,22 +2,22 @@ require 'spec_helper'
2
2
  require 'json'
3
3
  require 'date'
4
4
 
5
- # Unit tests for Phrase::CustomMetadataPropertyCreate422ResponseErrorsInner
5
+ # Unit tests for Phrase::DocumentDelete422ResponseErrorsInner
6
6
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
7
  # Please update as you see appropriate
8
- describe 'CustomMetadataPropertyCreate422ResponseErrorsInner' do
8
+ describe 'DocumentDelete422ResponseErrorsInner' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::CustomMetadataPropertyCreate422ResponseErrorsInner.new
11
+ @instance = Phrase::DocumentDelete422ResponseErrorsInner.new
12
12
  end
13
13
 
14
14
  after do
15
15
  # run after each test
16
16
  end
17
17
 
18
- describe 'test an instance of CustomMetadataPropertyCreate422ResponseErrorsInner' do
19
- it 'should create an instance of CustomMetadataPropertyCreate422ResponseErrorsInner' do
20
- expect(@instance).to be_instance_of(Phrase::CustomMetadataPropertyCreate422ResponseErrorsInner)
18
+ describe 'test an instance of DocumentDelete422ResponseErrorsInner' do
19
+ it 'should create an instance of DocumentDelete422ResponseErrorsInner' do
20
+ expect(@instance).to be_instance_of(Phrase::DocumentDelete422ResponseErrorsInner)
21
21
  end
22
22
  end
23
23
  describe 'test attribute "resource"' do
@@ -2,22 +2,22 @@ require 'spec_helper'
2
2
  require 'json'
3
3
  require 'date'
4
4
 
5
- # Unit tests for Phrase::CustomMetadataPropertyCreate422Response
5
+ # Unit tests for Phrase::DocumentDelete422Response
6
6
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
7
  # Please update as you see appropriate
8
- describe 'CustomMetadataPropertyCreate422Response' do
8
+ describe 'DocumentDelete422Response' do
9
9
  before do
10
10
  # run before each test
11
- @instance = Phrase::CustomMetadataPropertyCreate422Response.new
11
+ @instance = Phrase::DocumentDelete422Response.new
12
12
  end
13
13
 
14
14
  after do
15
15
  # run after each test
16
16
  end
17
17
 
18
- describe 'test an instance of CustomMetadataPropertyCreate422Response' do
19
- it 'should create an instance of CustomMetadataPropertyCreate422Response' do
20
- expect(@instance).to be_instance_of(Phrase::CustomMetadataPropertyCreate422Response)
18
+ describe 'test an instance of DocumentDelete422Response' do
19
+ it 'should create an instance of DocumentDelete422Response' do
20
+ expect(@instance).to be_instance_of(Phrase::DocumentDelete422Response)
21
21
  end
22
22
  end
23
23
  describe 'test attribute "message"' do
@@ -38,6 +38,12 @@ describe 'Glossary' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "spaces"' 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
+
41
47
  describe 'test attribute "created_at"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::GlossaryTermGlossary
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'GlossaryTermGlossary' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::GlossaryTermGlossary.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of GlossaryTermGlossary' do
19
+ it 'should create an instance of GlossaryTermGlossary' do
20
+ expect(@instance).to be_instance_of(Phrase::GlossaryTermGlossary)
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
+ end
@@ -56,6 +56,12 @@ describe 'GlossaryTerm' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "glossary"' 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
+
59
65
  describe 'test attribute "created_at"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -26,6 +26,12 @@ describe 'IcuSkeletonParameters' do
26
26
  end
27
27
  end
28
28
 
29
+ describe 'test attribute "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
+
29
35
  describe 'test attribute "locale_codes"' do
30
36
  it 'should work' do
31
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -104,7 +104,7 @@ describe 'Invitation' do
104
104
  end
105
105
  end
106
106
 
107
- describe 'test attribute "project_role"' do
107
+ describe 'test attribute "project_roles"' do
108
108
  it 'should work' do
109
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
110
  end
@@ -80,6 +80,18 @@ describe 'JobDetails' do
80
80
  end
81
81
  end
82
82
 
83
+ describe 'test attribute "automation_id"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "job_template_id"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
83
95
  describe 'test attribute "owner"' do
84
96
  it 'should work' do
85
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -122,4 +134,10 @@ describe 'JobDetails' do
122
134
  end
123
135
  end
124
136
 
137
+ describe 'test attribute "locked"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
125
143
  end
@@ -80,4 +80,16 @@ describe 'Job' do
80
80
  end
81
81
  end
82
82
 
83
+ describe 'test attribute "automation_id"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "job_template_id"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
83
95
  end
@@ -50,6 +50,12 @@ describe 'JobTemplateDetails' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "autotranslate_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 "created_at"' 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 'JobTemplate' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "autotranslate_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 "created_at"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -134,4 +134,16 @@ describe 'KeyCreateParameters' do
134
134
  end
135
135
  end
136
136
 
137
+ describe 'test attribute "excluded_in_locales"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "format_value_type"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
137
149
  end
@@ -122,4 +122,16 @@ describe 'KeyUpdateParameters' do
122
122
  end
123
123
  end
124
124
 
125
+ describe 'test attribute "excluded_in_locales"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ describe 'test attribute "format_value_type"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
125
137
  end
@@ -104,6 +104,12 @@ describe 'LocaleDownloadCreateParameters' do
104
104
  end
105
105
  end
106
106
 
107
+ describe 'test attribute "fallback_for_unverified_translations"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
107
113
  describe 'test attribute "source_locale_id"' do
108
114
  it 'should work' do
109
115
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers