@gitbeaker/core
Advanced tools
Comparing version 23.5.0 to 23.6.0
@@ -0,1 +1,24 @@ | ||
# v24.0.0 (Mon Sep 28 2020) | ||
#### 💥 Breaking Change | ||
- Merge branch 'restructure' into backitup [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- Restructing the requester utils and update the related typings [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- Updating core deps [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- Merge branch 'ts-node' into backitup [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- Update ts-node [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- Updating terser usage to be only on the browser release [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@jdalrymple](https://github.com/jdalrymple)) | ||
- chore(deps-dev): bump typescript from 3.9.7 to 4.0.3 [#1163](https://github.com/jdalrymple/gitbeaker/pull/1163) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot])) | ||
#### 🔩 Dependency Updates | ||
- chore(deps-dev): bump rollup-plugin-terser from 6.1.0 to 7.0.0 [#1058](https://github.com/jdalrymple/gitbeaker/pull/1058) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]) [@jdalrymple](https://github.com/jdalrymple)) | ||
#### Authors: 2 | ||
- [@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]) | ||
- Justin Dalrymple ([@jdalrymple](https://github.com/jdalrymple)) | ||
--- | ||
# v23.4.0 (Sun Jul 12 2020) | ||
@@ -2,0 +25,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"ApplicationSettings":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"edit","args":[]}],"Branches":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId","branchName","ref"]},{"name":"protect","args":["projectId","branchName"]},{"name":"remove","args":["projectId","branchName"]},{"name":"show","args":["projectId","branchName"]},{"name":"unprotect","args":["projectId","branchName"]}],"BroadcastMessages":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"create","args":[]},{"name":"edit","args":["broadcastMessageId"]},{"name":"remove","args":["broadcastMessageId"]},{"name":"show","args":["broadcastMessageId"]}],"CommitDiscussions":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"Commits":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"cherryPick","args":["projectId","sha","branch"]},{"name":"comments","args":["projectId","sha"]},{"name":"create","args":["projectId"]},{"name":"createComment","args":["projectId","sha","note"]},{"name":"diff","args":["projectId","sha"]},{"name":"editStatus","args":["projectId","sha"]},{"name":"references","args":["projectId","sha"]},{"name":"show","args":["projectId","sha"]},{"name":"status","args":["projectId","sha"]},{"name":"mergeRequests","args":["projectId","sha"]}],"ContainerRegistry":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"repositories","args":["projectId"]},{"name":"tags","args":["projectId","repositoryId"]},{"name":"removeRepository","args":["projectId","repositoryId"]},{"name":"removeTag","args":["projectId","repositoryId","tagName"]},{"name":"removeTags","args":["projectId","repositoryId","nameRegexDelete"]},{"name":"showTag","args":["projectId","repositoryId","tagName"]}],"DeployKeys":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["projectId"]},{"name":"all","args":[]},{"name":"edit","args":["projectId","keyId"]},{"name":"enable","args":["projectId","keyId"]},{"name":"remove","args":["projectId","keyId"]},{"name":"show","args":["projectId","keyId"]}],"Deployments":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"show","args":["projectId","deploymentId"]},{"name":"mergeRequests","args":["projectId","deploymentId"]}],"Environments":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"show","args":["projectId","environmentId"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId","environmentId"]},{"name":"remove","args":["projectId","environmentId"]},{"name":"stop","args":["projectId","environmentId"]}],"EpicDiscussions":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"EpicIssues":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["groupId","epicId"]},{"name":"assign","args":["groupId","epicId","issueId"]},{"name":"edit","args":["groupId","epicId","issueId"]},{"name":"remove","args":["groupId","epicId","issueId"]}],"EpicNotes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"Epics":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["groupId"]},{"name":"create","args":["groupId","title"]},{"name":"edit","args":["groupId","epicId"]},{"name":"remove","args":["groupId","epicId"]},{"name":"show","args":["groupId","epicId"]}],"Events":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]}],"FeatureFlags":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"set","args":["name"]}],"GeoNodes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"create","args":["geonodeId"]},{"name":"edit","args":["geonodeId"]},{"name":"failures","args":[]},{"name":"repair","args":["geonodeId"]},{"name":"show","args":["geonodeId"]},{"name":"status","args":["geonodeId"]},{"name":"statuses","args":[]}],"GitLabCIYMLTemplates":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"show","args":["resourceId"]}],"GitignoreTemplates":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"show","args":["resourceId"]}],"GroupAccessRequests":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"request","args":["resourceId"]},{"name":"approve","args":["resourceId","userId"]},{"name":"deny","args":["resourceId","userId"]}],"GroupBadges":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["resourceId"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","badgeId"]},{"name":"preview","args":["resourceId","linkUrl","imageUrl"]},{"name":"remove","args":["resourceId","badgeId"]},{"name":"show","args":["resourceId","badgeId"]}],"GroupCustomAttributes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"set","args":["resourceId","customAttributeId","value"]},{"name":"remove","args":["resourceId","customAttributeId"]},{"name":"show","args":["resourceId","customAttributeId"]}],"GroupDeployTokens":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["resourceId","tokenName","tokenScopes"]},{"name":"all","args":[]},{"name":"remove","args":["resourceId","tokenId"]}],"GroupIssueBoards":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","name"]},{"name":"createList","args":["resourceId","boardId","labelId"]},{"name":"edit","args":["resourceId","boardId"]},{"name":"editList","args":["resourceId","boardId","listId","position"]},{"name":"lists","args":["resourceId","boardId"]},{"name":"remove","args":["resourceId","boardId"]},{"name":"removeList","args":["resourceId","boardId","listId"]},{"name":"show","args":["resourceId","boardId"]},{"name":"showList","args":["resourceId","boardId","listId"]}],"GroupLabels":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","labelName","color"]},{"name":"edit","args":["resourceId","labelName"]},{"name":"remove","args":["resourceId","labelName"]},{"name":"subscribe","args":["resourceId","labelId"]},{"name":"unsubscribe","args":["resourceId","labelId"]}],"GroupMembers":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["resourceId","userId","accessLevel"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","userId","accessLevel"]},{"name":"show","args":["resourceId","userId"]},{"name":"remove","args":["resourceId","userId"]}],"GroupMilestones":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","title"]},{"name":"edit","args":["resourceId","milestoneId"]},{"name":"issues","args":["resourceId","milestoneId"]},{"name":"mergeRequests","args":["resourceId","milestoneId"]},{"name":"show","args":["resourceId","milestoneId"]}],"GroupProjects":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["groupId"]},{"name":"add","args":["groupId","projectId"]}],"GroupVariables":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId"]},{"name":"edit","args":["resourceId","keyId"]},{"name":"show","args":["resourceId","keyId"]},{"name":"remove","args":["resourceId","keyId"]}],"Groups":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"create","args":["name","path"]},{"name":"createLDAPLink","args":["groupId","cn","groupAccess","provider"]},{"name":"edit","args":["groupId"]},{"name":"projects","args":["groupId"]},{"name":"remove","args":["groupId"]},{"name":"removeLDAPLink","args":["groupId","cn"]},{"name":"search","args":["nameOrPath"]},{"name":"show","args":["groupId"]},{"name":"subgroups","args":["groupId"]},{"name":"syncLDAP","args":["groupId"]}],"IssueAwardEmojis":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId","resourceId","noteId"]},{"name":"award","args":["projectId","resourceId","noteId","name"]},{"name":"remove","args":["projectId","resourceId","noteId","awardId"]},{"name":"show","args":["projectId","resourceId","noteId","awardId"]}],"IssueDiscussions":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"IssueNotes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"Issues":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"addSpentTime","args":["projectId","issueIid","duration"]},{"name":"addTimeEstimate","args":["projectId","issueIid","duration"]},{"name":"all","args":[]},{"name":"create","args":["projectId"]},{"name":"closedBy","args":["projectId","issueIid"]},{"name":"edit","args":["projectId","issueIid"]},{"name":"link","args":["projectId","issueIid","targetProjectId","targetIssueIid"]},{"name":"links","args":["projectId","issueIid"]},{"name":"participants","args":["projectId","issueIid"]},{"name":"relatedMergeRequests","args":["projectId","issueIid"]},{"name":"removeLink","args":["projectId","issueIid","issueLinkId"]},{"name":"remove","args":["projectId","issueIid"]},{"name":"resetSpentTime","args":["projectId","issueIid"]},{"name":"resetTimeEstimate","args":["projectId","issueIid"]},{"name":"show","args":["projectId","issueIid"]},{"name":"subscribe","args":["projectId","issueIid"]},{"name":"timeStats","args":["projectId","issueIid"]},{"name":"unsubscribe","args":["projectId","issueIid"]}],"IssuesStatistics":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]}],"Jobs":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"cancel","args":["projectId","jobId"]},{"name":"downloadSingleArtifactFile","args":["projectId","jobId","artifactPath"]},{"name":"downloadSingleArtifactFileFromRef","args":["projectId","ref","artifactPath","jobName"]},{"name":"downloadLatestArtifactFile","args":["projectId","ref","jobName"]},{"name":"downloadTraceFile","args":["projectId","jobId"]},{"name":"erase","args":["projectId","jobId"]},{"name":"eraseArtifacts","args":["projectId","jobId"]},{"name":"keepArtifacts","args":["projectId","jobId"]},{"name":"play","args":["projectId","jobId"]},{"name":"retry","args":["projectId","jobId"]},{"name":"show","args":["projectId","jobId"]},{"name":"showPipelineJobs","args":["projectId","pipelineId"]}],"Keys":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"show","args":["keyId"]}],"Labels":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","labelName","color"]},{"name":"edit","args":["resourceId","labelName"]},{"name":"remove","args":["resourceId","labelName"]},{"name":"subscribe","args":["resourceId","labelId"]},{"name":"unsubscribe","args":["resourceId","labelId"]}],"LicenceTemplates":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"show","args":["resourceId"]}],"License":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["license"]},{"name":"all","args":[]},{"name":"show","args":[]},{"name":"remove","args":["licenceId"]}],"Lint":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"lint","args":["content"]}],"Markdown":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"render","args":["text"]}],"MergeRequestAwardEmojis":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId","resourceId","noteId"]},{"name":"award","args":["projectId","resourceId","noteId","name"]},{"name":"remove","args":["projectId","resourceId","noteId","awardId"]},{"name":"show","args":["projectId","resourceId","noteId","awardId"]}],"MergeRequestDiscussions":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"MergeRequestNotes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"MergeRequests":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"accept","args":["projectId","mergerequestIid"]},{"name":"addSpentTime","args":["projectId","mergerequestIid","duration"]},{"name":"addTimeEstimate","args":["projectId","mergerequestIid","duration"]},{"name":"all","args":[]},{"name":"approve","args":["projectId","mergerequestIid"]},{"name":"approvals","args":["projectId"]},{"name":"approvalState","args":["projectId","mergerequestIid"]},{"name":"approvers","args":["projectId","approverIds","approverGroupIds"]},{"name":"cancelOnPipelineSucess","args":["projectId","mergerequestIid"]},{"name":"changes","args":["projectId","mergerequestIid"]},{"name":"closesIssues","args":["projectId","mergerequestIid"]},{"name":"commits","args":["projectId","mergerequestIid"]},{"name":"create","args":["projectId","sourceBranch","targetBranch","title"]},{"name":"edit","args":["projectId","mergerequestIid"]},{"name":"editApprovals","args":["projectId"]},{"name":"participants","args":["projectId","mergerequestIid"]},{"name":"pipelines","args":["projectId","mergerequestIid"]},{"name":"remove","args":["projectId","mergerequestIid"]},{"name":"resetSpentTime","args":["projectId","mergerequestIid"]},{"name":"resetTimeEstimate","args":["projectId","mergerequestIid"]},{"name":"show","args":["projectId","mergerequestIid"]},{"name":"subscribe","args":["projectId","mergerequestIid"]},{"name":"timeStats","args":["projectId","mergerequestIid"]},{"name":"version","args":["projectId","mergerequestIid","versionId"]},{"name":"versions","args":["projectId","mergerequestIid"]},{"name":"unapprove","args":["projectId","mergerequestIid"]},{"name":"unsubscribe","args":["projectId","mergerequestIid"]}],"Namespaces":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"show","args":["namespaceId"]}],"NotificationSettings":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"edit","args":[]}],"Packages":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"remove","args":["projectId","packageId"]},{"name":"show","args":["projectId","packageId"]},{"name":"showFiles","args":["projectId","packageId"]}],"PagesDomains":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"create","args":["projectId","domain"]},{"name":"edit","args":["projectId","domain"]},{"name":"show","args":["projectId","domain"]},{"name":"remove","args":["projectId","domain"]}],"PipelineScheduleVariables":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId","pipelineScheduleId"]},{"name":"create","args":["projectId","pipelineScheduleId"]},{"name":"edit","args":["projectId","pipelineScheduleId","keyId"]},{"name":"show","args":["projectId","pipelineScheduleId","keyId"]},{"name":"remove","args":["projectId","pipelineScheduleId","keyId"]}],"PipelineSchedules":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId","description","ref","cron"]},{"name":"edit","args":["projectId","scheduleId"]},{"name":"remove","args":["projectId","scheduleId"]},{"name":"show","args":["projectId","scheduleId"]},{"name":"takeOwnership","args":["projectId","scheduleId"]}],"Pipelines":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId","ref"]},{"name":"delete","args":["projectId","pipelineId"]},{"name":"show","args":["projectId","pipelineId"]},{"name":"retry","args":["projectId","pipelineId"]},{"name":"cancel","args":["projectId","pipelineId"]},{"name":"showJobs","args":["projectId","pipelineId"]},{"name":"allVariables","args":["projectId","pipelineId"]}],"ProjectAccessRequests":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"request","args":["resourceId"]},{"name":"approve","args":["resourceId","userId"]},{"name":"deny","args":["resourceId","userId"]}],"ProjectBadges":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["resourceId"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","badgeId"]},{"name":"preview","args":["resourceId","linkUrl","imageUrl"]},{"name":"remove","args":["resourceId","badgeId"]},{"name":"show","args":["resourceId","badgeId"]}],"ProjectCustomAttributes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"set","args":["resourceId","customAttributeId","value"]},{"name":"remove","args":["resourceId","customAttributeId"]},{"name":"show","args":["resourceId","customAttributeId"]}],"ProjectDeployTokens":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["resourceId","tokenName","tokenScopes"]},{"name":"all","args":[]},{"name":"remove","args":["resourceId","tokenId"]}],"ProjectHooks":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"show","args":["projectId","hookId"]},{"name":"add","args":["projectId","url"]},{"name":"edit","args":["projectId","hookId","url"]},{"name":"remove","args":["projectId","hookId"]}],"ProjectImportExport":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"download","args":["projectId"]},{"name":"exportStatus","args":["projectId"]},{"name":"import","args":["content","path"]},{"name":"importStatus","args":["projectId"]},{"name":"schedule","args":["projectId"]}],"ProjectIssueBoards":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","name"]},{"name":"createList","args":["resourceId","boardId","labelId"]},{"name":"edit","args":["resourceId","boardId"]},{"name":"editList","args":["resourceId","boardId","listId","position"]},{"name":"lists","args":["resourceId","boardId"]},{"name":"remove","args":["resourceId","boardId"]},{"name":"removeList","args":["resourceId","boardId","listId"]},{"name":"show","args":["resourceId","boardId"]},{"name":"showList","args":["resourceId","boardId","listId"]}],"ProjectMembers":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["resourceId","userId","accessLevel"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","userId","accessLevel"]},{"name":"show","args":["resourceId","userId"]},{"name":"remove","args":["resourceId","userId"]}],"ProjectMilestones":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","title"]},{"name":"edit","args":["resourceId","milestoneId"]},{"name":"issues","args":["resourceId","milestoneId"]},{"name":"mergeRequests","args":["resourceId","milestoneId"]},{"name":"show","args":["resourceId","milestoneId"]}],"ProjectSnippetAwardEmojis":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId","resourceId","noteId"]},{"name":"award","args":["projectId","resourceId","noteId","name"]},{"name":"remove","args":["projectId","resourceId","noteId","awardId"]},{"name":"show","args":["projectId","resourceId","noteId","awardId"]}],"ProjectSnippetDiscussions":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"ProjectSnippetNotes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"ProjectSnippets":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"content","args":["projectId","snippetId"]},{"name":"create","args":["projectId","title","fileName","code","visibility"]},{"name":"edit","args":["projectId","snippetId"]},{"name":"remove","args":["projectId","snippetId"]},{"name":"show","args":["projectId","snippetId"]},{"name":"userAgentDetails","args":["projectId","snippetId"]}],"ProjectVariables":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId"]},{"name":"edit","args":["resourceId","keyId"]},{"name":"show","args":["resourceId","keyId"]},{"name":"remove","args":["resourceId","keyId"]}],"Projects":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"archive","args":["projectId"]},{"name":"create","args":[]},{"name":"edit","args":["projectId"]},{"name":"events","args":["projectId"]},{"name":"fork","args":["projectId"]},{"name":"forks","args":["projectId"]},{"name":"languages","args":["projectId"]},{"name":"mirrorPull","args":["projectId"]},{"name":"remove","args":["projectId"]},{"name":"removeFork","args":["projectId"]},{"name":"search","args":["projectName"]},{"name":"share","args":["projectId","groupId","groupAccess"]},{"name":"show","args":["projectId"]},{"name":"star","args":["projectId"]},{"name":"statuses","args":["projectId","sha","state"]},{"name":"transfer","args":["projectId","namespaceId"]},{"name":"unarchive","args":["projectId"]},{"name":"unshare","args":["projectId","groupId"]},{"name":"unstar","args":["projectId"]},{"name":"upload","args":["projectId","content"]}],"ProtectedBranches":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"protect","args":["projectId","branchName"]},{"name":"show","args":["projectId","branchName"]},{"name":"unprotect","args":["projectId","branchName"]}],"ProtectedTags":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"protect","args":["projectId","tagName"]},{"name":"show","args":["projectId","tagName"]},{"name":"unprotect","args":["projectId","tagName"]}],"PushRules":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId"]},{"name":"remove","args":["projectId"]},{"name":"show","args":["projectId"]}],"ReleaseLinks":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId","tagName"]},{"name":"create","args":["projectId","tagName","name","url"]},{"name":"edit","args":["projectId","tagName","linkId"]},{"name":"remove","args":["projectId","tagName","linkId"]},{"name":"show","args":["projectId","tagName","linkId"]}],"Releases":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId","tagName"]},{"name":"remove","args":["projectId","tagName"]},{"name":"show","args":["projectId","tagName"]}],"Repositories":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"compare","args":["projectId","from","to"]},{"name":"contributors","args":["projectId"]},{"name":"mergeBase","args":["projectId","refs"]},{"name":"showArchive","args":["projectId"]},{"name":"showBlob","args":["projectId","sha"]},{"name":"showBlobRaw","args":["projectId","sha"]},{"name":"tree","args":["projectId"]}],"RepositoryFiles":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"create","args":["projectId","filePath","branch","content","commitMessage"]},{"name":"edit","args":["projectId","filePath","branch","content","commitMessage"]},{"name":"remove","args":["projectId","filePath","branch","commitMessage"]},{"name":"show","args":["projectId","filePath","ref"]},{"name":"showBlame","args":["projectId","filePath"]},{"name":"showRaw","args":["projectId","filePath","ref"]}],"Runners":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"allOwned","args":[]},{"name":"edit","args":["runnerId"]},{"name":"enable","args":["projectId","runnerId"]},{"name":"disable","args":["projectId","runnerId"]},{"name":"jobs","args":["runnerId"]},{"name":"remove","args":["runnerId"]},{"name":"show","args":["runnerId"]}],"Search":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["scope","search"]}],"Services":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"edit","args":["projectId","serviceName"]},{"name":"remove","args":["projectId","serviceName"]},{"name":"show","args":["projectId","serviceName"]}],"SidekiqMetrics":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"queueMetrics","args":[]},{"name":"processMetrics","args":[]},{"name":"jobStats","args":[]},{"name":"compoundMetrics","args":[]}],"Snippets":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"content","args":["snippetId"]},{"name":"create","args":["title","fileName","content","visibility"]},{"name":"edit","args":["snippetId"]},{"name":"remove","args":["snippetId"]},{"name":"show","args":["snippetId"]},{"name":"userAgentDetails","args":["snippetId"]}],"SystemHooks":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["url"]},{"name":"all","args":[]},{"name":"edit","args":["hookId","url"]},{"name":"remove","args":["hookId"]}],"Tags":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId"]},{"name":"remove","args":["projectId","tagName"]},{"name":"show","args":["projectId","tagName"]}],"Todos":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"create","args":["projectId","resourceId"]},{"name":"done","args":[]}],"Triggers":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"add","args":["projectId"]},{"name":"all","args":["projectId"]},{"name":"edit","args":["projectId","triggerId"]},{"name":"pipeline","args":["projectId","ref","token",{}]},{"name":"remove","args":["projectId","triggerId"]},{"name":"show","args":["projectId","triggerId"]}],"UserCustomAttributes":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["resourceId"]},{"name":"set","args":["resourceId","customAttributeId","value"]},{"name":"remove","args":["resourceId","customAttributeId"]},{"name":"show","args":["resourceId","customAttributeId"]}],"UserEmails":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"add","args":["email"]},{"name":"show","args":["emailId"]},{"name":"remove","args":["emailId"]}],"UserGPGKeys":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"add","args":["key"]},{"name":"show","args":["keyId"]},{"name":"remove","args":["keyId"]}],"UserImpersonationTokens":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["userId"]},{"name":"add","args":["userId","name","scopes","expiresAt"]},{"name":"show","args":["userId","tokenId"]},{"name":"revoke","args":["userId","tokenId"]}],"UserKeys":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"create","args":["title","key"]},{"name":"show","args":["keyId"]},{"name":"remove","args":["keyId"]}],"Users":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":[]},{"name":"activities","args":[]},{"name":"projects","args":["userId"]},{"name":"block","args":["userId"]},{"name":"create","args":[]},{"name":"current","args":[]},{"name":"edit","args":["userId"]},{"name":"events","args":["userId"]},{"name":"search","args":["emailOrUsername"]},{"name":"show","args":["userId"]},{"name":"remove","args":["userId"]},{"name":"unblock","args":["userId"]}],"Version":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"show","args":[]}],"VulnerabilityFindings":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]}],"Wikis":[{"name":"constructor","args":["token","jobToken","oauthToken","sudo","profileToken","requester","profileMode","host","url","version","camelize","rejectUnauthorized","requestTimeout"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId","slug"]},{"name":"show","args":["projectId","slug"]},{"name":"remove","args":["projectId","slug"]}]} | ||
{"ApplicationSettings":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"edit","args":[]}],"Branches":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId","branchName","ref"]},{"name":"protect","args":["projectId","branchName"]},{"name":"remove","args":["projectId","branchName"]},{"name":"show","args":["projectId","branchName"]},{"name":"unprotect","args":["projectId","branchName"]}],"BroadcastMessages":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"create","args":[]},{"name":"edit","args":["broadcastMessageId"]},{"name":"remove","args":["broadcastMessageId"]},{"name":"show","args":["broadcastMessageId"]}],"CommitDiscussions":[{"name":"constructor","args":["0","1"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"Commits":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"cherryPick","args":["projectId","sha","branch"]},{"name":"comments","args":["projectId","sha"]},{"name":"create","args":["projectId"]},{"name":"createComment","args":["projectId","sha","note"]},{"name":"diff","args":["projectId","sha"]},{"name":"editStatus","args":["projectId","sha"]},{"name":"references","args":["projectId","sha"]},{"name":"show","args":["projectId","sha"]},{"name":"status","args":["projectId","sha"]},{"name":"mergeRequests","args":["projectId","sha"]}],"ContainerRegistry":[{"name":"constructor","args":["0","1"]},{"name":"repositories","args":["projectId"]},{"name":"tags","args":["projectId","repositoryId"]},{"name":"removeRepository","args":["projectId","repositoryId"]},{"name":"removeTag","args":["projectId","repositoryId","tagName"]},{"name":"removeTags","args":["projectId","repositoryId","nameRegexDelete"]},{"name":"showTag","args":["projectId","repositoryId","tagName"]}],"DeployKeys":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["projectId"]},{"name":"all","args":[]},{"name":"edit","args":["projectId","keyId"]},{"name":"enable","args":["projectId","keyId"]},{"name":"remove","args":["projectId","keyId"]},{"name":"show","args":["projectId","keyId"]}],"Deployments":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"show","args":["projectId","deploymentId"]},{"name":"mergeRequests","args":["projectId","deploymentId"]}],"Environments":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"show","args":["projectId","environmentId"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId","environmentId"]},{"name":"remove","args":["projectId","environmentId"]},{"name":"stop","args":["projectId","environmentId"]}],"EpicDiscussions":[{"name":"constructor","args":["0","1"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"EpicIssues":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["groupId","epicId"]},{"name":"assign","args":["groupId","epicId","issueId"]},{"name":"edit","args":["groupId","epicId","issueId"]},{"name":"remove","args":["groupId","epicId","issueId"]}],"EpicNotes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"Epics":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["groupId"]},{"name":"create","args":["groupId","title"]},{"name":"edit","args":["groupId","epicId"]},{"name":"remove","args":["groupId","epicId"]},{"name":"show","args":["groupId","epicId"]}],"Events":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]}],"FeatureFlags":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"set","args":["name"]}],"GeoNodes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"create","args":["geonodeId"]},{"name":"edit","args":["geonodeId"]},{"name":"failures","args":[]},{"name":"repair","args":["geonodeId"]},{"name":"show","args":["geonodeId"]},{"name":"status","args":["geonodeId"]},{"name":"statuses","args":[]}],"GitLabCIYMLTemplates":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"show","args":["resourceId"]}],"GitignoreTemplates":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"show","args":["resourceId"]}],"GroupAccessRequests":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"request","args":["resourceId"]},{"name":"approve","args":["resourceId","userId"]},{"name":"deny","args":["resourceId","userId"]}],"GroupBadges":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["resourceId"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","badgeId"]},{"name":"preview","args":["resourceId","linkUrl","imageUrl"]},{"name":"remove","args":["resourceId","badgeId"]},{"name":"show","args":["resourceId","badgeId"]}],"GroupCustomAttributes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"set","args":["resourceId","customAttributeId","value"]},{"name":"remove","args":["resourceId","customAttributeId"]},{"name":"show","args":["resourceId","customAttributeId"]}],"GroupDeployTokens":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["resourceId","tokenName","tokenScopes"]},{"name":"all","args":[]},{"name":"remove","args":["resourceId","tokenId"]}],"GroupIssueBoards":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","name"]},{"name":"createList","args":["resourceId","boardId","labelId"]},{"name":"edit","args":["resourceId","boardId"]},{"name":"editList","args":["resourceId","boardId","listId","position"]},{"name":"lists","args":["resourceId","boardId"]},{"name":"remove","args":["resourceId","boardId"]},{"name":"removeList","args":["resourceId","boardId","listId"]},{"name":"show","args":["resourceId","boardId"]},{"name":"showList","args":["resourceId","boardId","listId"]}],"GroupLabels":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","labelName","color"]},{"name":"edit","args":["resourceId","labelName"]},{"name":"remove","args":["resourceId","labelName"]},{"name":"subscribe","args":["resourceId","labelId"]},{"name":"unsubscribe","args":["resourceId","labelId"]}],"GroupMembers":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["resourceId","userId","accessLevel"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","userId","accessLevel"]},{"name":"show","args":["resourceId","userId"]},{"name":"remove","args":["resourceId","userId"]}],"GroupMilestones":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","title"]},{"name":"edit","args":["resourceId","milestoneId"]},{"name":"issues","args":["resourceId","milestoneId"]},{"name":"mergeRequests","args":["resourceId","milestoneId"]},{"name":"show","args":["resourceId","milestoneId"]}],"GroupProjects":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["groupId"]},{"name":"add","args":["groupId","projectId"]}],"GroupVariables":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId"]},{"name":"edit","args":["resourceId","keyId"]},{"name":"show","args":["resourceId","keyId"]},{"name":"remove","args":["resourceId","keyId"]}],"Groups":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"create","args":["name","path"]},{"name":"createLDAPLink","args":["groupId","cn","groupAccess","provider"]},{"name":"edit","args":["groupId"]},{"name":"projects","args":["groupId"]},{"name":"remove","args":["groupId"]},{"name":"removeLDAPLink","args":["groupId","cn"]},{"name":"search","args":["nameOrPath"]},{"name":"show","args":["groupId"]},{"name":"subgroups","args":["groupId"]},{"name":"syncLDAP","args":["groupId"]}],"IssueAwardEmojis":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId","resourceId","noteId"]},{"name":"award","args":["projectId","resourceId","noteId","name"]},{"name":"remove","args":["projectId","resourceId","noteId","awardId"]},{"name":"show","args":["projectId","resourceId","noteId","awardId"]}],"IssueDiscussions":[{"name":"constructor","args":["0","1"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"IssueNotes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"Issues":[{"name":"constructor","args":["0","1"]},{"name":"addSpentTime","args":["projectId","issueIid","duration"]},{"name":"addTimeEstimate","args":["projectId","issueIid","duration"]},{"name":"all","args":[]},{"name":"create","args":["projectId"]},{"name":"closedBy","args":["projectId","issueIid"]},{"name":"edit","args":["projectId","issueIid"]},{"name":"link","args":["projectId","issueIid","targetProjectId","targetIssueIid"]},{"name":"links","args":["projectId","issueIid"]},{"name":"participants","args":["projectId","issueIid"]},{"name":"relatedMergeRequests","args":["projectId","issueIid"]},{"name":"removeLink","args":["projectId","issueIid","issueLinkId"]},{"name":"remove","args":["projectId","issueIid"]},{"name":"resetSpentTime","args":["projectId","issueIid"]},{"name":"resetTimeEstimate","args":["projectId","issueIid"]},{"name":"show","args":["projectId","issueIid"]},{"name":"subscribe","args":["projectId","issueIid"]},{"name":"timeStats","args":["projectId","issueIid"]},{"name":"unsubscribe","args":["projectId","issueIid"]}],"IssuesStatistics":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]}],"Jobs":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"cancel","args":["projectId","jobId"]},{"name":"downloadSingleArtifactFile","args":["projectId","jobId","artifactPath"]},{"name":"downloadSingleArtifactFileFromRef","args":["projectId","ref","artifactPath","jobName"]},{"name":"downloadLatestArtifactFile","args":["projectId","ref","jobName"]},{"name":"downloadTraceFile","args":["projectId","jobId"]},{"name":"erase","args":["projectId","jobId"]},{"name":"eraseArtifacts","args":["projectId","jobId"]},{"name":"keepArtifacts","args":["projectId","jobId"]},{"name":"play","args":["projectId","jobId"]},{"name":"retry","args":["projectId","jobId"]},{"name":"show","args":["projectId","jobId"]},{"name":"showPipelineJobs","args":["projectId","pipelineId"]}],"Keys":[{"name":"constructor","args":["0","1"]},{"name":"show","args":["keyId"]}],"Labels":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","labelName","color"]},{"name":"edit","args":["resourceId","labelName"]},{"name":"remove","args":["resourceId","labelName"]},{"name":"subscribe","args":["resourceId","labelId"]},{"name":"unsubscribe","args":["resourceId","labelId"]}],"LicenceTemplates":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"show","args":["resourceId"]}],"License":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["license"]},{"name":"all","args":[]},{"name":"show","args":[]},{"name":"remove","args":["licenceId"]}],"Lint":[{"name":"constructor","args":["0","1"]},{"name":"lint","args":["content"]}],"Markdown":[{"name":"constructor","args":["0","1"]},{"name":"render","args":["text"]}],"MergeRequestAwardEmojis":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId","resourceId","noteId"]},{"name":"award","args":["projectId","resourceId","noteId","name"]},{"name":"remove","args":["projectId","resourceId","noteId","awardId"]},{"name":"show","args":["projectId","resourceId","noteId","awardId"]}],"MergeRequestDiscussions":[{"name":"constructor","args":["0","1"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"MergeRequestNotes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"MergeRequests":[{"name":"constructor","args":["0","1"]},{"name":"accept","args":["projectId","mergerequestIid"]},{"name":"addSpentTime","args":["projectId","mergerequestIid","duration"]},{"name":"addTimeEstimate","args":["projectId","mergerequestIid","duration"]},{"name":"all","args":[]},{"name":"approve","args":["projectId","mergerequestIid"]},{"name":"approvals","args":["projectId"]},{"name":"approvalState","args":["projectId","mergerequestIid"]},{"name":"approvers","args":["projectId","approverIds","approverGroupIds"]},{"name":"cancelOnPipelineSucess","args":["projectId","mergerequestIid"]},{"name":"changes","args":["projectId","mergerequestIid"]},{"name":"closesIssues","args":["projectId","mergerequestIid"]},{"name":"commits","args":["projectId","mergerequestIid"]},{"name":"create","args":["projectId","sourceBranch","targetBranch","title"]},{"name":"edit","args":["projectId","mergerequestIid"]},{"name":"editApprovals","args":["projectId"]},{"name":"participants","args":["projectId","mergerequestIid"]},{"name":"pipelines","args":["projectId","mergerequestIid"]},{"name":"remove","args":["projectId","mergerequestIid"]},{"name":"resetSpentTime","args":["projectId","mergerequestIid"]},{"name":"resetTimeEstimate","args":["projectId","mergerequestIid"]},{"name":"show","args":["projectId","mergerequestIid"]},{"name":"subscribe","args":["projectId","mergerequestIid"]},{"name":"timeStats","args":["projectId","mergerequestIid"]},{"name":"version","args":["projectId","mergerequestIid","versionId"]},{"name":"versions","args":["projectId","mergerequestIid"]},{"name":"unapprove","args":["projectId","mergerequestIid"]},{"name":"unsubscribe","args":["projectId","mergerequestIid"]}],"Namespaces":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"show","args":["namespaceId"]}],"NotificationSettings":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"edit","args":[]}],"Packages":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"remove","args":["projectId","packageId"]},{"name":"show","args":["projectId","packageId"]},{"name":"showFiles","args":["projectId","packageId"]}],"PagesDomains":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"create","args":["projectId","domain"]},{"name":"edit","args":["projectId","domain"]},{"name":"show","args":["projectId","domain"]},{"name":"remove","args":["projectId","domain"]}],"PipelineScheduleVariables":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId","pipelineScheduleId"]},{"name":"create","args":["projectId","pipelineScheduleId"]},{"name":"edit","args":["projectId","pipelineScheduleId","keyId"]},{"name":"show","args":["projectId","pipelineScheduleId","keyId"]},{"name":"remove","args":["projectId","pipelineScheduleId","keyId"]}],"PipelineSchedules":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId","description","ref","cron"]},{"name":"edit","args":["projectId","scheduleId"]},{"name":"remove","args":["projectId","scheduleId"]},{"name":"show","args":["projectId","scheduleId"]},{"name":"takeOwnership","args":["projectId","scheduleId"]}],"Pipelines":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId","ref"]},{"name":"delete","args":["projectId","pipelineId"]},{"name":"show","args":["projectId","pipelineId"]},{"name":"retry","args":["projectId","pipelineId"]},{"name":"cancel","args":["projectId","pipelineId"]},{"name":"showJobs","args":["projectId","pipelineId"]},{"name":"allVariables","args":["projectId","pipelineId"]}],"ProjectAccessRequests":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"request","args":["resourceId"]},{"name":"approve","args":["resourceId","userId"]},{"name":"deny","args":["resourceId","userId"]}],"ProjectBadges":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["resourceId"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","badgeId"]},{"name":"preview","args":["resourceId","linkUrl","imageUrl"]},{"name":"remove","args":["resourceId","badgeId"]},{"name":"show","args":["resourceId","badgeId"]}],"ProjectCustomAttributes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"set","args":["resourceId","customAttributeId","value"]},{"name":"remove","args":["resourceId","customAttributeId"]},{"name":"show","args":["resourceId","customAttributeId"]}],"ProjectDeployTokens":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["resourceId","tokenName","tokenScopes"]},{"name":"all","args":[]},{"name":"remove","args":["resourceId","tokenId"]}],"ProjectHooks":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"show","args":["projectId","hookId"]},{"name":"add","args":["projectId","url"]},{"name":"edit","args":["projectId","hookId","url"]},{"name":"remove","args":["projectId","hookId"]}],"ProjectImportExport":[{"name":"constructor","args":["0","1"]},{"name":"download","args":["projectId"]},{"name":"exportStatus","args":["projectId"]},{"name":"import","args":["content","path"]},{"name":"importStatus","args":["projectId"]},{"name":"schedule","args":["projectId"]}],"ProjectIssueBoards":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","name"]},{"name":"createList","args":["resourceId","boardId","labelId"]},{"name":"edit","args":["resourceId","boardId"]},{"name":"editList","args":["resourceId","boardId","listId","position"]},{"name":"lists","args":["resourceId","boardId"]},{"name":"remove","args":["resourceId","boardId"]},{"name":"removeList","args":["resourceId","boardId","listId"]},{"name":"show","args":["resourceId","boardId"]},{"name":"showList","args":["resourceId","boardId","listId"]}],"ProjectMembers":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["resourceId","userId","accessLevel"]},{"name":"all","args":["resourceId"]},{"name":"edit","args":["resourceId","userId","accessLevel"]},{"name":"show","args":["resourceId","userId"]},{"name":"remove","args":["resourceId","userId"]}],"ProjectMilestones":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId","title"]},{"name":"edit","args":["resourceId","milestoneId"]},{"name":"issues","args":["resourceId","milestoneId"]},{"name":"mergeRequests","args":["resourceId","milestoneId"]},{"name":"show","args":["resourceId","milestoneId"]}],"ProjectSnippetAwardEmojis":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId","resourceId","noteId"]},{"name":"award","args":["projectId","resourceId","noteId","name"]},{"name":"remove","args":["projectId","resourceId","noteId","awardId"]},{"name":"show","args":["projectId","resourceId","noteId","awardId"]}],"ProjectSnippetDiscussions":[{"name":"constructor","args":["0","1"]},{"name":"addNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","content"]},{"name":"editNote","args":["resourceId","resource2Id","discussionId","noteId","content"]},{"name":"removeNote","args":["resourceId","resource2Id","discussionId","noteId"]},{"name":"show","args":["resourceId","resource2Id","discussionId"]}],"ProjectSnippetNotes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId","resource2Id"]},{"name":"create","args":["resourceId","resource2Id","body"]},{"name":"edit","args":["resourceId","resource2Id","noteId","body"]},{"name":"remove","args":["resourceId","resource2Id","noteId"]},{"name":"show","args":["resourceId","resource2Id","noteId"]}],"ProjectSnippets":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"content","args":["projectId","snippetId"]},{"name":"create","args":["projectId","title","fileName","code","visibility"]},{"name":"edit","args":["projectId","snippetId"]},{"name":"remove","args":["projectId","snippetId"]},{"name":"show","args":["projectId","snippetId"]},{"name":"userAgentDetails","args":["projectId","snippetId"]}],"ProjectVariables":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"create","args":["resourceId"]},{"name":"edit","args":["resourceId","keyId"]},{"name":"show","args":["resourceId","keyId"]},{"name":"remove","args":["resourceId","keyId"]}],"Projects":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"archive","args":["projectId"]},{"name":"create","args":[]},{"name":"edit","args":["projectId"]},{"name":"events","args":["projectId"]},{"name":"fork","args":["projectId"]},{"name":"forks","args":["projectId"]},{"name":"languages","args":["projectId"]},{"name":"mirrorPull","args":["projectId"]},{"name":"remove","args":["projectId"]},{"name":"removeFork","args":["projectId"]},{"name":"search","args":["projectName"]},{"name":"share","args":["projectId","groupId","groupAccess"]},{"name":"show","args":["projectId"]},{"name":"star","args":["projectId"]},{"name":"statuses","args":["projectId","sha","state"]},{"name":"transfer","args":["projectId","namespaceId"]},{"name":"unarchive","args":["projectId"]},{"name":"unshare","args":["projectId","groupId"]},{"name":"unstar","args":["projectId"]},{"name":"upload","args":["projectId","content"]}],"ProtectedBranches":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"protect","args":["projectId","branchName"]},{"name":"show","args":["projectId","branchName"]},{"name":"unprotect","args":["projectId","branchName"]}],"ProtectedTags":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"protect","args":["projectId","tagName"]},{"name":"show","args":["projectId","tagName"]},{"name":"unprotect","args":["projectId","tagName"]}],"PushRules":[{"name":"constructor","args":["0","1"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId"]},{"name":"remove","args":["projectId"]},{"name":"show","args":["projectId"]}],"ReleaseLinks":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId","tagName"]},{"name":"create","args":["projectId","tagName","name","url"]},{"name":"edit","args":["projectId","tagName","linkId"]},{"name":"remove","args":["projectId","tagName","linkId"]},{"name":"show","args":["projectId","tagName","linkId"]}],"Releases":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId","tagName"]},{"name":"remove","args":["projectId","tagName"]},{"name":"show","args":["projectId","tagName"]}],"Repositories":[{"name":"constructor","args":["0","1"]},{"name":"compare","args":["projectId","from","to"]},{"name":"contributors","args":["projectId"]},{"name":"mergeBase","args":["projectId","refs"]},{"name":"showArchive","args":["projectId"]},{"name":"showBlob","args":["projectId","sha"]},{"name":"showBlobRaw","args":["projectId","sha"]},{"name":"tree","args":["projectId"]}],"RepositoryFiles":[{"name":"constructor","args":["0","1"]},{"name":"create","args":["projectId","filePath","branch","content","commitMessage"]},{"name":"edit","args":["projectId","filePath","branch","content","commitMessage"]},{"name":"remove","args":["projectId","filePath","branch","commitMessage"]},{"name":"show","args":["projectId","filePath","ref"]},{"name":"showBlame","args":["projectId","filePath"]},{"name":"showRaw","args":["projectId","filePath","ref"]}],"Runners":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"allOwned","args":[]},{"name":"edit","args":["runnerId"]},{"name":"enable","args":["projectId","runnerId"]},{"name":"disable","args":["projectId","runnerId"]},{"name":"jobs","args":["runnerId"]},{"name":"remove","args":["runnerId"]},{"name":"show","args":["runnerId"]}],"Search":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["scope","search"]}],"Services":[{"name":"constructor","args":["0","1"]},{"name":"edit","args":["projectId","serviceName"]},{"name":"remove","args":["projectId","serviceName"]},{"name":"show","args":["projectId","serviceName"]}],"SidekiqMetrics":[{"name":"constructor","args":["0","1"]},{"name":"queueMetrics","args":[]},{"name":"processMetrics","args":[]},{"name":"jobStats","args":[]},{"name":"compoundMetrics","args":[]}],"Snippets":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"content","args":["snippetId"]},{"name":"create","args":["title","fileName","content","visibility"]},{"name":"edit","args":["snippetId"]},{"name":"remove","args":["snippetId"]},{"name":"show","args":["snippetId"]},{"name":"userAgentDetails","args":["snippetId"]}],"SystemHooks":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["url"]},{"name":"all","args":[]},{"name":"edit","args":["hookId","url"]},{"name":"remove","args":["hookId"]}],"Tags":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId"]},{"name":"remove","args":["projectId","tagName"]},{"name":"show","args":["projectId","tagName"]}],"Todos":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"create","args":["projectId","resourceId"]},{"name":"done","args":[]}],"Triggers":[{"name":"constructor","args":["0","1"]},{"name":"add","args":["projectId"]},{"name":"all","args":["projectId"]},{"name":"edit","args":["projectId","triggerId"]},{"name":"pipeline","args":["projectId","ref","token",{}]},{"name":"remove","args":["projectId","triggerId"]},{"name":"show","args":["projectId","triggerId"]}],"UserCustomAttributes":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["resourceId"]},{"name":"set","args":["resourceId","customAttributeId","value"]},{"name":"remove","args":["resourceId","customAttributeId"]},{"name":"show","args":["resourceId","customAttributeId"]}],"UserEmails":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"add","args":["email"]},{"name":"show","args":["emailId"]},{"name":"remove","args":["emailId"]}],"UserGPGKeys":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"add","args":["key"]},{"name":"show","args":["keyId"]},{"name":"remove","args":["keyId"]}],"UserImpersonationTokens":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["userId"]},{"name":"add","args":["userId","name","scopes","expiresAt"]},{"name":"show","args":["userId","tokenId"]},{"name":"revoke","args":["userId","tokenId"]}],"UserKeys":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"create","args":["title","key"]},{"name":"show","args":["keyId"]},{"name":"remove","args":["keyId"]}],"Users":[{"name":"constructor","args":["0","1"]},{"name":"all","args":[]},{"name":"activities","args":[]},{"name":"projects","args":["userId"]},{"name":"block","args":["userId"]},{"name":"create","args":[]},{"name":"current","args":[]},{"name":"edit","args":["userId"]},{"name":"events","args":["userId"]},{"name":"search","args":["emailOrUsername"]},{"name":"show","args":["userId"]},{"name":"remove","args":["userId"]},{"name":"unblock","args":["userId"]}],"Version":[{"name":"constructor","args":["0","1"]},{"name":"show","args":[]}],"VulnerabilityFindings":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]}],"Wikis":[{"name":"constructor","args":["0","1"]},{"name":"all","args":["projectId"]},{"name":"create","args":["projectId"]},{"name":"edit","args":["projectId","slug"]},{"name":"show","args":["projectId","slug"]},{"name":"remove","args":["projectId","slug"]}]} |
import * as APIServices from './services'; | ||
export * from './services'; | ||
export declare const GroupsBundle: import("./infrastructure").Bundle<{ | ||
export declare const GroupsBundle: import("./infrastructure").BundleType<{ | ||
Groups: typeof APIServices.Groups; | ||
@@ -20,3 +20,3 @@ GroupAccessRequests: typeof APIServices.GroupAccessRequests; | ||
}, "Groups" | "GroupAccessRequests" | "GroupBadges" | "GroupCustomAttributes" | "GroupIssueBoards" | "GroupMembers" | "GroupMilestones" | "GroupProjects" | "GroupVariables" | "GroupLabels" | "GroupDeployTokens" | "Epics" | "EpicIssues" | "EpicNotes" | "EpicDiscussions">; | ||
export declare const UsersBundle: import("./infrastructure").Bundle<{ | ||
export declare const UsersBundle: import("./infrastructure").BundleType<{ | ||
Users: typeof APIServices.Users; | ||
@@ -29,3 +29,3 @@ UserCustomAttributes: typeof APIServices.UserCustomAttributes; | ||
}, "Users" | "UserCustomAttributes" | "UserEmails" | "UserImpersonationTokens" | "UserKeys" | "UserGPGKeys">; | ||
export declare const ProjectsBundle: import("./infrastructure").Bundle<{ | ||
export declare const ProjectsBundle: import("./infrastructure").BundleType<{ | ||
Branches: typeof APIServices.Branches; | ||
@@ -82,3 +82,3 @@ Commits: typeof APIServices.Commits; | ||
}, "Branches" | "Commits" | "CommitDiscussions" | "ContainerRegistry" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssuesStatistics" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Packages" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProtectedTags" | "ProjectVariables" | "ProjectDeployTokens" | "PushRules" | "Releases" | "ReleaseLinks" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Todos" | "Triggers" | "VulnerabilityFindings">; | ||
export declare const Gitlab: import("./infrastructure").Bundle<typeof APIServices, "Groups" | "GroupAccessRequests" | "GroupBadges" | "GroupCustomAttributes" | "GroupIssueBoards" | "GroupMembers" | "GroupMilestones" | "GroupProjects" | "GroupVariables" | "GroupLabels" | "GroupDeployTokens" | "Epics" | "EpicIssues" | "EpicNotes" | "EpicDiscussions" | "Users" | "UserCustomAttributes" | "UserEmails" | "UserImpersonationTokens" | "UserKeys" | "UserGPGKeys" | "Branches" | "Commits" | "CommitDiscussions" | "ContainerRegistry" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssuesStatistics" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Packages" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProtectedTags" | "ProjectVariables" | "ProjectDeployTokens" | "PushRules" | "Releases" | "ReleaseLinks" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Todos" | "Triggers" | "VulnerabilityFindings" | "ApplicationSettings" | "BroadcastMessages" | "Events" | "FeatureFlags" | "GeoNodes" | "GitignoreTemplates" | "GitLabCIYMLTemplates" | "Keys" | "License" | "LicenceTemplates" | "Lint" | "Namespaces" | "NotificationSettings" | "Markdown" | "PagesDomains" | "Search" | "SidekiqMetrics" | "Snippets" | "SystemHooks" | "Version" | "Wikis">; | ||
export declare const Gitlab: import("./infrastructure").BundleType<typeof APIServices, "Groups" | "GroupAccessRequests" | "GroupBadges" | "GroupCustomAttributes" | "GroupIssueBoards" | "GroupMembers" | "GroupMilestones" | "GroupProjects" | "GroupVariables" | "GroupLabels" | "GroupDeployTokens" | "Epics" | "EpicIssues" | "EpicNotes" | "EpicDiscussions" | "Users" | "UserCustomAttributes" | "UserEmails" | "UserImpersonationTokens" | "UserKeys" | "UserGPGKeys" | "Branches" | "Commits" | "CommitDiscussions" | "ContainerRegistry" | "DeployKeys" | "Deployments" | "Environments" | "Issues" | "IssuesStatistics" | "IssueAwardEmojis" | "IssueNotes" | "IssueDiscussions" | "Jobs" | "Labels" | "MergeRequests" | "MergeRequestAwardEmojis" | "MergeRequestDiscussions" | "MergeRequestNotes" | "Packages" | "Pipelines" | "PipelineSchedules" | "PipelineScheduleVariables" | "Projects" | "ProjectAccessRequests" | "ProjectBadges" | "ProjectCustomAttributes" | "ProjectImportExport" | "ProjectIssueBoards" | "ProjectHooks" | "ProjectMembers" | "ProjectMilestones" | "ProjectSnippets" | "ProjectSnippetNotes" | "ProjectSnippetDiscussions" | "ProjectSnippetAwardEmojis" | "ProtectedBranches" | "ProtectedTags" | "ProjectVariables" | "ProjectDeployTokens" | "PushRules" | "Releases" | "ReleaseLinks" | "Repositories" | "RepositoryFiles" | "Runners" | "Services" | "Tags" | "Todos" | "Triggers" | "VulnerabilityFindings" | "ApplicationSettings" | "BroadcastMessages" | "Events" | "FeatureFlags" | "GeoNodes" | "GitignoreTemplates" | "GitLabCIYMLTemplates" | "Keys" | "License" | "LicenceTemplates" | "Lint" | "Namespaces" | "NotificationSettings" | "Markdown" | "PagesDomains" | "Search" | "SidekiqMetrics" | "Snippets" | "SystemHooks" | "Version" | "Wikis">; | ||
export declare type UsersBundle = InstanceType<typeof UsersBundle>; | ||
@@ -85,0 +85,0 @@ export declare type GroupsBundle = InstanceType<typeof GroupsBundle>; |
@@ -1,3 +0,2 @@ | ||
export * from './BaseService'; | ||
export * from './Utils'; | ||
export * from './RequestHelper'; |
@@ -1,9 +0,6 @@ | ||
import { BaseService } from './BaseService'; | ||
export interface Sudo { | ||
sudo?: string | number; | ||
} | ||
export interface ShowExpanded { | ||
showExpanded?: boolean; | ||
} | ||
export interface PaginationOptions { | ||
/// <reference types="node" /> | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
export declare type True = true; | ||
export declare type False = false; | ||
export interface PaginationInformation { | ||
total: number; | ||
@@ -16,5 +13,12 @@ next: number | null; | ||
} | ||
export interface BaseRequestOptions extends Sudo { | ||
[key: string]: any; | ||
export interface Sudo { | ||
sudo?: string | number; | ||
} | ||
export interface IsForm { | ||
isForm?: boolean; | ||
} | ||
export interface ShowExpanded { | ||
showExpanded?: boolean; | ||
} | ||
export declare type BaseRequestOptions = Sudo & Record<string, any>; | ||
export interface PaginatedRequestOptions extends BaseRequestOptions, ShowExpanded { | ||
@@ -25,22 +29,28 @@ maxPages?: number; | ||
} | ||
export interface ExpandedResponse { | ||
data: object; | ||
headers: object; | ||
export interface ExpandedResponse<T> { | ||
data: T; | ||
headers: Record<string, unknown>; | ||
status: number; | ||
} | ||
export interface PaginationResponse { | ||
data: object[]; | ||
pagination: PaginationOptions; | ||
export interface PaginationResponse<T = Record<string, unknown>[]> { | ||
data: T; | ||
pagination: PaginationInformation; | ||
} | ||
export declare type GetResponse = PaginationResponse | ExpandedResponse | object | object[]; | ||
export declare type PostResponse = ExpandedResponse | object; | ||
export declare type PutResponse = ExpandedResponse | object; | ||
export declare type DelResponse = ExpandedResponse | object; | ||
declare function get(service: BaseService, endpoint: string, { showExpanded, maxPages, sudo, ...query }?: PaginatedRequestOptions): Promise<GetResponse>; | ||
declare function stream(service: BaseService, endpoint: string, options?: BaseRequestOptions): Promise<any>; | ||
declare function post(service: BaseService, endpoint: string, { isForm, sudo, showExpanded, ...options }?: { | ||
isForm?: boolean; | ||
} & BaseRequestOptions): Promise<PostResponse>; | ||
declare function put(service: BaseService, endpoint: string, { sudo, showExpanded, ...body }?: BaseRequestOptions): Promise<PutResponse>; | ||
declare function del(service: BaseService, endpoint: string, { sudo, showExpanded, ...query }?: BaseRequestOptions): Promise<DelResponse>; | ||
export declare function get<T = Record<string, unknown>>(service: BaseService, endpoint: string, options?: BaseRequestOptions): Promise<T | T[]>; | ||
export declare function get<T = Record<string, unknown>>(service: BaseService, endpoint: string, options?: PaginatedRequestOptions & { | ||
showExpanded: true; | ||
}): Promise<ExpandedResponse<T> | ExpandedResponse<T[]> | PaginationResponse<T[]>>; | ||
declare function post<T = Record<string, unknown>>(service: BaseService, endpoint: string, options?: IsForm & BaseRequestOptions): Promise<T>; | ||
declare function post<T = Record<string, unknown>>(service: BaseService, endpoint: string, options?: IsForm & BaseRequestOptions & { | ||
showExpanded: true; | ||
}): Promise<ExpandedResponse<T>>; | ||
declare function put<T = Record<string, unknown>>(service: BaseService, endpoint: string, options?: BaseRequestOptions): Promise<T>; | ||
declare function put<T = Record<string, unknown>>(service: BaseService, endpoint: string, { showExpanded }: BaseRequestOptions & { | ||
showExpanded: true; | ||
}): Promise<ExpandedResponse<T>>; | ||
declare function del<T = Record<string, unknown>>(service: BaseService, endpoint: string, options?: BaseRequestOptions): Promise<T>; | ||
declare function del<T = Record<string, unknown>>(service: BaseService, endpoint: string, { showExpanded }: BaseRequestOptions & { | ||
showExpanded: true; | ||
}): Promise<ExpandedResponse<T>>; | ||
declare function stream(service: BaseService, endpoint: string, options?: BaseRequestOptions): NodeJS.ReadableStream; | ||
export declare const RequestHelper: { | ||
@@ -47,0 +57,0 @@ post: typeof post; |
@@ -10,3 +10,3 @@ import * as FormData from 'form-data'; | ||
}; | ||
export interface Bundle<T extends { | ||
export interface BundleType<T extends { | ||
[name: string]: Constructor; | ||
@@ -18,4 +18,4 @@ }, P extends keyof T> { | ||
[name: string]: Constructor; | ||
}, P extends keyof T>(services: T): Bundle<T, P>; | ||
export declare function appendFormFromObject(object: any): FormData; | ||
}, P extends keyof T>(services: T): BundleType<T, P>; | ||
export declare function appendFormFromObject(object: Record<string, unknown>): FormData; | ||
export {}; |
@@ -1,5 +0,6 @@ | ||
import { BaseService, Sudo, BaseRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo, BaseRequestOptions } from '../infrastructure'; | ||
export declare class ApplicationSettings extends BaseService { | ||
all(options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
edit(options?: BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
all(options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -1,11 +0,12 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Branches extends BaseService { | ||
all(projectId: string | number, options?: { | ||
search?: string; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, branchName: string, ref: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
unprotect(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, branchName: string, ref: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, branchName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, branchName: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
unprotect(projectId: string | number, branchName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class BroadcastMessages extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(broadcastMessageId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(broadcastMessageId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(broadcastMessageId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(broadcastMessageId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(broadcastMessageId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(broadcastMessageId: number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDiscussions } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface CommitDiscussions extends ResourceDiscussions { | ||
@@ -4,0 +5,0 @@ addNote(projectId: string | number, commitId: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): any; |
@@ -1,3 +0,3 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare type CommitSchema = CommitSchemaDefault | CommitSchemaCamelized; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface CommitSchemaDefault { | ||
@@ -31,2 +31,3 @@ id: string; | ||
} | ||
export declare type CommitSchema = CommitSchemaDefault | CommitSchemaCamelized; | ||
interface CommitAction { | ||
@@ -47,14 +48,14 @@ /** The action to perform */ | ||
export declare class Commits extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
cherryPick(projectId: string | number, sha: string, branch: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
comments(projectId: string | number, sha: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, branch: string, message: string, actions?: CommitAction[], options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
createComment(projectId: string | number, sha: string, note: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
diff(projectId: string | number, sha: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
editStatus(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
references(projectId: string | number, sha: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
show(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
status(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
mergeRequests(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
cherryPick(projectId: string | number, sha: string, branch: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
comments(projectId: string | number, sha: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, branch: string, message: string, actions?: CommitAction[], options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
createComment(projectId: string | number, sha: string, note: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
diff(projectId: string | number, sha: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
editStatus(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
references(projectId: string | number, sha: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
status(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
mergeRequests(projectId: string | number, sha: string, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} | ||
export {}; |
@@ -1,7 +0,8 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ContainerRegistry extends BaseService { | ||
repositories(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
tags(projectId: string | number, repositoryId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
removeRepository(projectId: string | number, repositoryId: number, options?: Sudo): Promise<import("../infrastructure").DelResponse>; | ||
removeTag(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo): Promise<import("../infrastructure").DelResponse>; | ||
repositories(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
tags(projectId: string | number, repositoryId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
removeRepository(projectId: string | number, repositoryId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
removeTag(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
removeTags(projectId: string | number, repositoryId: number, nameRegexDelete: string, options?: Sudo & { | ||
@@ -11,4 +12,4 @@ nameRegexKeep: string; | ||
olderThan: string; | ||
}): Promise<import("../infrastructure").DelResponse>; | ||
showTag(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
}): Promise<Record<string, unknown>>; | ||
showTag(projectId: string | number, repositoryId: number, tagName: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,11 +0,12 @@ | ||
import { BaseService, Sudo, BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo, BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class DeployKeys extends BaseService { | ||
add(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
add(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
all({ projectId, ...options }?: { | ||
projectId?: string | number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(projectId: string | number, keyId: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
enable(projectId: string | number, keyId: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, keyId: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, keyId: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(projectId: string | number, keyId: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
enable(projectId: string | number, keyId: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, keyId: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, keyId: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { CommitSchema } from './Commits'; | ||
import { PipelineSchema } from './Pipelines'; | ||
import { UserSchema } from './Users'; | ||
import { RunnerSchema } from './Runners'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { CommitSchemaDefault, CommitSchemaCamelized } from './Commits'; | ||
import { PipelineSchemaDefault, PipelineSchemaCamelized } from './Pipelines'; | ||
import { UserSchemaDefault, UserSchemaCamelized } from './Users'; | ||
import { RunnerSchemaDefault, RunnerSchemaCamelized } from './Runners'; | ||
export declare type DeploymentStatus = 'created' | 'running' | 'success' | 'failed' | 'canceled'; | ||
export interface DeploymentSchema { | ||
export interface DeploymentSchemaDefault { | ||
id: number; | ||
@@ -12,5 +13,11 @@ iid: number; | ||
sha: string; | ||
user: UserSchema; | ||
user: UserSchemaDefault; | ||
} | ||
export declare type Deployable = DeployableDefault | DeployableCamelized; | ||
export interface DeploymentSchemaCamelized { | ||
id: number; | ||
iid: number; | ||
ref: string; | ||
sha: string; | ||
user: UserSchemaCamelized; | ||
} | ||
export interface DeployableDefault { | ||
@@ -20,3 +27,3 @@ id: number; | ||
name: string; | ||
runner?: RunnerSchema; | ||
runner?: RunnerSchemaDefault; | ||
stage?: string; | ||
@@ -26,8 +33,8 @@ started_at?: Date; | ||
tag: boolean; | ||
commit?: CommitSchema; | ||
commit?: CommitSchemaDefault; | ||
coverage?: string; | ||
created_at?: Date; | ||
finished_at?: Date; | ||
user?: UserSchema; | ||
pipeline?: PipelineSchema; | ||
user?: UserSchemaDefault; | ||
pipeline?: PipelineSchemaDefault; | ||
} | ||
@@ -38,3 +45,3 @@ export interface DeployableCamelized { | ||
name: string; | ||
runner?: RunnerSchema; | ||
runner?: RunnerSchemaCamelized; | ||
stage?: string; | ||
@@ -44,13 +51,14 @@ startedAt?: Date; | ||
tag: boolean; | ||
commit?: CommitSchema; | ||
commit?: CommitSchemaCamelized; | ||
coverage?: string; | ||
createdAt?: Date; | ||
finishedAt?: Date; | ||
user?: UserSchema; | ||
pipeline?: PipelineSchema; | ||
user?: UserSchemaCamelized; | ||
pipeline?: PipelineSchemaCamelized; | ||
} | ||
export declare type Deployable = DeployableDefault | DeployableCamelized; | ||
export declare class Deployments extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
show(projectId: string | number, deploymentId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
mergeRequests(projectId: string | number, deploymentId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(projectId: string | number, deploymentId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
mergeRequests(projectId: string | number, deploymentId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,5 +0,5 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { DeploymentSchema } from './Deployments'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { DeploymentSchemaDefault, DeploymentSchemaCamelized, DeployableDefault, DeployableCamelized } from './Deployments'; | ||
import { ProjectSchemaDefault, ProjectSchemaCamelized } from './Projects'; | ||
export declare type EnvironmentSchema = EnvironmentSchemaDefault | EnvironmentSchemaCamelized; | ||
export interface EnvironmentSchemaDefault { | ||
@@ -21,18 +21,19 @@ id: number; | ||
} | ||
export declare type EnvironmentDetailSchema = EnvironmentDetailSchemaDefault | EnvironmentDetailSchemaCamelized; | ||
export declare type EnvironmentSchema = EnvironmentSchemaDefault | EnvironmentSchemaCamelized; | ||
export interface EnvironmentDetailSchemaDefault extends EnvironmentSchemaDefault { | ||
last_deployment?: DeploymentSchema; | ||
deployable?: DeploymentSchema; | ||
last_deployment?: DeploymentSchemaDefault; | ||
deployable?: DeployableDefault; | ||
} | ||
export interface EnvironmentDetailSchemaCamelized extends EnvironmentSchemaCamelized { | ||
lastDeployment?: DeploymentSchema; | ||
deployable?: DeploymentSchema; | ||
lastDeployment?: DeploymentSchemaCamelized; | ||
deployable?: DeployableCamelized; | ||
} | ||
export declare type EnvironmentDetailSchema = EnvironmentDetailSchemaDefault | EnvironmentDetailSchemaCamelized; | ||
export declare class Environments extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<EnvironmentSchema[]>; | ||
show(projectId: string | number, environmentId: number, options?: Sudo): Promise<EnvironmentDetailSchema>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, environmentId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, environmentId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
stop(projectId: string | number, environmentId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, environmentId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, environmentId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
stop(projectId: string | number, environmentId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDiscussions } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface EpicDiscussions extends ResourceDiscussions { | ||
@@ -4,0 +5,0 @@ addNote(groupId: string | number, epicId: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): any; |
@@ -1,7 +0,8 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class EpicIssues extends BaseService { | ||
all(groupId: string | number, epicId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
assign(groupId: string | number, epicId: number, issueId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
edit(groupId: string | number, epicId: number, issueId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(groupId: string | number, epicId: number, issueId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(groupId: string | number, epicId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
assign(groupId: string | number, epicId: number, issueId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
edit(groupId: string | number, epicId: number, issueId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(groupId: string | number, epicId: number, issueId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -0,10 +1,10 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceNotes } from '../templates'; | ||
import { GetResponse } from '../infrastructure/RequestHelper'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface EpicNotes extends ResourceNotes { | ||
all(groupId: string | number, epicId: string | number, options?: PaginatedRequestOptions): Promise<GetResponse>; | ||
create(groupId: string | number, epicId: string | number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
edit(groupId: string | number, epicId: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
remove(groupId: string | number, epicId: string | number, noteId: number, options?: Sudo): Promise<object>; | ||
show(groupId: string | number, epicId: string | number, noteId: number, options?: Sudo): Promise<GetResponse>; | ||
all(groupId: string | number, epicId: string | number, options?: PaginatedRequestOptions): any; | ||
create(groupId: string | number, epicId: string | number, body: string, options?: BaseRequestOptions): any; | ||
edit(groupId: string | number, epicId: string | number, noteId: number, body: string, options?: BaseRequestOptions): any; | ||
remove(groupId: string | number, epicId: string | number, noteId: number, options?: Sudo): any; | ||
show(groupId: string | number, epicId: string | number, noteId: number, options?: Sudo): any; | ||
} | ||
@@ -11,0 +11,0 @@ export declare class EpicNotes extends ResourceNotes { |
@@ -1,8 +0,9 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Epics extends BaseService { | ||
all(groupId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(groupId: string | number, title: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(groupId: string | number, epicId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(groupId: string | number, epicId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(groupId: string | number, epicId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(groupId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(groupId: string | number, title: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(groupId: string | number, epicId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(groupId: string | number, epicId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(groupId: string | number, epicId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions } from '../infrastructure'; | ||
export interface EventOptions { | ||
@@ -7,3 +8,3 @@ action?: 'created' | 'updated' | 'closed' | 'reopened' | 'pushed' | 'commented' | 'merged' | 'joined' | 'left' | 'destroyed' | 'expired'; | ||
export declare class Events extends BaseService { | ||
all(options?: PaginatedRequestOptions & EventOptions): Promise<import("../infrastructure").GetResponse>; | ||
all(options?: PaginatedRequestOptions & EventOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,5 +0,6 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class FeatureFlags extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
set(name: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
set(name: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -1,11 +0,12 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class GeoNodes extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(geonodeId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(geonodeId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
failures(options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
repair(geonodeId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(geonodeId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
status(geonodeId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
statuses(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(geonodeId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(geonodeId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
failures(options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
repair(geonodeId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(geonodeId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
status(geonodeId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
statuses(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceTemplates } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class GitignoreTemplates extends ResourceTemplates { | ||
constructor(options: BaseServiceOptions); | ||
} |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceTemplates } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class GitLabCIYMLTemplates extends ResourceTemplates { | ||
constructor(options: BaseServiceOptions); | ||
} |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceAccessRequests } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class GroupAccessRequests extends ResourceAccessRequests { | ||
constructor(options: BaseServiceOptions); | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceBadges } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface GroupBadges extends ResourceBadges { | ||
@@ -4,0 +5,0 @@ add(groupId: string | number, options?: BaseRequestOptions): any; |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceCustomAttributes } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface GroupCustomAttributes extends ResourceCustomAttributes { | ||
@@ -4,0 +5,0 @@ all(groupId: string | number, options?: PaginatedRequestOptions): any; |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDeployTokens } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class GroupDeployTokens extends ResourceDeployTokens { | ||
constructor(options?: BaseServiceOptions); | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceIssueBoards } from '../templates'; | ||
import { BaseServiceOptions, BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface GroupIssueBoards extends ResourceIssueBoards { | ||
@@ -4,0 +5,0 @@ all(groupId: string | number, options?: PaginatedRequestOptions): any; |
@@ -1,2 +0,3 @@ | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { ResourceLabels } from '../templates'; | ||
@@ -3,0 +4,0 @@ export interface GroupLabels extends ResourceLabels { |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceMembers } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class GroupMembers extends ResourceMembers { | ||
constructor(options?: BaseServiceOptions); | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceMilestones } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface GroupMilestones extends ResourceMilestones { | ||
@@ -4,0 +5,0 @@ all(groupId: string | number, options?: PaginatedRequestOptions): any; |
@@ -1,6 +0,7 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
import { ProjectSchema } from './Projects'; | ||
export declare class GroupProjects extends BaseService { | ||
all(groupId: string | number, options?: PaginatedRequestOptions): Promise<ProjectSchema[]>; | ||
add(groupId: string | number, projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
add(groupId: string | number, projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -1,4 +0,4 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo, ShowExpanded } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo, ShowExpanded } from '../infrastructure'; | ||
import { ProjectSchema } from './Projects'; | ||
export declare type GroupSchema = GroupSchemaDefault | GroupSchemaCamelized; | ||
export interface GroupSchemaDefault { | ||
@@ -26,2 +26,3 @@ id: number; | ||
} | ||
export declare type GroupSchema = GroupSchemaDefault | GroupSchemaCamelized; | ||
export declare type GroupDetailSchema = GroupSchema & { | ||
@@ -32,14 +33,14 @@ projects: ProjectSchema[]; | ||
all(options?: PaginatedRequestOptions): Promise<GroupSchema[]>; | ||
create(name: any, path: any, options?: BaseRequestOptions & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
createLDAPLink(groupId: string | number, cn: any, groupAccess: any, provider: string, options?: Sudo & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
edit(groupId: string | number, options?: BaseRequestOptions & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
create(name: string, path: string, options?: BaseRequestOptions & ShowExpanded): Promise<Record<string, unknown>>; | ||
createLDAPLink(groupId: string | number, cn: any, groupAccess: any, provider: string, options?: Sudo & ShowExpanded): Promise<Record<string, unknown>>; | ||
edit(groupId: string | number, options?: BaseRequestOptions & ShowExpanded): Promise<Record<string, unknown>>; | ||
projects(groupId: string | number, options?: BaseRequestOptions): Promise<ProjectSchema[]>; | ||
remove(groupId: string | number, options?: Sudo & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
remove(groupId: string | number, options?: Sudo & ShowExpanded): Promise<Record<string, unknown>>; | ||
removeLDAPLink(groupId: string | number, cn: any, { provider, ...options }?: Sudo & ShowExpanded & { | ||
provider?: string; | ||
}): Promise<import("../infrastructure").PostResponse>; | ||
search(nameOrPath: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
}): Promise<Record<string, unknown>>; | ||
search(nameOrPath: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(groupId: string | number, options?: BaseRequestOptions): Promise<GroupDetailSchema>; | ||
subgroups(groupId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
syncLDAP(groupId: string | number, options?: Sudo & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
subgroups(groupId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
syncLDAP(groupId: string | number, options?: Sudo & ShowExpanded): Promise<Record<string, unknown>>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceVariables, ResourceVariableSchema } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure'; | ||
export interface GroupVariables extends ResourceVariables { | ||
@@ -4,0 +5,0 @@ all(groupId: string | number, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema[]>; |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceAwardEmojis } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface IssueAwardEmojis extends ResourceAwardEmojis { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, issueId: string | number, noteId: number, options?: PaginatedRequestOptions): any; |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDiscussions } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface IssueDiscussions extends ResourceDiscussions { | ||
@@ -4,0 +5,0 @@ addNote(projectId: string | number, issueId: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): any; |
@@ -0,10 +1,10 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceNotes } from '../templates'; | ||
import { GetResponse } from '../infrastructure/RequestHelper'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface IssueNotes extends ResourceNotes { | ||
all(projectId: string | number, issueId: string | number, options?: PaginatedRequestOptions): Promise<GetResponse>; | ||
create(projectId: string | number, issueId: string | number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
edit(projectId: string | number, issueId: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
remove(projectId: string | number, issueId: string | number, noteId: number, options?: Sudo): Promise<object>; | ||
show(projectId: string | number, issueId: string | number, noteId: number, options?: Sudo): Promise<GetResponse>; | ||
all(projectId: string | number, issueId: string | number, options?: PaginatedRequestOptions): any; | ||
create(projectId: string | number, issueId: string | number, body: string, options?: BaseRequestOptions): any; | ||
edit(projectId: string | number, issueId: string | number, noteId: number, body: string, options?: BaseRequestOptions): any; | ||
remove(projectId: string | number, issueId: string | number, noteId: number, options?: Sudo): any; | ||
show(projectId: string | number, issueId: string | number, noteId: number, options?: Sudo): any; | ||
} | ||
@@ -11,0 +11,0 @@ export declare class IssueNotes extends ResourceNotes { |
@@ -1,27 +0,28 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
declare type ProjectOrGroup = { | ||
projectId: string | number; | ||
projectId?: string | number; | ||
} | { | ||
groupId: string | number; | ||
} | {}; | ||
groupId?: string | number; | ||
}; | ||
export declare class Issues extends BaseService { | ||
addSpentTime(projectId: string | number, issueIid: number, duration: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
addTimeEstimate(projectId: string | number, issueIid: number, duration: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all({ projectId, groupId, ...options }?: ProjectOrGroup & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
closedBy(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
link(projectId: string | number, issueIid: number, targetProjectId: string | number, targetIssueIid: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
links(projectId: string | number, issueIid: number): Promise<import("../infrastructure").GetResponse>; | ||
participants(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
relatedMergeRequests(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
removeLink(projectId: string | number, issueIid: number, issueLinkId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
resetSpentTime(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
resetTimeEstimate(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
subscribe(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
timeStats(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
unsubscribe(projectId: string | number, issueIid: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
addSpentTime(projectId: string | number, issueIid: number, duration: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
addTimeEstimate(projectId: string | number, issueIid: number, duration: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
all({ projectId, groupId, ...options }?: ProjectOrGroup & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
closedBy(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
link(projectId: string | number, issueIid: number, targetProjectId: string | number, targetIssueIid: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
links(projectId: string | number, issueIid: number): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
participants(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
relatedMergeRequests(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
removeLink(projectId: string | number, issueIid: number, issueLinkId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
resetSpentTime(projectId: string | number, issueIid: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
resetTimeEstimate(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
subscribe(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
timeStats(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
unsubscribe(projectId: string | number, issueIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} | ||
export {}; |
@@ -1,10 +0,11 @@ | ||
import { BaseService, BaseRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions } from '../infrastructure'; | ||
declare type ProjectOrGroup = { | ||
projectId: string | number; | ||
projectId?: string | number; | ||
} | { | ||
groupId: string | number; | ||
} | {}; | ||
groupId?: string | number; | ||
}; | ||
export declare class IssuesStatistics extends BaseService { | ||
all({ projectId, groupId, ...options }?: ProjectOrGroup & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
all({ projectId, groupId, ...options }?: ProjectOrGroup & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} | ||
export {}; |
@@ -1,2 +0,4 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
/// <reference types="node" /> | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { CommitSchemaDefault, CommitSchemaCamelized } from './Commits'; | ||
@@ -7,3 +9,2 @@ import { PipelineSchemaDefault, PipelineSchemaCamelized } from './Pipelines'; | ||
export declare type JobScope = 'created' | 'pending' | 'running' | 'failed' | 'success' | 'canceled' | 'skipped' | 'manual'; | ||
export declare type ArtifactSchema = ArtifactSchemaDefault | ArtifactSchemaCamelized; | ||
export interface ArtifactSchemaDefault { | ||
@@ -21,3 +22,3 @@ file_type: string; | ||
} | ||
export declare type JobSchema = JobSchemaDefault | JobSchemaCamelized; | ||
export declare type ArtifactSchema = ArtifactSchemaDefault | ArtifactSchemaCamelized; | ||
export interface JobSchemaDefault { | ||
@@ -65,24 +66,25 @@ id: number; | ||
} | ||
export declare type JobSchema = JobSchemaDefault | JobSchemaCamelized; | ||
export declare class Jobs extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
cancel(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
cancel(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
downloadSingleArtifactFile(projectId: string | number, jobId: number, artifactPath: string, { stream, ...options }?: { | ||
stream?: boolean; | ||
} & BaseRequestOptions): Promise<any>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]> | NodeJS.ReadableStream; | ||
downloadSingleArtifactFileFromRef(projectId: string | number, ref: string, artifactPath: string, jobName: string, { stream, ...options }?: { | ||
stream?: boolean; | ||
} & BaseRequestOptions): Promise<any>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]> | NodeJS.ReadableStream; | ||
downloadLatestArtifactFile(projectId: string | number, ref: string, jobName: string, { stream, ...options }?: { | ||
stream?: boolean; | ||
} & BaseRequestOptions): Promise<any>; | ||
downloadTraceFile(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
erase(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
eraseArtifacts(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
keepArtifacts(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
play(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
retry(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, jobId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]> | NodeJS.ReadableStream; | ||
downloadTraceFile(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
erase(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
eraseArtifacts(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
keepArtifacts(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
play(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
retry(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, jobId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showPipelineJobs(projectId: string | number, pipelineId: number, options?: { | ||
scope?: JobScope; | ||
} & Sudo): Promise<import("../infrastructure").GetResponse>; | ||
} & Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,4 +0,5 @@ | ||
import { BaseService, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo } from '../infrastructure'; | ||
export declare class Keys extends BaseService { | ||
show(keyId: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
show(keyId: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { ResourceLabels } from '../templates'; | ||
@@ -3,0 +4,0 @@ export interface Labels extends ResourceLabels { |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceTemplates } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class LicenceTemplates extends ResourceTemplates { | ||
constructor(options?: BaseServiceOptions); | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseService, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo } from '../infrastructure'; | ||
export declare class License extends BaseService { | ||
add(license: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
show(options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(licenceId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
add(license: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
all(options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(licenceId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,4 +0,5 @@ | ||
import { BaseService, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo } from '../infrastructure'; | ||
export declare class Lint extends BaseService { | ||
lint(content: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
lint(content: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseService, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo } from '../infrastructure'; | ||
export declare class Markdown extends BaseService { | ||
@@ -6,3 +7,3 @@ render(text: string, options?: { | ||
project?: string | number; | ||
} & Sudo): Promise<import("../infrastructure").PostResponse>; | ||
} & Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceAwardEmojis } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface MergeRequestAwardEmojis extends ResourceAwardEmojis { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, mergerequestId: string | number, noteId: number, options?: PaginatedRequestOptions): any; |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDiscussions } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface MergeRequestDiscussions extends ResourceDiscussions { | ||
@@ -4,0 +5,0 @@ addNote(projectId: string | number, mergerequestId: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): any; |
@@ -0,10 +1,10 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceNotes } from '../templates'; | ||
import { GetResponse } from '../infrastructure/RequestHelper'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface MergeRequestNotes extends ResourceNotes { | ||
all(projectId: string | number, mergerequestIid: string | number, options?: PaginatedRequestOptions): Promise<GetResponse>; | ||
create(projectId: string | number, mergerequestIid: string | number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
edit(projectId: string | number, mergerequestIid: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
remove(projectId: string | number, mergerequestIid: string | number, noteId: number, options?: Sudo): Promise<object>; | ||
show(projectId: string | number, mergerequestIid: string | number, noteId: number, options?: Sudo): Promise<GetResponse>; | ||
all(projectId: string | number, mergerequestIid: string | number, options?: PaginatedRequestOptions): any; | ||
create(projectId: string | number, mergerequestIid: string | number, body: string, options?: BaseRequestOptions): any; | ||
edit(projectId: string | number, mergerequestIid: string | number, noteId: number, body: string, options?: BaseRequestOptions): any; | ||
remove(projectId: string | number, mergerequestIid: string | number, noteId: number, options?: Sudo): any; | ||
show(projectId: string | number, mergerequestIid: string | number, noteId: number, options?: Sudo): any; | ||
} | ||
@@ -11,0 +11,0 @@ export declare class MergeRequestNotes extends ResourceNotes { |
@@ -1,2 +0,3 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface AcceptMergeRequestOptions { | ||
@@ -64,5 +65,5 @@ mergeCommitMessage?: string; | ||
export declare class MergeRequests extends BaseService { | ||
accept(projectId: string | number, mergerequestIid: number, options?: AcceptMergeRequestOptions & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
addSpentTime(projectId: string | number, mergerequestIid: number, duration: string, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
addTimeEstimate(projectId: string | number, mergerequestIid: number, duration: string, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
accept(projectId: string | number, mergerequestIid: number, options?: AcceptMergeRequestOptions & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
addSpentTime(projectId: string | number, mergerequestIid: number, duration: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
addTimeEstimate(projectId: string | number, mergerequestIid: number, duration: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
all({ projectId, groupId, ...options }?: ({ | ||
@@ -72,36 +73,36 @@ projectId?: string | number; | ||
groupId?: string | number; | ||
}) & AllMergeRequestsOptions & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
}) & AllMergeRequestsOptions & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
approve(projectId: string | number, mergerequestIid: number, options?: { | ||
sha?: string; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
approvals(projectId: string | number, { mergerequestIid, ...options }?: { | ||
mergerequestIid?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
approvalState(projectId: string | number, mergerequestIid: number, options?: { | ||
sha?: string; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
approvers(projectId: string | number, approverIds: number[], approverGroupIds: (string | number)[], { mergerequestIid, ...options }?: { | ||
mergerequestIid?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
cancelOnPipelineSucess(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
changes(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
closesIssues(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
commits(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, sourceBranch: string, targetBranch: string, title: string, options?: CreateMergeRequestOptions & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
edit(projectId: string | number, mergerequestIid: number, options?: UpdateMergeRequestOptions & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
cancelOnPipelineSucess(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
changes(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
closesIssues(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
commits(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, sourceBranch: string, targetBranch: string, title: string, options?: CreateMergeRequestOptions & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, mergerequestIid: number, options?: UpdateMergeRequestOptions & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
editApprovals(projectId: string | number, { mergerequestIid, ...options }?: { | ||
mergerequestIid?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
participants(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
pipelines(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
resetSpentTime(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
resetTimeEstimate(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
show(projectId: string | number, mergerequestIid: number, options?: ShowMergeRequestOptions & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
subscribe(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
timeStats(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
version(projectId: string | number, mergerequestIid: number, versionId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
versions(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
unapprove(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
unsubscribe(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
participants(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
pipelines(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
resetSpentTime(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
resetTimeEstimate(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, mergerequestIid: number, options?: ShowMergeRequestOptions & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
subscribe(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
timeStats(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
version(projectId: string | number, mergerequestIid: number, versionId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
versions(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
unapprove(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
unsubscribe(projectId: string | number, mergerequestIid: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Namespaces extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(namespaceId: string | number, options?: { | ||
search?: string; | ||
} & Sudo): Promise<import("../infrastructure").GetResponse>; | ||
} & Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,14 +0,15 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
declare type NotificationSettingLevel = 'disabled' | 'participating' | 'watch' | 'global' | 'mention' | 'custom'; | ||
declare type ProjectOrGroup = { | ||
projectId: string | number; | ||
projectId?: string | number; | ||
} | { | ||
groupId: string | number; | ||
} | {}; | ||
groupId?: string | number; | ||
}; | ||
export declare class NotificationSettings extends BaseService { | ||
all({ projectId, groupId, ...options }?: ProjectOrGroup & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
all({ projectId, groupId, ...options }?: ProjectOrGroup & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit({ projectId, groupId, ...options }?: { | ||
level?: NotificationSettingLevel; | ||
} & ProjectOrGroup & BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
} & ProjectOrGroup & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} | ||
export {}; |
@@ -1,7 +0,8 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Packages extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
remove(projectId: string | number, packageId: number, options?: Sudo): Promise<import("../infrastructure").DelResponse>; | ||
show(projectId: string | number, packageId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
showFiles(projectId: string | number, packageId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(projectId: string | number, packageId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, packageId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showFiles(projectId: string | number, packageId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,10 +0,11 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class PagesDomains extends BaseService { | ||
all({ projectId, ...options }?: { | ||
projectId?: string | number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, domain: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, domain: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, domain: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(projectId: string | number, domain: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, domain: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, domain: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, domain: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(projectId: string | number, domain: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,4 +0,4 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { JobScope } from './Jobs'; | ||
export declare type PipelineSchema = PipelineSchemaDefault | PipelineSchemaCamelized; | ||
export interface PipelineSchemaDefault { | ||
@@ -22,13 +22,14 @@ id: number; | ||
} | ||
export declare type PipelineSchema = PipelineSchemaDefault | PipelineSchemaCamelized; | ||
export declare class Pipelines extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, ref: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
delete(projectId: string | number, pipelineId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, pipelineId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
retry(projectId: string | number, pipelineId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
cancel(projectId: string | number, pipelineId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, ref: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
delete(projectId: string | number, pipelineId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, pipelineId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
retry(projectId: string | number, pipelineId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
cancel(projectId: string | number, pipelineId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
showJobs(projectId: string | number, pipelineId: number, options?: { | ||
scope: JobScope; | ||
} & Sudo): Promise<import("../infrastructure").GetResponse>; | ||
allVariables(projectId: string | number, pipelineId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
allVariables(projectId: string | number, pipelineId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,9 +0,10 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class PipelineSchedules extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, description: string, ref: string, cron: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, scheduleId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, scheduleId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, scheduleId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
takeOwnership(projectId: string | number, scheduleId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, description: string, ref: string, cron: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, scheduleId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, scheduleId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, scheduleId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
takeOwnership(projectId: string | number, scheduleId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class PipelineScheduleVariables extends BaseService { | ||
all(projectId: string | number, pipelineScheduleId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, pipelineScheduleId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, pipelineScheduleId: number, keyId: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, pipelineScheduleId: number, keyId: string, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
remove(projectId: string | number, pipelineScheduleId: number, keyId: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, pipelineScheduleId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, pipelineScheduleId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, pipelineScheduleId: number, keyId: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, pipelineScheduleId: number, keyId: string, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(projectId: string | number, pipelineScheduleId: number, keyId: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceAccessRequests } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class ProjectAccessRequests extends ResourceAccessRequests { | ||
constructor(options?: BaseServiceOptions); | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceBadges } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectBadges extends ResourceBadges { | ||
@@ -4,0 +5,0 @@ add(projectId: string | number, options?: BaseRequestOptions): any; |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceCustomAttributes } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectCustomAttributes extends ResourceCustomAttributes { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, options?: PaginatedRequestOptions): any; |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDeployTokens } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class ProjectDeployTokens extends ResourceDeployTokens { | ||
constructor(options?: BaseServiceOptions); | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ProjectHooks extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
show(projectId: string | number, hookId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
add(projectId: string | number, url: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, hookId: number, url: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, hookId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(projectId: string | number, hookId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
add(projectId: string | number, url: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, hookId: number, url: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, hookId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseService, Sudo, BaseRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo, BaseRequestOptions } from '../infrastructure'; | ||
export interface UploadMetadata { | ||
@@ -11,9 +12,9 @@ filename?: string; | ||
export declare class ProjectImportExport extends BaseService { | ||
download(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
exportStatus(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
download(projectId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
exportStatus(projectId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
import(content: string, path: string, { metadata, ...options }?: { | ||
metadata?: UploadMetadata; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
importStatus(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
schedule(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
importStatus(projectId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
schedule(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceIssueBoards } from '../templates'; | ||
import { BaseServiceOptions, BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectIssueBoards extends ResourceIssueBoards { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, options?: PaginatedRequestOptions): any; |
@@ -0,5 +1,5 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceMembers } from '../templates'; | ||
import { BaseServiceOptions } from '../infrastructure'; | ||
export declare class ProjectMembers extends ResourceMembers { | ||
constructor(options?: BaseServiceOptions); | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceMilestones } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectMilestones extends ResourceMilestones { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, options?: PaginatedRequestOptions): any; |
@@ -1,2 +0,3 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { EventOptions } from './Events'; | ||
@@ -18,3 +19,2 @@ import { UploadMetadata } from './ProjectImportExport'; | ||
} | ||
export declare type ProjectSchema = ProjectSchemaDefault | ProjectSchemaCamelized; | ||
export interface ProjectSchemaDefault { | ||
@@ -42,5 +42,6 @@ id: number; | ||
} | ||
export declare type ProjectSchema = ProjectSchemaDefault | ProjectSchemaCamelized; | ||
export declare class Projects extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<ProjectSchema[]>; | ||
archive(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
archive(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
create({ userId, ...options }: ({ | ||
@@ -52,25 +53,25 @@ name: string; | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
events(projectId: string | number, options?: BaseRequestOptions & EventOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
events(projectId: string | number, options?: BaseRequestOptions & EventOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
fork(projectId: string | number, { forkedFromId, ...options }?: { | ||
forkedFromId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
forks(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
languages(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
mirrorPull(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
removeFork(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
forks(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
languages(projectId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
mirrorPull(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
removeFork(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
search(projectName: string, options?: BaseRequestOptions): Promise<ProjectSchema[]>; | ||
share(projectId: string | number, groupId: string | number, groupAccess: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
star(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
statuses(projectId: string | number, sha: string, state: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
transfer(projectId: string | number, namespaceId: string | number): Promise<import("../infrastructure").PostResponse>; | ||
unarchive(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
unshare(projectId: string | number, groupId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
unstar(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
share(projectId: string | number, groupId: string | number, groupAccess: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
star(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
statuses(projectId: string | number, sha: string, state: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
transfer(projectId: string | number, namespaceId: string | number): Promise<Record<string, unknown>>; | ||
unarchive(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
unshare(projectId: string | number, groupId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
unstar(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
upload(projectId: any, content: any, { metadata, ...options }?: { | ||
metadata?: UploadMetadata; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceAwardEmojis } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectSnippetAwardEmojis extends ResourceAwardEmojis { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, issueId: string | number, noteId: number, options?: PaginatedRequestOptions): any; |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceDiscussions } from '../templates'; | ||
import { BaseRequestOptions, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectSnippetDiscussions extends ResourceDiscussions { | ||
@@ -4,0 +5,0 @@ addNote(projectId: string | number, snippetId: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): any; |
@@ -0,10 +1,10 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceNotes } from '../templates'; | ||
import { GetResponse } from '../infrastructure/RequestHelper'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface ProjectSnippetNotes extends ResourceNotes { | ||
all(projectId: string | number, snippetId: string | number, options?: PaginatedRequestOptions): Promise<GetResponse>; | ||
create(projectId: string | number, snippetId: string | number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
edit(projectId: string | number, snippetId: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise<object>; | ||
remove(projectId: string | number, snippetId: string | number, noteId: number, options?: Sudo): Promise<object>; | ||
show(projectId: string | number, snippetId: string | number, noteId: number, options?: Sudo): Promise<GetResponse>; | ||
all(projectId: string | number, snippetId: string | number, options?: PaginatedRequestOptions): any; | ||
create(projectId: string | number, snippetId: string | number, body: string, options?: BaseRequestOptions): any; | ||
edit(projectId: string | number, snippetId: string | number, noteId: number, body: string, options?: BaseRequestOptions): any; | ||
remove(projectId: string | number, snippetId: string | number, noteId: number, options?: Sudo): any; | ||
show(projectId: string | number, snippetId: string | number, noteId: number, options?: Sudo): any; | ||
} | ||
@@ -11,0 +11,0 @@ export declare class ProjectSnippetNotes extends ResourceNotes { |
@@ -1,11 +0,12 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { SnippetVisibility } from './Snippets'; | ||
export declare class ProjectSnippets extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
content(projectId: string | number, snippetId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, title: string, fileName: string, code: string, visibility: SnippetVisibility, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, snippetId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, snippetId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, snippetId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
userAgentDetails(projectId: string | number, snippetId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
content(projectId: string | number, snippetId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, title: string, fileName: string, code: string, visibility: SnippetVisibility, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, snippetId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, snippetId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, snippetId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
userAgentDetails(projectId: string | number, snippetId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceVariables, ResourceVariableSchema } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure'; | ||
import { PaginatedRequestOptions, BaseRequestOptions } from '../infrastructure'; | ||
export interface ProjectVariables extends ResourceVariables { | ||
@@ -4,0 +5,0 @@ all(projectId: string | number, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema[]>; |
@@ -1,7 +0,8 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ProtectedBranches extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
unprotect(projectId: string | number, branchName: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
protect(projectId: string | number, branchName: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, branchName: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
unprotect(projectId: string | number, branchName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ProtectedTags extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
protect(projectId: string | number, tagName: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, tagName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
unprotect(projectId: string | number, tagName: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
protect(projectId: string | number, tagName: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, tagName: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
unprotect(projectId: string | number, tagName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseService, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class PushRules extends BaseService { | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,5 +0,6 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ReleaseLinks extends BaseService { | ||
all(projectId: string | number, tagName: string, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, tagName: string, name: string, url: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, tagName: string, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, tagName: string, name: string, url: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, tagName: string, linkId: number, options?: Sudo & ({ | ||
@@ -9,5 +10,5 @@ name: string; | ||
url: string; | ||
})): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, tagName: string, linkId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, tagName: string, linkId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
})): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, tagName: string, linkId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, tagName: string, linkId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Releases extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, tagName: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, tagName: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, tagName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, tagName: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, tagName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, tagName: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,14 +0,15 @@ | ||
import { BaseService, Sudo, BaseRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo, BaseRequestOptions } from '../infrastructure'; | ||
declare type ArchiveType = 'tar.gz' | 'tar.bz2' | 'tbz' | 'tbz2' | 'tb2' | 'bz2' | 'tar' | 'zip'; | ||
export declare class Repositories extends BaseService { | ||
compare(projectId: string | number, from: string, to: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
contributors(projectId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
mergeBase(projectId: string | number, refs: string[], options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
compare(projectId: string | number, from: string, to: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
contributors(projectId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
mergeBase(projectId: string | number, refs: string[], options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showArchive(projectId: string | number, { fileType, ...options }?: { | ||
fileType?: ArchiveType; | ||
} & Sudo): Promise<import("../infrastructure").GetResponse>; | ||
showBlob(projectId: string | number, sha: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
showBlobRaw(projectId: string | number, sha: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
tree(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showBlob(projectId: string | number, sha: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showBlobRaw(projectId: string | number, sha: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
tree(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} | ||
export {}; |
@@ -1,3 +0,3 @@ | ||
import { BaseService, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export declare type RepositoryFileSchema = RepositoryFileSchemaDefault | RepositoryFileSchemaCamelized; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export interface RepositoryFileSchemaDefault { | ||
@@ -27,9 +27,10 @@ file_name: string; | ||
} | ||
export declare type RepositoryFileSchema = RepositoryFileSchemaDefault | RepositoryFileSchemaCamelized; | ||
export declare class RepositoryFiles extends BaseService { | ||
create(projectId: string | number, filePath: string, branch: string, content: string, commitMessage: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, filePath: string, branch: string, content: string, commitMessage: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, filePath: string, branch: string, commitMessage: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
create(projectId: string | number, filePath: string, branch: string, content: string, commitMessage: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, filePath: string, branch: string, content: string, commitMessage: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, filePath: string, branch: string, commitMessage: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, filePath: string, ref: string, options?: Sudo): Promise<RepositoryFileSchema>; | ||
showBlame(projectId: string | number, filePath: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
showRaw(projectId: string | number, filePath: string, ref: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
showBlame(projectId: string | number, filePath: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showRaw(projectId: string | number, filePath: string, ref: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,3 +0,3 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare type RunnerSchema = RunnerSchemaDefault | RunnerSchemaCamelized; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface RunnerSchemaDefault { | ||
@@ -23,13 +23,14 @@ id: number; | ||
} | ||
export declare type RunnerSchema = RunnerSchemaDefault | RunnerSchemaCamelized; | ||
export declare class Runners extends BaseService { | ||
all({ projectId, ...options }?: { | ||
projectId?: string | number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
allOwned(options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(runnerId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
enable(projectId: string | number, runnerId: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
disable(projectId: string | number, runnerId: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
jobs(runnerId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(runnerId: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
show(runnerId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
allOwned(options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(runnerId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
enable(projectId: string | number, runnerId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
disable(projectId: string | number, runnerId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
jobs(runnerId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(runnerId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(runnerId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseService, BaseRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions } from '../infrastructure'; | ||
export declare class Search extends BaseService { | ||
@@ -6,3 +7,3 @@ all(scope: string, search: string, { projectId, groupId, ...options }?: { | ||
groupId?: string | number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseService, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export declare type SupportedService = 'asana' | 'assembla' | 'bamboo' | 'bugzilla' | 'buildkite' | 'campfire' | 'custom-issue-tracker' | 'drone-ci' | 'emails-on-push' | 'external-wiki' | 'flowdock' | 'hangouts_chat' | 'hipchat' | 'irker' | 'jira' | 'kubernetes' | 'slack-slash-commands' | 'slack' | 'packagist' | 'pipelines-email' | 'pivotaltracker' | 'prometheus' | 'pushover' | 'redmine' | 'microsoft-teams' | 'mattermost' | 'mattermost-slash-commands' | 'teamcity' | 'jenkins' | 'jenkins-deprecated' | 'mock-ci' | 'youtrack'; | ||
export declare class Services extends BaseService { | ||
edit(projectId: string | number, serviceName: SupportedService, options?: BaseRequestOptions): Promise<import("../infrastructure").PutResponse>; | ||
remove(projectId: string | number, serviceName: SupportedService, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
show(projectId: string | number, serviceName: SupportedService, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
edit(projectId: string | number, serviceName: SupportedService, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, serviceName: SupportedService, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, serviceName: SupportedService, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,7 +0,7 @@ | ||
import { BaseService } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
export declare class SidekiqMetrics extends BaseService { | ||
queueMetrics(): Promise<import("../infrastructure").GetResponse>; | ||
processMetrics(): Promise<import("../infrastructure").GetResponse>; | ||
jobStats(): Promise<import("../infrastructure").GetResponse>; | ||
compoundMetrics(): Promise<import("../infrastructure").GetResponse>; | ||
queueMetrics(): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
processMetrics(): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
jobStats(): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
compoundMetrics(): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare type SnippetVisibility = 'private' | 'public' | 'internal'; | ||
@@ -6,9 +7,9 @@ export declare class Snippets extends BaseService { | ||
public?: boolean; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
content(snippetId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
create(title: string, fileName: string, content: string, visibility: SnippetVisibility, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(snippetId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(snippetId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(snippetId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
userAgentDetails(snippetId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
content(snippetId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(title: string, fileName: string, content: string, visibility: SnippetVisibility, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(snippetId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(snippetId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(snippetId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
userAgentDetails(snippetId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class SystemHooks extends BaseService { | ||
add(url: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(hookId: number, url: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(hookId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
add(url: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(hookId: number, url: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(hookId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,7 +0,8 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Tags extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, tagName: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, tagName: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, tagName: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, tagName: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
interface CreateTodoOptions extends Sudo { | ||
@@ -6,8 +7,8 @@ resourceName?: 'mergerequest' | 'issue'; | ||
export declare class Todos extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, resourceId: number, { resourceName, ...options }?: CreateTodoOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, resourceId: number, { resourceName, ...options }?: CreateTodoOptions): Promise<Record<string, unknown>>; | ||
done({ todoId, ...options }: { | ||
todoId?: number; | ||
} & Sudo): Promise<import("../infrastructure").PostResponse>; | ||
} & Sudo): Promise<Record<string, unknown>>; | ||
} | ||
export {}; |
@@ -1,11 +0,12 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Triggers extends BaseService { | ||
add(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(projectId: string | number, triggerId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
add(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(projectId: string | number, triggerId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
pipeline(projectId: string | number, ref: string, token: string, { variables }?: { | ||
variables?: Record<string, string>; | ||
}): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, triggerId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, triggerId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
}): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, triggerId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, triggerId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { ResourceCustomAttributes } from '../templates'; | ||
import { BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export interface UserCustomAttributes extends ResourceCustomAttributes { | ||
@@ -4,0 +5,0 @@ all(userId: string | number, options?: PaginatedRequestOptions): any; |
@@ -1,13 +0,14 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class UserEmails extends BaseService { | ||
all({ userId, ...options }?: { | ||
userId?: number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
add(email: any, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(emailId: any, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(emailId: any, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(emailId: any, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -1,15 +0,16 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class UserGPGKeys extends BaseService { | ||
all({ userId, ...options }?: { | ||
userId?: number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
add(key: string, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(keyId: number, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(keyId: number, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -1,9 +0,10 @@ | ||
import { BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
declare type ImpersonationTokenScope = 'api' | 'read_user'; | ||
export declare class UserImpersonationTokens extends BaseService { | ||
all(userId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
add(userId: number, name: string, scopes: ImpersonationTokenScope, expiresAt: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(userId: number, tokenId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
revoke(userId: number, tokenId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(userId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
add(userId: number, name: string, scopes: ImpersonationTokenScope, expiresAt: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(userId: number, tokenId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
revoke(userId: number, tokenId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} | ||
export {}; |
@@ -1,13 +0,14 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class UserKeys extends BaseService { | ||
all({ userId, ...options }?: { | ||
userId?: number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(title: any, key: any, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(keyId: any, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(keyId: any, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(keyId: any, { userId, ...options }?: { | ||
userId?: number; | ||
} & BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
} & BaseRequestOptions): Promise<Record<string, unknown>>; | ||
} |
@@ -1,4 +0,4 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { EventOptions } from './Events'; | ||
export declare type UserSchema = UserSchemaDefault | UserSchemaCamelized; | ||
export interface UserSchemaDefault { | ||
@@ -20,3 +20,3 @@ id: number; | ||
} | ||
export declare type UserDetailSchema = UserDetailSchemaDefault | UserSchemaCamelized; | ||
export declare type UserSchema = UserSchemaDefault | UserSchemaCamelized; | ||
export interface UserDetailSchemaDefault extends UserSchemaDefault { | ||
@@ -44,15 +44,16 @@ created_at: Date; | ||
} | ||
export declare type UserDetailSchema = UserDetailSchemaDefault | UserSchemaCamelized; | ||
export declare class Users extends BaseService { | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
activities(options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
projects(userId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
block(userId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
create(options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
current(options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
edit(userId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
events(userId: number, options?: BaseRequestOptions & EventOptions): Promise<import("../infrastructure").GetResponse>; | ||
search(emailOrUsername: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
show(userId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
remove(userId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
unblock(userId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
activities(options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
projects(userId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
block(userId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
create(options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
current(options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(userId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
events(userId: number, options?: BaseRequestOptions & EventOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
search(emailOrUsername: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(userId: number, options?: BaseRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(userId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
unblock(userId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,4 +0,5 @@ | ||
import { BaseService, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { Sudo } from '../infrastructure'; | ||
export declare class Version extends BaseService { | ||
show(options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
show(options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseService, PaginatedRequestOptions } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions } from '../infrastructure'; | ||
export declare class VulnerabilityFindings extends BaseService { | ||
@@ -10,3 +11,3 @@ all(projectId: string | number, options?: { | ||
pipelineId: string | number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class Wikis extends BaseService { | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(projectId: string | number, slug: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, slug: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(projectId: string | number, slug: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
all(projectId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(projectId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(projectId: string | number, slug: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, slug: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(projectId: string | number, slug: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
} |
@@ -1,11 +0,12 @@ | ||
import { BaseService, BaseServiceOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { Sudo } from '../infrastructure'; | ||
export declare type AccessLevel = 10 | 20 | 30 | 40 | 50; | ||
export declare class ResourceAccessRequests extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(resourceId: string | number): Promise<import("../infrastructure").GetResponse>; | ||
request(resourceId: string | number): Promise<import("../infrastructure").PostResponse>; | ||
all(resourceId: string | number): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
request(resourceId: string | number): Promise<Record<string, unknown>>; | ||
approve(resourceId: string | number, userId: number, options?: { | ||
accessLevel?: AccessLevel; | ||
} & Sudo): Promise<import("../infrastructure").PostResponse>; | ||
deny(resourceId: string | number, userId: number): Promise<import("../infrastructure").PostResponse>; | ||
} & Sudo): Promise<Record<string, unknown>>; | ||
deny(resourceId: string | number, userId: number): Promise<Record<string, unknown>>; | ||
} |
@@ -1,9 +0,10 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceAwardEmojis extends BaseService { | ||
protected resourceType: string; | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(projectId: string | number, resourceId: string | number, noteId: number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
award(projectId: string | number, resourceId: string | number, noteId: number, name: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
remove(projectId: string | number, resourceId: string | number, noteId: number, awardId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(projectId: string | number, resourceId: string | number, noteId: number, awardId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(projectId: string | number, resourceId: string | number, noteId: number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
award(projectId: string | number, resourceId: string | number, noteId: number, name: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
remove(projectId: string | number, resourceId: string | number, noteId: number, awardId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(projectId: string | number, resourceId: string | number, noteId: number, awardId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,10 +0,11 @@ | ||
import { BaseRequestOptions, BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceBadges extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
add(resourceId: string | number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(resourceId: string | number, badgeId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
preview(resourceId: string | number, linkUrl: string, imageUrl: string, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(resourceId: string | number, badgeId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(resourceId: string | number, badgeId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
add(resourceId: string | number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(resourceId: string | number, badgeId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
preview(resourceId: string | number, linkUrl: string, imageUrl: string, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(resourceId: string | number, badgeId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(resourceId: string | number, badgeId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,8 +0,9 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceCustomAttributes extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
set(resourceId: string | number, customAttributeId: number, value: string, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
remove(resourceId: string | number, customAttributeId: number, options?: Sudo): Promise<import("../infrastructure").PutResponse>; | ||
show(resourceId: string | number, customAttributeId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
set(resourceId: string | number, customAttributeId: number, value: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
remove(resourceId: string | number, customAttributeId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(resourceId: string | number, customAttributeId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,11 +0,12 @@ | ||
import { BaseRequestOptions, BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
declare type DeployTokenScope = 'read_repository' | 'read_registry' | 'write_registry'; | ||
export declare class ResourceDeployTokens extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
add(resourceId: string | number, tokenName: string, tokenScopes: DeployTokenScope[], options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
add(resourceId: string | number, tokenName: string, tokenScopes: DeployTokenScope[], options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
all({ resourceId, ...options }: { | ||
resourceId?: string | number; | ||
} & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
remove(resourceId: string | number, tokenId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
} & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(resourceId: string | number, tokenId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} | ||
export {}; |
@@ -1,11 +0,12 @@ | ||
import { BaseRequestOptions, BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceDiscussions extends BaseService { | ||
protected resource2Type: string; | ||
constructor(resourceType: string, resource2Type: string, options: BaseServiceOptions); | ||
addNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(resourceId: string | number, resource2Id: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(resourceId: string | number, resource2Id: string | number, content: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
editNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
removeNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(resourceId: string | number, resource2Id: string | number, discussionId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
addNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
all(resourceId: string | number, resource2Id: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(resourceId: string | number, resource2Id: string | number, content: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
editNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, content: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
removeNote(resourceId: string | number, resource2Id: string | number, discussionId: string | number, noteId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(resourceId: string | number, resource2Id: string | number, discussionId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,14 +0,15 @@ | ||
import { BaseRequestOptions, BaseService, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceIssueBoards extends BaseService { | ||
constructor(resourceType: string, options: any); | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(resourceId: string | number, name: string, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
createList(resourceId: string | number, boardId: number, labelId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
edit(resourceId: string | number, boardId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
editList(resourceId: string | number, boardId: number, listId: number, position: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
lists(resourceId: string | number, boardId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(resourceId: string | number, boardId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
removeList(resourceId: string | number, boardId: number, listId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(resourceId: string | number, boardId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
showList(resourceId: string | number, boardId: number, listId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(resourceId: string | number, name: string, options?: Sudo): Promise<Record<string, unknown>>; | ||
createList(resourceId: string | number, boardId: number, labelId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
edit(resourceId: string | number, boardId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
editList(resourceId: string | number, boardId: number, listId: number, position: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
lists(resourceId: string | number, boardId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(resourceId: string | number, boardId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
removeList(resourceId: string | number, boardId: number, listId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(resourceId: string | number, boardId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
showList(resourceId: string | number, boardId: number, listId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,10 +0,11 @@ | ||
import { BaseRequestOptions, BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo, ShowExpanded } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo, ShowExpanded } from '../infrastructure'; | ||
export declare class ResourceLabels extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions & ShowExpanded); | ||
all(resourceId: string | number, options?: PaginatedRequestOptions & ShowExpanded): Promise<import("../infrastructure").GetResponse>; | ||
create(resourceId: string | number, labelName: string, color: string, options?: BaseRequestOptions & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
edit(resourceId: string | number, labelName: string, options?: BaseRequestOptions & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
remove(resourceId: string | number, labelName: string, options?: Sudo & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
subscribe(resourceId: string | number, labelId: number, options?: Sudo & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
unsubscribe(resourceId: string | number, labelId: number, options?: Sudo & ShowExpanded): Promise<import("../infrastructure").PostResponse>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions & ShowExpanded): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(resourceId: string | number, labelName: string, color: string, options?: BaseRequestOptions & ShowExpanded): Promise<Record<string, unknown>>; | ||
edit(resourceId: string | number, labelName: string, options?: BaseRequestOptions & ShowExpanded): Promise<Record<string, unknown>>; | ||
remove(resourceId: string | number, labelName: string, options?: Sudo & ShowExpanded): Promise<Record<string, unknown>>; | ||
subscribe(resourceId: string | number, labelId: number, options?: Sudo & ShowExpanded): Promise<Record<string, unknown>>; | ||
unsubscribe(resourceId: string | number, labelId: number, options?: Sudo & ShowExpanded): Promise<Record<string, unknown>>; | ||
} |
@@ -1,2 +0,3 @@ | ||
import { BaseRequestOptions, BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { BaseRequestOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { AccessLevel } from './ResourceAccessRequests'; | ||
@@ -8,8 +9,8 @@ interface IncludeInherited { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
add(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
all(resourceId: string | number, { includeInherited, ...options }?: IncludeInherited & PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
edit(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(resourceId: string | number, userId: number, { includeInherited, ...options }?: IncludeInherited & Sudo): Promise<import("../infrastructure").GetResponse>; | ||
remove(resourceId: string | number, userId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
add(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
all(resourceId: string | number, { includeInherited, ...options }?: IncludeInherited & PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
edit(resourceId: string | number, userId: number, accessLevel: AccessLevel, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
show(resourceId: string | number, userId: number, { includeInherited, ...options }?: IncludeInherited & Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
remove(resourceId: string | number, userId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
} | ||
export {}; |
@@ -1,10 +0,11 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceMilestones extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(resourceId: string | number, title: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(resourceId: string | number, milestoneId: number, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
issues(resourceId: string | number, milestoneId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
mergeRequests(resourceId: string | number, milestoneId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
show(resourceId: string | number, milestoneId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(resourceId: string | number, title: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(resourceId: string | number, milestoneId: number, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
issues(resourceId: string | number, milestoneId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
mergeRequests(resourceId: string | number, milestoneId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(resourceId: string | number, milestoneId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,10 +0,11 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, BaseRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceNotes extends BaseService { | ||
protected resource2Type: string; | ||
constructor(resourceType: string, resource2Type: string, options: BaseServiceOptions); | ||
all(resourceId: string | number, resource2Id: string | number, options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
create(resourceId: string | number, resource2Id: string | number, body: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
edit(resourceId: string | number, resource2Id: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
remove(resourceId: string | number, resource2Id: string | number, noteId: number, options?: Sudo): Promise<import("../infrastructure").PostResponse>; | ||
show(resourceId: string | number, resource2Id: string | number, noteId: number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(resourceId: string | number, resource2Id: string | number, options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
create(resourceId: string | number, resource2Id: string | number, body: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
edit(resourceId: string | number, resource2Id: string | number, noteId: number, body: string, options?: BaseRequestOptions): Promise<Record<string, unknown>>; | ||
remove(resourceId: string | number, resource2Id: string | number, noteId: number, options?: Sudo): Promise<Record<string, unknown>>; | ||
show(resourceId: string | number, resource2Id: string | number, noteId: number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,6 +0,7 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions, Sudo } from '../infrastructure'; | ||
export declare class ResourceTemplates extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(options?: PaginatedRequestOptions): Promise<import("../infrastructure").GetResponse>; | ||
show(resourceId: string | number, options?: Sudo): Promise<import("../infrastructure").GetResponse>; | ||
all(options?: PaginatedRequestOptions): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
show(resourceId: string | number, options?: Sudo): Promise<Record<string, unknown> | Record<string, unknown>[]>; | ||
} |
@@ -1,3 +0,3 @@ | ||
import { BaseService, BaseServiceOptions, PaginatedRequestOptions } from '../infrastructure'; | ||
export declare type ResourceVariableSchema = ResourceVariableSchemaDefault | ResourceVariableSchemaCamelized; | ||
import { BaseService, BaseServiceOptions } from '@gitbeaker/requester-utils'; | ||
import { PaginatedRequestOptions } from '../infrastructure'; | ||
export interface ResourceVariableSchemaDefault { | ||
@@ -21,9 +21,10 @@ variable_type: 'env_var' | 'file'; | ||
} | ||
export declare type ResourceVariableSchema = ResourceVariableSchemaDefault | ResourceVariableSchemaCamelized; | ||
export declare class ResourceVariables extends BaseService { | ||
constructor(resourceType: string, options: BaseServiceOptions); | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema[]>; | ||
all(resourceId: string | number, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema[] | ResourceVariableSchema[][]>; | ||
create(resourceId: string | number, options?: ResourceVariableSchemaCamelized): Promise<ResourceVariableSchema>; | ||
edit(resourceId: string | number, keyId: string, options?: ResourceVariableSchemaCamelizedNoKey): Promise<ResourceVariableSchema>; | ||
show(resourceId: string | number, keyId: string, options?: PaginatedRequestOptions): Promise<ResourceVariableSchema>; | ||
remove(resourceId: string | number, keyId: string, options?: PaginatedRequestOptions): Promise<import("../infrastructure").PostResponse>; | ||
show(resourceId: string | number, keyId: string, options?: PaginatedRequestOptions): Promise<ResourceVariableSchemaDefault | ResourceVariableSchemaCamelized | ResourceVariableSchema[]>; | ||
remove(resourceId: string | number, keyId: string, options?: PaginatedRequestOptions): Promise<Record<string, unknown>>; | ||
} |
{ | ||
"name": "@gitbeaker/core", | ||
"description": "Core API implementation of the GitLab API. Supports Promises, Async/Await.", | ||
"version": "23.5.0", | ||
"version": "23.6.0", | ||
"author": { | ||
@@ -12,3 +12,3 @@ "name": "Justin Dalrymple" | ||
"dependencies": { | ||
"@gitbeaker/requester-utils": "^23.5.0", | ||
"@gitbeaker/requester-utils": "^23.6.0", | ||
"form-data": "^3.0.0", | ||
@@ -19,11 +19,10 @@ "li": "^1.3.0", | ||
"devDependencies": { | ||
"@types/node": "^14.0.6", | ||
"@types/node": "^14.11.2", | ||
"esm": "^3.2.25", | ||
"fs-extra": "^9.0.0", | ||
"fs-extra": "^9.0.1", | ||
"get-param-names": "github:jdalrymple/get-param-names#1-improve-functionality", | ||
"rollup": "^2.12.0", | ||
"rollup-plugin-terser": "^6.1.0", | ||
"rollup-plugin-typescript2": "^0.27.1", | ||
"ts-node": "^8.10.2", | ||
"typescript": "^3.9.3" | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.3" | ||
}, | ||
@@ -58,3 +57,3 @@ "engines": { | ||
}, | ||
"gitHead": "b57b8b5e43349bfa5103348c0bda40c40aa0a439" | ||
"gitHead": "0848ab55245a258701fe9b9c6f79bc6812390d59" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
483291
8
8057
0
118
1