@gitbeaker/core 38.8.0 → 38.9.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 +1 -0
- package/dist/index.d.ts +6 -15
- package/dist/index.js +8 -27
- package/dist/index.mjs +8 -27
- package/dist/map.json +2 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -223,6 +223,7 @@ import { Gitlab } from '@gitbeaker/core';
|
|
|
223
223
|
<td align="center" valign="top" width="3.84%"><a href="https://github.com/tbazin"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/9104039?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Théis Bazin"/></td>
|
|
224
224
|
<td align="center" valign="top" width="3.84%"><a href="http://spencersalisbury.com/"><img src="https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/8053224?v=4&h=25&w=25&fit=cover&mask=circle&maxage=7d" alt="Spencer Salisbury"/></td>
|
|
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
|
+
<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>
|
|
226
227
|
</tr>
|
|
227
228
|
</p>
|
|
228
229
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3650,30 +3650,22 @@ declare class LicenseTemplates<C extends boolean = false> extends ResourceTempla
|
|
|
3650
3650
|
}
|
|
3651
3651
|
|
|
3652
3652
|
interface LintSchema extends Record<string, unknown> {
|
|
3653
|
-
|
|
3653
|
+
valid: boolean;
|
|
3654
|
+
merged_yaml?: string;
|
|
3654
3655
|
errors?: string[];
|
|
3655
3656
|
warnings?: string[];
|
|
3656
|
-
merged_yaml?: string;
|
|
3657
|
-
}
|
|
3658
|
-
interface ContextualLintSchema extends Omit<LintSchema, 'status'> {
|
|
3659
|
-
valid: boolean;
|
|
3660
3657
|
}
|
|
3661
3658
|
declare class Lint<C extends boolean = false> extends BaseResource<C> {
|
|
3662
3659
|
check<E extends boolean = false>(projectId: string | number, options: {
|
|
3663
3660
|
ref?: string;
|
|
3664
3661
|
includeJobs?: boolean;
|
|
3665
3662
|
dryRun?: boolean;
|
|
3666
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ContextualLintSchema, C, E, void>>;
|
|
3667
|
-
lint<E extends boolean = false>(content: string, options?: {
|
|
3668
|
-
includeJobs?: boolean;
|
|
3669
|
-
includeMergedYaml?: boolean;
|
|
3670
3663
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LintSchema, C, E, void>>;
|
|
3671
|
-
lint<E extends boolean = false>(content: string, options?: {
|
|
3672
|
-
projectId: string | number;
|
|
3664
|
+
lint<E extends boolean = false>(projectId: string | number, content: string, options?: {
|
|
3673
3665
|
ref?: string;
|
|
3674
3666
|
includeJobs?: boolean;
|
|
3675
3667
|
dryRun?: boolean;
|
|
3676
|
-
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<
|
|
3668
|
+
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<LintSchema, C, E, void>>;
|
|
3677
3669
|
}
|
|
3678
3670
|
|
|
3679
3671
|
interface MarkdownSchema extends Record<string, unknown> {
|
|
@@ -4704,10 +4696,9 @@ declare class ExternalStatusChecks<C extends boolean = false> extends BaseResour
|
|
|
4704
4696
|
name?: string;
|
|
4705
4697
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectExternalStatusCheckSchema, C, E, void>>;
|
|
4706
4698
|
remove<E extends boolean = false>(projectId: string | number, externalStatusCheckId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<void, C, E, void>>;
|
|
4707
|
-
set<E extends boolean = false>(projectId: string | number, mergerequestIId: number, sha: string,
|
|
4699
|
+
set<E extends boolean = false>(projectId: string | number, mergerequestIId: number, sha: string, externalStatusCheckId: number, options?: {
|
|
4708
4700
|
status?: 'passed' | 'failed';
|
|
4709
4701
|
} & Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectExternalStatusCheckSchema, C, E, void>>;
|
|
4710
|
-
show<E extends boolean = false>(projectId: string | number, mergerequestIId: number, sha: string, externalCheckStatusId: number, options?: Sudo & ShowExpanded<E>): Promise<GitlabAPIResponse<ProjectExternalStatusCheckSchema, C, E, void>>;
|
|
4711
4702
|
}
|
|
4712
4703
|
|
|
4713
4704
|
interface FeatureFlagStrategyScopeSchema {
|
|
@@ -7463,4 +7454,4 @@ declare class Gitlab<C extends boolean = false> extends BaseResource<C> {
|
|
|
7463
7454
|
constructor(options: BaseResourceOptions<C>);
|
|
7464
7455
|
}
|
|
7465
7456
|
|
|
7466
|
-
export { AcceptMergeRequestOptions, AccessLevel, AccessRequestSchema, AccessTokenSchema, AccessTokenScopes, AddMemeberOptions, AddResourceHookOptions, Agents, AlertManagement, AllAuditEventOptions, AllCommitsOptions, AllDeploymentsOptions, AllEpicsOptions, AllEventOptions, AllForksOptions, AllGroupProjectsOptions, AllGroupsOptions, AllIssueStatisticsOptions, AllIssuesOptions, AllIterationsOptions, AllMembersOptions, AllMergeRequestsOptions, AllMilestonesOptions, AllPackageOptions, AllPersonalAccessTokenOptions, AllPipelinesOptions, AllProjectsOptions, AllProvisionedUsersOptions, AllRepositoryTreesOptions, AllRunnersOptions, AllSearchOptions, AllUsersOptions, AllowedAgentSchema, ApplicationAppearance, ApplicationAppearanceSchema, ApplicationPlanLimitOptions, ApplicationPlanLimitSchema, ApplicationPlanLimits, ApplicationSchema, ApplicationSettings, ApplicationSettingsSchema, ApplicationStatisticSchema, ApplicationStatistics, Applications, ApprovalRuleSchema, ApprovalStateSchema, ApprovedByEntity, ArchiveType, ArtifactSchema, AsStream, AuditEventSchema, AuditEvents, Avatar, AvatarSchema, AwardEmojiSchema, BadgeSchema, BaseExternalStatusCheckSchema, BasePaginationRequestOptions, BaseRequestOptions, BillableGroupMemberMembershipSchema, BillableGroupMemberSchema, BlobSchema, BranchSchema, Branches, BridgeSchema, BroadcastMessageOptions, BroadcastMessageSchema, BroadcastMessages, BurndownChartEventSchema, CICDVariableSchema, Camelize, ClusterAgentSchema, ClusterAgentTokenSchema, CommitAction, CommitCommentSchema, CommitDiffSchema, CommitDiscussionNoteSchema, CommitDiscussionSchema, CommitDiscussions, CommitReferenceSchema, CommitSchema, CommitSignatureSchema, CommitStatusSchema, CommitablePipelineStatus, Commits, Composer, ComposerPackageMetadataSchema, ComposerV1BaseRepositorySchema, ComposerV1PackagesSchema, ComposerV2BaseRepositorySchema, Conan, CondensedBadgeSchema, CondensedCommitCommentSchema, CondensedCommitSchema, CondensedDeployKeySchema, CondensedEnvironmentSchema, CondensedEpicLinkSchema, CondensedGroupSchema, CondensedJobSchema, CondensedMemberSchema, CondensedMergeRequestSchema, CondensedNamespaceSchema, CondensedPipelineScheduleSchema, CondensedProjectSchema, CondensedRegistryRepositorySchema, CondensedRegistryRepositoryTagSchema, ContainerRegistry, ContextualLintSchema, CreateAndEditPushRuleOptions, CreateApprovalRuleOptions, CreateCommitOptions, CreateEpicOptions, CreateFeatureFlagOptions, CreateGeoNodeOptions, CreateGroupOptions, CreateIssueOptions, CreateMergeRequestOptions, CreateProjectOptions, CreateProtectedBranchOptions, CreateRepositoryFileOptions, CreateRunnerOptions, CreateSnippetOptions, CreateSystemHook, CreateUserCIRunnerOptions, CreateUserOptions, CustomAttributeSchema, CustomSettingLevelEmailEvents, DORA4MetricSchema, DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, DeployKeyProjectsSchema, DeployKeySchema, DeployKeys, DeployTokenSchema, DeployTokenScope, DeployTokens, DeployableSchema, DeploymentApprovalStatusSchema, DeploymentSchema, DeploymentStatus, Deployments, DiffRefsSchema, DiscussionNotePositionBaseSchema, DiscussionNotePositionImageSchema, DiscussionNotePositionOptions, DiscussionNotePositionSchema, DiscussionNotePositionTextSchema, DiscussionNoteSchema, DiscussionSchema, DockerfileTemplates, EditApprovalRuleOptions, EditBadgeOptions, EditChangelogOptions, EditConfigurationOptions, EditEpicOptions, EditFeatureFlagOptions, EditGeoNodeOptions, EditGroupOptions, EditIssueOptions, EditMergeRequestOptions, EditNotificationSettingsOptions, EditPipelineStatusOptions, EditProjectOptions, EditProtectedBranchOptions, EditRepositoryFileOptions, EditResourceHookOptions, EditRunnerOptions, EditSnippetOptions, EditUserOptions, EnvironmentSchema, EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssueSchema, EpicIssues, EpicLabelEvents, EpicLinkSchema, EpicLinks, EpicNoteSchema, EpicNotes, EpicSchema, EpicTodoSchema, Epics, ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, ErrorTrackingSettingsSchema, EventSchema, Events, ExpandedCommitSchema, ExpandedDeployKeySchema, ExpandedEpicIssueSchema, ExpandedGroupSchema, ExpandedHookSchema, ExpandedIssueLinkSchema, ExpandedMergeRequestDiffVersionsSchema, ExpandedMergeRequestSchema, ExpandedPackageSchema, ExpandedPipelineScheduleSchema, ExpandedPipelineSchema, ExpandedRepositoryImportStatusSchema, ExpandedResponse, ExpandedRunnerSchema, ExpandedSnippetSchema, ExpandedUserSchema, ExperimentGateSchema, ExperimentSchema, Experiments, ExportStatusSchema, ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, FailedRelationSchema, FeatureFlagSchema, FeatureFlagStrategySchema, FeatureFlagStrategyScopeSchema, FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, ForkProjectOptions, FreezePeriodSchema, FreezePeriods, GPGSignatureSchema, GeoNodeFailureSchema, GeoNodeSchema, GeoNodeStatusSchema, GeoNodes, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabAPIResponse, GitlabPages, GoProxy, GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupAnalyticsIssuesCountSchema, GroupAnalyticsMRsCountSchema, GroupAnalyticsNewMembersCountSchema, GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSCIMIdentities, GroupSchema, GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, GrouptIssueBoardSchema, Helm, HookSchema, IdentitySchema, ImpersonationTokenScope, ImpersonationTokenState, Import, ImportStatusSchema, IncludeInherited, InstanceLevelCICDVariables, IntegrationSchema, Integrations, InvitationSchema, IsForm, IssueAwardEmojis, IssueBoardListSchema, IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNoteSchema, IssueNotes, IssueSchema, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, IterationEventSchema, IterationSchema, JobArtifacts, JobKubernetesAgentsSchema, JobSchema, JobScope, JobVariableAttributeOption, Jobs, KeySchema, Keys, KeysetPagination, KeysetPaginationRequestOptions, LabelEventSchema, LabelSchema, License, LicenseSchema, LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, LintSchema, Markdown, MarkdownSchema, Maven, MemberRoleSchema, MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestContextCommitSchema, MergeRequestContextCommits, MergeRequestDiffSchema, MergeRequestDiffVersionsSchema, MergeRequestDiscussionNotePositionOptions, MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, MergeRequestDraftNoteSchema, MergeRequestDraftNotes, MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, MergeRequestLevelApprovalRuleSchema, MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, MergeRequestNoteSchema, MergeRequestNotes, MergeRequestRebaseSchema, MergeRequestSchema, MergeRequestTodoSchema, MergeRequests, MergeTrainSchema, MergeTrains, Metadata, MetadataSchema, MetricImageSchema, MetricType, MigrationEntityFailure, MigrationEntityOptions, MigrationEntitySchema, MigrationStatus, MigrationStatusSchema, Migrations, MilestoneEventSchema, MilestoneSchema, MissingSignatureSchema, NPM, NPMPackageMetadataSchema, NPMVersionSchema, NamespaceSchema, Namespaces, NoteSchema, NotificationSettingLevel, NotificationSettingSchema, NotificationSettings, NuGet, NuGetPackageIndexSchema, NuGetResourceSchema, NuGetSearchResultSchema, NuGetSearchResultsSchema, NuGetServiceIndexSchema, NuGetServiceMetadataItemSchema, NuGetServiceMetadataSchema, NuGetServiceMetadataVersionSchema, OffsetPagination, OffsetPaginationRequestOptions, OverrodeGroupMemberSchema, PackageFileSchema, PackageMetadata, PackageRegistry, PackageRegistrySchema, PackageSchema, PackageSnapshotSchema, Packages, PagesDomainSchema, PagesDomains, PaginatedResponse, PaginationTypes, PersonalAccessTokenSchema, PersonalAccessTokenScopes, PersonalAccessTokens, PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, PipelineSchema, PipelineStatus, PipelineTestCaseSchema, PipelineTestReportSchema, PipelineTestReportSummarySchema, PipelineTestSuiteSchema, PipelineTriggerTokenSchema, PipelineTriggerTokens, PipelineVariableSchema, Pipelines, ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliasSchema, ProjectAliases, ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectExternalStatusCheckSchema, ProjectFileUploadSchema, ProjectHookSchema, ProjectHooks, ProjectImportExport, ProjectInvitations, ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, ProjectLevelApprovalRuleSchema, ProjectLevelMergeRequestApprovalSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrorSchema, ProjectRemoteMirrors, ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStarrerSchema, ProjectStatisticSchema, ProjectStatistics, ProjectStatisticsSchema, ProjectStoragePath, ProjectTemplateSchema, ProjectTemplateType, ProjectTemplates, ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, ProjectVulnerabilitySchema, ProjectWikis, Projects, ProtectedBranchAccessLevel, ProtectedBranchSchema, ProtectedBranches, ProtectedEnvironmentAccessLevel, ProtectedEnvironmentAccessLevelEntity, ProtectedEnvironmentAccessLevelSummarySchema, ProtectedEnvironmentSchema, ProtectedTagAccessLevel, ProtectedTagAccessLevelEntity, ProtectedTagAccessLevelSummarySchema, ProtectedTagSchema, ProtectedTags, PushRuleSchema, PyPI, RecipeSnapshotSchema, ReferenceSchema, RegistryRepositorySchema, RegistryRepositoryTagSchema, RelatedEpicLinkSchema, RelatedEpicLinkType, RelatedEpicSchema, RelationsExportStatusSchema, ReleaseAssetLink, ReleaseAssetSource, ReleaseEvidence, ReleaseLinkSchema, ReleaseLinks, ReleaseSchema, RemoveRepositoryFileOptions, RemoveSidekiqQueueOptions, Repositories, RepositoryBlobSchema, RepositoryChangelogSchema, RepositoryCompareSchema, RepositoryContributorSchema, RepositoryFileBlameSchema, RepositoryFileExpandedSchema, RepositoryFileSchema, RepositoryFiles, RepositoryImportStatusSchema, RepositoryStorageMoveSchema, RepositorySubmoduleSchema, RepositorySubmodules, RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, ReviewAppSchema, RubyGems, RunnerSchema, RunnerToken, Runners, Search, SearchScopes, SecureFileSchema, SecureFiles, ServiceData, ShowChangelogOptions, ShowExpanded, SidekickCompoundMetricsSchema, SidekickJobStatsSchema, SidekickProcessMetricsSchema, SidekickQueueMetricsSchema, SidekiqMetrics, SidekiqQueueStatus, SidekiqQueues, SimpleGroupSchema, SimpleMemberSchema, SimpleProjectSchema, SimpleSnippetSchema, SnippetNoteSchema, SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, SnippetSchema, SnippetVisibility, Snippets, StarredDashboardSchema, StateEventSchema, StatisticsSchema, Sudo, SuggestionSchema, Suggestions, SupportedIntegration, SystemHookTestResponse, SystemHooks, TagSchema, TagSignatureSchema, Tags, TaskCompletionStatusSchema, TemplateSchema, TimeStatsSchema, TodoAction, TodoLists, TodoSchema, TodoState, TodoType, TopicSchema, Topics, UserActivitySchema, UserAgentDetailSchema, UserAssociationCountSchema, UserCountSchema, UserCustomAttributes, UserEmailSchema, UserEmails, UserGPGKeySchema, UserGPGKeys, UserImpersonationTokenSchema, UserImpersonationTokens, UserMembershipSchema, UserPreferenceSchema, UserRunnerSchema, UserSSHKeySchema, UserSSHKeys, UserSchema, UserStarredMetricsDashboard, UserStatusSchema, Users, VariableFilter, VariableSchema, VariableType, WeightEventSchema, WikiAttachmentSchema, WikiSchema, X509SignatureSchema };
|
|
7457
|
+
export { AcceptMergeRequestOptions, AccessLevel, AccessRequestSchema, AccessTokenSchema, AccessTokenScopes, AddMemeberOptions, AddResourceHookOptions, Agents, AlertManagement, AllAuditEventOptions, AllCommitsOptions, AllDeploymentsOptions, AllEpicsOptions, AllEventOptions, AllForksOptions, AllGroupProjectsOptions, AllGroupsOptions, AllIssueStatisticsOptions, AllIssuesOptions, AllIterationsOptions, AllMembersOptions, AllMergeRequestsOptions, AllMilestonesOptions, AllPackageOptions, AllPersonalAccessTokenOptions, AllPipelinesOptions, AllProjectsOptions, AllProvisionedUsersOptions, AllRepositoryTreesOptions, AllRunnersOptions, AllSearchOptions, AllUsersOptions, AllowedAgentSchema, ApplicationAppearance, ApplicationAppearanceSchema, ApplicationPlanLimitOptions, ApplicationPlanLimitSchema, ApplicationPlanLimits, ApplicationSchema, ApplicationSettings, ApplicationSettingsSchema, ApplicationStatisticSchema, ApplicationStatistics, Applications, ApprovalRuleSchema, ApprovalStateSchema, ApprovedByEntity, ArchiveType, ArtifactSchema, AsStream, AuditEventSchema, AuditEvents, Avatar, AvatarSchema, AwardEmojiSchema, BadgeSchema, BaseExternalStatusCheckSchema, BasePaginationRequestOptions, BaseRequestOptions, BillableGroupMemberMembershipSchema, BillableGroupMemberSchema, BlobSchema, BranchSchema, Branches, BridgeSchema, BroadcastMessageOptions, BroadcastMessageSchema, BroadcastMessages, BurndownChartEventSchema, CICDVariableSchema, Camelize, ClusterAgentSchema, ClusterAgentTokenSchema, CommitAction, CommitCommentSchema, CommitDiffSchema, CommitDiscussionNoteSchema, CommitDiscussionSchema, CommitDiscussions, CommitReferenceSchema, CommitSchema, CommitSignatureSchema, CommitStatusSchema, CommitablePipelineStatus, Commits, Composer, ComposerPackageMetadataSchema, ComposerV1BaseRepositorySchema, ComposerV1PackagesSchema, ComposerV2BaseRepositorySchema, Conan, CondensedBadgeSchema, CondensedCommitCommentSchema, CondensedCommitSchema, CondensedDeployKeySchema, CondensedEnvironmentSchema, CondensedEpicLinkSchema, CondensedGroupSchema, CondensedJobSchema, CondensedMemberSchema, CondensedMergeRequestSchema, CondensedNamespaceSchema, CondensedPipelineScheduleSchema, CondensedProjectSchema, CondensedRegistryRepositorySchema, CondensedRegistryRepositoryTagSchema, ContainerRegistry, CreateAndEditPushRuleOptions, CreateApprovalRuleOptions, CreateCommitOptions, CreateEpicOptions, CreateFeatureFlagOptions, CreateGeoNodeOptions, CreateGroupOptions, CreateIssueOptions, CreateMergeRequestOptions, CreateProjectOptions, CreateProtectedBranchOptions, CreateRepositoryFileOptions, CreateRunnerOptions, CreateSnippetOptions, CreateSystemHook, CreateUserCIRunnerOptions, CreateUserOptions, CustomAttributeSchema, CustomSettingLevelEmailEvents, DORA4MetricSchema, DashboardAnnotationSchema, DashboardAnnotations, Debian, DependencyProxy, DeployKeyProjectsSchema, DeployKeySchema, DeployKeys, DeployTokenSchema, DeployTokenScope, DeployTokens, DeployableSchema, DeploymentApprovalStatusSchema, DeploymentSchema, DeploymentStatus, Deployments, DiffRefsSchema, DiscussionNotePositionBaseSchema, DiscussionNotePositionImageSchema, DiscussionNotePositionOptions, DiscussionNotePositionSchema, DiscussionNotePositionTextSchema, DiscussionNoteSchema, DiscussionSchema, DockerfileTemplates, EditApprovalRuleOptions, EditBadgeOptions, EditChangelogOptions, EditConfigurationOptions, EditEpicOptions, EditFeatureFlagOptions, EditGeoNodeOptions, EditGroupOptions, EditIssueOptions, EditMergeRequestOptions, EditNotificationSettingsOptions, EditPipelineStatusOptions, EditProjectOptions, EditProtectedBranchOptions, EditRepositoryFileOptions, EditResourceHookOptions, EditRunnerOptions, EditSnippetOptions, EditUserOptions, EnvironmentSchema, EnvironmentTier, Environments, EpicAwardEmojis, EpicDiscussions, EpicIssueSchema, EpicIssues, EpicLabelEvents, EpicLinkSchema, EpicLinks, EpicNoteSchema, EpicNotes, EpicSchema, EpicTodoSchema, Epics, ErrorTrackingClientKeySchema, ErrorTrackingClientKeys, ErrorTrackingSettings, ErrorTrackingSettingsSchema, EventSchema, Events, ExpandedCommitSchema, ExpandedDeployKeySchema, ExpandedEpicIssueSchema, ExpandedGroupSchema, ExpandedHookSchema, ExpandedIssueLinkSchema, ExpandedMergeRequestDiffVersionsSchema, ExpandedMergeRequestSchema, ExpandedPackageSchema, ExpandedPipelineScheduleSchema, ExpandedPipelineSchema, ExpandedRepositoryImportStatusSchema, ExpandedResponse, ExpandedRunnerSchema, ExpandedSnippetSchema, ExpandedUserSchema, ExperimentGateSchema, ExperimentSchema, Experiments, ExportStatusSchema, ExternalStatusCheckProtectedBranchesSchema, ExternalStatusChecks, FailedRelationSchema, FeatureFlagSchema, FeatureFlagStrategySchema, FeatureFlagStrategyScopeSchema, FeatureFlagUserListSchema, FeatureFlagUserLists, FeatureFlags, ForkProjectOptions, FreezePeriodSchema, FreezePeriods, GPGSignatureSchema, GeoNodeFailureSchema, GeoNodeSchema, GeoNodeStatusSchema, GeoNodes, GitLabCIYMLTemplates, GitignoreTemplates, Gitlab, GitlabAPIResponse, GitlabPages, GoProxy, GoProxyModuleVersionSchema, GroupAccessRequests, GroupAccessTokens, GroupActivityAnalytics, GroupAnalyticsIssuesCountSchema, GroupAnalyticsMRsCountSchema, GroupAnalyticsNewMembersCountSchema, GroupBadgeSchema, GroupBadges, GroupCustomAttributes, GroupDORA4Metrics, GroupHookSchema, GroupHooks, GroupImportExports, GroupInvitations, GroupIssueBoards, GroupIterations, GroupLDAPLinks, GroupLabels, GroupMemberRoles, GroupMembers, GroupMilestones, GroupProtectedEnvironments, GroupPushRules, GroupRelationExportStatusSchema, GroupRelationExports, GroupReleases, GroupRepositoryStorageMoveSchema, GroupRepositoryStorageMoves, GroupSAMLIdentities, GroupSCIMIdentities, GroupSchema, GroupStatisticsSchema, GroupVariables, GroupWikis, Groups, GrouptIssueBoardSchema, Helm, HookSchema, IdentitySchema, ImpersonationTokenScope, ImpersonationTokenState, Import, ImportStatusSchema, IncludeInherited, InstanceLevelCICDVariables, IntegrationSchema, Integrations, InvitationSchema, IsForm, IssueAwardEmojis, IssueBoardListSchema, IssueBoardSchema, IssueDiscussions, IssueIterationEvents, IssueLabelEvents, IssueLinkSchema, IssueLinks, IssueMilestoneEvents, IssueNoteAwardEmojis, IssueNoteSchema, IssueNotes, IssueSchema, IssueStateEvents, IssueWeightEvents, Issues, IssuesStatistics, IterationEventSchema, IterationSchema, JobArtifacts, JobKubernetesAgentsSchema, JobSchema, JobScope, JobVariableAttributeOption, Jobs, KeySchema, Keys, KeysetPagination, KeysetPaginationRequestOptions, LabelEventSchema, LabelSchema, License, LicenseSchema, LicenseTemplateSchema, LicenseTemplates, LinkedEpics, Lint, LintSchema, Markdown, MarkdownSchema, Maven, MemberRoleSchema, MemberSchema, MergeRequestApprovals, MergeRequestAwardEmojis, MergeRequestContextCommitSchema, MergeRequestContextCommits, MergeRequestDiffSchema, MergeRequestDiffVersionsSchema, MergeRequestDiscussionNotePositionOptions, MergeRequestDiscussionNoteSchema, MergeRequestDiscussions, MergeRequestDraftNoteSchema, MergeRequestDraftNotes, MergeRequestExternalStatusCheckSchema, MergeRequestLabelEvents, MergeRequestLevelApprovalRuleSchema, MergeRequestLevelMergeRequestApprovalSchema, MergeRequestMilestoneEvents, MergeRequestNoteAwardEmojis, MergeRequestNoteSchema, MergeRequestNotes, MergeRequestRebaseSchema, MergeRequestSchema, MergeRequestTodoSchema, MergeRequests, MergeTrainSchema, MergeTrains, Metadata, MetadataSchema, MetricImageSchema, MetricType, MigrationEntityFailure, MigrationEntityOptions, MigrationEntitySchema, MigrationStatus, MigrationStatusSchema, Migrations, MilestoneEventSchema, MilestoneSchema, MissingSignatureSchema, NPM, NPMPackageMetadataSchema, NPMVersionSchema, NamespaceSchema, Namespaces, NoteSchema, NotificationSettingLevel, NotificationSettingSchema, NotificationSettings, NuGet, NuGetPackageIndexSchema, NuGetResourceSchema, NuGetSearchResultSchema, NuGetSearchResultsSchema, NuGetServiceIndexSchema, NuGetServiceMetadataItemSchema, NuGetServiceMetadataSchema, NuGetServiceMetadataVersionSchema, OffsetPagination, OffsetPaginationRequestOptions, OverrodeGroupMemberSchema, PackageFileSchema, PackageMetadata, PackageRegistry, PackageRegistrySchema, PackageSchema, PackageSnapshotSchema, Packages, PagesDomainSchema, PagesDomains, PaginatedResponse, PaginationTypes, PersonalAccessTokenSchema, PersonalAccessTokenScopes, PersonalAccessTokens, PipelineScheduleSchema, PipelineScheduleVariables, PipelineSchedules, PipelineSchema, PipelineStatus, PipelineTestCaseSchema, PipelineTestReportSchema, PipelineTestReportSummarySchema, PipelineTestSuiteSchema, PipelineTriggerTokenSchema, PipelineTriggerTokens, PipelineVariableSchema, Pipelines, ProcessMetricSchema, ProductAnalytics, ProjectAccessRequests, ProjectAccessTokens, ProjectAliasSchema, ProjectAliases, ProjectBadgeSchema, ProjectBadges, ProjectCustomAttributes, ProjectDORA4Metrics, ProjectExternalStatusCheckSchema, ProjectFileUploadSchema, ProjectHookSchema, ProjectHooks, ProjectImportExport, ProjectInvitations, ProjectIssueBoardSchema, ProjectIssueBoards, ProjectIterations, ProjectLabels, ProjectLevelApprovalRuleSchema, ProjectLevelMergeRequestApprovalSchema, ProjectMembers, ProjectMilestones, ProjectProtectedEnvironments, ProjectPushRules, ProjectRelationsExport, ProjectReleases, ProjectRemoteMirrorSchema, ProjectRemoteMirrors, ProjectRepositoryStorageMoveSchema, ProjectRepositoryStorageMoves, ProjectSchema, ProjectSnippetAwardEmojis, ProjectSnippetDiscussions, ProjectSnippetNotes, ProjectSnippets, ProjectStarrerSchema, ProjectStatisticSchema, ProjectStatistics, ProjectStatisticsSchema, ProjectStoragePath, ProjectTemplateSchema, ProjectTemplateType, ProjectTemplates, ProjectVariableSchema, ProjectVariables, ProjectVulnerabilities, ProjectVulnerabilitySchema, ProjectWikis, Projects, ProtectedBranchAccessLevel, ProtectedBranchSchema, ProtectedBranches, ProtectedEnvironmentAccessLevel, ProtectedEnvironmentAccessLevelEntity, ProtectedEnvironmentAccessLevelSummarySchema, ProtectedEnvironmentSchema, ProtectedTagAccessLevel, ProtectedTagAccessLevelEntity, ProtectedTagAccessLevelSummarySchema, ProtectedTagSchema, ProtectedTags, PushRuleSchema, PyPI, RecipeSnapshotSchema, ReferenceSchema, RegistryRepositorySchema, RegistryRepositoryTagSchema, RelatedEpicLinkSchema, RelatedEpicLinkType, RelatedEpicSchema, RelationsExportStatusSchema, ReleaseAssetLink, ReleaseAssetSource, ReleaseEvidence, ReleaseLinkSchema, ReleaseLinks, ReleaseSchema, RemoveRepositoryFileOptions, RemoveSidekiqQueueOptions, Repositories, RepositoryBlobSchema, RepositoryChangelogSchema, RepositoryCompareSchema, RepositoryContributorSchema, RepositoryFileBlameSchema, RepositoryFileExpandedSchema, RepositoryFileSchema, RepositoryFiles, RepositoryImportStatusSchema, RepositoryStorageMoveSchema, RepositorySubmoduleSchema, RepositorySubmodules, RepositoryTreeSchema, ResourceAccessRequests, ResourceAccessTokens, ResourceAwardEmojis, ResourceBadges, ResourceCustomAttributes, ResourceDORA4Metrics, ResourceDiscussions, ResourceGroupSchema, ResourceGroups, ResourceHooks, ResourceInvitations, ResourceIssueBoards, ResourceIterationEvents, ResourceIterations, ResourceLabelEvents, ResourceLabels, ResourceMembers, ResourceMilestoneEvents, ResourceMilestones, ResourceNoteAwardEmojis, ResourceNotes, ResourceProtectedEnvironments, ResourcePushRules, ResourceRepositoryStorageMoves, ResourceStateEvents, ResourceTemplates, ResourceVariables, ResourceWeightEvents, ResourceWikis, ReviewAppSchema, RubyGems, RunnerSchema, RunnerToken, Runners, Search, SearchScopes, SecureFileSchema, SecureFiles, ServiceData, ShowChangelogOptions, ShowExpanded, SidekickCompoundMetricsSchema, SidekickJobStatsSchema, SidekickProcessMetricsSchema, SidekickQueueMetricsSchema, SidekiqMetrics, SidekiqQueueStatus, SidekiqQueues, SimpleGroupSchema, SimpleMemberSchema, SimpleProjectSchema, SimpleSnippetSchema, SnippetNoteSchema, SnippetRepositoryStorageMoveSchema, SnippetRepositoryStorageMoves, SnippetSchema, SnippetVisibility, Snippets, StarredDashboardSchema, StateEventSchema, StatisticsSchema, Sudo, SuggestionSchema, Suggestions, SupportedIntegration, SystemHookTestResponse, SystemHooks, TagSchema, TagSignatureSchema, Tags, TaskCompletionStatusSchema, TemplateSchema, TimeStatsSchema, TodoAction, TodoLists, TodoSchema, TodoState, TodoType, TopicSchema, Topics, UserActivitySchema, UserAgentDetailSchema, UserAssociationCountSchema, UserCountSchema, UserCustomAttributes, UserEmailSchema, UserEmails, UserGPGKeySchema, UserGPGKeys, UserImpersonationTokenSchema, UserImpersonationTokens, UserMembershipSchema, UserPreferenceSchema, UserRunnerSchema, UserSSHKeySchema, UserSSHKeys, UserSchema, UserStarredMetricsDashboard, UserStatusSchema, Users, VariableFilter, VariableSchema, VariableType, WeightEventSchema, WikiAttachmentSchema, WikiSchema, X509SignatureSchema };
|
package/dist/index.js
CHANGED
|
@@ -1995,20 +1995,12 @@ var LicenseTemplates = class extends ResourceTemplates {
|
|
|
1995
1995
|
};
|
|
1996
1996
|
var Lint = class extends requesterUtils.BaseResource {
|
|
1997
1997
|
check(projectId, options) {
|
|
1998
|
-
return RequestHelper.get()(
|
|
1999
|
-
this,
|
|
2000
|
-
endpoint`projects/${projectId}/ci/lint`,
|
|
2001
|
-
options
|
|
2002
|
-
);
|
|
1998
|
+
return RequestHelper.get()(this, endpoint`projects/${projectId}/ci/lint`, options);
|
|
2003
1999
|
}
|
|
2004
|
-
lint(content, {
|
|
2005
|
-
projectId
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
const prefix = projectId ? endpoint`projects/${projectId}/` : "";
|
|
2009
|
-
return RequestHelper.post()(this, `${prefix}ci/lint`, {
|
|
2010
|
-
content,
|
|
2011
|
-
...options
|
|
2000
|
+
lint(projectId, content, options) {
|
|
2001
|
+
return RequestHelper.post()(this, endpoint`projects/${projectId}/ci/lint`, {
|
|
2002
|
+
...options,
|
|
2003
|
+
content
|
|
2012
2004
|
});
|
|
2013
2005
|
}
|
|
2014
2006
|
};
|
|
@@ -3025,24 +3017,13 @@ var ExternalStatusChecks = class extends requesterUtils.BaseResource {
|
|
|
3025
3017
|
options
|
|
3026
3018
|
);
|
|
3027
3019
|
}
|
|
3028
|
-
set(projectId, mergerequestIId, sha,
|
|
3020
|
+
set(projectId, mergerequestIId, sha, externalStatusCheckId, options) {
|
|
3029
3021
|
return RequestHelper.post()(
|
|
3030
3022
|
this,
|
|
3031
3023
|
endpoint`projects/${projectId}/merge_requests/${mergerequestIId}/status_check_responses`,
|
|
3032
3024
|
{
|
|
3033
3025
|
sha,
|
|
3034
|
-
|
|
3035
|
-
...options
|
|
3036
|
-
}
|
|
3037
|
-
);
|
|
3038
|
-
}
|
|
3039
|
-
show(projectId, mergerequestIId, sha, externalCheckStatusId, options) {
|
|
3040
|
-
return RequestHelper.post()(
|
|
3041
|
-
this,
|
|
3042
|
-
endpoint`projects/${projectId}/merge_requests/${mergerequestIId}/status_check_responses`,
|
|
3043
|
-
{
|
|
3044
|
-
sha,
|
|
3045
|
-
externalCheckStatusId,
|
|
3026
|
+
externalStatusCheckId,
|
|
3046
3027
|
...options
|
|
3047
3028
|
}
|
|
3048
3029
|
);
|
|
@@ -5842,7 +5823,7 @@ var GroupAccessRequests = class extends ResourceAccessRequests {
|
|
|
5842
5823
|
// src/resources/GroupAccessTokens.ts
|
|
5843
5824
|
var GroupAccessTokens = class extends ResourceAccessTokens {
|
|
5844
5825
|
constructor(options) {
|
|
5845
|
-
super("
|
|
5826
|
+
super("groups", options);
|
|
5846
5827
|
}
|
|
5847
5828
|
};
|
|
5848
5829
|
var GroupActivityAnalytics = class extends requesterUtils.BaseResource {
|
package/dist/index.mjs
CHANGED
|
@@ -1989,20 +1989,12 @@ var LicenseTemplates = class extends ResourceTemplates {
|
|
|
1989
1989
|
};
|
|
1990
1990
|
var Lint = class extends BaseResource {
|
|
1991
1991
|
check(projectId, options) {
|
|
1992
|
-
return RequestHelper.get()(
|
|
1993
|
-
this,
|
|
1994
|
-
endpoint`projects/${projectId}/ci/lint`,
|
|
1995
|
-
options
|
|
1996
|
-
);
|
|
1992
|
+
return RequestHelper.get()(this, endpoint`projects/${projectId}/ci/lint`, options);
|
|
1997
1993
|
}
|
|
1998
|
-
lint(content, {
|
|
1999
|
-
projectId
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
const prefix = projectId ? endpoint`projects/${projectId}/` : "";
|
|
2003
|
-
return RequestHelper.post()(this, `${prefix}ci/lint`, {
|
|
2004
|
-
content,
|
|
2005
|
-
...options
|
|
1994
|
+
lint(projectId, content, options) {
|
|
1995
|
+
return RequestHelper.post()(this, endpoint`projects/${projectId}/ci/lint`, {
|
|
1996
|
+
...options,
|
|
1997
|
+
content
|
|
2006
1998
|
});
|
|
2007
1999
|
}
|
|
2008
2000
|
};
|
|
@@ -3019,24 +3011,13 @@ var ExternalStatusChecks = class extends BaseResource {
|
|
|
3019
3011
|
options
|
|
3020
3012
|
);
|
|
3021
3013
|
}
|
|
3022
|
-
set(projectId, mergerequestIId, sha,
|
|
3014
|
+
set(projectId, mergerequestIId, sha, externalStatusCheckId, options) {
|
|
3023
3015
|
return RequestHelper.post()(
|
|
3024
3016
|
this,
|
|
3025
3017
|
endpoint`projects/${projectId}/merge_requests/${mergerequestIId}/status_check_responses`,
|
|
3026
3018
|
{
|
|
3027
3019
|
sha,
|
|
3028
|
-
|
|
3029
|
-
...options
|
|
3030
|
-
}
|
|
3031
|
-
);
|
|
3032
|
-
}
|
|
3033
|
-
show(projectId, mergerequestIId, sha, externalCheckStatusId, options) {
|
|
3034
|
-
return RequestHelper.post()(
|
|
3035
|
-
this,
|
|
3036
|
-
endpoint`projects/${projectId}/merge_requests/${mergerequestIId}/status_check_responses`,
|
|
3037
|
-
{
|
|
3038
|
-
sha,
|
|
3039
|
-
externalCheckStatusId,
|
|
3020
|
+
externalStatusCheckId,
|
|
3040
3021
|
...options
|
|
3041
3022
|
}
|
|
3042
3023
|
);
|
|
@@ -5836,7 +5817,7 @@ var GroupAccessRequests = class extends ResourceAccessRequests {
|
|
|
5836
5817
|
// src/resources/GroupAccessTokens.ts
|
|
5837
5818
|
var GroupAccessTokens = class extends ResourceAccessTokens {
|
|
5838
5819
|
constructor(options) {
|
|
5839
|
-
super("
|
|
5820
|
+
super("groups", options);
|
|
5840
5821
|
}
|
|
5841
5822
|
};
|
|
5842
5823
|
var GroupActivityAnalytics = class extends BaseResource {
|
package/dist/map.json
CHANGED
|
@@ -1188,6 +1188,7 @@
|
|
|
1188
1188
|
{
|
|
1189
1189
|
"name": "lint",
|
|
1190
1190
|
"args": [
|
|
1191
|
+
"projectId",
|
|
1191
1192
|
"content"
|
|
1192
1193
|
]
|
|
1193
1194
|
}
|
|
@@ -2542,16 +2543,7 @@
|
|
|
2542
2543
|
"projectId",
|
|
2543
2544
|
"mergerequestIId",
|
|
2544
2545
|
"sha",
|
|
2545
|
-
"
|
|
2546
|
-
]
|
|
2547
|
-
},
|
|
2548
|
-
{
|
|
2549
|
-
"name": "show",
|
|
2550
|
-
"args": [
|
|
2551
|
-
"projectId",
|
|
2552
|
-
"mergerequestIId",
|
|
2553
|
-
"sha",
|
|
2554
|
-
"externalCheckStatusId"
|
|
2546
|
+
"externalStatusCheckId"
|
|
2555
2547
|
]
|
|
2556
2548
|
}
|
|
2557
2549
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbeaker/core",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.9.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": "^38.
|
|
58
|
+
"@gitbeaker/requester-utils": "^38.9.0",
|
|
59
59
|
"qs": "^6.11.1",
|
|
60
60
|
"xcase": "^2.0.1"
|
|
61
61
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"tsx": "^3.12.6",
|
|
67
67
|
"typescript": "^5.0.4"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "853426564867bc77e42f175aed7ea9903be1bfdc"
|
|
70
70
|
}
|