@gitbeaker/core 41.1.0 → 41.1.2

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 CHANGED
@@ -1919,6 +1919,7 @@ import { Gitlab } from '@gitbeaker/core';
1919
1919
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/andys8"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/13085980?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Andy"/></td>
1920
1920
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/roberta-pavel"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/26488965?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="roberta-pavel"/></td>
1921
1921
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/yousinix"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/41103290?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Youssef"/></td>
1922
+ <td align="center" valign="top" width="0.33%"><a href="https://github.com/mpsanchis"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/33475618?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Miguel"/></td>
1922
1923
  </tr>
1923
1924
  </p>
1924
1925
 
package/dist/index.d.mts CHANGED
@@ -610,6 +610,7 @@ type AllGroupsOptions = {
610
610
  type AllGroupProjectsOptions = {
611
611
  visibility?: 'public' | 'internal' | 'private';
612
612
  orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'similarity' | 'last_activity_at';
613
+ topic?: string;
613
614
  sort?: 'asc' | 'desc';
614
615
  archived?: boolean;
615
616
  search?: string;
@@ -2013,10 +2014,13 @@ declare class DeployTokens<C extends boolean = false> extends BaseResource<C> {
2013
2014
  }> & {
2014
2015
  active?: boolean;
2015
2016
  } & PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<DeployTokenSchema[], C, E, P>>;
2016
- create<E extends boolean = false>(name: string, scopes: string[], { projectId, groupId, ...options }?: OneOf<{
2017
+ create<E extends boolean = false>(name: string, scopes: DeployTokenScope[], { projectId, groupId, ...options }?: OneOf<{
2017
2018
  projectId: string | number;
2018
2019
  groupId: string | number;
2019
- }> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DeployTokenSchema, C, E, void>>;
2020
+ }> & {
2021
+ expires_at?: string;
2022
+ username?: string;
2023
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DeployTokenSchema, C, E, void>>;
2020
2024
  remove<E extends boolean = false>(tokenId: number, { projectId, groupId, ...options }?: OneOf<{
2021
2025
  projectId: string | number;
2022
2026
  groupId: string | number;
package/dist/index.d.ts CHANGED
@@ -610,6 +610,7 @@ type AllGroupsOptions = {
610
610
  type AllGroupProjectsOptions = {
611
611
  visibility?: 'public' | 'internal' | 'private';
612
612
  orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'similarity' | 'last_activity_at';
613
+ topic?: string;
613
614
  sort?: 'asc' | 'desc';
614
615
  archived?: boolean;
615
616
  search?: string;
@@ -2013,10 +2014,13 @@ declare class DeployTokens<C extends boolean = false> extends BaseResource<C> {
2013
2014
  }> & {
2014
2015
  active?: boolean;
2015
2016
  } & PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<DeployTokenSchema[], C, E, P>>;
2016
- create<E extends boolean = false>(name: string, scopes: string[], { projectId, groupId, ...options }?: OneOf<{
2017
+ create<E extends boolean = false>(name: string, scopes: DeployTokenScope[], { projectId, groupId, ...options }?: OneOf<{
2017
2018
  projectId: string | number;
2018
2019
  groupId: string | number;
2019
- }> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DeployTokenSchema, C, E, void>>;
2020
+ }> & {
2021
+ expires_at?: string;
2022
+ username?: string;
2023
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<DeployTokenSchema, C, E, void>>;
2020
2024
  remove<E extends boolean = false>(tokenId: number, { projectId, groupId, ...options }?: OneOf<{
2021
2025
  projectId: string | number;
2022
2026
  groupId: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "41.1.0",
3
+ "version": "41.1.2",
4
4
  "description": "Core API implementation of the GitLab API",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -52,7 +52,7 @@
52
52
  "lint:fix": "yarn lint --fix"
53
53
  },
54
54
  "dependencies": {
55
- "@gitbeaker/requester-utils": "^41.1.0",
55
+ "@gitbeaker/requester-utils": "^41.1.2",
56
56
  "qs": "^6.12.2",
57
57
  "xcase": "^2.0.1"
58
58
  },
@@ -63,5 +63,5 @@
63
63
  "tsx": "^4.16.2",
64
64
  "typescript": "^5.5.3"
65
65
  },
66
- "gitHead": "77a20d94db8c03c70b372f8bffdb1594c18aa514"
66
+ "gitHead": "df19a83285730517df03d34bb0471f15b4a4309d"
67
67
  }