@gitbeaker/core 39.11.0 → 39.13.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 +1 -0
- package/dist/index.d.mts +238 -117
- package/dist/index.d.ts +238 -117
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -146,25 +146,6 @@ declare class Events<C extends boolean = false> extends BaseResource<C> {
|
|
|
146
146
|
}> & AllEventOptions & PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<EventSchema[], C, E, P>>;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
type AccessLevel = 0 | 5 | 10 | 20 | 30 | 40 | 50;
|
|
150
|
-
interface AccessRequestSchema extends Record<string, unknown> {
|
|
151
|
-
id: number;
|
|
152
|
-
username: string;
|
|
153
|
-
name: string;
|
|
154
|
-
state: string;
|
|
155
|
-
created_at: string;
|
|
156
|
-
requested_at: string;
|
|
157
|
-
}
|
|
158
|
-
declare class ResourceAccessRequests<C extends boolean = false> extends BaseResource<C> {
|
|
159
|
-
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
160
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
161
|
-
request<E extends boolean = false>(resourceId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
162
|
-
approve<E extends boolean = false>(resourceId: string | number, userId: number, options?: {
|
|
163
|
-
accessLevel?: AccessLevel;
|
|
164
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
165
|
-
deny<E extends boolean = false>(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
149
|
interface PersonalAccessTokenSchema extends Record<string, unknown> {
|
|
169
150
|
id: number;
|
|
170
151
|
name: string;
|
|
@@ -175,8 +156,9 @@ interface PersonalAccessTokenSchema extends Record<string, unknown> {
|
|
|
175
156
|
last_used_at: string;
|
|
176
157
|
active: boolean;
|
|
177
158
|
expires_at?: string;
|
|
159
|
+
token?: string;
|
|
178
160
|
}
|
|
179
|
-
type PersonalAccessTokenScopes = 'api' | 'read_user' | '
|
|
161
|
+
type PersonalAccessTokenScopes = 'api' | 'read_api' | 'read_user' | 'create_runner' | 'read_repository' | 'write_repository' | 'read_registry' | 'write_registry' | 'sudo' | 'admin_mode';
|
|
180
162
|
type AllPersonalAccessTokenOptions = {
|
|
181
163
|
userId?: string | number;
|
|
182
164
|
state?: 'active' | 'inactive';
|
|
@@ -200,6 +182,37 @@ declare class PersonalAccessTokens<C extends boolean = false> extends BaseResour
|
|
|
200
182
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PersonalAccessTokenSchema, C, E, void>>;
|
|
201
183
|
}
|
|
202
184
|
|
|
185
|
+
interface CustomAttributeSchema extends Record<string, unknown> {
|
|
186
|
+
key: string;
|
|
187
|
+
value: string;
|
|
188
|
+
}
|
|
189
|
+
declare class ResourceCustomAttributes<C extends boolean = false> extends BaseResource<C> {
|
|
190
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
191
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema[], C, E, P>>;
|
|
192
|
+
remove<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
193
|
+
set<E extends boolean = false>(resourceId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
194
|
+
show<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
type AccessLevel = 0 | 5 | 10 | 20 | 30 | 40 | 50;
|
|
198
|
+
interface AccessRequestSchema extends Record<string, unknown> {
|
|
199
|
+
id: number;
|
|
200
|
+
username: string;
|
|
201
|
+
name: string;
|
|
202
|
+
state: string;
|
|
203
|
+
created_at: string;
|
|
204
|
+
requested_at: string;
|
|
205
|
+
}
|
|
206
|
+
declare class ResourceAccessRequests<C extends boolean = false> extends BaseResource<C> {
|
|
207
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
208
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
209
|
+
request<E extends boolean = false>(resourceId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
210
|
+
approve<E extends boolean = false>(resourceId: string | number, userId: number, options?: {
|
|
211
|
+
accessLevel?: AccessLevel;
|
|
212
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
213
|
+
deny<E extends boolean = false>(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
214
|
+
}
|
|
215
|
+
|
|
203
216
|
interface UserSchema extends Record<string, unknown> {
|
|
204
217
|
id: number;
|
|
205
218
|
name: string;
|
|
@@ -395,6 +408,11 @@ type AllUserProjectsOptions = {
|
|
|
395
408
|
};
|
|
396
409
|
declare class Users<C extends boolean = false> extends BaseResource<C> {
|
|
397
410
|
activate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
411
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
412
|
+
withCustomAttributes: true;
|
|
413
|
+
}): Promise<GitlabAPIResponse<((UserSchema | ExpandedUserSchema) & {
|
|
414
|
+
custom_attributes: CustomAttributeSchema[];
|
|
415
|
+
})[], C, E, P>>;
|
|
398
416
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(UserSchema | ExpandedUserSchema)[], C, E, P>>;
|
|
399
417
|
allActivities<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: {
|
|
400
418
|
from?: string;
|
|
@@ -574,7 +592,7 @@ type AllGroupProjectsOptions = {
|
|
|
574
592
|
withMergeRequestsEnabled?: boolean;
|
|
575
593
|
withShared?: boolean;
|
|
576
594
|
includeSubgroups?: boolean;
|
|
577
|
-
|
|
595
|
+
minAccessLevel?: number;
|
|
578
596
|
withCustomAttributes?: boolean;
|
|
579
597
|
withSecurityReports?: boolean;
|
|
580
598
|
};
|
|
@@ -644,38 +662,37 @@ type AllProvisionedUsersOptions = {
|
|
|
644
662
|
createdBefore?: string;
|
|
645
663
|
};
|
|
646
664
|
declare class Groups<C extends boolean = false> extends BaseResource<C> {
|
|
647
|
-
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options
|
|
665
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: {
|
|
666
|
+
withCustomAttributes: true;
|
|
667
|
+
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
668
|
+
custom_attributes: CustomAttributeSchema[];
|
|
669
|
+
})[], C, E, P>>;
|
|
670
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: {
|
|
648
671
|
statistics: true;
|
|
649
672
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
650
673
|
statistics: GroupStatisticsSchema;
|
|
651
674
|
})[], C, E, P>>;
|
|
675
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options?: AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
|
|
652
676
|
allDescendantGroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
653
677
|
statistics: true;
|
|
654
678
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
655
679
|
statistics: GroupStatisticsSchema;
|
|
656
680
|
})[], C, E, P>>;
|
|
681
|
+
allDescendantGroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
|
|
657
682
|
allProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
658
683
|
simple: true;
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
allProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
662
|
-
simple?: boolean;
|
|
663
|
-
sharedOnly?: boolean;
|
|
664
|
-
} & AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectSchema[], C, E, P>>;
|
|
684
|
+
} & AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedProjectSchema[], C, E, P>>;
|
|
685
|
+
allProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectSchema[], C, E, P>>;
|
|
665
686
|
allSharedProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
666
687
|
simple: true;
|
|
667
688
|
} & AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedProjectSchema[], C, E, P>>;
|
|
668
|
-
allSharedProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?:
|
|
669
|
-
simple?: boolean;
|
|
670
|
-
} & AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectSchema[], C, E, P>>;
|
|
689
|
+
allSharedProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectSchema[], C, E, P>>;
|
|
671
690
|
allSubgroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
672
691
|
statistics: true;
|
|
673
692
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
674
693
|
statistics: GroupStatisticsSchema;
|
|
675
694
|
})[], C, E, P>>;
|
|
676
|
-
allSubgroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?:
|
|
677
|
-
statistics?: boolean;
|
|
678
|
-
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
|
|
695
|
+
allSubgroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
|
|
679
696
|
allProvisionedUsers<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllProvisionedUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema[], C, E, P>>;
|
|
680
697
|
allTransferLocations<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
681
698
|
search?: string;
|
|
@@ -1047,6 +1064,11 @@ type AllForksOptions = {
|
|
|
1047
1064
|
updatedAfter?: string;
|
|
1048
1065
|
};
|
|
1049
1066
|
declare class Projects<C extends boolean = false> extends BaseResource<C> {
|
|
1067
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: PaginationRequestOptions<P> & AllProjectsOptions & Sudo & ShowExpanded<E> & {
|
|
1068
|
+
withCustomAttributes: true;
|
|
1069
|
+
}): Promise<GitlabAPIResponse<(ProjectSchema & {
|
|
1070
|
+
custom_attributes: CustomAttributeSchema[];
|
|
1071
|
+
})[], C, E, P>>;
|
|
1050
1072
|
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: PaginationRequestOptions<P> & AllProjectsOptions & Sudo & ShowExpanded<E> & {
|
|
1051
1073
|
simple: true;
|
|
1052
1074
|
}): Promise<GitlabAPIResponse<SimpleProjectSchema[], C, E, P>>;
|
|
@@ -1871,7 +1893,7 @@ declare class DeployTokens<C extends boolean = false> extends BaseResource<C> {
|
|
|
1871
1893
|
}> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DeployTokenSchema, C, E, void>>;
|
|
1872
1894
|
}
|
|
1873
1895
|
|
|
1874
|
-
type AccessTokenScopes = 'api' | 'read_api' | 'read_registry' | 'write_registry' | 'read_repository' | 'write_repository';
|
|
1896
|
+
type AccessTokenScopes = 'api' | 'read_api' | 'create_runner' | 'read_registry' | 'write_registry' | 'read_repository' | 'write_repository';
|
|
1875
1897
|
interface AccessTokenSchema extends Record<string, unknown> {
|
|
1876
1898
|
user_id: number;
|
|
1877
1899
|
scopes?: AccessTokenScopes[];
|
|
@@ -1882,6 +1904,7 @@ interface AccessTokenSchema extends Record<string, unknown> {
|
|
|
1882
1904
|
created_at: string;
|
|
1883
1905
|
revoked: boolean;
|
|
1884
1906
|
access_level: AccessLevel;
|
|
1907
|
+
token?: string;
|
|
1885
1908
|
}
|
|
1886
1909
|
declare class ResourceAccessTokens<C extends boolean = false> extends BaseResource<C> {
|
|
1887
1910
|
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
@@ -1951,18 +1974,6 @@ declare class ResourceBadges<C extends boolean = false> extends BaseResource<C>
|
|
|
1951
1974
|
show<E extends boolean = false>(resourceId: string | number, badgeId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<BadgeSchema, C, E, void>>;
|
|
1952
1975
|
}
|
|
1953
1976
|
|
|
1954
|
-
interface CustomAttributeSchema extends Record<string, unknown> {
|
|
1955
|
-
key: string;
|
|
1956
|
-
value: string;
|
|
1957
|
-
}
|
|
1958
|
-
declare class ResourceCustomAttributes<C extends boolean = false> extends BaseResource<C> {
|
|
1959
|
-
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
1960
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema[], C, E, P>>;
|
|
1961
|
-
remove<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
1962
|
-
set<E extends boolean = false>(resourceId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
1963
|
-
show<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
1977
|
type MetricType = 'deployment_frequency' | 'lead_time_for_changes' | 'time_to_restore_service' | 'change_failure_rate';
|
|
1967
1978
|
interface DORA4MetricSchema extends Record<string, unknown> {
|
|
1968
1979
|
date: string;
|
|
@@ -2001,17 +2012,17 @@ type DiscussionNotePositionImageSchema = DiscussionNotePositionBaseSchema & {
|
|
|
2001
2012
|
type DiscussionNotePositionSchema = DiscussionNotePositionTextSchema | DiscussionNotePositionImageSchema;
|
|
2002
2013
|
interface DiscussionNoteSchema extends Record<string, unknown> {
|
|
2003
2014
|
id: number;
|
|
2004
|
-
type
|
|
2015
|
+
type: 'DiffNote' | 'DiscussionNote' | null;
|
|
2005
2016
|
body: string;
|
|
2006
|
-
attachment
|
|
2017
|
+
attachment: string | null;
|
|
2007
2018
|
author: MappedOmit<UserSchema, 'created_at'>;
|
|
2008
2019
|
created_at: string;
|
|
2009
2020
|
updated_at: string;
|
|
2010
2021
|
system: boolean;
|
|
2011
2022
|
noteable_id: number;
|
|
2012
2023
|
noteable_type: string;
|
|
2013
|
-
noteable_iid
|
|
2014
|
-
resolvable
|
|
2024
|
+
noteable_iid: number | null;
|
|
2025
|
+
resolvable: boolean;
|
|
2015
2026
|
}
|
|
2016
2027
|
interface DiscussionSchema extends Record<string, unknown> {
|
|
2017
2028
|
id: string;
|
|
@@ -2178,6 +2189,11 @@ interface CommitAction {
|
|
|
2178
2189
|
/** When true/false enables/disables the execute flag on the file. Only considered for chmod action. */
|
|
2179
2190
|
execute_filemode?: boolean;
|
|
2180
2191
|
}
|
|
2192
|
+
interface CommitStatsSchema extends Record<string, unknown> {
|
|
2193
|
+
additions: number;
|
|
2194
|
+
deletions: number;
|
|
2195
|
+
total: number;
|
|
2196
|
+
}
|
|
2181
2197
|
interface CondensedCommitSchema extends Record<string, unknown> {
|
|
2182
2198
|
id: string;
|
|
2183
2199
|
short_id: string;
|
|
@@ -2203,11 +2219,7 @@ interface ExpandedCommitSchema extends CommitSchema {
|
|
|
2203
2219
|
sha: string;
|
|
2204
2220
|
status: string;
|
|
2205
2221
|
};
|
|
2206
|
-
stats:
|
|
2207
|
-
additions: number;
|
|
2208
|
-
deletions: number;
|
|
2209
|
-
total: number;
|
|
2210
|
-
};
|
|
2222
|
+
stats: CommitStatsSchema;
|
|
2211
2223
|
status: string;
|
|
2212
2224
|
}
|
|
2213
2225
|
interface GPGSignatureSchema extends Record<string, unknown> {
|
|
@@ -2321,6 +2333,23 @@ type EditPipelineStatusOptions = {
|
|
|
2321
2333
|
pipelineId?: number;
|
|
2322
2334
|
};
|
|
2323
2335
|
declare class Commits<C extends boolean = false> extends BaseResource<C> {
|
|
2336
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2337
|
+
withStats: true;
|
|
2338
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2339
|
+
stats: CommitStatsSchema;
|
|
2340
|
+
})[], C, E, P>>;
|
|
2341
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2342
|
+
trailers: true;
|
|
2343
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2344
|
+
trailers: Record<string, unknown>;
|
|
2345
|
+
})[], C, E, P>>;
|
|
2346
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2347
|
+
withStats: true;
|
|
2348
|
+
trailers: true;
|
|
2349
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2350
|
+
trailers: Record<string, unknown>;
|
|
2351
|
+
stats: CommitStatsSchema;
|
|
2352
|
+
})[], C, E, P>>;
|
|
2324
2353
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CommitSchema[], C, E, P>>;
|
|
2325
2354
|
allComments<E extends boolean = false>(projectId: string | number, sha: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedCommitCommentSchema[], C, E, void>>;
|
|
2326
2355
|
allDiscussions<E extends boolean = false>(projectId: string | number, sha: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema[], C, E, void>>;
|
|
@@ -2386,6 +2415,58 @@ declare class TodoLists<C extends boolean = false> extends BaseResource<C> {
|
|
|
2386
2415
|
done<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2387
2416
|
}
|
|
2388
2417
|
|
|
2418
|
+
interface SimpleLabelSchema extends Record<string, unknown> {
|
|
2419
|
+
id: number;
|
|
2420
|
+
name: string;
|
|
2421
|
+
description: null | string;
|
|
2422
|
+
description_html: string;
|
|
2423
|
+
text_color: string;
|
|
2424
|
+
color: string;
|
|
2425
|
+
}
|
|
2426
|
+
interface LabelSchema extends SimpleLabelSchema {
|
|
2427
|
+
open_issues_count: number;
|
|
2428
|
+
closed_issues_count: number;
|
|
2429
|
+
open_merge_requests_count: number;
|
|
2430
|
+
subscribed: boolean;
|
|
2431
|
+
priority: number;
|
|
2432
|
+
is_project_label: boolean;
|
|
2433
|
+
}
|
|
2434
|
+
interface LabelCountSchema extends Record<string, unknown> {
|
|
2435
|
+
open_issues_count: number;
|
|
2436
|
+
closed_issues_count: number;
|
|
2437
|
+
open_merge_requests_count: number;
|
|
2438
|
+
}
|
|
2439
|
+
declare class ResourceLabels<C extends boolean = false> extends BaseResource<C> {
|
|
2440
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
2441
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options: {
|
|
2442
|
+
withCounts: true;
|
|
2443
|
+
includeAncestorGroups?: boolean;
|
|
2444
|
+
search?: string;
|
|
2445
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
2446
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: {
|
|
2447
|
+
includeAncestorGroups?: boolean;
|
|
2448
|
+
search?: string;
|
|
2449
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
2450
|
+
create<E extends boolean = false>(resourceId: string | number, labelName: string, color: string, options?: {
|
|
2451
|
+
description?: string;
|
|
2452
|
+
priority?: number;
|
|
2453
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2454
|
+
edit<E extends boolean = false>(resourceId: number | string, labelId: number | string, options: OneOf<{
|
|
2455
|
+
newName: string;
|
|
2456
|
+
color: string;
|
|
2457
|
+
}> & {
|
|
2458
|
+
description?: string;
|
|
2459
|
+
priority?: number;
|
|
2460
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2461
|
+
promote<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2462
|
+
remove<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2463
|
+
show<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: {
|
|
2464
|
+
includeAncestorGroups?: boolean;
|
|
2465
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2466
|
+
subscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2467
|
+
unsubscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2389
2470
|
interface DiffRefsSchema {
|
|
2390
2471
|
base_sha: string;
|
|
2391
2472
|
head_sha: string;
|
|
@@ -2463,7 +2544,7 @@ interface MergeRequestSchema extends CondensedMergeRequestSchema {
|
|
|
2463
2544
|
reviewers: MappedOmit<UserSchema, 'created_at'>[] | null;
|
|
2464
2545
|
source_project_id: number;
|
|
2465
2546
|
target_project_id: number;
|
|
2466
|
-
labels: string[] |
|
|
2547
|
+
labels: string[] | SimpleLabelSchema[];
|
|
2467
2548
|
draft: boolean;
|
|
2468
2549
|
work_in_progress: boolean;
|
|
2469
2550
|
milestone: MilestoneSchema | null;
|
|
@@ -2480,6 +2561,7 @@ interface MergeRequestSchema extends CondensedMergeRequestSchema {
|
|
|
2480
2561
|
time_stats: TimeStatsSchema;
|
|
2481
2562
|
squash: boolean;
|
|
2482
2563
|
task_completion_status: TaskCompletionStatusSchema;
|
|
2564
|
+
prepared_at: string | null;
|
|
2483
2565
|
has_conflicts: boolean;
|
|
2484
2566
|
blocking_discussions_resolved: boolean;
|
|
2485
2567
|
approvals_before_merge: number | null;
|
|
@@ -2499,6 +2581,12 @@ interface ExpandedMergeRequestSchema extends MergeRequestSchema {
|
|
|
2499
2581
|
can_merge: boolean;
|
|
2500
2582
|
};
|
|
2501
2583
|
}
|
|
2584
|
+
interface MergeRequestSchemaWithExpandedLabels extends MergeRequestSchema {
|
|
2585
|
+
labels: SimpleLabelSchema[];
|
|
2586
|
+
}
|
|
2587
|
+
interface MergeRequestSchemaWithBasicLabels extends MergeRequestSchema {
|
|
2588
|
+
labels: string[];
|
|
2589
|
+
}
|
|
2502
2590
|
interface MergeRequestTodoSchema extends TodoSchema {
|
|
2503
2591
|
project: SimpleProjectSchema;
|
|
2504
2592
|
target_type: 'MergeRequest';
|
|
@@ -2591,12 +2679,20 @@ type EditMergeRequestOptions = {
|
|
|
2591
2679
|
declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
|
|
2592
2680
|
accept<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
|
|
2593
2681
|
addSpentTime<E extends boolean = false>(projectId: string | number, mergerequestIId: number, duration: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2594
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(
|
|
2682
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options: OneOrNoneOf<{
|
|
2683
|
+
projectId: string | number;
|
|
2684
|
+
groupId: string | number;
|
|
2685
|
+
}> & PaginationRequestOptions<P> & AllMergeRequestsOptions & {
|
|
2686
|
+
withLabelsDetails: true;
|
|
2687
|
+
}): Promise<GitlabAPIResponse<MergeRequestSchemaWithExpandedLabels[], C, E, P>>;
|
|
2688
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: OneOrNoneOf<{
|
|
2595
2689
|
projectId: string | number;
|
|
2596
2690
|
groupId: string | number;
|
|
2597
|
-
}> & PaginationRequestOptions<P> & BaseRequestOptions<E>
|
|
2598
|
-
|
|
2599
|
-
|
|
2691
|
+
}> & PaginationRequestOptions<P> & AllMergeRequestsOptions & BaseRequestOptions<E> & {
|
|
2692
|
+
withLabelsDetails?: false;
|
|
2693
|
+
}): Promise<GitlabAPIResponse<MergeRequestSchemaWithBasicLabels[], C, E, P>>;
|
|
2694
|
+
allDiffs<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffSchema[], C, E, P>>;
|
|
2695
|
+
allCommits<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CommitSchema[], C, E, P>>;
|
|
2600
2696
|
allDiffVersions<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffVersionsSchema[], C, E, void>>;
|
|
2601
2697
|
allIssuesClosed<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueSchema[], C, E, void>>;
|
|
2602
2698
|
allParticipants<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
|
|
@@ -2653,7 +2749,7 @@ interface IssueSchema extends Record<string, unknown> {
|
|
|
2653
2749
|
created_at: string;
|
|
2654
2750
|
moved_to_id?: string;
|
|
2655
2751
|
iid: number;
|
|
2656
|
-
labels
|
|
2752
|
+
labels: string[] | SimpleLabelSchema[];
|
|
2657
2753
|
upvotes: number;
|
|
2658
2754
|
downvotes: number;
|
|
2659
2755
|
merge_requests_count: number;
|
|
@@ -2690,6 +2786,12 @@ interface IssueSchema extends Record<string, unknown> {
|
|
|
2690
2786
|
};
|
|
2691
2787
|
service_desk_reply_to?: string;
|
|
2692
2788
|
}
|
|
2789
|
+
interface IssueSchemaWithExpandedLabels extends IssueSchema {
|
|
2790
|
+
labels: SimpleLabelSchema[];
|
|
2791
|
+
}
|
|
2792
|
+
interface IssueSchemaWithBasicLabels extends IssueSchema {
|
|
2793
|
+
labels: string[];
|
|
2794
|
+
}
|
|
2693
2795
|
type AllIssuesOptions = {
|
|
2694
2796
|
assigneeId?: number;
|
|
2695
2797
|
assigneeUsername?: string[];
|
|
@@ -2763,10 +2865,18 @@ declare class Issues<C extends boolean = false> extends BaseResource<C> {
|
|
|
2763
2865
|
summary?: string;
|
|
2764
2866
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2765
2867
|
addTimeEstimate<E extends boolean = false>(projectId: string | number, issueIId: number, duration: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2766
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(
|
|
2868
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options: OneOrNoneOf<{
|
|
2767
2869
|
projectId: string | number;
|
|
2768
2870
|
groupId: string | number;
|
|
2769
|
-
}> & PaginationRequestOptions<P> & AllIssuesOptions &
|
|
2871
|
+
}> & PaginationRequestOptions<P> & AllIssuesOptions & {
|
|
2872
|
+
withLabelsDetails: true;
|
|
2873
|
+
}): Promise<GitlabAPIResponse<IssueSchemaWithExpandedLabels[], C, E, P>>;
|
|
2874
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: OneOrNoneOf<{
|
|
2875
|
+
projectId: string | number;
|
|
2876
|
+
groupId: string | number;
|
|
2877
|
+
}> & PaginationRequestOptions<P> & AllIssuesOptions & BaseRequestOptions<E> & {
|
|
2878
|
+
withLabelsDetails?: false;
|
|
2879
|
+
}): Promise<GitlabAPIResponse<IssueSchemaWithBasicLabels[], C, E, P>>;
|
|
2770
2880
|
allMetricImages<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MetricImageSchema[], C, E, void>>;
|
|
2771
2881
|
allParticipants<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
|
|
2772
2882
|
allRelatedMergeRequests<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestSchema[], C, E, void>>;
|
|
@@ -2857,47 +2967,6 @@ declare class ResourceMilestones<C extends boolean = false> extends BaseResource
|
|
|
2857
2967
|
show<E extends boolean = false>(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MilestoneSchema, C, E, void>>;
|
|
2858
2968
|
}
|
|
2859
2969
|
|
|
2860
|
-
interface LabelSchema extends Record<string, unknown> {
|
|
2861
|
-
id: number;
|
|
2862
|
-
name: string;
|
|
2863
|
-
color: string;
|
|
2864
|
-
text_color: string;
|
|
2865
|
-
description: string;
|
|
2866
|
-
description_html: string;
|
|
2867
|
-
open_issues_count: number;
|
|
2868
|
-
closed_issues_count: number;
|
|
2869
|
-
open_merge_requests_count: number;
|
|
2870
|
-
subscribed: boolean;
|
|
2871
|
-
priority: number;
|
|
2872
|
-
is_project_label: boolean;
|
|
2873
|
-
}
|
|
2874
|
-
declare class ResourceLabels<C extends boolean = false> extends BaseResource<C> {
|
|
2875
|
-
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
2876
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: {
|
|
2877
|
-
withCounts?: boolean;
|
|
2878
|
-
includeAncestorGroups?: boolean;
|
|
2879
|
-
search?: string;
|
|
2880
|
-
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
2881
|
-
create<E extends boolean = false>(resourceId: string | number, labelName: string, color: string, options?: {
|
|
2882
|
-
description?: string;
|
|
2883
|
-
priority?: number;
|
|
2884
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2885
|
-
edit<E extends boolean = false>(resourceId: number | string, labelId: number | string, options: OneOf<{
|
|
2886
|
-
newName: string;
|
|
2887
|
-
color: string;
|
|
2888
|
-
}> & {
|
|
2889
|
-
description?: string;
|
|
2890
|
-
priority?: number;
|
|
2891
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2892
|
-
promote<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2893
|
-
remove<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2894
|
-
show<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: {
|
|
2895
|
-
includeAncestorGroups?: boolean;
|
|
2896
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2897
|
-
subscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2898
|
-
unsubscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2899
|
-
}
|
|
2900
|
-
|
|
2901
2970
|
interface IssueBoardListSchema extends Record<string, unknown> {
|
|
2902
2971
|
id: number;
|
|
2903
2972
|
label: Pick<LabelSchema, 'name' | 'color' | 'description'>;
|
|
@@ -3072,9 +3141,12 @@ interface WikiAttachmentSchema extends Record<string, unknown> {
|
|
|
3072
3141
|
}
|
|
3073
3142
|
declare class ResourceWikis<C extends boolean = false> extends BaseResource<C> {
|
|
3074
3143
|
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
3075
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options
|
|
3076
|
-
withContent
|
|
3077
|
-
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema
|
|
3144
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options: {
|
|
3145
|
+
withContent: true;
|
|
3146
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
3147
|
+
content: string;
|
|
3148
|
+
})[], C, E, P>>;
|
|
3149
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
3078
3150
|
create<E extends boolean = false>(resourceId: string | number, content: string, title: string, options?: {
|
|
3079
3151
|
format?: string;
|
|
3080
3152
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<WikiSchema, C, E, void>>;
|
|
@@ -5349,6 +5421,9 @@ declare class MergeRequestMilestoneEvents<C extends boolean = false> extends Res
|
|
|
5349
5421
|
constructor(options: BaseResourceOptions<C>);
|
|
5350
5422
|
}
|
|
5351
5423
|
|
|
5424
|
+
type MergeRequestDraftNotePositionSchema = DiscussionNotePositionSchema & {
|
|
5425
|
+
line_range?: number;
|
|
5426
|
+
};
|
|
5352
5427
|
interface MergeRequestDraftNoteSchema extends Record<string, unknown> {
|
|
5353
5428
|
id: number;
|
|
5354
5429
|
author_id: number;
|
|
@@ -5358,9 +5433,7 @@ interface MergeRequestDraftNoteSchema extends Record<string, unknown> {
|
|
|
5358
5433
|
note: string;
|
|
5359
5434
|
commit_id?: number;
|
|
5360
5435
|
line_code?: number;
|
|
5361
|
-
position:
|
|
5362
|
-
line_range?: number;
|
|
5363
|
-
};
|
|
5436
|
+
position: MergeRequestDraftNotePositionSchema;
|
|
5364
5437
|
}
|
|
5365
5438
|
declare class MergeRequestDraftNotes<C extends boolean = false> extends BaseResource<C> {
|
|
5366
5439
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, mergerequestIId: number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDraftNoteSchema[], C, E, P>>;
|
|
@@ -5368,9 +5441,11 @@ declare class MergeRequestDraftNotes<C extends boolean = false> extends BaseReso
|
|
|
5368
5441
|
commitId?: string;
|
|
5369
5442
|
inReplyToDiscussionId?: number;
|
|
5370
5443
|
resolveDiscussion?: boolean;
|
|
5444
|
+
position?: Camelize<MergeRequestDraftNotePositionSchema>;
|
|
5371
5445
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDraftNoteSchema, C, E, void>>;
|
|
5372
5446
|
edit<E extends boolean = false>(projectId: string | number, mergerequestIId: number, draftNoteId: number, options?: {
|
|
5373
5447
|
note?: string;
|
|
5448
|
+
position?: Camelize<MergeRequestDraftNotePositionSchema>;
|
|
5374
5449
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDraftNoteSchema, C, E, void>>;
|
|
5375
5450
|
publish<E extends boolean = false>(projectId: string | number, mergerequestIId: number, draftNoteId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDraftNoteSchema, C, E, void>>;
|
|
5376
5451
|
publishBulk<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDraftNoteSchema[], C, E, void>>;
|
|
@@ -5857,6 +5932,15 @@ declare class ProjectIterations<C extends boolean = false> extends ResourceItera
|
|
|
5857
5932
|
}
|
|
5858
5933
|
|
|
5859
5934
|
interface ProjectLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
5935
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
5936
|
+
withCounts: true;
|
|
5937
|
+
includeAncestorGroups?: boolean;
|
|
5938
|
+
search?: string;
|
|
5939
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
5940
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
5941
|
+
includeAncestorGroups?: boolean;
|
|
5942
|
+
search?: string;
|
|
5943
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
5860
5944
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
5861
5945
|
withCounts?: boolean;
|
|
5862
5946
|
includeAncestorGroups?: boolean;
|
|
@@ -5991,7 +6075,6 @@ interface ReleaseSchema extends Record<string, unknown> {
|
|
|
5991
6075
|
tag_name: string;
|
|
5992
6076
|
description: string | null;
|
|
5993
6077
|
name: string | null;
|
|
5994
|
-
description_html: string;
|
|
5995
6078
|
created_at: string;
|
|
5996
6079
|
released_at: string | null;
|
|
5997
6080
|
user: MappedOmit<UserSchema, 'created_at'>;
|
|
@@ -6017,6 +6100,11 @@ interface ReleaseSchema extends Record<string, unknown> {
|
|
|
6017
6100
|
};
|
|
6018
6101
|
}
|
|
6019
6102
|
declare class ProjectReleases<C extends boolean = false> extends BaseResource<C> {
|
|
6103
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E> & {
|
|
6104
|
+
includeHtmlDescription: true;
|
|
6105
|
+
}): Promise<GitlabAPIResponse<(ReleaseSchema & {
|
|
6106
|
+
description_html: string;
|
|
6107
|
+
})[], C, E, P>>;
|
|
6020
6108
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema[], C, E, P>>;
|
|
6021
6109
|
create<E extends boolean = false>(projectId: string | number, options?: BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema, C, E, void>>;
|
|
6022
6110
|
createEvidence<E extends boolean = false>(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<number, C, E, void>>;
|
|
@@ -6216,6 +6304,12 @@ declare class ProjectVulnerabilities<C extends boolean = false> extends BaseReso
|
|
|
6216
6304
|
}
|
|
6217
6305
|
|
|
6218
6306
|
interface ProjectWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
6307
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
6308
|
+
withContent: true;
|
|
6309
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
6310
|
+
content: string;
|
|
6311
|
+
})[], C, E, P>>;
|
|
6312
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
6219
6313
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
6220
6314
|
withContent?: boolean;
|
|
6221
6315
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
@@ -6361,7 +6455,7 @@ declare class Repositories<C extends boolean = false> extends BaseResource<C> {
|
|
|
6361
6455
|
allRepositoryTrees<E extends boolean = false>(projectId: string | number, options?: AllRepositoryTreesOptions & PaginationRequestOptions<'keyset'> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RepositoryTreeSchema[], C, E, 'keyset'>>;
|
|
6362
6456
|
compare<E extends boolean = false>(projectId: string | number, from: string, to: string, options?: {
|
|
6363
6457
|
fromProjectId?: string | number;
|
|
6364
|
-
straight?:
|
|
6458
|
+
straight?: boolean;
|
|
6365
6459
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RepositoryCompareSchema, C, E, void>>;
|
|
6366
6460
|
editChangelog<E extends boolean = false>(projectId: string | number, version: string, options?: EditChangelogOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RepositoryChangelogSchema, C, E, void>>;
|
|
6367
6461
|
mergeBase<E extends boolean = false>(projectId: string | number, refs: string[], options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CommitSchema, C, E, void>>;
|
|
@@ -6709,7 +6803,7 @@ interface EpicSchema extends Record<string, unknown> {
|
|
|
6709
6803
|
created_at: string;
|
|
6710
6804
|
updated_at: string;
|
|
6711
6805
|
closed_at: string;
|
|
6712
|
-
labels
|
|
6806
|
+
labels: string[] | SimpleLabelSchema[];
|
|
6713
6807
|
upvotes: number;
|
|
6714
6808
|
downvotes: number;
|
|
6715
6809
|
_links: {
|
|
@@ -6718,6 +6812,12 @@ interface EpicSchema extends Record<string, unknown> {
|
|
|
6718
6812
|
group: string;
|
|
6719
6813
|
};
|
|
6720
6814
|
}
|
|
6815
|
+
interface EpicSchemaWithExpandedLabels extends EpicSchema {
|
|
6816
|
+
labels: SimpleLabelSchema[];
|
|
6817
|
+
}
|
|
6818
|
+
interface EpicSchemaWithBasicLabels extends EpicSchema {
|
|
6819
|
+
labels: string[];
|
|
6820
|
+
}
|
|
6721
6821
|
interface EpicTodoSchema extends TodoSchema {
|
|
6722
6822
|
group: Pick<GroupSchema, 'id' | 'name' | 'path' | 'kind' | 'full_path' | 'parent_id'>;
|
|
6723
6823
|
target_type: 'Epic';
|
|
@@ -6770,7 +6870,12 @@ type EditEpicOptions = {
|
|
|
6770
6870
|
color?: string;
|
|
6771
6871
|
};
|
|
6772
6872
|
declare class Epics<C extends boolean = false> extends BaseResource<C> {
|
|
6773
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options
|
|
6873
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: AllEpicsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
6874
|
+
withLabelsDetails: true;
|
|
6875
|
+
}): Promise<GitlabAPIResponse<EpicSchemaWithExpandedLabels[], C, E, P>>;
|
|
6876
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllEpicsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
6877
|
+
withLabelsDetails?: false;
|
|
6878
|
+
}): Promise<GitlabAPIResponse<EpicSchemaWithBasicLabels[], C, E, P>>;
|
|
6774
6879
|
create<E extends boolean = false>(groupId: string | number, title: string, options?: CreateEpicOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<EpicSchema, C, E, void>>;
|
|
6775
6880
|
createTodo<E extends boolean = false>(groupId: string | number, epicIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<EpicTodoSchema, C, E, void>>;
|
|
6776
6881
|
edit<E extends boolean = false>(groupId: string | number, epicIId: number, options?: EditEpicOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<EpicSchema, '_links'>, C, E, void>>;
|
|
@@ -6943,6 +7048,15 @@ declare class GroupIterations<C extends boolean = false> extends ResourceIterati
|
|
|
6943
7048
|
}
|
|
6944
7049
|
|
|
6945
7050
|
interface GroupLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
7051
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7052
|
+
withCounts: true;
|
|
7053
|
+
includeAncestorGroups?: boolean;
|
|
7054
|
+
search?: string;
|
|
7055
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
7056
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7057
|
+
includeAncestorGroups?: boolean;
|
|
7058
|
+
search?: string;
|
|
7059
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
6946
7060
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
6947
7061
|
withCounts?: boolean;
|
|
6948
7062
|
includeAncestorGroups?: boolean;
|
|
@@ -7171,6 +7285,12 @@ declare class GroupVariables<C extends boolean = false> extends ResourceVariable
|
|
|
7171
7285
|
}
|
|
7172
7286
|
|
|
7173
7287
|
interface GroupWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
7288
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7289
|
+
withContent: true;
|
|
7290
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
7291
|
+
content: string;
|
|
7292
|
+
})[], C, E, P>>;
|
|
7293
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
7174
7294
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
7175
7295
|
withContent?: boolean;
|
|
7176
7296
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
@@ -7276,7 +7396,7 @@ declare class UserGPGKeys<C extends boolean = false> extends BaseResource<C> {
|
|
|
7276
7396
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7277
7397
|
}
|
|
7278
7398
|
|
|
7279
|
-
type ImpersonationTokenScope = 'api' | 'read_user';
|
|
7399
|
+
type ImpersonationTokenScope = 'api' | 'read_api' | 'read_user' | 'create_runner' | 'read_repository' | 'write_repository' | 'read_registry' | 'write_registry' | 'sudo' | 'admin_mode';
|
|
7280
7400
|
type ImpersonationTokenState = 'all' | 'active' | 'inactive';
|
|
7281
7401
|
interface UserImpersonationTokenSchema extends Record<string, unknown> {
|
|
7282
7402
|
active: boolean;
|
|
@@ -7288,6 +7408,7 @@ interface UserImpersonationTokenSchema extends Record<string, unknown> {
|
|
|
7288
7408
|
created_at: string;
|
|
7289
7409
|
impersonation: boolean;
|
|
7290
7410
|
expires_at: string;
|
|
7411
|
+
token?: string;
|
|
7291
7412
|
}
|
|
7292
7413
|
declare class UserImpersonationTokens<C extends boolean = false> extends BaseResource<C> {
|
|
7293
7414
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: {
|
|
@@ -7515,4 +7636,4 @@ declare class Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
7515
7636
|
constructor(options: BaseResourceOptions<C>);
|
|
7516
7637
|
}
|
|
7517
7638
|
|
|
7518
|
-
export { AcceptMergeRequestOptions, AccessLevel, AccessRequestSchema, AccessTokenSchema, AccessTokenScopes, AddMemeberOptions, AddResourceHookOptions, Agents, AlertManagement, AllAuditEventOptions, AllCommitsOptions, AllDeploymentsOptions, AllEpicsOptions, AllEventOptions, AllForksOptions, AllGroupProjectsOptions, AllGroupsOptions, AllIssueStatisticsOptions, AllIssuesOptions, AllIterationsOptions, AllMembersOptions, AllMergeRequestsOptions, AllMilestonesOptions, AllPackageOptions, AllPersonalAccessTokenOptions, AllPipelinesOptions, AllProjectsOptions, AllProvisionedUsersOptions, AllRepositoryTreesOptions, AllRunnersOptions, AllSearchOptions, AllUserProjectsOptions, AllUsersOptions, AllowedAgentSchema, ApplicationAppearance, ApplicationAppearanceSchema, ApplicationPlanLimitOptions, ApplicationPlanLimitSchema, ApplicationPlanLimits, ApplicationSchema, ApplicationSettings, ApplicationSettingsSchema, ApplicationStatisticSchema, ApplicationStatistics, Applications, ApprovalRuleSchema, ApprovalStateSchema, ApprovedByEntity, ArchiveType, ArtifactSchema, AsStream, AuditEventSchema, AuditEvents, Avatar, AvatarSchema, AwardEmojiSchema, BadgeSchema, BaseExternalStatusCheckSchema, BasePaginationRequestOptions, BaseRequestOptions, BillableGroupMemberMembershipSchema, BillableGroupMemberSchema, BlobSchema, BranchSchema, Branches, BridgeSchema, BroadcastMessageOptions, BroadcastMessageSchema, BroadcastMessages, BurndownChartEventSchema, CICDVariableSchema, Camelize, ClusterAgentSchema, ClusterAgentTokenSchema, CommitAction, CommitCommentSchema, CommitDiffSchema, CommitDiscussionNoteSchema, CommitDiscussionSchema, CommitDiscussions, CommitReferenceSchema, CommitSchema, CommitSignatureSchema, CommitStatusSchema, CommitablePipelineStatus, Commits, Composer, ComposerPackageMetadataSchema, ComposerV1BaseRepositorySchema, ComposerV1PackagesSchema, ComposerV2BaseRepositorySchema, Conan, CondensedBadgeSchema, CondensedCommitCommentSchema, CondensedCommitSchema, CondensedDeployKeySchema, CondensedEnvironmentSchema, CondensedEpicLinkSchema, CondensedGroupSchema, CondensedJobSchema, CondensedMemberSchema, CondensedMergeRequestSchema, CondensedNamespaceSchema, CondensedPipelineScheduleSchema, CondensedProjectSchema, CondensedRegistryRepositorySchema, CondensedRegistryRepositoryTagSchema, ContainerRegistry, CreateAndEditPushRuleOptions, CreateApprovalRuleOptions, CreateCommitOptions, CreateEpicOptions, CreateFeatureFlagOptions, CreateGeoNodeOptions, CreateGroupOptions, CreateIssueOptions, CreateMergeRequestOptions, CreateProjectOptions, CreateProtectedBranchAllowOptions, CreateProtectedBranchOptions, CreateRepositoryFileOptions, CreateRunnerOptions, CreateSnippetOptions, CreateSystemHook, CreateUserCIRunnerOptions, CreateUserOptions, CustomAttributeSchema, CustomSettingLevelEmailEvents, DORA4MetricSchema, DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, DeployKeyProjectsSchema, DeployKeySchema, DeployKeys, DeployTokenSchema, DeployTokenScope, DeployTokens, DeployableSchema, DeploymentApprovalStatusSchema, DeploymentSchema, DeploymentStatus, Deployments, DiffRefsSchema, DiscussionNotePositionBaseSchema, DiscussionNotePositionImageSchema, DiscussionNotePositionOptions, DiscussionNotePositionSchema, DiscussionNotePositionTextSchema, DiscussionNoteSchema, DiscussionSchema, DockerfileTemplates, EditApprovalRuleOptions, EditBadgeOptions, EditChangelogOptions, EditConfigurationOptions, EditEpicOptions, EditFeatureFlagOptions, EditGeoNodeOptions, EditGroupOptions, EditIssueOptions, EditMergeRequestOptions, EditNotificationSettingsOptions, EditPipelineStatusOptions, EditProjectOptions, EditProtectedBranchAllowOptions, EditProtectedBranchOptions, EditRepositoryFileOptions, EditResourceHookOptions, EditRunnerOptions, EditSnippetOptions, EditUserOptions, EnvironmentSchema, EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssueSchema, EpicIssues, EpicLabelEvents, EpicLinkSchema, EpicLinks, EpicNoteSchema, EpicNotes, EpicSchema, EpicTodoSchema, Epics, ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, ErrorTrackingSettingsSchema, EventSchema, Events, ExpandedCommitSchema, ExpandedDeployKeySchema, ExpandedEpicIssueSchema, ExpandedGroupSchema, ExpandedHookSchema, ExpandedIssueLinkSchema, ExpandedMergeRequestDiffVersionsSchema, ExpandedMergeRequestSchema, ExpandedPackageSchema, ExpandedPipelineScheduleSchema, ExpandedPipelineSchema, ExpandedRepositoryImportStatusSchema, ExpandedResponse, ExpandedRunnerSchema, ExpandedSnippetSchema, ExpandedUserSchema, ExperimentGateSchema, ExperimentSchema, Experiments, ExportStatusSchema, ExtendedProtectedBranchAccessLevelSchema, ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, FailedRelationSchema, FeatureFlagSchema, FeatureFlagStrategySchema, FeatureFlagStrategyScopeSchema, FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, ForkProjectOptions, FreezePeriodSchema, FreezePeriods, GPGSignatureSchema, GeoNodeFailureSchema, GeoNodeSchema, GeoNodeStatusSchema, GeoNodes, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabAPIResponse, GitlabPages, GoProxy, GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupAnalyticsIssuesCountSchema, GroupAnalyticsMRsCountSchema, GroupAnalyticsNewMembersCountSchema, GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSCIMIdentities, GroupSchema, GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, GrouptIssueBoardSchema, Helm, HookSchema, IdentitySchema, ImpersonationTokenScope, ImpersonationTokenState, Import, ImportStatusSchema, IncludeInherited, InstanceLevelCICDVariables, IntegrationSchema, Integrations, InvitationSchema, IsForm, IssueAwardEmojis, IssueBoardListSchema, IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNoteSchema, IssueNotes, IssueSchema, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, IterationEventSchema, IterationSchema, JobArtifacts, JobKubernetesAgentsSchema, JobSchema, JobScope, JobVariableAttributeOption, Jobs, KeySchema, Keys, KeysetPagination, KeysetPaginationRequestOptions, LabelEventSchema, LabelSchema, License, LicenseSchema, LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, LintSchema, Markdown, MarkdownSchema, Maven, MemberRoleSchema, MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestChangesSchema, MergeRequestContextCommitSchema, MergeRequestContextCommits, MergeRequestDiffSchema, MergeRequestDiffVersionsSchema, MergeRequestDiscussionNotePositionOptions, MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, MergeRequestDraftNoteSchema, MergeRequestDraftNotes, MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, MergeRequestLevelApprovalRuleSchema, MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, MergeRequestNoteSchema, MergeRequestNotes, MergeRequestRebaseSchema, MergeRequestSchema, MergeRequestTodoSchema, MergeRequests, MergeTrainSchema, MergeTrains, Metadata, MetadataSchema, MetricImageSchema, MetricType, MigrationEntityFailure, MigrationEntityOptions, MigrationEntitySchema, MigrationStatus, MigrationStatusSchema, Migrations, MilestoneEventSchema, MilestoneSchema, MissingSignatureSchema, NPM, NPMPackageMetadataSchema, NPMVersionSchema, NamespaceSchema, Namespaces, NoteSchema, NotificationSettingLevel, NotificationSettingSchema, NotificationSettings, NuGet, NuGetPackageIndexSchema, NuGetResourceSchema, NuGetSearchResultSchema, NuGetSearchResultsSchema, NuGetServiceIndexSchema, NuGetServiceMetadataItemSchema, NuGetServiceMetadataSchema, NuGetServiceMetadataVersionSchema, OffsetPagination, OffsetPaginationRequestOptions, OverrodeGroupMemberSchema, PackageFileSchema, PackageMetadata, PackageRegistry, PackageRegistrySchema, PackageSchema, PackageSnapshotSchema, Packages, PagesDomainSchema, PagesDomains, PaginatedResponse, PaginationRequestOptions, PaginationRequestSubOptions, PaginationTypes, PersonalAccessTokenSchema, PersonalAccessTokenScopes, PersonalAccessTokens, PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, PipelineSchema, PipelineStatus, PipelineTestCaseSchema, PipelineTestReportSchema, PipelineTestReportSummarySchema, PipelineTestSuiteSchema, PipelineTriggerTokenSchema, PipelineTriggerTokens, PipelineVariableSchema, Pipelines, ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliasSchema, ProjectAliases, ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectExternalStatusCheckSchema, ProjectFileUploadSchema, ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, ProjectLevelApprovalRuleSchema, ProjectLevelMergeRequestApprovalSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrorSchema, ProjectRemoteMirrors, ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStarrerSchema, ProjectStatisticSchema, ProjectStatistics, ProjectStatisticsSchema, ProjectStoragePath, ProjectTemplateSchema, ProjectTemplateType, ProjectTemplates, ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, ProjectVulnerabilitySchema, ProjectWikis, Projects, ProtectedBranchAccessLevel, ProtectedBranchSchema, ProtectedBranches, ProtectedEnvironmentAccessLevel, ProtectedEnvironmentAccessLevelEntity, ProtectedEnvironmentAccessLevelSummarySchema, ProtectedEnvironmentSchema, ProtectedTagAccessLevel, ProtectedTagAccessLevelEntity, ProtectedTagAccessLevelSummarySchema, ProtectedTagSchema, ProtectedTags, PushRuleSchema, PyPI, RecipeSnapshotSchema, ReferenceSchema, RegistryRepositorySchema, RegistryRepositoryTagSchema, RelatedEpicLinkSchema, RelatedEpicLinkType, RelatedEpicSchema, RelationsExportStatusSchema, ReleaseAssetLink, ReleaseAssetSource, ReleaseEvidence, ReleaseLinkSchema, ReleaseLinks, ReleaseSchema, RemoveRepositoryFileOptions, RemoveSidekiqQueueOptions, Repositories, RepositoryBlobSchema, RepositoryChangelogSchema, RepositoryCompareSchema, RepositoryContributorSchema, RepositoryFileBlameSchema, RepositoryFileExpandedSchema, RepositoryFileSchema, RepositoryFiles, RepositoryImportStatusSchema, RepositoryStorageMoveSchema, RepositorySubmoduleSchema, RepositorySubmodules, RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, ReviewAppSchema, RubyGems, RunnerSchema, RunnerToken, Runners, Search, SearchScopes, SecureFileSchema, SecureFiles, ServiceData, ShowChangelogOptions, ShowExpanded, SidekickCompoundMetricsSchema, SidekickJobStatsSchema, SidekickProcessMetricsSchema, SidekickQueueMetricsSchema, SidekiqMetrics, SidekiqQueueStatus, SidekiqQueues, SimpleGroupSchema, SimpleMemberSchema, SimpleProjectSchema, SimpleSnippetSchema, SnippetNoteSchema, SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, SnippetSchema, SnippetVisibility, Snippets, StarredDashboardSchema, StateEventSchema, StatisticsSchema, Sudo, SuggestionSchema, Suggestions, SupportedIntegration, SystemHookTestResponse, SystemHooks, TagSchema, TagSignatureSchema, Tags, TaskCompletionStatusSchema, TemplateSchema, TimeStatsSchema, TodoAction, TodoLists, TodoSchema, TodoState, TodoType, TopicSchema, Topics, UserActivitySchema, UserAgentDetailSchema, UserAssociationCountSchema, UserCountSchema, UserCustomAttributes, UserEmailSchema, UserEmails, UserGPGKeySchema, UserGPGKeys, UserImpersonationTokenSchema, UserImpersonationTokens, UserMembershipSchema, UserPreferenceSchema, UserRunnerSchema, UserSSHKeySchema, UserSSHKeys, UserSchema, UserStarredMetricsDashboard, UserStatusSchema, Users, VariableFilter, VariableSchema, VariableType, WeightEventSchema, WikiAttachmentSchema, WikiSchema, X509SignatureSchema };
|
|
7639
|
+
export { AcceptMergeRequestOptions, AccessLevel, AccessRequestSchema, AccessTokenSchema, AccessTokenScopes, AddMemeberOptions, AddResourceHookOptions, Agents, AlertManagement, AllAuditEventOptions, AllCommitsOptions, AllDeploymentsOptions, AllEpicsOptions, AllEventOptions, AllForksOptions, AllGroupProjectsOptions, AllGroupsOptions, AllIssueStatisticsOptions, AllIssuesOptions, AllIterationsOptions, AllMembersOptions, AllMergeRequestsOptions, AllMilestonesOptions, AllPackageOptions, AllPersonalAccessTokenOptions, AllPipelinesOptions, AllProjectsOptions, AllProvisionedUsersOptions, AllRepositoryTreesOptions, AllRunnersOptions, AllSearchOptions, AllUserProjectsOptions, AllUsersOptions, AllowedAgentSchema, ApplicationAppearance, ApplicationAppearanceSchema, ApplicationPlanLimitOptions, ApplicationPlanLimitSchema, ApplicationPlanLimits, ApplicationSchema, ApplicationSettings, ApplicationSettingsSchema, ApplicationStatisticSchema, ApplicationStatistics, Applications, ApprovalRuleSchema, ApprovalStateSchema, ApprovedByEntity, ArchiveType, ArtifactSchema, AsStream, AuditEventSchema, AuditEvents, Avatar, AvatarSchema, AwardEmojiSchema, BadgeSchema, BaseExternalStatusCheckSchema, BasePaginationRequestOptions, BaseRequestOptions, BillableGroupMemberMembershipSchema, BillableGroupMemberSchema, BlobSchema, BranchSchema, Branches, BridgeSchema, BroadcastMessageOptions, BroadcastMessageSchema, BroadcastMessages, BurndownChartEventSchema, CICDVariableSchema, Camelize, ClusterAgentSchema, ClusterAgentTokenSchema, CommitAction, CommitCommentSchema, CommitDiffSchema, CommitDiscussionNoteSchema, CommitDiscussionSchema, CommitDiscussions, CommitReferenceSchema, CommitSchema, CommitSignatureSchema, CommitStatsSchema, CommitStatusSchema, CommitablePipelineStatus, Commits, Composer, ComposerPackageMetadataSchema, ComposerV1BaseRepositorySchema, ComposerV1PackagesSchema, ComposerV2BaseRepositorySchema, Conan, CondensedBadgeSchema, CondensedCommitCommentSchema, CondensedCommitSchema, CondensedDeployKeySchema, CondensedEnvironmentSchema, CondensedEpicLinkSchema, CondensedGroupSchema, CondensedJobSchema, CondensedMemberSchema, CondensedMergeRequestSchema, CondensedNamespaceSchema, CondensedPipelineScheduleSchema, CondensedProjectSchema, CondensedRegistryRepositorySchema, CondensedRegistryRepositoryTagSchema, ContainerRegistry, CreateAndEditPushRuleOptions, CreateApprovalRuleOptions, CreateCommitOptions, CreateEpicOptions, CreateFeatureFlagOptions, CreateGeoNodeOptions, CreateGroupOptions, CreateIssueOptions, CreateMergeRequestOptions, CreateProjectOptions, CreateProtectedBranchAllowOptions, CreateProtectedBranchOptions, CreateRepositoryFileOptions, CreateRunnerOptions, CreateSnippetOptions, CreateSystemHook, CreateUserCIRunnerOptions, CreateUserOptions, CustomAttributeSchema, CustomSettingLevelEmailEvents, DORA4MetricSchema, DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, DeployKeyProjectsSchema, DeployKeySchema, DeployKeys, DeployTokenSchema, DeployTokenScope, DeployTokens, DeployableSchema, DeploymentApprovalStatusSchema, DeploymentSchema, DeploymentStatus, Deployments, DiffRefsSchema, DiscussionNotePositionBaseSchema, DiscussionNotePositionImageSchema, DiscussionNotePositionOptions, DiscussionNotePositionSchema, DiscussionNotePositionTextSchema, DiscussionNoteSchema, DiscussionSchema, DockerfileTemplates, EditApprovalRuleOptions, EditBadgeOptions, EditChangelogOptions, EditConfigurationOptions, EditEpicOptions, EditFeatureFlagOptions, EditGeoNodeOptions, EditGroupOptions, EditIssueOptions, EditMergeRequestOptions, EditNotificationSettingsOptions, EditPipelineStatusOptions, EditProjectOptions, EditProtectedBranchAllowOptions, EditProtectedBranchOptions, EditRepositoryFileOptions, EditResourceHookOptions, EditRunnerOptions, EditSnippetOptions, EditUserOptions, EnvironmentSchema, EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssueSchema, EpicIssues, EpicLabelEvents, EpicLinkSchema, EpicLinks, EpicNoteSchema, EpicNotes, EpicSchema, EpicSchemaWithBasicLabels, EpicSchemaWithExpandedLabels, EpicTodoSchema, Epics, ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, ErrorTrackingSettingsSchema, EventSchema, Events, ExpandedCommitSchema, ExpandedDeployKeySchema, ExpandedEpicIssueSchema, ExpandedGroupSchema, ExpandedHookSchema, ExpandedIssueLinkSchema, ExpandedMergeRequestDiffVersionsSchema, ExpandedMergeRequestSchema, ExpandedPackageSchema, ExpandedPipelineScheduleSchema, ExpandedPipelineSchema, ExpandedRepositoryImportStatusSchema, ExpandedResponse, ExpandedRunnerSchema, ExpandedSnippetSchema, ExpandedUserSchema, ExperimentGateSchema, ExperimentSchema, Experiments, ExportStatusSchema, ExtendedProtectedBranchAccessLevelSchema, ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, FailedRelationSchema, FeatureFlagSchema, FeatureFlagStrategySchema, FeatureFlagStrategyScopeSchema, FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, ForkProjectOptions, FreezePeriodSchema, FreezePeriods, GPGSignatureSchema, GeoNodeFailureSchema, GeoNodeSchema, GeoNodeStatusSchema, GeoNodes, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabAPIResponse, GitlabPages, GoProxy, GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupAnalyticsIssuesCountSchema, GroupAnalyticsMRsCountSchema, GroupAnalyticsNewMembersCountSchema, GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSCIMIdentities, GroupSchema, GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, GrouptIssueBoardSchema, Helm, HookSchema, IdentitySchema, ImpersonationTokenScope, ImpersonationTokenState, Import, ImportStatusSchema, IncludeInherited, InstanceLevelCICDVariables, IntegrationSchema, Integrations, InvitationSchema, IsForm, IssueAwardEmojis, IssueBoardListSchema, IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNoteSchema, IssueNotes, IssueSchema, IssueSchemaWithBasicLabels, IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, IterationEventSchema, IterationSchema, JobArtifacts, JobKubernetesAgentsSchema, JobSchema, JobScope, JobVariableAttributeOption, Jobs, KeySchema, Keys, KeysetPagination, KeysetPaginationRequestOptions, LabelCountSchema, LabelEventSchema, LabelSchema, License, LicenseSchema, LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, LintSchema, Markdown, MarkdownSchema, Maven, MemberRoleSchema, MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestChangesSchema, MergeRequestContextCommitSchema, MergeRequestContextCommits, MergeRequestDiffSchema, MergeRequestDiffVersionsSchema, MergeRequestDiscussionNotePositionOptions, MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, MergeRequestDraftNotePositionSchema, MergeRequestDraftNoteSchema, MergeRequestDraftNotes, MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, MergeRequestLevelApprovalRuleSchema, MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, MergeRequestNoteSchema, MergeRequestNotes, MergeRequestRebaseSchema, MergeRequestSchema, MergeRequestSchemaWithBasicLabels, MergeRequestSchemaWithExpandedLabels, MergeRequestTodoSchema, MergeRequests, MergeTrainSchema, MergeTrains, Metadata, MetadataSchema, MetricImageSchema, MetricType, MigrationEntityFailure, MigrationEntityOptions, MigrationEntitySchema, MigrationStatus, MigrationStatusSchema, Migrations, MilestoneEventSchema, MilestoneSchema, MissingSignatureSchema, NPM, NPMPackageMetadataSchema, NPMVersionSchema, NamespaceSchema, Namespaces, NoteSchema, NotificationSettingLevel, NotificationSettingSchema, NotificationSettings, NuGet, NuGetPackageIndexSchema, NuGetResourceSchema, NuGetSearchResultSchema, NuGetSearchResultsSchema, NuGetServiceIndexSchema, NuGetServiceMetadataItemSchema, NuGetServiceMetadataSchema, NuGetServiceMetadataVersionSchema, OffsetPagination, OffsetPaginationRequestOptions, OverrodeGroupMemberSchema, PackageFileSchema, PackageMetadata, PackageRegistry, PackageRegistrySchema, PackageSchema, PackageSnapshotSchema, Packages, PagesDomainSchema, PagesDomains, PaginatedResponse, PaginationRequestOptions, PaginationRequestSubOptions, PaginationTypes, PersonalAccessTokenSchema, PersonalAccessTokenScopes, PersonalAccessTokens, PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, PipelineSchema, PipelineStatus, PipelineTestCaseSchema, PipelineTestReportSchema, PipelineTestReportSummarySchema, PipelineTestSuiteSchema, PipelineTriggerTokenSchema, PipelineTriggerTokens, PipelineVariableSchema, Pipelines, ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliasSchema, ProjectAliases, ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectExternalStatusCheckSchema, ProjectFileUploadSchema, ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, ProjectLevelApprovalRuleSchema, ProjectLevelMergeRequestApprovalSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrorSchema, ProjectRemoteMirrors, ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStarrerSchema, ProjectStatisticSchema, ProjectStatistics, ProjectStatisticsSchema, ProjectStoragePath, ProjectTemplateSchema, ProjectTemplateType, ProjectTemplates, ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, ProjectVulnerabilitySchema, ProjectWikis, Projects, ProtectedBranchAccessLevel, ProtectedBranchSchema, ProtectedBranches, ProtectedEnvironmentAccessLevel, ProtectedEnvironmentAccessLevelEntity, ProtectedEnvironmentAccessLevelSummarySchema, ProtectedEnvironmentSchema, ProtectedTagAccessLevel, ProtectedTagAccessLevelEntity, ProtectedTagAccessLevelSummarySchema, ProtectedTagSchema, ProtectedTags, PushRuleSchema, PyPI, RecipeSnapshotSchema, ReferenceSchema, RegistryRepositorySchema, RegistryRepositoryTagSchema, RelatedEpicLinkSchema, RelatedEpicLinkType, RelatedEpicSchema, RelationsExportStatusSchema, ReleaseAssetLink, ReleaseAssetSource, ReleaseEvidence, ReleaseLinkSchema, ReleaseLinks, ReleaseSchema, RemoveRepositoryFileOptions, RemoveSidekiqQueueOptions, Repositories, RepositoryBlobSchema, RepositoryChangelogSchema, RepositoryCompareSchema, RepositoryContributorSchema, RepositoryFileBlameSchema, RepositoryFileExpandedSchema, RepositoryFileSchema, RepositoryFiles, RepositoryImportStatusSchema, RepositoryStorageMoveSchema, RepositorySubmoduleSchema, RepositorySubmodules, RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, ReviewAppSchema, RubyGems, RunnerSchema, RunnerToken, Runners, Search, SearchScopes, SecureFileSchema, SecureFiles, ServiceData, ShowChangelogOptions, ShowExpanded, SidekickCompoundMetricsSchema, SidekickJobStatsSchema, SidekickProcessMetricsSchema, SidekickQueueMetricsSchema, SidekiqMetrics, SidekiqQueueStatus, SidekiqQueues, SimpleGroupSchema, SimpleLabelSchema, SimpleMemberSchema, SimpleProjectSchema, SimpleSnippetSchema, SnippetNoteSchema, SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, SnippetSchema, SnippetVisibility, Snippets, StarredDashboardSchema, StateEventSchema, StatisticsSchema, Sudo, SuggestionSchema, Suggestions, SupportedIntegration, SystemHookTestResponse, SystemHooks, TagSchema, TagSignatureSchema, Tags, TaskCompletionStatusSchema, TemplateSchema, TimeStatsSchema, TodoAction, TodoLists, TodoSchema, TodoState, TodoType, TopicSchema, Topics, UserActivitySchema, UserAgentDetailSchema, UserAssociationCountSchema, UserCountSchema, UserCustomAttributes, UserEmailSchema, UserEmails, UserGPGKeySchema, UserGPGKeys, UserImpersonationTokenSchema, UserImpersonationTokens, UserMembershipSchema, UserPreferenceSchema, UserRunnerSchema, UserSSHKeySchema, UserSSHKeys, UserSchema, UserStarredMetricsDashboard, UserStatusSchema, Users, VariableFilter, VariableSchema, VariableType, WeightEventSchema, WikiAttachmentSchema, WikiSchema, X509SignatureSchema };
|