@octokit/types 5.1.2 → 5.2.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.
- 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 +578 -4
- 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
|
+
export const VERSION = "5.2.0";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.2.0";
|
|
@@ -687,6 +687,22 @@ export interface Endpoints {
|
|
|
687
687
|
request: ReposDisableVulnerabilityAlertsRequestOptions;
|
|
688
688
|
response: OctokitResponse<any>;
|
|
689
689
|
};
|
|
690
|
+
/**
|
|
691
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-group-from-an-enterprise
|
|
692
|
+
*/
|
|
693
|
+
"DELETE /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
694
|
+
parameters: EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint;
|
|
695
|
+
request: EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions;
|
|
696
|
+
response: OctokitResponse<any>;
|
|
697
|
+
};
|
|
698
|
+
/**
|
|
699
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-user-from-an-enterprise
|
|
700
|
+
*/
|
|
701
|
+
"DELETE /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
702
|
+
parameters: EnterpriseAdminDeleteUserFromEnterpriseEndpoint;
|
|
703
|
+
request: EnterpriseAdminDeleteUserFromEnterpriseRequestOptions;
|
|
704
|
+
response: OctokitResponse<any>;
|
|
705
|
+
};
|
|
690
706
|
/**
|
|
691
707
|
* @see https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization
|
|
692
708
|
*/
|
|
@@ -2855,6 +2871,38 @@ export interface Endpoints {
|
|
|
2855
2871
|
request: ReposListPublicRequestOptions;
|
|
2856
2872
|
response: OctokitResponse<ReposListPublicResponseData>;
|
|
2857
2873
|
};
|
|
2874
|
+
/**
|
|
2875
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#list-provisioned-scim groups-for-an-enterprise
|
|
2876
|
+
*/
|
|
2877
|
+
"GET /scim/v2/enterprises/:enterprise/Groups": {
|
|
2878
|
+
parameters: EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint;
|
|
2879
|
+
request: EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions;
|
|
2880
|
+
response: OctokitResponse<EnterpriseAdminListProvisionedGroupsEnterpriseResponseData>;
|
|
2881
|
+
};
|
|
2882
|
+
/**
|
|
2883
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise group
|
|
2884
|
+
*/
|
|
2885
|
+
"GET /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
2886
|
+
parameters: EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint;
|
|
2887
|
+
request: EnterpriseAdminGetProvisioningInformationForEnterpriseGroupRequestOptions;
|
|
2888
|
+
response: OctokitResponse<EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponseData>;
|
|
2889
|
+
};
|
|
2890
|
+
/**
|
|
2891
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#list-scim-provisioned-identities-for-an-enterprise
|
|
2892
|
+
*/
|
|
2893
|
+
"GET /scim/v2/enterprises/:enterprise/Users": {
|
|
2894
|
+
parameters: EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint;
|
|
2895
|
+
request: EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions;
|
|
2896
|
+
response: OctokitResponse<EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData>;
|
|
2897
|
+
};
|
|
2898
|
+
/**
|
|
2899
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise-user
|
|
2900
|
+
*/
|
|
2901
|
+
"GET /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
2902
|
+
parameters: EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint;
|
|
2903
|
+
request: EnterpriseAdminGetProvisioningInformationForEnterpriseUserRequestOptions;
|
|
2904
|
+
response: OctokitResponse<EnterpriseAdminGetProvisioningInformationForEnterpriseUserResponseData>;
|
|
2905
|
+
};
|
|
2858
2906
|
/**
|
|
2859
2907
|
* @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities
|
|
2860
2908
|
*/
|
|
@@ -3759,6 +3807,22 @@ export interface Endpoints {
|
|
|
3759
3807
|
request: ReposUpdateReleaseAssetRequestOptions;
|
|
3760
3808
|
response: OctokitResponse<ReposUpdateReleaseAssetResponseData>;
|
|
3761
3809
|
};
|
|
3810
|
+
/**
|
|
3811
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-group
|
|
3812
|
+
*/
|
|
3813
|
+
"PATCH /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
3814
|
+
parameters: EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint;
|
|
3815
|
+
request: EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions;
|
|
3816
|
+
response: OctokitResponse<EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData>;
|
|
3817
|
+
};
|
|
3818
|
+
/**
|
|
3819
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-user
|
|
3820
|
+
*/
|
|
3821
|
+
"PATCH /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
3822
|
+
parameters: EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint;
|
|
3823
|
+
request: EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions;
|
|
3824
|
+
response: OctokitResponse<EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData>;
|
|
3825
|
+
};
|
|
3762
3826
|
/**
|
|
3763
3827
|
* @see https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user
|
|
3764
3828
|
*/
|
|
@@ -4479,6 +4543,22 @@ export interface Endpoints {
|
|
|
4479
4543
|
request: ReposCreateUsingTemplateRequestOptions;
|
|
4480
4544
|
response: OctokitResponse<ReposCreateUsingTemplateResponseData>;
|
|
4481
4545
|
};
|
|
4546
|
+
/**
|
|
4547
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#provision-a-scim-enterprise-group-and-invite-users
|
|
4548
|
+
*/
|
|
4549
|
+
"POST /scim/v2/enterprises/:enterprise/Groups": {
|
|
4550
|
+
parameters: EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint;
|
|
4551
|
+
request: EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions;
|
|
4552
|
+
response: OctokitResponse<EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData>;
|
|
4553
|
+
};
|
|
4554
|
+
/**
|
|
4555
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#provision-and-invite-a-scim-enterprise-user
|
|
4556
|
+
*/
|
|
4557
|
+
"POST /scim/v2/enterprises/:enterprise/Users": {
|
|
4558
|
+
parameters: EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint;
|
|
4559
|
+
request: EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions;
|
|
4560
|
+
response: OctokitResponse<EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData>;
|
|
4561
|
+
};
|
|
4482
4562
|
/**
|
|
4483
4563
|
* @see https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user
|
|
4484
4564
|
*/
|
|
@@ -4887,6 +4967,22 @@ export interface Endpoints {
|
|
|
4887
4967
|
request: ReposEnableVulnerabilityAlertsRequestOptions;
|
|
4888
4968
|
response: OctokitResponse<any>;
|
|
4889
4969
|
};
|
|
4970
|
+
/**
|
|
4971
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-group
|
|
4972
|
+
*/
|
|
4973
|
+
"PUT /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": {
|
|
4974
|
+
parameters: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint;
|
|
4975
|
+
request: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions;
|
|
4976
|
+
response: OctokitResponse<EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData>;
|
|
4977
|
+
};
|
|
4978
|
+
/**
|
|
4979
|
+
* @see https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-user
|
|
4980
|
+
*/
|
|
4981
|
+
"PUT /scim/v2/enterprises/:enterprise/Users/:scim_user_id": {
|
|
4982
|
+
parameters: EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint;
|
|
4983
|
+
request: EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions;
|
|
4984
|
+
response: OctokitResponse<EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData>;
|
|
4985
|
+
};
|
|
4890
4986
|
/**
|
|
4891
4987
|
* @see https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user
|
|
4892
4988
|
*/
|
|
@@ -11145,6 +11241,452 @@ declare type EmojisGetRequestOptions = {
|
|
|
11145
11241
|
headers: RequestHeaders;
|
|
11146
11242
|
request: RequestRequestOptions;
|
|
11147
11243
|
};
|
|
11244
|
+
declare type EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint = {
|
|
11245
|
+
enterprise: string;
|
|
11246
|
+
/**
|
|
11247
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11248
|
+
*/
|
|
11249
|
+
scim_group_id: string;
|
|
11250
|
+
};
|
|
11251
|
+
declare type EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions = {
|
|
11252
|
+
method: "DELETE";
|
|
11253
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11254
|
+
headers: RequestHeaders;
|
|
11255
|
+
request: RequestRequestOptions;
|
|
11256
|
+
};
|
|
11257
|
+
declare type EnterpriseAdminDeleteUserFromEnterpriseEndpoint = {
|
|
11258
|
+
enterprise: string;
|
|
11259
|
+
/**
|
|
11260
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11261
|
+
*/
|
|
11262
|
+
scim_user_id: string;
|
|
11263
|
+
};
|
|
11264
|
+
declare type EnterpriseAdminDeleteUserFromEnterpriseRequestOptions = {
|
|
11265
|
+
method: "DELETE";
|
|
11266
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11267
|
+
headers: RequestHeaders;
|
|
11268
|
+
request: RequestRequestOptions;
|
|
11269
|
+
};
|
|
11270
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint = {
|
|
11271
|
+
enterprise: string;
|
|
11272
|
+
/**
|
|
11273
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11274
|
+
*/
|
|
11275
|
+
scim_group_id: string;
|
|
11276
|
+
};
|
|
11277
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupRequestOptions = {
|
|
11278
|
+
method: "GET";
|
|
11279
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11280
|
+
headers: RequestHeaders;
|
|
11281
|
+
request: RequestRequestOptions;
|
|
11282
|
+
};
|
|
11283
|
+
export interface EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponseData {
|
|
11284
|
+
schemas: string[];
|
|
11285
|
+
id: string;
|
|
11286
|
+
externalId: string;
|
|
11287
|
+
displayName: string;
|
|
11288
|
+
members: {
|
|
11289
|
+
value: string;
|
|
11290
|
+
$ref: string;
|
|
11291
|
+
display: string;
|
|
11292
|
+
}[];
|
|
11293
|
+
meta: {
|
|
11294
|
+
resourceType: string;
|
|
11295
|
+
created: string;
|
|
11296
|
+
lastModified: string;
|
|
11297
|
+
location: string;
|
|
11298
|
+
};
|
|
11299
|
+
}
|
|
11300
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint = {
|
|
11301
|
+
enterprise: string;
|
|
11302
|
+
/**
|
|
11303
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11304
|
+
*/
|
|
11305
|
+
scim_user_id: string;
|
|
11306
|
+
};
|
|
11307
|
+
declare type EnterpriseAdminGetProvisioningInformationForEnterpriseUserRequestOptions = {
|
|
11308
|
+
method: "GET";
|
|
11309
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11310
|
+
headers: RequestHeaders;
|
|
11311
|
+
request: RequestRequestOptions;
|
|
11312
|
+
};
|
|
11313
|
+
export interface EnterpriseAdminGetProvisioningInformationForEnterpriseUserResponseData {
|
|
11314
|
+
schemas: string[];
|
|
11315
|
+
id: string;
|
|
11316
|
+
externalId: string;
|
|
11317
|
+
userName: string;
|
|
11318
|
+
name: {
|
|
11319
|
+
givenName: string;
|
|
11320
|
+
familyName: string;
|
|
11321
|
+
};
|
|
11322
|
+
emails: {
|
|
11323
|
+
value: string;
|
|
11324
|
+
type: string;
|
|
11325
|
+
primary: boolean;
|
|
11326
|
+
}[];
|
|
11327
|
+
groups: {
|
|
11328
|
+
value: string;
|
|
11329
|
+
}[];
|
|
11330
|
+
active: boolean;
|
|
11331
|
+
meta: {
|
|
11332
|
+
resourceType: string;
|
|
11333
|
+
created: string;
|
|
11334
|
+
lastModified: string;
|
|
11335
|
+
location: string;
|
|
11336
|
+
};
|
|
11337
|
+
}
|
|
11338
|
+
declare type EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint = {
|
|
11339
|
+
enterprise: string;
|
|
11340
|
+
/**
|
|
11341
|
+
* Used for pagination: the index of the first result to return.
|
|
11342
|
+
*/
|
|
11343
|
+
startIndex?: number;
|
|
11344
|
+
/**
|
|
11345
|
+
* Used for pagination: the number of results to return.
|
|
11346
|
+
*/
|
|
11347
|
+
count?: number;
|
|
11348
|
+
};
|
|
11349
|
+
declare type EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions = {
|
|
11350
|
+
method: "GET";
|
|
11351
|
+
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
11352
|
+
headers: RequestHeaders;
|
|
11353
|
+
request: RequestRequestOptions;
|
|
11354
|
+
};
|
|
11355
|
+
export interface EnterpriseAdminListProvisionedGroupsEnterpriseResponseData {
|
|
11356
|
+
schemas: string[];
|
|
11357
|
+
totalResults: number;
|
|
11358
|
+
itemsPerPage: number;
|
|
11359
|
+
startIndex: number;
|
|
11360
|
+
Resources: {
|
|
11361
|
+
schemas: string[];
|
|
11362
|
+
id: string;
|
|
11363
|
+
externalId: string;
|
|
11364
|
+
displayName: string;
|
|
11365
|
+
members: {
|
|
11366
|
+
value: string;
|
|
11367
|
+
$ref: string;
|
|
11368
|
+
display: string;
|
|
11369
|
+
}[];
|
|
11370
|
+
meta: {
|
|
11371
|
+
resourceType: string;
|
|
11372
|
+
created: string;
|
|
11373
|
+
lastModified: string;
|
|
11374
|
+
location: string;
|
|
11375
|
+
};
|
|
11376
|
+
}[];
|
|
11377
|
+
}
|
|
11378
|
+
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint = {
|
|
11379
|
+
enterprise: string;
|
|
11380
|
+
/**
|
|
11381
|
+
* Used for pagination: the index of the first result to return.
|
|
11382
|
+
*/
|
|
11383
|
+
startIndex?: number;
|
|
11384
|
+
/**
|
|
11385
|
+
* Used for pagination: the number of results to return.
|
|
11386
|
+
*/
|
|
11387
|
+
count?: number;
|
|
11388
|
+
};
|
|
11389
|
+
declare type EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions = {
|
|
11390
|
+
method: "GET";
|
|
11391
|
+
url: "/scim/v2/enterprises/:enterprise/Users";
|
|
11392
|
+
headers: RequestHeaders;
|
|
11393
|
+
request: RequestRequestOptions;
|
|
11394
|
+
};
|
|
11395
|
+
export interface EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData {
|
|
11396
|
+
schemas: string[];
|
|
11397
|
+
totalResults: number;
|
|
11398
|
+
itemsPerPage: number;
|
|
11399
|
+
startIndex: number;
|
|
11400
|
+
Resources: {
|
|
11401
|
+
schemas: string[];
|
|
11402
|
+
id: string;
|
|
11403
|
+
externalId: string;
|
|
11404
|
+
userName: string;
|
|
11405
|
+
name: {
|
|
11406
|
+
givenName: string;
|
|
11407
|
+
familyName: string;
|
|
11408
|
+
};
|
|
11409
|
+
emails: {
|
|
11410
|
+
value: string;
|
|
11411
|
+
primary: boolean;
|
|
11412
|
+
type: string;
|
|
11413
|
+
}[];
|
|
11414
|
+
groups: {
|
|
11415
|
+
value: string;
|
|
11416
|
+
}[];
|
|
11417
|
+
active: boolean;
|
|
11418
|
+
meta: {
|
|
11419
|
+
resourceType: string;
|
|
11420
|
+
created: string;
|
|
11421
|
+
lastModified: string;
|
|
11422
|
+
location: string;
|
|
11423
|
+
};
|
|
11424
|
+
}[];
|
|
11425
|
+
}
|
|
11426
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint = {
|
|
11427
|
+
enterprise: string;
|
|
11428
|
+
/**
|
|
11429
|
+
* The SCIM schema URIs.
|
|
11430
|
+
*/
|
|
11431
|
+
schemas: string[];
|
|
11432
|
+
/**
|
|
11433
|
+
* The name of the SCIM group. This must match the GitHub organization that the group maps to.
|
|
11434
|
+
*/
|
|
11435
|
+
displayName: string;
|
|
11436
|
+
members?: EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers[];
|
|
11437
|
+
};
|
|
11438
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions = {
|
|
11439
|
+
method: "POST";
|
|
11440
|
+
url: "/scim/v2/enterprises/:enterprise/Groups";
|
|
11441
|
+
headers: RequestHeaders;
|
|
11442
|
+
request: RequestRequestOptions;
|
|
11443
|
+
};
|
|
11444
|
+
export interface EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData {
|
|
11445
|
+
schemas: string[];
|
|
11446
|
+
id: string;
|
|
11447
|
+
externalId: string;
|
|
11448
|
+
displayName: string;
|
|
11449
|
+
members: {
|
|
11450
|
+
value: string;
|
|
11451
|
+
$ref: string;
|
|
11452
|
+
display: string;
|
|
11453
|
+
}[];
|
|
11454
|
+
meta: {
|
|
11455
|
+
resourceType: string;
|
|
11456
|
+
created: string;
|
|
11457
|
+
lastModified: string;
|
|
11458
|
+
location: string;
|
|
11459
|
+
};
|
|
11460
|
+
}
|
|
11461
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint = {
|
|
11462
|
+
enterprise: string;
|
|
11463
|
+
/**
|
|
11464
|
+
* The SCIM schema URIs.
|
|
11465
|
+
*/
|
|
11466
|
+
schemas: string[];
|
|
11467
|
+
/**
|
|
11468
|
+
* The username for the user.
|
|
11469
|
+
*/
|
|
11470
|
+
userName: string;
|
|
11471
|
+
name: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName;
|
|
11472
|
+
/**
|
|
11473
|
+
* List of user emails.
|
|
11474
|
+
*/
|
|
11475
|
+
emails: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails[];
|
|
11476
|
+
/**
|
|
11477
|
+
* List of SCIM group IDs the user is a member of.
|
|
11478
|
+
*/
|
|
11479
|
+
groups?: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups[];
|
|
11480
|
+
};
|
|
11481
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions = {
|
|
11482
|
+
method: "POST";
|
|
11483
|
+
url: "/scim/v2/enterprises/:enterprise/Users";
|
|
11484
|
+
headers: RequestHeaders;
|
|
11485
|
+
request: RequestRequestOptions;
|
|
11486
|
+
};
|
|
11487
|
+
export interface EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData {
|
|
11488
|
+
schemas: string[];
|
|
11489
|
+
id: string;
|
|
11490
|
+
externalId: string;
|
|
11491
|
+
userName: string;
|
|
11492
|
+
name: {
|
|
11493
|
+
givenName: string;
|
|
11494
|
+
familyName: string;
|
|
11495
|
+
};
|
|
11496
|
+
emails: {
|
|
11497
|
+
value: string;
|
|
11498
|
+
type: string;
|
|
11499
|
+
primary: boolean;
|
|
11500
|
+
}[];
|
|
11501
|
+
groups: {
|
|
11502
|
+
value: string;
|
|
11503
|
+
}[];
|
|
11504
|
+
active: boolean;
|
|
11505
|
+
meta: {
|
|
11506
|
+
resourceType: string;
|
|
11507
|
+
created: string;
|
|
11508
|
+
lastModified: string;
|
|
11509
|
+
location: string;
|
|
11510
|
+
};
|
|
11511
|
+
}
|
|
11512
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint = {
|
|
11513
|
+
enterprise: string;
|
|
11514
|
+
/**
|
|
11515
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11516
|
+
*/
|
|
11517
|
+
scim_group_id: string;
|
|
11518
|
+
/**
|
|
11519
|
+
* The SCIM schema URIs.
|
|
11520
|
+
*/
|
|
11521
|
+
schemas: string[];
|
|
11522
|
+
/**
|
|
11523
|
+
* The name of the SCIM group. This must match the GitHub organization that the group maps to.
|
|
11524
|
+
*/
|
|
11525
|
+
displayName: string;
|
|
11526
|
+
members?: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers[];
|
|
11527
|
+
};
|
|
11528
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions = {
|
|
11529
|
+
method: "PUT";
|
|
11530
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11531
|
+
headers: RequestHeaders;
|
|
11532
|
+
request: RequestRequestOptions;
|
|
11533
|
+
};
|
|
11534
|
+
export interface EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData {
|
|
11535
|
+
schemas: string[];
|
|
11536
|
+
id: string;
|
|
11537
|
+
externalId: string;
|
|
11538
|
+
displayName: string;
|
|
11539
|
+
members: {
|
|
11540
|
+
value: string;
|
|
11541
|
+
$ref: string;
|
|
11542
|
+
display: string;
|
|
11543
|
+
}[];
|
|
11544
|
+
meta: {
|
|
11545
|
+
resourceType: string;
|
|
11546
|
+
created: string;
|
|
11547
|
+
lastModified: string;
|
|
11548
|
+
location: string;
|
|
11549
|
+
};
|
|
11550
|
+
}
|
|
11551
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint = {
|
|
11552
|
+
enterprise: string;
|
|
11553
|
+
/**
|
|
11554
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11555
|
+
*/
|
|
11556
|
+
scim_user_id: string;
|
|
11557
|
+
/**
|
|
11558
|
+
* The SCIM schema URIs.
|
|
11559
|
+
*/
|
|
11560
|
+
schemas: string[];
|
|
11561
|
+
/**
|
|
11562
|
+
* The username for the user.
|
|
11563
|
+
*/
|
|
11564
|
+
userName: string;
|
|
11565
|
+
name: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName;
|
|
11566
|
+
/**
|
|
11567
|
+
* List of user emails.
|
|
11568
|
+
*/
|
|
11569
|
+
emails: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails[];
|
|
11570
|
+
/**
|
|
11571
|
+
* List of SCIM group IDs the user is a member of.
|
|
11572
|
+
*/
|
|
11573
|
+
groups?: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups[];
|
|
11574
|
+
};
|
|
11575
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions = {
|
|
11576
|
+
method: "PUT";
|
|
11577
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11578
|
+
headers: RequestHeaders;
|
|
11579
|
+
request: RequestRequestOptions;
|
|
11580
|
+
};
|
|
11581
|
+
export interface EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData {
|
|
11582
|
+
schemas: string[];
|
|
11583
|
+
id: string;
|
|
11584
|
+
externalId: string;
|
|
11585
|
+
userName: string;
|
|
11586
|
+
name: {
|
|
11587
|
+
givenName: string;
|
|
11588
|
+
familyName: string;
|
|
11589
|
+
};
|
|
11590
|
+
emails: {
|
|
11591
|
+
value: string;
|
|
11592
|
+
type: string;
|
|
11593
|
+
primary: boolean;
|
|
11594
|
+
}[];
|
|
11595
|
+
groups: {
|
|
11596
|
+
value: string;
|
|
11597
|
+
}[];
|
|
11598
|
+
active: boolean;
|
|
11599
|
+
meta: {
|
|
11600
|
+
resourceType: string;
|
|
11601
|
+
created: string;
|
|
11602
|
+
lastModified: string;
|
|
11603
|
+
location: string;
|
|
11604
|
+
};
|
|
11605
|
+
}
|
|
11606
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint = {
|
|
11607
|
+
enterprise: string;
|
|
11608
|
+
/**
|
|
11609
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11610
|
+
*/
|
|
11611
|
+
scim_group_id: string;
|
|
11612
|
+
/**
|
|
11613
|
+
* The SCIM schema URIs.
|
|
11614
|
+
*/
|
|
11615
|
+
schemas: string[];
|
|
11616
|
+
/**
|
|
11617
|
+
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11618
|
+
*/
|
|
11619
|
+
Operations: EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations[];
|
|
11620
|
+
};
|
|
11621
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions = {
|
|
11622
|
+
method: "PATCH";
|
|
11623
|
+
url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id";
|
|
11624
|
+
headers: RequestHeaders;
|
|
11625
|
+
request: RequestRequestOptions;
|
|
11626
|
+
};
|
|
11627
|
+
export interface EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData {
|
|
11628
|
+
schemas: string[];
|
|
11629
|
+
id: string;
|
|
11630
|
+
externalId: string;
|
|
11631
|
+
displayName: string;
|
|
11632
|
+
members: {
|
|
11633
|
+
value: string;
|
|
11634
|
+
$ref: string;
|
|
11635
|
+
display: string;
|
|
11636
|
+
}[];
|
|
11637
|
+
meta: {
|
|
11638
|
+
resourceType: string;
|
|
11639
|
+
created: string;
|
|
11640
|
+
lastModified: string;
|
|
11641
|
+
location: string;
|
|
11642
|
+
};
|
|
11643
|
+
}
|
|
11644
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint = {
|
|
11645
|
+
enterprise: string;
|
|
11646
|
+
/**
|
|
11647
|
+
* Identifier generated by the GitHub SCIM endpoint.
|
|
11648
|
+
*/
|
|
11649
|
+
scim_user_id: string;
|
|
11650
|
+
/**
|
|
11651
|
+
* The SCIM schema URIs.
|
|
11652
|
+
*/
|
|
11653
|
+
schemas: string[];
|
|
11654
|
+
/**
|
|
11655
|
+
* Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).
|
|
11656
|
+
*/
|
|
11657
|
+
Operations: EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations[];
|
|
11658
|
+
};
|
|
11659
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions = {
|
|
11660
|
+
method: "PATCH";
|
|
11661
|
+
url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id";
|
|
11662
|
+
headers: RequestHeaders;
|
|
11663
|
+
request: RequestRequestOptions;
|
|
11664
|
+
};
|
|
11665
|
+
export interface EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData {
|
|
11666
|
+
schemas: string[];
|
|
11667
|
+
id: string;
|
|
11668
|
+
externalId: string;
|
|
11669
|
+
userName: string;
|
|
11670
|
+
name: {
|
|
11671
|
+
givenName: string;
|
|
11672
|
+
familyName: string;
|
|
11673
|
+
};
|
|
11674
|
+
emails: {
|
|
11675
|
+
value: string;
|
|
11676
|
+
type: string;
|
|
11677
|
+
primary: boolean;
|
|
11678
|
+
}[];
|
|
11679
|
+
groups: {
|
|
11680
|
+
value: string;
|
|
11681
|
+
}[];
|
|
11682
|
+
active: boolean;
|
|
11683
|
+
meta: {
|
|
11684
|
+
resourceType: string;
|
|
11685
|
+
created: string;
|
|
11686
|
+
lastModified: string;
|
|
11687
|
+
location: string;
|
|
11688
|
+
};
|
|
11689
|
+
}
|
|
11148
11690
|
declare type GistsCheckIsStarredEndpoint = {
|
|
11149
11691
|
gist_id: string;
|
|
11150
11692
|
};
|
|
@@ -32589,7 +33131,7 @@ declare type ScimDeleteUserFromOrgEndpoint = {
|
|
|
32589
33131
|
/**
|
|
32590
33132
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32591
33133
|
*/
|
|
32592
|
-
scim_user_id:
|
|
33134
|
+
scim_user_id: string;
|
|
32593
33135
|
};
|
|
32594
33136
|
declare type ScimDeleteUserFromOrgRequestOptions = {
|
|
32595
33137
|
method: "DELETE";
|
|
@@ -32602,7 +33144,7 @@ declare type ScimGetProvisioningInformationForUserEndpoint = {
|
|
|
32602
33144
|
/**
|
|
32603
33145
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32604
33146
|
*/
|
|
32605
|
-
scim_user_id:
|
|
33147
|
+
scim_user_id: string;
|
|
32606
33148
|
};
|
|
32607
33149
|
declare type ScimGetProvisioningInformationForUserRequestOptions = {
|
|
32608
33150
|
method: "GET";
|
|
@@ -32736,7 +33278,7 @@ declare type ScimSetInformationForProvisionedUserEndpoint = {
|
|
|
32736
33278
|
/**
|
|
32737
33279
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32738
33280
|
*/
|
|
32739
|
-
scim_user_id:
|
|
33281
|
+
scim_user_id: string;
|
|
32740
33282
|
/**
|
|
32741
33283
|
* The SCIM schema URIs.
|
|
32742
33284
|
*/
|
|
@@ -32784,7 +33326,7 @@ declare type ScimUpdateAttributeForUserEndpoint = {
|
|
|
32784
33326
|
/**
|
|
32785
33327
|
* Identifier generated by the GitHub SCIM endpoint.
|
|
32786
33328
|
*/
|
|
32787
|
-
scim_user_id:
|
|
33329
|
+
scim_user_id: string;
|
|
32788
33330
|
/**
|
|
32789
33331
|
* The SCIM schema URIs.
|
|
32790
33332
|
*/
|
|
@@ -37464,6 +38006,38 @@ declare type ChecksUpdateParamsActions = {
|
|
|
37464
38006
|
description: string;
|
|
37465
38007
|
identifier: string;
|
|
37466
38008
|
};
|
|
38009
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers = {
|
|
38010
|
+
value: string;
|
|
38011
|
+
};
|
|
38012
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName = {
|
|
38013
|
+
givenName: string;
|
|
38014
|
+
familyName: string;
|
|
38015
|
+
};
|
|
38016
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails = {
|
|
38017
|
+
value: string;
|
|
38018
|
+
type: string;
|
|
38019
|
+
primary: boolean;
|
|
38020
|
+
};
|
|
38021
|
+
declare type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups = {
|
|
38022
|
+
value?: string;
|
|
38023
|
+
};
|
|
38024
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers = {
|
|
38025
|
+
value: string;
|
|
38026
|
+
};
|
|
38027
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName = {
|
|
38028
|
+
givenName: string;
|
|
38029
|
+
familyName: string;
|
|
38030
|
+
};
|
|
38031
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails = {
|
|
38032
|
+
value: string;
|
|
38033
|
+
type: string;
|
|
38034
|
+
primary: boolean;
|
|
38035
|
+
};
|
|
38036
|
+
declare type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups = {
|
|
38037
|
+
value?: string;
|
|
38038
|
+
};
|
|
38039
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations = {};
|
|
38040
|
+
declare type EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations = {};
|
|
37467
38041
|
declare type GistsCreateParamsFiles = {
|
|
37468
38042
|
[key: string]: GistsCreateParamsFilesKeyString;
|
|
37469
38043
|
};
|
package/dist-web/index.js
CHANGED