@gitbeaker/core 39.18.0 → 39.20.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.js CHANGED
@@ -359,6 +359,7 @@ var ApplicationPlanLimits = class extends requesterUtils.BaseResource {
359
359
  ...opts
360
360
  } = options;
361
361
  return RequestHelper.put()(this, "application/plan_limits", {
362
+ ...opts,
362
363
  searchParams: {
363
364
  planName,
364
365
  ciPipelineSize,
@@ -378,8 +379,7 @@ var ApplicationPlanLimits = class extends requesterUtils.BaseResource {
378
379
  pypiMaxFileSize,
379
380
  terraformModuleMaxFileSize,
380
381
  storageSizeLimit
381
- },
382
- opts
382
+ }
383
383
  });
384
384
  }
385
385
  };
@@ -3334,7 +3334,7 @@ var IssueLinks = class extends requesterUtils.BaseResource {
3334
3334
  );
3335
3335
  }
3336
3336
  create(projectId, issueIId, targetProjectId, targetIssueIId, options) {
3337
- return RequestHelper.get()(
3337
+ return RequestHelper.post()(
3338
3338
  this,
3339
3339
  endpoint`projects/${projectId}/issues/${issueIId}/links`,
3340
3340
  {
package/dist/index.mjs CHANGED
@@ -353,6 +353,7 @@ var ApplicationPlanLimits = class extends BaseResource {
353
353
  ...opts
354
354
  } = options;
355
355
  return RequestHelper.put()(this, "application/plan_limits", {
356
+ ...opts,
356
357
  searchParams: {
357
358
  planName,
358
359
  ciPipelineSize,
@@ -372,8 +373,7 @@ var ApplicationPlanLimits = class extends BaseResource {
372
373
  pypiMaxFileSize,
373
374
  terraformModuleMaxFileSize,
374
375
  storageSizeLimit
375
- },
376
- opts
376
+ }
377
377
  });
378
378
  }
379
379
  };
@@ -3328,7 +3328,7 @@ var IssueLinks = class extends BaseResource {
3328
3328
  );
3329
3329
  }
3330
3330
  create(projectId, issueIId, targetProjectId, targetIssueIId, options) {
3331
- return RequestHelper.get()(
3331
+ return RequestHelper.post()(
3332
3332
  this,
3333
3333
  endpoint`projects/${projectId}/issues/${issueIId}/links`,
3334
3334
  {