@octokit/openapi 7.0.0 → 7.3.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 (35) hide show
  1. package/generated/api.github.com.deref.json +1523 -250
  2. package/generated/api.github.com.json +803 -61
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +17 -8
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +9 -8
  7. package/generated/ghes-3.2.deref.json +1108 -313
  8. package/generated/ghes-3.2.json +451 -31
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +16 -0
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +209 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +9 -1
  12. package/generated/ghes-3.3.deref.json +1108 -313
  13. package/generated/ghes-3.3.json +451 -31
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -8
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -8
  16. package/generated/ghes-3.4.deref.json +1092 -313
  17. package/generated/ghes-3.4.json +451 -31
  18. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  19. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +17 -8
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.json +9 -8
  22. package/generated/ghes-3.5.deref.json +1094 -315
  23. package/generated/ghes-3.5.json +453 -33
  24. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +94 -56
  25. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +89 -164
  26. package/generated/ghes-3.6-diff-to-api.github.com.json +9 -130
  27. package/generated/ghes-3.6.deref.json +1299 -488
  28. package/generated/ghes-3.6.json +499 -47
  29. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +38 -0
  30. package/generated/github.ae-diff-to-api.github.com.deref.json +49 -8
  31. package/generated/github.ae-diff-to-api.github.com.json +9 -8
  32. package/generated/github.ae.deref.json +783 -32
  33. package/generated/github.ae.json +495 -31
  34. package/index.js +2 -0
  35. package/package.json +1 -1
@@ -3774,6 +3774,14 @@
3774
3774
  ],
3775
3775
  "type": "string"
3776
3776
  },
3777
+ "organization_custom_roles": {
3778
+ "description": "The level of permission to grant the access token for custom roles management.",
3779
+ "enum": [
3780
+ "read",
3781
+ "write"
3782
+ ],
3783
+ "type": "string"
3784
+ },
3777
3785
  "organization_hooks": {
3778
3786
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
3779
3787
  "enum": [
@@ -4901,6 +4909,14 @@
4901
4909
  ],
4902
4910
  "type": "string"
4903
4911
  },
4912
+ "organization_custom_roles": {
4913
+ "description": "The level of permission to grant the access token for custom roles management.",
4914
+ "enum": [
4915
+ "read",
4916
+ "write"
4917
+ ],
4918
+ "type": "string"
4919
+ },
4904
4920
  "organization_hooks": {
4905
4921
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
4906
4922
  "enum": [
@@ -5565,6 +5581,14 @@
5565
5581
  ],
5566
5582
  "type": "string"
5567
5583
  },
5584
+ "organization_custom_roles": {
5585
+ "description": "The level of permission to grant the access token for custom roles management.",
5586
+ "enum": [
5587
+ "read",
5588
+ "write"
5589
+ ],
5590
+ "type": "string"
5591
+ },
5568
5592
  "organization_hooks": {
5569
5593
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
5570
5594
  "enum": [
@@ -7062,6 +7086,14 @@
7062
7086
  ],
7063
7087
  "type": "string"
7064
7088
  },
7089
+ "organization_custom_roles": {
7090
+ "description": "The level of permission to grant the access token for custom roles management.",
7091
+ "enum": [
7092
+ "read",
7093
+ "write"
7094
+ ],
7095
+ "type": "string"
7096
+ },
7065
7097
  "organization_hooks": {
7066
7098
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
7067
7099
  "enum": [
@@ -7903,6 +7935,14 @@
7903
7935
  ],
7904
7936
  "type": "string"
7905
7937
  },
7938
+ "organization_custom_roles": {
7939
+ "description": "The level of permission to grant the access token for custom roles management.",
7940
+ "enum": [
7941
+ "read",
7942
+ "write"
7943
+ ],
7944
+ "type": "string"
7945
+ },
7906
7946
  "organization_hooks": {
7907
7947
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
7908
7948
  "enum": [
@@ -8826,6 +8866,14 @@
8826
8866
  ],
8827
8867
  "type": "string"
8828
8868
  },
8869
+ "organization_custom_roles": {
8870
+ "description": "The level of permission to grant the access token for custom roles management.",
8871
+ "enum": [
8872
+ "read",
8873
+ "write"
8874
+ ],
8875
+ "type": "string"
8876
+ },
8829
8877
  "organization_hooks": {
8830
8878
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
8831
8879
  "enum": [
@@ -9500,6 +9548,14 @@
9500
9548
  ],
9501
9549
  "type": "string"
9502
9550
  },
9551
+ "organization_custom_roles": {
9552
+ "description": "The level of permission to grant the access token for custom roles management.",
9553
+ "enum": [
9554
+ "read",
9555
+ "write"
9556
+ ],
9557
+ "type": "string"
9558
+ },
9503
9559
  "organization_hooks": {
9504
9560
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
9505
9561
  "enum": [
@@ -10403,6 +10459,14 @@
10403
10459
  ],
10404
10460
  "type": "string"
10405
10461
  },
