@nathapp/koda-cli 0.4.1 → 0.5.0-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/admin.d.ts +3 -0
- package/dist/commands/admin.d.ts.map +1 -0
- package/dist/commands/admin.js +98 -0
- package/dist/commands/admin.js.map +1 -0
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +147 -22
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/approval.d.ts +3 -0
- package/dist/commands/approval.d.ts.map +1 -0
- package/dist/commands/approval.js +319 -0
- package/dist/commands/approval.js.map +1 -0
- package/dist/commands/auth.d.ts +3 -0
- package/dist/commands/auth.d.ts.map +1 -0
- package/dist/commands/auth.js +97 -0
- package/dist/commands/auth.js.map +1 -0
- package/dist/commands/ci-webhook.d.ts +3 -0
- package/dist/commands/ci-webhook.d.ts.map +1 -0
- package/dist/commands/ci-webhook.js +83 -0
- package/dist/commands/ci-webhook.js.map +1 -0
- package/dist/commands/code-intel.d.ts +3 -0
- package/dist/commands/code-intel.d.ts.map +1 -0
- package/dist/commands/code-intel.js +107 -0
- package/dist/commands/code-intel.js.map +1 -0
- package/dist/commands/comment.d.ts.map +1 -1
- package/dist/commands/comment.js +21 -63
- package/dist/commands/comment.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +2 -1
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts +3 -0
- package/dist/commands/context.d.ts.map +1 -0
- package/dist/commands/context.js +64 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/evaluate.d.ts +3 -0
- package/dist/commands/evaluate.d.ts.map +1 -0
- package/dist/commands/evaluate.js +108 -0
- package/dist/commands/evaluate.js.map +1 -0
- package/dist/commands/fleet-analytics.d.ts +9 -0
- package/dist/commands/fleet-analytics.d.ts.map +1 -0
- package/dist/commands/fleet-analytics.js +235 -0
- package/dist/commands/fleet-analytics.js.map +1 -0
- package/dist/commands/fleet-budget.d.ts +27 -0
- package/dist/commands/fleet-budget.d.ts.map +1 -0
- package/dist/commands/fleet-budget.js +217 -0
- package/dist/commands/fleet-budget.js.map +1 -0
- package/dist/commands/fleet-config.d.ts +3 -0
- package/dist/commands/fleet-config.d.ts.map +1 -0
- package/dist/commands/fleet-config.js +62 -0
- package/dist/commands/fleet-config.js.map +1 -0
- package/dist/commands/fleet-dispatch.d.ts +9 -0
- package/dist/commands/fleet-dispatch.d.ts.map +1 -0
- package/dist/commands/fleet-dispatch.js +134 -0
- package/dist/commands/fleet-dispatch.js.map +1 -0
- package/dist/commands/fleet-ingest.d.ts +4 -0
- package/dist/commands/fleet-ingest.d.ts.map +1 -0
- package/dist/commands/fleet-ingest.js +93 -0
- package/dist/commands/fleet-ingest.js.map +1 -0
- package/dist/commands/fleet-job-logs.d.ts +46 -0
- package/dist/commands/fleet-job-logs.d.ts.map +1 -0
- package/dist/commands/fleet-job-logs.js +139 -0
- package/dist/commands/fleet-job-logs.js.map +1 -0
- package/dist/commands/fleet-job-rulings.d.ts +3 -0
- package/dist/commands/fleet-job-rulings.d.ts.map +1 -0
- package/dist/commands/fleet-job-rulings.js +60 -0
- package/dist/commands/fleet-job-rulings.js.map +1 -0
- package/dist/commands/fleet-job.d.ts +3 -0
- package/dist/commands/fleet-job.d.ts.map +1 -0
- package/dist/commands/fleet-job.js +201 -0
- package/dist/commands/fleet-job.js.map +1 -0
- package/dist/commands/fleet-repo.d.ts +3 -0
- package/dist/commands/fleet-repo.d.ts.map +1 -0
- package/dist/commands/fleet-repo.js +200 -0
- package/dist/commands/fleet-repo.js.map +1 -0
- package/dist/commands/fleet-runner.d.ts +3 -0
- package/dist/commands/fleet-runner.d.ts.map +1 -0
- package/dist/commands/fleet-runner.js +109 -0
- package/dist/commands/fleet-runner.js.map +1 -0
- package/dist/commands/fleet-schedule.d.ts +10 -0
- package/dist/commands/fleet-schedule.d.ts.map +1 -0
- package/dist/commands/fleet-schedule.js +291 -0
- package/dist/commands/fleet-schedule.js.map +1 -0
- package/dist/commands/fleet-shared.d.ts +43 -0
- package/dist/commands/fleet-shared.d.ts.map +1 -0
- package/dist/commands/fleet-shared.js +155 -0
- package/dist/commands/fleet-shared.js.map +1 -0
- package/dist/commands/fleet-status.d.ts +10 -0
- package/dist/commands/fleet-status.d.ts.map +1 -0
- package/dist/commands/fleet-status.js +101 -0
- package/dist/commands/fleet-status.js.map +1 -0
- package/dist/commands/fleet.d.ts +4 -0
- package/dist/commands/fleet.d.ts.map +1 -0
- package/dist/commands/fleet.js +30 -0
- package/dist/commands/fleet.js.map +1 -0
- package/dist/commands/init.d.ts +2 -2
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +35 -8
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/kb.d.ts.map +1 -1
- package/dist/commands/kb.js +109 -94
- package/dist/commands/kb.js.map +1 -1
- package/dist/commands/label.d.ts.map +1 -1
- package/dist/commands/label.js +15 -49
- package/dist/commands/label.js.map +1 -1
- package/dist/commands/login.d.ts +9 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +52 -7
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/member.d.ts +3 -0
- package/dist/commands/member.d.ts.map +1 -0
- package/dist/commands/member.js +221 -0
- package/dist/commands/member.js.map +1 -0
- package/dist/commands/memory.d.ts +3 -0
- package/dist/commands/memory.d.ts.map +1 -0
- package/dist/commands/memory.js +282 -0
- package/dist/commands/memory.js.map +1 -0
- package/dist/commands/notifications.d.ts +3 -0
- package/dist/commands/notifications.d.ts.map +1 -0
- package/dist/commands/notifications.js +72 -0
- package/dist/commands/notifications.js.map +1 -0
- package/dist/commands/project.d.ts.map +1 -1
- package/dist/commands/project.js +53 -35
- package/dist/commands/project.js.map +1 -1
- package/dist/commands/role-binding.d.ts +14 -0
- package/dist/commands/role-binding.d.ts.map +1 -0
- package/dist/commands/role-binding.js +136 -0
- package/dist/commands/role-binding.js.map +1 -0
- package/dist/commands/ticket-watch.d.ts +4 -0
- package/dist/commands/ticket-watch.d.ts.map +1 -0
- package/dist/commands/ticket-watch.js +36 -0
- package/dist/commands/ticket-watch.js.map +1 -0
- package/dist/commands/ticket.d.ts.map +1 -1
- package/dist/commands/ticket.js +174 -244
- package/dist/commands/ticket.js.map +1 -1
- package/dist/commands/user.d.ts +3 -0
- package/dist/commands/user.d.ts.map +1 -0
- package/dist/commands/user.js +89 -0
- package/dist/commands/user.js.map +1 -0
- package/dist/commands/vcs-messages.d.ts +4 -3
- package/dist/commands/vcs-messages.d.ts.map +1 -1
- package/dist/commands/vcs-messages.js +4 -3
- package/dist/commands/vcs-messages.js.map +1 -1
- package/dist/commands/vcs.d.ts.map +1 -1
- package/dist/commands/vcs.js +99 -196
- package/dist/commands/vcs.js.map +1 -1
- package/dist/commands/webhook.d.ts +3 -0
- package/dist/commands/webhook.d.ts.map +1 -0
- package/dist/commands/webhook.js +98 -0
- package/dist/commands/webhook.js.map +1 -0
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +111 -7
- package/dist/config.js.map +1 -1
- package/dist/generated/client/client.gen.d.ts +3 -0
- package/dist/generated/client/client.gen.d.ts.map +1 -0
- package/dist/generated/client/client.gen.js +221 -0
- package/dist/generated/client/client.gen.js.map +1 -0
- package/dist/generated/client/index.d.ts +11 -0
- package/dist/generated/client/index.d.ts.map +1 -0
- package/dist/generated/client/index.js +18 -0
- package/dist/generated/client/index.js.map +1 -0
- package/dist/generated/client/types.gen.d.ts +121 -0
- package/dist/generated/client/types.gen.d.ts.map +1 -0
- package/dist/generated/client/types.gen.js +4 -0
- package/dist/generated/client/types.gen.js.map +1 -0
- package/dist/generated/client/utils.gen.d.ts +38 -0
- package/dist/generated/client/utils.gen.d.ts.map +1 -0
- package/dist/generated/client/utils.gen.js +240 -0
- package/dist/generated/client/utils.gen.js.map +1 -0
- package/dist/generated/client.gen.d.ts +13 -0
- package/dist/generated/client.gen.d.ts.map +1 -0
- package/dist/generated/client.gen.js +7 -0
- package/dist/generated/client.gen.js.map +1 -0
- package/dist/generated/core/auth.gen.d.ts +26 -0
- package/dist/generated/core/auth.gen.d.ts.map +1 -0
- package/dist/generated/core/auth.gen.js +19 -0
- package/dist/generated/core/auth.gen.js.map +1 -0
- package/dist/generated/core/bodySerializer.gen.d.ts +26 -0
- package/dist/generated/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/generated/core/bodySerializer.gen.js +61 -0
- package/dist/generated/core/bodySerializer.gen.js.map +1 -0
- package/dist/generated/core/params.gen.d.ts +44 -0
- package/dist/generated/core/params.gen.d.ts.map +1 -0
- package/dist/generated/core/params.gen.js +113 -0
- package/dist/generated/core/params.gen.js.map +1 -0
- package/dist/generated/core/pathSerializer.gen.d.ts +34 -0
- package/dist/generated/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/generated/core/pathSerializer.gen.js +116 -0
- package/dist/generated/core/pathSerializer.gen.js.map +1 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/generated/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/generated/core/queryKeySerializer.gen.js +99 -0
- package/dist/generated/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/generated/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/generated/core/serverSentEvents.gen.js +136 -0
- package/dist/generated/core/serverSentEvents.gen.js.map +1 -0
- package/dist/generated/core/types.gen.d.ts +84 -0
- package/dist/generated/core/types.gen.d.ts.map +1 -0
- package/dist/generated/core/types.gen.js +4 -0
- package/dist/generated/core/types.gen.js.map +1 -0
- package/dist/generated/core/utils.gen.d.ts +20 -0
- package/dist/generated/core/utils.gen.d.ts.map +1 -0
- package/dist/generated/core/utils.gen.js +94 -0
- package/dist/generated/core/utils.gen.js.map +1 -0
- package/dist/generated/index.d.ts +2 -6
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +288 -26
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/sdk.gen.d.ts +1136 -0
- package/dist/generated/sdk.gen.d.ts.map +1 -0
- package/dist/generated/sdk.gen.js +3200 -0
- package/dist/generated/sdk.gen.js.map +1 -0
- package/dist/generated/types.gen.d.ts +12034 -1280
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/index.js +118 -33
- package/dist/index.js.map +1 -1
- package/dist/utils/api-client.d.ts +9 -0
- package/dist/utils/api-client.d.ts.map +1 -0
- package/dist/utils/api-client.js +30 -0
- package/dist/utils/api-client.js.map +1 -0
- package/dist/utils/api-error-code.d.ts +6 -0
- package/dist/utils/api-error-code.d.ts.map +1 -0
- package/dist/utils/api-error-code.js +14 -0
- package/dist/utils/api-error-code.js.map +1 -0
- package/dist/utils/approval-pending.d.ts +12 -0
- package/dist/utils/approval-pending.d.ts.map +1 -0
- package/dist/utils/approval-pending.js +13 -0
- package/dist/utils/approval-pending.js.map +1 -0
- package/dist/utils/auth.d.ts +9 -1
- package/dist/utils/auth.d.ts.map +1 -1
- package/dist/utils/auth.js +13 -7
- package/dist/utils/auth.js.map +1 -1
- package/dist/utils/context.d.ts +29 -0
- package/dist/utils/context.d.ts.map +1 -0
- package/dist/utils/context.js +22 -0
- package/dist/utils/context.js.map +1 -0
- package/dist/utils/error.d.ts +9 -1
- package/dist/utils/error.d.ts.map +1 -1
- package/dist/utils/error.js +91 -27
- package/dist/utils/error.js.map +1 -1
- package/dist/utils/force.d.ts +7 -0
- package/dist/utils/force.d.ts.map +1 -0
- package/dist/utils/force.js +17 -0
- package/dist/utils/force.js.map +1 -0
- package/dist/utils/json-mode.d.ts +3 -0
- package/dist/utils/json-mode.d.ts.map +1 -0
- package/dist/utils/json-mode.js +25 -0
- package/dist/utils/json-mode.js.map +1 -0
- package/dist/utils/output.d.ts +4 -0
- package/dist/utils/output.d.ts.map +1 -1
- package/dist/utils/output.js +50 -0
- package/dist/utils/output.js.map +1 -1
- package/dist/utils/parse-positive-int.d.ts +8 -0
- package/dist/utils/parse-positive-int.d.ts.map +1 -0
- package/dist/utils/parse-positive-int.js +19 -0
- package/dist/utils/parse-positive-int.js.map +1 -0
- package/dist/utils/parse-usd.d.ts +8 -0
- package/dist/utils/parse-usd.d.ts.map +1 -0
- package/dist/utils/parse-usd.js +27 -0
- package/dist/utils/parse-usd.js.map +1 -0
- package/dist/utils/secret-input.d.ts +32 -0
- package/dist/utils/secret-input.d.ts.map +1 -0
- package/dist/utils/secret-input.js +106 -0
- package/dist/utils/secret-input.js.map +1 -0
- package/dist/utils/signals.d.ts +14 -0
- package/dist/utils/signals.d.ts.map +1 -0
- package/dist/utils/signals.js +23 -0
- package/dist/utils/signals.js.map +1 -0
- package/package.json +4 -3
- package/dist/generated/core/ApiError.d.ts +0 -11
- package/dist/generated/core/ApiError.d.ts.map +0 -1
- package/dist/generated/core/ApiError.js +0 -21
- package/dist/generated/core/ApiError.js.map +0 -1
- package/dist/generated/core/ApiRequestOptions.d.ts +0 -14
- package/dist/generated/core/ApiRequestOptions.d.ts.map +0 -1
- package/dist/generated/core/ApiRequestOptions.js +0 -3
- package/dist/generated/core/ApiRequestOptions.js.map +0 -1
- package/dist/generated/core/ApiResult.d.ts +0 -8
- package/dist/generated/core/ApiResult.d.ts.map +0 -1
- package/dist/generated/core/ApiResult.js +0 -3
- package/dist/generated/core/ApiResult.js.map +0 -1
- package/dist/generated/core/CancelablePromise.d.ts +0 -27
- package/dist/generated/core/CancelablePromise.d.ts.map +0 -1
- package/dist/generated/core/CancelablePromise.js +0 -101
- package/dist/generated/core/CancelablePromise.js.map +0 -1
- package/dist/generated/core/OpenAPI.d.ts +0 -29
- package/dist/generated/core/OpenAPI.d.ts.map +0 -1
- package/dist/generated/core/OpenAPI.js +0 -35
- package/dist/generated/core/OpenAPI.js.map +0 -1
- package/dist/generated/core/request.d.ts +0 -33
- package/dist/generated/core/request.d.ts.map +0 -1
- package/dist/generated/core/request.js +0 -310
- package/dist/generated/core/request.js.map +0 -1
- package/dist/generated/schemas.gen.d.ts +0 -895
- package/dist/generated/schemas.gen.d.ts.map +0 -1
- package/dist/generated/schemas.gen.js +0 -903
- package/dist/generated/schemas.gen.js.map +0 -1
- package/dist/generated/services.gen.d.ts +0 -546
- package/dist/generated/services.gen.d.ts.map +0 -1
- package/dist/generated/services.gen.js +0 -1393
- package/dist/generated/services.gen.js.map +0 -1
- package/dist/vcs-client.stub.d.ts +0 -74
- package/dist/vcs-client.stub.d.ts.map +0 -1
- package/dist/vcs-client.stub.js +0 -40
- package/dist/vcs-client.stub.js.map +0 -1
|
@@ -0,0 +1,3200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.projectsControllerRemove = exports.projectsControllerCreate = exports.projectsControllerFindAll = exports.memoryReadControllerGetMemory = exports.memoryReadControllerExportMemory = exports.memoryReadControllerWriteMode = exports.memoryControllerCreateMemory = exports.memoryControllerRetireNote = exports.memoryControllerRetireDecision = exports.memoryControllerRecordDecision = exports.memoryControllerExtractFromEvent = exports.timelineControllerGetTimeline = exports.contextControllerQueryContext = exports.contextControllerGetContext = exports.ragControllerOptimizeTable = exports.ragControllerImportGraphify = exports.ragControllerSearch = exports.ragControllerDeleteDocument = exports.ragControllerAddDocument = exports.ragControllerListDocuments = exports.agentsControllerRotateApiKey = exports.agentsControllerUpdateCapabilities = exports.agentsControllerSuggestTicket = exports.agentsControllerUpdate = exports.agentsControllerFindBySlug = exports.agentsControllerRemove = exports.agentsControllerFindMe = exports.agentsControllerGenerateApiKey = exports.agentsControllerFindAll = exports.adminUsersControllerUpdate = exports.adminUsersControllerCreate = exports.adminUsersControllerList = exports.ticketWatchControllerWatch = exports.ticketWatchControllerUnwatch = exports.ticketWatchControllerState = exports.meNotificationsControllerUpdatePreferences = exports.meNotificationsControllerGetPreferences = exports.meNotificationsControllerMarkAllRead = exports.meNotificationsControllerMarkRead = exports.meNotificationsControllerUnreadCount = exports.meNotificationsControllerList = exports.passwordResetControllerConfirmReset = exports.passwordResetControllerRequestReset = exports.authControllerLogout = exports.authControllerChangePassword = exports.authControllerMe = exports.authControllerRefresh = exports.authControllerLogin = exports.authControllerRegistrationStatus = exports.authControllerRegister = void 0;
|
|
5
|
+
exports.commentsControllerDeleteFromHttp = exports.commentsControllerCreateFromHttp = exports.commentsControllerListByTicketFromHttp = exports.ticketLinksControllerRemove = exports.ticketLinksControllerCreate = exports.ticketLinksControllerFindAll = exports.vcsWebhookControllerHandleWebhook = exports.vcsControllerSyncPr = exports.vcsControllerSyncAll = exports.vcsControllerSyncIssue = exports.vcsControllerRotateWebhookSecret = exports.vcsControllerTestConnection = exports.vcsControllerCreateConnection = exports.vcsControllerUpdateConnection = exports.vcsControllerGetConnection = exports.vcsControllerDeleteConnection = exports.webhookControllerRemove = exports.webhookControllerUpdate = exports.webhookControllerRemoveByProject = exports.webhookControllerRegister = exports.webhookControllerList = exports.ticketsControllerReject = exports.ticketsControllerClose = exports.ticketsControllerVerifyFix = exports.ticketsControllerFix = exports.ticketsControllerStart = exports.ticketsControllerVerify = exports.ticketsControllerAssign = exports.ticketsControllerUpdate = exports.ticketsControllerFindByRef = exports.ticketsControllerSoftDelete = exports.ticketsControllerCreate = exports.ticketsControllerFindAll = exports.projectAssigneesControllerSearch = exports.projectRolesControllerList = exports.projectMembersControllerAdd = exports.projectMembersControllerList = exports.sloDashboardControllerGetSloMetrics = exports.codeIntelControllerGetCallees = exports.codeIntelControllerGetCallers = exports.codeIntelControllerGetSymbol = exports.codeIntelControllerSearchSymbols = exports.codeIntelControllerIndexCommit = exports.mePermissionsControllerRead = exports.projectsControllerUpdateProjectAgent = exports.projectsControllerGetProjectAgents = exports.projectsControllerGetChangeImpact = exports.projectsControllerGetCiWebhookToken = exports.projectsControllerUpdate = exports.projectsControllerFindBySlug = void 0;
|
|
6
|
+
exports.fleetReposControllerCreate = exports.fleetReposControllerList = exports.projectFleetSchedulesControllerDisable = exports.projectFleetSchedulesControllerEnable = exports.projectFleetSchedulesControllerUpdate = exports.projectFleetSchedulesControllerGet = exports.projectFleetSchedulesControllerRemove = exports.projectFleetSchedulesControllerCreate = exports.projectFleetSchedulesControllerList = exports.projectProviderCredentialsControllerUpdate = exports.projectProviderCredentialsControllerRemove = exports.projectProviderCredentialsControllerCreate = exports.projectProviderCredentialsControllerList = exports.fleetProviderCredentialsControllerUpdate = exports.fleetProviderCredentialsControllerRemove = exports.fleetProviderCredentialsControllerCreate = exports.fleetProviderCredentialsControllerList = exports.fleetJobsControllerEvents = exports.fleetJobsControllerGet = exports.fleetJobsControllerRequeue = exports.fleetJobsControllerCancel = exports.fleetJobsControllerDispatch = exports.fleetJobsControllerList = exports.projectFleetBudgetsControllerResume = exports.projectFleetBudgetsControllerUpdate = exports.projectFleetBudgetsControllerRemove = exports.projectFleetBudgetsControllerCreate = exports.projectFleetBudgetsControllerList = exports.fleetBudgetsControllerResume = exports.fleetBudgetsControllerUpdate = exports.fleetBudgetsControllerRemove = exports.fleetBudgetsControllerCreate = exports.fleetBudgetsControllerList = exports.fleetActivityControllerList = exports.ticketFleetJobsControllerUnlink = exports.ticketFleetJobsControllerList = exports.fleetRulingsControllerCreate = exports.fleetRulingsControllerList = exports.adminControllerRetryOutboxEvent = exports.adminControllerGetOutbox = exports.ciWebhookControllerHandleCiWebhook = exports.retrievalControllerEvaluateRetrieval = exports.healthControllerCheck = exports.labelsControllerRemoveLabelFromHttp = exports.labelsControllerAssignLabelFromHttp = exports.labelsControllerUpdateFromHttp = exports.labelsControllerDeleteFromHttp = exports.labelsControllerCreateFromHttp = exports.labelsControllerFindByProjectFromHttp = exports.commentsControllerUpdateFromHttp = void 0;
|
|
7
|
+
exports.workspaceThreadsControllerList = exports.fleetCredentialBoardControllerGet = exports.fleetDashboardControllerGet = exports.projectFleetDashboardControllerGet = exports.fleetAnalyticsControllerRemove = exports.fleetAnalyticsControllerSpend = exports.projectFleetAnalyticsControllerJob = exports.projectFleetAnalyticsControllerIngest = exports.projectFleetAnalyticsControllerJobs = exports.projectFleetAnalyticsControllerStories = exports.projectFleetAnalyticsControllerQuality = exports.projectFleetAnalyticsControllerSpend = exports.fleetIngestControllerRerunOutdated = exports.fleetIngestControllerRerunJob = exports.fleetIngestControllerBackfill = exports.fleetIngestControllerList = exports.fleetJobLogsControllerRaw = exports.fleetJobLogsControllerEntries = exports.fleetJobLogsControllerList = exports.logUploadControllerAppend = exports.jobBundleControllerDownload = exports.bundleUploadControllerUpload = exports.projectFleetRunnersControllerList = exports.runnersControllerReprobe = exports.runnersControllerUpdate = exports.runnersControllerGet = exports.runnersControllerRemove = exports.runnersControllerList = exports.runnerApiControllerMe = exports.runnerApiControllerEnroll = exports.enrollmentsControllerCreate = exports.enrollmentsControllerList = exports.runnerSyncControllerSync = exports.runnerConfigEditControllerGet = exports.projectJobConfigEditControllerGet = exports.projectRepoConfigControllerSubmitDrift = exports.projectRepoConfigControllerSubmitRegenerate = exports.projectRepoConfigControllerSubmitEdit = exports.projectRepoConfigControllerRead = exports.projectRepoConfigControllerList = exports.projectFleetReposControllerList = exports.fleetReposControllerRemove = exports.fleetReposControllerSetRuleOverride = exports.fleetReposControllerGetRuleOverride = exports.fleetReposControllerClearRuleOverride = exports.fleetReposControllerRotateGitlabCredentials = exports.fleetReposControllerConfigureFixUnprotected = exports.fleetReposControllerConfigureFixChecks = exports.fleetReposControllerConfigureAutoReview = exports.fleetReposControllerCheck = void 0;
|
|
8
|
+
exports.auditControllerKeys = exports.auditControllerList = exports.projectFlowOverviewControllerOverview = exports.projectFlowsControllerAnswer = exports.projectFlowsControllerStop = exports.projectFlowsControllerGet = exports.projectFlowsControllerList = exports.fleetFlowsControllerCreate = exports.fleetFlowsControllerGet = exports.threadFlowsControllerCreate = exports.threadPreApprovalControllerSet = exports.threadPreApprovalControllerClear = exports.projectKnowledgeControllerSearch = exports.projectKnowledgeControllerReindex = exports.projectKnowledgeControllerPatterns = exports.projectKnowledgeControllerRepos = exports.runnerToolControllerCall = exports.projectSkillsControllerEnable = exports.projectSkillsControllerDisable = exports.projectSkillsControllerList = exports.adminSkillsControllerRemove = exports.adminSkillsControllerUpdate = exports.adminSkillsControllerCreate = exports.adminSkillsControllerList = exports.threadsControllerSendMessage = exports.threadsControllerMessages = exports.threadsControllerDiscard = exports.threadsControllerPublish = exports.threadsControllerArchive = exports.threadsControllerDecideApproval = exports.threadsControllerAnswer = exports.threadsControllerEndSession = exports.threadsControllerStop = exports.threadsControllerRun = exports.threadsControllerPlan = exports.threadsControllerChangeMode = exports.threadsControllerUpdate = exports.threadsControllerGet = exports.threadsControllerCreate = exports.threadsControllerList = exports.workspaceThreadsControllerDecideApproval = exports.workspaceThreadsControllerAnswer = exports.workspaceThreadsControllerEndSession = exports.workspaceThreadsControllerStop = exports.workspaceThreadsControllerArchive = exports.workspaceThreadsControllerSend = exports.workspaceThreadsControllerMessages = exports.workspaceThreadsControllerUpdate = exports.workspaceThreadsControllerGet = exports.workspaceThreadsControllerCreate = void 0;
|
|
9
|
+
exports.projectApprovalPoliciesControllerUpdate = exports.projectApprovalPoliciesControllerRemove = exports.projectApprovalPoliciesControllerKeys = exports.projectApprovalPoliciesControllerCreate = exports.projectApprovalPoliciesControllerList = exports.approvalPoliciesControllerUpdate = exports.approvalPoliciesControllerRemove = exports.approvalPoliciesControllerKeys = exports.approvalPoliciesControllerCreate = exports.approvalPoliciesControllerList = exports.approvalRequestsControllerCancel = exports.approvalRequestsControllerDecide = exports.approvalRequestsControllerGet = exports.approvalRequestsControllerCounts = exports.approvalRequestsControllerList = exports.roleBindingsControllerRemove = exports.roleBindingsControllerCreate = exports.roleBindingsControllerList = exports.rolesControllerUpdate = exports.rolesControllerRemove = exports.rolesControllerCreate = exports.rolesControllerList = exports.permissionCatalogControllerList = exports.publicInvitesControllerAccept = exports.publicInvitesControllerPreview = exports.projectInvitesControllerCancel = exports.projectInvitesControllerResend = exports.projectInvitesControllerCreate = exports.projectInvitesControllerList = exports.homeControllerGet = void 0;
|
|
10
|
+
const client_gen_1 = require("./client.gen");
|
|
11
|
+
/**
|
|
12
|
+
* Register a new user
|
|
13
|
+
*/
|
|
14
|
+
const authControllerRegister = (options) => (options.client ?? client_gen_1.client).post({
|
|
15
|
+
responseStyle: 'data',
|
|
16
|
+
url: '/api/auth/register',
|
|
17
|
+
...options,
|
|
18
|
+
headers: {
|
|
19
|
+
'Content-Type': 'application/json',
|
|
20
|
+
...options.headers
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
exports.authControllerRegister = authControllerRegister;
|
|
24
|
+
/**
|
|
25
|
+
* Whether self-registration is open
|
|
26
|
+
*/
|
|
27
|
+
const authControllerRegistrationStatus = (options) => (options?.client ?? client_gen_1.client).get({
|
|
28
|
+
responseStyle: 'data',
|
|
29
|
+
url: '/api/auth/registration-status',
|
|
30
|
+
...options
|
|
31
|
+
});
|
|
32
|
+
exports.authControllerRegistrationStatus = authControllerRegistrationStatus;
|
|
33
|
+
/**
|
|
34
|
+
* Login with email and password
|
|
35
|
+
*/
|
|
36
|
+
const authControllerLogin = (options) => (options.client ?? client_gen_1.client).post({
|
|
37
|
+
responseStyle: 'data',
|
|
38
|
+
url: '/api/auth/login',
|
|
39
|
+
...options,
|
|
40
|
+
headers: {
|
|
41
|
+
'Content-Type': 'application/json',
|
|
42
|
+
...options.headers
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
exports.authControllerLogin = authControllerLogin;
|
|
46
|
+
/**
|
|
47
|
+
* Refresh access and refresh tokens
|
|
48
|
+
*/
|
|
49
|
+
const authControllerRefresh = (options) => (options?.client ?? client_gen_1.client).post({
|
|
50
|
+
responseStyle: 'data',
|
|
51
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
52
|
+
url: '/api/auth/refresh',
|
|
53
|
+
...options
|
|
54
|
+
});
|
|
55
|
+
exports.authControllerRefresh = authControllerRefresh;
|
|
56
|
+
/**
|
|
57
|
+
* Get current authenticated user
|
|
58
|
+
*/
|
|
59
|
+
const authControllerMe = (options) => (options?.client ?? client_gen_1.client).get({
|
|
60
|
+
responseStyle: 'data',
|
|
61
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
62
|
+
url: '/api/auth/me',
|
|
63
|
+
...options
|
|
64
|
+
});
|
|
65
|
+
exports.authControllerMe = authControllerMe;
|
|
66
|
+
/**
|
|
67
|
+
* Change the current user password
|
|
68
|
+
*/
|
|
69
|
+
const authControllerChangePassword = (options) => (options.client ?? client_gen_1.client).post({
|
|
70
|
+
responseStyle: 'data',
|
|
71
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
72
|
+
url: '/api/auth/password',
|
|
73
|
+
...options,
|
|
74
|
+
headers: {
|
|
75
|
+
'Content-Type': 'application/json',
|
|
76
|
+
...options.headers
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
exports.authControllerChangePassword = authControllerChangePassword;
|
|
80
|
+
/**
|
|
81
|
+
* Revoke the current session (all sessions for a token issued before sessions)
|
|
82
|
+
*/
|
|
83
|
+
const authControllerLogout = (options) => (options?.client ?? client_gen_1.client).post({
|
|
84
|
+
responseStyle: 'data',
|
|
85
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
86
|
+
url: '/api/auth/logout',
|
|
87
|
+
...options
|
|
88
|
+
});
|
|
89
|
+
exports.authControllerLogout = authControllerLogout;
|
|
90
|
+
/**
|
|
91
|
+
* Request a password reset link
|
|
92
|
+
*/
|
|
93
|
+
const passwordResetControllerRequestReset = (options) => (options.client ?? client_gen_1.client).post({
|
|
94
|
+
responseStyle: 'data',
|
|
95
|
+
url: '/api/auth/password-reset',
|
|
96
|
+
...options,
|
|
97
|
+
headers: {
|
|
98
|
+
'Content-Type': 'application/json',
|
|
99
|
+
...options.headers
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
exports.passwordResetControllerRequestReset = passwordResetControllerRequestReset;
|
|
103
|
+
/**
|
|
104
|
+
* Set a new password with a reset token
|
|
105
|
+
*/
|
|
106
|
+
const passwordResetControllerConfirmReset = (options) => (options.client ?? client_gen_1.client).post({
|
|
107
|
+
responseStyle: 'data',
|
|
108
|
+
url: '/api/auth/password-reset/confirm',
|
|
109
|
+
...options,
|
|
110
|
+
headers: {
|
|
111
|
+
'Content-Type': 'application/json',
|
|
112
|
+
...options.headers
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
exports.passwordResetControllerConfirmReset = passwordResetControllerConfirmReset;
|
|
116
|
+
/**
|
|
117
|
+
* My notifications, newest first (users only)
|
|
118
|
+
*/
|
|
119
|
+
const meNotificationsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
120
|
+
responseStyle: 'data',
|
|
121
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
122
|
+
url: '/api/me/notifications',
|
|
123
|
+
...options
|
|
124
|
+
});
|
|
125
|
+
exports.meNotificationsControllerList = meNotificationsControllerList;
|
|
126
|
+
/**
|
|
127
|
+
* How many of my notifications are unread
|
|
128
|
+
*/
|
|
129
|
+
const meNotificationsControllerUnreadCount = (options) => (options?.client ?? client_gen_1.client).get({
|
|
130
|
+
responseStyle: 'data',
|
|
131
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
132
|
+
url: '/api/me/notifications/unread-count',
|
|
133
|
+
...options
|
|
134
|
+
});
|
|
135
|
+
exports.meNotificationsControllerUnreadCount = meNotificationsControllerUnreadCount;
|
|
136
|
+
/**
|
|
137
|
+
* Mark one of my notifications read (idempotent)
|
|
138
|
+
*/
|
|
139
|
+
const meNotificationsControllerMarkRead = (options) => (options.client ?? client_gen_1.client).post({
|
|
140
|
+
responseStyle: 'data',
|
|
141
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
142
|
+
url: '/api/me/notifications/{id}/read',
|
|
143
|
+
...options
|
|
144
|
+
});
|
|
145
|
+
exports.meNotificationsControllerMarkRead = meNotificationsControllerMarkRead;
|
|
146
|
+
/**
|
|
147
|
+
* Mark every notification I had when this request arrived read
|
|
148
|
+
*/
|
|
149
|
+
const meNotificationsControllerMarkAllRead = (options) => (options?.client ?? client_gen_1.client).post({
|
|
150
|
+
responseStyle: 'data',
|
|
151
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
152
|
+
url: '/api/me/notifications/read-all',
|
|
153
|
+
...options
|
|
154
|
+
});
|
|
155
|
+
exports.meNotificationsControllerMarkAllRead = meNotificationsControllerMarkAllRead;
|
|
156
|
+
/**
|
|
157
|
+
* My in-app and email notification categories
|
|
158
|
+
*/
|
|
159
|
+
const meNotificationsControllerGetPreferences = (options) => (options?.client ?? client_gen_1.client).get({
|
|
160
|
+
responseStyle: 'data',
|
|
161
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
162
|
+
url: '/api/me/notification-preferences',
|
|
163
|
+
...options
|
|
164
|
+
});
|
|
165
|
+
exports.meNotificationsControllerGetPreferences = meNotificationsControllerGetPreferences;
|
|
166
|
+
/**
|
|
167
|
+
* Switch my notification categories and email on or off
|
|
168
|
+
*/
|
|
169
|
+
const meNotificationsControllerUpdatePreferences = (options) => (options.client ?? client_gen_1.client).put({
|
|
170
|
+
responseStyle: 'data',
|
|
171
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
172
|
+
url: '/api/me/notification-preferences',
|
|
173
|
+
...options,
|
|
174
|
+
headers: {
|
|
175
|
+
'Content-Type': 'application/json',
|
|
176
|
+
...options.headers
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
exports.meNotificationsControllerUpdatePreferences = meNotificationsControllerUpdatePreferences;
|
|
180
|
+
/**
|
|
181
|
+
* Whether I watch this ticket, and how many people do
|
|
182
|
+
*/
|
|
183
|
+
const ticketWatchControllerState = (options) => (options.client ?? client_gen_1.client).get({
|
|
184
|
+
responseStyle: 'data',
|
|
185
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
186
|
+
url: '/api/projects/{slug}/tickets/{ref}/watchers',
|
|
187
|
+
...options
|
|
188
|
+
});
|
|
189
|
+
exports.ticketWatchControllerState = ticketWatchControllerState;
|
|
190
|
+
/**
|
|
191
|
+
* Stop watching this ticket; assignments and mentions still notify
|
|
192
|
+
*/
|
|
193
|
+
const ticketWatchControllerUnwatch = (options) => (options.client ?? client_gen_1.client).delete({
|
|
194
|
+
responseStyle: 'data',
|
|
195
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
196
|
+
url: '/api/projects/{slug}/tickets/{ref}/watch',
|
|
197
|
+
...options
|
|
198
|
+
});
|
|
199
|
+
exports.ticketWatchControllerUnwatch = ticketWatchControllerUnwatch;
|
|
200
|
+
/**
|
|
201
|
+
* Watch this ticket (receive its activity notifications)
|
|
202
|
+
*/
|
|
203
|
+
const ticketWatchControllerWatch = (options) => (options.client ?? client_gen_1.client).put({
|
|
204
|
+
responseStyle: 'data',
|
|
205
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
206
|
+
url: '/api/projects/{slug}/tickets/{ref}/watch',
|
|
207
|
+
...options
|
|
208
|
+
});
|
|
209
|
+
exports.ticketWatchControllerWatch = ticketWatchControllerWatch;
|
|
210
|
+
/**
|
|
211
|
+
* List users (global admin)
|
|
212
|
+
*/
|
|
213
|
+
const adminUsersControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
214
|
+
responseStyle: 'data',
|
|
215
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
216
|
+
url: '/api/admin/users',
|
|
217
|
+
...options
|
|
218
|
+
});
|
|
219
|
+
exports.adminUsersControllerList = adminUsersControllerList;
|
|
220
|
+
/**
|
|
221
|
+
* Create a user with a temporary password (global admin)
|
|
222
|
+
*/
|
|
223
|
+
const adminUsersControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
224
|
+
responseStyle: 'data',
|
|
225
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
226
|
+
url: '/api/admin/users',
|
|
227
|
+
...options,
|
|
228
|
+
headers: {
|
|
229
|
+
'Content-Type': 'application/json',
|
|
230
|
+
...options.headers
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
exports.adminUsersControllerCreate = adminUsersControllerCreate;
|
|
234
|
+
/**
|
|
235
|
+
* Change a user's global role or disable/enable them (global admin)
|
|
236
|
+
*/
|
|
237
|
+
const adminUsersControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
238
|
+
responseStyle: 'data',
|
|
239
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
240
|
+
url: '/api/admin/users/{id}',
|
|
241
|
+
...options,
|
|
242
|
+
headers: {
|
|
243
|
+
'Content-Type': 'application/json',
|
|
244
|
+
...options.headers
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
exports.adminUsersControllerUpdate = adminUsersControllerUpdate;
|
|
248
|
+
/**
|
|
249
|
+
* List all agents
|
|
250
|
+
*/
|
|
251
|
+
const agentsControllerFindAll = (options) => (options?.client ?? client_gen_1.client).get({
|
|
252
|
+
responseStyle: 'data',
|
|
253
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
254
|
+
url: '/api/agents',
|
|
255
|
+
...options
|
|
256
|
+
});
|
|
257
|
+
exports.agentsControllerFindAll = agentsControllerFindAll;
|
|
258
|
+
/**
|
|
259
|
+
* Create agent and generate API key (agent.create)
|
|
260
|
+
*/
|
|
261
|
+
const agentsControllerGenerateApiKey = (options) => (options.client ?? client_gen_1.client).post({
|
|
262
|
+
responseStyle: 'data',
|
|
263
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
264
|
+
url: '/api/agents',
|
|
265
|
+
...options,
|
|
266
|
+
headers: {
|
|
267
|
+
'Content-Type': 'application/json',
|
|
268
|
+
...options.headers
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
exports.agentsControllerGenerateApiKey = agentsControllerGenerateApiKey;
|
|
272
|
+
/**
|
|
273
|
+
* Get current agent profile (API key auth)
|
|
274
|
+
*/
|
|
275
|
+
const agentsControllerFindMe = (options) => (options?.client ?? client_gen_1.client).get({
|
|
276
|
+
responseStyle: 'data',
|
|
277
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
278
|
+
url: '/api/agents/me',
|
|
279
|
+
...options
|
|
280
|
+
});
|
|
281
|
+
exports.agentsControllerFindMe = agentsControllerFindMe;
|
|
282
|
+
/**
|
|
283
|
+
* Delete (soft-delete) an agent
|
|
284
|
+
*/
|
|
285
|
+
const agentsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
286
|
+
responseStyle: 'data',
|
|
287
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
288
|
+
url: '/api/agents/{slug}',
|
|
289
|
+
...options
|
|
290
|
+
});
|
|
291
|
+
exports.agentsControllerRemove = agentsControllerRemove;
|
|
292
|
+
/**
|
|
293
|
+
* Get agent by slug
|
|
294
|
+
*/
|
|
295
|
+
const agentsControllerFindBySlug = (options) => (options.client ?? client_gen_1.client).get({
|
|
296
|
+
responseStyle: 'data',
|
|
297
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
298
|
+
url: '/api/agents/{slug}',
|
|
299
|
+
...options
|
|
300
|
+
});
|
|
301
|
+
exports.agentsControllerFindBySlug = agentsControllerFindBySlug;
|
|
302
|
+
/**
|
|
303
|
+
* Update agent (agent.update)
|
|
304
|
+
*/
|
|
305
|
+
const agentsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
306
|
+
responseStyle: 'data',
|
|
307
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
308
|
+
url: '/api/agents/{slug}',
|
|
309
|
+
...options,
|
|
310
|
+
headers: {
|
|
311
|
+
'Content-Type': 'application/json',
|
|
312
|
+
...options.headers
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
exports.agentsControllerUpdate = agentsControllerUpdate;
|
|
316
|
+
/**
|
|
317
|
+
* Suggest a ticket for the agent to pick up
|
|
318
|
+
*/
|
|
319
|
+
const agentsControllerSuggestTicket = (options) => (options.client ?? client_gen_1.client).get({
|
|
320
|
+
responseStyle: 'data',
|
|
321
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
322
|
+
url: '/api/agents/{slug}/pickup',
|
|
323
|
+
...options
|
|
324
|
+
});
|
|
325
|
+
exports.agentsControllerSuggestTicket = agentsControllerSuggestTicket;
|
|
326
|
+
/**
|
|
327
|
+
* Update agent capabilities (agent.capabilities.update)
|
|
328
|
+
*/
|
|
329
|
+
const agentsControllerUpdateCapabilities = (options) => (options.client ?? client_gen_1.client).patch({
|
|
330
|
+
responseStyle: 'data',
|
|
331
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
332
|
+
url: '/api/agents/{slug}/update-capabilities',
|
|
333
|
+
...options,
|
|
334
|
+
headers: {
|
|
335
|
+
'Content-Type': 'application/json',
|
|
336
|
+
...options.headers
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
exports.agentsControllerUpdateCapabilities = agentsControllerUpdateCapabilities;
|
|
340
|
+
/**
|
|
341
|
+
* Rotate agent API key (agent.key.rotate)
|
|
342
|
+
*/
|
|
343
|
+
const agentsControllerRotateApiKey = (options) => (options.client ?? client_gen_1.client).post({
|
|
344
|
+
responseStyle: 'data',
|
|
345
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
346
|
+
url: '/api/agents/{slug}/rotate-key',
|
|
347
|
+
...options
|
|
348
|
+
});
|
|
349
|
+
exports.agentsControllerRotateApiKey = agentsControllerRotateApiKey;
|
|
350
|
+
/**
|
|
351
|
+
* List indexed documents in the project knowledge base (kb.read)
|
|
352
|
+
*/
|
|
353
|
+
const ragControllerListDocuments = (options) => (options.client ?? client_gen_1.client).get({
|
|
354
|
+
responseStyle: 'data',
|
|
355
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
356
|
+
url: '/api/projects/{slug}/kb/documents',
|
|
357
|
+
...options
|
|
358
|
+
});
|
|
359
|
+
exports.ragControllerListDocuments = ragControllerListDocuments;
|
|
360
|
+
/**
|
|
361
|
+
* Add a document to the project knowledge base (kb.document.add)
|
|
362
|
+
*/
|
|
363
|
+
const ragControllerAddDocument = (options) => (options.client ?? client_gen_1.client).post({
|
|
364
|
+
responseStyle: 'data',
|
|
365
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
366
|
+
url: '/api/projects/{slug}/kb/documents',
|
|
367
|
+
...options,
|
|
368
|
+
headers: {
|
|
369
|
+
'Content-Type': 'application/json',
|
|
370
|
+
...options.headers
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
exports.ragControllerAddDocument = ragControllerAddDocument;
|
|
374
|
+
/**
|
|
375
|
+
* Delete the user rows of a sourceId (kb.document.delete, row ownership)
|
|
376
|
+
*/
|
|
377
|
+
const ragControllerDeleteDocument = (options) => (options.client ?? client_gen_1.client).delete({
|
|
378
|
+
responseStyle: 'data',
|
|
379
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
380
|
+
url: '/api/projects/{slug}/kb/documents/{sourceId}',
|
|
381
|
+
...options
|
|
382
|
+
});
|
|
383
|
+
exports.ragControllerDeleteDocument = ragControllerDeleteDocument;
|
|
384
|
+
/**
|
|
385
|
+
* Hybrid search the project knowledge base (kb.search)
|
|
386
|
+
*/
|
|
387
|
+
const ragControllerSearch = (options) => (options.client ?? client_gen_1.client).post({
|
|
388
|
+
responseStyle: 'data',
|
|
389
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
390
|
+
url: '/api/projects/{slug}/kb/search',
|
|
391
|
+
...options,
|
|
392
|
+
headers: {
|
|
393
|
+
'Content-Type': 'application/json',
|
|
394
|
+
...options.headers
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
exports.ragControllerSearch = ragControllerSearch;
|
|
398
|
+
/**
|
|
399
|
+
* Import graphify knowledge graph into the project knowledge base (kb.graphify.import)
|
|
400
|
+
*/
|
|
401
|
+
const ragControllerImportGraphify = (options) => (options.client ?? client_gen_1.client).post({
|
|
402
|
+
responseStyle: 'data',
|
|
403
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
404
|
+
url: '/api/projects/{slug}/kb/import/graphify',
|
|
405
|
+
...options,
|
|
406
|
+
headers: {
|
|
407
|
+
'Content-Type': 'application/json',
|
|
408
|
+
...options.headers
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
exports.ragControllerImportGraphify = ragControllerImportGraphify;
|
|
412
|
+
/**
|
|
413
|
+
* Optimize the LanceDB table for a project (kb.optimize)
|
|
414
|
+
*/
|
|
415
|
+
const ragControllerOptimizeTable = (options) => (options.client ?? client_gen_1.client).post({
|
|
416
|
+
responseStyle: 'data',
|
|
417
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
418
|
+
url: '/api/projects/{slug}/kb/optimize',
|
|
419
|
+
...options
|
|
420
|
+
});
|
|
421
|
+
exports.ragControllerOptimizeTable = ragControllerOptimizeTable;
|
|
422
|
+
/**
|
|
423
|
+
* Get project context for agent use
|
|
424
|
+
*/
|
|
425
|
+
const contextControllerGetContext = (options) => (options.client ?? client_gen_1.client).get({
|
|
426
|
+
responseStyle: 'data',
|
|
427
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
428
|
+
url: '/api/context/{slug}',
|
|
429
|
+
...options
|
|
430
|
+
});
|
|
431
|
+
exports.contextControllerGetContext = contextControllerGetContext;
|
|
432
|
+
/**
|
|
433
|
+
* Query project context with request body
|
|
434
|
+
*/
|
|
435
|
+
const contextControllerQueryContext = (options) => (options.client ?? client_gen_1.client).post({
|
|
436
|
+
responseStyle: 'data',
|
|
437
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
438
|
+
url: '/api/context/{slug}/query',
|
|
439
|
+
...options,
|
|
440
|
+
headers: {
|
|
441
|
+
'Content-Type': 'application/json',
|
|
442
|
+
...options.headers
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
exports.contextControllerQueryContext = contextControllerQueryContext;
|
|
446
|
+
/**
|
|
447
|
+
* Get a project timeline (timeline.read)
|
|
448
|
+
*/
|
|
449
|
+
const timelineControllerGetTimeline = (options) => (options.client ?? client_gen_1.client).get({
|
|
450
|
+
responseStyle: 'data',
|
|
451
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
452
|
+
url: '/api/projects/{slug}/timeline',
|
|
453
|
+
...options
|
|
454
|
+
});
|
|
455
|
+
exports.timelineControllerGetTimeline = timelineControllerGetTimeline;
|
|
456
|
+
/**
|
|
457
|
+
* Extract memory items from a canonical event (memory.extract)
|
|
458
|
+
*/
|
|
459
|
+
const memoryControllerExtractFromEvent = (options) => (options.client ?? client_gen_1.client).post({
|
|
460
|
+
responseStyle: 'data',
|
|
461
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
462
|
+
url: '/api/memory/extract',
|
|
463
|
+
...options,
|
|
464
|
+
headers: {
|
|
465
|
+
'Content-Type': 'application/json',
|
|
466
|
+
...options.headers
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
exports.memoryControllerExtractFromEvent = memoryControllerExtractFromEvent;
|
|
470
|
+
/**
|
|
471
|
+
* Record a decision (memory.decision.record)
|
|
472
|
+
*/
|
|
473
|
+
const memoryControllerRecordDecision = (options) => (options.client ?? client_gen_1.client).post({
|
|
474
|
+
responseStyle: 'data',
|
|
475
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
476
|
+
url: '/api/memory/decisions',
|
|
477
|
+
...options,
|
|
478
|
+
headers: {
|
|
479
|
+
'Content-Type': 'application/json',
|
|
480
|
+
...options.headers
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
exports.memoryControllerRecordDecision = memoryControllerRecordDecision;
|
|
484
|
+
/**
|
|
485
|
+
* Retire a decision (memory.decision.retire)
|
|
486
|
+
*/
|
|
487
|
+
const memoryControllerRetireDecision = (options) => (options.client ?? client_gen_1.client).post({
|
|
488
|
+
responseStyle: 'data',
|
|
489
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
490
|
+
url: '/api/memory/{id}/retire',
|
|
491
|
+
...options,
|
|
492
|
+
headers: {
|
|
493
|
+
'Content-Type': 'application/json',
|
|
494
|
+
...options.headers
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
exports.memoryControllerRetireDecision = memoryControllerRetireDecision;
|
|
498
|
+
/**
|
|
499
|
+
* Retire a note (memory.create)
|
|
500
|
+
*/
|
|
501
|
+
const memoryControllerRetireNote = (options) => (options.client ?? client_gen_1.client).post({
|
|
502
|
+
responseStyle: 'data',
|
|
503
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
504
|
+
url: '/api/memory/notes/{id}/retire',
|
|
505
|
+
...options,
|
|
506
|
+
headers: {
|
|
507
|
+
'Content-Type': 'application/json',
|
|
508
|
+
...options.headers
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
exports.memoryControllerRetireNote = memoryControllerRetireNote;
|
|
512
|
+
/**
|
|
513
|
+
* Create a memory item (memory.create)
|
|
514
|
+
*/
|
|
515
|
+
const memoryControllerCreateMemory = (options) => (options.client ?? client_gen_1.client).post({
|
|
516
|
+
responseStyle: 'data',
|
|
517
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
518
|
+
url: '/api/memory',
|
|
519
|
+
...options,
|
|
520
|
+
headers: {
|
|
521
|
+
'Content-Type': 'application/json',
|
|
522
|
+
...options.headers
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
exports.memoryControllerCreateMemory = memoryControllerCreateMemory;
|
|
526
|
+
/**
|
|
527
|
+
* Get the caller's effective memory.create write mode (memory.read)
|
|
528
|
+
*/
|
|
529
|
+
const memoryReadControllerWriteMode = (options) => (options.client ?? client_gen_1.client).get({
|
|
530
|
+
responseStyle: 'data',
|
|
531
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
532
|
+
url: '/api/projects/{slug}/memory/write-mode',
|
|
533
|
+
...options
|
|
534
|
+
});
|
|
535
|
+
exports.memoryReadControllerWriteMode = memoryReadControllerWriteMode;
|
|
536
|
+
/**
|
|
537
|
+
* Export memory changed after a cursor (memory.read)
|
|
538
|
+
*/
|
|
539
|
+
const memoryReadControllerExportMemory = (options) => (options.client ?? client_gen_1.client).get({
|
|
540
|
+
responseStyle: 'data',
|
|
541
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
542
|
+
url: '/api/projects/{slug}/memory/export',
|
|
543
|
+
...options
|
|
544
|
+
});
|
|
545
|
+
exports.memoryReadControllerExportMemory = memoryReadControllerExportMemory;
|
|
546
|
+
/**
|
|
547
|
+
* Get project memory items (paginated) (memory.read)
|
|
548
|
+
*/
|
|
549
|
+
const memoryReadControllerGetMemory = (options) => (options.client ?? client_gen_1.client).get({
|
|
550
|
+
responseStyle: 'data',
|
|
551
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
552
|
+
url: '/api/projects/{slug}/memory',
|
|
553
|
+
...options
|
|
554
|
+
});
|
|
555
|
+
exports.memoryReadControllerGetMemory = memoryReadControllerGetMemory;
|
|
556
|
+
/**
|
|
557
|
+
* List projects visible to the calling principal (excluding soft-deleted)
|
|
558
|
+
*/
|
|
559
|
+
const projectsControllerFindAll = (options) => (options?.client ?? client_gen_1.client).get({
|
|
560
|
+
responseStyle: 'data',
|
|
561
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
562
|
+
url: '/api/projects',
|
|
563
|
+
...options
|
|
564
|
+
});
|
|
565
|
+
exports.projectsControllerFindAll = projectsControllerFindAll;
|
|
566
|
+
/**
|
|
567
|
+
* Create a new project
|
|
568
|
+
*/
|
|
569
|
+
const projectsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
570
|
+
responseStyle: 'data',
|
|
571
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
572
|
+
url: '/api/projects',
|
|
573
|
+
...options,
|
|
574
|
+
headers: {
|
|
575
|
+
'Content-Type': 'application/json',
|
|
576
|
+
...options.headers
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
exports.projectsControllerCreate = projectsControllerCreate;
|
|
580
|
+
/**
|
|
581
|
+
* Soft delete a project
|
|
582
|
+
*/
|
|
583
|
+
const projectsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
584
|
+
responseStyle: 'data',
|
|
585
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
586
|
+
url: '/api/projects/{slug}',
|
|
587
|
+
...options
|
|
588
|
+
});
|
|
589
|
+
exports.projectsControllerRemove = projectsControllerRemove;
|
|
590
|
+
/**
|
|
591
|
+
* Get a project by slug
|
|
592
|
+
*/
|
|
593
|
+
const projectsControllerFindBySlug = (options) => (options.client ?? client_gen_1.client).get({
|
|
594
|
+
responseStyle: 'data',
|
|
595
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
596
|
+
url: '/api/projects/{slug}',
|
|
597
|
+
...options
|
|
598
|
+
});
|
|
599
|
+
exports.projectsControllerFindBySlug = projectsControllerFindBySlug;
|
|
600
|
+
/**
|
|
601
|
+
* Update a project
|
|
602
|
+
*/
|
|
603
|
+
const projectsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
604
|
+
responseStyle: 'data',
|
|
605
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
606
|
+
url: '/api/projects/{slug}',
|
|
607
|
+
...options,
|
|
608
|
+
headers: {
|
|
609
|
+
'Content-Type': 'application/json',
|
|
610
|
+
...options.headers
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
exports.projectsControllerUpdate = projectsControllerUpdate;
|
|
614
|
+
/**
|
|
615
|
+
* Get the CI webhook HMAC secret
|
|
616
|
+
*/
|
|
617
|
+
const projectsControllerGetCiWebhookToken = (options) => (options.client ?? client_gen_1.client).get({
|
|
618
|
+
responseStyle: 'data',
|
|
619
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
620
|
+
url: '/api/projects/{slug}/ci-webhook-token',
|
|
621
|
+
...options
|
|
622
|
+
});
|
|
623
|
+
exports.projectsControllerGetCiWebhookToken = projectsControllerGetCiWebhookToken;
|
|
624
|
+
/**
|
|
625
|
+
* Get change impact analysis for a commit
|
|
626
|
+
*/
|
|
627
|
+
const projectsControllerGetChangeImpact = (options) => (options.client ?? client_gen_1.client).get({
|
|
628
|
+
responseStyle: 'data',
|
|
629
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
630
|
+
url: '/api/projects/{slug}/codeintel/impact',
|
|
631
|
+
...options
|
|
632
|
+
});
|
|
633
|
+
exports.projectsControllerGetChangeImpact = projectsControllerGetChangeImpact;
|
|
634
|
+
/**
|
|
635
|
+
* List the project agent roster (any member; un-paged)
|
|
636
|
+
*/
|
|
637
|
+
const projectsControllerGetProjectAgents = (options) => (options.client ?? client_gen_1.client).get({
|
|
638
|
+
responseStyle: 'data',
|
|
639
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
640
|
+
url: '/api/projects/{slug}/agents',
|
|
641
|
+
...options
|
|
642
|
+
});
|
|
643
|
+
exports.projectsControllerGetProjectAgents = projectsControllerGetProjectAgents;
|
|
644
|
+
/**
|
|
645
|
+
* Update an agent status within a project context (the global agent.update key, or the agent itself)
|
|
646
|
+
*/
|
|
647
|
+
const projectsControllerUpdateProjectAgent = (options) => (options.client ?? client_gen_1.client).patch({
|
|
648
|
+
responseStyle: 'data',
|
|
649
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
650
|
+
url: '/api/projects/{slug}/agents/{agentSlug}',
|
|
651
|
+
...options,
|
|
652
|
+
headers: {
|
|
653
|
+
'Content-Type': 'application/json',
|
|
654
|
+
...options.headers
|
|
655
|
+
}
|
|
656
|
+
});
|
|
657
|
+
exports.projectsControllerUpdateProjectAgent = projectsControllerUpdateProjectAgent;
|
|
658
|
+
/**
|
|
659
|
+
* The permission keys I hold, globally or in one project
|
|
660
|
+
*/
|
|
661
|
+
const mePermissionsControllerRead = (options) => (options?.client ?? client_gen_1.client).get({
|
|
662
|
+
responseStyle: 'data',
|
|
663
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
664
|
+
url: '/api/me/permissions',
|
|
665
|
+
...options
|
|
666
|
+
});
|
|
667
|
+
exports.mePermissionsControllerRead = mePermissionsControllerRead;
|
|
668
|
+
/**
|
|
669
|
+
* Index a commit for AST symbol extraction
|
|
670
|
+
*/
|
|
671
|
+
const codeIntelControllerIndexCommit = (options) => (options.client ?? client_gen_1.client).post({
|
|
672
|
+
responseStyle: 'data',
|
|
673
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
674
|
+
url: '/api/code-intel/index',
|
|
675
|
+
...options,
|
|
676
|
+
headers: {
|
|
677
|
+
'Content-Type': 'application/json',
|
|
678
|
+
...options.headers
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
exports.codeIntelControllerIndexCommit = codeIntelControllerIndexCommit;
|
|
682
|
+
/**
|
|
683
|
+
* Search symbols by name or file fragment
|
|
684
|
+
*/
|
|
685
|
+
const codeIntelControllerSearchSymbols = (options) => (options.client ?? client_gen_1.client).get({
|
|
686
|
+
responseStyle: 'data',
|
|
687
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
688
|
+
url: '/api/code-intel/symbols',
|
|
689
|
+
...options
|
|
690
|
+
});
|
|
691
|
+
exports.codeIntelControllerSearchSymbols = codeIntelControllerSearchSymbols;
|
|
692
|
+
/**
|
|
693
|
+
* Get a symbol by ID
|
|
694
|
+
*/
|
|
695
|
+
const codeIntelControllerGetSymbol = (options) => (options.client ?? client_gen_1.client).get({
|
|
696
|
+
responseStyle: 'data',
|
|
697
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
698
|
+
url: '/api/code-intel/symbols/{symbolId}',
|
|
699
|
+
...options
|
|
700
|
+
});
|
|
701
|
+
exports.codeIntelControllerGetSymbol = codeIntelControllerGetSymbol;
|
|
702
|
+
/**
|
|
703
|
+
* Get callers of a symbol
|
|
704
|
+
*/
|
|
705
|
+
const codeIntelControllerGetCallers = (options) => (options.client ?? client_gen_1.client).get({
|
|
706
|
+
responseStyle: 'data',
|
|
707
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
708
|
+
url: '/api/code-intel/symbols/{symbolId}/callers',
|
|
709
|
+
...options
|
|
710
|
+
});
|
|
711
|
+
exports.codeIntelControllerGetCallers = codeIntelControllerGetCallers;
|
|
712
|
+
/**
|
|
713
|
+
* Get callees of a symbol
|
|
714
|
+
*/
|
|
715
|
+
const codeIntelControllerGetCallees = (options) => (options.client ?? client_gen_1.client).get({
|
|
716
|
+
responseStyle: 'data',
|
|
717
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
718
|
+
url: '/api/code-intel/symbols/{symbolId}/callees',
|
|
719
|
+
...options
|
|
720
|
+
});
|
|
721
|
+
exports.codeIntelControllerGetCallees = codeIntelControllerGetCallees;
|
|
722
|
+
/**
|
|
723
|
+
* Get SLO dashboard metrics (default: the last 24 hours)
|
|
724
|
+
*/
|
|
725
|
+
const sloDashboardControllerGetSloMetrics = (options) => (options?.client ?? client_gen_1.client).get({
|
|
726
|
+
responseStyle: 'data',
|
|
727
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
728
|
+
url: '/api/admin/slos',
|
|
729
|
+
...options
|
|
730
|
+
});
|
|
731
|
+
exports.sloDashboardControllerGetSloMetrics = sloDashboardControllerGetSloMetrics;
|
|
732
|
+
/**
|
|
733
|
+
* List project members (any member)
|
|
734
|
+
*/
|
|
735
|
+
const projectMembersControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
736
|
+
responseStyle: 'data',
|
|
737
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
738
|
+
url: '/api/projects/{slug}/members',
|
|
739
|
+
...options
|
|
740
|
+
});
|
|
741
|
+
exports.projectMembersControllerList = projectMembersControllerList;
|
|
742
|
+
/**
|
|
743
|
+
* Add an existing user by email (member.add)
|
|
744
|
+
*/
|
|
745
|
+
const projectMembersControllerAdd = (options) => (options.client ?? client_gen_1.client).post({
|
|
746
|
+
responseStyle: 'data',
|
|
747
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
748
|
+
url: '/api/projects/{slug}/members',
|
|
749
|
+
...options,
|
|
750
|
+
headers: {
|
|
751
|
+
'Content-Type': 'application/json',
|
|
752
|
+
...options.headers
|
|
753
|
+
}
|
|
754
|
+
});
|
|
755
|
+
exports.projectMembersControllerAdd = projectMembersControllerAdd;
|
|
756
|
+
/**
|
|
757
|
+
* List the project roles a member can be given (member.read)
|
|
758
|
+
*/
|
|
759
|
+
const projectRolesControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
760
|
+
responseStyle: 'data',
|
|
761
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
762
|
+
url: '/api/projects/{slug}/roles',
|
|
763
|
+
...options
|
|
764
|
+
});
|
|
765
|
+
exports.projectRolesControllerList = projectRolesControllerList;
|
|
766
|
+
/**
|
|
767
|
+
* Search assignees of a project (any member, or a rostered agent)
|
|
768
|
+
*/
|
|
769
|
+
const projectAssigneesControllerSearch = (options) => (options.client ?? client_gen_1.client).get({
|
|
770
|
+
responseStyle: 'data',
|
|
771
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
772
|
+
url: '/api/projects/{slug}/assignees',
|
|
773
|
+
...options
|
|
774
|
+
});
|
|
775
|
+
exports.projectAssigneesControllerSearch = projectAssigneesControllerSearch;
|
|
776
|
+
/**
|
|
777
|
+
* List tickets for a project (paginated)
|
|
778
|
+
*/
|
|
779
|
+
const ticketsControllerFindAll = (options) => (options.client ?? client_gen_1.client).get({
|
|
780
|
+
responseStyle: 'data',
|
|
781
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
782
|
+
url: '/api/projects/{slug}/tickets',
|
|
783
|
+
...options
|
|
784
|
+
});
|
|
785
|
+
exports.ticketsControllerFindAll = ticketsControllerFindAll;
|
|
786
|
+
/**
|
|
787
|
+
* Create a new ticket
|
|
788
|
+
*/
|
|
789
|
+
const ticketsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
790
|
+
responseStyle: 'data',
|
|
791
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
792
|
+
url: '/api/projects/{slug}/tickets',
|
|
793
|
+
...options,
|
|
794
|
+
headers: {
|
|
795
|
+
'Content-Type': 'application/json',
|
|
796
|
+
...options.headers
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
exports.ticketsControllerCreate = ticketsControllerCreate;
|
|
800
|
+
/**
|
|
801
|
+
* Soft delete a ticket
|
|
802
|
+
*/
|
|
803
|
+
const ticketsControllerSoftDelete = (options) => (options.client ?? client_gen_1.client).delete({
|
|
804
|
+
responseStyle: 'data',
|
|
805
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
806
|
+
url: '/api/projects/{slug}/tickets/{ref}',
|
|
807
|
+
...options
|
|
808
|
+
});
|
|
809
|
+
exports.ticketsControllerSoftDelete = ticketsControllerSoftDelete;
|
|
810
|
+
/**
|
|
811
|
+
* Get a ticket by reference (KODA-42 or CUID), with the caller's allowedActions
|
|
812
|
+
*/
|
|
813
|
+
const ticketsControllerFindByRef = (options) => (options.client ?? client_gen_1.client).get({
|
|
814
|
+
responseStyle: 'data',
|
|
815
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
816
|
+
url: '/api/projects/{slug}/tickets/{ref}',
|
|
817
|
+
...options
|
|
818
|
+
});
|
|
819
|
+
exports.ticketsControllerFindByRef = ticketsControllerFindByRef;
|
|
820
|
+
/**
|
|
821
|
+
* Update a ticket
|
|
822
|
+
*/
|
|
823
|
+
const ticketsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
824
|
+
responseStyle: 'data',
|
|
825
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
826
|
+
url: '/api/projects/{slug}/tickets/{ref}',
|
|
827
|
+
...options,
|
|
828
|
+
headers: {
|
|
829
|
+
'Content-Type': 'application/json',
|
|
830
|
+
...options.headers
|
|
831
|
+
}
|
|
832
|
+
});
|
|
833
|
+
exports.ticketsControllerUpdate = ticketsControllerUpdate;
|
|
834
|
+
/**
|
|
835
|
+
* Assign or unassign a ticket
|
|
836
|
+
*/
|
|
837
|
+
const ticketsControllerAssign = (options) => (options.client ?? client_gen_1.client).post({
|
|
838
|
+
responseStyle: 'data',
|
|
839
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
840
|
+
url: '/api/projects/{slug}/tickets/{ref}/assign',
|
|
841
|
+
...options,
|
|
842
|
+
headers: {
|
|
843
|
+
'Content-Type': 'application/json',
|
|
844
|
+
...options.headers
|
|
845
|
+
}
|
|
846
|
+
});
|
|
847
|
+
exports.ticketsControllerAssign = ticketsControllerAssign;
|
|
848
|
+
/**
|
|
849
|
+
* Verify a ticket (CREATED → VERIFIED)
|
|
850
|
+
*/
|
|
851
|
+
const ticketsControllerVerify = (options) => (options.client ?? client_gen_1.client).post({
|
|
852
|
+
responseStyle: 'data',
|
|
853
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
854
|
+
url: '/api/projects/{slug}/tickets/{ref}/verify',
|
|
855
|
+
...options,
|
|
856
|
+
headers: {
|
|
857
|
+
'Content-Type': 'application/json',
|
|
858
|
+
...options.headers
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
exports.ticketsControllerVerify = ticketsControllerVerify;
|
|
862
|
+
/**
|
|
863
|
+
* Start work on a ticket (VERIFIED → IN_PROGRESS)
|
|
864
|
+
*/
|
|
865
|
+
const ticketsControllerStart = (options) => (options.client ?? client_gen_1.client).post({
|
|
866
|
+
responseStyle: 'data',
|
|
867
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
868
|
+
url: '/api/projects/{slug}/tickets/{ref}/start',
|
|
869
|
+
...options
|
|
870
|
+
});
|
|
871
|
+
exports.ticketsControllerStart = ticketsControllerStart;
|
|
872
|
+
/**
|
|
873
|
+
* Submit fix for verification (IN_PROGRESS → VERIFY_FIX)
|
|
874
|
+
*/
|
|
875
|
+
const ticketsControllerFix = (options) => (options.client ?? client_gen_1.client).post({
|
|
876
|
+
responseStyle: 'data',
|
|
877
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
878
|
+
url: '/api/projects/{slug}/tickets/{ref}/fix',
|
|
879
|
+
...options,
|
|
880
|
+
headers: {
|
|
881
|
+
'Content-Type': 'application/json',
|
|
882
|
+
...options.headers
|
|
883
|
+
}
|
|
884
|
+
});
|
|
885
|
+
exports.ticketsControllerFix = ticketsControllerFix;
|
|
886
|
+
/**
|
|
887
|
+
* Approve or reject fix (VERIFY_FIX → CLOSED or IN_PROGRESS)
|
|
888
|
+
*/
|
|
889
|
+
const ticketsControllerVerifyFix = (options) => (options.client ?? client_gen_1.client).post({
|
|
890
|
+
responseStyle: 'data',
|
|
891
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
892
|
+
url: '/api/projects/{slug}/tickets/{ref}/verify-fix',
|
|
893
|
+
...options,
|
|
894
|
+
headers: {
|
|
895
|
+
'Content-Type': 'application/json',
|
|
896
|
+
...options.headers
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
exports.ticketsControllerVerifyFix = ticketsControllerVerifyFix;
|
|
900
|
+
/**
|
|
901
|
+
* Close a ticket (reason required, written as a GENERAL comment)
|
|
902
|
+
*/
|
|
903
|
+
const ticketsControllerClose = (options) => (options.client ?? client_gen_1.client).post({
|
|
904
|
+
responseStyle: 'data',
|
|
905
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
906
|
+
url: '/api/projects/{slug}/tickets/{ref}/close',
|
|
907
|
+
...options,
|
|
908
|
+
headers: {
|
|
909
|
+
'Content-Type': 'application/json',
|
|
910
|
+
...options.headers
|
|
911
|
+
}
|
|
912
|
+
});
|
|
913
|
+
exports.ticketsControllerClose = ticketsControllerClose;
|
|
914
|
+
/**
|
|
915
|
+
* Reject a ticket (CREATED or VERIFIED → REJECTED)
|
|
916
|
+
*/
|
|
917
|
+
const ticketsControllerReject = (options) => (options.client ?? client_gen_1.client).post({
|
|
918
|
+
responseStyle: 'data',
|
|
919
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
920
|
+
url: '/api/projects/{slug}/tickets/{ref}/reject',
|
|
921
|
+
...options,
|
|
922
|
+
headers: {
|
|
923
|
+
'Content-Type': 'application/json',
|
|
924
|
+
...options.headers
|
|
925
|
+
}
|
|
926
|
+
});
|
|
927
|
+
exports.ticketsControllerReject = ticketsControllerReject;
|
|
928
|
+
/**
|
|
929
|
+
* List all webhooks for a project
|
|
930
|
+
*/
|
|
931
|
+
const webhookControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
932
|
+
responseStyle: 'data',
|
|
933
|
+
url: '/api/projects/{slug}/webhooks',
|
|
934
|
+
...options
|
|
935
|
+
});
|
|
936
|
+
exports.webhookControllerList = webhookControllerList;
|
|
937
|
+
/**
|
|
938
|
+
* Register a webhook for a project
|
|
939
|
+
*/
|
|
940
|
+
const webhookControllerRegister = (options) => (options.client ?? client_gen_1.client).post({
|
|
941
|
+
responseStyle: 'data',
|
|
942
|
+
url: '/api/projects/{slug}/webhooks',
|
|
943
|
+
...options,
|
|
944
|
+
headers: {
|
|
945
|
+
'Content-Type': 'application/json',
|
|
946
|
+
...options.headers
|
|
947
|
+
}
|
|
948
|
+
});
|
|
949
|
+
exports.webhookControllerRegister = webhookControllerRegister;
|
|
950
|
+
/**
|
|
951
|
+
* Remove a webhook (project-scoped)
|
|
952
|
+
*/
|
|
953
|
+
const webhookControllerRemoveByProject = (options) => (options.client ?? client_gen_1.client).delete({
|
|
954
|
+
responseStyle: 'data',
|
|
955
|
+
url: '/api/projects/{slug}/webhooks/{id}',
|
|
956
|
+
...options
|
|
957
|
+
});
|
|
958
|
+
exports.webhookControllerRemoveByProject = webhookControllerRemoveByProject;
|
|
959
|
+
/**
|
|
960
|
+
* Update a webhook for a project
|
|
961
|
+
*/
|
|
962
|
+
const webhookControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
963
|
+
responseStyle: 'data',
|
|
964
|
+
url: '/api/projects/{slug}/webhooks/{id}',
|
|
965
|
+
...options,
|
|
966
|
+
headers: {
|
|
967
|
+
'Content-Type': 'application/json',
|
|
968
|
+
...options.headers
|
|
969
|
+
}
|
|
970
|
+
});
|
|
971
|
+
exports.webhookControllerUpdate = webhookControllerUpdate;
|
|
972
|
+
/**
|
|
973
|
+
* Remove a webhook
|
|
974
|
+
*/
|
|
975
|
+
const webhookControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
976
|
+
responseStyle: 'data',
|
|
977
|
+
url: '/api/webhooks/{id}',
|
|
978
|
+
...options
|
|
979
|
+
});
|
|
980
|
+
exports.webhookControllerRemove = webhookControllerRemove;
|
|
981
|
+
/**
|
|
982
|
+
* Delete VCS connection for a project
|
|
983
|
+
*/
|
|
984
|
+
const vcsControllerDeleteConnection = (options) => (options.client ?? client_gen_1.client).delete({
|
|
985
|
+
responseStyle: 'data',
|
|
986
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
987
|
+
url: '/api/projects/{slug}/vcs',
|
|
988
|
+
...options
|
|
989
|
+
});
|
|
990
|
+
exports.vcsControllerDeleteConnection = vcsControllerDeleteConnection;
|
|
991
|
+
/**
|
|
992
|
+
* Get VCS connection for a project
|
|
993
|
+
*/
|
|
994
|
+
const vcsControllerGetConnection = (options) => (options.client ?? client_gen_1.client).get({
|
|
995
|
+
responseStyle: 'data',
|
|
996
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
997
|
+
url: '/api/projects/{slug}/vcs',
|
|
998
|
+
...options
|
|
999
|
+
});
|
|
1000
|
+
exports.vcsControllerGetConnection = vcsControllerGetConnection;
|
|
1001
|
+
/**
|
|
1002
|
+
* Update VCS connection for a project
|
|
1003
|
+
*/
|
|
1004
|
+
const vcsControllerUpdateConnection = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1005
|
+
responseStyle: 'data',
|
|
1006
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1007
|
+
url: '/api/projects/{slug}/vcs',
|
|
1008
|
+
...options,
|
|
1009
|
+
headers: {
|
|
1010
|
+
'Content-Type': 'application/json',
|
|
1011
|
+
...options.headers
|
|
1012
|
+
}
|
|
1013
|
+
});
|
|
1014
|
+
exports.vcsControllerUpdateConnection = vcsControllerUpdateConnection;
|
|
1015
|
+
/**
|
|
1016
|
+
* Create a VCS connection for a project
|
|
1017
|
+
*/
|
|
1018
|
+
const vcsControllerCreateConnection = (options) => (options.client ?? client_gen_1.client).post({
|
|
1019
|
+
responseStyle: 'data',
|
|
1020
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1021
|
+
url: '/api/projects/{slug}/vcs',
|
|
1022
|
+
...options,
|
|
1023
|
+
headers: {
|
|
1024
|
+
'Content-Type': 'application/json',
|
|
1025
|
+
...options.headers
|
|
1026
|
+
}
|
|
1027
|
+
});
|
|
1028
|
+
exports.vcsControllerCreateConnection = vcsControllerCreateConnection;
|
|
1029
|
+
/**
|
|
1030
|
+
* Test the VCS connection for a project
|
|
1031
|
+
*/
|
|
1032
|
+
const vcsControllerTestConnection = (options) => (options.client ?? client_gen_1.client).post({
|
|
1033
|
+
responseStyle: 'data',
|
|
1034
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1035
|
+
url: '/api/projects/{slug}/vcs/test',
|
|
1036
|
+
...options
|
|
1037
|
+
});
|
|
1038
|
+
exports.vcsControllerTestConnection = vcsControllerTestConnection;
|
|
1039
|
+
/**
|
|
1040
|
+
* Rotate the VCS webhook secret and return the new secret once
|
|
1041
|
+
*/
|
|
1042
|
+
const vcsControllerRotateWebhookSecret = (options) => (options.client ?? client_gen_1.client).post({
|
|
1043
|
+
responseStyle: 'data',
|
|
1044
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1045
|
+
url: '/api/projects/{slug}/vcs/webhook-secret/rotate',
|
|
1046
|
+
...options
|
|
1047
|
+
});
|
|
1048
|
+
exports.vcsControllerRotateWebhookSecret = vcsControllerRotateWebhookSecret;
|
|
1049
|
+
/**
|
|
1050
|
+
* Manually sync a specific issue by number
|
|
1051
|
+
*/
|
|
1052
|
+
const vcsControllerSyncIssue = (options) => (options.client ?? client_gen_1.client).post({
|
|
1053
|
+
responseStyle: 'data',
|
|
1054
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1055
|
+
url: '/api/projects/{slug}/vcs/sync/{issueNumber}',
|
|
1056
|
+
...options
|
|
1057
|
+
});
|
|
1058
|
+
exports.vcsControllerSyncIssue = vcsControllerSyncIssue;
|
|
1059
|
+
/**
|
|
1060
|
+
* Trigger a full sync of all issues from the VCS provider
|
|
1061
|
+
*/
|
|
1062
|
+
const vcsControllerSyncAll = (options) => (options.client ?? client_gen_1.client).post({
|
|
1063
|
+
responseStyle: 'data',
|
|
1064
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1065
|
+
url: '/api/projects/{slug}/vcs/sync',
|
|
1066
|
+
...options
|
|
1067
|
+
});
|
|
1068
|
+
exports.vcsControllerSyncAll = vcsControllerSyncAll;
|
|
1069
|
+
/**
|
|
1070
|
+
* Manually sync PR status for all active pull requests
|
|
1071
|
+
*/
|
|
1072
|
+
const vcsControllerSyncPr = (options) => (options.client ?? client_gen_1.client).post({
|
|
1073
|
+
responseStyle: 'data',
|
|
1074
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1075
|
+
url: '/api/projects/{slug}/vcs/sync-pr',
|
|
1076
|
+
...options
|
|
1077
|
+
});
|
|
1078
|
+
exports.vcsControllerSyncPr = vcsControllerSyncPr;
|
|
1079
|
+
/**
|
|
1080
|
+
* Receive GitHub VCS issue webhook
|
|
1081
|
+
*/
|
|
1082
|
+
const vcsWebhookControllerHandleWebhook = (options) => (options.client ?? client_gen_1.client).post({
|
|
1083
|
+
responseStyle: 'data',
|
|
1084
|
+
url: '/api/projects/{slug}/vcs-webhook',
|
|
1085
|
+
...options
|
|
1086
|
+
});
|
|
1087
|
+
exports.vcsWebhookControllerHandleWebhook = vcsWebhookControllerHandleWebhook;
|
|
1088
|
+
/**
|
|
1089
|
+
* List all links for a ticket
|
|
1090
|
+
*/
|
|
1091
|
+
const ticketLinksControllerFindAll = (options) => (options.client ?? client_gen_1.client).get({
|
|
1092
|
+
responseStyle: 'data',
|
|
1093
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1094
|
+
url: '/api/projects/{slug}/tickets/{ref}/links',
|
|
1095
|
+
...options
|
|
1096
|
+
});
|
|
1097
|
+
exports.ticketLinksControllerFindAll = ticketLinksControllerFindAll;
|
|
1098
|
+
/**
|
|
1099
|
+
* Create or return existing link for a ticket
|
|
1100
|
+
*/
|
|
1101
|
+
const ticketLinksControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1102
|
+
responseStyle: 'data',
|
|
1103
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1104
|
+
url: '/api/projects/{slug}/tickets/{ref}/links',
|
|
1105
|
+
...options,
|
|
1106
|
+
headers: {
|
|
1107
|
+
'Content-Type': 'application/json',
|
|
1108
|
+
...options.headers
|
|
1109
|
+
}
|
|
1110
|
+
});
|
|
1111
|
+
exports.ticketLinksControllerCreate = ticketLinksControllerCreate;
|
|
1112
|
+
/**
|
|
1113
|
+
* Delete a ticket link by id
|
|
1114
|
+
*/
|
|
1115
|
+
const ticketLinksControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1116
|
+
responseStyle: 'data',
|
|
1117
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1118
|
+
url: '/api/projects/{slug}/tickets/{ref}/links/{linkId}',
|
|
1119
|
+
...options
|
|
1120
|
+
});
|
|
1121
|
+
exports.ticketLinksControllerRemove = ticketLinksControllerRemove;
|
|
1122
|
+
/**
|
|
1123
|
+
* List all comments for a ticket
|
|
1124
|
+
*/
|
|
1125
|
+
const commentsControllerListByTicketFromHttp = (options) => (options.client ?? client_gen_1.client).get({
|
|
1126
|
+
responseStyle: 'data',
|
|
1127
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1128
|
+
url: '/api/projects/{slug}/tickets/{ref}/comments',
|
|
1129
|
+
...options
|
|
1130
|
+
});
|
|
1131
|
+
exports.commentsControllerListByTicketFromHttp = commentsControllerListByTicketFromHttp;
|
|
1132
|
+
/**
|
|
1133
|
+
* Create a comment on a ticket
|
|
1134
|
+
*/
|
|
1135
|
+
const commentsControllerCreateFromHttp = (options) => (options.client ?? client_gen_1.client).post({
|
|
1136
|
+
responseStyle: 'data',
|
|
1137
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1138
|
+
url: '/api/projects/{slug}/tickets/{ref}/comments',
|
|
1139
|
+
...options,
|
|
1140
|
+
headers: {
|
|
1141
|
+
'Content-Type': 'application/json',
|
|
1142
|
+
...options.headers
|
|
1143
|
+
}
|
|
1144
|
+
});
|
|
1145
|
+
exports.commentsControllerCreateFromHttp = commentsControllerCreateFromHttp;
|
|
1146
|
+
/**
|
|
1147
|
+
* Delete a comment
|
|
1148
|
+
*/
|
|
1149
|
+
const commentsControllerDeleteFromHttp = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1150
|
+
responseStyle: 'data',
|
|
1151
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1152
|
+
url: '/api/comments/{id}',
|
|
1153
|
+
...options
|
|
1154
|
+
});
|
|
1155
|
+
exports.commentsControllerDeleteFromHttp = commentsControllerDeleteFromHttp;
|
|
1156
|
+
/**
|
|
1157
|
+
* Update a comment
|
|
1158
|
+
*/
|
|
1159
|
+
const commentsControllerUpdateFromHttp = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1160
|
+
responseStyle: 'data',
|
|
1161
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1162
|
+
url: '/api/comments/{id}',
|
|
1163
|
+
...options,
|
|
1164
|
+
headers: {
|
|
1165
|
+
'Content-Type': 'application/json',
|
|
1166
|
+
...options.headers
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
exports.commentsControllerUpdateFromHttp = commentsControllerUpdateFromHttp;
|
|
1170
|
+
/**
|
|
1171
|
+
* List all labels for a project
|
|
1172
|
+
*/
|
|
1173
|
+
const labelsControllerFindByProjectFromHttp = (options) => (options.client ?? client_gen_1.client).get({
|
|
1174
|
+
responseStyle: 'data',
|
|
1175
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1176
|
+
url: '/api/projects/{slug}/labels',
|
|
1177
|
+
...options
|
|
1178
|
+
});
|
|
1179
|
+
exports.labelsControllerFindByProjectFromHttp = labelsControllerFindByProjectFromHttp;
|
|
1180
|
+
/**
|
|
1181
|
+
* Create a label for a project
|
|
1182
|
+
*/
|
|
1183
|
+
const labelsControllerCreateFromHttp = (options) => (options.client ?? client_gen_1.client).post({
|
|
1184
|
+
responseStyle: 'data',
|
|
1185
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1186
|
+
url: '/api/projects/{slug}/labels',
|
|
1187
|
+
...options,
|
|
1188
|
+
headers: {
|
|
1189
|
+
'Content-Type': 'application/json',
|
|
1190
|
+
...options.headers
|
|
1191
|
+
}
|
|
1192
|
+
});
|
|
1193
|
+
exports.labelsControllerCreateFromHttp = labelsControllerCreateFromHttp;
|
|
1194
|
+
/**
|
|
1195
|
+
* Delete a label
|
|
1196
|
+
*/
|
|
1197
|
+
const labelsControllerDeleteFromHttp = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1198
|
+
responseStyle: 'data',
|
|
1199
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1200
|
+
url: '/api/projects/{slug}/labels/{id}',
|
|
1201
|
+
...options
|
|
1202
|
+
});
|
|
1203
|
+
exports.labelsControllerDeleteFromHttp = labelsControllerDeleteFromHttp;
|
|
1204
|
+
/**
|
|
1205
|
+
* Update a label
|
|
1206
|
+
*/
|
|
1207
|
+
const labelsControllerUpdateFromHttp = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1208
|
+
responseStyle: 'data',
|
|
1209
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1210
|
+
url: '/api/projects/{slug}/labels/{id}',
|
|
1211
|
+
...options,
|
|
1212
|
+
headers: {
|
|
1213
|
+
'Content-Type': 'application/json',
|
|
1214
|
+
...options.headers
|
|
1215
|
+
}
|
|
1216
|
+
});
|
|
1217
|
+
exports.labelsControllerUpdateFromHttp = labelsControllerUpdateFromHttp;
|
|
1218
|
+
/**
|
|
1219
|
+
* Assign a label to a ticket
|
|
1220
|
+
*/
|
|
1221
|
+
const labelsControllerAssignLabelFromHttp = (options) => (options.client ?? client_gen_1.client).post({
|
|
1222
|
+
responseStyle: 'data',
|
|
1223
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1224
|
+
url: '/api/projects/{slug}/tickets/{ref}/labels',
|
|
1225
|
+
...options,
|
|
1226
|
+
headers: {
|
|
1227
|
+
'Content-Type': 'application/json',
|
|
1228
|
+
...options.headers
|
|
1229
|
+
}
|
|
1230
|
+
});
|
|
1231
|
+
exports.labelsControllerAssignLabelFromHttp = labelsControllerAssignLabelFromHttp;
|
|
1232
|
+
/**
|
|
1233
|
+
* Remove a label from a ticket
|
|
1234
|
+
*/
|
|
1235
|
+
const labelsControllerRemoveLabelFromHttp = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1236
|
+
responseStyle: 'data',
|
|
1237
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1238
|
+
url: '/api/projects/{slug}/tickets/{ref}/labels/{labelId}',
|
|
1239
|
+
...options
|
|
1240
|
+
});
|
|
1241
|
+
exports.labelsControllerRemoveLabelFromHttp = labelsControllerRemoveLabelFromHttp;
|
|
1242
|
+
/**
|
|
1243
|
+
* Health check
|
|
1244
|
+
*/
|
|
1245
|
+
const healthControllerCheck = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1246
|
+
responseStyle: 'data',
|
|
1247
|
+
url: '/api/health',
|
|
1248
|
+
...options
|
|
1249
|
+
});
|
|
1250
|
+
exports.healthControllerCheck = healthControllerCheck;
|
|
1251
|
+
/**
|
|
1252
|
+
* Run the retrieval evaluation harness with seeded queries (retrieval.evaluate)
|
|
1253
|
+
*/
|
|
1254
|
+
const retrievalControllerEvaluateRetrieval = (options) => (options.client ?? client_gen_1.client).post({
|
|
1255
|
+
responseStyle: 'data',
|
|
1256
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1257
|
+
url: '/api/projects/{slug}/kb/evaluate/retrieval',
|
|
1258
|
+
...options
|
|
1259
|
+
});
|
|
1260
|
+
exports.retrievalControllerEvaluateRetrieval = retrievalControllerEvaluateRetrieval;
|
|
1261
|
+
/**
|
|
1262
|
+
* Receive CI pipeline failure webhook and auto-create ticket
|
|
1263
|
+
*/
|
|
1264
|
+
const ciWebhookControllerHandleCiWebhook = (options) => (options.client ?? client_gen_1.client).post({
|
|
1265
|
+
responseStyle: 'data',
|
|
1266
|
+
url: '/api/projects/{slug}/ci-webhook',
|
|
1267
|
+
...options,
|
|
1268
|
+
headers: {
|
|
1269
|
+
'Content-Type': 'application/json',
|
|
1270
|
+
...options.headers
|
|
1271
|
+
}
|
|
1272
|
+
});
|
|
1273
|
+
exports.ciWebhookControllerHandleCiWebhook = ciWebhookControllerHandleCiWebhook;
|
|
1274
|
+
/**
|
|
1275
|
+
* Get outbox events by status
|
|
1276
|
+
*/
|
|
1277
|
+
const adminControllerGetOutbox = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1278
|
+
responseStyle: 'data',
|
|
1279
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1280
|
+
url: '/api/admin/outbox',
|
|
1281
|
+
...options
|
|
1282
|
+
});
|
|
1283
|
+
exports.adminControllerGetOutbox = adminControllerGetOutbox;
|
|
1284
|
+
/**
|
|
1285
|
+
* Retry a dead outbox event
|
|
1286
|
+
*/
|
|
1287
|
+
const adminControllerRetryOutboxEvent = (options) => (options.client ?? client_gen_1.client).post({
|
|
1288
|
+
responseStyle: 'data',
|
|
1289
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1290
|
+
url: '/api/admin/outbox/{eventId}/retry',
|
|
1291
|
+
...options
|
|
1292
|
+
});
|
|
1293
|
+
exports.adminControllerRetryOutboxEvent = adminControllerRetryOutboxEvent;
|
|
1294
|
+
/**
|
|
1295
|
+
* List all rulings of a RUN, newest first (fleet.job.read)
|
|
1296
|
+
*/
|
|
1297
|
+
const fleetRulingsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1298
|
+
responseStyle: 'data',
|
|
1299
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1300
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/rulings',
|
|
1301
|
+
...options
|
|
1302
|
+
});
|
|
1303
|
+
exports.fleetRulingsControllerList = fleetRulingsControllerList;
|
|
1304
|
+
/**
|
|
1305
|
+
* Rule on an open draft RUN item (fleet.job.rule)
|
|
1306
|
+
*/
|
|
1307
|
+
const fleetRulingsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1308
|
+
responseStyle: 'data',
|
|
1309
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1310
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/rulings',
|
|
1311
|
+
...options,
|
|
1312
|
+
headers: {
|
|
1313
|
+
'Content-Type': 'application/json',
|
|
1314
|
+
...options.headers
|
|
1315
|
+
}
|
|
1316
|
+
});
|
|
1317
|
+
exports.fleetRulingsControllerCreate = fleetRulingsControllerCreate;
|
|
1318
|
+
/**
|
|
1319
|
+
* Fleet jobs linked to a ticket, newest first, at most 50 (fleet.ticket-job.read)
|
|
1320
|
+
*/
|
|
1321
|
+
const ticketFleetJobsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1322
|
+
responseStyle: 'data',
|
|
1323
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1324
|
+
url: '/api/projects/{slug}/tickets/{ref}/fleet-jobs',
|
|
1325
|
+
...options
|
|
1326
|
+
});
|
|
1327
|
+
exports.ticketFleetJobsControllerList = ticketFleetJobsControllerList;
|
|
1328
|
+
/**
|
|
1329
|
+
* Unlink a fleet job from a ticket (fleet.ticket-job.unlink); the PR and history stay
|
|
1330
|
+
*/
|
|
1331
|
+
const ticketFleetJobsControllerUnlink = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1332
|
+
responseStyle: 'data',
|
|
1333
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1334
|
+
url: '/api/projects/{slug}/tickets/{ref}/fleet-jobs/{jobId}',
|
|
1335
|
+
...options
|
|
1336
|
+
});
|
|
1337
|
+
exports.ticketFleetJobsControllerUnlink = ticketFleetJobsControllerUnlink;
|
|
1338
|
+
/**
|
|
1339
|
+
* Fleet activity rows of the projects where the caller holds fleet.activity.read
|
|
1340
|
+
*/
|
|
1341
|
+
const fleetActivityControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1342
|
+
responseStyle: 'data',
|
|
1343
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1344
|
+
url: '/api/fleet/activity',
|
|
1345
|
+
...options
|
|
1346
|
+
});
|
|
1347
|
+
exports.fleetActivityControllerList = fleetActivityControllerList;
|
|
1348
|
+
/**
|
|
1349
|
+
* Every budget policy with its current window spend (fleet.budget.read, global)
|
|
1350
|
+
*/
|
|
1351
|
+
const fleetBudgetsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1352
|
+
responseStyle: 'data',
|
|
1353
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1354
|
+
url: '/api/fleet/budgets',
|
|
1355
|
+
...options
|
|
1356
|
+
});
|
|
1357
|
+
exports.fleetBudgetsControllerList = fleetBudgetsControllerList;
|
|
1358
|
+
/**
|
|
1359
|
+
* Create a global or runner budget policy (fleet.budget.create, global)
|
|
1360
|
+
*/
|
|
1361
|
+
const fleetBudgetsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1362
|
+
responseStyle: 'data',
|
|
1363
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1364
|
+
url: '/api/fleet/budgets',
|
|
1365
|
+
...options,
|
|
1366
|
+
headers: {
|
|
1367
|
+
'Content-Type': 'application/json',
|
|
1368
|
+
...options.headers
|
|
1369
|
+
}
|
|
1370
|
+
});
|
|
1371
|
+
exports.fleetBudgetsControllerCreate = fleetBudgetsControllerCreate;
|
|
1372
|
+
/**
|
|
1373
|
+
* Delete a global or runner policy; lifts its pause (fleet.budget.delete, global)
|
|
1374
|
+
*/
|
|
1375
|
+
const fleetBudgetsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1376
|
+
responseStyle: 'data',
|
|
1377
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1378
|
+
url: '/api/fleet/budgets/{id}',
|
|
1379
|
+
...options
|
|
1380
|
+
});
|
|
1381
|
+
exports.fleetBudgetsControllerRemove = fleetBudgetsControllerRemove;
|
|
1382
|
+
/**
|
|
1383
|
+
* Change the amount, warn, hard stop or running-jobs rule of a global or runner policy (fleet.budget.update, global)
|
|
1384
|
+
*/
|
|
1385
|
+
const fleetBudgetsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1386
|
+
responseStyle: 'data',
|
|
1387
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1388
|
+
url: '/api/fleet/budgets/{id}',
|
|
1389
|
+
...options,
|
|
1390
|
+
headers: {
|
|
1391
|
+
'Content-Type': 'application/json',
|
|
1392
|
+
...options.headers
|
|
1393
|
+
}
|
|
1394
|
+
});
|
|
1395
|
+
exports.fleetBudgetsControllerUpdate = fleetBudgetsControllerUpdate;
|
|
1396
|
+
/**
|
|
1397
|
+
* Resume a paused global or runner policy, optionally raising the amount (fleet.budget.resume, global)
|
|
1398
|
+
*/
|
|
1399
|
+
const fleetBudgetsControllerResume = (options) => (options.client ?? client_gen_1.client).post({
|
|
1400
|
+
responseStyle: 'data',
|
|
1401
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1402
|
+
url: '/api/fleet/budgets/{id}/resume',
|
|
1403
|
+
...options,
|
|
1404
|
+
headers: {
|
|
1405
|
+
'Content-Type': 'application/json',
|
|
1406
|
+
...options.headers
|
|
1407
|
+
}
|
|
1408
|
+
});
|
|
1409
|
+
exports.fleetBudgetsControllerResume = fleetBudgetsControllerResume;
|
|
1410
|
+
/**
|
|
1411
|
+
* The project's project and repo policies plus the global ones, read-only (fleet.budget.read)
|
|
1412
|
+
*/
|
|
1413
|
+
const projectFleetBudgetsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1414
|
+
responseStyle: 'data',
|
|
1415
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1416
|
+
url: '/api/projects/{slug}/fleet/budgets',
|
|
1417
|
+
...options
|
|
1418
|
+
});
|
|
1419
|
+
exports.projectFleetBudgetsControllerList = projectFleetBudgetsControllerList;
|
|
1420
|
+
/**
|
|
1421
|
+
* Create a project or repo budget policy (fleet.budget.create)
|
|
1422
|
+
*/
|
|
1423
|
+
const projectFleetBudgetsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1424
|
+
responseStyle: 'data',
|
|
1425
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1426
|
+
url: '/api/projects/{slug}/fleet/budgets',
|
|
1427
|
+
...options,
|
|
1428
|
+
headers: {
|
|
1429
|
+
'Content-Type': 'application/json',
|
|
1430
|
+
...options.headers
|
|
1431
|
+
}
|
|
1432
|
+
});
|
|
1433
|
+
exports.projectFleetBudgetsControllerCreate = projectFleetBudgetsControllerCreate;
|
|
1434
|
+
/**
|
|
1435
|
+
* Delete a project or repo policy; lifts its pause (fleet.budget.delete)
|
|
1436
|
+
*/
|
|
1437
|
+
const projectFleetBudgetsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1438
|
+
responseStyle: 'data',
|
|
1439
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1440
|
+
url: '/api/projects/{slug}/fleet/budgets/{id}',
|
|
1441
|
+
...options
|
|
1442
|
+
});
|
|
1443
|
+
exports.projectFleetBudgetsControllerRemove = projectFleetBudgetsControllerRemove;
|
|
1444
|
+
/**
|
|
1445
|
+
* Change a project or repo policy (fleet.budget.update)
|
|
1446
|
+
*/
|
|
1447
|
+
const projectFleetBudgetsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1448
|
+
responseStyle: 'data',
|
|
1449
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1450
|
+
url: '/api/projects/{slug}/fleet/budgets/{id}',
|
|
1451
|
+
...options,
|
|
1452
|
+
headers: {
|
|
1453
|
+
'Content-Type': 'application/json',
|
|
1454
|
+
...options.headers
|
|
1455
|
+
}
|
|
1456
|
+
});
|
|
1457
|
+
exports.projectFleetBudgetsControllerUpdate = projectFleetBudgetsControllerUpdate;
|
|
1458
|
+
/**
|
|
1459
|
+
* Resume a paused project or repo policy, optionally raising the amount (fleet.budget.resume)
|
|
1460
|
+
*/
|
|
1461
|
+
const projectFleetBudgetsControllerResume = (options) => (options.client ?? client_gen_1.client).post({
|
|
1462
|
+
responseStyle: 'data',
|
|
1463
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1464
|
+
url: '/api/projects/{slug}/fleet/budgets/{id}/resume',
|
|
1465
|
+
...options,
|
|
1466
|
+
headers: {
|
|
1467
|
+
'Content-Type': 'application/json',
|
|
1468
|
+
...options.headers
|
|
1469
|
+
}
|
|
1470
|
+
});
|
|
1471
|
+
exports.projectFleetBudgetsControllerResume = projectFleetBudgetsControllerResume;
|
|
1472
|
+
/**
|
|
1473
|
+
* List fleet jobs (fleet.job.read)
|
|
1474
|
+
*/
|
|
1475
|
+
const fleetJobsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1476
|
+
responseStyle: 'data',
|
|
1477
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1478
|
+
url: '/api/projects/{slug}/fleet/jobs',
|
|
1479
|
+
...options
|
|
1480
|
+
});
|
|
1481
|
+
exports.fleetJobsControllerList = fleetJobsControllerList;
|
|
1482
|
+
/**
|
|
1483
|
+
* Dispatch a nax run or plan to a fleet runner (fleet.job.dispatch)
|
|
1484
|
+
*/
|
|
1485
|
+
const fleetJobsControllerDispatch = (options) => (options.client ?? client_gen_1.client).post({
|
|
1486
|
+
responseStyle: 'data',
|
|
1487
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1488
|
+
url: '/api/projects/{slug}/fleet/jobs',
|
|
1489
|
+
...options,
|
|
1490
|
+
headers: {
|
|
1491
|
+
'Content-Type': 'application/json',
|
|
1492
|
+
...options.headers
|
|
1493
|
+
}
|
|
1494
|
+
});
|
|
1495
|
+
exports.fleetJobsControllerDispatch = fleetJobsControllerDispatch;
|
|
1496
|
+
/**
|
|
1497
|
+
* Cancel a job (fleet.job.cancel, or the requester)
|
|
1498
|
+
*/
|
|
1499
|
+
const fleetJobsControllerCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
1500
|
+
responseStyle: 'data',
|
|
1501
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1502
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/cancel',
|
|
1503
|
+
...options
|
|
1504
|
+
});
|
|
1505
|
+
exports.fleetJobsControllerCancel = fleetJobsControllerCancel;
|
|
1506
|
+
/**
|
|
1507
|
+
* Requeue a CRASHED, FAILED or CANCELLED job (fleet.job.requeue)
|
|
1508
|
+
*/
|
|
1509
|
+
const fleetJobsControllerRequeue = (options) => (options.client ?? client_gen_1.client).post({
|
|
1510
|
+
responseStyle: 'data',
|
|
1511
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1512
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/requeue',
|
|
1513
|
+
...options
|
|
1514
|
+
});
|
|
1515
|
+
exports.fleetJobsControllerRequeue = fleetJobsControllerRequeue;
|
|
1516
|
+
/**
|
|
1517
|
+
* Get a fleet job (fleet.job.read)
|
|
1518
|
+
*/
|
|
1519
|
+
const fleetJobsControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
1520
|
+
responseStyle: 'data',
|
|
1521
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1522
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}',
|
|
1523
|
+
...options
|
|
1524
|
+
});
|
|
1525
|
+
exports.fleetJobsControllerGet = fleetJobsControllerGet;
|
|
1526
|
+
/**
|
|
1527
|
+
* Job timeline, ordered by seq (fleet.job.read)
|
|
1528
|
+
*/
|
|
1529
|
+
const fleetJobsControllerEvents = (options) => (options.client ?? client_gen_1.client).get({
|
|
1530
|
+
responseStyle: 'data',
|
|
1531
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1532
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/events',
|
|
1533
|
+
...options
|
|
1534
|
+
});
|
|
1535
|
+
exports.fleetJobsControllerEvents = fleetJobsControllerEvents;
|
|
1536
|
+
/**
|
|
1537
|
+
* List the GLOBAL provider keys as metadata only (fleet.credential.read, global)
|
|
1538
|
+
*/
|
|
1539
|
+
const fleetProviderCredentialsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1540
|
+
responseStyle: 'data',
|
|
1541
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1542
|
+
url: '/api/fleet/provider-credentials',
|
|
1543
|
+
...options
|
|
1544
|
+
});
|
|
1545
|
+
exports.fleetProviderCredentialsControllerList = fleetProviderCredentialsControllerList;
|
|
1546
|
+
/**
|
|
1547
|
+
* Create a GLOBAL provider key; the key is never returned (fleet.credential.create, global)
|
|
1548
|
+
*/
|
|
1549
|
+
const fleetProviderCredentialsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1550
|
+
responseStyle: 'data',
|
|
1551
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1552
|
+
url: '/api/fleet/provider-credentials',
|
|
1553
|
+
...options,
|
|
1554
|
+
headers: {
|
|
1555
|
+
'Content-Type': 'application/json',
|
|
1556
|
+
...options.headers
|
|
1557
|
+
}
|
|
1558
|
+
});
|
|
1559
|
+
exports.fleetProviderCredentialsControllerCreate = fleetProviderCredentialsControllerCreate;
|
|
1560
|
+
/**
|
|
1561
|
+
* Delete a GLOBAL provider key
|
|
1562
|
+
*/
|
|
1563
|
+
const fleetProviderCredentialsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1564
|
+
responseStyle: 'data',
|
|
1565
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1566
|
+
url: '/api/fleet/provider-credentials/{id}',
|
|
1567
|
+
...options
|
|
1568
|
+
});
|
|
1569
|
+
exports.fleetProviderCredentialsControllerRemove = fleetProviderCredentialsControllerRemove;
|
|
1570
|
+
/**
|
|
1571
|
+
* Rotate or update a GLOBAL provider key (metadata only)
|
|
1572
|
+
*/
|
|
1573
|
+
const fleetProviderCredentialsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1574
|
+
responseStyle: 'data',
|
|
1575
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1576
|
+
url: '/api/fleet/provider-credentials/{id}',
|
|
1577
|
+
...options,
|
|
1578
|
+
headers: {
|
|
1579
|
+
'Content-Type': 'application/json',
|
|
1580
|
+
...options.headers
|
|
1581
|
+
}
|
|
1582
|
+
});
|
|
1583
|
+
exports.fleetProviderCredentialsControllerUpdate = fleetProviderCredentialsControllerUpdate;
|
|
1584
|
+
/**
|
|
1585
|
+
* List the project's provider keys as metadata only (project.credential.read)
|
|
1586
|
+
*/
|
|
1587
|
+
const projectProviderCredentialsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1588
|
+
responseStyle: 'data',
|
|
1589
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1590
|
+
url: '/api/projects/{slug}/provider-credentials',
|
|
1591
|
+
...options
|
|
1592
|
+
});
|
|
1593
|
+
exports.projectProviderCredentialsControllerList = projectProviderCredentialsControllerList;
|
|
1594
|
+
/**
|
|
1595
|
+
* Create a PROJECT key, or a REPO key when repoId names one of its repos
|
|
1596
|
+
*/
|
|
1597
|
+
const projectProviderCredentialsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1598
|
+
responseStyle: 'data',
|
|
1599
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1600
|
+
url: '/api/projects/{slug}/provider-credentials',
|
|
1601
|
+
...options,
|
|
1602
|
+
headers: {
|
|
1603
|
+
'Content-Type': 'application/json',
|
|
1604
|
+
...options.headers
|
|
1605
|
+
}
|
|
1606
|
+
});
|
|
1607
|
+
exports.projectProviderCredentialsControllerCreate = projectProviderCredentialsControllerCreate;
|
|
1608
|
+
/**
|
|
1609
|
+
* Delete one of the project provider keys
|
|
1610
|
+
*/
|
|
1611
|
+
const projectProviderCredentialsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1612
|
+
responseStyle: 'data',
|
|
1613
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1614
|
+
url: '/api/projects/{slug}/provider-credentials/{id}',
|
|
1615
|
+
...options
|
|
1616
|
+
});
|
|
1617
|
+
exports.projectProviderCredentialsControllerRemove = projectProviderCredentialsControllerRemove;
|
|
1618
|
+
/**
|
|
1619
|
+
* Rotate or update one of the project provider keys (metadata only)
|
|
1620
|
+
*/
|
|
1621
|
+
const projectProviderCredentialsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1622
|
+
responseStyle: 'data',
|
|
1623
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1624
|
+
url: '/api/projects/{slug}/provider-credentials/{id}',
|
|
1625
|
+
...options,
|
|
1626
|
+
headers: {
|
|
1627
|
+
'Content-Type': 'application/json',
|
|
1628
|
+
...options.headers
|
|
1629
|
+
}
|
|
1630
|
+
});
|
|
1631
|
+
exports.projectProviderCredentialsControllerUpdate = projectProviderCredentialsControllerUpdate;
|
|
1632
|
+
/**
|
|
1633
|
+
* List the project's schedules (fleet.schedule.read)
|
|
1634
|
+
*/
|
|
1635
|
+
const projectFleetSchedulesControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1636
|
+
responseStyle: 'data',
|
|
1637
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1638
|
+
url: '/api/projects/{slug}/fleet/schedules',
|
|
1639
|
+
...options
|
|
1640
|
+
});
|
|
1641
|
+
exports.projectFleetSchedulesControllerList = projectFleetSchedulesControllerList;
|
|
1642
|
+
/**
|
|
1643
|
+
* Create a schedule that runs one feature on a cron (fleet.schedule.create)
|
|
1644
|
+
*/
|
|
1645
|
+
const projectFleetSchedulesControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1646
|
+
responseStyle: 'data',
|
|
1647
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1648
|
+
url: '/api/projects/{slug}/fleet/schedules',
|
|
1649
|
+
...options,
|
|
1650
|
+
headers: {
|
|
1651
|
+
'Content-Type': 'application/json',
|
|
1652
|
+
...options.headers
|
|
1653
|
+
}
|
|
1654
|
+
});
|
|
1655
|
+
exports.projectFleetSchedulesControllerCreate = projectFleetSchedulesControllerCreate;
|
|
1656
|
+
/**
|
|
1657
|
+
* Delete a schedule; its jobs are kept (fleet.schedule.delete: the owner, or the any-row key)
|
|
1658
|
+
*/
|
|
1659
|
+
const projectFleetSchedulesControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1660
|
+
responseStyle: 'data',
|
|
1661
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1662
|
+
url: '/api/projects/{slug}/fleet/schedules/{id}',
|
|
1663
|
+
...options
|
|
1664
|
+
});
|
|
1665
|
+
exports.projectFleetSchedulesControllerRemove = projectFleetSchedulesControllerRemove;
|
|
1666
|
+
/**
|
|
1667
|
+
* Get a schedule (fleet.schedule.read)
|
|
1668
|
+
*/
|
|
1669
|
+
const projectFleetSchedulesControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
1670
|
+
responseStyle: 'data',
|
|
1671
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1672
|
+
url: '/api/projects/{slug}/fleet/schedules/{id}',
|
|
1673
|
+
...options
|
|
1674
|
+
});
|
|
1675
|
+
exports.projectFleetSchedulesControllerGet = projectFleetSchedulesControllerGet;
|
|
1676
|
+
/**
|
|
1677
|
+
* Change a schedule (fleet.schedule.update: the owner, or the any-row key)
|
|
1678
|
+
*/
|
|
1679
|
+
const projectFleetSchedulesControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1680
|
+
responseStyle: 'data',
|
|
1681
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1682
|
+
url: '/api/projects/{slug}/fleet/schedules/{id}',
|
|
1683
|
+
...options,
|
|
1684
|
+
headers: {
|
|
1685
|
+
'Content-Type': 'application/json',
|
|
1686
|
+
...options.headers
|
|
1687
|
+
}
|
|
1688
|
+
});
|
|
1689
|
+
exports.projectFleetSchedulesControllerUpdate = projectFleetSchedulesControllerUpdate;
|
|
1690
|
+
/**
|
|
1691
|
+
* Enable a schedule: resets the stall counter and recomputes the next fire (fleet.schedule.update)
|
|
1692
|
+
*/
|
|
1693
|
+
const projectFleetSchedulesControllerEnable = (options) => (options.client ?? client_gen_1.client).post({
|
|
1694
|
+
responseStyle: 'data',
|
|
1695
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1696
|
+
url: '/api/projects/{slug}/fleet/schedules/{id}/enable',
|
|
1697
|
+
...options
|
|
1698
|
+
});
|
|
1699
|
+
exports.projectFleetSchedulesControllerEnable = projectFleetSchedulesControllerEnable;
|
|
1700
|
+
/**
|
|
1701
|
+
* Disable a schedule (fleet.schedule.update: the owner, or the any-row key)
|
|
1702
|
+
*/
|
|
1703
|
+
const projectFleetSchedulesControllerDisable = (options) => (options.client ?? client_gen_1.client).post({
|
|
1704
|
+
responseStyle: 'data',
|
|
1705
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1706
|
+
url: '/api/projects/{slug}/fleet/schedules/{id}/disable',
|
|
1707
|
+
...options
|
|
1708
|
+
});
|
|
1709
|
+
exports.projectFleetSchedulesControllerDisable = projectFleetSchedulesControllerDisable;
|
|
1710
|
+
/**
|
|
1711
|
+
* List fleet repos (fleet.repo.read, global)
|
|
1712
|
+
*/
|
|
1713
|
+
const fleetReposControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1714
|
+
responseStyle: 'data',
|
|
1715
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1716
|
+
url: '/api/fleet/repos',
|
|
1717
|
+
...options
|
|
1718
|
+
});
|
|
1719
|
+
exports.fleetReposControllerList = fleetReposControllerList;
|
|
1720
|
+
/**
|
|
1721
|
+
* Register a repo for fleet dispatch after proving koda can broker git access (fleet.repo.create, global)
|
|
1722
|
+
*/
|
|
1723
|
+
const fleetReposControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1724
|
+
responseStyle: 'data',
|
|
1725
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1726
|
+
url: '/api/fleet/repos',
|
|
1727
|
+
...options,
|
|
1728
|
+
headers: {
|
|
1729
|
+
'Content-Type': 'application/json',
|
|
1730
|
+
...options.headers
|
|
1731
|
+
}
|
|
1732
|
+
});
|
|
1733
|
+
exports.fleetReposControllerCreate = fleetReposControllerCreate;
|
|
1734
|
+
/**
|
|
1735
|
+
* Re-run the forge check for a registered repo (fleet.repo.check, global)
|
|
1736
|
+
*/
|
|
1737
|
+
const fleetReposControllerCheck = (options) => (options.client ?? client_gen_1.client).post({
|
|
1738
|
+
responseStyle: 'data',
|
|
1739
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1740
|
+
url: '/api/fleet/repos/{id}/check',
|
|
1741
|
+
...options
|
|
1742
|
+
});
|
|
1743
|
+
exports.fleetReposControllerCheck = fleetReposControllerCheck;
|
|
1744
|
+
/**
|
|
1745
|
+
* Configure auto-review for a registered repo (fleet.repo.review.configure, global)
|
|
1746
|
+
*/
|
|
1747
|
+
const fleetReposControllerConfigureAutoReview = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1748
|
+
responseStyle: 'data',
|
|
1749
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1750
|
+
url: '/api/fleet/repos/{id}/auto-review',
|
|
1751
|
+
...options,
|
|
1752
|
+
headers: {
|
|
1753
|
+
'Content-Type': 'application/json',
|
|
1754
|
+
...options.headers
|
|
1755
|
+
}
|
|
1756
|
+
});
|
|
1757
|
+
exports.fleetReposControllerConfigureAutoReview = fleetReposControllerConfigureAutoReview;
|
|
1758
|
+
/**
|
|
1759
|
+
* Allow FIX on detected checks for a registered repo (fleet.repo.review.configure, global)
|
|
1760
|
+
*/
|
|
1761
|
+
const fleetReposControllerConfigureFixChecks = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1762
|
+
responseStyle: 'data',
|
|
1763
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1764
|
+
url: '/api/fleet/repos/{id}/fix-checks',
|
|
1765
|
+
...options,
|
|
1766
|
+
headers: {
|
|
1767
|
+
'Content-Type': 'application/json',
|
|
1768
|
+
...options.headers
|
|
1769
|
+
}
|
|
1770
|
+
});
|
|
1771
|
+
exports.fleetReposControllerConfigureFixChecks = fleetReposControllerConfigureFixChecks;
|
|
1772
|
+
/**
|
|
1773
|
+
* Allow FIX on an unprotected default branch for a registered repo (fleet.repo.fix.unprotected, global)
|
|
1774
|
+
*/
|
|
1775
|
+
const fleetReposControllerConfigureFixUnprotected = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1776
|
+
responseStyle: 'data',
|
|
1777
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1778
|
+
url: '/api/fleet/repos/{id}/fix-unprotected',
|
|
1779
|
+
...options,
|
|
1780
|
+
headers: {
|
|
1781
|
+
'Content-Type': 'application/json',
|
|
1782
|
+
...options.headers
|
|
1783
|
+
}
|
|
1784
|
+
});
|
|
1785
|
+
exports.fleetReposControllerConfigureFixUnprotected = fleetReposControllerConfigureFixUnprotected;
|
|
1786
|
+
/**
|
|
1787
|
+
* Rotate the GitLab tokens of a registered repo (fleet.repo.credentials.update, global)
|
|
1788
|
+
*/
|
|
1789
|
+
const fleetReposControllerRotateGitlabCredentials = (options) => (options.client ?? client_gen_1.client).patch({
|
|
1790
|
+
responseStyle: 'data',
|
|
1791
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1792
|
+
url: '/api/fleet/repos/{id}/gitlab-credentials',
|
|
1793
|
+
...options,
|
|
1794
|
+
headers: {
|
|
1795
|
+
'Content-Type': 'application/json',
|
|
1796
|
+
...options.headers
|
|
1797
|
+
}
|
|
1798
|
+
});
|
|
1799
|
+
exports.fleetReposControllerRotateGitlabCredentials = fleetReposControllerRotateGitlabCredentials;
|
|
1800
|
+
/**
|
|
1801
|
+
* Clear the rule override of a registered repo (fleet.repo.rules.configure, global)
|
|
1802
|
+
*/
|
|
1803
|
+
const fleetReposControllerClearRuleOverride = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1804
|
+
responseStyle: 'data',
|
|
1805
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1806
|
+
url: '/api/fleet/repos/{id}/rule-override',
|
|
1807
|
+
...options
|
|
1808
|
+
});
|
|
1809
|
+
exports.fleetReposControllerClearRuleOverride = fleetReposControllerClearRuleOverride;
|
|
1810
|
+
/**
|
|
1811
|
+
* Read the rule override of a registered repo (fleet.repo.rules.configure, global)
|
|
1812
|
+
*/
|
|
1813
|
+
const fleetReposControllerGetRuleOverride = (options) => (options.client ?? client_gen_1.client).get({
|
|
1814
|
+
responseStyle: 'data',
|
|
1815
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1816
|
+
url: '/api/fleet/repos/{id}/rule-override',
|
|
1817
|
+
...options
|
|
1818
|
+
});
|
|
1819
|
+
exports.fleetReposControllerGetRuleOverride = fleetReposControllerGetRuleOverride;
|
|
1820
|
+
/**
|
|
1821
|
+
* Set the rule override of a registered repo (fleet.repo.rules.configure, global)
|
|
1822
|
+
*/
|
|
1823
|
+
const fleetReposControllerSetRuleOverride = (options) => (options.client ?? client_gen_1.client).put({
|
|
1824
|
+
responseStyle: 'data',
|
|
1825
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1826
|
+
url: '/api/fleet/repos/{id}/rule-override',
|
|
1827
|
+
...options,
|
|
1828
|
+
headers: {
|
|
1829
|
+
'Content-Type': 'application/json',
|
|
1830
|
+
...options.headers
|
|
1831
|
+
}
|
|
1832
|
+
});
|
|
1833
|
+
exports.fleetReposControllerSetRuleOverride = fleetReposControllerSetRuleOverride;
|
|
1834
|
+
/**
|
|
1835
|
+
* Unregister a fleet repo (fleet.repo.delete, global)
|
|
1836
|
+
*/
|
|
1837
|
+
const fleetReposControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
1838
|
+
responseStyle: 'data',
|
|
1839
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1840
|
+
url: '/api/fleet/repos/{id}',
|
|
1841
|
+
...options
|
|
1842
|
+
});
|
|
1843
|
+
exports.fleetReposControllerRemove = fleetReposControllerRemove;
|
|
1844
|
+
/**
|
|
1845
|
+
* The project's fleet repos (fleet.repo.read)
|
|
1846
|
+
*/
|
|
1847
|
+
const projectFleetReposControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1848
|
+
responseStyle: 'data',
|
|
1849
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1850
|
+
url: '/api/projects/{slug}/fleet/repos',
|
|
1851
|
+
...options
|
|
1852
|
+
});
|
|
1853
|
+
exports.projectFleetReposControllerList = projectFleetReposControllerList;
|
|
1854
|
+
/**
|
|
1855
|
+
* The repo's allowlisted .nax files at the default-branch head (fleet.repo.config.read)
|
|
1856
|
+
*/
|
|
1857
|
+
const projectRepoConfigControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
1858
|
+
responseStyle: 'data',
|
|
1859
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1860
|
+
url: '/api/projects/{slug}/fleet/repos/{repoId}/nax-files',
|
|
1861
|
+
...options
|
|
1862
|
+
});
|
|
1863
|
+
exports.projectRepoConfigControllerList = projectRepoConfigControllerList;
|
|
1864
|
+
/**
|
|
1865
|
+
* One allowlisted .nax file at a commit (fleet.repo.config.read)
|
|
1866
|
+
*/
|
|
1867
|
+
const projectRepoConfigControllerRead = (options) => (options.client ?? client_gen_1.client).get({
|
|
1868
|
+
responseStyle: 'data',
|
|
1869
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1870
|
+
url: '/api/projects/{slug}/fleet/repos/{repoId}/nax-files/content',
|
|
1871
|
+
...options
|
|
1872
|
+
});
|
|
1873
|
+
exports.projectRepoConfigControllerRead = projectRepoConfigControllerRead;
|
|
1874
|
+
/**
|
|
1875
|
+
* Queue a CONFIG_EDIT job: a runner applies the edits, regenerates, validates and opens a PR (fleet.job.config.edit)
|
|
1876
|
+
*/
|
|
1877
|
+
const projectRepoConfigControllerSubmitEdit = (options) => (options.client ?? client_gen_1.client).post({
|
|
1878
|
+
responseStyle: 'data',
|
|
1879
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1880
|
+
url: '/api/projects/{slug}/fleet/repos/{repoId}/config-edits',
|
|
1881
|
+
...options,
|
|
1882
|
+
headers: {
|
|
1883
|
+
'Content-Type': 'application/json',
|
|
1884
|
+
...options.headers
|
|
1885
|
+
}
|
|
1886
|
+
});
|
|
1887
|
+
exports.projectRepoConfigControllerSubmitEdit = projectRepoConfigControllerSubmitEdit;
|
|
1888
|
+
/**
|
|
1889
|
+
* Queue a regenerate PR (CONFIG_EDIT with no file edits) (fleet.job.config.edit)
|
|
1890
|
+
*/
|
|
1891
|
+
const projectRepoConfigControllerSubmitRegenerate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1892
|
+
responseStyle: 'data',
|
|
1893
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1894
|
+
url: '/api/projects/{slug}/fleet/repos/{repoId}/config-edits/regenerate',
|
|
1895
|
+
...options,
|
|
1896
|
+
headers: {
|
|
1897
|
+
'Content-Type': 'application/json',
|
|
1898
|
+
...options.headers
|
|
1899
|
+
}
|
|
1900
|
+
});
|
|
1901
|
+
exports.projectRepoConfigControllerSubmitRegenerate = projectRepoConfigControllerSubmitRegenerate;
|
|
1902
|
+
/**
|
|
1903
|
+
* Queue a read-only CONFIG_DRIFT job (fleet.repo.drift.check)
|
|
1904
|
+
*/
|
|
1905
|
+
const projectRepoConfigControllerSubmitDrift = (options) => (options.client ?? client_gen_1.client).post({
|
|
1906
|
+
responseStyle: 'data',
|
|
1907
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1908
|
+
url: '/api/projects/{slug}/fleet/repos/{repoId}/drift-checks',
|
|
1909
|
+
...options
|
|
1910
|
+
});
|
|
1911
|
+
exports.projectRepoConfigControllerSubmitDrift = projectRepoConfigControllerSubmitDrift;
|
|
1912
|
+
/**
|
|
1913
|
+
* A config job's full edit set, for Reopen edits (fleet.job.config.read)
|
|
1914
|
+
*/
|
|
1915
|
+
const projectJobConfigEditControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
1916
|
+
responseStyle: 'data',
|
|
1917
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1918
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/config-edit',
|
|
1919
|
+
...options
|
|
1920
|
+
});
|
|
1921
|
+
exports.projectJobConfigEditControllerGet = projectJobConfigEditControllerGet;
|
|
1922
|
+
/**
|
|
1923
|
+
* A config job's edit set for the lease holder (fleet S3 §3); fetched before RUNNING
|
|
1924
|
+
*/
|
|
1925
|
+
const runnerConfigEditControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
1926
|
+
responseStyle: 'data',
|
|
1927
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1928
|
+
url: '/api/fleet/runner/jobs/{jobId}/config-edit',
|
|
1929
|
+
...options
|
|
1930
|
+
});
|
|
1931
|
+
exports.runnerConfigEditControllerGet = runnerConfigEditControllerGet;
|
|
1932
|
+
/**
|
|
1933
|
+
* Runner sync: events, command acks, token requests; long-polls when idle
|
|
1934
|
+
*/
|
|
1935
|
+
const runnerSyncControllerSync = (options) => (options.client ?? client_gen_1.client).post({
|
|
1936
|
+
responseStyle: 'data',
|
|
1937
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1938
|
+
url: '/api/fleet/runner/sync',
|
|
1939
|
+
...options,
|
|
1940
|
+
headers: {
|
|
1941
|
+
'Content-Type': 'application/json',
|
|
1942
|
+
...options.headers
|
|
1943
|
+
}
|
|
1944
|
+
});
|
|
1945
|
+
exports.runnerSyncControllerSync = runnerSyncControllerSync;
|
|
1946
|
+
/**
|
|
1947
|
+
* List enrollment tokens (fleet.enrollment.read, global); tokens are never returned
|
|
1948
|
+
*/
|
|
1949
|
+
const enrollmentsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1950
|
+
responseStyle: 'data',
|
|
1951
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1952
|
+
url: '/api/fleet/enrollments',
|
|
1953
|
+
...options
|
|
1954
|
+
});
|
|
1955
|
+
exports.enrollmentsControllerList = enrollmentsControllerList;
|
|
1956
|
+
/**
|
|
1957
|
+
* Issue a single-use runner enrollment token (fleet.enrollment.create, global); the token is shown once
|
|
1958
|
+
*/
|
|
1959
|
+
const enrollmentsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
1960
|
+
responseStyle: 'data',
|
|
1961
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1962
|
+
url: '/api/fleet/enrollments',
|
|
1963
|
+
...options,
|
|
1964
|
+
headers: {
|
|
1965
|
+
'Content-Type': 'application/json',
|
|
1966
|
+
...options.headers
|
|
1967
|
+
}
|
|
1968
|
+
});
|
|
1969
|
+
exports.enrollmentsControllerCreate = enrollmentsControllerCreate;
|
|
1970
|
+
/**
|
|
1971
|
+
* Enroll a runner with a single-use token; returns its API key once
|
|
1972
|
+
*/
|
|
1973
|
+
const runnerApiControllerEnroll = (options) => (options.client ?? client_gen_1.client).post({
|
|
1974
|
+
responseStyle: 'data',
|
|
1975
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1976
|
+
url: '/api/fleet/runner/enroll',
|
|
1977
|
+
...options,
|
|
1978
|
+
headers: {
|
|
1979
|
+
'Content-Type': 'application/json',
|
|
1980
|
+
...options.headers
|
|
1981
|
+
}
|
|
1982
|
+
});
|
|
1983
|
+
exports.runnerApiControllerEnroll = runnerApiControllerEnroll;
|
|
1984
|
+
/**
|
|
1985
|
+
* The calling runner's identity
|
|
1986
|
+
*/
|
|
1987
|
+
const runnerApiControllerMe = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1988
|
+
responseStyle: 'data',
|
|
1989
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1990
|
+
url: '/api/fleet/runner/me',
|
|
1991
|
+
...options
|
|
1992
|
+
});
|
|
1993
|
+
exports.runnerApiControllerMe = runnerApiControllerMe;
|
|
1994
|
+
/**
|
|
1995
|
+
* List runners (fleet.runner.read, global)
|
|
1996
|
+
*/
|
|
1997
|
+
const runnersControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
1998
|
+
responseStyle: 'data',
|
|
1999
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2000
|
+
url: '/api/fleet/runners',
|
|
2001
|
+
...options
|
|
2002
|
+
});
|
|
2003
|
+
exports.runnersControllerList = runnersControllerList;
|
|
2004
|
+
/**
|
|
2005
|
+
* Delete a runner; revokes its key (fleet.runner.delete, global)
|
|
2006
|
+
*/
|
|
2007
|
+
const runnersControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2008
|
+
responseStyle: 'data',
|
|
2009
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2010
|
+
url: '/api/fleet/runners/{id}',
|
|
2011
|
+
...options
|
|
2012
|
+
});
|
|
2013
|
+
exports.runnersControllerRemove = runnersControllerRemove;
|
|
2014
|
+
/**
|
|
2015
|
+
* Get a runner (fleet.runner.read, global)
|
|
2016
|
+
*/
|
|
2017
|
+
const runnersControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2018
|
+
responseStyle: 'data',
|
|
2019
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2020
|
+
url: '/api/fleet/runners/{id}',
|
|
2021
|
+
...options
|
|
2022
|
+
});
|
|
2023
|
+
exports.runnersControllerGet = runnersControllerGet;
|
|
2024
|
+
/**
|
|
2025
|
+
* Enable/disable a runner or change its labels or capacity (fleet.runner.update, global)
|
|
2026
|
+
*/
|
|
2027
|
+
const runnersControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
2028
|
+
responseStyle: 'data',
|
|
2029
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2030
|
+
url: '/api/fleet/runners/{id}',
|
|
2031
|
+
...options,
|
|
2032
|
+
headers: {
|
|
2033
|
+
'Content-Type': 'application/json',
|
|
2034
|
+
...options.headers
|
|
2035
|
+
}
|
|
2036
|
+
});
|
|
2037
|
+
exports.runnersControllerUpdate = runnersControllerUpdate;
|
|
2038
|
+
/**
|
|
2039
|
+
* Ask a runner to re-probe its capabilities now (fleet.runner.update, global)
|
|
2040
|
+
*/
|
|
2041
|
+
const runnersControllerReprobe = (options) => (options.client ?? client_gen_1.client).post({
|
|
2042
|
+
responseStyle: 'data',
|
|
2043
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2044
|
+
url: '/api/fleet/runners/{id}/reprobe',
|
|
2045
|
+
...options
|
|
2046
|
+
});
|
|
2047
|
+
exports.runnersControllerReprobe = runnersControllerReprobe;
|
|
2048
|
+
/**
|
|
2049
|
+
* Runner summaries for dispatch and job lists (fleet.runner.read)
|
|
2050
|
+
*/
|
|
2051
|
+
const projectFleetRunnersControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
2052
|
+
responseStyle: 'data',
|
|
2053
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2054
|
+
url: '/api/projects/{slug}/fleet/runners',
|
|
2055
|
+
...options
|
|
2056
|
+
});
|
|
2057
|
+
exports.projectFleetRunnersControllerList = projectFleetRunnersControllerList;
|
|
2058
|
+
/**
|
|
2059
|
+
* Upload the run bundle (tar.gz) for the held lease; replaces this epoch's previous bundle
|
|
2060
|
+
*/
|
|
2061
|
+
const bundleUploadControllerUpload = (options) => (options.client ?? client_gen_1.client).put({
|
|
2062
|
+
responseStyle: 'data',
|
|
2063
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2064
|
+
url: '/api/fleet/runner/jobs/{jobId}/bundle',
|
|
2065
|
+
...options
|
|
2066
|
+
});
|
|
2067
|
+
exports.bundleUploadControllerUpload = bundleUploadControllerUpload;
|
|
2068
|
+
/**
|
|
2069
|
+
* Download the latest run bundle (fleet.job.bundle.read)
|
|
2070
|
+
*/
|
|
2071
|
+
const jobBundleControllerDownload = (options) => (options.client ?? client_gen_1.client).get({
|
|
2072
|
+
responseStyle: 'data',
|
|
2073
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2074
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/bundle',
|
|
2075
|
+
...options
|
|
2076
|
+
});
|
|
2077
|
+
exports.jobBundleControllerDownload = jobBundleControllerDownload;
|
|
2078
|
+
/**
|
|
2079
|
+
* Append bytes to a log stream of the held attempt at an exact offset (S2a §2.2)
|
|
2080
|
+
*/
|
|
2081
|
+
const logUploadControllerAppend = (options) => (options.client ?? client_gen_1.client).put({
|
|
2082
|
+
responseStyle: 'data',
|
|
2083
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2084
|
+
url: '/api/fleet/runner/jobs/{jobId}/logs/{stream}',
|
|
2085
|
+
...options
|
|
2086
|
+
});
|
|
2087
|
+
exports.logUploadControllerAppend = logUploadControllerAppend;
|
|
2088
|
+
/**
|
|
2089
|
+
* Log streams of every attempt of a job, latest first (fleet.job.logs.read)
|
|
2090
|
+
*/
|
|
2091
|
+
const fleetJobLogsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
2092
|
+
responseStyle: 'data',
|
|
2093
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2094
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/logs',
|
|
2095
|
+
...options
|
|
2096
|
+
});
|
|
2097
|
+
exports.fleetJobLogsControllerList = fleetJobLogsControllerList;
|
|
2098
|
+
/**
|
|
2099
|
+
* One page of log lines, filtered server-side within a bounded scan (fleet.job.logs.read)
|
|
2100
|
+
*/
|
|
2101
|
+
const fleetJobLogsControllerEntries = (options) => (options.client ?? client_gen_1.client).get({
|
|
2102
|
+
responseStyle: 'data',
|
|
2103
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2104
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/logs/{stream}/entries',
|
|
2105
|
+
...options
|
|
2106
|
+
});
|
|
2107
|
+
exports.fleetJobLogsControllerEntries = fleetJobLogsControllerEntries;
|
|
2108
|
+
/**
|
|
2109
|
+
* Raw bytes of a log stream: a range of at most 1 MiB, or download=1 for all of it (fleet.job.logs.read)
|
|
2110
|
+
*/
|
|
2111
|
+
const fleetJobLogsControllerRaw = (options) => (options.client ?? client_gen_1.client).get({
|
|
2112
|
+
responseStyle: 'data',
|
|
2113
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2114
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/logs/{stream}/raw',
|
|
2115
|
+
...options
|
|
2116
|
+
});
|
|
2117
|
+
exports.fleetJobLogsControllerRaw = fleetJobLogsControllerRaw;
|
|
2118
|
+
/**
|
|
2119
|
+
* List bundle ingest rows (fleet.ingest.read, global)
|
|
2120
|
+
*/
|
|
2121
|
+
const fleetIngestControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2122
|
+
responseStyle: 'data',
|
|
2123
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2124
|
+
url: '/api/fleet/ingest',
|
|
2125
|
+
...options
|
|
2126
|
+
});
|
|
2127
|
+
exports.fleetIngestControllerList = fleetIngestControllerList;
|
|
2128
|
+
/**
|
|
2129
|
+
* Queue every unexpired bundle that has no ingest row (fleet.ingest.backfill, global)
|
|
2130
|
+
*/
|
|
2131
|
+
const fleetIngestControllerBackfill = (options) => (options?.client ?? client_gen_1.client).post({
|
|
2132
|
+
responseStyle: 'data',
|
|
2133
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2134
|
+
url: '/api/fleet/ingest/backfill',
|
|
2135
|
+
...options
|
|
2136
|
+
});
|
|
2137
|
+
exports.fleetIngestControllerBackfill = fleetIngestControllerBackfill;
|
|
2138
|
+
/**
|
|
2139
|
+
* Re-ingest a job's bundles (fleet.ingest.rerun, global)
|
|
2140
|
+
*/
|
|
2141
|
+
const fleetIngestControllerRerunJob = (options) => (options.client ?? client_gen_1.client).post({
|
|
2142
|
+
responseStyle: 'data',
|
|
2143
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2144
|
+
url: '/api/fleet/ingest/jobs/{jobId}/rerun',
|
|
2145
|
+
...options
|
|
2146
|
+
});
|
|
2147
|
+
exports.fleetIngestControllerRerunJob = fleetIngestControllerRerunJob;
|
|
2148
|
+
/**
|
|
2149
|
+
* Re-ingest bundles ingested by an older parser version (fleet.ingest.rerun, global)
|
|
2150
|
+
*/
|
|
2151
|
+
const fleetIngestControllerRerunOutdated = (options) => (options?.client ?? client_gen_1.client).post({
|
|
2152
|
+
responseStyle: 'data',
|
|
2153
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2154
|
+
url: '/api/fleet/ingest/rerun-outdated',
|
|
2155
|
+
...options
|
|
2156
|
+
});
|
|
2157
|
+
exports.fleetIngestControllerRerunOutdated = fleetIngestControllerRerunOutdated;
|
|
2158
|
+
/**
|
|
2159
|
+
* Fleet spend over a window, bucketed and grouped (fleet.analytics.read, S2b §4.2)
|
|
2160
|
+
*/
|
|
2161
|
+
const projectFleetAnalyticsControllerSpend = (options) => (options.client ?? client_gen_1.client).get({
|
|
2162
|
+
responseStyle: 'data',
|
|
2163
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2164
|
+
url: '/api/projects/{slug}/fleet/analytics/spend',
|
|
2165
|
+
...options
|
|
2166
|
+
});
|
|
2167
|
+
exports.projectFleetAnalyticsControllerSpend = projectFleetAnalyticsControllerSpend;
|
|
2168
|
+
/**
|
|
2169
|
+
* Run quality over a window: first pass, attempts, reviews, finish outcomes (fleet.analytics.read)
|
|
2170
|
+
*/
|
|
2171
|
+
const projectFleetAnalyticsControllerQuality = (options) => (options.client ?? client_gen_1.client).get({
|
|
2172
|
+
responseStyle: 'data',
|
|
2173
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2174
|
+
url: '/api/projects/{slug}/fleet/analytics/quality',
|
|
2175
|
+
...options
|
|
2176
|
+
});
|
|
2177
|
+
exports.projectFleetAnalyticsControllerQuality = projectFleetAnalyticsControllerQuality;
|
|
2178
|
+
/**
|
|
2179
|
+
* The most expensive or most looping stories in a window (fleet.analytics.read)
|
|
2180
|
+
*/
|
|
2181
|
+
const projectFleetAnalyticsControllerStories = (options) => (options.client ?? client_gen_1.client).get({
|
|
2182
|
+
responseStyle: 'data',
|
|
2183
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2184
|
+
url: '/api/projects/{slug}/fleet/analytics/stories',
|
|
2185
|
+
...options
|
|
2186
|
+
});
|
|
2187
|
+
exports.projectFleetAnalyticsControllerStories = projectFleetAnalyticsControllerStories;
|
|
2188
|
+
/**
|
|
2189
|
+
* The most expensive jobs finished in a window, with ledger drift (fleet.analytics.read)
|
|
2190
|
+
*/
|
|
2191
|
+
const projectFleetAnalyticsControllerJobs = (options) => (options.client ?? client_gen_1.client).get({
|
|
2192
|
+
responseStyle: 'data',
|
|
2193
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2194
|
+
url: '/api/projects/{slug}/fleet/analytics/jobs',
|
|
2195
|
+
...options
|
|
2196
|
+
});
|
|
2197
|
+
exports.projectFleetAnalyticsControllerJobs = projectFleetAnalyticsControllerJobs;
|
|
2198
|
+
/**
|
|
2199
|
+
* Ingest rows not yet analysed or failed, for jobs finished in a window (fleet.analytics.read, D388)
|
|
2200
|
+
*/
|
|
2201
|
+
const projectFleetAnalyticsControllerIngest = (options) => (options.client ?? client_gen_1.client).get({
|
|
2202
|
+
responseStyle: 'data',
|
|
2203
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2204
|
+
url: '/api/projects/{slug}/fleet/analytics/ingest',
|
|
2205
|
+
...options
|
|
2206
|
+
});
|
|
2207
|
+
exports.projectFleetAnalyticsControllerIngest = projectFleetAnalyticsControllerIngest;
|
|
2208
|
+
/**
|
|
2209
|
+
* One job's cost and quality breakdown across its attempts (fleet.analytics.read)
|
|
2210
|
+
*/
|
|
2211
|
+
const projectFleetAnalyticsControllerJob = (options) => (options.client ?? client_gen_1.client).get({
|
|
2212
|
+
responseStyle: 'data',
|
|
2213
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2214
|
+
url: '/api/projects/{slug}/fleet/jobs/{id}/analytics',
|
|
2215
|
+
...options
|
|
2216
|
+
});
|
|
2217
|
+
exports.projectFleetAnalyticsControllerJob = projectFleetAnalyticsControllerJob;
|
|
2218
|
+
/**
|
|
2219
|
+
* Fleet spend across projects; groupBy also accepts project (fleet.analytics.read, global)
|
|
2220
|
+
*/
|
|
2221
|
+
const fleetAnalyticsControllerSpend = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2222
|
+
responseStyle: 'data',
|
|
2223
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2224
|
+
url: '/api/fleet/analytics/spend',
|
|
2225
|
+
...options
|
|
2226
|
+
});
|
|
2227
|
+
exports.fleetAnalyticsControllerSpend = fleetAnalyticsControllerSpend;
|
|
2228
|
+
/**
|
|
2229
|
+
* Delete analytics rows dated before an instant; ingest rows are kept and marked (fleet.analytics.delete, global, D384)
|
|
2230
|
+
*/
|
|
2231
|
+
const fleetAnalyticsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2232
|
+
responseStyle: 'data',
|
|
2233
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2234
|
+
url: '/api/fleet/analytics',
|
|
2235
|
+
...options,
|
|
2236
|
+
headers: {
|
|
2237
|
+
'Content-Type': 'application/json',
|
|
2238
|
+
...options.headers
|
|
2239
|
+
}
|
|
2240
|
+
});
|
|
2241
|
+
exports.fleetAnalyticsControllerRemove = fleetAnalyticsControllerRemove;
|
|
2242
|
+
/**
|
|
2243
|
+
* The project's fleet health: its jobs, runner health, attention items (fleet.dashboard.read)
|
|
2244
|
+
*/
|
|
2245
|
+
const projectFleetDashboardControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2246
|
+
responseStyle: 'data',
|
|
2247
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2248
|
+
url: '/api/projects/{slug}/fleet/dashboard',
|
|
2249
|
+
...options
|
|
2250
|
+
});
|
|
2251
|
+
exports.projectFleetDashboardControllerGet = projectFleetDashboardControllerGet;
|
|
2252
|
+
/**
|
|
2253
|
+
* Fleet health across every project: runners, active and recent jobs, attention items (fleet.dashboard.read, global)
|
|
2254
|
+
*/
|
|
2255
|
+
const fleetDashboardControllerGet = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2256
|
+
responseStyle: 'data',
|
|
2257
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2258
|
+
url: '/api/fleet/dashboard',
|
|
2259
|
+
...options
|
|
2260
|
+
});
|
|
2261
|
+
exports.fleetDashboardControllerGet = fleetDashboardControllerGet;
|
|
2262
|
+
/**
|
|
2263
|
+
* Credential health per provider and runner, and the profile inventory (fleet.credential.read, global)
|
|
2264
|
+
*/
|
|
2265
|
+
const fleetCredentialBoardControllerGet = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2266
|
+
responseStyle: 'data',
|
|
2267
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2268
|
+
url: '/api/fleet/credential-board',
|
|
2269
|
+
...options
|
|
2270
|
+
});
|
|
2271
|
+
exports.fleetCredentialBoardControllerGet = fleetCredentialBoardControllerGet;
|
|
2272
|
+
/**
|
|
2273
|
+
* List the caller’s personal workspace chat threads (thread.workspace.read)
|
|
2274
|
+
*/
|
|
2275
|
+
const workspaceThreadsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2276
|
+
responseStyle: 'data',
|
|
2277
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2278
|
+
url: '/api/threads',
|
|
2279
|
+
...options
|
|
2280
|
+
});
|
|
2281
|
+
exports.workspaceThreadsControllerList = workspaceThreadsControllerList;
|
|
2282
|
+
/**
|
|
2283
|
+
* Create a personal workspace chat thread (thread.workspace.create, hosted by the home project’s thread.create)
|
|
2284
|
+
*/
|
|
2285
|
+
const workspaceThreadsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2286
|
+
responseStyle: 'data',
|
|
2287
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2288
|
+
url: '/api/threads',
|
|
2289
|
+
...options,
|
|
2290
|
+
headers: {
|
|
2291
|
+
'Content-Type': 'application/json',
|
|
2292
|
+
...options.headers
|
|
2293
|
+
}
|
|
2294
|
+
});
|
|
2295
|
+
exports.workspaceThreadsControllerCreate = workspaceThreadsControllerCreate;
|
|
2296
|
+
/**
|
|
2297
|
+
* Get one of the caller’s personal workspace chat threads (thread.workspace.read)
|
|
2298
|
+
*/
|
|
2299
|
+
const workspaceThreadsControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2300
|
+
responseStyle: 'data',
|
|
2301
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2302
|
+
url: '/api/threads/{id}',
|
|
2303
|
+
...options
|
|
2304
|
+
});
|
|
2305
|
+
exports.workspaceThreadsControllerGet = workspaceThreadsControllerGet;
|
|
2306
|
+
/**
|
|
2307
|
+
* Update the cost cap of one of the caller’s workspace chat threads (thread.cap.update: the creator, or the any-row key)
|
|
2308
|
+
*/
|
|
2309
|
+
const workspaceThreadsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
2310
|
+
responseStyle: 'data',
|
|
2311
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2312
|
+
url: '/api/threads/{id}',
|
|
2313
|
+
...options,
|
|
2314
|
+
headers: {
|
|
2315
|
+
'Content-Type': 'application/json',
|
|
2316
|
+
...options.headers
|
|
2317
|
+
}
|
|
2318
|
+
});
|
|
2319
|
+
exports.workspaceThreadsControllerUpdate = workspaceThreadsControllerUpdate;
|
|
2320
|
+
/**
|
|
2321
|
+
* List the messages of one of the caller’s workspace chat threads (thread.workspace.read)
|
|
2322
|
+
*/
|
|
2323
|
+
const workspaceThreadsControllerMessages = (options) => (options.client ?? client_gen_1.client).get({
|
|
2324
|
+
responseStyle: 'data',
|
|
2325
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2326
|
+
url: '/api/threads/{id}/messages',
|
|
2327
|
+
...options
|
|
2328
|
+
});
|
|
2329
|
+
exports.workspaceThreadsControllerMessages = workspaceThreadsControllerMessages;
|
|
2330
|
+
/**
|
|
2331
|
+
* Send a message to a personal workspace chat thread (thread.workspace.message.send)
|
|
2332
|
+
*/
|
|
2333
|
+
const workspaceThreadsControllerSend = (options) => (options.client ?? client_gen_1.client).post({
|
|
2334
|
+
responseStyle: 'data',
|
|
2335
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2336
|
+
url: '/api/threads/{id}/messages',
|
|
2337
|
+
...options,
|
|
2338
|
+
headers: {
|
|
2339
|
+
'Content-Type': 'application/json',
|
|
2340
|
+
...options.headers
|
|
2341
|
+
}
|
|
2342
|
+
});
|
|
2343
|
+
exports.workspaceThreadsControllerSend = workspaceThreadsControllerSend;
|
|
2344
|
+
/**
|
|
2345
|
+
* Archive a personal workspace chat thread (thread.workspace.archive)
|
|
2346
|
+
*/
|
|
2347
|
+
const workspaceThreadsControllerArchive = (options) => (options.client ?? client_gen_1.client).post({
|
|
2348
|
+
responseStyle: 'data',
|
|
2349
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2350
|
+
url: '/api/threads/{id}/archive',
|
|
2351
|
+
...options
|
|
2352
|
+
});
|
|
2353
|
+
exports.workspaceThreadsControllerArchive = workspaceThreadsControllerArchive;
|
|
2354
|
+
/**
|
|
2355
|
+
* Stop the live turn of a workspace chat thread (thread.stop: the creator, or the any-row key)
|
|
2356
|
+
*/
|
|
2357
|
+
const workspaceThreadsControllerStop = (options) => (options.client ?? client_gen_1.client).post({
|
|
2358
|
+
responseStyle: 'data',
|
|
2359
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2360
|
+
url: '/api/threads/{id}/stop',
|
|
2361
|
+
...options
|
|
2362
|
+
});
|
|
2363
|
+
exports.workspaceThreadsControllerStop = workspaceThreadsControllerStop;
|
|
2364
|
+
/**
|
|
2365
|
+
* Close the live session of a workspace chat thread (thread.end-session: the creator, or the any-row key)
|
|
2366
|
+
*/
|
|
2367
|
+
const workspaceThreadsControllerEndSession = (options) => (options.client ?? client_gen_1.client).post({
|
|
2368
|
+
responseStyle: 'data',
|
|
2369
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2370
|
+
url: '/api/threads/{id}/end-session',
|
|
2371
|
+
...options
|
|
2372
|
+
});
|
|
2373
|
+
exports.workspaceThreadsControllerEndSession = workspaceThreadsControllerEndSession;
|
|
2374
|
+
/**
|
|
2375
|
+
* Answer a pending question of a workspace chat thread (thread.answer: the creator, or the any-row key)
|
|
2376
|
+
*/
|
|
2377
|
+
const workspaceThreadsControllerAnswer = (options) => (options.client ?? client_gen_1.client).post({
|
|
2378
|
+
responseStyle: 'data',
|
|
2379
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2380
|
+
url: '/api/threads/{id}/answer',
|
|
2381
|
+
...options,
|
|
2382
|
+
headers: {
|
|
2383
|
+
'Content-Type': 'application/json',
|
|
2384
|
+
...options.headers
|
|
2385
|
+
}
|
|
2386
|
+
});
|
|
2387
|
+
exports.workspaceThreadsControllerAnswer = workspaceThreadsControllerAnswer;
|
|
2388
|
+
/**
|
|
2389
|
+
* Decide a pending session approval of a workspace chat thread (thread.answer: the creator, or the any-row key)
|
|
2390
|
+
*/
|
|
2391
|
+
const workspaceThreadsControllerDecideApproval = (options) => (options.client ?? client_gen_1.client).post({
|
|
2392
|
+
responseStyle: 'data',
|
|
2393
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2394
|
+
url: '/api/threads/{id}/approvals/{requestId}',
|
|
2395
|
+
...options,
|
|
2396
|
+
headers: {
|
|
2397
|
+
'Content-Type': 'application/json',
|
|
2398
|
+
...options.headers
|
|
2399
|
+
}
|
|
2400
|
+
});
|
|
2401
|
+
exports.workspaceThreadsControllerDecideApproval = workspaceThreadsControllerDecideApproval;
|
|
2402
|
+
/**
|
|
2403
|
+
* List project chat threads (thread.read)
|
|
2404
|
+
*/
|
|
2405
|
+
const threadsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
2406
|
+
responseStyle: 'data',
|
|
2407
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2408
|
+
url: '/api/projects/{slug}/threads',
|
|
2409
|
+
...options
|
|
2410
|
+
});
|
|
2411
|
+
exports.threadsControllerList = threadsControllerList;
|
|
2412
|
+
/**
|
|
2413
|
+
* Create a chat thread (thread.create)
|
|
2414
|
+
*/
|
|
2415
|
+
const threadsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2416
|
+
responseStyle: 'data',
|
|
2417
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2418
|
+
url: '/api/projects/{slug}/threads',
|
|
2419
|
+
...options,
|
|
2420
|
+
headers: {
|
|
2421
|
+
'Content-Type': 'application/json',
|
|
2422
|
+
...options.headers
|
|
2423
|
+
}
|
|
2424
|
+
});
|
|
2425
|
+
exports.threadsControllerCreate = threadsControllerCreate;
|
|
2426
|
+
/**
|
|
2427
|
+
* Get a chat thread (thread.read)
|
|
2428
|
+
*/
|
|
2429
|
+
const threadsControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2430
|
+
responseStyle: 'data',
|
|
2431
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2432
|
+
url: '/api/projects/{slug}/threads/{id}',
|
|
2433
|
+
...options
|
|
2434
|
+
});
|
|
2435
|
+
exports.threadsControllerGet = threadsControllerGet;
|
|
2436
|
+
/**
|
|
2437
|
+
* Update a chat thread cost cap (thread.cap.update: the creator, or the any-row key)
|
|
2438
|
+
*/
|
|
2439
|
+
const threadsControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
2440
|
+
responseStyle: 'data',
|
|
2441
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2442
|
+
url: '/api/projects/{slug}/threads/{id}',
|
|
2443
|
+
...options,
|
|
2444
|
+
headers: {
|
|
2445
|
+
'Content-Type': 'application/json',
|
|
2446
|
+
...options.headers
|
|
2447
|
+
}
|
|
2448
|
+
});
|
|
2449
|
+
exports.threadsControllerUpdate = threadsControllerUpdate;
|
|
2450
|
+
/**
|
|
2451
|
+
* Change a repository thread mode between turns
|
|
2452
|
+
*/
|
|
2453
|
+
const threadsControllerChangeMode = (options) => (options.client ?? client_gen_1.client).patch({
|
|
2454
|
+
responseStyle: 'data',
|
|
2455
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2456
|
+
url: '/api/projects/{slug}/threads/{id}/mode',
|
|
2457
|
+
...options,
|
|
2458
|
+
headers: {
|
|
2459
|
+
'Content-Type': 'application/json',
|
|
2460
|
+
...options.headers
|
|
2461
|
+
}
|
|
2462
|
+
});
|
|
2463
|
+
exports.threadsControllerChangeMode = threadsControllerChangeMode;
|
|
2464
|
+
/**
|
|
2465
|
+
* Plan a published thread spec (thread.plan and fleet.job.dispatch: the creator, or the any-row key)
|
|
2466
|
+
*/
|
|
2467
|
+
const threadsControllerPlan = (options) => (options.client ?? client_gen_1.client).post({
|
|
2468
|
+
responseStyle: 'data',
|
|
2469
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2470
|
+
url: '/api/projects/{slug}/threads/{id}/plan',
|
|
2471
|
+
...options,
|
|
2472
|
+
headers: {
|
|
2473
|
+
'Content-Type': 'application/json',
|
|
2474
|
+
...options.headers
|
|
2475
|
+
}
|
|
2476
|
+
});
|
|
2477
|
+
exports.threadsControllerPlan = threadsControllerPlan;
|
|
2478
|
+
/**
|
|
2479
|
+
* Run a thread after its latest plan completed (thread.run and fleet.job.dispatch: the creator, or the any-row key)
|
|
2480
|
+
*/
|
|
2481
|
+
const threadsControllerRun = (options) => (options.client ?? client_gen_1.client).post({
|
|
2482
|
+
responseStyle: 'data',
|
|
2483
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2484
|
+
url: '/api/projects/{slug}/threads/{id}/run',
|
|
2485
|
+
...options,
|
|
2486
|
+
headers: {
|
|
2487
|
+
'Content-Type': 'application/json',
|
|
2488
|
+
...options.headers
|
|
2489
|
+
}
|
|
2490
|
+
});
|
|
2491
|
+
exports.threadsControllerRun = threadsControllerRun;
|
|
2492
|
+
/**
|
|
2493
|
+
* Stop the live turn of a chat thread (thread.stop: the creator, or the any-row key)
|
|
2494
|
+
*/
|
|
2495
|
+
const threadsControllerStop = (options) => (options.client ?? client_gen_1.client).post({
|
|
2496
|
+
responseStyle: 'data',
|
|
2497
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2498
|
+
url: '/api/projects/{slug}/threads/{id}/stop',
|
|
2499
|
+
...options
|
|
2500
|
+
});
|
|
2501
|
+
exports.threadsControllerStop = threadsControllerStop;
|
|
2502
|
+
/**
|
|
2503
|
+
* Close the live session of a chat thread (thread.end-session: the creator, or the any-row key)
|
|
2504
|
+
*/
|
|
2505
|
+
const threadsControllerEndSession = (options) => (options.client ?? client_gen_1.client).post({
|
|
2506
|
+
responseStyle: 'data',
|
|
2507
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2508
|
+
url: '/api/projects/{slug}/threads/{id}/end-session',
|
|
2509
|
+
...options
|
|
2510
|
+
});
|
|
2511
|
+
exports.threadsControllerEndSession = threadsControllerEndSession;
|
|
2512
|
+
/**
|
|
2513
|
+
* Answer a pending question of a chat thread (thread.answer: the creator, or the any-row key)
|
|
2514
|
+
*/
|
|
2515
|
+
const threadsControllerAnswer = (options) => (options.client ?? client_gen_1.client).post({
|
|
2516
|
+
responseStyle: 'data',
|
|
2517
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2518
|
+
url: '/api/projects/{slug}/threads/{id}/answer',
|
|
2519
|
+
...options,
|
|
2520
|
+
headers: {
|
|
2521
|
+
'Content-Type': 'application/json',
|
|
2522
|
+
...options.headers
|
|
2523
|
+
}
|
|
2524
|
+
});
|
|
2525
|
+
exports.threadsControllerAnswer = threadsControllerAnswer;
|
|
2526
|
+
/**
|
|
2527
|
+
* Decide a pending session approval of a chat thread (thread.answer: the creator, or the any-row key)
|
|
2528
|
+
*/
|
|
2529
|
+
const threadsControllerDecideApproval = (options) => (options.client ?? client_gen_1.client).post({
|
|
2530
|
+
responseStyle: 'data',
|
|
2531
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2532
|
+
url: '/api/projects/{slug}/threads/{id}/approvals/{requestId}',
|
|
2533
|
+
...options,
|
|
2534
|
+
headers: {
|
|
2535
|
+
'Content-Type': 'application/json',
|
|
2536
|
+
...options.headers
|
|
2537
|
+
}
|
|
2538
|
+
});
|
|
2539
|
+
exports.threadsControllerDecideApproval = threadsControllerDecideApproval;
|
|
2540
|
+
/**
|
|
2541
|
+
* Archive a chat thread (thread.archive: the creator, or the any-row key)
|
|
2542
|
+
*/
|
|
2543
|
+
const threadsControllerArchive = (options) => (options.client ?? client_gen_1.client).post({
|
|
2544
|
+
responseStyle: 'data',
|
|
2545
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2546
|
+
url: '/api/projects/{slug}/threads/{id}/archive',
|
|
2547
|
+
...options
|
|
2548
|
+
});
|
|
2549
|
+
exports.threadsControllerArchive = threadsControllerArchive;
|
|
2550
|
+
/**
|
|
2551
|
+
* Publish thread documents (thread.publish: the creator, or the any-row key)
|
|
2552
|
+
*/
|
|
2553
|
+
const threadsControllerPublish = (options) => (options.client ?? client_gen_1.client).post({
|
|
2554
|
+
responseStyle: 'data',
|
|
2555
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2556
|
+
url: '/api/projects/{slug}/threads/{id}/publish',
|
|
2557
|
+
...options
|
|
2558
|
+
});
|
|
2559
|
+
exports.threadsControllerPublish = threadsControllerPublish;
|
|
2560
|
+
/**
|
|
2561
|
+
* Discard the thread worktree changes (thread.discard: the creator, or the any-row key)
|
|
2562
|
+
*/
|
|
2563
|
+
const threadsControllerDiscard = (options) => (options.client ?? client_gen_1.client).post({
|
|
2564
|
+
responseStyle: 'data',
|
|
2565
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2566
|
+
url: '/api/projects/{slug}/threads/{id}/discard',
|
|
2567
|
+
...options
|
|
2568
|
+
});
|
|
2569
|
+
exports.threadsControllerDiscard = threadsControllerDiscard;
|
|
2570
|
+
/**
|
|
2571
|
+
* List chat thread messages (thread.read)
|
|
2572
|
+
*/
|
|
2573
|
+
const threadsControllerMessages = (options) => (options.client ?? client_gen_1.client).get({
|
|
2574
|
+
responseStyle: 'data',
|
|
2575
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2576
|
+
url: '/api/projects/{slug}/threads/{id}/messages',
|
|
2577
|
+
...options
|
|
2578
|
+
});
|
|
2579
|
+
exports.threadsControllerMessages = threadsControllerMessages;
|
|
2580
|
+
/**
|
|
2581
|
+
* Send a message to a chat thread (thread.message.send: the creator, or the any-row key)
|
|
2582
|
+
*/
|
|
2583
|
+
const threadsControllerSendMessage = (options) => (options.client ?? client_gen_1.client).post({
|
|
2584
|
+
responseStyle: 'data',
|
|
2585
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2586
|
+
url: '/api/projects/{slug}/threads/{id}/messages',
|
|
2587
|
+
...options,
|
|
2588
|
+
headers: {
|
|
2589
|
+
'Content-Type': 'application/json',
|
|
2590
|
+
...options.headers
|
|
2591
|
+
}
|
|
2592
|
+
});
|
|
2593
|
+
exports.threadsControllerSendMessage = threadsControllerSendMessage;
|
|
2594
|
+
/**
|
|
2595
|
+
* List registered skill sources (global admin)
|
|
2596
|
+
*/
|
|
2597
|
+
const adminSkillsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2598
|
+
responseStyle: 'data',
|
|
2599
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2600
|
+
url: '/api/admin/skills/sources',
|
|
2601
|
+
...options
|
|
2602
|
+
});
|
|
2603
|
+
exports.adminSkillsControllerList = adminSkillsControllerList;
|
|
2604
|
+
/**
|
|
2605
|
+
* Register and resolve a public GitHub skill source (global admin)
|
|
2606
|
+
*/
|
|
2607
|
+
const adminSkillsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2608
|
+
responseStyle: 'data',
|
|
2609
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2610
|
+
url: '/api/admin/skills/sources',
|
|
2611
|
+
...options,
|
|
2612
|
+
headers: {
|
|
2613
|
+
'Content-Type': 'application/json',
|
|
2614
|
+
...options.headers
|
|
2615
|
+
}
|
|
2616
|
+
});
|
|
2617
|
+
exports.adminSkillsControllerCreate = adminSkillsControllerCreate;
|
|
2618
|
+
/**
|
|
2619
|
+
* Re-resolve a registered skill source (global admin)
|
|
2620
|
+
*/
|
|
2621
|
+
const adminSkillsControllerUpdate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2622
|
+
responseStyle: 'data',
|
|
2623
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2624
|
+
url: '/api/admin/skills/sources/{id}/update',
|
|
2625
|
+
...options
|
|
2626
|
+
});
|
|
2627
|
+
exports.adminSkillsControllerUpdate = adminSkillsControllerUpdate;
|
|
2628
|
+
/**
|
|
2629
|
+
* Delete a registered skill source (global admin)
|
|
2630
|
+
*/
|
|
2631
|
+
const adminSkillsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2632
|
+
responseStyle: 'data',
|
|
2633
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2634
|
+
url: '/api/admin/skills/sources/{id}',
|
|
2635
|
+
...options
|
|
2636
|
+
});
|
|
2637
|
+
exports.adminSkillsControllerRemove = adminSkillsControllerRemove;
|
|
2638
|
+
/**
|
|
2639
|
+
* List catalog skills and their project enablement
|
|
2640
|
+
*/
|
|
2641
|
+
const projectSkillsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
2642
|
+
responseStyle: 'data',
|
|
2643
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2644
|
+
url: '/api/projects/{slug}/skills',
|
|
2645
|
+
...options
|
|
2646
|
+
});
|
|
2647
|
+
exports.projectSkillsControllerList = projectSkillsControllerList;
|
|
2648
|
+
/**
|
|
2649
|
+
* Disable a catalog skill for this project
|
|
2650
|
+
*/
|
|
2651
|
+
const projectSkillsControllerDisable = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2652
|
+
responseStyle: 'data',
|
|
2653
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2654
|
+
url: '/api/projects/{slug}/skills/{skillId}',
|
|
2655
|
+
...options
|
|
2656
|
+
});
|
|
2657
|
+
exports.projectSkillsControllerDisable = projectSkillsControllerDisable;
|
|
2658
|
+
/**
|
|
2659
|
+
* Enable a catalog skill for this project
|
|
2660
|
+
*/
|
|
2661
|
+
const projectSkillsControllerEnable = (options) => (options.client ?? client_gen_1.client).put({
|
|
2662
|
+
responseStyle: 'data',
|
|
2663
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2664
|
+
url: '/api/projects/{slug}/skills/{skillId}',
|
|
2665
|
+
...options
|
|
2666
|
+
});
|
|
2667
|
+
exports.projectSkillsControllerEnable = projectSkillsControllerEnable;
|
|
2668
|
+
/**
|
|
2669
|
+
* Run one koda tool for the thread of the held job at its lease (S5b §1b)
|
|
2670
|
+
*/
|
|
2671
|
+
const runnerToolControllerCall = (options) => (options.client ?? client_gen_1.client).post({
|
|
2672
|
+
responseStyle: 'data',
|
|
2673
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2674
|
+
url: '/api/fleet/runner/jobs/{jobId}/tools/{name}',
|
|
2675
|
+
...options
|
|
2676
|
+
});
|
|
2677
|
+
exports.runnerToolControllerCall = runnerToolControllerCall;
|
|
2678
|
+
/**
|
|
2679
|
+
* Index state of the project's repositories (fleet.knowledge.read)
|
|
2680
|
+
*/
|
|
2681
|
+
const projectKnowledgeControllerRepos = (options) => (options.client ?? client_gen_1.client).get({
|
|
2682
|
+
responseStyle: 'data',
|
|
2683
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2684
|
+
url: '/api/projects/{slug}/knowledge/repos',
|
|
2685
|
+
...options
|
|
2686
|
+
});
|
|
2687
|
+
exports.projectKnowledgeControllerRepos = projectKnowledgeControllerRepos;
|
|
2688
|
+
/**
|
|
2689
|
+
* Replace the project's Markdown corpus patterns (fleet.knowledge.patterns.update)
|
|
2690
|
+
*/
|
|
2691
|
+
const projectKnowledgeControllerPatterns = (options) => (options.client ?? client_gen_1.client).put({
|
|
2692
|
+
responseStyle: 'data',
|
|
2693
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2694
|
+
url: '/api/projects/{slug}/knowledge/patterns',
|
|
2695
|
+
...options,
|
|
2696
|
+
headers: {
|
|
2697
|
+
'Content-Type': 'application/json',
|
|
2698
|
+
...options.headers
|
|
2699
|
+
}
|
|
2700
|
+
});
|
|
2701
|
+
exports.projectKnowledgeControllerPatterns = projectKnowledgeControllerPatterns;
|
|
2702
|
+
/**
|
|
2703
|
+
* Queue an index pass (fleet.knowledge.repo.reindex); executed: 202 { queued: true }, pending: 202 approval summary
|
|
2704
|
+
*/
|
|
2705
|
+
const projectKnowledgeControllerReindex = (options) => (options.client ?? client_gen_1.client).post({
|
|
2706
|
+
responseStyle: 'data',
|
|
2707
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2708
|
+
url: '/api/projects/{slug}/knowledge/repos/{repoId}/reindex',
|
|
2709
|
+
...options
|
|
2710
|
+
});
|
|
2711
|
+
exports.projectKnowledgeControllerReindex = projectKnowledgeControllerReindex;
|
|
2712
|
+
/**
|
|
2713
|
+
* Search the project's indexed repository docs (fleet.knowledge.read)
|
|
2714
|
+
*/
|
|
2715
|
+
const projectKnowledgeControllerSearch = (options) => (options.client ?? client_gen_1.client).post({
|
|
2716
|
+
responseStyle: 'data',
|
|
2717
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2718
|
+
url: '/api/projects/{slug}/knowledge/search',
|
|
2719
|
+
...options,
|
|
2720
|
+
headers: {
|
|
2721
|
+
'Content-Type': 'application/json',
|
|
2722
|
+
...options.headers
|
|
2723
|
+
}
|
|
2724
|
+
});
|
|
2725
|
+
exports.projectKnowledgeControllerSearch = projectKnowledgeControllerSearch;
|
|
2726
|
+
/**
|
|
2727
|
+
* Clear the human advance approval for a thread flow
|
|
2728
|
+
*/
|
|
2729
|
+
const threadPreApprovalControllerClear = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2730
|
+
responseStyle: 'data',
|
|
2731
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2732
|
+
url: '/api/projects/{slug}/threads/{id}/preapproval',
|
|
2733
|
+
...options
|
|
2734
|
+
});
|
|
2735
|
+
exports.threadPreApprovalControllerClear = threadPreApprovalControllerClear;
|
|
2736
|
+
/**
|
|
2737
|
+
* Set the human advance approval and cost cap for a thread flow
|
|
2738
|
+
*/
|
|
2739
|
+
const threadPreApprovalControllerSet = (options) => (options.client ?? client_gen_1.client).put({
|
|
2740
|
+
responseStyle: 'data',
|
|
2741
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2742
|
+
url: '/api/projects/{slug}/threads/{id}/preapproval',
|
|
2743
|
+
...options,
|
|
2744
|
+
headers: {
|
|
2745
|
+
'Content-Type': 'application/json',
|
|
2746
|
+
...options.headers
|
|
2747
|
+
}
|
|
2748
|
+
});
|
|
2749
|
+
exports.threadPreApprovalControllerSet = threadPreApprovalControllerSet;
|
|
2750
|
+
/**
|
|
2751
|
+
* Create a fleet flow from a published repository thread (fleet.flow.create)
|
|
2752
|
+
*/
|
|
2753
|
+
const threadFlowsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2754
|
+
responseStyle: 'data',
|
|
2755
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2756
|
+
url: '/api/projects/{slug}/threads/{id}/flows',
|
|
2757
|
+
...options,
|
|
2758
|
+
headers: {
|
|
2759
|
+
'Content-Type': 'application/json',
|
|
2760
|
+
...options.headers
|
|
2761
|
+
}
|
|
2762
|
+
});
|
|
2763
|
+
exports.threadFlowsControllerCreate = threadFlowsControllerCreate;
|
|
2764
|
+
/**
|
|
2765
|
+
* Read a fleet flow in its reachable project (fleet.flow.read)
|
|
2766
|
+
*/
|
|
2767
|
+
const fleetFlowsControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2768
|
+
responseStyle: 'data',
|
|
2769
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2770
|
+
url: '/api/fleet/flows/{flowId}',
|
|
2771
|
+
...options
|
|
2772
|
+
});
|
|
2773
|
+
exports.fleetFlowsControllerGet = fleetFlowsControllerGet;
|
|
2774
|
+
/**
|
|
2775
|
+
* Create a nax fleet flow from verified branch-head specs (fleet.flow.create)
|
|
2776
|
+
*/
|
|
2777
|
+
const fleetFlowsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2778
|
+
responseStyle: 'data',
|
|
2779
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2780
|
+
url: '/api/fleet/flows',
|
|
2781
|
+
...options,
|
|
2782
|
+
headers: {
|
|
2783
|
+
'Content-Type': 'application/json',
|
|
2784
|
+
...options.headers
|
|
2785
|
+
}
|
|
2786
|
+
});
|
|
2787
|
+
exports.fleetFlowsControllerCreate = fleetFlowsControllerCreate;
|
|
2788
|
+
/**
|
|
2789
|
+
* List project flows newest first (fleet.flow.read)
|
|
2790
|
+
*/
|
|
2791
|
+
const projectFlowsControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
2792
|
+
responseStyle: 'data',
|
|
2793
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2794
|
+
url: '/api/projects/{slug}/flows',
|
|
2795
|
+
...options
|
|
2796
|
+
});
|
|
2797
|
+
exports.projectFlowsControllerList = projectFlowsControllerList;
|
|
2798
|
+
/**
|
|
2799
|
+
* Read a project flow (fleet.flow.read)
|
|
2800
|
+
*/
|
|
2801
|
+
const projectFlowsControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2802
|
+
responseStyle: 'data',
|
|
2803
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2804
|
+
url: '/api/projects/{slug}/flows/{flowId}',
|
|
2805
|
+
...options
|
|
2806
|
+
});
|
|
2807
|
+
exports.projectFlowsControllerGet = projectFlowsControllerGet;
|
|
2808
|
+
/**
|
|
2809
|
+
* Stop a fleet flow (fleet.flow.stop)
|
|
2810
|
+
*/
|
|
2811
|
+
const projectFlowsControllerStop = (options) => (options.client ?? client_gen_1.client).post({
|
|
2812
|
+
responseStyle: 'data',
|
|
2813
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2814
|
+
url: '/api/projects/{slug}/flows/{flowId}/stop',
|
|
2815
|
+
...options
|
|
2816
|
+
});
|
|
2817
|
+
exports.projectFlowsControllerStop = projectFlowsControllerStop;
|
|
2818
|
+
/**
|
|
2819
|
+
* Answer a fleet flow review (fleet.flow.answer)
|
|
2820
|
+
*/
|
|
2821
|
+
const projectFlowsControllerAnswer = (options) => (options.client ?? client_gen_1.client).post({
|
|
2822
|
+
responseStyle: 'data',
|
|
2823
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2824
|
+
url: '/api/projects/{slug}/flows/{flowId}/answers',
|
|
2825
|
+
...options,
|
|
2826
|
+
headers: {
|
|
2827
|
+
'Content-Type': 'application/json',
|
|
2828
|
+
...options.headers
|
|
2829
|
+
}
|
|
2830
|
+
});
|
|
2831
|
+
exports.projectFlowsControllerAnswer = projectFlowsControllerAnswer;
|
|
2832
|
+
/**
|
|
2833
|
+
* Read the overview of a project flow (fleet.flow.read)
|
|
2834
|
+
*/
|
|
2835
|
+
const projectFlowOverviewControllerOverview = (options) => (options.client ?? client_gen_1.client).get({
|
|
2836
|
+
responseStyle: 'data',
|
|
2837
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2838
|
+
url: '/api/projects/{slug}/flows/{flowId}/overview',
|
|
2839
|
+
...options
|
|
2840
|
+
});
|
|
2841
|
+
exports.projectFlowOverviewControllerOverview = projectFlowOverviewControllerOverview;
|
|
2842
|
+
/**
|
|
2843
|
+
* Audit entries, newest first; needs the global key audit.read
|
|
2844
|
+
*/
|
|
2845
|
+
const auditControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2846
|
+
responseStyle: 'data',
|
|
2847
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2848
|
+
url: '/api/audit',
|
|
2849
|
+
...options
|
|
2850
|
+
});
|
|
2851
|
+
exports.auditControllerList = auditControllerList;
|
|
2852
|
+
/**
|
|
2853
|
+
* Every audit key that occurs, sorted ascending; needs the global key audit.read
|
|
2854
|
+
*/
|
|
2855
|
+
const auditControllerKeys = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2856
|
+
responseStyle: 'data',
|
|
2857
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2858
|
+
url: '/api/audit/keys',
|
|
2859
|
+
...options
|
|
2860
|
+
});
|
|
2861
|
+
exports.auditControllerKeys = auditControllerKeys;
|
|
2862
|
+
/**
|
|
2863
|
+
* The signed-in user's cross-project dashboard: assigned tickets, pending approvals, attention jobs, projects, recent activity
|
|
2864
|
+
*/
|
|
2865
|
+
const homeControllerGet = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2866
|
+
responseStyle: 'data',
|
|
2867
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2868
|
+
url: '/api/home',
|
|
2869
|
+
...options
|
|
2870
|
+
});
|
|
2871
|
+
exports.homeControllerGet = homeControllerGet;
|
|
2872
|
+
/**
|
|
2873
|
+
* List project invites (invite.read)
|
|
2874
|
+
*/
|
|
2875
|
+
const projectInvitesControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
2876
|
+
responseStyle: 'data',
|
|
2877
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2878
|
+
url: '/api/projects/{slug}/invites',
|
|
2879
|
+
...options
|
|
2880
|
+
});
|
|
2881
|
+
exports.projectInvitesControllerList = projectInvitesControllerList;
|
|
2882
|
+
/**
|
|
2883
|
+
* Add an existing user or invite a new address (invite.create)
|
|
2884
|
+
*/
|
|
2885
|
+
const projectInvitesControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2886
|
+
responseStyle: 'data',
|
|
2887
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2888
|
+
url: '/api/projects/{slug}/invites',
|
|
2889
|
+
...options,
|
|
2890
|
+
headers: {
|
|
2891
|
+
'Content-Type': 'application/json',
|
|
2892
|
+
...options.headers
|
|
2893
|
+
}
|
|
2894
|
+
});
|
|
2895
|
+
exports.projectInvitesControllerCreate = projectInvitesControllerCreate;
|
|
2896
|
+
/**
|
|
2897
|
+
* Rotate a pending invite token and resend the invite email (invite.resend)
|
|
2898
|
+
*/
|
|
2899
|
+
const projectInvitesControllerResend = (options) => (options.client ?? client_gen_1.client).post({
|
|
2900
|
+
responseStyle: 'data',
|
|
2901
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2902
|
+
url: '/api/projects/{slug}/invites/{id}/resend',
|
|
2903
|
+
...options
|
|
2904
|
+
});
|
|
2905
|
+
exports.projectInvitesControllerResend = projectInvitesControllerResend;
|
|
2906
|
+
/**
|
|
2907
|
+
* Cancel a pending invite (invite.cancel)
|
|
2908
|
+
*/
|
|
2909
|
+
const projectInvitesControllerCancel = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2910
|
+
responseStyle: 'data',
|
|
2911
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2912
|
+
url: '/api/projects/{slug}/invites/{id}',
|
|
2913
|
+
...options
|
|
2914
|
+
});
|
|
2915
|
+
exports.projectInvitesControllerCancel = projectInvitesControllerCancel;
|
|
2916
|
+
/**
|
|
2917
|
+
* Preview an invite token (anonymous)
|
|
2918
|
+
*/
|
|
2919
|
+
const publicInvitesControllerPreview = (options) => (options.client ?? client_gen_1.client).get({
|
|
2920
|
+
responseStyle: 'data',
|
|
2921
|
+
url: '/api/invites/{token}',
|
|
2922
|
+
...options
|
|
2923
|
+
});
|
|
2924
|
+
exports.publicInvitesControllerPreview = publicInvitesControllerPreview;
|
|
2925
|
+
/**
|
|
2926
|
+
* Accept an invite, creating the account and issuing a session (anonymous)
|
|
2927
|
+
*/
|
|
2928
|
+
const publicInvitesControllerAccept = (options) => (options.client ?? client_gen_1.client).post({
|
|
2929
|
+
responseStyle: 'data',
|
|
2930
|
+
url: '/api/invites/{token}/accept',
|
|
2931
|
+
...options,
|
|
2932
|
+
headers: {
|
|
2933
|
+
'Content-Type': 'application/json',
|
|
2934
|
+
...options.headers
|
|
2935
|
+
}
|
|
2936
|
+
});
|
|
2937
|
+
exports.publicInvitesControllerAccept = publicInvitesControllerAccept;
|
|
2938
|
+
/**
|
|
2939
|
+
* The role-grantable permission keys with their scope, risk and ownability (role.read)
|
|
2940
|
+
*/
|
|
2941
|
+
const permissionCatalogControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2942
|
+
responseStyle: 'data',
|
|
2943
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2944
|
+
url: '/api/permissions/catalog',
|
|
2945
|
+
...options
|
|
2946
|
+
});
|
|
2947
|
+
exports.permissionCatalogControllerList = permissionCatalogControllerList;
|
|
2948
|
+
/**
|
|
2949
|
+
* List every role, system roles first
|
|
2950
|
+
*/
|
|
2951
|
+
const rolesControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
2952
|
+
responseStyle: 'data',
|
|
2953
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2954
|
+
url: '/api/roles',
|
|
2955
|
+
...options
|
|
2956
|
+
});
|
|
2957
|
+
exports.rolesControllerList = rolesControllerList;
|
|
2958
|
+
/**
|
|
2959
|
+
* Create a role (role.manage)
|
|
2960
|
+
*/
|
|
2961
|
+
const rolesControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
2962
|
+
responseStyle: 'data',
|
|
2963
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2964
|
+
url: '/api/roles',
|
|
2965
|
+
...options,
|
|
2966
|
+
headers: {
|
|
2967
|
+
'Content-Type': 'application/json',
|
|
2968
|
+
...options.headers
|
|
2969
|
+
}
|
|
2970
|
+
});
|
|
2971
|
+
exports.rolesControllerCreate = rolesControllerCreate;
|
|
2972
|
+
/**
|
|
2973
|
+
* Delete a role no binding uses (role.manage)
|
|
2974
|
+
*/
|
|
2975
|
+
const rolesControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
2976
|
+
responseStyle: 'data',
|
|
2977
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2978
|
+
url: '/api/roles/{id}',
|
|
2979
|
+
...options
|
|
2980
|
+
});
|
|
2981
|
+
exports.rolesControllerRemove = rolesControllerRemove;
|
|
2982
|
+
/**
|
|
2983
|
+
* Change a role's name, description or permissions (role.manage)
|
|
2984
|
+
*/
|
|
2985
|
+
const rolesControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
2986
|
+
responseStyle: 'data',
|
|
2987
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2988
|
+
url: '/api/roles/{id}',
|
|
2989
|
+
...options,
|
|
2990
|
+
headers: {
|
|
2991
|
+
'Content-Type': 'application/json',
|
|
2992
|
+
...options.headers
|
|
2993
|
+
}
|
|
2994
|
+
});
|
|
2995
|
+
exports.rolesControllerUpdate = rolesControllerUpdate;
|
|
2996
|
+
/**
|
|
2997
|
+
* List role bindings, optionally for one principal, one principal type, one project or the global scope (role.read)
|
|
2998
|
+
*/
|
|
2999
|
+
const roleBindingsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
3000
|
+
responseStyle: 'data',
|
|
3001
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3002
|
+
url: '/api/role-bindings',
|
|
3003
|
+
...options
|
|
3004
|
+
});
|
|
3005
|
+
exports.roleBindingsControllerList = roleBindingsControllerList;
|
|
3006
|
+
/**
|
|
3007
|
+
* Grant a role to a principal (role.binding.global or role.binding.manage, plus role.binding.owner for the owner role)
|
|
3008
|
+
*/
|
|
3009
|
+
const roleBindingsControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
3010
|
+
responseStyle: 'data',
|
|
3011
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3012
|
+
url: '/api/role-bindings',
|
|
3013
|
+
...options,
|
|
3014
|
+
headers: {
|
|
3015
|
+
'Content-Type': 'application/json',
|
|
3016
|
+
...options.headers
|
|
3017
|
+
}
|
|
3018
|
+
});
|
|
3019
|
+
exports.roleBindingsControllerCreate = roleBindingsControllerCreate;
|
|
3020
|
+
/**
|
|
3021
|
+
* Remove a binding, authorised from the stored row (role.binding.global or role.binding.manage, plus role.binding.owner for the owner role)
|
|
3022
|
+
*/
|
|
3023
|
+
const roleBindingsControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3024
|
+
responseStyle: 'data',
|
|
3025
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3026
|
+
url: '/api/role-bindings/{id}',
|
|
3027
|
+
...options
|
|
3028
|
+
});
|
|
3029
|
+
exports.roleBindingsControllerRemove = roleBindingsControllerRemove;
|
|
3030
|
+
/**
|
|
3031
|
+
* List visible approval requests
|
|
3032
|
+
*/
|
|
3033
|
+
const approvalRequestsControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
3034
|
+
responseStyle: 'data',
|
|
3035
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3036
|
+
url: '/api/approvals',
|
|
3037
|
+
...options
|
|
3038
|
+
});
|
|
3039
|
+
exports.approvalRequestsControllerList = approvalRequestsControllerList;
|
|
3040
|
+
/**
|
|
3041
|
+
* Count visible pending approval requests
|
|
3042
|
+
*/
|
|
3043
|
+
const approvalRequestsControllerCounts = (options) => (options?.client ?? client_gen_1.client).get({
|
|
3044
|
+
responseStyle: 'data',
|
|
3045
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3046
|
+
url: '/api/approvals/counts',
|
|
3047
|
+
...options
|
|
3048
|
+
});
|
|
3049
|
+
exports.approvalRequestsControllerCounts = approvalRequestsControllerCounts;
|
|
3050
|
+
/**
|
|
3051
|
+
* Read a visible approval request and its decisions
|
|
3052
|
+
*/
|
|
3053
|
+
const approvalRequestsControllerGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
3054
|
+
responseStyle: 'data',
|
|
3055
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3056
|
+
url: '/api/approvals/{id}',
|
|
3057
|
+
...options
|
|
3058
|
+
});
|
|
3059
|
+
exports.approvalRequestsControllerGet = approvalRequestsControllerGet;
|
|
3060
|
+
/**
|
|
3061
|
+
* Decide a visible approval request
|
|
3062
|
+
*/
|
|
3063
|
+
const approvalRequestsControllerDecide = (options) => (options.client ?? client_gen_1.client).post({
|
|
3064
|
+
responseStyle: 'data',
|
|
3065
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3066
|
+
url: '/api/approvals/{id}/decisions',
|
|
3067
|
+
...options,
|
|
3068
|
+
headers: {
|
|
3069
|
+
'Content-Type': 'application/json',
|
|
3070
|
+
...options.headers
|
|
3071
|
+
}
|
|
3072
|
+
});
|
|
3073
|
+
exports.approvalRequestsControllerDecide = approvalRequestsControllerDecide;
|
|
3074
|
+
/**
|
|
3075
|
+
* Cancel your own pending approval request
|
|
3076
|
+
*/
|
|
3077
|
+
const approvalRequestsControllerCancel = (options) => (options.client ?? client_gen_1.client).post({
|
|
3078
|
+
responseStyle: 'data',
|
|
3079
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3080
|
+
url: '/api/approvals/{id}/cancel',
|
|
3081
|
+
...options
|
|
3082
|
+
});
|
|
3083
|
+
exports.approvalRequestsControllerCancel = approvalRequestsControllerCancel;
|
|
3084
|
+
/**
|
|
3085
|
+
* List global approval policies
|
|
3086
|
+
*/
|
|
3087
|
+
const approvalPoliciesControllerList = (options) => (options?.client ?? client_gen_1.client).get({
|
|
3088
|
+
responseStyle: 'data',
|
|
3089
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3090
|
+
url: '/api/approval-policies',
|
|
3091
|
+
...options
|
|
3092
|
+
});
|
|
3093
|
+
exports.approvalPoliciesControllerList = approvalPoliciesControllerList;
|
|
3094
|
+
/**
|
|
3095
|
+
* Create a global approval policy
|
|
3096
|
+
*/
|
|
3097
|
+
const approvalPoliciesControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
3098
|
+
responseStyle: 'data',
|
|
3099
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3100
|
+
url: '/api/approval-policies',
|
|
3101
|
+
...options,
|
|
3102
|
+
headers: {
|
|
3103
|
+
'Content-Type': 'application/json',
|
|
3104
|
+
...options.headers
|
|
3105
|
+
}
|
|
3106
|
+
});
|
|
3107
|
+
exports.approvalPoliciesControllerCreate = approvalPoliciesControllerCreate;
|
|
3108
|
+
/**
|
|
3109
|
+
* List approvable permission keys
|
|
3110
|
+
*/
|
|
3111
|
+
const approvalPoliciesControllerKeys = (options) => (options?.client ?? client_gen_1.client).get({
|
|
3112
|
+
responseStyle: 'data',
|
|
3113
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3114
|
+
url: '/api/approval-policies/keys',
|
|
3115
|
+
...options
|
|
3116
|
+
});
|
|
3117
|
+
exports.approvalPoliciesControllerKeys = approvalPoliciesControllerKeys;
|
|
3118
|
+
/**
|
|
3119
|
+
* Delete a global approval policy
|
|
3120
|
+
*/
|
|
3121
|
+
const approvalPoliciesControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3122
|
+
responseStyle: 'data',
|
|
3123
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3124
|
+
url: '/api/approval-policies/{id}',
|
|
3125
|
+
...options
|
|
3126
|
+
});
|
|
3127
|
+
exports.approvalPoliciesControllerRemove = approvalPoliciesControllerRemove;
|
|
3128
|
+
/**
|
|
3129
|
+
* Update a global approval policy
|
|
3130
|
+
*/
|
|
3131
|
+
const approvalPoliciesControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
3132
|
+
responseStyle: 'data',
|
|
3133
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3134
|
+
url: '/api/approval-policies/{id}',
|
|
3135
|
+
...options,
|
|
3136
|
+
headers: {
|
|
3137
|
+
'Content-Type': 'application/json',
|
|
3138
|
+
...options.headers
|
|
3139
|
+
}
|
|
3140
|
+
});
|
|
3141
|
+
exports.approvalPoliciesControllerUpdate = approvalPoliciesControllerUpdate;
|
|
3142
|
+
/**
|
|
3143
|
+
* List project and inherited global approval policies
|
|
3144
|
+
*/
|
|
3145
|
+
const projectApprovalPoliciesControllerList = (options) => (options.client ?? client_gen_1.client).get({
|
|
3146
|
+
responseStyle: 'data',
|
|
3147
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3148
|
+
url: '/api/projects/{slug}/approval-policies',
|
|
3149
|
+
...options
|
|
3150
|
+
});
|
|
3151
|
+
exports.projectApprovalPoliciesControllerList = projectApprovalPoliciesControllerList;
|
|
3152
|
+
/**
|
|
3153
|
+
* Create a project approval policy
|
|
3154
|
+
*/
|
|
3155
|
+
const projectApprovalPoliciesControllerCreate = (options) => (options.client ?? client_gen_1.client).post({
|
|
3156
|
+
responseStyle: 'data',
|
|
3157
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3158
|
+
url: '/api/projects/{slug}/approval-policies',
|
|
3159
|
+
...options,
|
|
3160
|
+
headers: {
|
|
3161
|
+
'Content-Type': 'application/json',
|
|
3162
|
+
...options.headers
|
|
3163
|
+
}
|
|
3164
|
+
});
|
|
3165
|
+
exports.projectApprovalPoliciesControllerCreate = projectApprovalPoliciesControllerCreate;
|
|
3166
|
+
/**
|
|
3167
|
+
* List approvable permission keys for this project
|
|
3168
|
+
*/
|
|
3169
|
+
const projectApprovalPoliciesControllerKeys = (options) => (options.client ?? client_gen_1.client).get({
|
|
3170
|
+
responseStyle: 'data',
|
|
3171
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3172
|
+
url: '/api/projects/{slug}/approval-policies/keys',
|
|
3173
|
+
...options
|
|
3174
|
+
});
|
|
3175
|
+
exports.projectApprovalPoliciesControllerKeys = projectApprovalPoliciesControllerKeys;
|
|
3176
|
+
/**
|
|
3177
|
+
* Delete a project approval policy
|
|
3178
|
+
*/
|
|
3179
|
+
const projectApprovalPoliciesControllerRemove = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3180
|
+
responseStyle: 'data',
|
|
3181
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3182
|
+
url: '/api/projects/{slug}/approval-policies/{id}',
|
|
3183
|
+
...options
|
|
3184
|
+
});
|
|
3185
|
+
exports.projectApprovalPoliciesControllerRemove = projectApprovalPoliciesControllerRemove;
|
|
3186
|
+
/**
|
|
3187
|
+
* Update a project approval policy
|
|
3188
|
+
*/
|
|
3189
|
+
const projectApprovalPoliciesControllerUpdate = (options) => (options.client ?? client_gen_1.client).patch({
|
|
3190
|
+
responseStyle: 'data',
|
|
3191
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3192
|
+
url: '/api/projects/{slug}/approval-policies/{id}',
|
|
3193
|
+
...options,
|
|
3194
|
+
headers: {
|
|
3195
|
+
'Content-Type': 'application/json',
|
|
3196
|
+
...options.headers
|
|
3197
|
+
}
|
|
3198
|
+
});
|
|
3199
|
+
exports.projectApprovalPoliciesControllerUpdate = projectApprovalPoliciesControllerUpdate;
|
|
3200
|
+
//# sourceMappingURL=sdk.gen.js.map
|