@gitbeaker/core 40.1.3 → 40.2.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
@@ -1,12 +1,12 @@
1
1
  <div align="center">
2
2
  <br>
3
3
  <br>
4
- <img alt="gitbeaker" src="https://raw.githubusercontent.com/jdalrymple/gitbeaker/main/.github/ASSETS/header.svg">
4
+ <img alt="gitbeaker" src="../../.github/ASSETS/header.svg">
5
5
  <br>
6
6
  <br>
7
7
  <br>
8
8
  </div>
9
-
9
+ <hr>
10
10
  <div align="center">
11
11
  <p>
12
12
  <sup>
@@ -19,9 +19,14 @@
19
19
  <br>
20
20
 
21
21
  <a href="https://wearecws.com/">
22
- <img src="https://wearecws.com/images/brand/cws-logo.svg" width="210">
22
+ <img src="../../.github/ASSETS/cws.svg" width="180">
23
23
  </a>
24
-
24
+ <br>
25
+ <br>
26
+ <a href="http://coderabbit.ai">
27
+ <img src="../../.github/ASSETS/coderabbit.png" width="180">
28
+ </a>
29
+ <br>
25
30
  <br>
26
31
  <hr>
27
32
  </div>
@@ -1909,6 +1914,7 @@ import { Gitlab } from '@gitbeaker/core';
1909
1914
  <td align="center" valign="top" width="0.33%"><a href="http://www.koenbrouwer.com/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/3260168?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Koen Brouwer"/></td>
1910
1915
  <td align="center" valign="top" width="0.33%"><a href="https://scrumplex.net/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/11587657?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Sefa Eyeoglu"/></td>
1911
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
+ <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>
1912
1918
  </tr>
1913
1919
  </p>
1914
1920
 
package/dist/index.d.mts CHANGED
@@ -122,6 +122,7 @@ declare class ProjectRemoteMirrors<C extends boolean = false> extends BaseResour
122
122
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectRemoteMirrorSchema, C, E, void>>;
123
123
  remove<E extends boolean = false>(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
124
124
  show<E extends boolean = false>(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectRemoteMirrorSchema, C, E, void>>;
125
+ sync<E extends boolean = false>(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
125
126
  }
126
127
 
127
128
  type AllEventOptions = {
package/dist/index.d.ts CHANGED
@@ -122,6 +122,7 @@ declare class ProjectRemoteMirrors<C extends boolean = false> extends BaseResour
122
122
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectRemoteMirrorSchema, C, E, void>>;
123
123
  remove<E extends boolean = false>(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
124
124
  show<E extends boolean = false>(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectRemoteMirrorSchema, C, E, void>>;
125
+ sync<E extends boolean = false>(projectId: string | number, mirrorId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
125
126
  }
126
127
 
127
128
  type AllEventOptions = {
package/dist/index.js CHANGED
@@ -4866,6 +4866,13 @@ var ProjectRemoteMirrors = class extends requesterUtils.BaseResource {
4866
4866
  options
4867
4867
  );
4868
4868
  }
4869
+ sync(projectId, mirrorId, options) {
4870
+ return RequestHelper.post()(
4871
+ this,
4872
+ endpoint`projects/${projectId}/remote_mirrors/${mirrorId}/sync`,
4873
+ options
4874
+ );
4875
+ }
4869
4876
  };
4870
4877
 
4871
4878
  // src/resources/ProjectRepositoryStorageMoves.ts
package/dist/index.mjs CHANGED
@@ -4860,6 +4860,13 @@ var ProjectRemoteMirrors = class extends BaseResource {
4860
4860
  options
4861
4861
  );
4862
4862
  }
4863
+ sync(projectId, mirrorId, options) {
4864
+ return RequestHelper.post()(
4865
+ this,
4866
+ endpoint`projects/${projectId}/remote_mirrors/${mirrorId}/sync`,
4867
+ options
4868
+ );
4869
+ }
4863
4870
  };
4864
4871
 
4865
4872
  // src/resources/ProjectRepositoryStorageMoves.ts
package/dist/map.json CHANGED
@@ -4248,6 +4248,13 @@
4248
4248
  "projectId",
4249
4249
  "mirrorId"
4250
4250
  ]
4251
+ },
4252
+ {
4253
+ "name": "sync",
4254
+ "args": [
4255
+ "projectId",
4256
+ "mirrorId"
4257
+ ]
4251
4258
  }
4252
4259
  ],
4253
4260
  "ProjectRepositoryStorageMoves": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "40.1.3",
3
+ "version": "40.2.0",
4
4
  "description": "Core API implementation of the GitLab API",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -8,7 +8,8 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/jdalrymple/gitbeaker"
11
+ "url": "https://github.com/jdalrymple/gitbeaker",
12
+ "directory": "packages/core"
12
13
  },
13
14
  "bugs": {
14
15
  "url": "https://github.com/jdalrymple/gitbeaker/issues"
@@ -51,7 +52,7 @@
51
52
  "lint:fix": "yarn lint --fix"
52
53
  },
53
54
  "dependencies": {
54
- "@gitbeaker/requester-utils": "^40.1.3",
55
+ "@gitbeaker/requester-utils": "^40.2.0",
55
56
  "qs": "^6.12.2",
56
57
  "xcase": "^2.0.1"
57
58
  },
@@ -62,5 +63,5 @@
62
63
  "tsx": "^4.16.2",
63
64
  "typescript": "^5.5.3"
64
65
  },
65
- "gitHead": "a7ffd3a6b2a10dc0cb947b4824a51227ce1fae83"
66
+ "gitHead": "42624250bdc0160a9f7376dfc083d61cab17fcab"
66
67
  }