@gitbeaker/core 39.27.1 → 39.28.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/README.md +2 -22
- package/dist/index.d.mts +105 -103
- package/dist/index.d.ts +105 -103
- package/dist/index.js +31 -13
- package/dist/index.mjs +31 -14
- package/dist/map.json +18 -18
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -197,23 +197,15 @@ declare class ResourceCustomAttributes<C extends boolean = false> extends BaseRe
|
|
|
197
197
|
show<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
declare class ResourceAccessRequests<C extends boolean = false> extends BaseResource<C> {
|
|
210
|
-
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
211
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
212
|
-
request<E extends boolean = false>(resourceId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
213
|
-
approve<E extends boolean = false>(resourceId: string | number, userId: number, options?: {
|
|
214
|
-
accessLevel?: AccessLevel;
|
|
215
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
216
|
-
deny<E extends boolean = false>(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
200
|
+
declare enum AccessLevel {
|
|
201
|
+
NO_ACCESS = 0,
|
|
202
|
+
MINIMAL_ACCESS = 5,
|
|
203
|
+
GUEST = 10,
|
|
204
|
+
REPORTER = 20,
|
|
205
|
+
DEVELOPER = 30,
|
|
206
|
+
MAINTAINER = 40,
|
|
207
|
+
OWNER = 50,
|
|
208
|
+
ADMIN = 60
|
|
217
209
|
}
|
|
218
210
|
|
|
219
211
|
interface UserSchema extends Record<string, unknown> {
|
|
@@ -307,7 +299,7 @@ interface UserMembershipSchema extends Record<string, unknown> {
|
|
|
307
299
|
source_id: number;
|
|
308
300
|
source_name: string;
|
|
309
301
|
source_type: 'Project' | 'Namespace';
|
|
310
|
-
access_level: AccessLevel
|
|
302
|
+
access_level: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
311
303
|
}
|
|
312
304
|
interface UserRunnerSchema extends Record<string, unknown> {
|
|
313
305
|
id: number;
|
|
@@ -393,7 +385,7 @@ type AllUserProjectsOptions = {
|
|
|
393
385
|
idAfter?: number;
|
|
394
386
|
idBefore?: number;
|
|
395
387
|
membership?: boolean;
|
|
396
|
-
minAccessLevel?:
|
|
388
|
+
minAccessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
397
389
|
orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at';
|
|
398
390
|
owned?: boolean;
|
|
399
391
|
search?: string;
|
|
@@ -458,14 +450,13 @@ declare class Users<C extends boolean = false> extends BaseResource<C> {
|
|
|
458
450
|
}, C, E, void>>;
|
|
459
451
|
ban<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
460
452
|
block<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
461
|
-
deactivate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
462
|
-
disableTwoFactor<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
463
|
-
follow<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema, C, E, void>>;
|
|
464
453
|
create<E extends boolean = false>(options?: CreateUserOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema | ExpandedUserSchema, C, E, void>>;
|
|
465
454
|
createPersonalAccessToken<E extends boolean = false>(userId: number, name: string, scopes: string[], options?: {
|
|
466
455
|
expiresAt?: string;
|
|
467
456
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PersonalAccessTokenSchema, C, E, void>>;
|
|
468
457
|
createCIRunner<E extends boolean = false>(runnerType: 'instance_type' | 'group_type' | 'project_type', options?: CreateUserCIRunnerOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserRunnerSchema, C, E, void>>;
|
|
458
|
+
deactivate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
459
|
+
disableTwoFactor<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
469
460
|
edit<E extends boolean = false>(userId: number, options?: EditUserOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIExpandedResponse<CamelizedResponse<UserSchema, C>, E, undefined>>;
|
|
470
461
|
editStatus<E extends boolean = false>(options?: {
|
|
471
462
|
emoji?: string;
|
|
@@ -473,6 +464,7 @@ declare class Users<C extends boolean = false> extends BaseResource<C> {
|
|
|
473
464
|
clearStatusAfter?: '30_minutes' | '3_hours' | '8_hours' | '1_day' | '3_days' | '7_days' | '30_days';
|
|
474
465
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserStatusSchema, C, E, void>>;
|
|
475
466
|
editCurrentUserPreferences<E extends boolean = false>(viewDiffsFileByFile: boolean, showWhitespaceInDiffs: boolean, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserPreferenceSchema, C, E, void>>;
|
|
467
|
+
follow<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema, C, E, void>>;
|
|
476
468
|
reject<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<{
|
|
477
469
|
message: string;
|
|
478
470
|
}, C, E, void>>;
|
|
@@ -481,7 +473,7 @@ declare class Users<C extends boolean = false> extends BaseResource<C> {
|
|
|
481
473
|
showAssociationsCount<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserAssociationCountSchema, C, E, void>>;
|
|
482
474
|
showCurrentUser<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedUserSchema, C, E, void>>;
|
|
483
475
|
showCurrentUserPreferences<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserPreferenceSchema, C, E, void>>;
|
|
484
|
-
showStatus<E extends boolean = false>(options?: {
|
|
476
|
+
showStatus<E extends boolean = false>({ iDOrUsername, ...options }?: {
|
|
485
477
|
iDOrUsername?: string | number;
|
|
486
478
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserStatusSchema, C, E, void>>;
|
|
487
479
|
remove<E extends boolean = false>(userId: number, options?: {
|
|
@@ -580,7 +572,7 @@ type AllGroupsOptions = {
|
|
|
580
572
|
statistics?: boolean;
|
|
581
573
|
withCustomAttributes?: boolean;
|
|
582
574
|
owned?: boolean;
|
|
583
|
-
minAccessLevel?:
|
|
575
|
+
minAccessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
584
576
|
topLevelOnly?: boolean;
|
|
585
577
|
};
|
|
586
578
|
type AllGroupProjectsOptions = {
|
|
@@ -596,7 +588,7 @@ type AllGroupProjectsOptions = {
|
|
|
596
588
|
withMergeRequestsEnabled?: boolean;
|
|
597
589
|
withShared?: boolean;
|
|
598
590
|
includeSubgroups?: boolean;
|
|
599
|
-
minAccessLevel?:
|
|
591
|
+
minAccessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
600
592
|
withCustomAttributes?: boolean;
|
|
601
593
|
withSecurityReports?: boolean;
|
|
602
594
|
};
|
|
@@ -727,6 +719,7 @@ declare class Groups<C extends boolean = false> extends BaseResource<C> {
|
|
|
727
719
|
}, C, E, void>>;
|
|
728
720
|
}
|
|
729
721
|
|
|
722
|
+
type AccessLevelSettingState = 'disabled' | 'enabled' | 'private';
|
|
730
723
|
interface ProjectStarrerSchema extends Record<string, unknown> {
|
|
731
724
|
starred_since: string;
|
|
732
725
|
user: MappedOmit<UserSchema, 'created_at'>;
|
|
@@ -878,7 +871,7 @@ type AllProjectsOptions = {
|
|
|
878
871
|
lastActivityAfter?: string;
|
|
879
872
|
lastActivityBefore?: string;
|
|
880
873
|
membership?: boolean;
|
|
881
|
-
minAccessLevel?:
|
|
874
|
+
minAccessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
882
875
|
orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at';
|
|
883
876
|
owned?: boolean;
|
|
884
877
|
repositoryChecksumFailed?: boolean;
|
|
@@ -908,7 +901,7 @@ type CreateProjectOptions = {
|
|
|
908
901
|
};
|
|
909
902
|
allowMergeOnSkippedPipeline?: boolean;
|
|
910
903
|
onlyAllowMergeIfAllStatusChecksPassed?: boolean;
|
|
911
|
-
analyticsAccessLevel?:
|
|
904
|
+
analyticsAccessLevel?: AccessLevelSettingState;
|
|
912
905
|
approvalsBeforeMerge?: number;
|
|
913
906
|
autoCancelPendingPipelines?: string;
|
|
914
907
|
autoDevopsDeployStrategy?: 'continuous' | 'manual' | 'timed_incremental';
|
|
@@ -916,23 +909,23 @@ type CreateProjectOptions = {
|
|
|
916
909
|
autocloseReferencedIssues?: boolean;
|
|
917
910
|
buildGitStrategy?: string;
|
|
918
911
|
buildTimeout?: number;
|
|
919
|
-
buildsAccessLevel?:
|
|
912
|
+
buildsAccessLevel?: AccessLevelSettingState;
|
|
920
913
|
ciConfigPath?: string;
|
|
921
914
|
containerExpirationPolicyAttributes?: Record<string, string>;
|
|
922
|
-
containerRegistryAccessLevel?:
|
|
915
|
+
containerRegistryAccessLevel?: AccessLevelSettingState;
|
|
923
916
|
defaultBranch?: string;
|
|
924
917
|
description?: string;
|
|
925
918
|
emailsDisabled?: boolean;
|
|
926
919
|
externalAuthorizationClassificationLabel?: string;
|
|
927
|
-
forkingAccessLevel?:
|
|
920
|
+
forkingAccessLevel?: AccessLevelSettingState;
|
|
928
921
|
groupWithProjectTemplatesId?: number;
|
|
929
922
|
importUrl?: string;
|
|
930
923
|
initializeWithReadme?: boolean;
|
|
931
|
-
issuesAccessLevel?:
|
|
924
|
+
issuesAccessLevel?: AccessLevelSettingState;
|
|
932
925
|
lfsEnabled?: boolean;
|
|
933
926
|
mergeMethod?: string;
|
|
934
927
|
mergePipelinesEnabled?: boolean;
|
|
935
|
-
mergeRequestsAccessLevel?:
|
|
928
|
+
mergeRequestsAccessLevel?: AccessLevelSettingState;
|
|
936
929
|
mergeTrainsEnabled?: boolean;
|
|
937
930
|
mirrorTriggerBuilds?: boolean;
|
|
938
931
|
mirror?: boolean;
|
|
@@ -940,31 +933,31 @@ type CreateProjectOptions = {
|
|
|
940
933
|
onlyAllowMergeIfAllDiscussionsAreResolved?: boolean;
|
|
941
934
|
onlyAllowMergeIfPipelineSucceeds?: boolean;
|
|
942
935
|
packagesEnabled?: boolean;
|
|
943
|
-
pagesAccessLevel?:
|
|
936
|
+
pagesAccessLevel?: AccessLevelSettingState | 'public';
|
|
944
937
|
printingMergeRequestLinkEnabled?: boolean;
|
|
945
938
|
publicBuilds?: boolean;
|
|
946
|
-
releasesAccessLevel?:
|
|
947
|
-
environmentsAccessLevel?:
|
|
948
|
-
featureFlagsAccessLevel?:
|
|
949
|
-
infrastructureAccessLevel?:
|
|
950
|
-
monitorAccessLevel?:
|
|
939
|
+
releasesAccessLevel?: AccessLevelSettingState;
|
|
940
|
+
environmentsAccessLevel?: AccessLevelSettingState;
|
|
941
|
+
featureFlagsAccessLevel?: AccessLevelSettingState;
|
|
942
|
+
infrastructureAccessLevel?: AccessLevelSettingState;
|
|
943
|
+
monitorAccessLevel?: AccessLevelSettingState;
|
|
951
944
|
removeSourceBranchAfterMerge?: boolean;
|
|
952
|
-
repositoryAccessLevel?:
|
|
945
|
+
repositoryAccessLevel?: AccessLevelSettingState;
|
|
953
946
|
repositoryStorage?: string;
|
|
954
947
|
requestAccessEnabled?: boolean;
|
|
955
|
-
requirementsAccessLevel?:
|
|
948
|
+
requirementsAccessLevel?: AccessLevelSettingState;
|
|
956
949
|
resolveOutdatedDiffDiscussions?: boolean;
|
|
957
|
-
securityAndComplianceAccessLevel?:
|
|
950
|
+
securityAndComplianceAccessLevel?: AccessLevelSettingState;
|
|
958
951
|
sharedRunnersEnabled?: boolean;
|
|
959
952
|
groupRunnersEnabled?: boolean;
|
|
960
|
-
snippetsAccessLevel?:
|
|
953
|
+
snippetsAccessLevel?: AccessLevelSettingState;
|
|
961
954
|
squashOption?: 'never' | 'always' | 'default_on' | 'default_off';
|
|
962
955
|
templateName?: string;
|
|
963
956
|
templateProjectId?: number;
|
|
964
957
|
topics?: string[];
|
|
965
958
|
useCustomTemplate?: boolean;
|
|
966
959
|
visibility?: 'public' | 'internal' | 'private';
|
|
967
|
-
wikiAccessLevel?:
|
|
960
|
+
wikiAccessLevel?: AccessLevelSettingState;
|
|
968
961
|
};
|
|
969
962
|
type EditProjectOptions = {
|
|
970
963
|
avatar?: {
|
|
@@ -974,7 +967,7 @@ type EditProjectOptions = {
|
|
|
974
967
|
allowMergeOnSkippedPipeline?: boolean;
|
|
975
968
|
allowPipelineTriggerApproveDeployment?: boolean;
|
|
976
969
|
onlyAllowMergeIfAllStatusChecksPassed?: boolean;
|
|
977
|
-
analyticsAccessLevel?:
|
|
970
|
+
analyticsAccessLevel?: AccessLevelSettingState;
|
|
978
971
|
approvalsBeforeMerge?: number;
|
|
979
972
|
autoCancelPendingPipelines?: string;
|
|
980
973
|
autoDevopsDeployStrategy?: 'continuous' | 'manual' | 'timed_incremental';
|
|
@@ -982,7 +975,7 @@ type EditProjectOptions = {
|
|
|
982
975
|
autocloseReferencedIssues?: boolean;
|
|
983
976
|
buildGitStrategy?: string;
|
|
984
977
|
buildTimeout?: number;
|
|
985
|
-
buildsAccessLevel?:
|
|
978
|
+
buildsAccessLevel?: AccessLevelSettingState;
|
|
986
979
|
ciConfigPath?: string;
|
|
987
980
|
ciDefaultGitDepth?: number;
|
|
988
981
|
ciForwardDeploymentEnabled?: boolean;
|
|
@@ -995,16 +988,16 @@ type EditProjectOptions = {
|
|
|
995
988
|
emailsDisabled?: boolean;
|
|
996
989
|
enforceAuthChecksOnUploads?: boolean;
|
|
997
990
|
externalAuthorizationClassificationLabel?: string;
|
|
998
|
-
forkingAccessLevel?:
|
|
991
|
+
forkingAccessLevel?: AccessLevelSettingState;
|
|
999
992
|
importUrl?: string;
|
|
1000
|
-
issuesAccessLevel?:
|
|
993
|
+
issuesAccessLevel?: AccessLevelSettingState;
|
|
1001
994
|
issuesTemplate?: string;
|
|
1002
995
|
keepLatestArtifact?: boolean;
|
|
1003
996
|
lfsEnabled?: boolean;
|
|
1004
997
|
mergeCommitTemplate?: string;
|
|
1005
998
|
mergeMethod?: string;
|
|
1006
999
|
mergePipelinesEnabled?: boolean;
|
|
1007
|
-
mergeRequestsAccessLevel?:
|
|
1000
|
+
mergeRequestsAccessLevel?: AccessLevelSettingState;
|
|
1008
1001
|
mergeRequestsTemplate?: string;
|
|
1009
1002
|
mergeTrainsEnabled?: boolean;
|
|
1010
1003
|
mirrorOverwritesDivergedBranches?: boolean;
|
|
@@ -1021,30 +1014,30 @@ type EditProjectOptions = {
|
|
|
1021
1014
|
path?: string;
|
|
1022
1015
|
printingMergeRequestLinkEnabled?: boolean;
|
|
1023
1016
|
publicBuilds?: boolean;
|
|
1024
|
-
releasesAccessLevel?:
|
|
1025
|
-
environmentsAccessLevel?:
|
|
1026
|
-
featureFlagsAccessLevel?:
|
|
1027
|
-
infrastructureAccessLevel?:
|
|
1028
|
-
monitorAccessLevel?:
|
|
1017
|
+
releasesAccessLevel?: AccessLevelSettingState;
|
|
1018
|
+
environmentsAccessLevel?: AccessLevelSettingState;
|
|
1019
|
+
featureFlagsAccessLevel?: AccessLevelSettingState;
|
|
1020
|
+
infrastructureAccessLevel?: AccessLevelSettingState;
|
|
1021
|
+
monitorAccessLevel?: AccessLevelSettingState;
|
|
1029
1022
|
removeSourceBranchAfterMerge?: boolean;
|
|
1030
|
-
repositoryAccessLevel?:
|
|
1023
|
+
repositoryAccessLevel?: AccessLevelSettingState;
|
|
1031
1024
|
repositoryStorage?: string;
|
|
1032
1025
|
requestAccessEnabled?: boolean;
|
|
1033
|
-
requirementsAccessLevel?:
|
|
1026
|
+
requirementsAccessLevel?: AccessLevelSettingState;
|
|
1034
1027
|
resolveOutdatedDiffDiscussions?: boolean;
|
|
1035
1028
|
restrictUserDefinedVariables?: boolean;
|
|
1036
|
-
securityAndComplianceAccessLevel?:
|
|
1029
|
+
securityAndComplianceAccessLevel?: AccessLevelSettingState;
|
|
1037
1030
|
serviceDeskEnabled?: boolean;
|
|
1038
1031
|
sharedRunnersEnabled?: boolean;
|
|
1039
1032
|
groupRunnersEnabled?: boolean;
|
|
1040
|
-
snippetsAccessLevel?:
|
|
1033
|
+
snippetsAccessLevel?: AccessLevelSettingState;
|
|
1041
1034
|
issueBranchTemplate?: string;
|
|
1042
1035
|
squashCommitTemplate?: string;
|
|
1043
1036
|
squashOption?: 'never' | 'always' | 'default_on' | 'default_off';
|
|
1044
1037
|
suggestionCommitMessage?: string;
|
|
1045
1038
|
topics?: string[];
|
|
1046
1039
|
visibility?: 'public' | 'internal' | 'private';
|
|
1047
|
-
wikiAccessLevel?:
|
|
1040
|
+
wikiAccessLevel?: AccessLevelSettingState;
|
|
1048
1041
|
};
|
|
1049
1042
|
type ForkProjectOptions = {
|
|
1050
1043
|
description?: string;
|
|
@@ -1059,7 +1052,7 @@ type ForkProjectOptions = {
|
|
|
1059
1052
|
type AllForksOptions = {
|
|
1060
1053
|
archived?: boolean;
|
|
1061
1054
|
membership?: boolean;
|
|
1062
|
-
minAccessLevel?:
|
|
1055
|
+
minAccessLevel?: AccessLevelSettingState;
|
|
1063
1056
|
orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at';
|
|
1064
1057
|
owned?: boolean;
|
|
1065
1058
|
search?: string;
|
|
@@ -1107,7 +1100,7 @@ declare class Projects<C extends boolean = false> extends BaseResource<C> {
|
|
|
1107
1100
|
search?: string;
|
|
1108
1101
|
skipGroups?: number[];
|
|
1109
1102
|
withShared?: boolean;
|
|
1110
|
-
sharedMinAccessLevel?: AccessLevel
|
|
1103
|
+
sharedMinAccessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
1111
1104
|
sharedVisibleOnly?: boolean;
|
|
1112
1105
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleGroupSchema[], C, E, void>>;
|
|
1113
1106
|
allSharableGroups<E extends boolean = false>(projectId: string | number, options?: {
|
|
@@ -1691,7 +1684,7 @@ interface BroadcastMessageSchema extends Record<string, unknown> {
|
|
|
1691
1684
|
id: number;
|
|
1692
1685
|
active: boolean;
|
|
1693
1686
|
target_path: string;
|
|
1694
|
-
target_access_levels: AccessLevel[];
|
|
1687
|
+
target_access_levels: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>[];
|
|
1695
1688
|
broadcast_type: string;
|
|
1696
1689
|
dismissable: boolean;
|
|
1697
1690
|
}
|
|
@@ -1703,7 +1696,7 @@ interface BroadcastMessageOptions extends Record<string, unknown> {
|
|
|
1703
1696
|
font?: string;
|
|
1704
1697
|
active?: boolean;
|
|
1705
1698
|
targetPath?: string;
|
|
1706
|
-
targetAccessLevels?: AccessLevel[];
|
|
1699
|
+
targetAccessLevels?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>[];
|
|
1707
1700
|
broadcastType?: string;
|
|
1708
1701
|
dismissable?: boolean;
|
|
1709
1702
|
}
|
|
@@ -1980,6 +1973,24 @@ declare class DeployTokens<C extends boolean = false> extends BaseResource<C> {
|
|
|
1980
1973
|
}> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DeployTokenSchema, C, E, void>>;
|
|
1981
1974
|
}
|
|
1982
1975
|
|
|
1976
|
+
interface AccessRequestSchema extends Record<string, unknown> {
|
|
1977
|
+
id: number;
|
|
1978
|
+
username: string;
|
|
1979
|
+
name: string;
|
|
1980
|
+
state: string;
|
|
1981
|
+
created_at: string;
|
|
1982
|
+
requested_at: string;
|
|
1983
|
+
}
|
|
1984
|
+
declare class ResourceAccessRequests<C extends boolean = false> extends BaseResource<C> {
|
|
1985
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
1986
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
1987
|
+
request<E extends boolean = false>(resourceId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
1988
|
+
approve<E extends boolean = false>(resourceId: string | number, userId: number, options?: {
|
|
1989
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
1990
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
1991
|
+
deny<E extends boolean = false>(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1983
1994
|
type AccessTokenScopes = 'api' | 'read_api' | 'create_runner' | 'read_registry' | 'write_registry' | 'read_repository' | 'write_repository';
|
|
1984
1995
|
interface AccessTokenSchema extends Record<string, unknown> {
|
|
1985
1996
|
user_id: number;
|
|
@@ -1990,14 +2001,14 @@ interface AccessTokenSchema extends Record<string, unknown> {
|
|
|
1990
2001
|
active: boolean;
|
|
1991
2002
|
created_at: string;
|
|
1992
2003
|
revoked: boolean;
|
|
1993
|
-
access_level: AccessLevel
|
|
2004
|
+
access_level: Exclude<AccessLevel, AccessLevel.NO_ACCESS | AccessLevel.MINIMAL_ACCESS | AccessLevel.ADMIN>;
|
|
1994
2005
|
token?: string;
|
|
1995
2006
|
}
|
|
1996
2007
|
declare class ResourceAccessTokens<C extends boolean = false> extends BaseResource<C> {
|
|
1997
2008
|
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
1998
2009
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<AccessTokenSchema[], C, E, P>>;
|
|
1999
2010
|
create<E extends boolean = false>(resourceId: string | number, name: string, scopes: AccessTokenScopes[], options?: {
|
|
2000
|
-
accessLevel?: AccessLevel
|
|
2011
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.NO_ACCESS | AccessLevel.MINIMAL_ACCESS | AccessLevel.ADMIN>;
|
|
2001
2012
|
expiresAt?: string;
|
|
2002
2013
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
2003
2014
|
revoke<E extends boolean = false>(resourceId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
@@ -2735,17 +2746,6 @@ type AcceptMergeRequestOptions = {
|
|
|
2735
2746
|
mergeWhenPipelineSucceeds?: boolean;
|
|
2736
2747
|
sha?: string;
|
|
2737
2748
|
};
|
|
2738
|
-
type CreateMergeRequestOptions = {
|
|
2739
|
-
assigneeId?: number;
|
|
2740
|
-
description?: string;
|
|
2741
|
-
targetProjectId?: number;
|
|
2742
|
-
labels?: string | Array<string>;
|
|
2743
|
-
milestoneId?: number;
|
|
2744
|
-
removeSourceBranch?: boolean;
|
|
2745
|
-
allowCollaboration?: boolean;
|
|
2746
|
-
allowMaintainerToPush?: boolean;
|
|
2747
|
-
squash?: boolean;
|
|
2748
|
-
};
|
|
2749
2749
|
type EditMergeRequestOptions = {
|
|
2750
2750
|
targetBranch?: string;
|
|
2751
2751
|
title?: string;
|
|
@@ -2766,6 +2766,9 @@ type EditMergeRequestOptions = {
|
|
|
2766
2766
|
allowCollaboration?: boolean;
|
|
2767
2767
|
allowMaintainerToPush?: boolean;
|
|
2768
2768
|
};
|
|
2769
|
+
type CreateMergeRequestOptions = {
|
|
2770
|
+
targetProjectId?: number;
|
|
2771
|
+
} & Pick<EditMergeRequestOptions, 'assigneeId' | 'assigneeIds' | 'description' | 'labels' | 'title' | 'milestoneId' | 'reviewerId' | 'reviewerIds' | 'removeSourceBranch' | 'allowCollaboration' | 'allowMaintainerToPush' | 'squash'>;
|
|
2769
2772
|
declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
|
|
2770
2773
|
accept<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
|
|
2771
2774
|
addSpentTime<E extends boolean = false>(projectId: string | number, mergerequestIId: number, duration: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
@@ -3108,7 +3111,7 @@ interface CondensedMemberSchema extends Record<string, unknown> {
|
|
|
3108
3111
|
}
|
|
3109
3112
|
interface SimpleMemberSchema extends CondensedMemberSchema {
|
|
3110
3113
|
expires_at: string;
|
|
3111
|
-
access_level: AccessLevel
|
|
3114
|
+
access_level: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
3112
3115
|
email: string;
|
|
3113
3116
|
}
|
|
3114
3117
|
interface MemberSchema extends SimpleMemberSchema {
|
|
@@ -3132,9 +3135,9 @@ interface AllMembersOptions {
|
|
|
3132
3135
|
}
|
|
3133
3136
|
declare class ResourceMembers<C extends boolean = false> extends BaseResource<C> {
|
|
3134
3137
|
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
3135
|
-
add<E extends boolean = false>(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: AddMemeberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
3138
|
+
add<E extends boolean = false>(resourceId: string | number, userId: number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: AddMemeberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
3136
3139
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, { includeInherited, ...options }?: IncludeInherited & PaginationRequestOptions<P> & AllMembersOptions & BaseRequestOptions<E>): Promise<GitlabAPIResponse<MemberSchema[], C, E, P>>;
|
|
3137
|
-
edit<E extends boolean = false>(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: {
|
|
3140
|
+
edit<E extends boolean = false>(resourceId: string | number, userId: number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: {
|
|
3138
3141
|
expiresAt?: string;
|
|
3139
3142
|
memberRoleId?: number;
|
|
3140
3143
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
@@ -3377,14 +3380,14 @@ interface InvitationSchema extends Record<string, unknown> {
|
|
|
3377
3380
|
id: number;
|
|
3378
3381
|
invite_email: string;
|
|
3379
3382
|
created_at: string;
|
|
3380
|
-
access_level: AccessLevel
|
|
3383
|
+
access_level: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
3381
3384
|
expires_at: string;
|
|
3382
3385
|
user_name: string;
|
|
3383
3386
|
created_by_name: string;
|
|
3384
3387
|
}
|
|
3385
3388
|
declare class ResourceInvitations<C extends boolean = false> extends BaseResource<C> {
|
|
3386
3389
|
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
3387
|
-
add<E extends boolean = false>(resourceId: string | number, accessLevel: AccessLevel, options: OneOf<{
|
|
3390
|
+
add<E extends boolean = false>(resourceId: string | number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options: OneOf<{
|
|
3388
3391
|
email: string;
|
|
3389
3392
|
userId: string;
|
|
3390
3393
|
}> & {
|
|
@@ -3398,7 +3401,7 @@ declare class ResourceInvitations<C extends boolean = false> extends BaseResourc
|
|
|
3398
3401
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema[], C, E, P>>;
|
|
3399
3402
|
edit<E extends boolean = false>(resourceId: string | number, email: string, options?: {
|
|
3400
3403
|
expiresAt?: string;
|
|
3401
|
-
accessLevel?: AccessLevel
|
|
3404
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
3402
3405
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>>;
|
|
3403
3406
|
remove<E extends boolean = false>(resourceId: string | number, email: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>>;
|
|
3404
3407
|
}
|
|
@@ -3428,9 +3431,8 @@ declare class ResourceIterations<C extends boolean = false> extends BaseResource
|
|
|
3428
3431
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: AllIterationsOptions & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<IterationSchema[], C, E, P>>;
|
|
3429
3432
|
}
|
|
3430
3433
|
|
|
3431
|
-
type ProtectedEnvironmentAccessLevel = 30 | 40 | 60;
|
|
3432
3434
|
interface ProtectedEnvironmentAccessLevelSummarySchema {
|
|
3433
|
-
access_level:
|
|
3435
|
+
access_level: AccessLevel.DEVELOPER | AccessLevel.MAINTAINER | AccessLevel.ADMIN;
|
|
3434
3436
|
access_level_description: string;
|
|
3435
3437
|
user_id?: number;
|
|
3436
3438
|
group_id?: number;
|
|
@@ -3443,7 +3445,7 @@ interface ProtectedEnvironmentSchema extends Record<string, unknown> {
|
|
|
3443
3445
|
type ProtectedEnvironmentAccessLevelEntity = OneOf<{
|
|
3444
3446
|
userId: number;
|
|
3445
3447
|
groupId: number;
|
|
3446
|
-
accessLevel:
|
|
3448
|
+
accessLevel: AccessLevel.DEVELOPER | AccessLevel.MAINTAINER | AccessLevel.ADMIN;
|
|
3447
3449
|
}>;
|
|
3448
3450
|
declare class ResourceProtectedEnvironments<C extends boolean = false> extends BaseResource<C> {
|
|
3449
3451
|
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
@@ -5602,7 +5604,7 @@ declare class JobArtifacts<C extends boolean = false> extends BaseResource<C> {
|
|
|
5602
5604
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
5603
5605
|
}
|
|
5604
5606
|
|
|
5605
|
-
type ProtectedBranchAccessLevel =
|
|
5607
|
+
type ProtectedBranchAccessLevel = AccessLevel.NO_ACCESS | AccessLevel.DEVELOPER | AccessLevel.MAINTAINER | AccessLevel.ADMIN;
|
|
5606
5608
|
interface ExtendedProtectedBranchAccessLevelSchema {
|
|
5607
5609
|
id: number;
|
|
5608
5610
|
access_level: ProtectedBranchAccessLevel;
|
|
@@ -6145,7 +6147,7 @@ interface ProjectAccessRequests<C extends boolean = false> extends ResourceAcces
|
|
|
6145
6147
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
6146
6148
|
request<E extends boolean = false>(projectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
6147
6149
|
approve<E extends boolean = false>(projectId: string | number, userId: number, options?: {
|
|
6148
|
-
accessLevel?: AccessLevel
|
|
6150
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
6149
6151
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
6150
6152
|
deny<E extends boolean = false>(groupId: string | number, userId: number): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6151
6153
|
}
|
|
@@ -6156,7 +6158,7 @@ declare class ProjectAccessRequests<C extends boolean = false> extends ResourceA
|
|
|
6156
6158
|
interface ProjectAccessTokens<C extends boolean = false> extends ResourceAccessTokens<C> {
|
|
6157
6159
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<AccessTokenSchema[], C, E, P>>;
|
|
6158
6160
|
create<E extends boolean = false>(projectId: string | number, name: string, scopes: AccessTokenScopes[], options?: {
|
|
6159
|
-
accessLevel?: AccessLevel
|
|
6161
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>;
|
|
6160
6162
|
expiresAt?: string;
|
|
6161
6163
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
6162
6164
|
revoke<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
@@ -6299,7 +6301,7 @@ declare class ProjectImportExports<C extends boolean = false> extends BaseResour
|
|
|
6299
6301
|
}
|
|
6300
6302
|
|
|
6301
6303
|
interface ProjectInvitations<C extends boolean = false> {
|
|
6302
|
-
add<E extends boolean = false>(projectId: string | number, accessLevel: AccessLevel, options: OneOf<{
|
|
6304
|
+
add<E extends boolean = false>(projectId: string | number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options: OneOf<{
|
|
6303
6305
|
email: string;
|
|
6304
6306
|
userId: string;
|
|
6305
6307
|
}> & {
|
|
@@ -6313,7 +6315,7 @@ interface ProjectInvitations<C extends boolean = false> {
|
|
|
6313
6315
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema[], C, E, P>>;
|
|
6314
6316
|
edit<E extends boolean = false>(projectId: string | number, email: string, options?: {
|
|
6315
6317
|
expiresAt?: string;
|
|
6316
|
-
accessLevel?: AccessLevel
|
|
6318
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
6317
6319
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>>;
|
|
6318
6320
|
remove<E extends boolean = false>(projectId: string | number, email: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>>;
|
|
6319
6321
|
}
|
|
@@ -6396,7 +6398,7 @@ declare class ProjectLabels<C extends boolean = false> extends ResourceLabels<C>
|
|
|
6396
6398
|
}
|
|
6397
6399
|
|
|
6398
6400
|
interface ProjectMembers<C extends boolean = false> extends ResourceMembers<C> {
|
|
6399
|
-
add<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: AddMemeberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
6401
|
+
add<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: AddMemeberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
6400
6402
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: IncludeInherited & PaginationRequestOptions<P> & AllMembersOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema[], C, E, P>>;
|
|
6401
6403
|
edit<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: {
|
|
6402
6404
|
expiresAt?: string;
|
|
@@ -6762,7 +6764,7 @@ declare class ProjectWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
|
6762
6764
|
constructor(options: BaseResourceOptions<C>);
|
|
6763
6765
|
}
|
|
6764
6766
|
|
|
6765
|
-
type ProtectedTagAccessLevel =
|
|
6767
|
+
type ProtectedTagAccessLevel = AccessLevel.NO_ACCESS | AccessLevel.DEVELOPER | AccessLevel.MAINTAINER | AccessLevel.ADMIN;
|
|
6766
6768
|
interface ProtectedTagAccessLevelSummarySchema {
|
|
6767
6769
|
id: number;
|
|
6768
6770
|
access_level: ProtectedTagAccessLevel;
|
|
@@ -6775,7 +6777,7 @@ interface ProtectedTagSchema extends Record<string, unknown> {
|
|
|
6775
6777
|
type ProtectedTagAccessLevelEntity = OneOf<{
|
|
6776
6778
|
userId: number;
|
|
6777
6779
|
groupId: number;
|
|
6778
|
-
accessLevel:
|
|
6780
|
+
accessLevel: ProtectedTagAccessLevel;
|
|
6779
6781
|
}>;
|
|
6780
6782
|
declare class ProtectedTags<C extends boolean = false> extends BaseResource<C> {
|
|
6781
6783
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedTagSchema[], C, E, P>>;
|
|
@@ -7309,7 +7311,7 @@ interface GroupAccessRequests<C extends boolean = false> extends ResourceAccessR
|
|
|
7309
7311
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
7310
7312
|
request<E extends boolean = false>(groupId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
7311
7313
|
approve<E extends boolean = false>(groupId: string | number, userId: number, options?: {
|
|
7312
|
-
accessLevel?: AccessLevel
|
|
7314
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
7313
7315
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
7314
7316
|
deny<E extends boolean = false>(groupId: string | number, userId: number): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7315
7317
|
}
|
|
@@ -7320,7 +7322,7 @@ declare class GroupAccessRequests<C extends boolean = false> extends ResourceAcc
|
|
|
7320
7322
|
interface GroupAccessTokens<C extends boolean = false> extends ResourceAccessTokens<C> {
|
|
7321
7323
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<AccessTokenSchema[], C, E, P>>;
|
|
7322
7324
|
create<E extends boolean = false>(groupId: string | number, name: string, scopes: AccessTokenScopes[], options?: {
|
|
7323
|
-
accessLevel?: AccessLevel
|
|
7325
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>;
|
|
7324
7326
|
expiresAt?: string;
|
|
7325
7327
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
7326
7328
|
revoke<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
@@ -7436,7 +7438,7 @@ declare class GroupImportExports<C extends boolean = false> extends BaseResource
|
|
|
7436
7438
|
}
|
|
7437
7439
|
|
|
7438
7440
|
interface GroupInvitations<C extends boolean = false> {
|
|
7439
|
-
add<E extends boolean = false>(groupId: string | number, accessLevel: AccessLevel, options: OneOf<{
|
|
7441
|
+
add<E extends boolean = false>(groupId: string | number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options: OneOf<{
|
|
7440
7442
|
email: string;
|
|
7441
7443
|
userId: string;
|
|
7442
7444
|
}> & {
|
|
@@ -7450,7 +7452,7 @@ interface GroupInvitations<C extends boolean = false> {
|
|
|
7450
7452
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema[], C, E, P>>;
|
|
7451
7453
|
edit<E extends boolean = false>(groupId: string | number, email: string, options?: {
|
|
7452
7454
|
expiresAt?: string;
|
|
7453
|
-
accessLevel?: AccessLevel
|
|
7455
|
+
accessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
7454
7456
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>>;
|
|
7455
7457
|
remove<E extends boolean = false>(groupId: string | number, email: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<InvitationSchema, C, E, void>>;
|
|
7456
7458
|
}
|
|
@@ -7533,7 +7535,7 @@ declare class GroupLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
|
7533
7535
|
declare class GroupLDAPLinks<C extends boolean = false> extends BaseResource<C> {
|
|
7534
7536
|
add<E extends boolean = false>(groupId: string | number, groupAccess: number, provider: string, options?: {
|
|
7535
7537
|
cn?: string;
|
|
7536
|
-
groupAccess?: AccessLevel
|
|
7538
|
+
groupAccess?: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
7537
7539
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<string, C, E, void>>;
|
|
7538
7540
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<string[], C, E, P>>;
|
|
7539
7541
|
remove<E extends boolean = false>(groupId: string | number, provider: string, options?: {
|
|
@@ -7558,16 +7560,16 @@ interface BillableGroupMemberMembershipSchema extends Record<string, unknown> {
|
|
|
7558
7560
|
expires_at: string;
|
|
7559
7561
|
access_level: {
|
|
7560
7562
|
string_value: string;
|
|
7561
|
-
integer_value: AccessLevel
|
|
7563
|
+
integer_value: Exclude<AccessLevel, AccessLevel.ADMIN>;
|
|
7562
7564
|
};
|
|
7563
7565
|
}
|
|
7564
7566
|
interface OverrodeGroupMemberSchema extends SimpleMemberSchema {
|
|
7565
7567
|
override: boolean;
|
|
7566
7568
|
}
|
|
7567
7569
|
interface GroupMembers<C extends boolean = false> extends ResourceMembers<C> {
|
|
7568
|
-
add<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: AddMemeberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
7570
|
+
add<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: AddMemeberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
7569
7571
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: IncludeInherited & PaginationRequestOptions<P> & AllMembersOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema[], C, E, P>>;
|
|
7570
|
-
edit<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: AccessLevel, options?: {
|
|
7572
|
+
edit<E extends boolean = false>(projectId: string | number, userId: number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: {
|
|
7571
7573
|
expiresAt?: string;
|
|
7572
7574
|
memberRoleId?: number;
|
|
7573
7575
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
@@ -7596,7 +7598,7 @@ interface MemberRoleSchema extends Record<string, unknown> {
|
|
|
7596
7598
|
read_code: boolean;
|
|
7597
7599
|
}
|
|
7598
7600
|
declare class GroupMemberRoles<C extends boolean = false> extends BaseResource<C> {
|
|
7599
|
-
add<E extends boolean = false>(groupId: string | number, baseAccessLevel: AccessLevel, options?: {
|
|
7601
|
+
add<E extends boolean = false>(groupId: string | number, baseAccessLevel: Exclude<AccessLevel, AccessLevel.NO_ACCESS | AccessLevel.MINIMAL_ACCESS | AccessLevel.ADMIN>, options?: {
|
|
7600
7602
|
readCode?: boolean;
|
|
7601
7603
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberRoleSchema, C, E, void>>;
|
|
7602
7604
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberRoleSchema[], C, E, P>>;
|
|
@@ -7709,7 +7711,7 @@ interface SAMLGroupSchema extends Record<string, unknown> {
|
|
|
7709
7711
|
}
|
|
7710
7712
|
declare class GroupSAMLLinks<C extends boolean = false> extends BaseResource<C> {
|
|
7711
7713
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SAMLGroupSchema[], C, E, P>>;
|
|
7712
|
-
create<E extends boolean = false>(groupId: string | number, samlGroupName: string, accessLevel: AccessLevel, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SAMLGroupSchema, C, E, void>>;
|
|
7714
|
+
create<E extends boolean = false>(groupId: string | number, samlGroupName: string, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SAMLGroupSchema, C, E, void>>;
|
|
7713
7715
|
remove<E extends boolean = false>(groupId: string | number, samlGroupName: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7714
7716
|
show<E extends boolean = false>(groupId: string | number, samlGroupName: string, options: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SAMLGroupSchema, C, E, void>>;
|
|
7715
7717
|
}
|
|
@@ -8111,4 +8113,4 @@ declare class Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8111
8113
|
constructor(options: BaseResourceOptions<C>);
|
|
8112
8114
|
}
|
|
8113
8115
|
|
|
8114
|
-
export { type AcceptMergeRequestOptions, type AccessLevel, type AccessRequestSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemeberOptions, type AddResourceHookOptions, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, type GroupServiceAccountSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceSchema, Namespaces, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevel, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
|
|
8116
|
+
export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemeberOptions, type AddResourceHookOptions, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, type GroupServiceAccountSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceSchema, Namespaces, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
|