@gitbeaker/core 39.2.0 → 39.4.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
@@ -225,6 +225,7 @@ import { Gitlab } from '@gitbeaker/core';
225
225
  <td align="center" valign="top" width="3.84%"><a href="https://simonecorsi.dev/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/5617452?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Simone Corsi"/></td>
226
226
  <td align="center" valign="top" width="3.84%"><a href="https://github.com/Bambii556"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/34485027?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Bambii"/></td>
227
227
  <td align="center" valign="top" width="3.84%"><a href="https://github.com/ravewill"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/128541928?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Will"/></td>
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>
228
229
  </tr>
229
230
  </p>
230
231
 
package/dist/index.d.mts CHANGED
@@ -302,11 +302,13 @@ interface UserRunnerSchema extends Record<string, unknown> {
302
302
  }
303
303
  type AllUsersOptions = {
304
304
  orderBy?: 'name' | 'username' | 'created_at' | 'updated_at';
305
+ createdBy?: string;
305
306
  sort?: 'asc' | 'desc';
306
307
  twoFactor?: string;
307
308
  withoutProjects?: boolean;
308
309
  admins?: boolean;
309
310
  samlProviderId?: number;
311
+ skipLdap?: boolean;
310
312
  search?: string;
311
313
  username?: string;
312
314
  active?: boolean;
@@ -315,7 +317,14 @@ type AllUsersOptions = {
315
317
  excludeInternal?: boolean;
316
318
  excludeExternal?: boolean;
317
319
  withoutProjectBots?: boolean;
318
- };
320
+ createdBefore?: string;
321
+ createdAfter?: string;
322
+ withCustomAttributes?: boolean;
323
+ customAttributes?: Record<string, string>;
324
+ } & AllOrNone<{
325
+ provider: string;
326
+ externUid: string;
327
+ }>;
319
328
  type CreateUserOptions = {
320
329
  admin?: boolean;
321
330
  auditor?: boolean;
@@ -5603,7 +5612,7 @@ declare class PipelineTriggerTokens<C extends boolean = false> extends BaseResou
5603
5612
  edit<E extends boolean = false>(projectId: string | number, triggerId: number, options?: {
5604
5613
  description?: string;
5605
5614
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTriggerTokenSchema, C, E, void>>;
5606
- remove<E extends boolean = false>(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
5615
+ remove<E extends boolean = false>(projectId: string | number, triggerId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
5607
5616
  show<E extends boolean = false>(projectId: string | number, triggerId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTriggerTokenSchema, C, E, void>>;
5608
5617
  trigger<E extends boolean = false>(projectId: string | number, ref: string, token: string, options?: {
5609
5618
  variables?: Record<string, string>;
package/dist/index.d.ts CHANGED
@@ -302,11 +302,13 @@ interface UserRunnerSchema extends Record<string, unknown> {
302
302
  }
303
303
  type AllUsersOptions = {
304
304
  orderBy?: 'name' | 'username' | 'created_at' | 'updated_at';
305
+ createdBy?: string;
305
306
  sort?: 'asc' | 'desc';
306
307
  twoFactor?: string;
307
308
  withoutProjects?: boolean;
308
309
  admins?: boolean;
309
310
  samlProviderId?: number;
311
+ skipLdap?: boolean;
310
312
  search?: string;
311
313
  username?: string;
312
314
  active?: boolean;
@@ -315,7 +317,14 @@ type AllUsersOptions = {
315
317
  excludeInternal?: boolean;
316
318
  excludeExternal?: boolean;
317
319
  withoutProjectBots?: boolean;
318
- };
320
+ createdBefore?: string;
321
+ createdAfter?: string;
322
+ withCustomAttributes?: boolean;
323
+ customAttributes?: Record<string, string>;
324
+ } & AllOrNone<{
325
+ provider: string;
326
+ externUid: string;
327
+ }>;
319
328
  type CreateUserOptions = {
320
329
  admin?: boolean;
321
330
  auditor?: boolean;
@@ -5603,7 +5612,7 @@ declare class PipelineTriggerTokens<C extends boolean = false> extends BaseResou
5603
5612
  edit<E extends boolean = false>(projectId: string | number, triggerId: number, options?: {
5604
5613
  description?: string;
5605
5614
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTriggerTokenSchema, C, E, void>>;
5606
- remove<E extends boolean = false>(projectId: string | number, pipelineId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
5615
+ remove<E extends boolean = false>(projectId: string | number, triggerId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
5607
5616
  show<E extends boolean = false>(projectId: string | number, triggerId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PipelineTriggerTokenSchema, C, E, void>>;
5608
5617
  trigger<E extends boolean = false>(projectId: string | number, ref: string, token: string, options?: {
5609
5618
  variables?: Record<string, string>;
package/dist/index.js CHANGED
@@ -4430,10 +4430,10 @@ var PipelineTriggerTokens = class extends requesterUtils.BaseResource {
4430
4430
  options
4431
4431
  );
4432
4432
  }
4433
- remove(projectId, pipelineId, options) {
4433
+ remove(projectId, triggerId, options) {
4434
4434
  return RequestHelper.del()(
4435
4435
  this,
4436
- endpoint`projects/${projectId}/pipelines/${pipelineId}`,
4436
+ endpoint`projects/${projectId}/triggers/${triggerId}`,
4437
4437
  options
4438
4438
  );
4439
4439
  }
@@ -4454,7 +4454,7 @@ var PipelineTriggerTokens = class extends requesterUtils.BaseResource {
4454
4454
  token,
4455
4455
  ref
4456
4456
  },
4457
- options
4457
+ ...options
4458
4458
  }
4459
4459
  );
4460
4460
  }
package/dist/index.mjs CHANGED
@@ -4424,10 +4424,10 @@ var PipelineTriggerTokens = class extends BaseResource {
4424
4424
  options
4425
4425
  );
4426
4426
  }
4427
- remove(projectId, pipelineId, options) {
4427
+ remove(projectId, triggerId, options) {
4428
4428
  return RequestHelper.del()(
4429
4429
  this,
4430
- endpoint`projects/${projectId}/pipelines/${pipelineId}`,
4430
+ endpoint`projects/${projectId}/triggers/${triggerId}`,
4431
4431
  options
4432
4432
  );
4433
4433
  }
@@ -4448,7 +4448,7 @@ var PipelineTriggerTokens = class extends BaseResource {
4448
4448
  token,
4449
4449
  ref
4450
4450
  },
4451
- options
4451
+ ...options
4452
4452
  }
4453
4453
  );
4454
4454
  }
package/dist/map.json CHANGED
@@ -17034,7 +17034,7 @@
17034
17034
  "name": "remove",
17035
17035
  "args": [
17036
17036
  "projectId",
17037
- "pipelineId"
17037
+ "triggerId"
17038
17038
  ]
17039
17039
  },
17040
17040
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitbeaker/core",
3
- "version": "39.2.0",
3
+ "version": "39.4.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.2.0",
58
+ "@gitbeaker/requester-utils": "^39.4.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.3"
68
68
  },
69
- "gitHead": "d7a872816145eacdac3773821b4640e60bb38db7"
69
+ "gitHead": "2bd7b158fd3fb787abfcd1e64a6b1293beb1c6f6"
70
70
  }