@@ -297,7 +297,7 @@ class Config: |
297 | 297 | class BitBucketCloudPRCommentInline(BaseModel): |
298 | 298 | from_: Optional[int] |
299 | 299 | path: Optional[str] |
300 | | - to: Optional[Optional[int]] |
| 300 | + to: Optional[int] |
301 | 301 |
|
302 | 302 | class Config: |
303 | 303 | fields = { |
@@ -850,29 +850,29 @@ class Config: |
850 | 850 |
|
851 | 851 | class DangerDSLJSONTypeSettingsGithub(BaseModel): |
852 | 852 | access_token: Optional[str] |
853 | | - additional_headers: Optional[Any] |
854 | | - base_u_r_l: Optional[str] |
| 853 | + additional_headers: Any |
| 854 | + base_url: Optional[str] |
855 | 855 |
|
856 | 856 | class Config: |
857 | 857 | fields = { |
858 | 858 | "access_token": "accessToken", |
859 | 859 | "additional_headers": "additionalHeaders", |
860 | | - "base_u_r_l": "baseURL", |
| 860 | + "base_url": "baseURL", |
861 | 861 | } |
862 | 862 |
|
863 | 863 |
|
864 | 864 | class Endpoint(BaseModel): |
865 | | - d_e_f_a_u_l_t_s: Optional["EndpointOptions"] |
| 865 | + defaults: Optional["EndpointOptions"] |
866 | 866 |
|
867 | 867 | class Config: |
868 | 868 | fields = { |
869 | | - "d_e_f_a_u_l_t_s": "DEFAULTS", |
| 869 | + "defaults": "DEFAULTS", |
870 | 870 | } |
871 | 871 |
|
872 | 872 |
|
873 | 873 | class EndpointOptions(BaseModel): |
874 | 874 | base_url: Optional[str] |
875 | | - data: Optional[Any] |
| 875 | + data: Any |
876 | 876 | headers: Optional["EndpointOptionsHeaders"] |
877 | 877 | method: Optional["EndpointOptionsMethod"] |
878 | 878 | request: Optional["EndpointOptionsRequest"] |
@@ -912,7 +912,7 @@ class GitCommit(BaseModel): |
912 | 912 | message: Optional[str] |
913 | 913 | parents: Optional[List[str]] |
914 | 914 | sha: Optional[str] |
915 | | - tree: Optional[Any] |
| 915 | + tree: Any |
916 | 916 | url: Optional[str] |
917 | 917 |
|
918 | 918 | class Config: |
@@ -979,7 +979,7 @@ class GitHubDSL(BaseModel): |
979 | 979 | pr: Optional["GitHubPRDSL"] |
980 | 980 | requested_reviewers: Optional["GitHubReviewers"] |
981 | 981 | reviews: Optional[List["GitHubReview"]] |
982 | | - this_p_r: Optional["GitHubAPIPR"] |
| 982 | + this_pr: Optional["GitHubAPIPR"] |
983 | 983 | utils: Optional["GitHubUtilsDSL"] |
984 | 984 |
|
985 | 985 | class Config: |
@@ -990,7 +990,7 @@ class Config: |
990 | 990 | "pr": "pr", |
991 | 991 | "requested_reviewers": "requested_reviewers", |
992 | 992 | "reviews": "reviews", |
993 | | - "this_p_r": "thisPR", |
| 993 | + "this_pr": "thisPR", |
994 | 994 | "utils": "utils", |
995 | 995 | } |
996 | 996 |
|
@@ -1044,7 +1044,7 @@ class GitHubPRDSL(BaseModel): |
1044 | 1044 | base: Optional["GitHubMergeRef"] |
1045 | 1045 | body: Optional[str] |
1046 | 1046 | changed_files: Optional[int] |
1047 | | - closed_at: Optional[Optional[str]] |
| 1047 | + closed_at: Optional[str] |
1048 | 1048 | comments: Optional[int] |
1049 | 1049 | commits: Optional[int] |
1050 | 1050 | created_at: Optional[str] |
@@ -1053,7 +1053,7 @@ class GitHubPRDSL(BaseModel): |
1053 | 1053 | html_url: Optional[str] |
1054 | 1054 | locked: Optional[bool] |
1055 | 1055 | merged: Optional[bool] |
1056 | | - merged_at: Optional[Optional[str]] |
| 1056 | + merged_at: Optional[str] |
1057 | 1057 | number: Optional[int] |
1058 | 1058 | review_comments: Optional[int] |
1059 | 1059 | state: Optional["GitHubPRDSLState"] |
@@ -1193,14 +1193,14 @@ class GitHubUserType(Enum): |
1193 | 1193 |
|
1194 | 1194 | class GitHubUtilsDSL(BaseModel): |
1195 | 1195 | create_or_add_label: Optional["GitHubUtilsDSLCreateOrAddLabel"] |
1196 | | - create_or_update_p_r: Optional["GitHubUtilsDSLCreateOrUpdatePR"] |
1197 | | - create_updated_issue_with_i_d: Optional["GitHubUtilsDSLCreateUpdatedIssueWithID"] |
| 1196 | + create_or_update_pr: Optional["GitHubUtilsDSLCreateOrUpdatePR"] |
| 1197 | + create_updated_issue_with_id: Optional["GitHubUtilsDSLCreateUpdatedIssueWithID"] |
1198 | 1198 |
|
1199 | 1199 | class Config: |
1200 | 1200 | fields = { |
1201 | 1201 | "create_or_add_label": "createOrAddLabel", |
1202 | | - "create_or_update_p_r": "createOrUpdatePR", |
1203 | | - "create_updated_issue_with_i_d": "createUpdatedIssueWithID", |
| 1202 | + "create_or_update_pr": "createOrUpdatePR", |
| 1203 | + "create_updated_issue_with_id": "createUpdatedIssueWithID", |
1204 | 1204 | } |
1205 | 1205 |
|
1206 | 1206 |
|
@@ -1253,27 +1253,27 @@ class GitLabDSLUtils(BaseModel): |
1253 | 1253 | class GitLabMR(BaseModel): |
1254 | 1254 | allow_collaboration: Optional[bool] |
1255 | 1255 | allow_maintainer_to_push: Optional[bool] |
1256 | | - approvals_before_merge: Optional[Any] |
| 1256 | + approvals_before_merge: Any |
1257 | 1257 | assignee: Optional["GitLabUser"] |
1258 | 1258 | author: Optional["GitLabUser"] |
1259 | 1259 | changes_count: Optional[str] |
1260 | | - closed_at: Optional[Optional[str]] |
1261 | | - closed_by: Optional[Any] |
| 1260 | + closed_at: Optional[str] |
| 1261 | + closed_by: Optional["GitLabUser"] |
1262 | 1262 | created_at: Optional[str] |
1263 | 1263 | description: Optional[str] |
1264 | 1264 | diff_refs: Optional["GitLabMRDiffRefs"] |
1265 | | - discussion_locked: Optional[Any] |
| 1265 | + discussion_locked: Any |
1266 | 1266 | diverged_commits_count: Optional[int] |
1267 | 1267 | downvotes: Optional[int] |
1268 | | - first_deployed_to_production_at: Optional[Optional[str]] |
| 1268 | + first_deployed_to_production_at: Optional[str] |
1269 | 1269 | force_remove_source_branch: Optional[bool] |
1270 | 1270 | id: Optional[int] |
1271 | 1271 | iid: Optional[int] |
1272 | 1272 | labels: Optional[List[str]] |
1273 | 1273 | latest_build_finished_at: Optional[str] |
1274 | 1274 | latest_build_started_at: Optional[str] |
1275 | | - merge_commit_sha: Optional[Optional[str]] |
1276 | | - merge_error: Optional[Any] |
| 1275 | + merge_commit_sha: Optional[str] |
| 1276 | + merge_error: Any |
1277 | 1277 | merge_status: Optional["GitLabMRMergeStatus"] |
1278 | 1278 | merge_when_pipeline_succeeds: Optional[bool] |
1279 | 1279 | merged_at: Optional[str] |
@@ -1353,6 +1353,37 @@ class Config: |
1353 | 1353 | } |
1354 | 1354 |
|
1355 | 1355 |
|
| 1356 | +class GitLabMRCommit(BaseModel): |
| 1357 | + author_email: Optional[str] |
| 1358 | + author_name: Optional[str] |
| 1359 | + authored_date: Optional[str] |
| 1360 | + committed_date: Optional[str] |
| 1361 | + committer_email: Optional[str] |
| 1362 | + committer_name: Optional[str] |
| 1363 | + created_at: Optional[str] |
| 1364 | + id: Optional[str] |
| 1365 | + message: Optional[str] |
| 1366 | + parent_ids: Optional[List[str]] |
| 1367 | + short_id: Optional[str] |
| 1368 | + title: Optional[str] |
| 1369 | + |
| 1370 | + class Config: |
| 1371 | + fields = { |
| 1372 | + "author_email": "author_email", |
| 1373 | + "author_name": "author_name", |
| 1374 | + "authored_date": "authored_date", |
| 1375 | + "committed_date": "committed_date", |
| 1376 | + "committer_email": "committer_email", |
| 1377 | + "committer_name": "committer_name", |
| 1378 | + "created_at": "created_at", |
| 1379 | + "id": "id", |
| 1380 | + "message": "message", |
| 1381 | + "parent_ids": "parent_ids", |
| 1382 | + "short_id": "short_id", |
| 1383 | + "title": "title", |
| 1384 | + } |
| 1385 | + |
| 1386 | + |
1356 | 1387 | class GitLabMRDiffRefs(BaseModel): |
1357 | 1388 | base_sha: Optional[str] |
1358 | 1389 | head_sha: Optional[str] |
@@ -1438,8 +1469,8 @@ class GitLabMRState(Enum): |
1438 | 1469 |
|
1439 | 1470 |
|
1440 | 1471 | class GitLabMRTimeStats(BaseModel): |
1441 | | - human_time_estimate: Optional[Optional[int]] |
1442 | | - human_total_time_spent: Optional[Optional[int]] |
| 1472 | + human_time_estimate: Optional[int] |
| 1473 | + human_total_time_spent: Optional[int] |
1443 | 1474 | time_estimate: Optional[int] |
1444 | 1475 | total_time_spent: Optional[int] |
1445 | 1476 |
|
@@ -1461,39 +1492,8 @@ class Config: |
1461 | 1492 | } |
1462 | 1493 |
|
1463 | 1494 |
|
1464 | | -class GitLabMRCommit(BaseModel): |
1465 | | - author_email: Optional[str] |
1466 | | - author_name: Optional[str] |
1467 | | - authored_date: Optional[str] |
1468 | | - committed_date: Optional[str] |
1469 | | - committer_email: Optional[str] |
1470 | | - committer_name: Optional[str] |
1471 | | - created_at: Optional[str] |
1472 | | - id: Optional[str] |
1473 | | - message: Optional[str] |
1474 | | - parent_ids: Optional[List[str]] |
1475 | | - short_id: Optional[str] |
1476 | | - title: Optional[str] |
1477 | | - |
1478 | | - class Config: |
1479 | | - fields = { |
1480 | | - "author_email": "author_email", |
1481 | | - "author_name": "author_name", |
1482 | | - "authored_date": "authored_date", |
1483 | | - "committed_date": "committed_date", |
1484 | | - "committer_email": "committer_email", |
1485 | | - "committer_name": "committer_name", |
1486 | | - "created_at": "created_at", |
1487 | | - "id": "id", |
1488 | | - "message": "message", |
1489 | | - "parent_ids": "parent_ids", |
1490 | | - "short_id": "short_id", |
1491 | | - "title": "title", |
1492 | | - } |
1493 | | - |
1494 | | - |
1495 | 1495 | class GitLabUser(BaseModel): |
1496 | | - avatar_url: Optional[Optional[str]] |
| 1496 | + avatar_url: Optional[str] |
1497 | 1497 | id: Optional[int] |
1498 | 1498 | name: Optional[str] |
1499 | 1499 | state: Optional["GitLabUserState"] |
@@ -7314,12 +7314,12 @@ class PaginateIterator(BaseModel): |
7314 | 7314 |
|
7315 | 7315 |
|
7316 | 7316 | class RepoMetaData(BaseModel): |
7317 | | - pull_request_i_d: Optional[str] |
| 7317 | + pull_request_id: Optional[str] |
7318 | 7318 | repo_slug: Optional[str] |
7319 | 7319 |
|
7320 | 7320 | class Config: |
7321 | 7321 | fields = { |
7322 | | - "pull_request_i_d": "pullRequestID", |
| 7322 | + "pull_request_id": "pullRequestID", |
7323 | 7323 | "repo_slug": "repoSlug", |
7324 | 7324 | } |
7325 | 7325 |
|
@@ -7503,6 +7503,8 @@ class Config: |
7503 | 7503 |
|
7504 | 7504 | GitLabMR.update_forward_refs() |
7505 | 7505 |
|
| 7506 | +GitLabMRCommit.update_forward_refs() |
| 7507 | + |
7506 | 7508 | GitLabMRDiffRefs.update_forward_refs() |
7507 | 7509 |
|
7508 | 7510 |
|
@@ -7516,8 +7518,6 @@ class Config: |
7516 | 7518 |
|
7517 | 7519 | GitLabMRUser.update_forward_refs() |
7518 | 7520 |
|
7519 | | -GitLabMRCommit.update_forward_refs() |
7520 | | - |
7521 | 7521 | GitLabUser.update_forward_refs() |
7522 | 7522 |
|
7523 | 7523 |
|
@@ -8570,3 +8570,4 @@ class Config: |
8570 | 8570 | RepoMetaData.update_forward_refs() |
8571 | 8571 |
|
8572 | 8572 | Request.update_forward_refs() |
| 8573 | + |