@octokit/types 5.1.0 → 5.2.1
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.
- package/dist-node/index.js +1 -1
- package/dist-src/VERSION.js +1 -1
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +618 -43
- package/dist-web/index.js +1 -1
- package/package.json +1 -1
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "5.1
|
|
1
|
+
export const VERSION = "5.2.1";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "5.1
|
|
1
|
+
export declare const VERSION = "5.2.1";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { OctokitResponse } from "../OctokitResponse";
|
|
2
3
|
import { RequestHeaders } from "../RequestHeaders";
|
|
3
4
|
import { RequestRequestOptions } from "../RequestRequestOptions";
|
|
@@ -687,6 +688,22 @@ export interface Endpoints {
|
|
|
687
688
|
request: ReposDisableVulnerabilityAlertsRequestOptions;
|
|
688
689
|
response: OctokitResponse<any>;
|
|
689
690
|
};
|
|
691
|
+
/**
|
|
692
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-group-from-an-enterprise
|
|
693
|
+
*/
|
|
694
|
+
"DELETE /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
695
|
+
parameters: EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint;
|
|
696
|
+
request: EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions;
|
|
697
|
+
response: OctokitResponse<any>;
|
|
698
|
+
};
|
|
699
|
+
/**
|
|
700
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-user-from-an-enterprise
|
|
701
|
+
*/
|
|
702
|
+
"DELETE /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
703
|
+
parameters: EnterpriseAdminDeleteUserFromEnterpriseEndpoint;
|
|
704
|
+
request: EnterpriseAdminDeleteUserFromEnterpriseRequestOptions;
|
|
705
|
+
response: OctokitResponse<any>;
|
|
706
|
+
};
|
|
690
707
|
/**
|
|
691
708
|
* @see https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization
|
|
692
709
|
*/
|
|
@@ -2855,6 +2872,38 @@ export interface Endpoints {
|
|
|
2855
2872
|
request: ReposListPublicRequestOptions;
|
|
2856
2873
|
response: OctokitResponse<ReposListPublicResponseData>;
|
|
2857
2874
|
};
|
|
2875
|
+
/**
|
|
2876
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#list-provisioned-scim groups-for-an-enterprise
|
|
2877
|
+
*/
|
|
2878
|
+
"GET /scim/v2/enterprises/:enterprise/Groups": {
|
|
2879
|
+
parameters: EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint;
|
|
2880
|
+
request: EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions;
|
|
2881
|
+
response: OctokitResponse<EnterpriseAdminListProvisionedGroupsEnterpriseResponseData>;
|
|
2882
|
+
};
|
|
2883
|
+
/**
|
|
2884
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise group
|
|
2885
|
+
*/
|
|
2886
|
+
"GET /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
2887
|
+
parameters: EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint;
|
|
2888
|
+
request: EnterpriseAdminGetProvisioningInformationForEnterpriseGroupRequestOptions;
|
|
2889
|
+
response: OctokitResponse<EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponseData>;
|
|
2890
|
+
};
|
|
2891
|
+
/**
|
|
2892
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#list-scim-provisioned-identities-for-an-enterprise
|
|
2893
|
+
*/
|
|
2894
|
+
"GET /scim/v2/enterprises/:enterprise/Users": {
|
|
2895
|
+
parameters: EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint;
|
|
2896
|
+
request: EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions;
|
|
2897
|
+
response: OctokitResponse<EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData>;
|
|
2898
|
+
};
|
|
2899
|
+
/**
|
|
2900
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise-user
|
|
2901
|
+
*/
|
|
2902
|
+
"GET /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
2903
|
+
parameters: EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint;
|
|
2904
|
+
request: EnterpriseAdminGetProvisioningInformationForEnterpriseUserRequestOptions;
|
|
2905
|
+
response: OctokitResponse<EnterpriseAdminGetProvisioningInformationForEnterpriseUserResponseData>;
|
|
2906
|
+
};
|
|
2858
2907
|
/**
|
|
2859
2908
|
* @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities
|
|
2860
2909
|
*/
|
|
@@ -3071,14 +3120,6 @@ export interface Endpoints {
|
|
|
3071
3120
|
request: UsersGetAuthenticatedRequestOptions;
|
|
3072
3121
|
response: OctokitResponse<UsersGetAuthenticatedResponseData>;
|
|
3073
3122
|
};
|
|
3074
|
-
/**
|
|
3075
|
-
* @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration
|
|
3076
|
-
*/
|
|
3077
|
-
"GET /user/:migration_id/repositories": {
|
|
3078
|
-
parameters: MigrationsListReposForUserEndpoint;
|
|
3079
|
-
request: MigrationsListReposForUserRequestOptions;
|
|
3080
|
-
response: OctokitResponse<MigrationsListReposForUserResponseData>;
|
|
3081
|
-
};
|
|
3082
3123
|
/**
|
|
3083
3124
|
* @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user
|
|
3084
3125
|
*/
|
|
@@ -3239,6 +3280,14 @@ export interface Endpoints {
|
|
|
3239
3280
|
request: MigrationsGetArchiveForAuthenticatedUserRequestOptions;
|
|
3240
3281
|
response: OctokitResponse<any>;
|
|
3241
3282
|
};
|
|
3283
|
+
/**
|
|
3284
|
+
* @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration
|
|
3285
|
+
*/
|
|
3286
|
+
"GET /user/migrations/:migration_id/repositories": {
|
|
3287
|
+
parameters: MigrationsListReposForUserEndpoint;
|
|
3288
|
+
request: MigrationsListReposForUserRequestOptions;
|
|
3289
|
+
response: OctokitResponse<MigrationsListReposForUserResponseData>;
|
|
3290
|
+
};
|
|
3242
3291
|
/**
|
|
3243
3292
|
* @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user
|
|
3244
3293
|
*/
|
|
@@ -3759,6 +3808,22 @@ export interface Endpoints {
|
|
|
3759
3808
|
request: ReposUpdateReleaseAssetRequestOptions;
|
|
3760
3809
|
response: OctokitResponse<ReposUpdateReleaseAssetResponseData>;
|
|
3761
3810
|
};
|
|
3811
|
+
/**
|
|
3812
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-group
|
|
3813
|
+
*/
|
|
3814
|
+
"PATCH /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
3815
|
+
parameters: EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint;
|
|
3816
|
+
request: EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions;
|
|
3817
|
+
response: OctokitResponse<EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData>;
|
|
3818
|
+
};
|
|
3819
|
+
/**
|
|
3820
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-user
|
|
3821
|
+
*/
|
|
3822
|
+
"PATCH /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
3823
|
+
parameters: EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint;
|
|
3824
|
+
request: EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions;
|
|
3825
|
+
response: OctokitResponse<EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData>;
|
|
3826
|
+
};
|
|
3762
3827
|
/**
|
|
3763
3828
|
* @see https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user
|
|
3764
3829
|
*/
|
|
@@ -4479,6 +4544,22 @@ export interface Endpoints {
|
|
|
4479
4544
|
request: ReposCreateUsingTemplateRequestOptions;
|
|
4480
4545
|
response: OctokitResponse<ReposCreateUsingTemplateResponseData>;
|
|
4481
4546
|
};
|
|
4547
|
+
/**
|
|
4548
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#provision-a-scim-enterprise-group-and-invite-users
|
|
4549
|
+
*/
|
|
4550
|
+
"POST /scim/v2/enterprises/:enterprise/Groups": {
|
|
4551
|
+
parameters: EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint;
|
|
4552
|
+
request: EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions;
|
|
4553
|
+
response: OctokitResponse<EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData>;
|
|
4554
|
+
};
|
|
4555
|
+
/**
|
|
4556
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#provision-and-invite-a-scim-enterprise-user
|
|
4557
|
+
*/
|
|
4558
|
+
"POST /scim/v2/enterprises/:enterprise/Users": {
|
|
4559
|
+
parameters: EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint;
|
|
4560
|
+
request: EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions;
|
|
4561
|
+
response: OctokitResponse<EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData>;
|
|
4562
|
+
};
|
|
4482
4563
|
/**
|
|
4483
4564
|
* @see https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user
|
|
4484
4565
|
*/
|
|
@@ -4887,6 +4968,22 @@ export interface Endpoints {
|
|
|
4887
4968
|
request: ReposEnableVulnerabilityAlertsRequestOptions;
|
|
4888
4969
|
response: OctokitResponse<any>;
|
|
4889
4970
|
};
|
|
4971
|
+
/**
|
|
4972
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-group
|
|
4973
|
+
*/
|
|
4974
|
+
"PUT /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
4975
|
+
parameters: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint;
|
|
4976
|
+
request: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions;
|
|
4977
|
+
response: OctokitResponse<EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData>;
|
|
4978
|
+
};
|
|
4979
|
+
/**
|
|
4980
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-user
|
|
4981
|
+
*/
|
|
4982
|
+
"PUT /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
4983
|
+
parameters: EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint;
|
|
4984
|
+
request: EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions;
|
|
4985
|
+
response: OctokitResponse<EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData>;
|
|
4986
|
+
};
|
|
4890
4987
|
/**
|
|
4891
4988
|
* @see https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user
|
|
4892
4989
|
*/
|
|
@@ -6003,7 +6100,7 @@ declare type ActionsListWorkflowRunsEndpoint = {
|
|
|
6003
6100
|
*/
|
|
6004
6101
|
branch?: string;
|
|
6005
6102
|
/**
|
|
6006
|
-
* Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://
|
|
6103
|
+
* Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)."
|
|
6007
6104
|
*/
|
|
6008
6105
|
event?: string;
|
|
6009
6106
|
/**
|
|
@@ -6212,7 +6309,7 @@ declare type ActionsListWorkflowRunsForRepoEndpoint = {
|
|
|
6212
6309
|
*/
|
|
6213
6310
|
branch?: string;
|
|
6214
6311
|
/**
|
|
6215
|
-
* Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://
|
|
6312
|
+
* Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)."
|
|
6216
6313
|
*/
|
|
6217
6314
|
event?: string;
|
|
6218
6315
|
/**
|
|
@@ -11145,6 +11242,452 @@ declare type EmojisGetRequestOptions = {
|
|
|
11145
11242
|
headers: RequestHeaders;
|
|
11146
11243
|
request: RequestRequestOptions;
|
|
11147
11244
|
};
|
|
11245
|
+
declare type EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint = {
|
|
11246
|
+
enterprise: string;
|
|
11247
|
+
/**
|
|
11248
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11249
|
+
*/
|
|
11250
|
+
scim_group_id: string;
|
|
11251
|
+
};
|
|
11252
|
+
declare type EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions = {
|
|
11253
|
+
method: "DELETE";
|
|
11254
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11255
|
+
headers: RequestHeaders;
|
|
11256
|
+
request: RequestRequestOptions;
|
|
11257
|
+
};
|
|
11258
|
+
declare type EnterpriseAdminDeleteUserFromEnterpriseEndpoint = {
|
|
11259
|
+
enterprise: string;
|
|
11260
|
+
/**
|
|
11261
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11262
|
+
*/
|
|
11263
|
+
scim_user_id: string;
|
|
11264
|
+
};
|
|
11265
|
+
declare type EnterpriseAdminDeleteUserFromEnterpriseRequestOptions = {
|
|
11266
|
+
method: "DELETE";
|
|
11267
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11268
|
+
headers: RequestHeaders;
|
|
11269
|
+
request: RequestRequestOptions;
|
|
11270
|
+
};
|
|
11271
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint = {
|
|
11272
|
+
enterprise: string;
|
|
11273
|
+
/**
|
|
11274
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11275
|
+
*/
|
|
11276
|
+
scim_group_id: string;
|
|
11277
|
+
};
|
|
11278
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupRequestOptions = {
|
|
11279
|
+
method: "GET";
|
|
11280
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11281
|
+
headers: RequestHeaders;
|
|
11282
|
+
request: RequestRequestOptions;
|
|
11283
|
+
};
|
|
11284
|
+
export interface EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponseData {
|
|
11285
|
+
schemas: string[];
|
|
11286
|
+
id: string;
|
|
11287
|
+
externalId: string;
|
|
11288
|
+
displayName: string;
|
|
11289
|
+
members: {
|
|
11290
|
+
value: string;
|
|
11291
|
+
$ref: string;
|
|
11292
|
+
display: string;
|
|
11293
|
+
}[];
|
|
11294
|
+
meta: {
|
|
11295
|
+
resourceType: string;
|
|
11296
|
+
created: string;
|
|
11297
|
+
lastModified: string;
|
|
11298
|
+
location: string;
|
|
11299
|
+
};
|
|
11300
|
+
}
|
|
11301
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint = {
|
|
11302
|
+
enterprise: string;
|
|
11303
|
+
/**
|
|
11304
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11305
|
+
*/
|
|
11306
|
+
scim_user_id: string;
|
|
11307
|
+
};
|
|
11308
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseUserRequestOptions = {
|
|
11309
|
+
method: "GET";
|
|
11310
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11311
|
+
headers: RequestHeaders;
|
|
11312
|
+
request: RequestRequestOptions;
|
|
11313
|
+
};
|
|
11314
|
+
export interface EnterpriseAdminGetProvisioningInformationForEnterpriseUserResponseData {
|
|
11315
|
+
schemas: string[];
|
|
11316
|
+
id: string;
|
|
11317
|
+
externalId: string;
|
|
11318
|
+
userName: string;
|
|
11319
|
+
name: {
|
|
11320
|
+
givenName: string;
|
|
11321
|
+
familyName: string;
|
|
11322
|
+
};
|
|
11323
|
+
emails: {
|
|
11324
|
+
value: string;
|
|
11325
|
+
type: string;
|
|
11326
|
+
primary: boolean;
|
|
11327
|
+
}[];
|
|
11328
|
+
groups: {
|
|
11329
|
+
value: string;
|
|
11330
|
+
}[];
|
|
11331
|
+
active: boolean;
|
|
11332
|
+
meta: {
|
|
11333
|
+
resourceType: string;
|
|
11334
|
+
created: string;
|
|
11335
|
+
lastModified: string;
|
|
11336
|
+
location: string;
|
|
11337
|
+
};
|
|
11338
|
+
}
|
|
11339
|
+
declare type EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint = {
|
|
11340
|
+
enterprise: string;
|
|
11341
|
+
/**
|
|
11342
|
+
* Used for pagination: the index of the first result to return.
|
|
11343
|
+
*/
|
|
11344
|
+
startIndex?: number;
|
|
11345
|
+
/**
|
|
11346
|
+
* Used for pagination: the number of results to return.
|
|
11347
|
+
*/
|
|
11348
|
+
count?: number;
|
|
11349
|
+
};
|
|
11350
|
+
declare type EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions = {
|
|
11351
|
+
method: "GET";
|
|
11352
|
+
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
11353
|
+
headers: RequestHeaders;
|
|
11354
|
+
request: RequestRequestOptions;
|
|
11355
|
+
};
|
|
11356
|
+
export interface EnterpriseAdminListProvisionedGroupsEnterpriseResponseData {
|
|
11357
|
+
schemas: string[];
|
|
11358
|
+
totalResults: number;
|
|
11359
|
+
itemsPerPage: number;
|
|
11360
|
+
startIndex: number;
|
|
11361
|
+
Resources: {
|
|
11362
|
+
schemas: string[];
|
|
11363
|
+
id: string;
|
|
11364
|
+
externalId: string;
|
|
11365
|
+
displayName: string;
|
|
11366
|
+
members: {
|
|
11367
|
+
value: string;
|
|
11368
|
+
$ref: string;
|
|
11369
|
+
display: string;
|
|
11370
|
+
}[];
|
|
11371
|
+
meta: {
|
|
11372
|
+
resourceType: string;
|
|
11373
|
+
created: string;
|
|
11374
|
+
lastModified: string;
|
|
11375
|
+
location: string;
|
|
11376
|
+
};
|
|
11377
|
+
}[];
|
|
11378
|
+
}
|
|
11379
|
+
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint = {
|
|
11380
|
+
enterprise: string;
|
|
11381
|
+
/**
|
|
11382
|
+
* Used for pagination: the index of the first result to return.
|
|
11383
|
+
*/
|
|
11384
|
+
startIndex?: number;
|
|
11385
|
+
/**
|
|
11386
|
+
* Used for pagination: the number of results to return.
|
|
11387
|
+
*/
|
|
11388
|
+
count?: number;
|
|
11389
|
+
};
|
|
11390
|
+
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions = {
|
|
11391
|
+
method: "GET";
|
|
11392
|
+
url: "/scim/v2/enterprises/:enterprise/Users";
|
|
11393
|
+
headers: RequestHeaders;
|
|
11394
|
+
request: RequestRequestOptions;
|
|
11395
|
+
};
|
|
11396
|
+
export interface EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData {
|
|
11397
|
+
schemas: string[];
|
|
11398
|
+
totalResults: number;
|
|
11399
|
+
itemsPerPage: number;
|
|
11400
|
+
startIndex: number;
|
|
11401
|
+
Resources: {
|
|
11402
|
+
schemas: string[];
|
|
11403
|
+
id: string;
|
|
11404
|
+
externalId: string;
|
|
11405
|
+
userName: string;
|
|
11406
|
+
name: {
|
|
11407
|
+
givenName: string;
|
|
11408
|
+
familyName: string;
|
|
11409
|
+
};
|
|
11410
|
+
emails: {
|
|
11411
|
+
value: string;
|
|
11412
|
+
primary: boolean;
|
|
11413
|
+
type: string;
|
|
11414
|
+
}[];
|
|
11415
|
+
groups: {
|
|
11416
|
+
value: string;
|
|
11417
|
+
}[];
|
|
11418
|
+
active: boolean;
|
|
11419
|
+
meta: {
|
|
11420
|
+
resourceType: string;
|
|
11421
|
+
created: string;
|
|
11422
|
+
lastModified: string;
|
|
11423
|
+
location: string;
|
|
11424
|
+
};
|
|
11425
|
+
}[];
|
|
11426
|
+
}
|
|
11427
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint = {
|
|
11428
|
+
enterprise: string;
|
|
11429
|
+
/**
|
|
11430
|
+
* The SCIM schema URIs.
|
|
11431
|
+
*/
|
|
11432
|
+
schemas: string[];
|
|
11433
|
+
/**
|
|
11434
|
+
* The name of the SCIM group. This must match the GitHub organization that the group maps to.
|
|
11435
|
+
*/
|
|
11436
|
+
displayName: string;
|
|
11437
|
+
members?: EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers[];
|
|
11438
|
+
};
|
|
11439
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions = {
|
|
11440
|
+
method: "POST";
|
|
11441
|
+
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
11442
|
+
headers: RequestHeaders;
|
|
11443
|
+
request: RequestRequestOptions;
|
|
11444
|
+
};
|
|
11445
|
+
export interface EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData {
|
|
11446
|
+
schemas: string[];
|
|
11447
|
+
id: string;
|
|
11448
|
+
externalId: string;
|
|
11449
|
+
displayName: string;
|
|
11450
|
+
members: {
|
|
11451
|
+
value: string;
|
|
11452
|
+
$ref: string;
|
|
11453
|
+
display: string;
|
|
11454
|
+
}[];
|
|
11455
|
+
meta: {
|
|
11456
|
+
resourceType: string;
|
|
11457
|
+
created: string;
|
|
11458
|
+
lastModified: string;
|
|
11459
|
+
location: string;
|
|
11460
|
+
};
|
|
11461
|
+
}
|
|
11462
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint = {
|
|
11463
|
+
enterprise: string;
|
|
11464
|
+
/**
|
|
11465
|
+
* The SCIM schema URIs.
|
|
11466
|
+
*/
|
|
11467
|
+
schemas: string[];
|
|
11468
|
+
/**
|
|
11469
|
+
* The username for the user.
|
|
11470
|
+
*/
|
|
11471
|
+
userName: string;
|
|
11472
|
+
name: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName;
|
|
11473
|
+
/**
|
|
11474
|
+
* List of user emails.
|
|
11475
|
+
*/
|
|
11476
|
+
emails: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails[];
|
|
11477
|
+
/**
|
|
11478
|
+
* List of SCIM group IDs the user is a member of.
|
|
11479
|
+
*/
|
|
11480
|
+
groups?: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups[];
|
|
11481
|
+
};
|
|
11482
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions = {
|
|
11483
|
+
method: "POST";
|
|
11484
|
+
url: "/scim/v2/enterprises/:enterprise/Users";
|
|
11485
|
+
headers: RequestHeaders;
|
|
11486
|
+
request: RequestRequestOptions;
|
|
11487
|
+
};
|
|
11488
|
+
export interface EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData {
|
|
11489
|
+
schemas: string[];
|
|
11490
|
+
id: string;
|
|
11491
|
+
externalId: string;
|
|
11492
|
+
userName: string;
|
|
11493
|
+
name: {
|
|
11494
|
+
givenName: string;
|
|
11495
|
+
familyName: string;
|
|
11496
|
+
};
|
|
11497
|
+
emails: {
|
|
11498
|
+
value: string;
|
|
11499
|
+
type: string;
|
|
11500
|
+
primary: boolean;
|
|
11501
|
+
}[];
|
|
11502
|
+
groups: {
|
|
11503
|
+
value: string;
|
|
11504
|
+
}[];
|
|
11505
|
+
active: boolean;
|
|
11506
|
+
meta: {
|
|
11507
|
+
resourceType: string;
|
|
11508
|
+
created: string;
|
|
11509
|
+
lastModified: string;
|
|
11510
|
+
location: string;
|
|
11511
|
+
};
|
|
11512
|
+
}
|
|
11513
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint = {
|
|
11514
|
+
enterprise: string;
|
|
11515
|
+
/**
|
|
11516
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11517
|
+
*/
|
|
11518
|
+
scim_group_id: string;
|
|
11519
|
+
/**
|
|
11520
|
+
* The SCIM schema URIs.
|
|
11521
|
+
*/
|
|
11522
|
+
schemas: string[];
|
|
11523
|
+
/**
|
|
11524
|
+
* The name of the SCIM group. This must match the GitHub organization that the group maps to.
|
|
11525
|
+
*/
|
|
11526
|
+
displayName: string;
|
|
11527
|
+
members?: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers[];
|
|
11528
|
+
};
|
|
11529
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions = {
|
|
11530
|
+
method: "PUT";
|
|
11531
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11532
|
+
headers: RequestHeaders;
|
|
11533
|
+
request: RequestRequestOptions;
|
|
11534
|
+
};
|
|
11535
|
+
export interface EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData {
|
|
11536
|
+
schemas: string[];
|
|
11537
|
+
id: string;
|
|
11538
|
+
externalId: string;
|
|
11539
|
+
displayName: string;
|
|
11540
|
+
members: {
|
|
11541
|
+
value: string;
|
|
11542
|
+
$ref: string;
|
|
11543
|
+
display: string;
|
|
11544
|
+
}[];
|
|
11545
|
+
meta: {
|
|
11546
|
+
resourceType: string;
|
|
11547
|
+
created: string;
|
|
11548
|
+
lastModified: string;
|
|
11549
|
+
location: string;
|
|
11550
|
+
};
|
|
11551
|
+
}
|
|
11552
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint = {
|
|
11553
|
+
enterprise: string;
|
|
11554
|
+
/**
|
|
11555
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11556
|
+
*/
|
|
11557
|
+
scim_user_id: string;
|
|
11558
|
+
/**
|
|
11559
|
+
* The SCIM schema URIs.
|
|
11560
|
+
*/
|
|
11561
|
+
schemas: string[];
|
|
11562
|
+
/**
|
|
11563
|
+
* The username for the user.
|
|
11564
|
+
*/
|
|
11565
|
+
userName: string;
|
|
11566
|
+
name: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName;
|
|
11567
|
+
/**
|
|
11568
|
+
* List of user emails.
|
|
11569
|
+
*/
|
|
11570
|
+
emails: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails[];
|
|
11571
|
+
/**
|
|
11572
|
+
* List of SCIM group IDs the user is a member of.
|
|
11573
|
+
*/
|
|
11574
|
+
groups?: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups[];
|
|
11575
|
+
};
|
|
11576
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions = {
|
|
11577
|
+
method: "PUT";
|
|
11578
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11579
|
+
headers: RequestHeaders;
|
|
11580
|
+
request: RequestRequestOptions;
|
|
11581
|
+
};
|
|
11582
|
+
export interface EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData {
|
|
11583
|
+
schemas: string[];
|
|
11584
|
+
id: string;
|
|
11585
|
+
externalId: string;
|
|
11586
|
+
userName: string;
|
|
11587
|
+
name: {
|
|
11588
|
+
givenName: string;
|
|
11589
|
+
familyName: string;
|
|
11590
|
+
};
|
|
11591
|
+
emails: {
|
|
11592
|
+
value: string;
|
|
11593
|
+
type: string;
|
|
11594
|
+
primary: boolean;
|
|
11595
|
+
}[];
|
|
11596
|
+
groups: {
|
|
11597
|
+
value: string;
|
|
11598
|
+
}[];
|
|
11599
|
+
active: boolean;
|
|
11600
|
+
meta: {
|
|
11601
|
+
resourceType: string;
|
|
11602
|
+
created: string;
|
|
11603
|
+
lastModified: string;
|
|
11604
|
+
location: string;
|
|
11605
|
+
};
|
|
11606
|
+
}
|
|
11607
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint = {
|
|
11608
|
+
enterprise: string;
|
|
11609
|
+
/**
|
|
11610
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11611
|
+
*/
|
|
11612
|
+
scim_group_id: string;
|
|
11613
|
+
/**
|
|
11614
|
+
* The SCIM schema URIs.
|
|
11615
|
+
*/
|
|
11616
|
+
schemas: string[];
|
|
11617
|
+
/**
|
|
11618
|
+
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11619
|
+
*/
|
|
11620
|
+
Operations: EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations[];
|
|
11621
|
+
};
|
|
11622
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions = {
|
|
11623
|
+
method: "PATCH";
|
|
11624
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11625
|
+
headers: RequestHeaders;
|
|
11626
|
+
request: RequestRequestOptions;
|
|
11627
|
+
};
|
|
11628
|
+
export interface EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData {
|
|
11629
|
+
schemas: string[];
|
|
11630
|
+
id: string;
|
|
11631
|
+
externalId: string;
|
|
11632
|
+
displayName: string;
|
|
11633
|
+
members: {
|
|
11634
|
+
value: string;
|
|
11635
|
+
$ref: string;
|
|
11636
|
+
display: string;
|
|
11637
|
+
}[];
|
|
11638
|
+
meta: {
|
|
11639
|
+
resourceType: string;
|
|
11640
|
+
created: string;
|
|
11641
|
+
lastModified: string;
|
|
11642
|
+
location: string;
|
|
11643
|
+
};
|
|
11644
|
+
}
|
|
11645
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint = {
|
|
11646
|
+
enterprise: string;
|
|
11647
|
+
/**
|
|
11648
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11649
|
+
*/
|
|
11650
|
+
scim_user_id: string;
|
|
11651
|
+
/**
|
|
11652
|
+
* The SCIM schema URIs.
|
|
11653
|
+
*/
|
|
11654
|
+
schemas: string[];
|
|
11655
|
+
/**
|
|
11656
|
+
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11657
|
+
*/
|
|
11658
|
+
Operations: EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations[];
|
|
11659
|
+
};
|
|
11660
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions = {
|
|
11661
|
+
method: "PATCH";
|
|
11662
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11663
|
+
headers: RequestHeaders;
|
|
11664
|
+
request: RequestRequestOptions;
|
|
11665
|
+
};
|
|
11666
|
+
export interface EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData {
|
|
11667
|
+
schemas: string[];
|
|
11668
|
+
id: string;
|
|
11669
|
+
externalId: string;
|
|
11670
|
+
userName: string;
|
|
11671
|
+
name: {
|
|
11672
|
+
givenName: string;
|
|
11673
|
+
familyName: string;
|
|
11674
|
+
};
|
|
11675
|
+
emails: {
|
|
11676
|
+
value: string;
|
|
11677
|
+
type: string;
|
|
11678
|
+
primary: boolean;
|
|
11679
|
+
}[];
|
|
11680
|
+
groups: {
|
|
11681
|
+
value: string;
|
|
11682
|
+
}[];
|
|
11683
|
+
active: boolean;
|
|
11684
|
+
meta: {
|
|
11685
|
+
resourceType: string;
|
|
11686
|
+
created: string;
|
|
11687
|
+
lastModified: string;
|
|
11688
|
+
location: string;
|
|
11689
|
+
};
|
|
11690
|
+
}
|
|
11148
11691
|
declare type GistsCheckIsStarredEndpoint = {
|
|
11149
11692
|
gist_id: string;
|
|
11150
11693
|
};
|
|
@@ -16913,7 +17456,7 @@ declare type MigrationsListReposForUserEndpoint = {
|
|
|
16913
17456
|
} & RequiredPreview<"wyandotte">;
|
|
16914
17457
|
declare type MigrationsListReposForUserRequestOptions = {
|
|
16915
17458
|
method: "GET";
|
|
16916
|
-
url: "/user/:migration_id/repositories";
|
|
17459
|
+
url: "/user/migrations/:migration_id/repositories";
|
|
16917
17460
|
headers: RequestHeaders;
|
|
16918
17461
|
request: RequestRequestOptions;
|
|
16919
17462
|
};
|
|
@@ -18892,21 +19435,21 @@ declare type OrgsUpdateEndpoint = {
|
|
|
18892
19435
|
* Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of:
|
|
18893
19436
|
* \* `true` - all organization members can create internal repositories.
|
|
18894
19437
|
* \* `false` - only organization owners can create internal repositories.
|
|
18895
|
-
* Default: `true`. For more information, see "[Restricting repository creation in your organization](https://
|
|
19438
|
+
* Default: `true`. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)".
|
|
18896
19439
|
*/
|
|
18897
19440
|
members_can_create_internal_repositories?: boolean;
|
|
18898
19441
|
/**
|
|
18899
19442
|
* Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of:
|
|
18900
19443
|
* \* `true` - all organization members can create private repositories.
|
|
18901
19444
|
* \* `false` - only organization owners can create private repositories.
|
|
18902
|
-
* Default: `true`. For more information, see "[Restricting repository creation in your organization](https://
|
|
19445
|
+
* Default: `true`. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)".
|
|
18903
19446
|
*/
|
|
18904
19447
|
members_can_create_private_repositories?: boolean;
|
|
18905
19448
|
/**
|
|
18906
19449
|
* Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of:
|
|
18907
19450
|
* \* `true` - all organization members can create public repositories.
|
|
18908
19451
|
* \* `false` - only organization owners can create public repositories.
|
|
18909
|
-
* Default: `true`. For more information, see "[Restricting repository creation in your organization](https://
|
|
19452
|
+
* Default: `true`. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)".
|
|
18910
19453
|
*/
|
|
18911
19454
|
members_can_create_public_repositories?: boolean;
|
|
18912
19455
|
/**
|
|
@@ -19981,11 +20524,11 @@ declare type PullsCreateEndpoint = {
|
|
|
19981
20524
|
*/
|
|
19982
20525
|
body?: string;
|
|
19983
20526
|
/**
|
|
19984
|
-
* Indicates whether [maintainers can modify](https://
|
|
20527
|
+
* Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
|
|
19985
20528
|
*/
|
|
19986
20529
|
maintainer_can_modify?: boolean;
|
|
19987
20530
|
/**
|
|
19988
|
-
* Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://
|
|
20531
|
+
* Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://docs.github.com/en/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more.
|
|
19989
20532
|
*/
|
|
19990
20533
|
draft?: boolean;
|
|
19991
20534
|
};
|
|
@@ -20645,7 +21188,7 @@ declare type PullsCreateReviewCommentEndpoint = {
|
|
|
20645
21188
|
*/
|
|
20646
21189
|
position?: number;
|
|
20647
21190
|
/**
|
|
20648
|
-
* **Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://
|
|
21191
|
+
* **Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://docs.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)".
|
|
20649
21192
|
*/
|
|
20650
21193
|
side?: "LEFT" | "RIGHT";
|
|
20651
21194
|
/**
|
|
@@ -20653,11 +21196,11 @@ declare type PullsCreateReviewCommentEndpoint = {
|
|
|
20653
21196
|
*/
|
|
20654
21197
|
line?: number;
|
|
20655
21198
|
/**
|
|
20656
|
-
* **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://
|
|
21199
|
+
* **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)".
|
|
20657
21200
|
*/
|
|
20658
21201
|
start_line?: number;
|
|
20659
21202
|
/**
|
|
20660
|
-
* **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://
|
|
21203
|
+
* **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)". See `side` in this table for additional context.
|
|
20661
21204
|
*/
|
|
20662
21205
|
start_side?: "LEFT" | "RIGHT" | "side";
|
|
20663
21206
|
};
|
|
@@ -23057,7 +23600,7 @@ declare type PullsUpdateEndpoint = {
|
|
|
23057
23600
|
*/
|
|
23058
23601
|
base?: string;
|
|
23059
23602
|
/**
|
|
23060
|
-
* Indicates whether [maintainers can modify](https://
|
|
23603
|
+
* Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
|
|
23061
23604
|
*/
|
|
23062
23605
|
maintainer_can_modify?: boolean;
|
|
23063
23606
|
};
|
|
@@ -25248,7 +25791,7 @@ declare type ReposCreateDeployKeyEndpoint = {
|
|
|
25248
25791
|
/**
|
|
25249
25792
|
* If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write.
|
|
25250
25793
|
*
|
|
25251
|
-
* Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://
|
|
25794
|
+
* Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://docs.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://docs.github.com/articles/permission-levels-for-a-user-account-repository/)."
|
|
25252
25795
|
*/
|
|
25253
25796
|
read_only?: boolean;
|
|
25254
25797
|
};
|
|
@@ -25475,7 +26018,7 @@ declare type ReposCreateForAuthenticatedUserEndpoint = {
|
|
|
25475
26018
|
*/
|
|
25476
26019
|
private?: boolean;
|
|
25477
26020
|
/**
|
|
25478
|
-
* Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://
|
|
26021
|
+
* Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)".
|
|
25479
26022
|
* The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.
|
|
25480
26023
|
*/
|
|
25481
26024
|
visibility?: "public" | "private" | "visibility" | "internal";
|
|
@@ -25508,7 +26051,7 @@ declare type ReposCreateForAuthenticatedUserEndpoint = {
|
|
|
25508
26051
|
*/
|
|
25509
26052
|
gitignore_template?: string;
|
|
25510
26053
|
/**
|
|
25511
|
-
* Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://
|
|
26054
|
+
* Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".
|
|
25512
26055
|
*/
|
|
25513
26056
|
license_template?: string;
|
|
25514
26057
|
/**
|
|
@@ -25783,7 +26326,7 @@ declare type ReposCreateInOrgEndpoint = {
|
|
|
25783
26326
|
*/
|
|
25784
26327
|
private?: boolean;
|
|
25785
26328
|
/**
|
|
25786
|
-
* Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://
|
|
26329
|
+
* Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)".
|
|
25787
26330
|
* The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.
|
|
25788
26331
|
*/
|
|
25789
26332
|
visibility?: "public" | "private" | "visibility" | "internal";
|
|
@@ -25816,7 +26359,7 @@ declare type ReposCreateInOrgEndpoint = {
|
|
|
25816
26359
|
*/
|
|
25817
26360
|
gitignore_template?: string;
|
|
25818
26361
|
/**
|
|
25819
|
-
* Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://
|
|
26362
|
+
* Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".
|
|
25820
26363
|
*/
|
|
25821
26364
|
license_template?: string;
|
|
25822
26365
|
/**
|
|
@@ -31416,7 +31959,7 @@ declare type ReposUpdateEndpoint = {
|
|
|
31416
31959
|
homepage?: string;
|
|
31417
31960
|
/**
|
|
31418
31961
|
* Either `true` to make the repository private or `false` to make it public. Default: `false`.
|
|
31419
|
-
* **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://
|
|
31962
|
+
* **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.
|
|
31420
31963
|
*/
|
|
31421
31964
|
private?: boolean;
|
|
31422
31965
|
/**
|
|
@@ -31837,15 +32380,15 @@ declare type ReposUpdateBranchProtectionEndpoint = {
|
|
|
31837
32380
|
*/
|
|
31838
32381
|
restrictions: ReposUpdateBranchProtectionParamsRestrictions | null;
|
|
31839
32382
|
/**
|
|
31840
|
-
* Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://
|
|
32383
|
+
* Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)".
|
|
31841
32384
|
*/
|
|
31842
32385
|
required_linear_history?: boolean;
|
|
31843
32386
|
/**
|
|
31844
|
-
* Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://
|
|
32387
|
+
* Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)".
|
|
31845
32388
|
*/
|
|
31846
32389
|
allow_force_pushes?: boolean | null;
|
|
31847
32390
|
/**
|
|
31848
|
-
* Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://
|
|
32391
|
+
* Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)".
|
|
31849
32392
|
*/
|
|
31850
32393
|
allow_deletions?: boolean;
|
|
31851
32394
|
};
|
|
@@ -32050,7 +32593,7 @@ declare type ReposUpdateInformationAboutPagesSiteEndpoint = {
|
|
|
32050
32593
|
owner: string;
|
|
32051
32594
|
repo: string;
|
|
32052
32595
|
/**
|
|
32053
|
-
* Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://
|
|
32596
|
+
* Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/)."
|
|
32054
32597
|
*/
|
|
32055
32598
|
cname?: string;
|
|
32056
32599
|
/**
|
|
@@ -32207,7 +32750,7 @@ declare type ReposUpdatePullRequestReviewProtectionEndpoint = {
|
|
|
32207
32750
|
*/
|
|
32208
32751
|
dismiss_stale_reviews?: boolean;
|
|
32209
32752
|
/**
|
|
32210
|
-
* Blocks merging pull requests until [code owners](https://
|
|
32753
|
+
* Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed.
|
|
32211
32754
|
*/
|
|
32212
32755
|
require_code_owner_reviews?: boolean;
|
|
32213
32756
|
/**
|
|
@@ -32530,7 +33073,7 @@ declare type ReposUploadReleaseAssetEndpoint = {
|
|
|
32530
33073
|
/**
|
|
32531
33074
|
* The raw file data
|
|
32532
33075
|
*/
|
|
32533
|
-
data: string;
|
|
33076
|
+
data: string | Buffer;
|
|
32534
33077
|
/**
|
|
32535
33078
|
* The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint
|
|
32536
33079
|
*/
|
|
@@ -32589,7 +33132,7 @@ declare type ScimDeleteUserFromOrgEndpoint = {
|
|
|
32589
33132
|
/**
|
|
32590
33133
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32591
33134
|
*/
|
|
32592
|
-
scim_user_id:
|
|
33135
|
+
scim_user_id: string;
|
|
32593
33136
|
};
|
|
32594
33137
|
declare type ScimDeleteUserFromOrgRequestOptions = {
|
|
32595
33138
|
method: "DELETE";
|
|
@@ -32602,7 +33145,7 @@ declare type ScimGetProvisioningInformationForUserEndpoint = {
|
|
|
32602
33145
|
/**
|
|
32603
33146
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32604
33147
|
*/
|
|
32605
|
-
scim_user_id:
|
|
33148
|
+
scim_user_id: string;
|
|
32606
33149
|
};
|
|
32607
33150
|
declare type ScimGetProvisioningInformationForUserRequestOptions = {
|
|
32608
33151
|
method: "GET";
|
|
@@ -32736,7 +33279,7 @@ declare type ScimSetInformationForProvisionedUserEndpoint = {
|
|
|
32736
33279
|
/**
|
|
32737
33280
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32738
33281
|
*/
|
|
32739
|
-
scim_user_id:
|
|
33282
|
+
scim_user_id: string;
|
|
32740
33283
|
/**
|
|
32741
33284
|
* The SCIM schema URIs.
|
|
32742
33285
|
*/
|
|
@@ -32784,7 +33327,7 @@ declare type ScimUpdateAttributeForUserEndpoint = {
|
|
|
32784
33327
|
/**
|
|
32785
33328
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32786
33329
|
*/
|
|
32787
|
-
scim_user_id:
|
|
33330
|
+
scim_user_id: string;
|
|
32788
33331
|
/**
|
|
32789
33332
|
* The SCIM schema URIs.
|
|
32790
33333
|
*/
|
|
@@ -32824,7 +33367,7 @@ export interface ScimUpdateAttributeForUserResponseData {
|
|
|
32824
33367
|
}
|
|
32825
33368
|
declare type SearchCodeEndpoint = {
|
|
32826
33369
|
/**
|
|
32827
|
-
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching code](https://
|
|
33370
|
+
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching code](https://docs.github.com/articles/searching-code/)" for a detailed list of qualifiers.
|
|
32828
33371
|
*/
|
|
32829
33372
|
q: string;
|
|
32830
33373
|
/**
|
|
@@ -32930,7 +33473,7 @@ export interface SearchCodeResponseData {
|
|
|
32930
33473
|
}
|
|
32931
33474
|
declare type SearchCommitsEndpoint = {
|
|
32932
33475
|
/**
|
|
32933
|
-
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching commits](https://
|
|
33476
|
+
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching commits](https://docs.github.com/articles/searching-commits/)" for a detailed list of qualifiers.
|
|
32934
33477
|
*/
|
|
32935
33478
|
q: string;
|
|
32936
33479
|
/**
|
|
@@ -33100,7 +33643,7 @@ export interface SearchCommitsResponseData {
|
|
|
33100
33643
|
}
|
|
33101
33644
|
declare type SearchIssuesAndPullRequestsEndpoint = {
|
|
33102
33645
|
/**
|
|
33103
|
-
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching issues and pull requests](https://
|
|
33646
|
+
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching issues and pull requests](https://docs.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers.
|
|
33104
33647
|
*/
|
|
33105
33648
|
q: string;
|
|
33106
33649
|
/**
|
|
@@ -33222,7 +33765,7 @@ export interface SearchLabelsResponseData {
|
|
|
33222
33765
|
}
|
|
33223
33766
|
declare type SearchReposEndpoint = {
|
|
33224
33767
|
/**
|
|
33225
|
-
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching for repositories](https://
|
|
33768
|
+
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers.
|
|
33226
33769
|
*/
|
|
33227
33770
|
q: string;
|
|
33228
33771
|
/**
|
|
@@ -33317,7 +33860,7 @@ export interface SearchTopicsResponseData {
|
|
|
33317
33860
|
}
|
|
33318
33861
|
declare type SearchUsersEndpoint = {
|
|
33319
33862
|
/**
|
|
33320
|
-
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching users](https://
|
|
33863
|
+
* The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching users](https://docs.github.com/articles/searching-users/)" for a detailed list of qualifiers.
|
|
33321
33864
|
*/
|
|
33322
33865
|
q: string;
|
|
33323
33866
|
/**
|
|
@@ -36611,7 +37154,7 @@ declare type UsersCheckPersonIsFollowedByAuthenticatedRequestOptions = {
|
|
|
36611
37154
|
};
|
|
36612
37155
|
declare type UsersCreateGpgKeyForAuthenticatedEndpoint = {
|
|
36613
37156
|
/**
|
|
36614
|
-
* Your GPG key, generated in ASCII-armored format. See "[Generating a new GPG key](https://
|
|
37157
|
+
* Your GPG key, generated in ASCII-armored format. See "[Generating a new GPG key](https://docs.github.com/articles/generating-a-new-gpg-key/)" for help creating a GPG key.
|
|
36615
37158
|
*/
|
|
36616
37159
|
armored_public_key?: string;
|
|
36617
37160
|
};
|
|
@@ -36657,7 +37200,7 @@ declare type UsersCreatePublicSshKeyForAuthenticatedEndpoint = {
|
|
|
36657
37200
|
*/
|
|
36658
37201
|
title?: string;
|
|
36659
37202
|
/**
|
|
36660
|
-
* The public SSH key to add to your GitHub account. See "[Generating a new SSH key](https://
|
|
37203
|
+
* The public SSH key to add to your GitHub account. See "[Generating a new SSH key](https://docs.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)" for guidance on how to create a public SSH key.
|
|
36661
37204
|
*/
|
|
36662
37205
|
key?: string;
|
|
36663
37206
|
};
|
|
@@ -37464,6 +38007,38 @@ declare type ChecksUpdateParamsActions = {
|
|
|
37464
38007
|
description: string;
|
|
37465
38008
|
identifier: string;
|
|
37466
38009
|
};
|
|
38010
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers = {
|
|
38011
|
+
value: string;
|
|
38012
|
+
};
|
|
38013
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName = {
|
|
38014
|
+
givenName: string;
|
|
38015
|
+
familyName: string;
|
|
38016
|
+
};
|
|
38017
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails = {
|
|
38018
|
+
value: string;
|
|
38019
|
+
type: string;
|
|
38020
|
+
primary: boolean;
|
|
38021
|
+
};
|
|
38022
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups = {
|
|
38023
|
+
value?: string;
|
|
38024
|
+
};
|
|
38025
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers = {
|
|
38026
|
+
value: string;
|
|
38027
|
+
};
|
|
38028
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName = {
|
|
38029
|
+
givenName: string;
|
|
38030
|
+
familyName: string;
|
|
38031
|
+
};
|
|
38032
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails = {
|
|
38033
|
+
value: string;
|
|
38034
|
+
type: string;
|
|
38035
|
+
primary: boolean;
|
|
38036
|
+
};
|
|
38037
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups = {
|
|
38038
|
+
value?: string;
|
|
38039
|
+
};
|
|
38040
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations = {};
|
|
38041
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations = {};
|
|
37467
38042
|
declare type GistsCreateParamsFiles = {
|
|
37468
38043
|
[key: string]: GistsCreateParamsFilesKeyString;
|
|
37469
38044
|
};
|
package/dist-web/index.js
CHANGED