@gitbeaker/core 40.2.3 → 40.3.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 CHANGED
@@ -1916,6 +1916,7 @@ import { Gitlab } from '@gitbeaker/core';
1916
1916
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/crazfb"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/157008803?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Carmi Raz"/></td>
1917
1917
  <td align="center" valign="top" width="0.33%"><a href="https://github.com/unilynx"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/2772353?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Arnold Hendriks"/></td>
1918
1918
  <td align="center" valign="top" width="0.33%"><a href="https://baylee.dev/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/119542904?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Baylee Schmeisser"/></td>
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>
1919
1920
  </tr>
1920
1921
  </p>
1921
1922
 
package/dist/index.d.mts CHANGED
@@ -4953,7 +4953,7 @@ declare class ContainerRegistry<C extends boolean = false> extends BaseResource<
4953
4953
  showTag<E extends boolean = false>(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RegistryRepositoryTagSchema, C, E, void>>;
4954
4954
  }
4955
4955
 
4956
- type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual';
4956
+ type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual' | 'waiting_for_resource';
4957
4957
  interface ArtifactSchema extends Record<string, unknown> {
4958
4958
  file_type: string;
4959
4959
  size: number;
@@ -7085,7 +7085,7 @@ declare class ResourceGroups<C extends boolean = false> extends BaseResource<C>
7085
7085
  processMode?: string;
7086
7086
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIExpandedResponse<CamelizedResponse<ResourceGroupSchema, C>, E, undefined>>;
7087
7087
  show<E extends boolean = false>(projectId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ResourceGroupSchema, C, E, void>>;
7088
- allUpcomingJobs<E extends boolean = false>(projectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<JobSchema[], C, E, void>>;
7088
+ allUpcomingJobs<E extends boolean = false>(projectId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<JobSchema[], C, E, void>>;
7089
7089
  }
7090
7090
 
7091
7091
  interface SecureFileSchema extends Record<string, unknown> {
package/dist/index.d.ts CHANGED
@@ -4953,7 +4953,7 @@ declare class ContainerRegistry<C extends boolean = false> extends BaseResource<
4953
4953
  showTag<E extends boolean = false>(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RegistryRepositoryTagSchema, C, E, void>>;
4954
4954
  }
4955
4955
 
4956
- type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual';
4956
+ type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual' | 'waiting_for_resource';
4957
4957
  interface ArtifactSchema extends Record<string, unknown> {
4958
4958
  file_type: string;
4959
4959
  size: number;
@@ -7085,7 +7085,7 @@ declare class ResourceGroups<C extends boolean = false> extends BaseResource<C>
7085
7085
  processMode?: string;
7086
7086
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIExpandedResponse<CamelizedResponse<ResourceGroupSchema, C>, E, undefined>>;
7087
7087
  show<E extends boolean = false>(projectId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ResourceGroupSchema, C, E, void>>;
7088
- allUpcomingJobs<E extends boolean = false>(projectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<JobSchema[], C, E, void>>;
7088
+ allUpcomingJobs<E extends boolean = false>(projectId: string | number, key: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<JobSchema[], C, E, void>>;
7089
7089
  }
7090
7090
 
7091
7091
  interface SecureFileSchema extends Record<string, unknown> {
package/dist/index.js CHANGED
@@ -5558,10 +5558,10 @@ var ResourceGroups = class extends requesterUtils.BaseResource {
5558
5558
  options
5559
5559
  );
5560
5560
  }
5561
- allUpcomingJobs(projectId, options) {
5561
+ allUpcomingJobs(projectId, key, options) {
5562
5562
  return RequestHelper.get()(
5563
5563
  this,
5564
- endpoint`projects/${projectId}/resource_groups/upcoming_jobs`,
5564
+ endpoint`projects/${projectId}/resource_groups/${key}/upcoming_jobs`,
5565
5565
  options
5566
5566
  );
5567
5567
  }
package/dist/index.mjs CHANGED
@@ -5552,10 +5552,10 @@ var ResourceGroups = class extends BaseResource {
5552
5552
  options
5553
5553
  );
5554
5554
  }
5555
- allUpcomingJobs(projectId, options) {
5555
+ allUpcomingJobs(projectId, key, options) {
5556
5556
  return RequestHelper.get()(
5557
5557
  this,
5558
- endpoint`projects/${projectId}/resource_groups/upcoming_jobs`,
5558
+ endpoint`projects/${projectId}/resource_groups/${key}/upcoming_jobs`,
5559
5559
  options
5560
5560
  );
5561
5561
  }
package/dist/map.json CHANGED
@@ -5024,7 +5024,8 @@
5024
5024
  {
5025
5025
  "name": "allUpcomingJobs",
5026
5026
  "args": [
5027
- "projectId"
5027
+ "projectId",
5028
+ "key"
5028
5029
  ]
5029
5030
  }
5030
5031
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "40.2.3",
3
+ "version": "40.3.0",
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": "^40.2.3",
55
+ "@gitbeaker/requester-utils": "^40.3.0",
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": "141e50f218ded7d42f147c4974578547a7bb33f5"
66
+ "gitHead": "bf00c3c2fb144beecfdb6eeaf5cf538467e58edb"
67
67
  }