@gitbeaker/core 40.0.3 → 40.1.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.d.mts CHANGED
@@ -39,6 +39,9 @@ interface AsStream {
39
39
  interface ShowExpanded<E extends boolean = false> {
40
40
  showExpanded?: E;
41
41
  }
42
+ interface AsAdmin<A extends boolean = false> {
43
+ asAdmin?: A;
44
+ }
42
45
  type BaseRequestOptions<E extends boolean = false> = Sudo & ShowExpanded<E> & {
43
46
  [Key in string]?: any;
44
47
  };
@@ -139,7 +142,7 @@ interface EventSchema extends Record<string, unknown> {
139
142
  author_id: number;
140
143
  target_title: string;
141
144
  created_at: string;
142
- author: MappedOmit<UserSchema, 'created_at'>;
145
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
143
146
  author_username: string;
144
147
  }
145
148
  declare class Events<C extends boolean = false> extends BaseResource<C> {
@@ -211,33 +214,38 @@ declare enum AccessLevel {
211
214
  ADMIN = 60
212
215
  }
213
216
 
214
- interface UserSchema extends Record<string, unknown> {
217
+ interface SimpleUserSchema extends Record<string, unknown> {
215
218
  id: number;
216
219
  name: string;
217
220
  username: string;
218
221
  state: string;
219
222
  avatar_url: string;
220
223
  web_url: string;
221
- created_at?: string;
224
+ created_at: string;
225
+ }
226
+ interface UserSchema extends SimpleUserSchema {
227
+ locked: boolean | null;
228
+ bio: string | null;
229
+ bot: boolean | null;
230
+ location: string | null;
231
+ public_email: string | null;
232
+ skype: string | null;
233
+ linkedin: string | null;
234
+ twitter: string | null;
235
+ discord: string | null;
236
+ website_url: string | null;
237
+ pronouns: string | null;
238
+ organization: string | null;
239
+ job_title: string | null;
240
+ work_information: string | null;
241
+ followers: number | null;
242
+ following: number | null;
243
+ local_time: string | null;
244
+ is_followed: boolean | null;
222
245
  }
223
246
  interface ExpandedUserSchema extends UserSchema {
224
- is_admin?: boolean;
225
- bio?: string;
247
+ is_admin: boolean | null;
226
248
  bot: boolean;
227
- location?: string;
228
- public_email: string;
229
- skype: string;
230
- linkedin: string;
231
- twitter: string;
232
- website_url: string;
233
- organization?: string;
234
- job_title?: string;
235
- prnouns?: string;
236
- work_information?: string;
237
- followers?: number;
238
- following?: number;
239
- local_time?: string;
240
- is_followed?: boolean;
241
249
  last_sign_in_at: string;
242
250
  confirmed_at: string;
243
251
  last_activity_on: string;
@@ -245,27 +253,32 @@ interface ExpandedUserSchema extends UserSchema {
245
253
  theme_id: number;
246
254
  color_scheme_id: number;
247
255
  projects_limit: number;
248
- current_sign_in_at?: string;
249
- note?: string;
250
- identities?: {
256
+ current_sign_in_at: string | null;
257
+ note: string | null;
258
+ identities: {
251
259
  provider: string;
252
260
  extern_uid: string;
253
- saml_provider_id?: number;
254
- }[];
261
+ saml_provider_id: number;
262
+ }[] | null;
255
263
  can_create_group: boolean;
256
264
  can_create_project: boolean;
257
265
  two_factor_enabled: boolean;
258
266
  external: boolean;
259
- private_profile?: string;
267
+ private_profile: string | null;
268
+ namespace_id: number | null;
269
+ created_by: string | null;
270
+ }
271
+ interface AdminUserSchema extends ExpandedUserSchema {
260
272
  current_sign_in_ip: string;
261
273
  last_sign_in_ip: string;
262
- namespace_id?: number;
263
- created_by?: string;
264
- shared_runners_minutes_limit?: number;
265
- extra_shared_runners_minutes_limit?: number;
266
- is_auditor?: boolean;
267
- using_license_seat?: boolean;
268
- provisioned_by_group_id?: number;
274
+ using_license_seat: boolean | null;
275
+ email_reset_offered_at: string | null;
276
+ shared_runners_minutes_limit?: number | null;
277
+ extra_shared_runners_minutes_limit?: number | null;
278
+ is_auditor?: boolean | null;
279
+ provisioned_by_group_id?: number | null;
280
+ plan?: string;
281
+ trial?: boolean;
269
282
  }
270
283
  interface UserActivitySchema extends Record<string, unknown> {
271
284
  username: string;
@@ -307,7 +320,7 @@ interface UserMembershipSchema extends Record<string, unknown> {
307
320
  interface UserRunnerSchema extends Record<string, unknown> {
308
321
  id: number;
309
322
  token: string;
310
- token_expires_at?: string;
323
+ token_expires_at: string | null;
311
324
  }
312
325
  type AllUsersOptions = {
313
326
  orderBy?: 'name' | 'username' | 'created_at' | 'updated_at';
@@ -344,6 +357,7 @@ type CreateUserOptions = {
344
357
  bio?: string;
345
358
  canCreateGroup?: boolean;
346
359
  colorSchemeId?: number;
360
+ commitEmail?: string;
347
361
  email?: string;
348
362
  externUid?: string;
349
363
  external?: boolean;
@@ -358,7 +372,9 @@ type CreateUserOptions = {
358
372
  password?: string;
359
373
  privateProfile?: string;
360
374
  projectsLimit?: number;
375
+ pronouns?: string;
361
376
  provider?: string;
377
+ publicEmail?: string;
362
378
  resetPassword?: boolean;
363
379
  sharedRunnersMinutesLimit?: number;
364
380
  skipConfirmation?: boolean;
@@ -406,18 +422,18 @@ type AllUserProjectsOptions = {
406
422
  };
407
423
  declare class Users<C extends boolean = false> extends BaseResource<C> {
408
424
  activate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
409
- all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E> & {
425
+ all<A extends boolean = false, E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: {
410
426
  withCustomAttributes: true;
411
- }): Promise<GitlabAPIResponse<((UserSchema | ExpandedUserSchema) & {
427
+ } & AsAdmin<A> & AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<((A extends false ? SimpleUserSchema : AdminUserSchema) & {
412
428
  custom_attributes: CustomAttributeSchema[];
413
429
  })[], C, E, P>>;
414
- all<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(UserSchema | ExpandedUserSchema)[], C, E, P>>;
430
+ all<A extends boolean = false, E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: AllUsersOptions & AsAdmin<A> & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<(A extends false ? SimpleUserSchema : AdminUserSchema)[], C, E, P>>;
415
431
  allActivities<E extends boolean = false, P extends PaginationTypes = 'offset'>(options?: {
416
432
  from?: string;
417
433
  } & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserActivitySchema[], C, E, P>>;
418
434
  allEvents<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: AllEventOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIExpandedResponse<CamelizedResponse<EventSchema, C>[], E, void>>;
419
- allFollowers<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema[], C, E, P>>;
420
- allFollowing<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema[], C, E, P>>;
435
+ allFollowers<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleUserSchema[], C, E, P>>;
436
+ allFollowing<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleUserSchema[], C, E, P>>;
421
437
  allMemberships<E extends boolean = false, P extends PaginationTypes = 'offset'>(userId: number, options?: {
422
438
  type?: 'Project' | 'Namespace';
423
439
  } & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserMembershipSchema[], C, E, P>>;
@@ -453,28 +469,28 @@ declare class Users<C extends boolean = false> extends BaseResource<C> {
453
469
  }, C, E, void>>;
454
470
  ban<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
455
471
  block<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
456
- create<E extends boolean = false>(options?: CreateUserOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema | ExpandedUserSchema, C, E, void>>;
472
+ create<E extends boolean = false>(options?: CreateUserOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedUserSchema, C, E, void>>;
457
473
  createPersonalAccessToken<E extends boolean = false>(userId: number, name: string, scopes: string[], options?: {
458
474
  expiresAt?: string;
459
475
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<PersonalAccessTokenSchema, C, E, void>>;
460
476
  createCIRunner<E extends boolean = false>(runnerType: 'instance_type' | 'group_type' | 'project_type', options?: CreateUserCIRunnerOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserRunnerSchema, C, E, void>>;
461
477
  deactivate<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
462
478
  disableTwoFactor<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
463
- edit<E extends boolean = false>(userId: number, options?: EditUserOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIExpandedResponse<CamelizedResponse<UserSchema, C>, E, undefined>>;
479
+ edit<E extends boolean = false>(userId: number, options?: EditUserOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIExpandedResponse<CamelizedResponse<ExpandedUserSchema, C>, E, undefined>>;
464
480
  editStatus<E extends boolean = false>(options?: {
465
481
  emoji?: string;
466
482
  message?: string;
467
483
  clearStatusAfter?: '30_minutes' | '3_hours' | '8_hours' | '1_day' | '3_days' | '7_days' | '30_days';
468
484
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserStatusSchema, C, E, void>>;
469
485
  editCurrentUserPreferences<E extends boolean = false>(viewDiffsFileByFile: boolean, showWhitespaceInDiffs: boolean, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserPreferenceSchema, C, E, void>>;
470
- follow<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema, C, E, void>>;
486
+ follow<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleUserSchema, C, E, void>>;
471
487
  reject<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<{
472
488
  message: string;
473
489
  }, C, E, void>>;
474
- show<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema | ExpandedUserSchema, C, E, void>>;
490
+ show<A extends boolean = false, E extends boolean = false>(userId: number, options?: AsAdmin<A> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<A extends false ? UserSchema : AdminUserSchema, C, E, void>>;
475
491
  showCount<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserCountSchema, C, E, void>>;
476
492
  showAssociationsCount<E extends boolean = false>(userId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserAssociationCountSchema, C, E, void>>;
477
- showCurrentUser<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedUserSchema, C, E, void>>;
493
+ showCurrentUser<A extends boolean = false, E extends boolean = false>(options?: AsAdmin<A> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<A extends false ? ExpandedUserSchema : AdminUserSchema, C, E, void>>;
478
494
  showCurrentUserPreferences<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserPreferenceSchema, C, E, void>>;
479
495
  showStatus<E extends boolean = false>({ iDOrUsername, ...options }?: {
480
496
  iDOrUsername?: string | number;
@@ -540,7 +556,7 @@ interface SimpleGroupSchema extends CondensedGroupSchema {
540
556
  interface GroupSchema extends SimpleGroupSchema {
541
557
  path: string;
542
558
  description: string;
543
- visibility: string;
559
+ visibility: 'public' | 'internal' | 'private';
544
560
  share_with_group_lock: boolean;
545
561
  require_two_factor_authentication: boolean;
546
562
  two_factor_grace_period: number;
@@ -562,7 +578,12 @@ interface GroupSchema extends SimpleGroupSchema {
562
578
  interface ExpandedGroupSchema extends GroupSchema {
563
579
  runners_token: string;
564
580
  file_template_project_id: number;
565
- shared_with_groups?: ProjectSchema[];
581
+ shared_with_groups: {
582
+ group_id: number;
583
+ group_name: string;
584
+ group_full_path: string;
585
+ group_access_level: number;
586
+ }[] | null;
566
587
  projects?: ProjectSchema[];
567
588
  shared_projects?: ProjectSchema[];
568
589
  }
@@ -572,6 +593,7 @@ type AllGroupsOptions = {
572
593
  search?: string;
573
594
  orderBy?: 'name' | 'path' | 'id';
574
595
  sort?: 'asc' | 'desc';
596
+ visibility?: 'public' | 'internal' | 'private';
575
597
  statistics?: boolean;
576
598
  withCustomAttributes?: boolean;
577
599
  owned?: boolean;
@@ -579,7 +601,7 @@ type AllGroupsOptions = {
579
601
  topLevelOnly?: boolean;
580
602
  };
581
603
  type AllGroupProjectsOptions = {
582
- visibility?: string;
604
+ visibility?: 'public' | 'internal' | 'private';
583
605
  orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'similarity' | 'last_activity_at';
584
606
  sort?: 'asc' | 'desc';
585
607
  archived?: boolean;
@@ -613,7 +635,7 @@ type CreateGroupOptions = {
613
635
  shareWithGroupLock?: boolean;
614
636
  subgroupCreationLevel?: string;
615
637
  twoFactorGracePeriod?: number;
616
- visibility?: 'private' | 'public';
638
+ visibility?: 'public' | 'internal' | 'private';
617
639
  membershipLock?: boolean;
618
640
  extraSharedRunnersMinutesLimit?: number;
619
641
  sharedRunnersMinutesLimit?: number;
@@ -639,7 +661,7 @@ type EditGroupOptions = {
639
661
  shareWithGroupLock?: boolean;
640
662
  subgroupCreationLevel?: string;
641
663
  twoFactorGracePeriod?: number;
642
- visibility?: 'private' | 'public';
664
+ visibility?: 'public' | 'internal' | 'private';
643
665
  extraSharedRunnersMinutesLimit?: number;
644
666
  fileTemplateProjectId?: number;
645
667
  membershipLock?: boolean;
@@ -692,7 +714,7 @@ declare class Groups<C extends boolean = false> extends BaseResource<C> {
692
714
  statistics: GroupStatisticsSchema;
693
715
  })[], C, E, P>>;
694
716
  allSubgroups<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllGroupsOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupSchema[], C, E, P>>;
695
- allProvisionedUsers<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllProvisionedUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<UserSchema[], C, E, P>>;
717
+ allProvisionedUsers<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: AllProvisionedUsersOptions & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleUserSchema[], C, E, P>>;
696
718
  allTransferLocations<E extends boolean = false, P extends PaginationTypes = 'offset'>(groupId: string | number, options?: {
697
719
  search?: string;
698
720
  } & PaginationRequestOptions<P> & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleGroupSchema[], C, E, P>>;
@@ -725,7 +747,7 @@ declare class Groups<C extends boolean = false> extends BaseResource<C> {
725
747
  type AccessLevelSettingState = 'disabled' | 'enabled' | 'private';
726
748
  interface ProjectStarrerSchema extends Record<string, unknown> {
727
749
  starred_since: string;
728
- user: MappedOmit<UserSchema, 'created_at'>;
750
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
729
751
  }
730
752
  interface ProjectStoragePath extends Record<string, unknown> {
731
753
  project_id: string | number;
@@ -775,92 +797,106 @@ interface SimpleProjectSchema extends CondensedProjectSchema {
775
797
  namespace: CondensedNamespaceSchema;
776
798
  }
777
799
  interface ProjectSchema extends SimpleProjectSchema {
778
- issues_template?: string;
800
+ description_html: string;
801
+ visibility: 'public' | 'internal' | 'private';
779
802
  merge_requests_template?: string;
780
- mirror_trigger_builds?: boolean;
781
- container_registry_image_prefix: string;
782
- _links: {
783
- self: string;
784
- issues: string;
785
- merge_requests: string;
786
- repo_branches: string;
787
- labels: string;
788
- events: string;
789
- members: string;
790
- cluster_agents: string;
791
- };
792
- packages_enabled: boolean;
793
803
  empty_repo: boolean;
794
- archived: boolean;
795
- visibility: string;
796
- owner: Pick<UserSchema, 'id' | 'name' | 'created_at'>;
797
- resolve_outdated_diff_discussions: boolean;
798
- container_expiration_policy: {
799
- cadence: string;
800
- enabled: boolean;
801
- keep_n: number;
802
- older_than: string;
803
- name_regex: string;
804
- name_regex_keep?: null;
805
- next_run_at: string;
806
- };
804
+ issues_template?: string;
805
+ owner: Pick<SimpleUserSchema, 'id' | 'name' | 'created_at'>;
807
806
  issues_enabled: boolean;
807
+ open_issues_count: number;
808
808
  merge_requests_enabled: boolean;
809
- wiki_enabled: boolean;
810
809
  jobs_enabled: boolean;
810
+ wiki_enabled: boolean;
811
811
  snippets_enabled: boolean;
812
- container_registry_enabled: boolean;
813
- service_desk_enabled: boolean;
814
812
  can_create_merge_request_in: boolean;
815
- issues_access_level: string;
816
- repository_access_level: string;
817
- merge_requests_access_level: string;
818
- forking_access_level: string;
819
- wiki_access_level: string;
820
- builds_access_level: string;
821
- snippets_access_level: string;
822
- pages_access_level: string;
823
- analytics_access_level: string;
813
+ resolve_outdated_diff_discussions: boolean;
824
814
  container_registry_access_level: string;
825
815
  security_and_compliance_access_level: string;
826
- releases_access_level: string;
827
- environments_access_level: string;
828
- feature_flags_access_level: string;
829
- infrastructure_access_level: string;
830
- monitor_access_level: string;
831
- emails_disabled?: boolean;
832
- shared_runners_enabled: boolean;
833
- lfs_enabled: boolean;
816
+ container_expiration_policy: {
817
+ cadence: string;
818
+ enabled: boolean;
819
+ keep_n: number | null;
820
+ older_than: string | null;
821
+ name_regex_delete: string | null;
822
+ name_regex_keep: string | null;
823
+ next_run_at: string;
824
+ };
825
+ updated_at: string;
834
826
  creator_id: number;
827
+ import_url: string | null;
828
+ import_type: string | null;
835
829
  import_status: string;
836
- open_issues_count: number;
837
- description_html: string;
838
- updated_at: string;
839
- ci_config_path: string;
830
+ import_error: string | null;
831
+ permissions: {
832
+ project_access: {
833
+ access_level: number;
834
+ notification_level: number;
835
+ };
836
+ group_access: {
837
+ access_level: number;
838
+ notification_level: number;
839
+ };
840
+ };
841
+ archived: boolean;
842
+ license_url: string;
843
+ license: ProjectLicenseSchema;
844
+ shared_runners_enabled: boolean;
845
+ group_runners_enabled: boolean;
846
+ runners_token: string;
847
+ ci_default_git_depth: number;
848
+ ci_forward_deployment_enabled: boolean;
849
+ ci_forward_deployment_rollback_allowed: boolean;
850
+ ci_allow_fork_pipelines_to_run_in_parent_project: boolean;
851
+ ci_separated_caches: boolean;
852
+ ci_restrict_pipeline_cancellation_role: string;
840
853
  public_jobs: boolean;
841
- shared_with_groups?: string[];
854
+ shared_with_groups: {
855
+ group_id: number;
856
+ group_name: string;
857
+ group_full_path: string;
858
+ group_access_level: number;
859
+ }[] | null;
860
+ repository_storage: string;
842
861
  only_allow_merge_if_pipeline_succeeds: boolean;
843
- allow_merge_on_skipped_pipeline?: boolean;
844
- request_access_enabled: boolean;
862
+ allow_merge_on_skipped_pipeline: boolean;
863
+ restrict_user_defined_variables: boolean;
845
864
  only_allow_merge_if_all_discussions_are_resolved: boolean;
846
865
  remove_source_branch_after_merge: boolean;
847
- printing_merge_request_link_enabled: boolean;
866
+ printing_merge_requests_link_enabled: boolean;
867
+ request_access_enabled: boolean;
848
868
  merge_method: string;
849
869
  squash_option: string;
850
- enforce_auth_checks_on_uploads: boolean;
851
- suggestion_commit_message?: string;
852
- merge_commit_template?: string;
853
- squash_commit_template?: string;
854
- issue_branch_template?: string;
870
+ auto_devops_enabled: boolean;
871
+ auto_devops_deploy_strategy: string;
872
+ mirror: boolean;
873
+ mirror_user_id: number;
874
+ mirror_trigger_builds: boolean;
875
+ only_mirror_protected_branches: boolean;
876
+ mirror_overwrites_diverged_branches: boolean;
877
+ external_authorization_classification_label: string | null;
878
+ packages_enabled: boolean;
879
+ service_desk_enabled: boolean;
880
+ service_desk_address: string | null;
855
881
  autoclose_referenced_issues: boolean;
856
- external_authorization_classification_label: string;
857
- requirements_enabled: boolean;
858
- requirements_access_level: string;
859
- security_and_compliance_enabled: boolean;
860
- compliance_frameworks?: string[];
861
- permissions: {
862
- project_access?: null;
863
- group_access?: null;
882
+ suggestion_commit_message: string | null;
883
+ enforce_auth_checks_on_uploads: boolean;
884
+ merge_commit_template: string | null;
885
+ squash_commit_template: string | null;
886
+ issue_branch_template: string;
887
+ marked_for_deletion_on: string;
888
+ compliance_frameworks: string[] | null;
889
+ warn_about_potentially_unwanted_characters: boolean;
890
+ container_registry_image_prefix: string;
891
+ _links: {
892
+ self: string;
893
+ issues: string;
894
+ merge_requests: string;
895
+ repo_branches: string;
896
+ labels: string;
897
+ events: string;
898
+ members: string;
899
+ cluster_agents: string;
864
900
  };
865
901
  }
866
902
  interface ProjectFileUploadSchema extends Record<string, unknown> {
@@ -870,15 +906,18 @@ interface ProjectFileUploadSchema extends Record<string, unknown> {
870
906
  markdown: string;
871
907
  }
872
908
  type AllProjectsOptions = {
909
+ userId?: string;
873
910
  archived?: boolean;
874
911
  idAfter?: number;
875
912
  idBefore?: number;
876
913
  imported?: boolean;
914
+ includeHidden?: boolean;
915
+ includePendingDelete?: boolean;
877
916
  lastActivityAfter?: string;
878
917
  lastActivityBefore?: string;
879
918
  membership?: boolean;
880
919
  minAccessLevel?: Exclude<AccessLevel, AccessLevel.ADMIN>;
881
- orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at';
920
+ orderBy?: 'id' | 'name' | 'path' | 'created_at' | 'updated_at' | 'last_activity_at' | 'similarity' | 'repository_size' | 'storage_size' | 'packages_size' | 'wiki_size';
882
921
  owned?: boolean;
883
922
  repositoryChecksumFailed?: boolean;
884
923
  repositoryStorage?: string;
@@ -1046,6 +1085,7 @@ type EditProjectOptions = {
1046
1085
  wikiAccessLevel?: AccessLevelSettingState;
1047
1086
  };
1048
1087
  type ForkProjectOptions = {
1088
+ branches?: string;
1049
1089
  description?: string;
1050
1090
  mrDefaultTargetSelf?: boolean;
1051
1091
  name?: string;
@@ -1101,7 +1141,7 @@ declare class Projects<C extends boolean = false> extends BaseResource<C> {
1101
1141
  allUsers<E extends boolean = false>(projectId: string | number, options?: {
1102
1142
  search?: string;
1103
1143
  skipUsers?: number[];
1104
- } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
1144
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<SimpleUserSchema, 'created_at'>[], C, E, void>>;
1105
1145
  allGroups<E extends boolean = false>(projectId: string | number, options?: {
1106
1146
  search?: string;
1107
1147
  skipGroups?: number[];
@@ -2028,7 +2068,7 @@ declare class ResourceAccessTokens<C extends boolean = false> extends BaseResour
2028
2068
  interface AwardEmojiSchema extends Record<string, unknown> {
2029
2069
  id: number;
2030
2070
  name: string;
2031
- user: UserSchema;
2071
+ user: SimpleUserSchema;
2032
2072
  created_at: string;
2033
2073
  updated_at: string;
2034
2074
  awardable_id: number;
@@ -2134,7 +2174,7 @@ interface DiscussionNoteSchema extends Record<string, unknown> {
2134
2174
  type: 'DiffNote' | 'DiscussionNote' | null;
2135
2175
  body: string;
2136
2176
  attachment: string | null;
2137
- author: MappedOmit<UserSchema, 'created_at'>;
2177
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
2138
2178
  created_at: string;
2139
2179
  updated_at: string;
2140
2180
  system: boolean;
@@ -2203,7 +2243,7 @@ interface ExpandedPipelineSchema extends PipelineSchema {
2203
2243
  before_sha: string;
2204
2244
  tag: boolean;
2205
2245
  yaml_errors?: unknown;
2206
- user: MappedOmit<UserSchema, 'created_at'>;
2246
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
2207
2247
  started_at: string;
2208
2248
  finished_at: string;
2209
2249
  committed_at?: string;
@@ -2257,7 +2297,7 @@ interface PipelineTestReportSummarySchema extends Record<string, unknown> {
2257
2297
  failed: number;
2258
2298
  skipped: number;
2259
2299
  error: number;
2260
- suite_error?: null;
2300
+ suite_error: string | null;
2261
2301
  };
2262
2302
  test_suites?: PipelineTestSuiteSchema[];
2263
2303
  }
@@ -2376,7 +2416,7 @@ interface MissingSignatureSchema extends Record<string, unknown> {
2376
2416
  type CommitSignatureSchema = GPGSignatureSchema | X509SignatureSchema | MissingSignatureSchema;
2377
2417
  interface CondensedCommitCommentSchema extends Record<string, unknown> {
2378
2418
  note: string;
2379
- author: MappedOmit<UserSchema, 'created_at'>;
2419
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
2380
2420
  }
2381
2421
  interface CommitCommentSchema extends CondensedCommitCommentSchema {
2382
2422
  line_type: 'new' | 'old';
@@ -2399,7 +2439,7 @@ interface CommitStatusSchema extends Record<string, unknown> {
2399
2439
  started_at?: string;
2400
2440
  name: string;
2401
2441
  allow_failure: boolean;
2402
- author: MappedOmit<UserSchema, 'created_at'>;
2442
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
2403
2443
  description?: string;
2404
2444
  sha: string;
2405
2445
  target_url: string;
@@ -2508,7 +2548,7 @@ type TodoType = 'Issue' | 'MergeRequest' | 'Commit' | 'Epic' | 'DesignManagement
2508
2548
  type TodoState = 'pending' | 'done';
2509
2549
  interface TodoSchema extends Record<string, unknown> {
2510
2550
  id: number;
2511
- author: MappedOmit<UserSchema, 'created_at'>;
2551
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
2512
2552
  project: Pick<SimpleProjectSchema, 'id' | 'name' | 'name_with_namespace' | 'path' | 'path_with_namespace'>;
2513
2553
  action_name: TodoAction;
2514
2554
  target_type: TodoType;
@@ -2648,19 +2688,19 @@ interface CondensedMergeRequestSchema extends Record<string, unknown> {
2648
2688
  web_url: string;
2649
2689
  }
2650
2690
  interface MergeRequestSchema extends CondensedMergeRequestSchema {
2651
- merged_by: MappedOmit<UserSchema, 'created_at'> | null;
2691
+ merged_by: MappedOmit<SimpleUserSchema, 'created_at'> | null;
2652
2692
  merged_at: string | null;
2653
- closed_by: MappedOmit<UserSchema, 'created_at'> | null;
2693
+ closed_by: MappedOmit<SimpleUserSchema, 'created_at'> | null;
2654
2694
  closed_at: string | null;
2655
2695
  target_branch: string;
2656
2696
  source_branch: string;
2657
2697
  user_notes_count: number;
2658
2698
  upvotes: number;
2659
2699
  downvotes: number;
2660
- author: MappedOmit<UserSchema, 'created_at'>;
2661
- assignees: MappedOmit<UserSchema, 'created_at'>[] | null;
2662
- assignee: MappedOmit<UserSchema, 'created_at'> | null;
2663
- reviewers: MappedOmit<UserSchema, 'created_at'>[] | null;
2700
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
2701
+ assignees: MappedOmit<SimpleUserSchema, 'created_at'>[] | null;
2702
+ assignee: MappedOmit<SimpleUserSchema, 'created_at'> | null;
2703
+ reviewers: MappedOmit<SimpleUserSchema, 'created_at'>[] | null;
2664
2704
  source_project_id: number;
2665
2705
  target_project_id: number;
2666
2706
  labels: string[] | SimpleLabelSchema[];
@@ -2700,6 +2740,7 @@ interface ExpandedMergeRequestSchema extends MergeRequestSchema {
2700
2740
  user: {
2701
2741
  can_merge: boolean;
2702
2742
  };
2743
+ rebase_in_progress?: boolean;
2703
2744
  }
2704
2745
  interface MergeRequestSchemaWithExpandedLabels extends MergeRequestSchema {
2705
2746
  labels: SimpleLabelSchema[];
@@ -2809,7 +2850,7 @@ declare class MergeRequests<C extends boolean = false> extends BaseResource<C> {
2809
2850
  allCommits<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<CommitSchema[], C, E, P>>;
2810
2851
  allDiffVersions<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestDiffVersionsSchema[], C, E, void>>;
2811
2852
  allIssuesClosed<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueSchema[], C, E, void>>;
2812
- allParticipants<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
2853
+ allParticipants<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<SimpleUserSchema, 'created_at'>[], C, E, void>>;
2813
2854
  allPipelines<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<Pick<PipelineSchema, 'id' | 'sha' | 'ref' | 'status'>[], C, E, void>>;
2814
2855
  cancelOnPipelineSuccess<E extends boolean = false>(projectId: string | number, mergerequestIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
2815
2856
  create<E extends boolean = false>(projectId: string | number, sourceBranch: string, targetBranch: string, title: string, options?: CreateMergeRequestOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ExpandedMergeRequestSchema, C, E, void>>;
@@ -2852,10 +2893,10 @@ interface IssueSchema extends Record<string, unknown> {
2852
2893
  description: string;
2853
2894
  health_status?: string;
2854
2895
  weight?: number;
2855
- author: MappedOmit<UserSchema, 'created_at'>;
2896
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
2856
2897
  milestone: MilestoneSchema;
2857
2898
  project_id: number;
2858
- assignees?: MappedOmit<UserSchema, 'created_at'>[];
2899
+ assignees?: MappedOmit<SimpleUserSchema, 'created_at'>[];
2859
2900
  type: string;
2860
2901
  updated_at: string;
2861
2902
  closed_at?: string;
@@ -2994,7 +3035,7 @@ declare class Issues<C extends boolean = false> extends BaseResource<C> {
2994
3035
  withLabelsDetails?: false;
2995
3036
  }): Promise<GitlabAPIResponse<IssueSchemaWithBasicLabels[], C, E, P>>;
2996
3037
  allMetricImages<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MetricImageSchema[], C, E, void>>;
2997
- allParticipants<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<UserSchema, 'created_at'>[], C, E, void>>;
3038
+ allParticipants<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MappedOmit<SimpleUserSchema, 'created_at'>[], C, E, void>>;
2998
3039
  allRelatedMergeRequests<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<MergeRequestSchema[], C, E, void>>;
2999
3040
  create<E extends boolean = false>(projectId: string | number, title: string, options?: CreateIssueOptions & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<IssueSchema, C, E, void>>;
3000
3041
  createTodo<E extends boolean = false>(projectId: string | number, issueIId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<TodoSchema, C, E, void>>;
@@ -3175,7 +3216,7 @@ interface NoteSchema extends Record<string, unknown> {
3175
3216
  id: number;
3176
3217
  body: string;
3177
3218
  attachment: string | null;
3178
- author: MappedOmit<UserSchema, 'created_at'>;
3219
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
3179
3220
  created_at: string;
3180
3221
  updated_at: string;
3181
3222
  system: boolean;
@@ -3494,7 +3535,7 @@ declare class ResourceProtectedEnvironments<C extends boolean = false> extends B
3494
3535
 
3495
3536
  interface IterationEventSchema extends Record<string, unknown> {
3496
3537
  id: number;
3497
- user: MappedOmit<UserSchema, 'created_at'>;
3538
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
3498
3539
  created_at: string;
3499
3540
  resource_type: 'Issue';
3500
3541
  resource_id: number;
@@ -3510,7 +3551,7 @@ declare class ResourceIterationEvents<C extends boolean = false> extends BaseRes
3510
3551
 
3511
3552
  interface LabelEventSchema extends Record<string, unknown> {
3512
3553
  id: number;
3513
- user: MappedOmit<UserSchema, 'created_at'>;
3554
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
3514
3555
  created_at: string;
3515
3556
  resource_type: 'Issue' | 'Epic' | 'MergeRequest';
3516
3557
  resource_id: number;
@@ -3526,7 +3567,7 @@ declare class ResourceLabelEvents<C extends boolean = false> extends BaseResourc
3526
3567
 
3527
3568
  interface MilestoneEventSchema extends Record<string, unknown> {
3528
3569
  id: number;
3529
- user: MappedOmit<UserSchema, 'created_at'>;
3570
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
3530
3571
  created_at: string;
3531
3572
  resource_type: 'Issue' | 'MergeRequest';
3532
3573
  resource_id: number;
@@ -3542,7 +3583,7 @@ declare class ResourceMilestoneEvents<C extends boolean = false> extends BaseRes
3542
3583
 
3543
3584
  interface StateEventSchema extends Record<string, unknown> {
3544
3585
  id: number;
3545
- user: MappedOmit<UserSchema, 'created_at'>;
3586
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
3546
3587
  created_at: string;
3547
3588
  resource_type: 'Issue';
3548
3589
  resource_id: number;
@@ -3558,7 +3599,7 @@ declare class ResourceStateEvents<C extends boolean = false> extends BaseResourc
3558
3599
 
3559
3600
  interface WeightEventSchema extends Record<string, unknown> {
3560
3601
  id: number;
3561
- user: MappedOmit<UserSchema, 'created_at'>;
3602
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
3562
3603
  created_at: string;
3563
3604
  issue_id: number;
3564
3605
  weight: number;
@@ -4511,7 +4552,7 @@ interface SimpleSnippetSchema extends Record<string, unknown> {
4511
4552
  title: string;
4512
4553
  file_name: string;
4513
4554
  description?: string;
4514
- author: MappedOmit<UserSchema, 'created_at'>;
4555
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
4515
4556
  updated_at: string;
4516
4557
  created_at: string;
4517
4558
  project_id?: string | number;
@@ -4586,7 +4627,7 @@ declare class Search<C extends boolean = false> extends BaseResource<C> {
4586
4627
  all<E extends boolean = false, P extends PaginationTypes = 'offset'>(scope: 'users', search: string, options?: OneOrNoneOf<{
4587
4628
  projectId: string | number;
4588
4629
  groupId: string | number;
4589
- }> & AllSearchOptions & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<UserSchema[], C, E, void>>;
4630
+ }> & AllSearchOptions & Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<SimpleUserSchema[], C, E, void>>;
4590
4631
  all<E extends boolean = false, P extends PaginationTypes = 'offset'>(scope: 'notes', search: string, options?: OneOrNoneOf<{
4591
4632
  projectId: string | number;
4592
4633
  groupId: string | number;
@@ -4652,13 +4693,12 @@ interface ServiceAccountSchema extends Record<string, unknown> {
4652
4693
  id: number;
4653
4694
  name: string;
4654
4695
  username: string;
4655
- state: string;
4656
- locked: boolean;
4657
- avatar_url: string;
4658
- web_url: string;
4659
4696
  }
4660
4697
  declare class ServiceAccounts<C extends boolean = false> extends BaseResource<C> {
4661
- create<E extends boolean = false>(options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountSchema, C, E, void>>;
4698
+ create<E extends boolean = false>(options?: {
4699
+ name?: string;
4700
+ username?: string;
4701
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountSchema, C, E, void>>;
4662
4702
  }
4663
4703
 
4664
4704
  declare class ServiceData<C extends boolean = false> extends BaseResource<C> {
@@ -4988,7 +5028,7 @@ interface JobKubernetesAgentsSchema extends Record<string, unknown> {
4988
5028
  job: CondensedJobSchema;
4989
5029
  pipeline: PipelineSchema;
4990
5030
  project: MappedOmit<SimpleProjectSchema, 'web_url'>;
4991
- user: UserSchema;
5031
+ user: SimpleUserSchema;
4992
5032
  }
4993
5033
  interface JobVariableAttributeOption extends Record<string, unknown> {
4994
5034
  key: string;
@@ -5169,11 +5209,11 @@ interface DeployableSchema extends Record<string, unknown> {
5169
5209
  coverage?: string;
5170
5210
  created_at?: string;
5171
5211
  finished_at?: string;
5172
- user?: UserSchema;
5212
+ user?: SimpleUserSchema;
5173
5213
  pipeline?: PipelineSchema;
5174
5214
  }
5175
5215
  interface DeploymentApprovalStatusSchema extends Record<string, unknown> {
5176
- user: UserSchema;
5216
+ user: SimpleUserSchema;
5177
5217
  status: 'approved' | 'rejected';
5178
5218
  created_at: string;
5179
5219
  comment: string;
@@ -5186,7 +5226,7 @@ interface DeploymentSchema extends Record<string, unknown> {
5186
5226
  created_at: string;
5187
5227
  updated_at: string;
5188
5228
  status: DeploymentStatus;
5189
- user: UserSchema;
5229
+ user: SimpleUserSchema;
5190
5230
  deployable: DeployableSchema;
5191
5231
  environment: EnvironmentSchema;
5192
5232
  pending_approval_count?: number;
@@ -5494,9 +5534,9 @@ interface IssueLinkSchema extends Record<string, unknown> {
5494
5534
  state: string;
5495
5535
  description: string;
5496
5536
  weight?: number;
5497
- author: MappedOmit<UserSchema, 'created_at'>;
5537
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
5498
5538
  milestone: MilestoneSchema;
5499
- assignees?: MappedOmit<UserSchema, 'created_at'>[];
5539
+ assignees?: MappedOmit<SimpleUserSchema, 'created_at'>[];
5500
5540
  title: string;
5501
5541
  labels?: string[];
5502
5542
  user_notes_count: number;
@@ -5646,6 +5686,22 @@ declare class JobArtifacts<C extends boolean = false> extends BaseResource<C> {
5646
5686
  } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
5647
5687
  }
5648
5688
 
5689
+ interface JobTokenScopeSchema extends Record<string, unknown> {
5690
+ inbound_enabled: boolean;
5691
+ outbound_enabled: boolean;
5692
+ }
5693
+ interface AllowListSchema extends Record<string, unknown> {
5694
+ source_project_id: number;
5695
+ target_project_id: number;
5696
+ }
5697
+ declare class JobTokenScopes<C extends boolean = false> extends BaseResource<C> {
5698
+ show<E extends boolean = false>(projectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<JobTokenScopeSchema, C, E, void>>;
5699
+ edit<E extends boolean = false>(projectId: string | number, enabled: boolean, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<JobTokenScopeSchema, C, E, void>>;
5700
+ showInboundAllowList<E extends boolean = false>(projectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<SimpleProjectSchema[], C, E, void>>;
5701
+ addToInboundAllowList<E extends boolean = false>(projectId: string | number, targetProjectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<AllowListSchema, C, E, void>>;
5702
+ removeFromInboundAllowList<E extends boolean = false>(projectId: string | number, targetProjectId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
5703
+ }
5704
+
5649
5705
  type ProtectedBranchAccessLevel = AccessLevel.NO_ACCESS | AccessLevel.DEVELOPER | AccessLevel.MAINTAINER | AccessLevel.ADMIN;
5650
5706
  interface ExtendedProtectedBranchAccessLevelSchema {
5651
5707
  id: number;
@@ -5716,7 +5772,7 @@ interface ProjectLevelMergeRequestApprovalSchema extends Record<string, unknown>
5716
5772
  require_password_to_approve: boolean;
5717
5773
  }
5718
5774
  interface ApprovedByEntity {
5719
- user: MappedOmit<UserSchema, 'created_at'>;
5775
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
5720
5776
  }
5721
5777
  interface MergeRequestLevelMergeRequestApprovalSchema extends Record<string, unknown> {
5722
5778
  id: number;
@@ -5736,9 +5792,9 @@ interface ApprovalRuleSchema extends Record<string, unknown> {
5736
5792
  id: number;
5737
5793
  name: string;
5738
5794
  rule_type: string;
5739
- eligible_approvers?: MappedOmit<UserSchema, 'created_at'>[];
5795
+ eligible_approvers?: MappedOmit<SimpleUserSchema, 'created_at'>[];
5740
5796
  approvals_required: number;
5741
- users?: MappedOmit<UserSchema, 'created_at'>[];
5797
+ users?: MappedOmit<SimpleUserSchema, 'created_at'>[];
5742
5798
  groups?: GroupSchema[];
5743
5799
  contains_hidden_groups: boolean;
5744
5800
  overridden: boolean;
@@ -5964,7 +6020,7 @@ declare class MergeRequestNotes<C extends boolean = false> extends ResourceNotes
5964
6020
  interface MergeTrainSchema extends Record<string, unknown> {
5965
6021
  id: number;
5966
6022
  merge_request: CondensedMergeRequestSchema;
5967
- user: MappedOmit<UserSchema, 'created_at'>;
6023
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
5968
6024
  pipeline: PipelineSchema;
5969
6025
  created_at: string;
5970
6026
  updated_at: string;
@@ -6119,7 +6175,7 @@ interface CondensedPipelineScheduleSchema extends Record<string, unknown> {
6119
6175
  active: boolean;
6120
6176
  created_at: string;
6121
6177
  updated_at: string;
6122
- owner: MappedOmit<UserSchema, 'created_at'>;
6178
+ owner: MappedOmit<SimpleUserSchema, 'created_at'>;
6123
6179
  }
6124
6180
  interface PipelineScheduleSchema extends CondensedPipelineScheduleSchema {
6125
6181
  last_pipeline: Pick<PipelineSchema, 'id' | 'sha' | 'ref' | 'status'>;
@@ -6159,7 +6215,7 @@ interface PipelineTriggerTokenSchema extends Record<string, unknown> {
6159
6215
  last_used: string | null;
6160
6216
  token: string;
6161
6217
  updated_at: string;
6162
- owner: MappedOmit<UserSchema, 'created_at'> | null;
6218
+ owner: MappedOmit<SimpleUserSchema, 'created_at'> | null;
6163
6219
  }
6164
6220
  declare class PipelineTriggerTokens<C extends boolean = false> extends BaseResource<C> {
6165
6221
  all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: Sudo & ShowExpanded<E> & PaginationRequestOptions<P>): Promise<GitlabAPIResponse<PipelineTriggerTokenSchema[], C, E, P>>;
@@ -6547,7 +6603,7 @@ interface ReleaseSchema extends Record<string, unknown> {
6547
6603
  name: string | null;
6548
6604
  created_at: string;
6549
6605
  released_at: string | null;
6550
- user: MappedOmit<UserSchema, 'created_at'>;
6606
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
6551
6607
  commit: CommitSchema;
6552
6608
  milestones: MilestoneSchema[] | null;
6553
6609
  commit_path: string;
@@ -7072,6 +7128,7 @@ interface TagSchema extends Record<string, unknown> {
7072
7128
  target: string;
7073
7129
  message?: string;
7074
7130
  protected: boolean;
7131
+ created_at?: string;
7075
7132
  }
7076
7133
  interface TagSignatureSchema extends Record<string, unknown> {
7077
7134
  signature_type: string;
@@ -7194,7 +7251,7 @@ interface EpicLinkSchema extends Record<string, unknown> {
7194
7251
  parent_id: number;
7195
7252
  title: string;
7196
7253
  description: string;
7197
- author: UserSchema;
7254
+ author: SimpleUserSchema;
7198
7255
  start_date?: string;
7199
7256
  start_date_is_fixed: boolean;
7200
7257
  start_date_fixed?: string;
@@ -7260,7 +7317,7 @@ interface EpicSchema extends Record<string, unknown> {
7260
7317
  relative: string;
7261
7318
  full: string;
7262
7319
  };
7263
- author: MappedOmit<UserSchema, 'created_at'>;
7320
+ author: MappedOmit<SimpleUserSchema, 'created_at'>;
7264
7321
  start_date?: string;
7265
7322
  start_date_is_fixed: boolean;
7266
7323
  start_date_fixed?: string;
@@ -7766,15 +7823,16 @@ declare class GroupSCIMIdentities<C extends boolean = false> extends BaseResourc
7766
7823
  edit<E extends boolean = false>(groupId: string | number, identityId: string, options: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
7767
7824
  }
7768
7825
 
7769
- interface GroupServiceAccountSchema extends Record<string, unknown> {
7770
- id: number;
7771
- username: string;
7772
- name: string;
7773
- }
7774
7826
  type ServiceAccountAccessTokenSchema = MappedOmit<AccessTokenSchema, 'access_level'>;
7775
7827
  declare class GroupServiceAccounts<C extends boolean = false> extends BaseResource<C> {
7776
- create<E extends boolean = false>(groupId: string | number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<GroupServiceAccountSchema, C, E, void>>;
7777
- addPersonalAccessToken<E extends boolean = false>(groupId: string | number, serviceAccountId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountAccessTokenSchema, C, E, void>>;
7828
+ create<E extends boolean = false>(groupId: string | number, options?: {
7829
+ name?: string;
7830
+ username?: string;
7831
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountSchema, C, E, void>>;
7832
+ addPersonalAccessToken<E extends boolean = false>(groupId: string | number, serviceAccountId: number, options?: {
7833
+ expiresAt?: string;
7834
+ } & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountAccessTokenSchema, C, E, void>>;
7835
+ createPersonalAccessToken<E extends boolean = false>(groupId: string | number, serviceAccountId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountAccessTokenSchema, C, E, void>>;
7778
7836
  rotatePersonalAccessToken<E extends boolean = false>(groupId: string | number, serviceAccountId: number, tokenId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ServiceAccountAccessTokenSchema, C, E, void>>;
7779
7837
  }
7780
7838
 
@@ -8055,6 +8113,7 @@ interface Gitlab<C extends boolean = false> extends BaseResource<C> {
8055
8113
  IssueWeightEvents: IssueWeightEvents<C>;
8056
8114
  JobArtifacts: JobArtifacts<C>;
8057
8115
  Jobs: Jobs<C>;
8116
+ JobTokenScopes: JobTokenScopes<C>;
8058
8117
  MergeRequestApprovals: MergeRequestApprovals<C>;
8059
8118
  MergeRequestAwardEmojis: MergeRequestAwardEmojis<C>;
8060
8119
  MergeRequestContextCommits: MergeRequestContextCommits<C>;
@@ -8223,7 +8282,7 @@ interface BaseWebhookEventSchema {
8223
8282
  object_kind: string;
8224
8283
  event_name: string;
8225
8284
  project: WebhookProjectSchema;
8226
- user: MappedOmit<UserSchema, 'created_at'>;
8285
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
8227
8286
  }
8228
8287
  interface WebhookBaseNoteEventSchema extends BaseWebhookEventSchema {
8229
8288
  object_kind: 'note';
@@ -8339,8 +8398,8 @@ interface WebhookIssueEventSchema extends BaseWebhookEventSchema {
8339
8398
  description: string;
8340
8399
  homepage: string;
8341
8400
  };
8342
- assignees: Pick<UserSchema, 'name' | 'username' | 'avatar_url'>[] | null;
8343
- assignee: Pick<UserSchema, 'name' | 'username' | 'avatar_url'> | null;
8401
+ assignees: Pick<SimpleUserSchema, 'name' | 'username' | 'avatar_url'>[] | null;
8402
+ assignee: Pick<SimpleUserSchema, 'name' | 'username' | 'avatar_url'> | null;
8344
8403
  labels: WebhookLabelSchema[] | null;
8345
8404
  changes: {
8346
8405
  updated_by_id: {
@@ -8402,7 +8461,7 @@ interface WebhookMergeRequestNoteEventSchema extends WebhookBaseNoteEventSchema
8402
8461
  };
8403
8462
  work_in_progress: boolean;
8404
8463
  draft: boolean;
8405
- assignee: Pick<UserSchema, 'name' | 'username' | 'avatar_url'> | null;
8464
+ assignee: Pick<SimpleUserSchema, 'name' | 'username' | 'avatar_url'> | null;
8406
8465
  detailed_merge_status: string;
8407
8466
  };
8408
8467
  }
@@ -8468,6 +8527,7 @@ interface WebhookMergeRequestEventSchema extends BaseWebhookEventSchema {
8468
8527
  draft: boolean;
8469
8528
  first_contribution: boolean;
8470
8529
  merge_status: string;
8530
+ merge_commit_sha: string;
8471
8531
  target_project_id: number;
8472
8532
  description: string;
8473
8533
  total_time_spent: number;
@@ -8520,7 +8580,7 @@ interface WebhookMergeRequestEventSchema extends BaseWebhookEventSchema {
8520
8580
  current: number | null;
8521
8581
  };
8522
8582
  };
8523
- assignees: Pick<UserSchema, 'name' | 'username' | 'avatar_url'>[] | null;
8583
+ assignees: Pick<SimpleUserSchema, 'name' | 'username' | 'avatar_url'>[] | null;
8524
8584
  reviewers: WebhookLabelSchema[] | null;
8525
8585
  }
8526
8586
  interface WebhookWikiEventSchema extends MappedOmit<BaseWebhookEventSchema, 'event_name'> {
@@ -8603,7 +8663,7 @@ interface WebhookPipelineEventSchema extends MappedOmit<BaseWebhookEventSchema,
8603
8663
  when: string;
8604
8664
  manual: boolean;
8605
8665
  allow_failure: boolean;
8606
- user: MappedOmit<UserSchema, 'created_at'>;
8666
+ user: MappedOmit<SimpleUserSchema, 'created_at'>;
8607
8667
  runner: {
8608
8668
  id: number;
8609
8669
  description: string;
@@ -8841,4 +8901,4 @@ interface WebhookEmojiEventSchema extends BaseWebhookEventSchema {
8841
8901
  };
8842
8902
  }
8843
8903
 
8844
- export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenExposedSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemeberOptions, type AddResourceHookOptions, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BaseWebhookEventSchema, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionLineRangeSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextLineSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, type GitlabPagesSettingsSchema, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, type GroupServiceAccountSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceSchema, Namespaces, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchCommitSchema, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WebhookBaseNoteEventSchema, type WebhookBasePushEventSchema, type WebhookCommitNoteEventSchema, type WebhookDeploymentEventSchema, type WebhookDiffSchema, type WebhookEmojiEventSchema, type WebhookFeatureFlagEventSchema, type WebhookGroupMemberEventSchema, type WebhookIssueEventSchema, type WebhookIssueNoteEventSchema, type WebhookJobEventSchema, type WebhookLabelSchema, type WebhookMergeRequestEventSchema, type WebhookMergeRequestNoteEventSchema, type WebhookPipelineEventSchema, type WebhookPipelineSchema, type WebhookProjectSchema, type WebhookPushEventSchema, type WebhookReleaseEventSchema, type WebhookRepositorySchema, type WebhookSnippetNoteEventSchema, type WebhookSubGroupEventSchema, type WebhookTagEventSchema, type WebhookWikiEventSchema, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };
8904
+ export { type AcceptMergeRequestOptions, AccessLevel, type AccessLevelSettingState, type AccessRequestSchema, type AccessTokenExposedSchema, type AccessTokenSchema, type AccessTokenScopes, type AddMemeberOptions, type AddResourceHookOptions, type AdminUserSchema, Agents, AlertManagement, type AllAuditEventOptions, type AllCommitsOptions, type AllDeploymentsOptions, type AllEpicsOptions, type AllEventOptions, type AllForksOptions, type AllGroupProjectsOptions, type AllGroupsOptions, type AllIssueStatisticsOptions, type AllIssuesOptions, type AllIterationsOptions, type AllMembersOptions, type AllMergeRequestsOptions, type AllMilestonesOptions, type AllPackageOptions, type AllPersonalAccessTokenOptions, type AllPipelinesOptions, type AllProjectsOptions, type AllProvisionedUsersOptions, type AllRepositoryTreesOptions, type AllRunnersOptions, type AllSearchOptions, type AllUserProjectsOptions, type AllUsersOptions, type AllowListSchema, type AllowedAgentSchema, ApplicationAppearance, type ApplicationAppearanceSchema, type ApplicationPlanLimitOptions, type ApplicationPlanLimitSchema, ApplicationPlanLimits, type ApplicationSchema, ApplicationSettings, type ApplicationSettingsSchema, type ApplicationStatisticSchema, ApplicationStatistics, Applications, type ApprovalRuleSchema, type ApprovalStateSchema, type ApprovedByEntity, type ArchiveType, type ArtifactSchema, type AsStream, type AuditEventSchema, AuditEvents, Avatar, type AvatarSchema, type AwardEmojiSchema, type BadgeSchema, type BaseExternalStatusCheckSchema, type BasePaginationRequestOptions, type BaseRequestOptions, type BaseWebhookEventSchema, type BillableGroupMemberMembershipSchema, type BillableGroupMemberSchema, type BlobSchema, type BranchSchema, Branches, type BridgeSchema, type BroadcastMessageOptions, type BroadcastMessageSchema, BroadcastMessages, type BurndownChartEventSchema, type CICDVariableSchema, type Camelize, type ClusterAgentSchema, type ClusterAgentTokenSchema, type CodeCompletionSchema, type CodeSuggestionSchema, CodeSuggestions, type CommitAction, type CommitCommentSchema, type CommitDiffSchema, type CommitDiscussionNoteSchema, type CommitDiscussionSchema, CommitDiscussions, type CommitReferenceSchema, type CommitSchema, type CommitSignatureSchema, type CommitStatsSchema, type CommitStatusSchema, type CommitablePipelineStatus, Commits, Composer, type ComposerPackageMetadataSchema, type ComposerV1BaseRepositorySchema, type ComposerV1PackagesSchema, type ComposerV2BaseRepositorySchema, Conan, type CondensedBadgeSchema, type CondensedCommitCommentSchema, type CondensedCommitSchema, type CondensedDeployKeySchema, type CondensedEnvironmentSchema, type CondensedEpicLinkSchema, type CondensedGroupSchema, type CondensedJobSchema, type CondensedMemberSchema, type CondensedMergeRequestSchema, type CondensedNamespaceSchema, type CondensedPipelineScheduleSchema, type CondensedProjectSchema, type CondensedRegistryRepositorySchema, type CondensedRegistryRepositoryTagSchema, ContainerRegistry, type CreateAndEditPushRuleOptions, type CreateApprovalRuleOptions, type CreateCommitOptions, type CreateEpicOptions, type CreateFeatureFlagOptions, type CreateGeoNodeOptions, type CreateGeoSiteOptions, type CreateGroupOptions, type CreateIssueOptions, type CreateMergeRequestOptions, type CreateProjectOptions, type CreateProtectedBranchAllowOptions, type CreateProtectedBranchOptions, type CreateRepositoryFileOptions, type CreateRunnerOptions, type CreateSnippetOptions, type CreateSystemHook, type CreateUserCIRunnerOptions, type CreateUserOptions, type CustomAttributeSchema, type CustomSettingLevelEmailEvents, type DORA4MetricSchema, type DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, type DeployKeyProjectsSchema, type DeployKeySchema, DeployKeys, type DeployTokenSchema, type DeployTokenScope, DeployTokens, type DeployableSchema, type DeploymentApprovalStatusSchema, type DeploymentSchema, type DeploymentStatus, Deployments, type DiffRefsSchema, type DiscussionNotePositionBaseSchema, type DiscussionNotePositionImageSchema, type DiscussionNotePositionLineRangeSchema, type DiscussionNotePositionOptions, type DiscussionNotePositionSchema, type DiscussionNotePositionTextLineSchema, type DiscussionNotePositionTextSchema, type DiscussionNoteSchema, type DiscussionSchema, DockerfileTemplates, type EditApprovalRuleOptions, type EditBadgeOptions, type EditChangelogOptions, type EditConfigurationOptions, type EditEpicOptions, type EditFeatureFlagOptions, type EditGeoNodeOptions, type EditGeoSiteOptions, type EditGroupOptions, type EditIssueOptions, type EditMergeRequestOptions, type EditNotificationSettingsOptions, type EditPipelineStatusOptions, type EditProjectOptions, type EditProtectedBranchAllowOptions, type EditProtectedBranchOptions, type EditRepositoryFileOptions, type EditResourceHookOptions, type EditRunnerOptions, type EditSnippetOptions, type EditUserOptions, type EnvironmentSchema, type EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, type EpicIssueSchema, EpicIssues, EpicLabelEvents, type EpicLinkSchema, EpicLinks, type EpicNoteSchema, EpicNotes, type EpicSchema, type EpicSchemaWithBasicLabels, type EpicSchemaWithExpandedLabels, type EpicTodoSchema, Epics, type ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, type ErrorTrackingSettingsSchema, type EventSchema, Events, type ExpandedCommitSchema, type ExpandedDeployKeySchema, type ExpandedEpicIssueSchema, type ExpandedGroupSchema, type ExpandedHookSchema, type ExpandedIssueLinkSchema, type ExpandedMergeRequestDiffVersionsSchema, type ExpandedMergeRequestSchema, type ExpandedPackageSchema, type ExpandedPipelineScheduleSchema, type ExpandedPipelineSchema, type ExpandedRepositoryImportStatusSchema, type ExpandedResponse, type ExpandedRunnerSchema, type ExpandedSnippetSchema, type ExpandedUserSchema, type ExperimentGateSchema, type ExperimentSchema, Experiments, type ExportStatusSchema, type ExtendedProtectedBranchAccessLevelSchema, type ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, type FailedRelationSchema, type FeatureFlagSchema, type FeatureFlagStrategySchema, type FeatureFlagStrategyScopeSchema, type FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, type ForkProjectOptions, type FreezePeriodSchema, FreezePeriods, type GPGSignatureSchema, type GeoNodeFailureSchema, type GeoNodeSchema, type GeoNodeStatusSchema, GeoNodes, type GeoSiteFailureSchema, type GeoSiteSchema, type GeoSiteStatusSchema, GeoSites, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, type GitlabAPIResponse, GitlabPages, type GitlabPagesSettingsSchema, GoProxy, type GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, type GroupAnalyticsIssuesCountSchema, type GroupAnalyticsMRsCountSchema, type GroupAnalyticsNewMembersCountSchema, type GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, type GroupEpicBoardListSchema, type GroupEpicBoardSchema, GroupEpicBoards, type GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, type GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, type GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSAMLLinks, GroupSCIMIdentities, type GroupSchema, GroupServiceAccounts, type GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, type GrouptIssueBoardSchema, Helm, type HookSchema, type IdentitySchema, type ImpersonationTokenScope, type ImpersonationTokenState, Import, type ImportStatusSchema, type IncludeInherited, InstanceLevelCICDVariables, type IntegrationSchema, Integrations, type InvitationSchema, type IsForm, IssueAwardEmojis, type IssueBoardListSchema, type IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, type IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, type IssueNoteSchema, IssueNotes, type IssueSchema, type IssueSchemaWithBasicLabels, type IssueSchemaWithExpandedLabels, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, type IterationEventSchema, type IterationSchema, JobArtifacts, type JobKubernetesAgentsSchema, type JobSchema, type JobScope, type JobTokenScopeSchema, JobTokenScopes, type JobVariableAttributeOption, Jobs, type KeySchema, Keys, type KeysetPagination, type KeysetPaginationRequestOptions, type LabelCountSchema, type LabelEventSchema, type LabelSchema, License, type LicenseSchema, type LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, type LintSchema, Markdown, type MarkdownSchema, Maven, type MemberRoleSchema, type MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, type MergeRequestChangesSchema, type MergeRequestContextCommitSchema, MergeRequestContextCommits, type MergeRequestDiffSchema, type MergeRequestDiffVersionsSchema, type MergeRequestDiscussionNotePositionOptions, type MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, type MergeRequestDraftNotePositionSchema, type MergeRequestDraftNoteSchema, MergeRequestDraftNotes, type MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, type MergeRequestLevelApprovalRuleSchema, type MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, type MergeRequestNoteSchema, MergeRequestNotes, type MergeRequestRebaseSchema, type MergeRequestSchema, type MergeRequestSchemaWithBasicLabels, type MergeRequestSchemaWithExpandedLabels, type MergeRequestTodoSchema, MergeRequests, type MergeTrainSchema, MergeTrains, Metadata, type MetadataSchema, type MetricImageSchema, type MetricType, type MigrationEntityFailure, type MigrationEntityOptions, type MigrationEntitySchema, type MigrationStatus, type MigrationStatusSchema, Migrations, type MilestoneEventSchema, type MilestoneSchema, type MissingSignatureSchema, NPM, type NPMPackageMetadataSchema, type NPMVersionSchema, type NamespaceSchema, Namespaces, type NoteSchema, type NotificationSettingLevel, type NotificationSettingSchema, NotificationSettings, NuGet, type NuGetPackageIndexSchema, type NuGetResourceSchema, type NuGetSearchResultSchema, type NuGetSearchResultsSchema, type NuGetServiceIndexSchema, type NuGetServiceMetadataItemSchema, type NuGetServiceMetadataSchema, type NuGetServiceMetadataVersionSchema, type OffsetPagination, type OffsetPaginationRequestOptions, type OverrodeGroupMemberSchema, type PackageFileSchema, type PackageMetadata, PackageRegistry, type PackageRegistrySchema, type PackageSchema, type PackageSnapshotSchema, Packages, type PagesDomainSchema, PagesDomains, type PaginatedResponse, type PaginationRequestOptions, type PaginationRequestSubOptions, type PaginationTypes, type PersonalAccessTokenSchema, type PersonalAccessTokenScopes, PersonalAccessTokens, type PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, type PipelineSchema, type PipelineStatus, type PipelineTestCaseSchema, type PipelineTestReportSchema, type PipelineTestReportSummarySchema, type PipelineTestSuiteSchema, type PipelineTriggerTokenSchema, PipelineTriggerTokens, type PipelineVariableSchema, Pipelines, type ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, type ProjectAliasSchema, ProjectAliases, type ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, type ProjectExternalStatusCheckSchema, type ProjectFileUploadSchema, type ProjectHookSchema, ProjectHooks, ProjectImportExports, ProjectInvitations, type ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, type ProjectLevelApprovalRuleSchema, type ProjectLevelMergeRequestApprovalSchema, type ProjectLicenseSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, type ProjectRemoteMirrorSchema, ProjectRemoteMirrors, type ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, type ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, type ProjectStarrerSchema, type ProjectStatisticSchema, ProjectStatistics, type ProjectStatisticsSchema, type ProjectStoragePath, type ProjectTemplateSchema, type ProjectTemplateType, ProjectTemplates, type ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, type ProjectVulnerabilitySchema, ProjectWikis, Projects, type ProtectedBranchAccessLevel, type ProtectedBranchSchema, ProtectedBranches, type ProtectedEnvironmentAccessLevelEntity, type ProtectedEnvironmentAccessLevelSummarySchema, type ProtectedEnvironmentSchema, type ProtectedTagAccessLevel, type ProtectedTagAccessLevelEntity, type ProtectedTagAccessLevelSummarySchema, type ProtectedTagSchema, ProtectedTags, type PushRuleSchema, PyPI, type RecipeSnapshotSchema, type ReferenceSchema, type RegistryRepositorySchema, type RegistryRepositoryTagSchema, type RelatedEpicLinkSchema, type RelatedEpicLinkType, type RelatedEpicSchema, type RelationsExportStatusSchema, type ReleaseAssetLink, type ReleaseAssetSource, type ReleaseEvidence, type ReleaseLinkSchema, ReleaseLinks, type ReleaseSchema, type RemoveRepositoryFileOptions, type RemoveSidekiqQueueOptions, Repositories, type RepositoryBlobSchema, type RepositoryChangelogSchema, type RepositoryCompareSchema, type RepositoryContributorSchema, type RepositoryFileBlameSchema, type RepositoryFileExpandedSchema, type RepositoryFileSchema, RepositoryFiles, type RepositoryImportStatusSchema, type RepositoryStorageMoveSchema, type RepositorySubmoduleSchema, RepositorySubmodules, type RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, type ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, type ReviewAppSchema, RubyGems, type RunnerSchema, type RunnerToken, Runners, type SAMLGroupSchema, Search, SearchAdmin, type SearchCommitSchema, type SearchMigrationSchema, type SearchScopes, type SecureFileSchema, SecureFiles, type ServiceAccountAccessTokenSchema, type ServiceAccountSchema, ServiceAccounts, ServiceData, type ShowChangelogOptions, type ShowExpanded, type SidekickCompoundMetricsSchema, type SidekickJobStatsSchema, type SidekickProcessMetricsSchema, type SidekickQueueMetricsSchema, SidekiqMetrics, type SidekiqQueueStatus, SidekiqQueues, type SimpleGroupSchema, type SimpleLabelSchema, type SimpleMemberSchema, type SimpleProjectSchema, type SimpleSnippetSchema, type SimpleUserSchema, type SnippetNoteSchema, type SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, type SnippetSchema, type SnippetVisibility, Snippets, type StarredDashboardSchema, type StateEventSchema, type StatisticsSchema, type Sudo, type SuggestionSchema, Suggestions, type SupportedIntegration, type SystemHookTestResponse, SystemHooks, type TagSchema, type TagSignatureSchema, Tags, type TaskCompletionStatusSchema, type TemplateSchema, type TimeStatsSchema, type TodoAction, TodoLists, type TodoSchema, type TodoState, type TodoType, type TopicSchema, Topics, type UserActivitySchema, type UserAgentDetailSchema, type UserAssociationCountSchema, type UserCountSchema, UserCustomAttributes, type UserEmailSchema, UserEmails, type UserGPGKeySchema, UserGPGKeys, type UserImpersonationTokenSchema, UserImpersonationTokens, type UserMembershipSchema, type UserPreferenceSchema, type UserRunnerSchema, type UserSSHKeySchema, UserSSHKeys, type UserSchema, UserStarredMetricsDashboard, type UserStatusSchema, Users, type VariableFilter, type VariableSchema, type VariableType, type WebhookBaseNoteEventSchema, type WebhookBasePushEventSchema, type WebhookCommitNoteEventSchema, type WebhookDeploymentEventSchema, type WebhookDiffSchema, type WebhookEmojiEventSchema, type WebhookFeatureFlagEventSchema, type WebhookGroupMemberEventSchema, type WebhookIssueEventSchema, type WebhookIssueNoteEventSchema, type WebhookJobEventSchema, type WebhookLabelSchema, type WebhookMergeRequestEventSchema, type WebhookMergeRequestNoteEventSchema, type WebhookPipelineEventSchema, type WebhookPipelineSchema, type WebhookProjectSchema, type WebhookPushEventSchema, type WebhookReleaseEventSchema, type WebhookRepositorySchema, type WebhookSnippetNoteEventSchema, type WebhookSubGroupEventSchema, type WebhookTagEventSchema, type WebhookWikiEventSchema, type WeightEventSchema, type WikiAttachmentSchema, type WikiSchema, type X509SignatureSchema };