@gitbeaker/core 39.11.0 → 39.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +220 -106
- package/dist/index.d.ts +220 -106
- package/package.json +3 -3
package/dist/index.d.mts
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;
|
|
@@ -200,6 +181,37 @@ declare class PersonalAccessTokens<C extends boolean = false> extends BaseResour
|
|
|
200
181
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PersonalAccessTokenSchema, C, E, void>>;
|
|
201
182
|
}
|
|
202
183
|
|
|
184
|
+
interface CustomAttributeSchema extends Record<string, unknown> {
|
|
185
|
+
key: string;
|
|
186
|
+
value: string;
|
|
187
|
+
}
|
|
188
|
+
declare class ResourceCustomAttributes<C extends boolean = false> extends BaseResource<C> {
|
|
189
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
190
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema[], C, E, P>>;
|
|
191
|
+
remove<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
192
|
+
set<E extends boolean = false>(resourceId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
193
|
+
show<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
type AccessLevel = 0 | 5 | 10 | 20 | 30 | 40 | 50;
|
|
197
|
+
interface AccessRequestSchema extends Record<string, unknown> {
|
|
198
|
+
id: number;
|
|
199
|
+
username: string;
|
|
200
|
+
name: string;
|
|
201
|
+
state: string;
|
|
202
|
+
created_at: string;
|
|
203
|
+
requested_at: string;
|
|
204
|
+
}
|
|
205
|
+
declare class ResourceAccessRequests<C extends boolean = false> extends BaseResource<C> {
|
|
206
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
207
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
208
|
+
request<E extends boolean = false>(resourceId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
209
|
+
approve<E extends boolean = false>(resourceId: string | number, userId: number, options?: {
|
|
210
|
+
accessLevel?: AccessLevel;
|
|
211
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
212
|
+
deny<E extends boolean = false>(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
213
|
+
}
|
|
214
|
+
|
|
203
215
|
interface UserSchema extends Record<string, unknown> {
|
|
204
216
|
id: number;
|
|
205
217
|
name: string;
|
|
@@ -395,6 +407,11 @@ type AllUserProjectsOptions = {
|
|
|
395
407
|
};
|
|
396
408
|
declare class Users<C extends boolean = false> extends BaseResource<C> {
|
|
397
409
|
activate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
410
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
411
|
+
withCustomAttributes: true;
|
|
412
|
+
}): Promise<GitlabAPIResponse<((UserSchema | ExpandedUserSchema) & {
|
|
413
|
+
custom_attributes: CustomAttributeSchema[];
|
|
414
|
+
})[], C, E, P>>;
|
|
398
415
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(UserSchema | ExpandedUserSchema)[], C, E, P>>;
|
|
399
416
|
allActivities<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: {
|
|
400
417
|
from?: string;
|
|
@@ -574,7 +591,7 @@ type AllGroupProjectsOptions = {
|
|
|
574
591
|
withMergeRequestsEnabled?: boolean;
|
|
575
592
|
withShared?: boolean;
|
|
576
593
|
includeSubgroups?: boolean;
|
|
577
|
-
|
|
594
|
+
minAccessLevel?: number;
|
|
578
595
|
withCustomAttributes?: boolean;
|
|
579
596
|
withSecurityReports?: boolean;
|
|
580
597
|
};
|
|
@@ -644,38 +661,37 @@ type AllProvisionedUsersOptions = {
|
|
|
644
661
|
createdBefore?: string;
|
|
645
662
|
};
|
|
646
663
|
declare class Groups<C extends boolean = false> extends BaseResource<C> {
|
|
647
|
-
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options
|
|
664
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: {
|
|
665
|
+
withCustomAttributes: true;
|
|
666
|
+
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
667
|
+
custom_attributes: CustomAttributeSchema[];
|
|
668
|
+
})[], C, E, P>>;
|
|
669
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: {
|
|
648
670
|
statistics: true;
|
|
649
671
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
650
672
|
statistics: GroupStatisticsSchema;
|
|
651
673
|
})[], C, E, P>>;
|
|
674
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options?: AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
|
|
652
675
|
allDescendantGroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
653
676
|
statistics: true;
|
|
654
677
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
655
678
|
statistics: GroupStatisticsSchema;
|
|
656
679
|
})[], C, E, P>>;
|
|
680
|
+
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
681
|
allProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
658
682
|
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>>;
|
|
683
|
+
} & AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedProjectSchema[], C, E, P>>;
|
|
684
|
+
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
685
|
allSharedProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
666
686
|
simple: true;
|
|
667
687
|
} & 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>>;
|
|
688
|
+
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
689
|
allSubgroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
672
690
|
statistics: true;
|
|
673
691
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
674
692
|
statistics: GroupStatisticsSchema;
|
|
675
693
|
})[], 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>>;
|
|
694
|
+
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
695
|
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
696
|
allTransferLocations<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
681
697
|
search?: string;
|
|
@@ -1047,6 +1063,11 @@ type AllForksOptions = {
|
|
|
1047
1063
|
updatedAfter?: string;
|
|
1048
1064
|
};
|
|
1049
1065
|
declare class Projects<C extends boolean = false> extends BaseResource<C> {
|
|
1066
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: PaginationRequestOptions<P> & AllProjectsOptions & Sudo & ShowExpanded<E> & {
|
|
1067
|
+
withCustomAttributes: true;
|
|
1068
|
+
}): Promise<GitlabAPIResponse<(ProjectSchema & {
|
|
1069
|
+
custom_attributes: CustomAttributeSchema[];
|
|
1070
|
+
})[], C, E, P>>;
|
|
1050
1071
|
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: PaginationRequestOptions<P> & AllProjectsOptions & Sudo & ShowExpanded<E> & {
|
|
1051
1072
|
simple: true;
|
|
1052
1073
|
}): Promise<GitlabAPIResponse<SimpleProjectSchema[], C, E, P>>;
|
|
@@ -1951,18 +1972,6 @@ declare class ResourceBadges<C extends boolean = false> extends BaseResource<C>
|
|
|
1951
1972
|
show<E extends boolean = false>(resourceId: string | number, badgeId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<BadgeSchema, C, E, void>>;
|
|
1952
1973
|
}
|
|
1953
1974
|
|
|
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
1975
|
type MetricType = 'deployment_frequency' | 'lead_time_for_changes' | 'time_to_restore_service' | 'change_failure_rate';
|
|
1967
1976
|
interface DORA4MetricSchema extends Record<string, unknown> {
|
|
1968
1977
|
date: string;
|
|
@@ -2178,6 +2187,11 @@ interface CommitAction {
|
|
|
2178
2187
|
/** When true/false enables/disables the execute flag on the file. Only considered for chmod action. */
|
|
2179
2188
|
execute_filemode?: boolean;
|
|
2180
2189
|
}
|
|
2190
|
+
interface CommitStatsSchema extends Record<string, unknown> {
|
|
2191
|
+
additions: number;
|
|
2192
|
+
deletions: number;
|
|
2193
|
+
total: number;
|
|
2194
|
+
}
|
|
2181
2195
|
interface CondensedCommitSchema extends Record<string, unknown> {
|
|
2182
2196
|
id: string;
|
|
2183
2197
|
short_id: string;
|
|
@@ -2203,11 +2217,7 @@ interface ExpandedCommitSchema extends CommitSchema {
|
|
|
2203
2217
|
sha: string;
|
|
2204
2218
|
status: string;
|
|
2205
2219
|
};
|
|
2206
|
-
stats:
|
|
2207
|
-
additions: number;
|
|
2208
|
-
deletions: number;
|
|
2209
|
-
total: number;
|
|
2210
|
-
};
|
|
2220
|
+
stats: CommitStatsSchema;
|
|
2211
2221
|
status: string;
|
|
2212
2222
|
}
|
|
2213
2223
|
interface GPGSignatureSchema extends Record<string, unknown> {
|
|
@@ -2321,6 +2331,23 @@ type EditPipelineStatusOptions = {
|
|
|
2321
2331
|
pipelineId?: number;
|
|
2322
2332
|
};
|
|
2323
2333
|
declare class Commits<C extends boolean = false> extends BaseResource<C> {
|
|
2334
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2335
|
+
withStats: true;
|
|
2336
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2337
|
+
stats: CommitStatsSchema;
|
|
2338
|
+
})[], C, E, P>>;
|
|
2339
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2340
|
+
trailers: true;
|
|
2341
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2342
|
+
trailers: Record<string, unknown>;
|
|
2343
|
+
})[], C, E, P>>;
|
|
2344
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2345
|
+
withStats: true;
|
|
2346
|
+
trailers: true;
|
|
2347
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2348
|
+
trailers: Record<string, unknown>;
|
|
2349
|
+
stats: CommitStatsSchema;
|
|
2350
|
+
})[], C, E, P>>;
|
|
2324
2351
|
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
2352
|
allComments<E extends boolean = false>(projectId: string | number, sha: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedCommitCommentSchema[], C, E, void>>;
|
|
2326
2353
|
allDiscussions<E extends boolean = false>(projectId: string | number, sha: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema[], C, E, void>>;
|
|
@@ -2386,6 +2413,58 @@ declare class TodoLists<C extends boolean = false> extends BaseResource<C> {
|
|
|
2386
2413
|
done<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2387
2414
|
}
|
|
2388
2415
|
|
|
2416
|
+
interface SimpleLabelSchema extends Record<string, unknown> {
|
|
2417
|
+
id: number;
|
|
2418
|
+
name: string;
|
|
2419
|
+
description: null | string;
|
|
2420
|
+
description_html: string;
|
|
2421
|
+
text_color: string;
|
|
2422
|
+
color: string;
|
|
2423
|
+
}
|
|
2424
|
+
interface LabelSchema extends SimpleLabelSchema {
|
|
2425
|
+
open_issues_count: number;
|
|
2426
|
+
closed_issues_count: number;
|
|
2427
|
+
open_merge_requests_count: number;
|
|
2428
|
+
subscribed: boolean;
|
|
2429
|
+
priority: number;
|
|
2430
|
+
is_project_label: boolean;
|
|
2431
|
+
}
|
|
2432
|
+
interface LabelCountSchema extends Record<string, unknown> {
|
|
2433
|
+
open_issues_count: number;
|
|
2434
|
+
closed_issues_count: number;
|
|
2435
|
+
open_merge_requests_count: number;
|
|
2436
|
+
}
|
|
2437
|
+
declare class ResourceLabels<C extends boolean = false> extends BaseResource<C> {
|
|
2438
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
2439
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options: {
|
|
2440
|
+
withCounts: true;
|
|
2441
|
+
includeAncestorGroups?: boolean;
|
|
2442
|
+
search?: string;
|
|
2443
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
2444
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: {
|
|
2445
|
+
includeAncestorGroups?: boolean;
|
|
2446
|
+
search?: string;
|
|
2447
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
2448
|
+
create<E extends boolean = false>(resourceId: string | number, labelName: string, color: string, options?: {
|
|
2449
|
+
description?: string;
|
|
2450
|
+
priority?: number;
|
|
2451
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2452
|
+
edit<E extends boolean = false>(resourceId: number | string, labelId: number | string, options: OneOf<{
|
|
2453
|
+
newName: string;
|
|
2454
|
+
color: string;
|
|
2455
|
+
}> & {
|
|
2456
|
+
description?: string;
|
|
2457
|
+
priority?: number;
|
|
2458
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2459
|
+
promote<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2460
|
+
remove<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2461
|
+
show<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: {
|
|
2462
|
+
includeAncestorGroups?: boolean;
|
|
2463
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2464
|
+
subscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2465
|
+
unsubscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2389
2468
|
interface DiffRefsSchema {
|
|
2390
2469
|
base_sha: string;
|
|
2391
2470
|
head_sha: string;
|
|
@@ -2463,7 +2542,7 @@ interface MergeRequestSchema extends CondensedMergeRequestSchema {
|
|
|
2463
2542
|
reviewers: MappedOmit<UserSchema, 'created_at'>[] | null;
|
|
2464
2543
|
source_project_id: number;
|
|
2465
2544
|
target_project_id: number;
|
|
2466
|
-
labels: string[] |
|
|
2545
|
+
labels: string[] | SimpleLabelSchema[];
|
|
2467
2546
|
draft: boolean;
|
|
2468
2547
|
work_in_progress: boolean;
|
|
2469
2548
|
milestone: MilestoneSchema | null;
|
|
@@ -2499,6 +2578,12 @@ interface ExpandedMergeRequestSchema extends MergeRequestSchema {
|
|
|
2499
2578
|
can_merge: boolean;
|
|
2500
2579
|
};
|
|
2501
2580
|
}
|
|
2581
|
+
interface MergeRequestSchemaWithExpandedLabels extends MergeRequestSchema {
|
|
2582
|
+
labels: SimpleLabelSchema[];
|
|
2583
|
+
}
|
|
2584
|
+
interface MergeRequestSchemaWithBasicLabels extends MergeRequestSchema {
|
|
2585
|
+
labels: string[];
|
|
2586
|
+
}
|
|
2502
2587
|
interface MergeRequestTodoSchema extends TodoSchema {
|
|
2503
2588
|
project: SimpleProjectSchema;
|
|
2504
2589
|
target_type: 'MergeRequest';
|
|
@@ -2591,12 +2676,20 @@ type EditMergeRequestOptions = {
|
|
|
2591
2676
|
declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
|
|
2592
2677
|
accept<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
|
|
2593
2678
|
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'>(
|
|
2679
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options: OneOrNoneOf<{
|
|
2680
|
+
projectId: string | number;
|
|
2681
|
+
groupId: string | number;
|
|
2682
|
+
}> & PaginationRequestOptions<P> & AllMergeRequestsOptions & {
|
|
2683
|
+
withLabelsDetails: true;
|
|
2684
|
+
}): Promise<GitlabAPIResponse<MergeRequestSchemaWithExpandedLabels[], C, E, P>>;
|
|
2685
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: OneOrNoneOf<{
|
|
2595
2686
|
projectId: string | number;
|
|
2596
2687
|
groupId: string | number;
|
|
2597
|
-
}> & PaginationRequestOptions<P> & BaseRequestOptions<E>
|
|
2598
|
-
|
|
2599
|
-
|
|
2688
|
+
}> & PaginationRequestOptions<P> & AllMergeRequestsOptions & BaseRequestOptions<E> & {
|
|
2689
|
+
withLabelsDetails?: false;
|
|
2690
|
+
}): Promise<GitlabAPIResponse<MergeRequestSchemaWithBasicLabels[], C, E, P>>;
|
|
2691
|
+
allDiffs<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffSchema[], C, E, P>>;
|
|
2692
|
+
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
2693
|
allDiffVersions<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffVersionsSchema[], C, E, void>>;
|
|
2601
2694
|
allIssuesClosed<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueSchema[], C, E, void>>;
|
|
2602
2695
|
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 +2746,7 @@ interface IssueSchema extends Record<string, unknown> {
|
|
|
2653
2746
|
created_at: string;
|
|
2654
2747
|
moved_to_id?: string;
|
|
2655
2748
|
iid: number;
|
|
2656
|
-
labels
|
|
2749
|
+
labels: string[] | SimpleLabelSchema[];
|
|
2657
2750
|
upvotes: number;
|
|
2658
2751
|
downvotes: number;
|
|
2659
2752
|
merge_requests_count: number;
|
|
@@ -2690,6 +2783,12 @@ interface IssueSchema extends Record<string, unknown> {
|
|
|
2690
2783
|
};
|
|
2691
2784
|
service_desk_reply_to?: string;
|
|
2692
2785
|
}
|
|
2786
|
+
interface IssueSchemaWithExpandedLabels extends IssueSchema {
|
|
2787
|
+
labels: SimpleLabelSchema[];
|
|
2788
|
+
}
|
|
2789
|
+
interface IssueSchemaWithBasicLabels extends IssueSchema {
|
|
2790
|
+
labels: string[];
|
|
2791
|
+
}
|
|
2693
2792
|
type AllIssuesOptions = {
|
|
2694
2793
|
assigneeId?: number;
|
|
2695
2794
|
assigneeUsername?: string[];
|
|
@@ -2763,10 +2862,18 @@ declare class Issues<C extends boolean = false> extends BaseResource<C> {
|
|
|
2763
2862
|
summary?: string;
|
|
2764
2863
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2765
2864
|
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'>(
|
|
2865
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options: OneOrNoneOf<{
|
|
2767
2866
|
projectId: string | number;
|
|
2768
2867
|
groupId: string | number;
|
|
2769
|
-
}> & PaginationRequestOptions<P> & AllIssuesOptions &
|
|
2868
|
+
}> & PaginationRequestOptions<P> & AllIssuesOptions & {
|
|
2869
|
+
withLabelsDetails: true;
|
|
2870
|
+
}): Promise<GitlabAPIResponse<IssueSchemaWithExpandedLabels[], C, E, P>>;
|
|
2871
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: OneOrNoneOf<{
|
|
2872
|
+
projectId: string | number;
|
|
2873
|
+
groupId: string | number;
|
|
2874
|
+
}> & PaginationRequestOptions<P> & AllIssuesOptions & BaseRequestOptions<E> & {
|
|
2875
|
+
withLabelsDetails?: false;
|
|
2876
|
+
}): Promise<GitlabAPIResponse<IssueSchemaWithBasicLabels[], C, E, P>>;
|
|
2770
2877
|
allMetricImages<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MetricImageSchema[], C, E, void>>;
|
|
2771
2878
|
allParticipants<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
|
|
2772
2879
|
allRelatedMergeRequests<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestSchema[], C, E, void>>;
|
|
@@ -2857,47 +2964,6 @@ declare class ResourceMilestones<C extends boolean = false> extends BaseResource
|
|
|
2857
2964
|
show<E extends boolean = false>(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MilestoneSchema, C, E, void>>;
|
|
2858
2965
|
}
|
|
2859
2966
|
|
|
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
2967
|
interface IssueBoardListSchema extends Record<string, unknown> {
|
|
2902
2968
|
id: number;
|
|
2903
2969
|
label: Pick<LabelSchema, 'name' | 'color' | 'description'>;
|
|
@@ -3072,9 +3138,12 @@ interface WikiAttachmentSchema extends Record<string, unknown> {
|
|
|
3072
3138
|
}
|
|
3073
3139
|
declare class ResourceWikis<C extends boolean = false> extends BaseResource<C> {
|
|
3074
3140
|
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
|
|
3141
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options: {
|
|
3142
|
+
withContent: true;
|
|
3143
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
3144
|
+
content: string;
|
|
3145
|
+
})[], C, E, P>>;
|
|
3146
|
+
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
3147
|
create<E extends boolean = false>(resourceId: string | number, content: string, title: string, options?: {
|
|
3079
3148
|
format?: string;
|
|
3080
3149
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<WikiSchema, C, E, void>>;
|
|
@@ -5857,6 +5926,15 @@ declare class ProjectIterations<C extends boolean = false> extends ResourceItera
|
|
|
5857
5926
|
}
|
|
5858
5927
|
|
|
5859
5928
|
interface ProjectLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
5929
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
5930
|
+
withCounts: true;
|
|
5931
|
+
includeAncestorGroups?: boolean;
|
|
5932
|
+
search?: string;
|
|
5933
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
5934
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
5935
|
+
includeAncestorGroups?: boolean;
|
|
5936
|
+
search?: string;
|
|
5937
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
5860
5938
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
5861
5939
|
withCounts?: boolean;
|
|
5862
5940
|
includeAncestorGroups?: boolean;
|
|
@@ -5991,7 +6069,6 @@ interface ReleaseSchema extends Record<string, unknown> {
|
|
|
5991
6069
|
tag_name: string;
|
|
5992
6070
|
description: string | null;
|
|
5993
6071
|
name: string | null;
|
|
5994
|
-
description_html: string;
|
|
5995
6072
|
created_at: string;
|
|
5996
6073
|
released_at: string | null;
|
|
5997
6074
|
user: MappedOmit<UserSchema, 'created_at'>;
|
|
@@ -6017,6 +6094,11 @@ interface ReleaseSchema extends Record<string, unknown> {
|
|
|
6017
6094
|
};
|
|
6018
6095
|
}
|
|
6019
6096
|
declare class ProjectReleases<C extends boolean = false> extends BaseResource<C> {
|
|
6097
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E> & {
|
|
6098
|
+
includeHtmlDescription: true;
|
|
6099
|
+
}): Promise<GitlabAPIResponse<(ReleaseSchema & {
|
|
6100
|
+
description_html: string;
|
|
6101
|
+
})[], C, E, P>>;
|
|
6020
6102
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema[], C, E, P>>;
|
|
6021
6103
|
create<E extends boolean = false>(projectId: string | number, options?: BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema, C, E, void>>;
|
|
6022
6104
|
createEvidence<E extends boolean = false>(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<number, C, E, void>>;
|
|
@@ -6216,6 +6298,12 @@ declare class ProjectVulnerabilities<C extends boolean = false> extends BaseReso
|
|
|
6216
6298
|
}
|
|
6217
6299
|
|
|
6218
6300
|
interface ProjectWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
6301
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
6302
|
+
withContent: true;
|
|
6303
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
6304
|
+
content: string;
|
|
6305
|
+
})[], C, E, P>>;
|
|
6306
|
+
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
6307
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
6220
6308
|
withContent?: boolean;
|
|
6221
6309
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
@@ -6709,7 +6797,7 @@ interface EpicSchema extends Record<string, unknown> {
|
|
|
6709
6797
|
created_at: string;
|
|
6710
6798
|
updated_at: string;
|
|
6711
6799
|
closed_at: string;
|
|
6712
|
-
labels
|
|
6800
|
+
labels: string[] | SimpleLabelSchema[];
|
|
6713
6801
|
upvotes: number;
|
|
6714
6802
|
downvotes: number;
|
|
6715
6803
|
_links: {
|
|
@@ -6718,6 +6806,12 @@ interface EpicSchema extends Record<string, unknown> {
|
|
|
6718
6806
|
group: string;
|
|
6719
6807
|
};
|
|
6720
6808
|
}
|
|
6809
|
+
interface EpicSchemaWithExpandedLabels extends EpicSchema {
|
|
6810
|
+
labels: SimpleLabelSchema[];
|
|
6811
|
+
}
|
|
6812
|
+
interface EpicSchemaWithBasicLabels extends EpicSchema {
|
|
6813
|
+
labels: string[];
|
|
6814
|
+
}
|
|
6721
6815
|
interface EpicTodoSchema extends TodoSchema {
|
|
6722
6816
|
group: Pick<GroupSchema, 'id' | 'name' | 'path' | 'kind' | 'full_path' | 'parent_id'>;
|
|
6723
6817
|
target_type: 'Epic';
|
|
@@ -6770,7 +6864,12 @@ type EditEpicOptions = {
|
|
|
6770
6864
|
color?: string;
|
|
6771
6865
|
};
|
|
6772
6866
|
declare class Epics<C extends boolean = false> extends BaseResource<C> {
|
|
6773
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options
|
|
6867
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: AllEpicsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
6868
|
+
withLabelsDetails: true;
|
|
6869
|
+
}): Promise<GitlabAPIResponse<EpicSchemaWithExpandedLabels[], C, E, P>>;
|
|
6870
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllEpicsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
6871
|
+
withLabelsDetails?: false;
|
|
6872
|
+
}): Promise<GitlabAPIResponse<EpicSchemaWithBasicLabels[], C, E, P>>;
|
|
6774
6873
|
create<E extends boolean = false>(groupId: string | number, title: string, options?: CreateEpicOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<EpicSchema, C, E, void>>;
|
|
6775
6874
|
createTodo<E extends boolean = false>(groupId: string | number, epicIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<EpicTodoSchema, C, E, void>>;
|
|
6776
6875
|
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 +7042,15 @@ declare class GroupIterations<C extends boolean = false> extends ResourceIterati
|
|
|
6943
7042
|
}
|
|
6944
7043
|
|
|
6945
7044
|
interface GroupLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
7045
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7046
|
+
withCounts: true;
|
|
7047
|
+
includeAncestorGroups?: boolean;
|
|
7048
|
+
search?: string;
|
|
7049
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
7050
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7051
|
+
includeAncestorGroups?: boolean;
|
|
7052
|
+
search?: string;
|
|
7053
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
6946
7054
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
6947
7055
|
withCounts?: boolean;
|
|
6948
7056
|
includeAncestorGroups?: boolean;
|
|
@@ -7171,6 +7279,12 @@ declare class GroupVariables<C extends boolean = false> extends ResourceVariable
|
|
|
7171
7279
|
}
|
|
7172
7280
|
|
|
7173
7281
|
interface GroupWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
7282
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7283
|
+
withContent: true;
|
|
7284
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
7285
|
+
content: string;
|
|
7286
|
+
})[], C, E, P>>;
|
|
7287
|
+
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
7288
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
7175
7289
|
withContent?: boolean;
|
|
7176
7290
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
@@ -7515,4 +7629,4 @@ declare class Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
7515
7629
|
constructor(options: BaseResourceOptions<C>);
|
|
7516
7630
|
}
|
|
7517
7631
|
|
|
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 };
|
|
7632
|
+
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, 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 };
|
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;
|
|
@@ -200,6 +181,37 @@ declare class PersonalAccessTokens<C extends boolean = false> extends BaseResour
|
|
|
200
181
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PersonalAccessTokenSchema, C, E, void>>;
|
|
201
182
|
}
|
|
202
183
|
|
|
184
|
+
interface CustomAttributeSchema extends Record<string, unknown> {
|
|
185
|
+
key: string;
|
|
186
|
+
value: string;
|
|
187
|
+
}
|
|
188
|
+
declare class ResourceCustomAttributes<C extends boolean = false> extends BaseResource<C> {
|
|
189
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
190
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema[], C, E, P>>;
|
|
191
|
+
remove<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
192
|
+
set<E extends boolean = false>(resourceId: string | number, customAttributeId: string, value: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
193
|
+
show<E extends boolean = false>(resourceId: string | number, customAttributeId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CustomAttributeSchema, C, E, void>>;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
type AccessLevel = 0 | 5 | 10 | 20 | 30 | 40 | 50;
|
|
197
|
+
interface AccessRequestSchema extends Record<string, unknown> {
|
|
198
|
+
id: number;
|
|
199
|
+
username: string;
|
|
200
|
+
name: string;
|
|
201
|
+
state: string;
|
|
202
|
+
created_at: string;
|
|
203
|
+
requested_at: string;
|
|
204
|
+
}
|
|
205
|
+
declare class ResourceAccessRequests<C extends boolean = false> extends BaseResource<C> {
|
|
206
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
207
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema[], C, E, P>>;
|
|
208
|
+
request<E extends boolean = false>(resourceId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
209
|
+
approve<E extends boolean = false>(resourceId: string | number, userId: number, options?: {
|
|
210
|
+
accessLevel?: AccessLevel;
|
|
211
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessRequestSchema, C, E, void>>;
|
|
212
|
+
deny<E extends boolean = false>(resourceId: string | number, userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
213
|
+
}
|
|
214
|
+
|
|
203
215
|
interface UserSchema extends Record<string, unknown> {
|
|
204
216
|
id: number;
|
|
205
217
|
name: string;
|
|
@@ -395,6 +407,11 @@ type AllUserProjectsOptions = {
|
|
|
395
407
|
};
|
|
396
408
|
declare class Users<C extends boolean = false> extends BaseResource<C> {
|
|
397
409
|
activate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
410
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
411
|
+
withCustomAttributes: true;
|
|
412
|
+
}): Promise<GitlabAPIResponse<((UserSchema | ExpandedUserSchema) & {
|
|
413
|
+
custom_attributes: CustomAttributeSchema[];
|
|
414
|
+
})[], C, E, P>>;
|
|
398
415
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(UserSchema | ExpandedUserSchema)[], C, E, P>>;
|
|
399
416
|
allActivities<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: {
|
|
400
417
|
from?: string;
|
|
@@ -574,7 +591,7 @@ type AllGroupProjectsOptions = {
|
|
|
574
591
|
withMergeRequestsEnabled?: boolean;
|
|
575
592
|
withShared?: boolean;
|
|
576
593
|
includeSubgroups?: boolean;
|
|
577
|
-
|
|
594
|
+
minAccessLevel?: number;
|
|
578
595
|
withCustomAttributes?: boolean;
|
|
579
596
|
withSecurityReports?: boolean;
|
|
580
597
|
};
|
|
@@ -644,38 +661,37 @@ type AllProvisionedUsersOptions = {
|
|
|
644
661
|
createdBefore?: string;
|
|
645
662
|
};
|
|
646
663
|
declare class Groups<C extends boolean = false> extends BaseResource<C> {
|
|
647
|
-
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options
|
|
664
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: {
|
|
665
|
+
withCustomAttributes: true;
|
|
666
|
+
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
667
|
+
custom_attributes: CustomAttributeSchema[];
|
|
668
|
+
})[], C, E, P>>;
|
|
669
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: {
|
|
648
670
|
statistics: true;
|
|
649
671
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
650
672
|
statistics: GroupStatisticsSchema;
|
|
651
673
|
})[], C, E, P>>;
|
|
674
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options?: AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
|
|
652
675
|
allDescendantGroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
653
676
|
statistics: true;
|
|
654
677
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
655
678
|
statistics: GroupStatisticsSchema;
|
|
656
679
|
})[], C, E, P>>;
|
|
680
|
+
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
681
|
allProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
658
682
|
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>>;
|
|
683
|
+
} & AllGroupProjectsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedProjectSchema[], C, E, P>>;
|
|
684
|
+
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
685
|
allSharedProjects<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
666
686
|
simple: true;
|
|
667
687
|
} & 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>>;
|
|
688
|
+
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
689
|
allSubgroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
672
690
|
statistics: true;
|
|
673
691
|
} & AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(GroupSchema & {
|
|
674
692
|
statistics: GroupStatisticsSchema;
|
|
675
693
|
})[], 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>>;
|
|
694
|
+
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
695
|
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
696
|
allTransferLocations<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
681
697
|
search?: string;
|
|
@@ -1047,6 +1063,11 @@ type AllForksOptions = {
|
|
|
1047
1063
|
updatedAfter?: string;
|
|
1048
1064
|
};
|
|
1049
1065
|
declare class Projects<C extends boolean = false> extends BaseResource<C> {
|
|
1066
|
+
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: PaginationRequestOptions<P> & AllProjectsOptions & Sudo & ShowExpanded<E> & {
|
|
1067
|
+
withCustomAttributes: true;
|
|
1068
|
+
}): Promise<GitlabAPIResponse<(ProjectSchema & {
|
|
1069
|
+
custom_attributes: CustomAttributeSchema[];
|
|
1070
|
+
})[], C, E, P>>;
|
|
1050
1071
|
all<E extends boolean = false, P extends PaginationTypes = 'keyset'>(options: PaginationRequestOptions<P> & AllProjectsOptions & Sudo & ShowExpanded<E> & {
|
|
1051
1072
|
simple: true;
|
|
1052
1073
|
}): Promise<GitlabAPIResponse<SimpleProjectSchema[], C, E, P>>;
|
|
@@ -1951,18 +1972,6 @@ declare class ResourceBadges<C extends boolean = false> extends BaseResource<C>
|
|
|
1951
1972
|
show<E extends boolean = false>(resourceId: string | number, badgeId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<BadgeSchema, C, E, void>>;
|
|
1952
1973
|
}
|
|
1953
1974
|
|
|
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
1975
|
type MetricType = 'deployment_frequency' | 'lead_time_for_changes' | 'time_to_restore_service' | 'change_failure_rate';
|
|
1967
1976
|
interface DORA4MetricSchema extends Record<string, unknown> {
|
|
1968
1977
|
date: string;
|
|
@@ -2178,6 +2187,11 @@ interface CommitAction {
|
|
|
2178
2187
|
/** When true/false enables/disables the execute flag on the file. Only considered for chmod action. */
|
|
2179
2188
|
execute_filemode?: boolean;
|
|
2180
2189
|
}
|
|
2190
|
+
interface CommitStatsSchema extends Record<string, unknown> {
|
|
2191
|
+
additions: number;
|
|
2192
|
+
deletions: number;
|
|
2193
|
+
total: number;
|
|
2194
|
+
}
|
|
2181
2195
|
interface CondensedCommitSchema extends Record<string, unknown> {
|
|
2182
2196
|
id: string;
|
|
2183
2197
|
short_id: string;
|
|
@@ -2203,11 +2217,7 @@ interface ExpandedCommitSchema extends CommitSchema {
|
|
|
2203
2217
|
sha: string;
|
|
2204
2218
|
status: string;
|
|
2205
2219
|
};
|
|
2206
|
-
stats:
|
|
2207
|
-
additions: number;
|
|
2208
|
-
deletions: number;
|
|
2209
|
-
total: number;
|
|
2210
|
-
};
|
|
2220
|
+
stats: CommitStatsSchema;
|
|
2211
2221
|
status: string;
|
|
2212
2222
|
}
|
|
2213
2223
|
interface GPGSignatureSchema extends Record<string, unknown> {
|
|
@@ -2321,6 +2331,23 @@ type EditPipelineStatusOptions = {
|
|
|
2321
2331
|
pipelineId?: number;
|
|
2322
2332
|
};
|
|
2323
2333
|
declare class Commits<C extends boolean = false> extends BaseResource<C> {
|
|
2334
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2335
|
+
withStats: true;
|
|
2336
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2337
|
+
stats: CommitStatsSchema;
|
|
2338
|
+
})[], C, E, P>>;
|
|
2339
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2340
|
+
trailers: true;
|
|
2341
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2342
|
+
trailers: Record<string, unknown>;
|
|
2343
|
+
})[], C, E, P>>;
|
|
2344
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: AllCommitsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
2345
|
+
withStats: true;
|
|
2346
|
+
trailers: true;
|
|
2347
|
+
}): Promise<GitlabAPIResponse<(CommitSchema & {
|
|
2348
|
+
trailers: Record<string, unknown>;
|
|
2349
|
+
stats: CommitStatsSchema;
|
|
2350
|
+
})[], C, E, P>>;
|
|
2324
2351
|
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
2352
|
allComments<E extends boolean = false>(projectId: string | number, sha: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<CondensedCommitCommentSchema[], C, E, void>>;
|
|
2326
2353
|
allDiscussions<E extends boolean = false>(projectId: string | number, sha: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema[], C, E, void>>;
|
|
@@ -2386,6 +2413,58 @@ declare class TodoLists<C extends boolean = false> extends BaseResource<C> {
|
|
|
2386
2413
|
done<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2387
2414
|
}
|
|
2388
2415
|
|
|
2416
|
+
interface SimpleLabelSchema extends Record<string, unknown> {
|
|
2417
|
+
id: number;
|
|
2418
|
+
name: string;
|
|
2419
|
+
description: null | string;
|
|
2420
|
+
description_html: string;
|
|
2421
|
+
text_color: string;
|
|
2422
|
+
color: string;
|
|
2423
|
+
}
|
|
2424
|
+
interface LabelSchema extends SimpleLabelSchema {
|
|
2425
|
+
open_issues_count: number;
|
|
2426
|
+
closed_issues_count: number;
|
|
2427
|
+
open_merge_requests_count: number;
|
|
2428
|
+
subscribed: boolean;
|
|
2429
|
+
priority: number;
|
|
2430
|
+
is_project_label: boolean;
|
|
2431
|
+
}
|
|
2432
|
+
interface LabelCountSchema extends Record<string, unknown> {
|
|
2433
|
+
open_issues_count: number;
|
|
2434
|
+
closed_issues_count: number;
|
|
2435
|
+
open_merge_requests_count: number;
|
|
2436
|
+
}
|
|
2437
|
+
declare class ResourceLabels<C extends boolean = false> extends BaseResource<C> {
|
|
2438
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
2439
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options: {
|
|
2440
|
+
withCounts: true;
|
|
2441
|
+
includeAncestorGroups?: boolean;
|
|
2442
|
+
search?: string;
|
|
2443
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
2444
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: {
|
|
2445
|
+
includeAncestorGroups?: boolean;
|
|
2446
|
+
search?: string;
|
|
2447
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
2448
|
+
create<E extends boolean = false>(resourceId: string | number, labelName: string, color: string, options?: {
|
|
2449
|
+
description?: string;
|
|
2450
|
+
priority?: number;
|
|
2451
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2452
|
+
edit<E extends boolean = false>(resourceId: number | string, labelId: number | string, options: OneOf<{
|
|
2453
|
+
newName: string;
|
|
2454
|
+
color: string;
|
|
2455
|
+
}> & {
|
|
2456
|
+
description?: string;
|
|
2457
|
+
priority?: number;
|
|
2458
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2459
|
+
promote<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2460
|
+
remove<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
2461
|
+
show<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: {
|
|
2462
|
+
includeAncestorGroups?: boolean;
|
|
2463
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2464
|
+
subscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2465
|
+
unsubscribe<E extends boolean = false>(resourceId: string | number, labelId: number | string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema, C, E, void>>;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2389
2468
|
interface DiffRefsSchema {
|
|
2390
2469
|
base_sha: string;
|
|
2391
2470
|
head_sha: string;
|
|
@@ -2463,7 +2542,7 @@ interface MergeRequestSchema extends CondensedMergeRequestSchema {
|
|
|
2463
2542
|
reviewers: MappedOmit<UserSchema, 'created_at'>[] | null;
|
|
2464
2543
|
source_project_id: number;
|
|
2465
2544
|
target_project_id: number;
|
|
2466
|
-
labels: string[] |
|
|
2545
|
+
labels: string[] | SimpleLabelSchema[];
|
|
2467
2546
|
draft: boolean;
|
|
2468
2547
|
work_in_progress: boolean;
|
|
2469
2548
|
milestone: MilestoneSchema | null;
|
|
@@ -2499,6 +2578,12 @@ interface ExpandedMergeRequestSchema extends MergeRequestSchema {
|
|
|
2499
2578
|
can_merge: boolean;
|
|
2500
2579
|
};
|
|
2501
2580
|
}
|
|
2581
|
+
interface MergeRequestSchemaWithExpandedLabels extends MergeRequestSchema {
|
|
2582
|
+
labels: SimpleLabelSchema[];
|
|
2583
|
+
}
|
|
2584
|
+
interface MergeRequestSchemaWithBasicLabels extends MergeRequestSchema {
|
|
2585
|
+
labels: string[];
|
|
2586
|
+
}
|
|
2502
2587
|
interface MergeRequestTodoSchema extends TodoSchema {
|
|
2503
2588
|
project: SimpleProjectSchema;
|
|
2504
2589
|
target_type: 'MergeRequest';
|
|
@@ -2591,12 +2676,20 @@ type EditMergeRequestOptions = {
|
|
|
2591
2676
|
declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
|
|
2592
2677
|
accept<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: AcceptMergeRequestOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
|
|
2593
2678
|
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'>(
|
|
2679
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options: OneOrNoneOf<{
|
|
2680
|
+
projectId: string | number;
|
|
2681
|
+
groupId: string | number;
|
|
2682
|
+
}> & PaginationRequestOptions<P> & AllMergeRequestsOptions & {
|
|
2683
|
+
withLabelsDetails: true;
|
|
2684
|
+
}): Promise<GitlabAPIResponse<MergeRequestSchemaWithExpandedLabels[], C, E, P>>;
|
|
2685
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: OneOrNoneOf<{
|
|
2595
2686
|
projectId: string | number;
|
|
2596
2687
|
groupId: string | number;
|
|
2597
|
-
}> & PaginationRequestOptions<P> & BaseRequestOptions<E>
|
|
2598
|
-
|
|
2599
|
-
|
|
2688
|
+
}> & PaginationRequestOptions<P> & AllMergeRequestsOptions & BaseRequestOptions<E> & {
|
|
2689
|
+
withLabelsDetails?: false;
|
|
2690
|
+
}): Promise<GitlabAPIResponse<MergeRequestSchemaWithBasicLabels[], C, E, P>>;
|
|
2691
|
+
allDiffs<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffSchema[], C, E, P>>;
|
|
2692
|
+
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
2693
|
allDiffVersions<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffVersionsSchema[], C, E, void>>;
|
|
2601
2694
|
allIssuesClosed<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueSchema[], C, E, void>>;
|
|
2602
2695
|
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 +2746,7 @@ interface IssueSchema extends Record<string, unknown> {
|
|
|
2653
2746
|
created_at: string;
|
|
2654
2747
|
moved_to_id?: string;
|
|
2655
2748
|
iid: number;
|
|
2656
|
-
labels
|
|
2749
|
+
labels: string[] | SimpleLabelSchema[];
|
|
2657
2750
|
upvotes: number;
|
|
2658
2751
|
downvotes: number;
|
|
2659
2752
|
merge_requests_count: number;
|
|
@@ -2690,6 +2783,12 @@ interface IssueSchema extends Record<string, unknown> {
|
|
|
2690
2783
|
};
|
|
2691
2784
|
service_desk_reply_to?: string;
|
|
2692
2785
|
}
|
|
2786
|
+
interface IssueSchemaWithExpandedLabels extends IssueSchema {
|
|
2787
|
+
labels: SimpleLabelSchema[];
|
|
2788
|
+
}
|
|
2789
|
+
interface IssueSchemaWithBasicLabels extends IssueSchema {
|
|
2790
|
+
labels: string[];
|
|
2791
|
+
}
|
|
2693
2792
|
type AllIssuesOptions = {
|
|
2694
2793
|
assigneeId?: number;
|
|
2695
2794
|
assigneeUsername?: string[];
|
|
@@ -2763,10 +2862,18 @@ declare class Issues<C extends boolean = false> extends BaseResource<C> {
|
|
|
2763
2862
|
summary?: string;
|
|
2764
2863
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2765
2864
|
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'>(
|
|
2865
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options: OneOrNoneOf<{
|
|
2767
2866
|
projectId: string | number;
|
|
2768
2867
|
groupId: string | number;
|
|
2769
|
-
}> & PaginationRequestOptions<P> & AllIssuesOptions &
|
|
2868
|
+
}> & PaginationRequestOptions<P> & AllIssuesOptions & {
|
|
2869
|
+
withLabelsDetails: true;
|
|
2870
|
+
}): Promise<GitlabAPIResponse<IssueSchemaWithExpandedLabels[], C, E, P>>;
|
|
2871
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: OneOrNoneOf<{
|
|
2872
|
+
projectId: string | number;
|
|
2873
|
+
groupId: string | number;
|
|
2874
|
+
}> & PaginationRequestOptions<P> & AllIssuesOptions & BaseRequestOptions<E> & {
|
|
2875
|
+
withLabelsDetails?: false;
|
|
2876
|
+
}): Promise<GitlabAPIResponse<IssueSchemaWithBasicLabels[], C, E, P>>;
|
|
2770
2877
|
allMetricImages<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MetricImageSchema[], C, E, void>>;
|
|
2771
2878
|
allParticipants<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
|
|
2772
2879
|
allRelatedMergeRequests<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestSchema[], C, E, void>>;
|
|
@@ -2857,47 +2964,6 @@ declare class ResourceMilestones<C extends boolean = false> extends BaseResource
|
|
|
2857
2964
|
show<E extends boolean = false>(resourceId: string | number, milestoneId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MilestoneSchema, C, E, void>>;
|
|
2858
2965
|
}
|
|
2859
2966
|
|
|
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
2967
|
interface IssueBoardListSchema extends Record<string, unknown> {
|
|
2902
2968
|
id: number;
|
|
2903
2969
|
label: Pick<LabelSchema, 'name' | 'color' | 'description'>;
|
|
@@ -3072,9 +3138,12 @@ interface WikiAttachmentSchema extends Record<string, unknown> {
|
|
|
3072
3138
|
}
|
|
3073
3139
|
declare class ResourceWikis<C extends boolean = false> extends BaseResource<C> {
|
|
3074
3140
|
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
|
|
3141
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options: {
|
|
3142
|
+
withContent: true;
|
|
3143
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
3144
|
+
content: string;
|
|
3145
|
+
})[], C, E, P>>;
|
|
3146
|
+
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
3147
|
create<E extends boolean = false>(resourceId: string | number, content: string, title: string, options?: {
|
|
3079
3148
|
format?: string;
|
|
3080
3149
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<WikiSchema, C, E, void>>;
|
|
@@ -5857,6 +5926,15 @@ declare class ProjectIterations<C extends boolean = false> extends ResourceItera
|
|
|
5857
5926
|
}
|
|
5858
5927
|
|
|
5859
5928
|
interface ProjectLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
5929
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
5930
|
+
withCounts: true;
|
|
5931
|
+
includeAncestorGroups?: boolean;
|
|
5932
|
+
search?: string;
|
|
5933
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
5934
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
5935
|
+
includeAncestorGroups?: boolean;
|
|
5936
|
+
search?: string;
|
|
5937
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
5860
5938
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
5861
5939
|
withCounts?: boolean;
|
|
5862
5940
|
includeAncestorGroups?: boolean;
|
|
@@ -5991,7 +6069,6 @@ interface ReleaseSchema extends Record<string, unknown> {
|
|
|
5991
6069
|
tag_name: string;
|
|
5992
6070
|
description: string | null;
|
|
5993
6071
|
name: string | null;
|
|
5994
|
-
description_html: string;
|
|
5995
6072
|
created_at: string;
|
|
5996
6073
|
released_at: string | null;
|
|
5997
6074
|
user: MappedOmit<UserSchema, 'created_at'>;
|
|
@@ -6017,6 +6094,11 @@ interface ReleaseSchema extends Record<string, unknown> {
|
|
|
6017
6094
|
};
|
|
6018
6095
|
}
|
|
6019
6096
|
declare class ProjectReleases<C extends boolean = false> extends BaseResource<C> {
|
|
6097
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E> & {
|
|
6098
|
+
includeHtmlDescription: true;
|
|
6099
|
+
}): Promise<GitlabAPIResponse<(ReleaseSchema & {
|
|
6100
|
+
description_html: string;
|
|
6101
|
+
})[], C, E, P>>;
|
|
6020
6102
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema[], C, E, P>>;
|
|
6021
6103
|
create<E extends boolean = false>(projectId: string | number, options?: BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema, C, E, void>>;
|
|
6022
6104
|
createEvidence<E extends boolean = false>(projectId: string | number, tagName: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<number, C, E, void>>;
|
|
@@ -6216,6 +6298,12 @@ declare class ProjectVulnerabilities<C extends boolean = false> extends BaseReso
|
|
|
6216
6298
|
}
|
|
6217
6299
|
|
|
6218
6300
|
interface ProjectWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
6301
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options: {
|
|
6302
|
+
withContent: true;
|
|
6303
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
6304
|
+
content: string;
|
|
6305
|
+
})[], C, E, P>>;
|
|
6306
|
+
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
6307
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
6220
6308
|
withContent?: boolean;
|
|
6221
6309
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
@@ -6709,7 +6797,7 @@ interface EpicSchema extends Record<string, unknown> {
|
|
|
6709
6797
|
created_at: string;
|
|
6710
6798
|
updated_at: string;
|
|
6711
6799
|
closed_at: string;
|
|
6712
|
-
labels
|
|
6800
|
+
labels: string[] | SimpleLabelSchema[];
|
|
6713
6801
|
upvotes: number;
|
|
6714
6802
|
downvotes: number;
|
|
6715
6803
|
_links: {
|
|
@@ -6718,6 +6806,12 @@ interface EpicSchema extends Record<string, unknown> {
|
|
|
6718
6806
|
group: string;
|
|
6719
6807
|
};
|
|
6720
6808
|
}
|
|
6809
|
+
interface EpicSchemaWithExpandedLabels extends EpicSchema {
|
|
6810
|
+
labels: SimpleLabelSchema[];
|
|
6811
|
+
}
|
|
6812
|
+
interface EpicSchemaWithBasicLabels extends EpicSchema {
|
|
6813
|
+
labels: string[];
|
|
6814
|
+
}
|
|
6721
6815
|
interface EpicTodoSchema extends TodoSchema {
|
|
6722
6816
|
group: Pick<GroupSchema, 'id' | 'name' | 'path' | 'kind' | 'full_path' | 'parent_id'>;
|
|
6723
6817
|
target_type: 'Epic';
|
|
@@ -6770,7 +6864,12 @@ type EditEpicOptions = {
|
|
|
6770
6864
|
color?: string;
|
|
6771
6865
|
};
|
|
6772
6866
|
declare class Epics<C extends boolean = false> extends BaseResource<C> {
|
|
6773
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options
|
|
6867
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: AllEpicsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
6868
|
+
withLabelsDetails: true;
|
|
6869
|
+
}): Promise<GitlabAPIResponse<EpicSchemaWithExpandedLabels[], C, E, P>>;
|
|
6870
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllEpicsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
|
|
6871
|
+
withLabelsDetails?: false;
|
|
6872
|
+
}): Promise<GitlabAPIResponse<EpicSchemaWithBasicLabels[], C, E, P>>;
|
|
6774
6873
|
create<E extends boolean = false>(groupId: string | number, title: string, options?: CreateEpicOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<EpicSchema, C, E, void>>;
|
|
6775
6874
|
createTodo<E extends boolean = false>(groupId: string | number, epicIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<EpicTodoSchema, C, E, void>>;
|
|
6776
6875
|
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 +7042,15 @@ declare class GroupIterations<C extends boolean = false> extends ResourceIterati
|
|
|
6943
7042
|
}
|
|
6944
7043
|
|
|
6945
7044
|
interface GroupLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
7045
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7046
|
+
withCounts: true;
|
|
7047
|
+
includeAncestorGroups?: boolean;
|
|
7048
|
+
search?: string;
|
|
7049
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(LabelSchema & LabelCountSchema)[], C, E, P>>;
|
|
7050
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7051
|
+
includeAncestorGroups?: boolean;
|
|
7052
|
+
search?: string;
|
|
7053
|
+
} & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LabelSchema[], C, E, P>>;
|
|
6946
7054
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
6947
7055
|
withCounts?: boolean;
|
|
6948
7056
|
includeAncestorGroups?: boolean;
|
|
@@ -7171,6 +7279,12 @@ declare class GroupVariables<C extends boolean = false> extends ResourceVariable
|
|
|
7171
7279
|
}
|
|
7172
7280
|
|
|
7173
7281
|
interface GroupWikis<C extends boolean = false> extends ResourceWikis<C> {
|
|
7282
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options: {
|
|
7283
|
+
withContent: true;
|
|
7284
|
+
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<(WikiSchema & {
|
|
7285
|
+
content: string;
|
|
7286
|
+
})[], C, E, P>>;
|
|
7287
|
+
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
7288
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
7175
7289
|
withContent?: boolean;
|
|
7176
7290
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<WikiSchema[], C, E, P>>;
|
|
@@ -7515,4 +7629,4 @@ declare class Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
7515
7629
|
constructor(options: BaseResourceOptions<C>);
|
|
7516
7630
|
}
|
|
7517
7631
|
|
|
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 };
|
|
7632
|
+
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, 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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbeaker/core",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.12.0",
|
|
4
4
|
"description": "Core API implementation of the GitLab API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"release": "auto shipit"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@gitbeaker/requester-utils": "^39.
|
|
58
|
+
"@gitbeaker/requester-utils": "^39.12.0",
|
|
59
59
|
"qs": "^6.11.2",
|
|
60
60
|
"xcase": "^2.0.1"
|
|
61
61
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"tsx": "^3.12.7",
|
|
67
67
|
"typescript": "^5.1.6"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "7aaea32c0be06f0a15abd31cffc870f6810c4c79"
|
|
70
70
|
}
|