10462
+ "organization_custom_roles": {
10463
+ "description": "The level of permission to grant the access token for custom roles management.",
10464
+ "enum": [
10465
+ "read",
10466
+ "write"
10467
+ ],
10468
+ "type": "string"
10469
+ },
10406
10470
  "organization_hooks": {
10407
10471
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
10408
10472
  "enum": [
@@ -11077,6 +11141,14 @@
11077
11141
  ],
11078
11142
  "type": "string"
11079
11143
  },
11144
+ "organization_custom_roles": {
11145
+ "description": "The level of permission to grant the access token for custom roles management.",
11146
+ "enum": [
11147
+ "read",
11148
+ "write"
11149
+ ],
11150
+ "type": "string"
11151
+ },
11080
11152
  "organization_hooks": {
11081
11153
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
11082
11154
  "enum": [
@@ -11950,6 +12022,14 @@
11950
12022
  ],
11951
12023
  "type": "string"
11952
12024
  },
12025
+ "organization_custom_roles": {
12026
+ "description": "The level of permission to grant the access token for custom roles management.",
12027
+ "enum": [
12028
+ "read",
12029
+ "write"
12030
+ ],
12031
+ "type": "string"
12032
+ },
11953
12033
  "organization_hooks": {
11954
12034
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
11955
12035
  "enum": [
@@ -12755,6 +12835,14 @@
12755
12835
  ],
12756
12836
  "type": "string"
12757
12837
  },
12838
+ "organization_custom_roles": {
12839
+ "description": "The level of permission to grant the access token for custom roles management.",
12840
+ "enum": [
12841
+ "read",
12842
+ "write"
12843
+ ],
12844
+ "type": "string"
12845
+ },
12758
12846
  "organization_hooks": {
12759
12847
  "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.",
12760
12848
  "enum": [
@@ -17507,62 +17595,6 @@
17507
17595
  }
17508
17596
  }
17509
17597
  },
17510
- "/repos/{owner}/{repo}/actions/permissions/access": {
17511
- "get": {
17512
- "responses": {
17513
- "changed": {
17514
- "200": {
17515
- "content": {
17516
- "changed": {
17517
- "application/json": {
17518
- "schema_changed": {
17519
- "properties_changed": {
17520
- "changed": {
17521
- "access_level": {
17522
- "enum_changed": {
17523
- "added": false,
17524
- "removed": false,
17525
- "values_removed": [
17526
- "user"
17527
- ]
17528
- }
17529
- }
17530
- }
17531
- }
17532
- }
17533
- }
17534
- }
17535
- }
17536
- }
17537
- }
17538
- }
17539
- },
17540
- "put": {
17541
- "request_body": {
17542
- "content_changed": {
17543
- "changed": {
17544
- "application/json": {
17545
- "schema_changed": {
17546
- "properties_changed": {
17547
- "changed": {
17548
- "access_level": {
17549
- "enum_changed": {
17550
- "added": false,
17551
- "removed": false,
17552
- "values_removed": [
17553
- "user"
17554
- ]
17555
- }
17556
- }
17557
- }
17558
- }
17559
- }
17560
- }
17561
- }
17562
- }
17563
- }
17564
- }
17565
- },
17566
17598
  "/repos/{owner}/{repo}/actions/permissions/selected-actions": {
17567
17599
  "get": {
17568
17600
  "responses": {
@@ -18064,6 +18096,12 @@
18064
18096
  "/enterprises/{enterprise}/code-scanning/alerts": [
18065
18097
  "get"
18066
18098
  ],
18099
+ "/enterprises/{enterprise}/consumed-licenses": [
18100
+ "get"
18101
+ ],
18102
+ "/enterprises/{enterprise}/license-sync-status": [
18103
+ "get"
18104
+ ],
18067
18105
  "/enterprises/{enterprise}/settings/billing/actions": [
18068
18106
  "get"
18069
18107
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.0.0",
4
+ "version": "7.3.0",
5
5
  "title": "GitHub's official OpenAPI spec + Octokit extension",
6
6
  "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
7
7
  "license": {
@@ -4004,6 +4004,14 @@
4004
4004
  "write"
4005
4005
  ]
4006
4006
  },
4007
+ "organization_custom_roles": {
4008
+ "type": "string",
4009
+ "description": "The level of permission to grant the access token for custom roles management.",
4010
+ "enum": [
4011
+ "read",
4012
+ "write"
4013
+ ]
4014
+ },
4007
4015
  "deployments": {
4008
4016
  "type": "string",
4009
4017
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -5116,6 +5124,14 @@
5116
5124
  "write"
5117
5125
  ]
5118
5126
  },
5127
+ "organization_custom_roles": {
5128
+ "type": "string",
5129
+ "description": "The level of permission to grant the access token for custom roles management.",
5130
+ "enum": [
5131
+ "read",
5132
+ "write"
5133
+ ]
5134
+ },
5119
5135
  "deployments": {
5120
5136
  "type": "string",
5121
5137
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -5780,6 +5796,14 @@
5780
5796
  "write"
5781
5797
  ]
5782
5798
  },
5799
+ "organization_custom_roles": {
5800
+ "type": "string",
5801
+ "description": "The level of permission to grant the access token for custom roles management.",
5802
+ "enum": [
5803
+ "read",
5804
+ "write"
5805
+ ]
5806
+ },
5783
5807
  "deployments": {
5784
5808
  "type": "string",
5785
5809
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -7332,6 +7356,14 @@
7332
7356
  "write"
7333
7357
  ]
7334
7358
  },
