@gitbeaker/core 39.15.0 → 39.17.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
@@ -228,6 +228,8 @@ import { Gitlab } from '@gitbeaker/core';
228
228
  <td align="center" valign="top" width="3.84%"><a href="https://github.com/ArnaudTA"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/33383276?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="ArnaudTA"/></td>
229
229
  <td align="center" valign="top" width="3.84%"><a href="https://github.com/kouak"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/48335?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Benjamin Beret"/></td>
230
230
  <td align="center" valign="top" width="3.84%"><a href="https://github.com/demedos"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/16702156?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Alessandro Diez"/></td>
231
+ <td align="center" valign="top" width="3.84%"><a href="https://github.com/artlist-scottambrose"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/124692101?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="artlist-scottambrose"/></td>
232
+ <td align="center" valign="top" width="3.84%"><a href="https://github.com/mercutiodesign"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1114120?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Martin Dreher"/></td>
231
233
  </tr>
232
234
  </p>
233
235
 
package/dist/index.d.mts CHANGED
@@ -6524,7 +6524,7 @@ declare class RepositoryFiles<C extends boolean = false> extends BaseResource<C>
6524
6524
  show<E extends boolean = false>(projectId: string | number, filePath: string, ref: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RepositoryFileExpandedSchema, C, E, void>>;
6525
6525
  showRaw<E extends boolean = false>(projectId: string | number, filePath: string, ref: string, options?: {
6526
6526
  lfs?: boolean;
6527
- } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<string, C, E, void>>;
6527
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<string | Blob, C, E, void>>;
6528
6528
  }
6529
6529
 
6530
6530
  interface RepositorySubmoduleSchema extends CommitSchema {
package/dist/index.d.ts CHANGED
@@ -6524,7 +6524,7 @@ declare class RepositoryFiles<C extends boolean = false> extends BaseResource<C>
6524
6524
  show<E extends boolean = false>(projectId: string | number, filePath: string, ref: string, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<RepositoryFileExpandedSchema, C, E, void>>;
6525
6525
  showRaw<E extends boolean = false>(projectId: string | number, filePath: string, ref: string, options?: {
6526
6526
  lfs?: boolean;
6527
- } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<string, C, E, void>>;
6527
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<string | Blob, C, E, void>>;
6528
6528
  }
6529
6529
 
6530
6530
  interface RepositorySubmoduleSchema extends CommitSchema {
package/dist/index.js CHANGED
@@ -4113,7 +4113,7 @@ var MergeTrains = class extends requesterUtils.BaseResource {
4113
4113
  );
4114
4114
  }
4115
4115
  addMergeRequest(projectId, mergeRequestIId, options) {
4116
- return RequestHelper.get()(
4116
+ return RequestHelper.post()(
4117
4117
  this,
4118
4118
  endpoint`projects/${projectId}/merge_trains/merge_requests/${mergeRequestIId}`,
4119
4119
  options
package/dist/index.mjs CHANGED
@@ -4107,7 +4107,7 @@ var MergeTrains = class extends BaseResource {
4107
4107
  );
4108
4108
  }
4109
4109
  addMergeRequest(projectId, mergeRequestIId, options) {
4110
- return RequestHelper.get()(
4110
+ return RequestHelper.post()(
4111
4111
  this,
4112
4112
  endpoint`projects/${projectId}/merge_trains/merge_requests/${mergeRequestIId}`,
4113
4113
  options
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "39.15.0",
3
+ "version": "39.17.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.15.0",
58
+ "@gitbeaker/requester-utils": "^39.17.0",
59
59
  "qs": "^6.11.2",
60
60
  "xcase": "^2.0.1"
61
61
  },
@@ -66,5 +66,5 @@
66
66
  "tsx": "^3.12.7",
67
67
  "typescript": "^5.1.6"
68
68
  },
69
- "gitHead": "ee1436e9634381d03a2c3ad9ca03de3901e65231"
69
+ "gitHead": "604085015c962cdcbe542b96d717d64d2051ca3c"
70
70
  }