@gitbeaker/core 39.24.0 → 39.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +7 -11
- package/dist/index.mjs +7 -11
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -4807,20 +4807,20 @@ declare class Branches<C extends boolean = false> extends BaseResource<C> {
|
|
|
4807
4807
|
}
|
|
4808
4808
|
|
|
4809
4809
|
interface CommitDiscussions<C extends boolean = false> extends ResourceDiscussions<C> {
|
|
4810
|
-
addNote<E extends boolean = false>(projectId: string | number, commitId:
|
|
4810
|
+
addNote<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, noteId: number, body: string, options?: {
|
|
4811
4811
|
createdAt?: string;
|
|
4812
4812
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionNoteSchema, C, E, void>>;
|
|
4813
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, commitId:
|
|
4814
|
-
create<E extends boolean = false>(projectId: string | number, commitId:
|
|
4813
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, commitId: string, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema[], C, E, P>>;
|
|
4814
|
+
create<E extends boolean = false>(projectId: string | number, commitId: string, body: string, options?: {
|
|
4815
4815
|
position?: DiscussionNotePositionOptions;
|
|
4816
4816
|
commitId?: string;
|
|
4817
4817
|
createdAt?: string;
|
|
4818
4818
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema, C, E, void>>;
|
|
4819
|
-
editNote<E extends boolean = false>(projectId: string | number, commitId:
|
|
4819
|
+
editNote<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, noteId: number, options?: Sudo & ShowExpanded<E> & {
|
|
4820
4820
|
body?: string;
|
|
4821
4821
|
}): Promise<GitlabAPIResponse<DiscussionNoteSchema, C, E, void>>;
|
|
4822
|
-
removeNote<E extends boolean = false>(projectId: string | number, commitId:
|
|
4823
|
-
show<E extends boolean = false>(projectId: string | number, commitId:
|
|
4822
|
+
removeNote<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, noteId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
4823
|
+
show<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema, C, E, void>>;
|
|
4824
4824
|
}
|
|
4825
4825
|
declare class CommitDiscussions<C extends boolean = false> extends ResourceDiscussions<C> {
|
|
4826
4826
|
constructor(options: BaseResourceOptions<C>);
|
|
@@ -7731,21 +7731,21 @@ declare class GroupServiceAccounts<C extends boolean = false> extends BaseResour
|
|
|
7731
7731
|
}
|
|
7732
7732
|
|
|
7733
7733
|
interface GroupVariables<C extends boolean = false> extends ResourceVariables<C> {
|
|
7734
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(
|
|
7735
|
-
create<E extends boolean = false>(
|
|
7734
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<VariableSchema[], C, E, P>>;
|
|
7735
|
+
create<E extends boolean = false>(groupId: string | number, key: string, value: string, options?: {
|
|
7736
7736
|
variableType?: VariableType;
|
|
7737
7737
|
protected?: boolean;
|
|
7738
7738
|
masked?: boolean;
|
|
7739
7739
|
environmentScope?: string;
|
|
7740
7740
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<VariableSchema, C, E, void>>;
|
|
7741
|
-
edit<E extends boolean = false>(
|
|
7741
|
+
edit<E extends boolean = false>(groupId: string | number, key: string, value: string, options?: {
|
|
7742
7742
|
variableType?: VariableType;
|
|
7743
7743
|
protected?: boolean;
|
|
7744
7744
|
masked?: boolean;
|
|
7745
7745
|
environmentScope?: string;
|
|
7746
7746
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<VariableSchema, C, E, void>>;
|
|
7747
|
-
show<E extends boolean = false>(
|
|
7748
|
-
remove<E extends boolean = false>(
|
|
7747
|
+
show<E extends boolean = false>(groupId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<VariableSchema, C, E, void>>;
|
|
7748
|
+
remove<E extends boolean = false>(groupId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7749
7749
|
}
|
|
7750
7750
|
declare class GroupVariables<C extends boolean = false> extends ResourceVariables<C> {
|
|
7751
7751
|
constructor(options: BaseResourceOptions<C>);
|
package/dist/index.d.ts
CHANGED
|
@@ -4807,20 +4807,20 @@ declare class Branches<C extends boolean = false> extends BaseResource<C> {
|
|
|
4807
4807
|
}
|
|
4808
4808
|
|
|
4809
4809
|
interface CommitDiscussions<C extends boolean = false> extends ResourceDiscussions<C> {
|
|
4810
|
-
addNote<E extends boolean = false>(projectId: string | number, commitId:
|
|
4810
|
+
addNote<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, noteId: number, body: string, options?: {
|
|
4811
4811
|
createdAt?: string;
|
|
4812
4812
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionNoteSchema, C, E, void>>;
|
|
4813
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, commitId:
|
|
4814
|
-
create<E extends boolean = false>(projectId: string | number, commitId:
|
|
4813
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, commitId: string, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema[], C, E, P>>;
|
|
4814
|
+
create<E extends boolean = false>(projectId: string | number, commitId: string, body: string, options?: {
|
|
4815
4815
|
position?: DiscussionNotePositionOptions;
|
|
4816
4816
|
commitId?: string;
|
|
4817
4817
|
createdAt?: string;
|
|
4818
4818
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema, C, E, void>>;
|
|
4819
|
-
editNote<E extends boolean = false>(projectId: string | number, commitId:
|
|
4819
|
+
editNote<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, noteId: number, options?: Sudo & ShowExpanded<E> & {
|
|
4820
4820
|
body?: string;
|
|
4821
4821
|
}): Promise<GitlabAPIResponse<DiscussionNoteSchema, C, E, void>>;
|
|
4822
|
-
removeNote<E extends boolean = false>(projectId: string | number, commitId:
|
|
4823
|
-
show<E extends boolean = false>(projectId: string | number, commitId:
|
|
4822
|
+
removeNote<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, noteId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
4823
|
+
show<E extends boolean = false>(projectId: string | number, commitId: string, discussionId: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DiscussionSchema, C, E, void>>;
|
|
4824
4824
|
}
|
|
4825
4825
|
declare class CommitDiscussions<C extends boolean = false> extends ResourceDiscussions<C> {
|
|
4826
4826
|
constructor(options: BaseResourceOptions<C>);
|
|
@@ -7731,21 +7731,21 @@ declare class GroupServiceAccounts<C extends boolean = false> extends BaseResour
|
|
|
7731
7731
|
}
|
|
7732
7732
|
|
|
7733
7733
|
interface GroupVariables<C extends boolean = false> extends ResourceVariables<C> {
|
|
7734
|
-
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(
|
|
7735
|
-
create<E extends boolean = false>(
|
|
7734
|
+
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<VariableSchema[], C, E, P>>;
|
|
7735
|
+
create<E extends boolean = false>(groupId: string | number, key: string, value: string, options?: {
|
|
7736
7736
|
variableType?: VariableType;
|
|
7737
7737
|
protected?: boolean;
|
|
7738
7738
|
masked?: boolean;
|
|
7739
7739
|
environmentScope?: string;
|
|
7740
7740
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<VariableSchema, C, E, void>>;
|
|
7741
|
-
edit<E extends boolean = false>(
|
|
7741
|
+
edit<E extends boolean = false>(groupId: string | number, key: string, value: string, options?: {
|
|
7742
7742
|
variableType?: VariableType;
|
|
7743
7743
|
protected?: boolean;
|
|
7744
7744
|
masked?: boolean;
|
|
7745
7745
|
environmentScope?: string;
|
|
7746
7746
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<VariableSchema, C, E, void>>;
|
|
7747
|
-
show<E extends boolean = false>(
|
|
7748
|
-
remove<E extends boolean = false>(
|
|
7747
|
+
show<E extends boolean = false>(groupId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<VariableSchema, C, E, void>>;
|
|
7748
|
+
remove<E extends boolean = false>(groupId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
7749
7749
|
}
|
|
7750
7750
|
declare class GroupVariables<C extends boolean = false> extends ResourceVariables<C> {
|
|
7751
7751
|
constructor(options: BaseResourceOptions<C>);
|
package/dist/index.js
CHANGED
|
@@ -6362,21 +6362,17 @@ var GroupSAMLLinks = class extends requesterUtils.BaseResource {
|
|
|
6362
6362
|
);
|
|
6363
6363
|
}
|
|
6364
6364
|
remove(groupId, samlGroupName, options) {
|
|
6365
|
-
return RequestHelper.del()(
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
});
|
|
6365
|
+
return RequestHelper.del()(
|
|
6366
|
+
this,
|
|
6367
|
+
endpoint`groups/${groupId}/saml_group_links/${samlGroupName}`,
|
|
6368
|
+
options
|
|
6369
|
+
);
|
|
6371
6370
|
}
|
|
6372
6371
|
show(groupId, samlGroupName, options) {
|
|
6373
6372
|
return RequestHelper.get()(
|
|
6374
6373
|
this,
|
|
6375
|
-
endpoint`groups/${groupId}/saml_group_links`,
|
|
6376
|
-
|
|
6377
|
-
samlGroupName,
|
|
6378
|
-
...options
|
|
6379
|
-
}
|
|
6374
|
+
endpoint`groups/${groupId}/saml_group_links/${samlGroupName}`,
|
|
6375
|
+
options
|
|
6380
6376
|
);
|
|
6381
6377
|
}
|
|
6382
6378
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -6356,21 +6356,17 @@ var GroupSAMLLinks = class extends BaseResource {
|
|
|
6356
6356
|
);
|
|
6357
6357
|
}
|
|
6358
6358
|
remove(groupId, samlGroupName, options) {
|
|
6359
|
-
return RequestHelper.del()(
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
});
|
|
6359
|
+
return RequestHelper.del()(
|
|
6360
|
+
this,
|
|
6361
|
+
endpoint`groups/${groupId}/saml_group_links/${samlGroupName}`,
|
|
6362
|
+
options
|
|
6363
|
+
);
|
|
6365
6364
|
}
|
|
6366
6365
|
show(groupId, samlGroupName, options) {
|
|
6367
6366
|
return RequestHelper.get()(
|
|
6368
6367
|
this,
|
|
6369
|
-
endpoint`groups/${groupId}/saml_group_links`,
|
|
6370
|
-
|
|
6371
|
-
samlGroupName,
|
|
6372
|
-
...options
|
|
6373
|
-
}
|
|
6368
|
+
endpoint`groups/${groupId}/saml_group_links/${samlGroupName}`,
|
|
6369
|
+
options
|
|
6374
6370
|
);
|
|
6375
6371
|
}
|
|
6376
6372
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbeaker/core",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.25.0",
|
|
4
4
|
"description": "Core API implementation of the GitLab API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"release": "auto shipit"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@gitbeaker/requester-utils": "^39.
|
|
58
|
+
"@gitbeaker/requester-utils": "^39.25.0",
|
|
59
59
|
"qs": "^6.11.2",
|
|
60
60
|
"xcase": "^2.0.1"
|
|
61
61
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"tsx": "^4.1.2",
|
|
67
67
|
"typescript": "^5.2.2"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "fd19ac3b3aaebdea71adee99661565d3836a7ac2"
|
|
70
70
|
}
|