7359
+ "organization_custom_roles": {
7360
+ "type": "string",
7361
+ "description": "The level of permission to grant the access token for custom roles management.",
7362
+ "enum": [
7363
+ "read",
7364
+ "write"
7365
+ ]
7366
+ },
7335
7367
  "deployments": {
7336
7368
  "type": "string",
7337
7369
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -8191,6 +8223,14 @@
8191
8223
  "write"
8192
8224
  ]
8193
8225
  },
8226
+ "organization_custom_roles": {
8227
+ "type": "string",
8228
+ "description": "The level of permission to grant the access token for custom roles management.",
8229
+ "enum": [
8230
+ "read",
8231
+ "write"
8232
+ ]
8233
+ },
8194
8234
  "deployments": {
8195
8235
  "type": "string",
8196
8236
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -9119,6 +9159,14 @@
9119
9159
  "write"
9120
9160
  ]
9121
9161
  },
9162
+ "organization_custom_roles": {
9163
+ "type": "string",
9164
+ "description": "The level of permission to grant the access token for custom roles management.",
9165
+ "enum": [
9166
+ "read",
9167
+ "write"
9168
+ ]
9169
+ },
9122
9170
  "deployments": {
9123
9171
  "type": "string",
9124
9172
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -9791,6 +9839,14 @@
9791
9839
  "write"
9792
9840
  ]
9793
9841
  },
9842
+ "organization_custom_roles": {
9843
+ "type": "string",
9844
+ "description": "The level of permission to grant the access token for custom roles management.",
9845
+ "enum": [
9846
+ "read",
9847
+ "write"
9848
+ ]
9849
+ },
9794
9850
  "deployments": {
9795
9851
  "type": "string",
9796
9852
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -10697,6 +10753,14 @@
10697
10753
  "write"
10698
10754
  ]
10699
10755
  },
10756
+ "organization_custom_roles": {
10757
+ "type": "string",
10758
+ "description": "The level of permission to grant the access token for custom roles management.",
10759
+ "enum": [
10760
+ "read",
10761
+ "write"
10762
+ ]
10763
+ },
10700
10764
  "deployments": {
10701
10765
  "type": "string",
10702
10766
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -11369,6 +11433,14 @@
11369
11433
  "write"
11370
11434
  ]
11371
11435
  },
11436
+ "organization_custom_roles": {
11437
+ "type": "string",
11438
+ "description": "The level of permission to grant the access token for custom roles management.",
11439
+ "enum": [
11440
+ "read",
11441
+ "write"
11442
+ ]
11443
+ },
11372
11444
  "deployments": {
11373
11445
  "type": "string",
11374
11446
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -12153,6 +12225,14 @@
12153
12225
  "write"
12154
12226
  ]
12155
12227
  },
12228
+ "organization_custom_roles": {
12229
+ "type": "string",
12230
+ "description": "The level of permission to grant the access token for custom roles management.",
12231
+ "enum": [
12232
+ "read",
12233
+ "write"
12234
+ ]
12235
+ },
12156
12236
  "deployments": {
12157
12237
  "type": "string",
12158
12238
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -12964,6 +13044,14 @@
12964
13044
  "write"
12965
13045
  ]
12966
13046
  },
13047
+ "organization_custom_roles": {
13048
+ "type": "string",
13049
+ "description": "The level of permission to grant the access token for custom roles management.",
13050
+ "enum": [
13051
+ "read",
13052
+ "write"
13053
+ ]
13054
+ },
12967
13055
  "deployments": {
12968
13056
  "type": "string",
12969
13057
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -19091,169 +19179,6 @@
19091
19179
  }
19092
19180
  }
19093
19181
  },
