@gitbeaker/core 42.4.1 → 43.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -6
- package/dist/index.d.mts +95 -13
- package/dist/index.d.ts +95 -13
- package/dist/index.js +98 -2
- package/dist/index.mjs +97 -4
- package/dist/map.json +90 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -16,12 +16,6 @@
|
|
|
16
16
|
<br>
|
|
17
17
|
<sup>Special thanks to:</sup>
|
|
18
18
|
<br>
|
|
19
|
-
<br>
|
|
20
|
-
|
|
21
|
-
<a href="https://wearecws.com/">
|
|
22
|
-
<img src="../../.github/ASSETS/cws.svg" width="180">
|
|
23
|
-
</a>
|
|
24
|
-
<br>
|
|
25
19
|
<br>
|
|
26
20
|
<a href="http://coderabbit.ai">
|
|
27
21
|
<img src="../../.github/ASSETS/coderabbit.png" width="180">
|
|
@@ -649,6 +643,15 @@ import { Gitlab } from '@gitbeaker/core';
|
|
|
649
643
|
</td>
|
|
650
644
|
</tr>
|
|
651
645
|
<tr>
|
|
646
|
+
<th>GroupMarkdownUploads</th>
|
|
647
|
+
<td>
|
|
648
|
+
<a href="https://docs.gitlab.com/17.9/api/group_markdown_uploads.html">🦊</a>
|
|
649
|
+
</td>
|
|
650
|
+
<td>
|
|
651
|
+
<a href="./src/resources/GroupMarkdownUploads.ts">⌨️</a>
|
|
652
|
+
</td>
|
|
653
|
+
</tr>
|
|
654
|
+
<tr>
|
|
652
655
|
<th>GroupMemberRoles</th>
|
|
653
656
|
<td>
|
|
654
657
|
<a href="https://docs.gitlab.com/17.3/ee/api/member_roles.html">🦊</a>
|
|
@@ -1360,6 +1363,15 @@ import { Gitlab } from '@gitbeaker/core';
|
|
|
1360
1363
|
</td>
|
|
1361
1364
|
</tr>
|
|
1362
1365
|
<tr>
|
|
1366
|
+
<th>ProjectMarkdownUploads</th>
|
|
1367
|
+
<td>
|
|
1368
|
+
<a href="https://docs.gitlab.com/17.9/api/project_markdown_uploads.html">🦊</a>
|
|
1369
|
+
</td>
|
|
1370
|
+
<td>
|
|
1371
|
+
<a href="./src/resources/ProjectMarkdownUploads.ts">⌨️</a>
|
|
1372
|
+
</td>
|
|
1373
|
+
</tr>
|
|
1374
|
+
<tr>
|
|
1363
1375
|
<th>ProjectMembers</th>
|
|
1364
1376
|
<td>
|
|
1365
1377
|
<a href="https://docs.gitlab.com/17.3/ee/api/members.html">🦊</a>
|
|
@@ -1934,6 +1946,8 @@ import { Gitlab } from '@gitbeaker/core';
|
|
|
1934
1946
|
<td align="center" valign="top" width="0.33%"><a href="https://github.com/Sephyr0s"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/34128667?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Marco"/></td>
|
|
1935
1947
|
<td align="center" valign="top" width="0.33%"><a href="https://github.com/enduity"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/19674002?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Endrik Einberg"/></td>
|
|
1936
1948
|
<td align="center" valign="top" width="0.33%"><a href="https://note.itswhat.me/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/38807139?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Bryan Lee"/></td>
|
|
1949
|
+
<td align="center" valign="top" width="0.33%"><a href="https://github.com/zk-kb4"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/42388953?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Zack"/></td>
|
|
1950
|
+
<td align="center" valign="top" width="0.33%"><a href="https://github.com/kayw-geek"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/29700073?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Kay W."/></td>
|
|
1937
1951
|
</tr>
|
|
1938
1952
|
</p>
|
|
1939
1953
|
|
package/dist/index.d.mts
CHANGED
|
@@ -62,11 +62,11 @@ interface KeysetPaginationRequestOptions {
|
|
|
62
62
|
}
|
|
63
63
|
interface OffsetPaginationRequestOptions {
|
|
64
64
|
page?: number | string;
|
|
65
|
-
maxPages?: number;
|
|
66
65
|
}
|
|
67
66
|
interface BasePaginationRequestOptions<P extends PaginationTypes | void> {
|
|
68
67
|
pagination?: P;
|
|
69
68
|
perPage?: number | string;
|
|
69
|
+
maxPages?: number;
|
|
70
70
|
}
|
|
71
71
|
type PaginationRequestSubOptions<P extends PaginationTypes | void> = P extends 'keyset' ? AllOrNone<KeysetPaginationRequestOptions> : P extends 'offset' ? OffsetPaginationRequestOptions : AllOrNone<KeysetPaginationRequestOptions> & OffsetPaginationRequestOptions;
|
|
72
72
|
type PaginationRequestOptions<P extends PaginationTypes | void = void> = BasePaginationRequestOptions<P> & PaginationRequestSubOptions<P>;
|
|
@@ -2358,6 +2358,9 @@ declare class Pipelines<C extends boolean = false> extends BaseResource<C> {
|
|
|
2358
2358
|
show<E extends boolean = false>(projectId: string | number, pipelineId: 'latest', options?: {
|
|
2359
2359
|
ref?: string;
|
|
2360
2360
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedPipelineSchema, C, E, void>>;
|
|
2361
|
+
showLatest<E extends boolean = false>(projectId: string | number, options?: {
|
|
2362
|
+
ref?: string;
|
|
2363
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedPipelineSchema, C, E, void>>;
|
|
2361
2364
|
showTestReport<E extends boolean = false>(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTestReportSchema, C, E, void>>;
|
|
2362
2365
|
showTestReportSummary<E extends boolean = false>(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTestReportSummarySchema, C, E, void>>;
|
|
2363
2366
|
}
|
|
@@ -2711,7 +2714,7 @@ interface CondensedMergeRequestSchema extends Record<string, unknown> {
|
|
|
2711
2714
|
iid: number;
|
|
2712
2715
|
project_id: number;
|
|
2713
2716
|
title: string;
|
|
2714
|
-
description: string;
|
|
2717
|
+
description: string | null;
|
|
2715
2718
|
state: string;
|
|
2716
2719
|
created_at: string;
|
|
2717
2720
|
updated_at: string;
|
|
@@ -2835,8 +2838,12 @@ type AcceptMergeRequestOptions = {
|
|
|
2835
2838
|
squashCommitMessage?: string;
|
|
2836
2839
|
squash?: boolean;
|
|
2837
2840
|
shouldRemoveSourceBranch?: boolean;
|
|
2841
|
+
/**
|
|
2842
|
+
* @deprecated Use `autoMerge` instead. Deprecated in GitLab 17.11.
|
|
2843
|
+
*/
|
|
2838
2844
|
mergeWhenPipelineSucceeds?: boolean;
|
|
2839
2845
|
sha?: string;
|
|
2846
|
+
autoMerge?: boolean;
|
|
2840
2847
|
};
|
|
2841
2848
|
type EditMergeRequestOptions = {
|
|
2842
2849
|
targetBranch?: string;
|
|
@@ -2900,7 +2907,7 @@ declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
|
|
|
2900
2907
|
setTimeEstimate<E extends boolean = false>(projectId: string | number, mergerequestIId: number, duration: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2901
2908
|
show<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: {
|
|
2902
2909
|
renderHtml?: boolean;
|
|
2903
|
-
includeDivergedCommitsCount?:
|
|
2910
|
+
includeDivergedCommitsCount?: boolean;
|
|
2904
2911
|
includeRebaseInProgress?: boolean;
|
|
2905
2912
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
|
|
2906
2913
|
showChanges<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: {
|
|
@@ -3192,6 +3199,32 @@ declare class ResourceIssueBoards<C extends boolean = false> extends BaseResourc
|
|
|
3192
3199
|
showList<E extends boolean = false>(resourceId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueBoardListSchema, C, E, void>>;
|
|
3193
3200
|
}
|
|
3194
3201
|
|
|
3202
|
+
interface MarkdownUploadUserSchema extends Record<string, unknown> {
|
|
3203
|
+
id: number;
|
|
3204
|
+
name: string;
|
|
3205
|
+
username: string;
|
|
3206
|
+
}
|
|
3207
|
+
interface MarkdownUploadSchema extends Record<string, unknown> {
|
|
3208
|
+
id: number;
|
|
3209
|
+
size: number;
|
|
3210
|
+
filename: string;
|
|
3211
|
+
created_at: string;
|
|
3212
|
+
uploaded_by: MarkdownUploadUserSchema;
|
|
3213
|
+
}
|
|
3214
|
+
interface MarkdownUploadCreatedSchema extends Record<string, unknown> {
|
|
3215
|
+
id: number;
|
|
3216
|
+
alt: string;
|
|
3217
|
+
url: string;
|
|
3218
|
+
full_path: string;
|
|
3219
|
+
markdown: string;
|
|
3220
|
+
}
|
|
3221
|
+
declare class ResourceMarkdownUploads<C extends boolean> extends BaseResource<C> {
|
|
3222
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
3223
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: Sudo & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<MarkdownUploadSchema[], C, E, P>>;
|
|
3224
|
+
download<E extends boolean = false>(resourceId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<Blob, C, E, void>>;
|
|
3225
|
+
remove<E extends boolean = false>(resourceId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3195
3228
|
interface IncludeInherited {
|
|
3196
3229
|
includeInherited?: boolean;
|
|
3197
3230
|
}
|
|
@@ -3553,7 +3586,7 @@ declare class ResourceProtectedEnvironments<C extends boolean = false> extends B
|
|
|
3553
3586
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: {
|
|
3554
3587
|
search?: string;
|
|
3555
3588
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema[], C, E, P>>;
|
|
3556
|
-
create<E extends boolean = false>(resourceId: string | number, name: string,
|
|
3589
|
+
create<E extends boolean = false>(resourceId: string | number, name: string, deployAccessLevels: ProtectedEnvironmentAccessLevelEntity[], options?: {
|
|
3557
3590
|
requiredApprovalCount?: number;
|
|
3558
3591
|
approvalRules?: ProtectedEnvironmentAccessLevelEntity[];
|
|
3559
3592
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema, C, E, void>>;
|
|
@@ -5154,11 +5187,11 @@ declare class Runners<C extends boolean = false> extends BaseResource<C> {
|
|
|
5154
5187
|
owned: boolean;
|
|
5155
5188
|
groupId: string | number;
|
|
5156
5189
|
}> & AllRunnersOptions & BaseRequestOptions<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<RunnerSchema[], C, E, P>>;
|
|
5157
|
-
allJobs<E extends boolean = false>(runnerId: number, options?: Sudo & ShowExpanded<E> & {
|
|
5190
|
+
allJobs<E extends boolean = false, P extends PaginationTypes = 'offset'>(runnerId: number, options?: Sudo & PaginationRequestOptions<P> & ShowExpanded<E> & {
|
|
5158
5191
|
status?: string;
|
|
5159
5192
|
orderBy?: string;
|
|
5160
5193
|
sort?: string;
|
|
5161
|
-
}): Promise<GitlabAPIResponse<JobSchema[], C, E,
|
|
5194
|
+
}): Promise<GitlabAPIResponse<JobSchema[], C, E, P>>;
|
|
5162
5195
|
create<E extends boolean = false>(token: string, options?: CreateRunnerOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RunnerToken, C, E, void>>;
|
|
5163
5196
|
edit<E extends boolean = false>(runnerId: number, options?: EditRunnerOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedRunnerSchema, C, E, void>>;
|
|
5164
5197
|
enable<E extends boolean = false>(projectId: string | number, runnerId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RunnerSchema, C, E, void>>;
|
|
@@ -6283,7 +6316,9 @@ interface ProjectAccessTokens<C extends boolean = false> extends ResourceAccessT
|
|
|
6283
6316
|
accessLevel?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>;
|
|
6284
6317
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
6285
6318
|
revoke<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6286
|
-
rotate<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?:
|
|
6319
|
+
rotate<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: {
|
|
6320
|
+
expiresAt?: string;
|
|
6321
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
6287
6322
|
show<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
6288
6323
|
}
|
|
6289
6324
|
declare class ProjectAccessTokens<C extends boolean = false> extends ResourceAccessTokens<C> {
|
|
@@ -6542,6 +6577,19 @@ declare class ProjectLabels<C extends boolean = false> extends ResourceLabels<C>
|
|
|
6542
6577
|
constructor(options: BaseResourceOptions<C>);
|
|
6543
6578
|
}
|
|
6544
6579
|
|
|
6580
|
+
interface ProjectMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
6581
|
+
create<E extends boolean = false>(projectId: string | number, file: {
|
|
6582
|
+
content: Blob;
|
|
6583
|
+
filename: string;
|
|
6584
|
+
}, options?: Sudo): Promise<GitlabAPIResponse<MarkdownUploadCreatedSchema, C, E, void>>;
|
|
6585
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: Sudo & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<MarkdownUploadSchema[], C, E, P>>;
|
|
6586
|
+
download<E extends boolean = false>(projectId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<Blob, C, E, void>>;
|
|
6587
|
+
remove<E extends boolean = false>(projectId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6588
|
+
}
|
|
6589
|
+
declare class ProjectMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
6590
|
+
constructor(options: BaseResourceOptions<C>);
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6545
6593
|
interface ProjectMembers<C extends boolean = false> extends ResourceMembers<C> {
|
|
6546
6594
|
add<E extends boolean = false>(projectId: string | number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: AddMemberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
6547
6595
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: IncludeInherited & PaginationRequestOptions<P> & AllMembersOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema[], C, E, P>>;
|
|
@@ -6588,9 +6636,9 @@ interface ProjectProtectedEnvironments<C extends boolean = false> {
|
|
|
6588
6636
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
6589
6637
|
search?: string;
|
|
6590
6638
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema[], C, E, P>>;
|
|
6591
|
-
create<E extends boolean = false>(projectId: string | number, name: string,
|
|
6639
|
+
create<E extends boolean = false>(projectId: string | number, name: string, deployAccessLevels: ProtectedEnvironmentAccessLevelEntity[], options?: {
|
|
6592
6640
|
requiredApprovalCount?: number;
|
|
6593
|
-
|
|
6641
|
+
approvalRules: ProtectedEnvironmentAccessLevelEntity[];
|
|
6594
6642
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema, C, E, void>>;
|
|
6595
6643
|
edit<E extends boolean = false>(projectId: string | number, name: string, options?: {
|
|
6596
6644
|
deployAccessLevels?: ProtectedEnvironmentAccessLevelEntity[];
|
|
@@ -6798,6 +6846,24 @@ declare class ProjectTemplates<C extends boolean = false> extends BaseResource<C
|
|
|
6798
6846
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectTemplateSchema, C, E, void>>;
|
|
6799
6847
|
}
|
|
6800
6848
|
|
|
6849
|
+
interface TerraformStateSchema extends Record<string, unknown> {
|
|
6850
|
+
version: number;
|
|
6851
|
+
terraform_version: string;
|
|
6852
|
+
serial: number;
|
|
6853
|
+
lineage: string;
|
|
6854
|
+
outputs?: Record<string, unknown>;
|
|
6855
|
+
resources?: Record<string, unknown>[];
|
|
6856
|
+
check_results: Record<string, unknown>[];
|
|
6857
|
+
}
|
|
6858
|
+
declare class ProjectTerraformState<C extends boolean = false> extends BaseResource<C> {
|
|
6859
|
+
show<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TerraformStateSchema, C, E, void>>;
|
|
6860
|
+
showVersion<E extends boolean = false>(projectId: string | number, name: string, serial: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TerraformStateSchema, C, E, void>>;
|
|
6861
|
+
removeVersion<E extends boolean = false>(projectId: string | number, name: string, serial: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6862
|
+
remove<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6863
|
+
removeTerraformStateLock<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6864
|
+
createVersion<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TerraformStateSchema, C, E, void>>;
|
|
6865
|
+
}
|
|
6866
|
+
|
|
6801
6867
|
interface ProjectVariableSchema extends VariableSchema {
|
|
6802
6868
|
environment_scope: string;
|
|
6803
6869
|
}
|
|
@@ -7476,7 +7542,9 @@ interface GroupAccessTokens<C extends boolean = false> extends ResourceAccessTok
|
|
|
7476
7542
|
accessLevel?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>;
|
|
7477
7543
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
7478
7544
|
revoke<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7479
|
-
rotate<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?:
|
|
7545
|
+
rotate<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: {
|
|
7546
|
+
expiresAt?: string;
|
|
7547
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
7480
7548
|
show<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
7481
7549
|
}
|
|
7482
7550
|
declare class GroupAccessTokens<C extends boolean = false> extends ResourceAccessTokens<C> {
|
|
@@ -7696,6 +7764,15 @@ declare class GroupLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
|
7696
7764
|
constructor(options: BaseResourceOptions<C>);
|
|
7697
7765
|
}
|
|
7698
7766
|
|
|
7767
|
+
interface GroupMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
7768
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: Sudo & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<MarkdownUploadSchema[], C, E, P>>;
|
|
7769
|
+
download<E extends boolean = false>(groupId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<Blob, C, E, void>>;
|
|
7770
|
+
remove<E extends boolean = false>(groupId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7771
|
+
}
|
|
7772
|
+
declare class GroupMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
7773
|
+
constructor(options: BaseResourceOptions<C>);
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7699
7776
|
interface MemberRoleSchema extends Record<string, unknown> {
|
|
7700
7777
|
id: number;
|
|
7701
7778
|
group_id: number;
|
|
@@ -7784,7 +7861,7 @@ interface GroupProtectedEnvironments<C extends boolean = false> {
|
|
|
7784
7861
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
7785
7862
|
search?: string;
|
|
7786
7863
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema[], C, E, P>>;
|
|
7787
|
-
create<E extends boolean = false>(groupId: string | number, name: string,
|
|
7864
|
+
create<E extends boolean = false>(groupId: string | number, name: string, deployAccessLevels: ProtectedEnvironmentAccessLevelEntity[], options?: {
|
|
7788
7865
|
requiredApprovalCount?: number;
|
|
7789
7866
|
approvalRules?: ProtectedEnvironmentAccessLevelEntity[];
|
|
7790
7867
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema, C, E, void>>;
|
|
@@ -8194,6 +8271,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8194
8271
|
ProjectIterations: ProjectIterations<C>;
|
|
8195
8272
|
ProjectJobTokenScopes: ProjectJobTokenScopes<C>;
|
|
8196
8273
|
ProjectLabels: ProjectLabels<C>;
|
|
8274
|
+
ProjectMarkdownUploads: ProjectMarkdownUploads<C>;
|
|
8197
8275
|
ProjectMembers: ProjectMembers<C>;
|
|
8198
8276
|
ProjectMilestones: ProjectMilestones<C>;
|
|
8199
8277
|
ProjectProtectedEnvironments: ProjectProtectedEnvironments<C>;
|
|
@@ -8209,6 +8287,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8209
8287
|
ProjectSnippets: ProjectSnippets<C>;
|
|
8210
8288
|
ProjectStatistics: ProjectStatistics<C>;
|
|
8211
8289
|
ProjectTemplates: ProjectTemplates<C>;
|
|
8290
|
+
ProjectTerraformState: ProjectTerraformState<C>;
|
|
8212
8291
|
ProjectVariables: ProjectVariables<C>;
|
|
8213
8292
|
ProjectVulnerabilities: ProjectVulnerabilities<C>;
|
|
8214
8293
|
ProjectWikis: ProjectWikis<C>;
|
|
@@ -8244,6 +8323,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8244
8323
|
GroupIterations: GroupIterations<C>;
|
|
8245
8324
|
GroupLabels: GroupLabels<C>;
|
|
8246
8325
|
GroupLDAPLinks: GroupLDAPLinks<C>;
|
|
8326
|
+
GroupMarkdownUploads: GroupMarkdownUploads<C>;
|
|
8247
8327
|
GroupMembers: GroupMembers<C>;
|
|
8248
8328
|
GroupMemberRoles: GroupMemberRoles<C>;
|
|
8249
8329
|
GroupMilestones: GroupMilestones<C>;
|
|
@@ -8676,6 +8756,7 @@ interface WebhookPipelineEventSchema extends MappedOmit<BaseWebhookEventSchema,
|
|
|
8676
8756
|
before_sha: string;
|
|
8677
8757
|
source: string;
|
|
8678
8758
|
status: string;
|
|
8759
|
+
detailed_status: string;
|
|
8679
8760
|
stages: string[] | null;
|
|
8680
8761
|
created_at: string;
|
|
8681
8762
|
finished_at: string;
|
|
@@ -8686,7 +8767,7 @@ interface WebhookPipelineEventSchema extends MappedOmit<BaseWebhookEventSchema,
|
|
|
8686
8767
|
}[] | null;
|
|
8687
8768
|
url: string;
|
|
8688
8769
|
};
|
|
8689
|
-
merge_request: {
|
|
8770
|
+
merge_request: null | {
|
|
8690
8771
|
id: number;
|
|
8691
8772
|
iid: number;
|
|
8692
8773
|
title: string;
|
|
@@ -8886,6 +8967,7 @@ interface WebhookReleaseEventSchema {
|
|
|
8886
8967
|
interface WebhookEmojiEventSchema extends BaseWebhookEventSchema {
|
|
8887
8968
|
object_kind: 'emoji';
|
|
8888
8969
|
event_type: 'award';
|
|
8970
|
+
merge_request?: WebhookMergeRequestEventSchema['object_attributes'];
|
|
8889
8971
|
project_id: number;
|
|
8890
8972
|
object_attributes: {
|
|
8891
8973
|
user_id: number;
|
|
@@ -8962,4 +9044,4 @@ interface WebhookEmojiEventSchema extends BaseWebhookEventSchema {
|
|
|
8962
9044
|
};
|
|
8963
9045
|
}
|
|
8964
9046
|
|
|
8965
|
-
export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenExposedSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemberOptions, type AddResourceHookOptions, type AdminUserSchema, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BaseWebhookEventSchema, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionLineRangeSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextLineSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, type GitlabPagesSettingsSchema, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAllowListSchema, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobTokenScopeSchema, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceExistsSchema, type NamespaceSchema, Namespaces, type NewDeployTokenSchema, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectAllowListSchema, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectJobTokenScopes, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchCommitSchema, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SimpleUserSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WebhookBaseNoteEventSchema, type WebhookBasePushEventSchema, type WebhookCommitNoteEventSchema, type WebhookDeploymentEventSchema, type WebhookDiffSchema, type WebhookEmojiEventSchema, type WebhookFeatureFlagEventSchema, type WebhookGroupMemberEventSchema, type WebhookIssueEventSchema, type WebhookIssueNoteEventSchema, type WebhookJobEventSchema, type WebhookLabelSchema, type WebhookMergeRequestEventSchema, type WebhookMergeRequestNoteEventSchema, type WebhookPipelineEventSchema, type WebhookPipelineSchema, type WebhookProjectSchema, type WebhookPushEventSchema, type WebhookReleaseEventSchema, type WebhookRepositorySchema, type WebhookSnippetNoteEventSchema, type WebhookSubGroupEventSchema, type WebhookTagEventSchema, type WebhookUserSchema, type WebhookWikiEventSchema, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
|
|
9047
|
+
export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenExposedSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemberOptions, type AddResourceHookOptions, type AdminUserSchema, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BaseWebhookEventSchema, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionLineRangeSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextLineSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, type GitlabPagesSettingsSchema, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAllowListSchema, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMarkdownUploads, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobTokenScopeSchema, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, type MarkdownUploadCreatedSchema, type MarkdownUploadSchema, type MarkdownUploadUserSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceExistsSchema, type NamespaceSchema, Namespaces, type NewDeployTokenSchema, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectAllowListSchema, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectJobTokenScopes, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMarkdownUploads, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, ProjectTerraformState, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMarkdownUploads, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchCommitSchema, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SimpleUserSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TerraformStateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WebhookBaseNoteEventSchema, type WebhookBasePushEventSchema, type WebhookCommitNoteEventSchema, type WebhookDeploymentEventSchema, type WebhookDiffSchema, type WebhookEmojiEventSchema, type WebhookFeatureFlagEventSchema, type WebhookGroupMemberEventSchema, type WebhookIssueEventSchema, type WebhookIssueNoteEventSchema, type WebhookJobEventSchema, type WebhookLabelSchema, type WebhookMergeRequestEventSchema, type WebhookMergeRequestNoteEventSchema, type WebhookPipelineEventSchema, type WebhookPipelineSchema, type WebhookProjectSchema, type WebhookPushEventSchema, type WebhookReleaseEventSchema, type WebhookRepositorySchema, type WebhookSnippetNoteEventSchema, type WebhookSubGroupEventSchema, type WebhookTagEventSchema, type WebhookUserSchema, type WebhookWikiEventSchema, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -62,11 +62,11 @@ interface KeysetPaginationRequestOptions {
|
|
|
62
62
|
}
|
|
63
63
|
interface OffsetPaginationRequestOptions {
|
|
64
64
|
page?: number | string;
|
|
65
|
-
maxPages?: number;
|
|
66
65
|
}
|
|
67
66
|
interface BasePaginationRequestOptions<P extends PaginationTypes | void> {
|
|
68
67
|
pagination?: P;
|
|
69
68
|
perPage?: number | string;
|
|
69
|
+
maxPages?: number;
|
|
70
70
|
}
|
|
71
71
|
type PaginationRequestSubOptions<P extends PaginationTypes | void> = P extends 'keyset' ? AllOrNone<KeysetPaginationRequestOptions> : P extends 'offset' ? OffsetPaginationRequestOptions : AllOrNone<KeysetPaginationRequestOptions> & OffsetPaginationRequestOptions;
|
|
72
72
|
type PaginationRequestOptions<P extends PaginationTypes | void = void> = BasePaginationRequestOptions<P> & PaginationRequestSubOptions<P>;
|
|
@@ -2358,6 +2358,9 @@ declare class Pipelines<C extends boolean = false> extends BaseResource<C> {
|
|
|
2358
2358
|
show<E extends boolean = false>(projectId: string | number, pipelineId: 'latest', options?: {
|
|
2359
2359
|
ref?: string;
|
|
2360
2360
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedPipelineSchema, C, E, void>>;
|
|
2361
|
+
showLatest<E extends boolean = false>(projectId: string | number, options?: {
|
|
2362
|
+
ref?: string;
|
|
2363
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedPipelineSchema, C, E, void>>;
|
|
2361
2364
|
showTestReport<E extends boolean = false>(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTestReportSchema, C, E, void>>;
|
|
2362
2365
|
showTestReportSummary<E extends boolean = false>(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTestReportSummarySchema, C, E, void>>;
|
|
2363
2366
|
}
|
|
@@ -2711,7 +2714,7 @@ interface CondensedMergeRequestSchema extends Record<string, unknown> {
|
|
|
2711
2714
|
iid: number;
|
|
2712
2715
|
project_id: number;
|
|
2713
2716
|
title: string;
|
|
2714
|
-
description: string;
|
|
2717
|
+
description: string | null;
|
|
2715
2718
|
state: string;
|
|
2716
2719
|
created_at: string;
|
|
2717
2720
|
updated_at: string;
|
|
@@ -2835,8 +2838,12 @@ type AcceptMergeRequestOptions = {
|
|
|
2835
2838
|
squashCommitMessage?: string;
|
|
2836
2839
|
squash?: boolean;
|
|
2837
2840
|
shouldRemoveSourceBranch?: boolean;
|
|
2841
|
+
/**
|
|
2842
|
+
* @deprecated Use `autoMerge` instead. Deprecated in GitLab 17.11.
|
|
2843
|
+
*/
|
|
2838
2844
|
mergeWhenPipelineSucceeds?: boolean;
|
|
2839
2845
|
sha?: string;
|
|
2846
|
+
autoMerge?: boolean;
|
|
2840
2847
|
};
|
|
2841
2848
|
type EditMergeRequestOptions = {
|
|
2842
2849
|
targetBranch?: string;
|
|
@@ -2900,7 +2907,7 @@ declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
|
|
|
2900
2907
|
setTimeEstimate<E extends boolean = false>(projectId: string | number, mergerequestIId: number, duration: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TimeStatsSchema, C, E, void>>;
|
|
2901
2908
|
show<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: {
|
|
2902
2909
|
renderHtml?: boolean;
|
|
2903
|
-
includeDivergedCommitsCount?:
|
|
2910
|
+
includeDivergedCommitsCount?: boolean;
|
|
2904
2911
|
includeRebaseInProgress?: boolean;
|
|
2905
2912
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
|
|
2906
2913
|
showChanges<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: {
|
|
@@ -3192,6 +3199,32 @@ declare class ResourceIssueBoards<C extends boolean = false> extends BaseResourc
|
|
|
3192
3199
|
showList<E extends boolean = false>(resourceId: string | number, boardId: number, listId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueBoardListSchema, C, E, void>>;
|
|
3193
3200
|
}
|
|
3194
3201
|
|
|
3202
|
+
interface MarkdownUploadUserSchema extends Record<string, unknown> {
|
|
3203
|
+
id: number;
|
|
3204
|
+
name: string;
|
|
3205
|
+
username: string;
|
|
3206
|
+
}
|
|
3207
|
+
interface MarkdownUploadSchema extends Record<string, unknown> {
|
|
3208
|
+
id: number;
|
|
3209
|
+
size: number;
|
|
3210
|
+
filename: string;
|
|
3211
|
+
created_at: string;
|
|
3212
|
+
uploaded_by: MarkdownUploadUserSchema;
|
|
3213
|
+
}
|
|
3214
|
+
interface MarkdownUploadCreatedSchema extends Record<string, unknown> {
|
|
3215
|
+
id: number;
|
|
3216
|
+
alt: string;
|
|
3217
|
+
url: string;
|
|
3218
|
+
full_path: string;
|
|
3219
|
+
markdown: string;
|
|
3220
|
+
}
|
|
3221
|
+
declare class ResourceMarkdownUploads<C extends boolean> extends BaseResource<C> {
|
|
3222
|
+
constructor(resourceType: string, options: BaseResourceOptions<C>);
|
|
3223
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: Sudo & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<MarkdownUploadSchema[], C, E, P>>;
|
|
3224
|
+
download<E extends boolean = false>(resourceId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<Blob, C, E, void>>;
|
|
3225
|
+
remove<E extends boolean = false>(resourceId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3195
3228
|
interface IncludeInherited {
|
|
3196
3229
|
includeInherited?: boolean;
|
|
3197
3230
|
}
|
|
@@ -3553,7 +3586,7 @@ declare class ResourceProtectedEnvironments<C extends boolean = false> extends B
|
|
|
3553
3586
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(resourceId: string | number, options?: {
|
|
3554
3587
|
search?: string;
|
|
3555
3588
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema[], C, E, P>>;
|
|
3556
|
-
create<E extends boolean = false>(resourceId: string | number, name: string,
|
|
3589
|
+
create<E extends boolean = false>(resourceId: string | number, name: string, deployAccessLevels: ProtectedEnvironmentAccessLevelEntity[], options?: {
|
|
3557
3590
|
requiredApprovalCount?: number;
|
|
3558
3591
|
approvalRules?: ProtectedEnvironmentAccessLevelEntity[];
|
|
3559
3592
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema, C, E, void>>;
|
|
@@ -5154,11 +5187,11 @@ declare class Runners<C extends boolean = false> extends BaseResource<C> {
|
|
|
5154
5187
|
owned: boolean;
|
|
5155
5188
|
groupId: string | number;
|
|
5156
5189
|
}> & AllRunnersOptions & BaseRequestOptions<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<RunnerSchema[], C, E, P>>;
|
|
5157
|
-
allJobs<E extends boolean = false>(runnerId: number, options?: Sudo & ShowExpanded<E> & {
|
|
5190
|
+
allJobs<E extends boolean = false, P extends PaginationTypes = 'offset'>(runnerId: number, options?: Sudo & PaginationRequestOptions<P> & ShowExpanded<E> & {
|
|
5158
5191
|
status?: string;
|
|
5159
5192
|
orderBy?: string;
|
|
5160
5193
|
sort?: string;
|
|
5161
|
-
}): Promise<GitlabAPIResponse<JobSchema[], C, E,
|
|
5194
|
+
}): Promise<GitlabAPIResponse<JobSchema[], C, E, P>>;
|
|
5162
5195
|
create<E extends boolean = false>(token: string, options?: CreateRunnerOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RunnerToken, C, E, void>>;
|
|
5163
5196
|
edit<E extends boolean = false>(runnerId: number, options?: EditRunnerOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedRunnerSchema, C, E, void>>;
|
|
5164
5197
|
enable<E extends boolean = false>(projectId: string | number, runnerId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RunnerSchema, C, E, void>>;
|
|
@@ -6283,7 +6316,9 @@ interface ProjectAccessTokens<C extends boolean = false> extends ResourceAccessT
|
|
|
6283
6316
|
accessLevel?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>;
|
|
6284
6317
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
6285
6318
|
revoke<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6286
|
-
rotate<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?:
|
|
6319
|
+
rotate<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: {
|
|
6320
|
+
expiresAt?: string;
|
|
6321
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
6287
6322
|
show<E extends boolean = false>(projectId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
6288
6323
|
}
|
|
6289
6324
|
declare class ProjectAccessTokens<C extends boolean = false> extends ResourceAccessTokens<C> {
|
|
@@ -6542,6 +6577,19 @@ declare class ProjectLabels<C extends boolean = false> extends ResourceLabels<C>
|
|
|
6542
6577
|
constructor(options: BaseResourceOptions<C>);
|
|
6543
6578
|
}
|
|
6544
6579
|
|
|
6580
|
+
interface ProjectMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
6581
|
+
create<E extends boolean = false>(projectId: string | number, file: {
|
|
6582
|
+
content: Blob;
|
|
6583
|
+
filename: string;
|
|
6584
|
+
}, options?: Sudo): Promise<GitlabAPIResponse<MarkdownUploadCreatedSchema, C, E, void>>;
|
|
6585
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: Sudo & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<MarkdownUploadSchema[], C, E, P>>;
|
|
6586
|
+
download<E extends boolean = false>(projectId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<Blob, C, E, void>>;
|
|
6587
|
+
remove<E extends boolean = false>(projectId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6588
|
+
}
|
|
6589
|
+
declare class ProjectMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
6590
|
+
constructor(options: BaseResourceOptions<C>);
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6545
6593
|
interface ProjectMembers<C extends boolean = false> extends ResourceMembers<C> {
|
|
6546
6594
|
add<E extends boolean = false>(projectId: string | number, accessLevel: Exclude<AccessLevel, AccessLevel.ADMIN>, options?: AddMemberOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema, C, E, void>>;
|
|
6547
6595
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: IncludeInherited & PaginationRequestOptions<P> & AllMembersOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MemberSchema[], C, E, P>>;
|
|
@@ -6588,9 +6636,9 @@ interface ProjectProtectedEnvironments<C extends boolean = false> {
|
|
|
6588
6636
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: {
|
|
6589
6637
|
search?: string;
|
|
6590
6638
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema[], C, E, P>>;
|
|
6591
|
-
create<E extends boolean = false>(projectId: string | number, name: string,
|
|
6639
|
+
create<E extends boolean = false>(projectId: string | number, name: string, deployAccessLevels: ProtectedEnvironmentAccessLevelEntity[], options?: {
|
|
6592
6640
|
requiredApprovalCount?: number;
|
|
6593
|
-
|
|
6641
|
+
approvalRules: ProtectedEnvironmentAccessLevelEntity[];
|
|
6594
6642
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema, C, E, void>>;
|
|
6595
6643
|
edit<E extends boolean = false>(projectId: string | number, name: string, options?: {
|
|
6596
6644
|
deployAccessLevels?: ProtectedEnvironmentAccessLevelEntity[];
|
|
@@ -6798,6 +6846,24 @@ declare class ProjectTemplates<C extends boolean = false> extends BaseResource<C
|
|
|
6798
6846
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectTemplateSchema, C, E, void>>;
|
|
6799
6847
|
}
|
|
6800
6848
|
|
|
6849
|
+
interface TerraformStateSchema extends Record<string, unknown> {
|
|
6850
|
+
version: number;
|
|
6851
|
+
terraform_version: string;
|
|
6852
|
+
serial: number;
|
|
6853
|
+
lineage: string;
|
|
6854
|
+
outputs?: Record<string, unknown>;
|
|
6855
|
+
resources?: Record<string, unknown>[];
|
|
6856
|
+
check_results: Record<string, unknown>[];
|
|
6857
|
+
}
|
|
6858
|
+
declare class ProjectTerraformState<C extends boolean = false> extends BaseResource<C> {
|
|
6859
|
+
show<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TerraformStateSchema, C, E, void>>;
|
|
6860
|
+
showVersion<E extends boolean = false>(projectId: string | number, name: string, serial: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TerraformStateSchema, C, E, void>>;
|
|
6861
|
+
removeVersion<E extends boolean = false>(projectId: string | number, name: string, serial: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6862
|
+
remove<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6863
|
+
removeTerraformStateLock<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
6864
|
+
createVersion<E extends boolean = false>(projectId: string | number, name: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TerraformStateSchema, C, E, void>>;
|
|
6865
|
+
}
|
|
6866
|
+
|
|
6801
6867
|
interface ProjectVariableSchema extends VariableSchema {
|
|
6802
6868
|
environment_scope: string;
|
|
6803
6869
|
}
|
|
@@ -7476,7 +7542,9 @@ interface GroupAccessTokens<C extends boolean = false> extends ResourceAccessTok
|
|
|
7476
7542
|
accessLevel?: Exclude<AccessLevel, AccessLevel.MINIMAL_ACCESS | AccessLevel.NO_ACCESS | AccessLevel.ADMIN>;
|
|
7477
7543
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
7478
7544
|
revoke<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7479
|
-
rotate<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?:
|
|
7545
|
+
rotate<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: {
|
|
7546
|
+
expiresAt?: string;
|
|
7547
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenExposedSchema, C, E, void>>;
|
|
7480
7548
|
show<E extends boolean = false>(groupId: string | number, tokenId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AccessTokenSchema, C, E, void>>;
|
|
7481
7549
|
}
|
|
7482
7550
|
declare class GroupAccessTokens<C extends boolean = false> extends ResourceAccessTokens<C> {
|
|
@@ -7696,6 +7764,15 @@ declare class GroupLabels<C extends boolean = false> extends ResourceLabels<C> {
|
|
|
7696
7764
|
constructor(options: BaseResourceOptions<C>);
|
|
7697
7765
|
}
|
|
7698
7766
|
|
|
7767
|
+
interface GroupMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
7768
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: Sudo & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<MarkdownUploadSchema[], C, E, P>>;
|
|
7769
|
+
download<E extends boolean = false>(groupId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<Blob, C, E, void>>;
|
|
7770
|
+
remove<E extends boolean = false>(groupId: string | number, uploadId: string | number, options?: Sudo): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7771
|
+
}
|
|
7772
|
+
declare class GroupMarkdownUploads<C extends boolean = false> extends ResourceMarkdownUploads<C> {
|
|
7773
|
+
constructor(options: BaseResourceOptions<C>);
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7699
7776
|
interface MemberRoleSchema extends Record<string, unknown> {
|
|
7700
7777
|
id: number;
|
|
7701
7778
|
group_id: number;
|
|
@@ -7784,7 +7861,7 @@ interface GroupProtectedEnvironments<C extends boolean = false> {
|
|
|
7784
7861
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
|
|
7785
7862
|
search?: string;
|
|
7786
7863
|
} & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema[], C, E, P>>;
|
|
7787
|
-
create<E extends boolean = false>(groupId: string | number, name: string,
|
|
7864
|
+
create<E extends boolean = false>(groupId: string | number, name: string, deployAccessLevels: ProtectedEnvironmentAccessLevelEntity[], options?: {
|
|
7788
7865
|
requiredApprovalCount?: number;
|
|
7789
7866
|
approvalRules?: ProtectedEnvironmentAccessLevelEntity[];
|
|
7790
7867
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProtectedEnvironmentSchema, C, E, void>>;
|
|
@@ -8194,6 +8271,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8194
8271
|
ProjectIterations: ProjectIterations<C>;
|
|
8195
8272
|
ProjectJobTokenScopes: ProjectJobTokenScopes<C>;
|
|
8196
8273
|
ProjectLabels: ProjectLabels<C>;
|
|
8274
|
+
ProjectMarkdownUploads: ProjectMarkdownUploads<C>;
|
|
8197
8275
|
ProjectMembers: ProjectMembers<C>;
|
|
8198
8276
|
ProjectMilestones: ProjectMilestones<C>;
|
|
8199
8277
|
ProjectProtectedEnvironments: ProjectProtectedEnvironments<C>;
|
|
@@ -8209,6 +8287,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8209
8287
|
ProjectSnippets: ProjectSnippets<C>;
|
|
8210
8288
|
ProjectStatistics: ProjectStatistics<C>;
|
|
8211
8289
|
ProjectTemplates: ProjectTemplates<C>;
|
|
8290
|
+
ProjectTerraformState: ProjectTerraformState<C>;
|
|
8212
8291
|
ProjectVariables: ProjectVariables<C>;
|
|
8213
8292
|
ProjectVulnerabilities: ProjectVulnerabilities<C>;
|
|
8214
8293
|
ProjectWikis: ProjectWikis<C>;
|
|
@@ -8244,6 +8323,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
8244
8323
|
GroupIterations: GroupIterations<C>;
|
|
8245
8324
|
GroupLabels: GroupLabels<C>;
|
|
8246
8325
|
GroupLDAPLinks: GroupLDAPLinks<C>;
|
|
8326
|
+
GroupMarkdownUploads: GroupMarkdownUploads<C>;
|
|
8247
8327
|
GroupMembers: GroupMembers<C>;
|
|
8248
8328
|
GroupMemberRoles: GroupMemberRoles<C>;
|
|
8249
8329
|
GroupMilestones: GroupMilestones<C>;
|
|
@@ -8676,6 +8756,7 @@ interface WebhookPipelineEventSchema extends MappedOmit<BaseWebhookEventSchema,
|
|
|
8676
8756
|
before_sha: string;
|
|
8677
8757
|
source: string;
|
|
8678
8758
|
status: string;
|
|
8759
|
+
detailed_status: string;
|
|
8679
8760
|
stages: string[] | null;
|
|
8680
8761
|
created_at: string;
|
|
8681
8762
|
finished_at: string;
|
|
@@ -8686,7 +8767,7 @@ interface WebhookPipelineEventSchema extends MappedOmit<BaseWebhookEventSchema,
|
|
|
8686
8767
|
}[] | null;
|
|
8687
8768
|
url: string;
|
|
8688
8769
|
};
|
|
8689
|
-
merge_request: {
|
|
8770
|
+
merge_request: null | {
|
|
8690
8771
|
id: number;
|
|
8691
8772
|
iid: number;
|
|
8692
8773
|
title: string;
|
|
@@ -8886,6 +8967,7 @@ interface WebhookReleaseEventSchema {
|
|
|
8886
8967
|
interface WebhookEmojiEventSchema extends BaseWebhookEventSchema {
|
|
8887
8968
|
object_kind: 'emoji';
|
|
8888
8969
|
event_type: 'award';
|
|
8970
|
+
merge_request?: WebhookMergeRequestEventSchema['object_attributes'];
|
|
8889
8971
|
project_id: number;
|
|
8890
8972
|
object_attributes: {
|
|
8891
8973
|
user_id: number;
|
|
@@ -8962,4 +9044,4 @@ interface WebhookEmojiEventSchema extends BaseWebhookEventSchema {
|
|
|
8962
9044
|
};
|
|
8963
9045
|
}
|
|
8964
9046
|
|
|
8965
|
-
export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenExposedSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemberOptions, type AddResourceHookOptions, type AdminUserSchema, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BaseWebhookEventSchema, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionLineRangeSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextLineSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, type GitlabPagesSettingsSchema, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAllowListSchema, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobTokenScopeSchema, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceExistsSchema, type NamespaceSchema, Namespaces, type NewDeployTokenSchema, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectAllowListSchema, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectJobTokenScopes, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchCommitSchema, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SimpleUserSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WebhookBaseNoteEventSchema, type WebhookBasePushEventSchema, type WebhookCommitNoteEventSchema, type WebhookDeploymentEventSchema, type WebhookDiffSchema, type WebhookEmojiEventSchema, type WebhookFeatureFlagEventSchema, type WebhookGroupMemberEventSchema, type WebhookIssueEventSchema, type WebhookIssueNoteEventSchema, type WebhookJobEventSchema, type WebhookLabelSchema, type WebhookMergeRequestEventSchema, type WebhookMergeRequestNoteEventSchema, type WebhookPipelineEventSchema, type WebhookPipelineSchema, type WebhookProjectSchema, type WebhookPushEventSchema, type WebhookReleaseEventSchema, type WebhookRepositorySchema, type WebhookSnippetNoteEventSchema, type WebhookSubGroupEventSchema, type WebhookTagEventSchema, type WebhookUserSchema, type WebhookWikiEventSchema, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
|
|
9047
|
+
export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenExposedSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemberOptions, type AddResourceHookOptions, type AdminUserSchema, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BaseWebhookEventSchema, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionLineRangeSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextLineSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, type GitlabPagesSettingsSchema, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAllowListSchema, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMarkdownUploads, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobTokenScopeSchema, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, type MarkdownUploadCreatedSchema, type MarkdownUploadSchema, type MarkdownUploadUserSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceExistsSchema, type NamespaceSchema, Namespaces, type NewDeployTokenSchema, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectAllowListSchema, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectJobTokenScopes, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMarkdownUploads, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, ProjectTerraformState, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMarkdownUploads, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchCommitSchema, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SimpleUserSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TerraformStateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WebhookBaseNoteEventSchema, type WebhookBasePushEventSchema, type WebhookCommitNoteEventSchema, type WebhookDeploymentEventSchema, type WebhookDiffSchema, type WebhookEmojiEventSchema, type WebhookFeatureFlagEventSchema, type WebhookGroupMemberEventSchema, type WebhookIssueEventSchema, type WebhookIssueNoteEventSchema, type WebhookJobEventSchema, type WebhookLabelSchema, type WebhookMergeRequestEventSchema, type WebhookMergeRequestNoteEventSchema, type WebhookPipelineEventSchema, type WebhookPipelineSchema, type WebhookProjectSchema, type WebhookPushEventSchema, type WebhookReleaseEventSchema, type WebhookRepositorySchema, type WebhookSnippetNoteEventSchema, type WebhookSubGroupEventSchema, type WebhookTagEventSchema, type WebhookUserSchema, type WebhookWikiEventSchema, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
|
package/dist/index.js
CHANGED
|
@@ -1336,6 +1336,24 @@ var ResourceLabels = class extends requesterUtils.BaseResource {
|
|
|
1336
1336
|
);
|
|
1337
1337
|
}
|
|
1338
1338
|
};
|
|
1339
|
+
var ResourceMarkdownUploads = class extends requesterUtils.BaseResource {
|
|
1340
|
+
constructor(resourceType, options) {
|
|
1341
|
+
super({ prefixUrl: resourceType, ...options });
|
|
1342
|
+
}
|
|
1343
|
+
all(resourceId, options) {
|
|
1344
|
+
return RequestHelper.get()(
|
|
1345
|
+
this,
|
|
1346
|
+
endpoint`${resourceId}/uploads`,
|
|
1347
|
+
options
|
|
1348
|
+
);
|
|
1349
|
+
}
|
|
1350
|
+
download(resourceId, uploadId, options) {
|
|
1351
|
+
return RequestHelper.get()(this, endpoint`${resourceId}/uploads/${uploadId}`, options);
|
|
1352
|
+
}
|
|
1353
|
+
remove(resourceId, uploadId, options) {
|
|
1354
|
+
return RequestHelper.del()(this, endpoint`${resourceId}/uploads/${uploadId}`, options);
|
|
1355
|
+
}
|
|
1356
|
+
};
|
|
1339
1357
|
var ResourceMembers = class extends requesterUtils.BaseResource {
|
|
1340
1358
|
constructor(resourceType, options) {
|
|
1341
1359
|
super({ prefixUrl: resourceType, ...options });
|
|
@@ -1694,13 +1712,13 @@ var ResourceProtectedEnvironments = class extends requesterUtils.BaseResource {
|
|
|
1694
1712
|
options
|
|
1695
1713
|
);
|
|
1696
1714
|
}
|
|
1697
|
-
create(resourceId, name,
|
|
1715
|
+
create(resourceId, name, deployAccessLevels, options) {
|
|
1698
1716
|
return RequestHelper.post()(
|
|
1699
1717
|
this,
|
|
1700
1718
|
`${resourceId}/protected_environments`,
|
|
1701
1719
|
{
|
|
1702
1720
|
name,
|
|
1703
|
-
|
|
1721
|
+
deployAccessLevels,
|
|
1704
1722
|
...options
|
|
1705
1723
|
}
|
|
1706
1724
|
);
|
|
@@ -4476,6 +4494,13 @@ var Pipelines = class extends requesterUtils.BaseResource {
|
|
|
4476
4494
|
options
|
|
4477
4495
|
);
|
|
4478
4496
|
}
|
|
4497
|
+
showLatest(projectId, options) {
|
|
4498
|
+
return RequestHelper.get()(
|
|
4499
|
+
this,
|
|
4500
|
+
endpoint`projects/${projectId}/pipelines/latest`,
|
|
4501
|
+
options
|
|
4502
|
+
);
|
|
4503
|
+
}
|
|
4479
4504
|
showTestReport(projectId, pipelineId, options) {
|
|
4480
4505
|
return RequestHelper.get()(
|
|
4481
4506
|
this,
|
|
@@ -4723,6 +4748,20 @@ var ProjectLabels = class extends ResourceLabels {
|
|
|
4723
4748
|
}
|
|
4724
4749
|
};
|
|
4725
4750
|
|
|
4751
|
+
// src/resources/ProjectMarkdownUploads.ts
|
|
4752
|
+
var ProjectMarkdownUploads = class extends ResourceMarkdownUploads {
|
|
4753
|
+
constructor(options) {
|
|
4754
|
+
super("projects", options);
|
|
4755
|
+
}
|
|
4756
|
+
create(projectId, file, options) {
|
|
4757
|
+
return RequestHelper.post()(this, endpoint`${projectId}/uploads`, {
|
|
4758
|
+
isForm: true,
|
|
4759
|
+
...options,
|
|
4760
|
+
file: [file.content, file.filename]
|
|
4761
|
+
});
|
|
4762
|
+
}
|
|
4763
|
+
};
|
|
4764
|
+
|
|
4726
4765
|
// src/resources/ProjectMembers.ts
|
|
4727
4766
|
var ProjectMembers = class extends ResourceMembers {
|
|
4728
4767
|
constructor(options) {
|
|
@@ -5024,6 +5063,50 @@ var ProjectTemplates = class extends requesterUtils.BaseResource {
|
|
|
5024
5063
|
);
|
|
5025
5064
|
}
|
|
5026
5065
|
};
|
|
5066
|
+
var ProjectTerraformState = class extends requesterUtils.BaseResource {
|
|
5067
|
+
show(projectId, name, options) {
|
|
5068
|
+
return RequestHelper.get()(
|
|
5069
|
+
this,
|
|
5070
|
+
endpoint`projects/${projectId}/terraform/state/${name}`,
|
|
5071
|
+
options
|
|
5072
|
+
);
|
|
5073
|
+
}
|
|
5074
|
+
showVersion(projectId, name, serial, options) {
|
|
5075
|
+
return RequestHelper.get()(
|
|
5076
|
+
this,
|
|
5077
|
+
endpoint`projects/${projectId}/terraform/state/${name}/versions/${serial}`,
|
|
5078
|
+
options
|
|
5079
|
+
);
|
|
5080
|
+
}
|
|
5081
|
+
removeVersion(projectId, name, serial, options) {
|
|
5082
|
+
return RequestHelper.del()(
|
|
5083
|
+
this,
|
|
5084
|
+
endpoint`projects/${projectId}/terraform/state/${name}/versions/${serial}`,
|
|
5085
|
+
options
|
|
5086
|
+
);
|
|
5087
|
+
}
|
|
5088
|
+
remove(projectId, name, options) {
|
|
5089
|
+
return RequestHelper.del()(
|
|
5090
|
+
this,
|
|
5091
|
+
endpoint`projects/${projectId}/terraform/state/${name}`,
|
|
5092
|
+
options
|
|
5093
|
+
);
|
|
5094
|
+
}
|
|
5095
|
+
removeTerraformStateLock(projectId, name, options) {
|
|
5096
|
+
return RequestHelper.del()(
|
|
5097
|
+
this,
|
|
5098
|
+
endpoint`projects/${projectId}/terraform/state/${name}/lock`,
|
|
5099
|
+
options
|
|
5100
|
+
);
|
|
5101
|
+
}
|
|
5102
|
+
createVersion(projectId, name, options) {
|
|
5103
|
+
return RequestHelper.post()(
|
|
5104
|
+
this,
|
|
5105
|
+
endpoint`projects/${projectId}/terraform/state/${name}`,
|
|
5106
|
+
options
|
|
5107
|
+
);
|
|
5108
|
+
}
|
|
5109
|
+
};
|
|
5027
5110
|
|
|
5028
5111
|
// src/resources/ProjectVariables.ts
|
|
5029
5112
|
var ProjectVariables = class extends ResourceVariables {
|
|
@@ -6110,6 +6193,13 @@ var GroupLabels = class extends ResourceLabels {
|
|
|
6110
6193
|
super("groups", options);
|
|
6111
6194
|
}
|
|
6112
6195
|
};
|
|
6196
|
+
|
|
6197
|
+
// src/resources/GroupMarkdownUploads.ts
|
|
6198
|
+
var GroupMarkdownUploads = class extends ResourceMarkdownUploads {
|
|
6199
|
+
constructor(options) {
|
|
6200
|
+
super("groups", options);
|
|
6201
|
+
}
|
|
6202
|
+
};
|
|
6113
6203
|
var GroupMemberRoles = class extends requesterUtils.BaseResource {
|
|
6114
6204
|
add(groupId, baseAccessLevel, options) {
|
|
6115
6205
|
return RequestHelper.post()(this, endpoint`groups/${groupId}/members`, {
|
|
@@ -6928,6 +7018,7 @@ var resources = {
|
|
|
6928
7018
|
ProjectIterations,
|
|
6929
7019
|
ProjectJobTokenScopes,
|
|
6930
7020
|
ProjectLabels,
|
|
7021
|
+
ProjectMarkdownUploads,
|
|
6931
7022
|
ProjectMembers,
|
|
6932
7023
|
ProjectMilestones,
|
|
6933
7024
|
ProjectProtectedEnvironments,
|
|
@@ -6943,6 +7034,7 @@ var resources = {
|
|
|
6943
7034
|
ProjectSnippets,
|
|
6944
7035
|
ProjectStatistics,
|
|
6945
7036
|
ProjectTemplates,
|
|
7037
|
+
ProjectTerraformState,
|
|
6946
7038
|
ProjectVariables,
|
|
6947
7039
|
ProjectVulnerabilities,
|
|
6948
7040
|
ProjectWikis,
|
|
@@ -6978,6 +7070,7 @@ var resources = {
|
|
|
6978
7070
|
GroupIterations,
|
|
6979
7071
|
GroupLabels,
|
|
6980
7072
|
GroupLDAPLinks,
|
|
7073
|
+
GroupMarkdownUploads,
|
|
6981
7074
|
GroupMembers,
|
|
6982
7075
|
GroupMemberRoles,
|
|
6983
7076
|
GroupMilestones,
|
|
@@ -7085,6 +7178,7 @@ exports.GroupIssueBoards = GroupIssueBoards;
|
|
|
7085
7178
|
exports.GroupIterations = GroupIterations;
|
|
7086
7179
|
exports.GroupLDAPLinks = GroupLDAPLinks;
|
|
7087
7180
|
exports.GroupLabels = GroupLabels;
|
|
7181
|
+
exports.GroupMarkdownUploads = GroupMarkdownUploads;
|
|
7088
7182
|
exports.GroupMemberRoles = GroupMemberRoles;
|
|
7089
7183
|
exports.GroupMembers = GroupMembers;
|
|
7090
7184
|
exports.GroupMilestones = GroupMilestones;
|
|
@@ -7164,6 +7258,7 @@ exports.ProjectIssueBoards = ProjectIssueBoards;
|
|
|
7164
7258
|
exports.ProjectIterations = ProjectIterations;
|
|
7165
7259
|
exports.ProjectJobTokenScopes = ProjectJobTokenScopes;
|
|
7166
7260
|
exports.ProjectLabels = ProjectLabels;
|
|
7261
|
+
exports.ProjectMarkdownUploads = ProjectMarkdownUploads;
|
|
7167
7262
|
exports.ProjectMembers = ProjectMembers;
|
|
7168
7263
|
exports.ProjectMilestones = ProjectMilestones;
|
|
7169
7264
|
exports.ProjectProtectedEnvironments = ProjectProtectedEnvironments;
|
|
@@ -7178,6 +7273,7 @@ exports.ProjectSnippetNotes = ProjectSnippetNotes;
|
|
|
7178
7273
|
exports.ProjectSnippets = ProjectSnippets;
|
|
7179
7274
|
exports.ProjectStatistics = ProjectStatistics;
|
|
7180
7275
|
exports.ProjectTemplates = ProjectTemplates;
|
|
7276
|
+
exports.ProjectTerraformState = ProjectTerraformState;
|
|
7181
7277
|
exports.ProjectVariables = ProjectVariables;
|
|
7182
7278
|
exports.ProjectVulnerabilities = ProjectVulnerabilities;
|
|
7183
7279
|
exports.ProjectWikis = ProjectWikis;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseResource } from '@gitbeaker/requester-utils';
|
|
2
|
-
import {
|
|
2
|
+
import { camelizeKeys, decamelizeKeys } from 'xcase';
|
|
3
3
|
import QS, { parse } from 'qs';
|
|
4
4
|
|
|
5
5
|
// src/resources/Agents.ts
|
|
@@ -1330,6 +1330,24 @@ var ResourceLabels = class extends BaseResource {
|
|
|
1330
1330
|
);
|
|
1331
1331
|
}
|
|
1332
1332
|
};
|
|
1333
|
+
var ResourceMarkdownUploads = class extends BaseResource {
|
|
1334
|
+
constructor(resourceType, options) {
|
|
1335
|
+
super({ prefixUrl: resourceType, ...options });
|
|
1336
|
+
}
|
|
1337
|
+
all(resourceId, options) {
|
|
1338
|
+
return RequestHelper.get()(
|
|
1339
|
+
this,
|
|
1340
|
+
endpoint`${resourceId}/uploads`,
|
|
1341
|
+
options
|
|
1342
|
+
);
|
|
1343
|
+
}
|
|
1344
|
+
download(resourceId, uploadId, options) {
|
|
1345
|
+
return RequestHelper.get()(this, endpoint`${resourceId}/uploads/${uploadId}`, options);
|
|
1346
|
+
}
|
|
1347
|
+
remove(resourceId, uploadId, options) {
|
|
1348
|
+
return RequestHelper.del()(this, endpoint`${resourceId}/uploads/${uploadId}`, options);
|
|
1349
|
+
}
|
|
1350
|
+
};
|
|
1333
1351
|
var ResourceMembers = class extends BaseResource {
|
|
1334
1352
|
constructor(resourceType, options) {
|
|
1335
1353
|
super({ prefixUrl: resourceType, ...options });
|
|
@@ -1688,13 +1706,13 @@ var ResourceProtectedEnvironments = class extends BaseResource {
|
|
|
1688
1706
|
options
|
|
1689
1707
|
);
|
|
1690
1708
|
}
|
|
1691
|
-
create(resourceId, name,
|
|
1709
|
+
create(resourceId, name, deployAccessLevels, options) {
|
|
1692
1710
|
return RequestHelper.post()(
|
|
1693
1711
|
this,
|
|
1694
1712
|
`${resourceId}/protected_environments`,
|
|
1695
1713
|
{
|
|
1696
1714
|
name,
|
|
1697
|
-
|
|
1715
|
+
deployAccessLevels,
|
|
1698
1716
|
...options
|
|
1699
1717
|
}
|
|
1700
1718
|
);
|
|
@@ -4470,6 +4488,13 @@ var Pipelines = class extends BaseResource {
|
|
|
4470
4488
|
options
|
|
4471
4489
|
);
|
|
4472
4490
|
}
|
|
4491
|
+
showLatest(projectId, options) {
|
|
4492
|
+
return RequestHelper.get()(
|
|
4493
|
+
this,
|
|
4494
|
+
endpoint`projects/${projectId}/pipelines/latest`,
|
|
4495
|
+
options
|
|
4496
|
+
);
|
|
4497
|
+
}
|
|
4473
4498
|
showTestReport(projectId, pipelineId, options) {
|
|
4474
4499
|
return RequestHelper.get()(
|
|
4475
4500
|
this,
|
|
@@ -4717,6 +4742,20 @@ var ProjectLabels = class extends ResourceLabels {
|
|
|
4717
4742
|
}
|
|
4718
4743
|
};
|
|
4719
4744
|
|
|
4745
|
+
// src/resources/ProjectMarkdownUploads.ts
|
|
4746
|
+
var ProjectMarkdownUploads = class extends ResourceMarkdownUploads {
|
|
4747
|
+
constructor(options) {
|
|
4748
|
+
super("projects", options);
|
|
4749
|
+
}
|
|
4750
|
+
create(projectId, file, options) {
|
|
4751
|
+
return RequestHelper.post()(this, endpoint`${projectId}/uploads`, {
|
|
4752
|
+
isForm: true,
|
|
4753
|
+
...options,
|
|
4754
|
+
file: [file.content, file.filename]
|
|
4755
|
+
});
|
|
4756
|
+
}
|
|
4757
|
+
};
|
|
4758
|
+
|
|
4720
4759
|
// src/resources/ProjectMembers.ts
|
|
4721
4760
|
var ProjectMembers = class extends ResourceMembers {
|
|
4722
4761
|
constructor(options) {
|
|
@@ -5018,6 +5057,50 @@ var ProjectTemplates = class extends BaseResource {
|
|
|
5018
5057
|
);
|
|
5019
5058
|
}
|
|
5020
5059
|
};
|
|
5060
|
+
var ProjectTerraformState = class extends BaseResource {
|
|
5061
|
+
show(projectId, name, options) {
|
|
5062
|
+
return RequestHelper.get()(
|
|
5063
|
+
this,
|
|
5064
|
+
endpoint`projects/${projectId}/terraform/state/${name}`,
|
|
5065
|
+
options
|
|
5066
|
+
);
|
|
5067
|
+
}
|
|
5068
|
+
showVersion(projectId, name, serial, options) {
|
|
5069
|
+
return RequestHelper.get()(
|
|
5070
|
+
this,
|
|
5071
|
+
endpoint`projects/${projectId}/terraform/state/${name}/versions/${serial}`,
|
|
5072
|
+
options
|
|
5073
|
+
);
|
|
5074
|
+
}
|
|
5075
|
+
removeVersion(projectId, name, serial, options) {
|
|
5076
|
+
return RequestHelper.del()(
|
|
5077
|
+
this,
|
|
5078
|
+
endpoint`projects/${projectId}/terraform/state/${name}/versions/${serial}`,
|
|
5079
|
+
options
|
|
5080
|
+
);
|
|
5081
|
+
}
|
|
5082
|
+
remove(projectId, name, options) {
|
|
5083
|
+
return RequestHelper.del()(
|
|
5084
|
+
this,
|
|
5085
|
+
endpoint`projects/${projectId}/terraform/state/${name}`,
|
|
5086
|
+
options
|
|
5087
|
+
);
|
|
5088
|
+
}
|
|
5089
|
+
removeTerraformStateLock(projectId, name, options) {
|
|
5090
|
+
return RequestHelper.del()(
|
|
5091
|
+
this,
|
|
5092
|
+
endpoint`projects/${projectId}/terraform/state/${name}/lock`,
|
|
5093
|
+
options
|
|
5094
|
+
);
|
|
5095
|
+
}
|
|
5096
|
+
createVersion(projectId, name, options) {
|
|
5097
|
+
return RequestHelper.post()(
|
|
5098
|
+
this,
|
|
5099
|
+
endpoint`projects/${projectId}/terraform/state/${name}`,
|
|
5100
|
+
options
|
|
5101
|
+
);
|
|
5102
|
+
}
|
|
5103
|
+
};
|
|
5021
5104
|
|
|
5022
5105
|
// src/resources/ProjectVariables.ts
|
|
5023
5106
|
var ProjectVariables = class extends ResourceVariables {
|
|
@@ -6104,6 +6187,13 @@ var GroupLabels = class extends ResourceLabels {
|
|
|
6104
6187
|
super("groups", options);
|
|
6105
6188
|
}
|
|
6106
6189
|
};
|
|
6190
|
+
|
|
6191
|
+
// src/resources/GroupMarkdownUploads.ts
|
|
6192
|
+
var GroupMarkdownUploads = class extends ResourceMarkdownUploads {
|
|
6193
|
+
constructor(options) {
|
|
6194
|
+
super("groups", options);
|
|
6195
|
+
}
|
|
6196
|
+
};
|
|
6107
6197
|
var GroupMemberRoles = class extends BaseResource {
|
|
6108
6198
|
add(groupId, baseAccessLevel, options) {
|
|
6109
6199
|
return RequestHelper.post()(this, endpoint`groups/${groupId}/members`, {
|
|
@@ -6922,6 +7012,7 @@ var resources = {
|
|
|
6922
7012
|
ProjectIterations,
|
|
6923
7013
|
ProjectJobTokenScopes,
|
|
6924
7014
|
ProjectLabels,
|
|
7015
|
+
ProjectMarkdownUploads,
|
|
6925
7016
|
ProjectMembers,
|
|
6926
7017
|
ProjectMilestones,
|
|
6927
7018
|
ProjectProtectedEnvironments,
|
|
@@ -6937,6 +7028,7 @@ var resources = {
|
|
|
6937
7028
|
ProjectSnippets,
|
|
6938
7029
|
ProjectStatistics,
|
|
6939
7030
|
ProjectTemplates,
|
|
7031
|
+
ProjectTerraformState,
|
|
6940
7032
|
ProjectVariables,
|
|
6941
7033
|
ProjectVulnerabilities,
|
|
6942
7034
|
ProjectWikis,
|
|
@@ -6972,6 +7064,7 @@ var resources = {
|
|
|
6972
7064
|
GroupIterations,
|
|
6973
7065
|
GroupLabels,
|
|
6974
7066
|
GroupLDAPLinks,
|
|
7067
|
+
GroupMarkdownUploads,
|
|
6975
7068
|
GroupMembers,
|
|
6976
7069
|
GroupMemberRoles,
|
|
6977
7070
|
GroupMilestones,
|
|
@@ -7017,4 +7110,4 @@ var AccessLevel = /* @__PURE__ */ ((AccessLevel2) => {
|
|
|
7017
7110
|
return AccessLevel2;
|
|
7018
7111
|
})(AccessLevel || {});
|
|
7019
7112
|
|
|
7020
|
-
export { AccessLevel, Agents, AlertManagement, ApplicationAppearance, ApplicationPlanLimits, ApplicationSettings, ApplicationStatistics, Applications, AuditEvents, Avatar, Branches, BroadcastMessages, CodeSuggestions, CommitDiscussions, Commits, Composer, Conan, ContainerRegistry, DashboardAnnotations, Debian, DependencyProxy, DeployKeys, DeployTokens, Deployments, DockerfileTemplates, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssues, EpicLabelEvents, EpicLinks, EpicNotes, Epics, ErrorTrackingClientKeys, ErrorTrackingSettings, Events, Experiments, ExternalStatusChecks, FeatureFlagUserLists, FeatureFlags, FreezePeriods, GeoNodes, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabPages, GoProxy, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupEpicBoards, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, GroupServiceAccounts, GroupVariables, GroupWikis, Groups, Helm, Import, InstanceLevelCICDVariables, Integrations, IssueAwardEmojis, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNotes, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, JobArtifacts, Jobs, Keys, License, LicenseTemplates, LinkedEpics, Lint, Markdown, Maven, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestContextCommits, MergeRequestDiscussions, MergeRequestDraftNotes, MergeRequestLabelEvents, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, MergeRequestNotes, MergeRequests, MergeTrains, Metadata, Migrations, NPM, Namespaces, NotificationSettings, NuGet, PackageRegistry, Packages, PagesDomains, PersonalAccessTokens, PipelineScheduleVariables, PipelineSchedules, PipelineTriggerTokens, Pipelines, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliases, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectHooks, ProjectImportExports, ProjectInvitations, ProjectIssueBoards, ProjectIterations, ProjectJobTokenScopes, ProjectLabels, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrors, ProjectRepositoryStorageMoves, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStatistics, ProjectTemplates, ProjectVariables, ProjectVulnerabilities, ProjectWikis, Projects, ProtectedBranches, ProtectedTags, PyPI, ReleaseLinks, Repositories, RepositoryFiles, RepositorySubmodules, ResourceGroups, RubyGems, Runners, Search, SearchAdmin, SecureFiles, ServiceAccounts, ServiceData, SidekiqMetrics, SidekiqQueues, SnippetRepositoryStorageMoves, Snippets, Suggestions, SystemHooks, Tags, TodoLists, Topics, UserCustomAttributes, UserEmails, UserGPGKeys, UserImpersonationTokens, UserSSHKeys, UserStarredMetricsDashboard, Users };
|
|
7113
|
+
export { AccessLevel, Agents, AlertManagement, ApplicationAppearance, ApplicationPlanLimits, ApplicationSettings, ApplicationStatistics, Applications, AuditEvents, Avatar, Branches, BroadcastMessages, CodeSuggestions, CommitDiscussions, Commits, Composer, Conan, ContainerRegistry, DashboardAnnotations, Debian, DependencyProxy, DeployKeys, DeployTokens, Deployments, DockerfileTemplates, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssues, EpicLabelEvents, EpicLinks, EpicNotes, Epics, ErrorTrackingClientKeys, ErrorTrackingSettings, Events, Experiments, ExternalStatusChecks, FeatureFlagUserLists, FeatureFlags, FreezePeriods, GeoNodes, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabPages, GoProxy, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupEpicBoards, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMarkdownUploads, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, GroupServiceAccounts, GroupVariables, GroupWikis, Groups, Helm, Import, InstanceLevelCICDVariables, Integrations, IssueAwardEmojis, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNotes, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, JobArtifacts, Jobs, Keys, License, LicenseTemplates, LinkedEpics, Lint, Markdown, Maven, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestContextCommits, MergeRequestDiscussions, MergeRequestDraftNotes, MergeRequestLabelEvents, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, MergeRequestNotes, MergeRequests, MergeTrains, Metadata, Migrations, NPM, Namespaces, NotificationSettings, NuGet, PackageRegistry, Packages, PagesDomains, PersonalAccessTokens, PipelineScheduleVariables, PipelineSchedules, PipelineTriggerTokens, Pipelines, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliases, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectHooks, ProjectImportExports, ProjectInvitations, ProjectIssueBoards, ProjectIterations, ProjectJobTokenScopes, ProjectLabels, ProjectMarkdownUploads, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrors, ProjectRepositoryStorageMoves, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStatistics, ProjectTemplates, ProjectTerraformState, ProjectVariables, ProjectVulnerabilities, ProjectWikis, Projects, ProtectedBranches, ProtectedTags, PyPI, ReleaseLinks, Repositories, RepositoryFiles, RepositorySubmodules, ResourceGroups, RubyGems, Runners, Search, SearchAdmin, SecureFiles, ServiceAccounts, ServiceData, SidekiqMetrics, SidekiqQueues, SnippetRepositoryStorageMoves, Snippets, Suggestions, SystemHooks, Tags, TodoLists, Topics, UserCustomAttributes, UserEmails, UserGPGKeys, UserImpersonationTokens, UserSSHKeys, UserStarredMetricsDashboard, Users };
|
package/dist/map.json
CHANGED
|
@@ -3746,6 +3746,12 @@
|
|
|
3746
3746
|
"pipelineId"
|
|
3747
3747
|
]
|
|
3748
3748
|
},
|
|
3749
|
+
{
|
|
3750
|
+
"name": "showLatest",
|
|
3751
|
+
"args": [
|
|
3752
|
+
"projectId"
|
|
3753
|
+
]
|
|
3754
|
+
},
|
|
3749
3755
|
{
|
|
3750
3756
|
"name": "showTestReport",
|
|
3751
3757
|
"args": [
|
|
@@ -4065,6 +4071,24 @@
|
|
|
4065
4071
|
]
|
|
4066
4072
|
}
|
|
4067
4073
|
],
|
|
4074
|
+
"ProjectMarkdownUploads": [
|
|
4075
|
+
{
|
|
4076
|
+
"name": "constructor",
|
|
4077
|
+
"args": [
|
|
4078
|
+
"0",
|
|
4079
|
+
"1",
|
|
4080
|
+
"2",
|
|
4081
|
+
"3"
|
|
4082
|
+
]
|
|
4083
|
+
},
|
|
4084
|
+
{
|
|
4085
|
+
"name": "create",
|
|
4086
|
+
"args": [
|
|
4087
|
+
"projectId",
|
|
4088
|
+
"file"
|
|
4089
|
+
]
|
|
4090
|
+
}
|
|
4091
|
+
],
|
|
4068
4092
|
"ProjectMembers": [
|
|
4069
4093
|
{
|
|
4070
4094
|
"name": "constructor",
|
|
@@ -4439,6 +4463,61 @@
|
|
|
4439
4463
|
]
|
|
4440
4464
|
}
|
|
4441
4465
|
],
|
|
4466
|
+
"ProjectTerraformState": [
|
|
4467
|
+
{
|
|
4468
|
+
"name": "constructor",
|
|
4469
|
+
"args": [
|
|
4470
|
+
"0",
|
|
4471
|
+
"1",
|
|
4472
|
+
"2",
|
|
4473
|
+
"3"
|
|
4474
|
+
]
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
"name": "show",
|
|
4478
|
+
"args": [
|
|
4479
|
+
"projectId",
|
|
4480
|
+
"name"
|
|
4481
|
+
]
|
|
4482
|
+
},
|
|
4483
|
+
{
|
|
4484
|
+
"name": "showVersion",
|
|
4485
|
+
"args": [
|
|
4486
|
+
"projectId",
|
|
4487
|
+
"name",
|
|
4488
|
+
"serial"
|
|
4489
|
+
]
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
"name": "removeVersion",
|
|
4493
|
+
"args": [
|
|
4494
|
+
"projectId",
|
|
4495
|
+
"name",
|
|
4496
|
+
"serial"
|
|
4497
|
+
]
|
|
4498
|
+
},
|
|
4499
|
+
{
|
|
4500
|
+
"name": "remove",
|
|
4501
|
+
"args": [
|
|
4502
|
+
"projectId",
|
|
4503
|
+
"name"
|
|
4504
|
+
]
|
|
4505
|
+
},
|
|
4506
|
+
{
|
|
4507
|
+
"name": "removeTerraformStateLock",
|
|
4508
|
+
"args": [
|
|
4509
|
+
"projectId",
|
|
4510
|
+
"name"
|
|
4511
|
+
]
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
"name": "createVersion",
|
|
4515
|
+
"args": [
|
|
4516
|
+
"projectId",
|
|
4517
|
+
"name"
|
|
4518
|
+
]
|
|
4519
|
+
}
|
|
4520
|
+
],
|
|
4442
4521
|
"ProjectVariables": [
|
|
4443
4522
|
{
|
|
4444
4523
|
"name": "constructor",
|
|
@@ -5683,6 +5762,17 @@
|
|
|
5683
5762
|
]
|
|
5684
5763
|
}
|
|
5685
5764
|
],
|
|
5765
|
+
"GroupMarkdownUploads": [
|
|
5766
|
+
{
|
|
5767
|
+
"name": "constructor",
|
|
5768
|
+
"args": [
|
|
5769
|
+
"0",
|
|
5770
|
+
"1",
|
|
5771
|
+
"2",
|
|
5772
|
+
"3"
|
|
5773
|
+
]
|
|
5774
|
+
}
|
|
5775
|
+
],
|
|
5686
5776
|
"GroupMemberRoles": [
|
|
5687
5777
|
{
|
|
5688
5778
|
"name": "constructor",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbeaker/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "43.0.0",
|
|
4
4
|
"description": "Core API implementation of the GitLab API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"lint:fix": "yarn lint --fix"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@gitbeaker/requester-utils": "^
|
|
56
|
-
"qs": "^6.
|
|
55
|
+
"@gitbeaker/requester-utils": "^43.0.0",
|
|
56
|
+
"qs": "^6.14.0",
|
|
57
57
|
"xcase": "^2.0.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/node": "^
|
|
60
|
+
"@types/node": "^24.0.13",
|
|
61
61
|
"get-param-names": "github:jdalrymple/get-param-names#1-improve-functionality",
|
|
62
|
-
"tsup": "^8.
|
|
63
|
-
"tsx": "^4.
|
|
64
|
-
"typescript": "^5.
|
|
62
|
+
"tsup": "^8.5.0",
|
|
63
|
+
"tsx": "^4.20.3",
|
|
64
|
+
"typescript": "^5.8.3"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "2ae1422a257c0dfe21da6bbfd0f9fd63ea510e85"
|
|
67
67
|
}
|