@gitbeaker/core 41.1.1 → 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
@@ -2014,10 +2014,13 @@ declare class DeployTokens<C extends boolean = false> extends BaseResource<C> {
2014
2014
  }> & {
2015
2015
  active?: boolean;
2016
2016
  } & PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<DeployTokenSchema[], C, E, P>>;
2017
- 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<{
2018
2018
  projectId: string | number;
2019
2019
  groupId: string | number;
2020
- }> & 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>>;
2021
2024
  remove<E extends boolean = false>(tokenId: number, { projectId, groupId, ...options }?: OneOf<{
2022
2025
  projectId: string | number;
2023
2026
  groupId: string | number;
package/dist/index.d.ts CHANGED
@@ -2014,10 +2014,13 @@ declare class DeployTokens<C extends boolean = false> extends BaseResource<C> {
2014
2014
  }> & {
2015
2015
  active?: boolean;
2016
2016
  } & PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<DeployTokenSchema[], C, E, P>>;
2017
- 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<{
2018
2018
  projectId: string | number;
2019
2019
  groupId: string | number;
2020
- }> & 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>>;
2021
2024
  remove<E extends boolean = false>(tokenId: number, { projectId, groupId, ...options }?: OneOf<{
2022
2025
  projectId: string | number;
2023
2026
  groupId: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "41.1.1",
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.1",
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": "d657d0c58d4c39d0fec5a18a3a4a26e865b64041"
66
+ "gitHead": "df19a83285730517df03d34bb0471f15b4a4309d"
67
67
  }