19094
- "/repos/{owner}/{repo}/actions/permissions/access": {
19095
- "get": {
19096
- "summary": "Get the level of access for workflows outside of the repository",
19097
- "description": "Gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories.\nFor more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.",
19098
- "tags": [
19099
- "actions"
19100
- ],
19101
- "operationId": "actions/get-workflow-access-to-repository",
19102
- "externalDocs": {
19103
- "description": "API method documentation",
19104
- "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/actions#get-workflow-access-level-to-a-repository"
19105
- },
19106
- "parameters": [
19107
- {
19108
- "name": "owner",
19109
- "description": "The account owner of the repository. The name is not case sensitive.",
19110
- "in": "path",
19111
- "required": true,
19112
- "schema": {
19113
- "type": "string"
19114
- }
19115
- },
19116
- {
19117
- "name": "repo",
19118
- "description": "The name of the repository. The name is not case sensitive.",
19119
- "in": "path",
19120
- "required": true,
19121
- "schema": {
19122
- "type": "string"
19123
- }
19124
- }
19125
- ],
19126
- "responses": {
19127
- "200": {
19128
- "description": "Response",
19129
- "content": {
19130
- "application/json": {
19131
- "schema": {
19132
- "type": "object",
19133
- "properties": {
19134
- "access_level": {
19135
- "type": "string",
19136
- "description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository. `none` means access is only possible from workflows in this repository.",
19137
- "enum": [
19138
- "none",
19139
- "organization",
19140
- "enterprise"
19141
- ]
19142
- }
19143
- },
19144
- "required": [
19145
- "access_level"
19146
- ]
19147
- },
19148
- "examples": {
19149
- "default": {
19150
- "value": {
19151
- "access_level": "organization"
19152
- }
19153
- }
19154
- }
19155
- }
19156
- }
19157
- }
19158
- },
19159
- "x-github": {
19160
- "githubCloudOnly": false,
19161
- "enabledForGitHubApps": true,
19162
- "previews": [],
19163
- "category": "actions",
19164
- "subcategory": "permissions"
19165
- },
19166
- "x-octokit": {
19167
- "diff": {
19168
- "api.github.com": {
19169
- "type": "changed"
19170
- }
19171
- }
19172
- }
19173
- },
19174
- "put": {
19175
- "summary": "Set the level of access for workflows outside of the repository",
19176
- "description": "Sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.\nThis endpoint only applies to internal repositories.\nFor more information, see \"[Managing GitHub Actions settings for a repository](https://docs.github.com/enterprise-server@3.6/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the\nrepository `administration` permission to use this endpoint.",
19177
- "tags": [
19178
- "actions"
19179
- ],
19180
- "operationId": "actions/set-workflow-access-to-repository",
19181
- "externalDocs": {
19182
- "description": "API method documentation",
19183
- "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/actions#set-workflow-access-to-a-repository"
19184
- },
19185
- "parameters": [
19186
- {
19187
- "name": "owner",
19188
- "description": "The account owner of the repository. The name is not case sensitive.",
19189
- "in": "path",
19190
- "required": true,
19191
- "schema": {
19192
- "type": "string"
19193
- }
19194
- },
19195
- {
19196
- "name": "repo",
19197
- "description": "The name of the repository. The name is not case sensitive.",
19198
- "in": "path",
19199
- "required": true,
19200
- "schema": {
19201
- "type": "string"
19202
- }
19203
- }
19204
- ],
19205
- "requestBody": {
19206
- "required": true,
19207
- "content": {
19208
- "application/json": {
19209
- "schema": {
19210
- "type": "object",
19211
- "properties": {
19212
- "access_level": {
19213
- "type": "string",
19214
- "description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository. `none` means access is only possible from workflows in this repository.",
19215
- "enum": [
19216
- "none",
19217
- "organization",
19218
- "enterprise"
19219
- ]
19220
- }
19221
- },
19222
- "required": [
19223
- "access_level"
19224
- ]
19225
- },
19226
- "examples": {
19227
- "default": {
19228
- "value": {
19229
- "access_level": "organization"
19230
- }
19231
- }
19232
- }
19233
- }
19234
- }
19235
- },
19236
- "responses": {
19237
- "204": {
19238
- "description": "Response"
19239
- }
19240
- },
19241
- "x-github": {
19242
- "githubCloudOnly": false,
19243
- "enabledForGitHubApps": true,
19244
- "previews": [],
19245
- "category": "actions",
19246
- "subcategory": "permissions"
19247
- },
19248
- "x-octokit": {
19249
- "diff": {
19250
- "api.github.com": {
19251
- "type": "changed"
19252
- }
19253
- }
19254
- }
19255
- }
19256
- },
19257
19182
  "/repos/{owner}/{repo}/actions/permissions/selected-actions": {
19258
19183
  "get": {
19259
19184
  "summary": "Get allowed actions for a repository",