@lessly/sdk-app 120.1.0 → 120.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -12
- package/dist/_types/gen/client.gen.d.ts +2 -1
- package/dist/_types/gen/deployment/index.d.ts +1 -1
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +5 -1
- package/dist/_types/gen/types.gen.d.ts +26 -3
- package/dist/{chunk-5PHFW35P.js → chunk-3QRFL3AM.js} +19 -2
- package/dist/chunk-3QRFL3AM.js.map +1 -0
- package/dist/deployment/index.cjs +5 -0
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.js +5 -1
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +18 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +17 -0
- package/src/gen/client.gen.ts +3 -0
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +6 -0
- package/src/gen/manifest.gen.ts +1 -0
- package/src/gen/types.gen.ts +28 -3
- package/dist/chunk-5PHFW35P.js.map +0 -1
package/dist/playground/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
3
|
"description": "The Lessly SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lessly Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lessly platform services with full type safety and autocompletion.",
|
|
4
|
-
"version": "120.
|
|
4
|
+
"version": "120.2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lepsto/lepsto-sdk-app.git"
|
|
@@ -220,5 +220,5 @@
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
|
-
"sdkContentHash": "sha256:
|
|
223
|
+
"sdkContentHash": "sha256:74238fcca5deacef0dee3f14f9c6138fa594f15291cf060e4436372865c81a45"
|
|
224
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -3414,6 +3414,23 @@ export const bindings: BindingsMap = {
|
|
|
3414
3414
|
}
|
|
3415
3415
|
},
|
|
3416
3416
|
"job-run": {
|
|
3417
|
+
"cancel": {
|
|
3418
|
+
"level": "write",
|
|
3419
|
+
"method": "POST",
|
|
3420
|
+
"operationKey": "deployment_job_run_cancel",
|
|
3421
|
+
"params": [
|
|
3422
|
+
{
|
|
3423
|
+
"in": "path",
|
|
3424
|
+
"name": "serviceId"
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"in": "path",
|
|
3428
|
+
"name": "runId"
|
|
3429
|
+
}
|
|
3430
|
+
],
|
|
3431
|
+
"path": "/deployment/services/:serviceId/runs/:runId/cancel",
|
|
3432
|
+
"readOnly": false
|
|
3433
|
+
},
|
|
3417
3434
|
"logs": {
|
|
3418
3435
|
"level": "read",
|
|
3419
3436
|
"method": "GET",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -339,6 +339,8 @@ import type {
|
|
|
339
339
|
DeploymentEventsListByEnvironmentOutput,
|
|
340
340
|
DeploymentEventsListByServiceInput,
|
|
341
341
|
DeploymentEventsListByServiceOutput,
|
|
342
|
+
DeploymentJobRunCancelInput,
|
|
343
|
+
DeploymentJobRunCancelOutput,
|
|
342
344
|
DeploymentJobRunInput,
|
|
343
345
|
DeploymentJobRunLogsInput,
|
|
344
346
|
DeploymentJobRunLogsOutput,
|
|
@@ -1628,6 +1630,7 @@ export interface GeneratedClient {
|
|
|
1628
1630
|
run: ((input: DeploymentJobRunInput) => Promise<DeploymentJobRunOutput>) & Operation;
|
|
1629
1631
|
};
|
|
1630
1632
|
'job-run': {
|
|
1633
|
+
cancel: ((input: DeploymentJobRunCancelInput) => Promise<DeploymentJobRunCancelOutput>) & Operation;
|
|
1631
1634
|
logs: ((input: DeploymentJobRunLogsInput) => Promise<DeploymentJobRunLogsOutput>) & Operation;
|
|
1632
1635
|
};
|
|
1633
1636
|
'job-runs': {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectSetInput, DeploymentDomainRedirectSetOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentResourcePresetsListInput, DeploymentResourcePresetsListOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshBastionGetInput, DeploymentSshBastionGetOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentStaticDeployInput, DeploymentStaticDeployOutput, DeploymentStaticUploadCreateInput, DeploymentStaticUploadCreateOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
|
|
3
|
+
export type { DeploymentAlertCreateInput, DeploymentAlertCreateOutput, DeploymentAlertDeleteInput, DeploymentAlertDeleteOutput, DeploymentAlertEventsListInput, DeploymentAlertEventsListOutput, DeploymentAlertListInput, DeploymentAlertListOutput, DeploymentAlertUpdateInput, DeploymentAlertUpdateOutput, DeploymentAnalyticsQueryInput, DeploymentAnalyticsQueryOutput, DeploymentBuildGetInput, DeploymentBuildGetOutput, DeploymentBuildListInput, DeploymentBuildListOutput, DeploymentBuildLogsInput, DeploymentBuildLogsOutput, DeploymentCanvasGetInput, DeploymentCanvasGetOutput, DeploymentCanvasMoveNodeInput, DeploymentCanvasMoveNodeOutput, DeploymentCloudSqlBackfillLogFlagsInput, DeploymentCloudSqlBackfillLogFlagsOutput, DeploymentCloudSqlDatabaseAttachInput, DeploymentCloudSqlDatabaseAttachOutput, DeploymentCloudSqlDatabaseCreateInput, DeploymentCloudSqlDatabaseCreateOutput, DeploymentCloudSqlDatabaseDeleteInput, DeploymentCloudSqlDatabaseDeleteOutput, DeploymentCloudSqlDatabaseDetachInput, DeploymentCloudSqlDatabaseDetachOutput, DeploymentCloudSqlDatabaseGetInput, DeploymentCloudSqlDatabaseGetOutput, DeploymentCloudSqlDatabaseListInput, DeploymentCloudSqlDatabaseListOutput, DeploymentCloudSqlInstanceBackupInput, DeploymentCloudSqlInstanceBackupListInput, DeploymentCloudSqlInstanceBackupListOutput, DeploymentCloudSqlInstanceBackupOutput, DeploymentCloudSqlInstanceCreateInput, DeploymentCloudSqlInstanceCreateOutput, DeploymentCloudSqlInstanceDeleteInput, DeploymentCloudSqlInstanceDeleteOutput, DeploymentCloudSqlInstanceGetInput, DeploymentCloudSqlInstanceGetOutput, DeploymentCloudSqlInstanceListInput, DeploymentCloudSqlInstanceListOutput, DeploymentCloudSqlInstanceResizeInput, DeploymentCloudSqlInstanceResizeOutput, DeploymentCloudSqlInstanceRestoreInput, DeploymentCloudSqlInstanceRestoreOutput, DeploymentCloudSqlLogsInput, DeploymentCloudSqlLogsOutput, DeploymentDeploymentCancelInput, DeploymentDeploymentCancelOutput, DeploymentDeploymentGetInput, DeploymentDeploymentGetOutput, DeploymentDeploymentListInput, DeploymentDeploymentListOutput, DeploymentDomainAddInput, DeploymentDomainAddOutput, DeploymentDomainAllowedListInput, DeploymentDomainAllowedListOutput, DeploymentDomainGetInput, DeploymentDomainGetOutput, DeploymentDomainListByServiceInput, DeploymentDomainListByServiceOutput, DeploymentDomainListInput, DeploymentDomainListOutput, DeploymentDomainRedirectSetInput, DeploymentDomainRedirectSetOutput, DeploymentDomainRedirectWwwInput, DeploymentDomainRedirectWwwOutput, DeploymentDomainRemoveInput, DeploymentDomainRemoveOutput, DeploymentDomainRoutesAddInput, DeploymentDomainRoutesAddOutput, DeploymentDomainRoutesListInput, DeploymentDomainRoutesListOutput, DeploymentDomainRoutesRemoveInput, DeploymentDomainRoutesRemoveOutput, DeploymentDomainRoutesUpdateInput, DeploymentDomainRoutesUpdateOutput, DeploymentDomainVerifyInput, DeploymentDomainVerifyOutput, DeploymentEnvironmentCreateInput, DeploymentEnvironmentCreateOutput, DeploymentEnvironmentDeleteInput, DeploymentEnvironmentDeleteOutput, DeploymentEnvironmentForkInput, DeploymentEnvironmentForkOutput, DeploymentEnvironmentGetInput, DeploymentEnvironmentGetOutput, DeploymentEnvironmentListInput, DeploymentEnvironmentListOutput, DeploymentEnvironmentReconcileInput, DeploymentEnvironmentReconcileOutput, DeploymentEnvironmentUpdateInput, DeploymentEnvironmentUpdateOutput, DeploymentEventsListByEnvironmentInput, DeploymentEventsListByEnvironmentOutput, DeploymentEventsListByServiceInput, DeploymentEventsListByServiceOutput, DeploymentJobRunCancelInput, DeploymentJobRunCancelOutput, DeploymentJobRunInput, DeploymentJobRunLogsInput, DeploymentJobRunLogsOutput, DeploymentJobRunOutput, DeploymentJobRunsListInput, DeploymentJobRunsListOutput, DeploymentManagedServiceBackupInput, DeploymentManagedServiceBackupListInput, DeploymentManagedServiceBackupListOutput, DeploymentManagedServiceBackupOutput, DeploymentManagedServiceConnectInfoInput, DeploymentManagedServiceConnectInfoOutput, DeploymentManagedServiceDeleteInput, DeploymentManagedServiceDeleteOutput, DeploymentManagedServiceGetInput, DeploymentManagedServiceGetOutput, DeploymentManagedServiceListInput, DeploymentManagedServiceListOutput, DeploymentManagedServiceLogsInput, DeploymentManagedServiceLogsOutput, DeploymentManagedServiceProvisionInput, DeploymentManagedServiceProvisionOutput, DeploymentManagedServiceReconcileInput, DeploymentManagedServiceReconcileOutput, DeploymentManagedServiceResizeInput, DeploymentManagedServiceResizeOutput, DeploymentManagedServiceRestoreInput, DeploymentManagedServiceRestoreOutput, DeploymentManagedServiceStartInput, DeploymentManagedServiceStartOutput, DeploymentManagedServiceStopInput, DeploymentManagedServiceStopOutput, DeploymentManagedServiceTypesInput, DeploymentManagedServiceTypesOutput, DeploymentMetricsGetInput, DeploymentMetricsGetOutput, DeploymentPreviewEnvironmentCreateInput, DeploymentPreviewEnvironmentCreateOutput, DeploymentPreviewEnvironmentDeleteInput, DeploymentPreviewEnvironmentDeleteOutput, DeploymentPreviewEnvironmentListInput, DeploymentPreviewEnvironmentListOutput, DeploymentPreviewPolicyGetInput, DeploymentPreviewPolicyGetOutput, DeploymentPreviewPolicySetInput, DeploymentPreviewPolicySetOutput, DeploymentResourcePresetsListInput, DeploymentResourcePresetsListOutput, DeploymentServiceCreateInput, DeploymentServiceCreateOutput, DeploymentServiceDeleteInput, DeploymentServiceDeleteOutput, DeploymentServiceExecInput, DeploymentServiceExecOutput, DeploymentServiceGetInput, DeploymentServiceGetOutput, DeploymentServiceListInput, DeploymentServiceListOutput, DeploymentServiceLogsInput, DeploymentServiceLogsOutput, DeploymentServiceRedeployInput, DeploymentServiceRedeployOutput, DeploymentServiceRestartInput, DeploymentServiceRestartOutput, DeploymentServiceRollbackInput, DeploymentServiceRollbackOutput, DeploymentServiceScaleInput, DeploymentServiceScaleOutput, DeploymentServiceUpdateInput, DeploymentServiceUpdateOutput, DeploymentServiceWakeInput, DeploymentServiceWakeOutput, DeploymentSshBastionGetInput, DeploymentSshBastionGetOutput, DeploymentSshCommandInput, DeploymentSshCommandOutput, DeploymentSshKeyDeleteInput, DeploymentSshKeyDeleteOutput, DeploymentSshKeyListInput, DeploymentSshKeyListOutput, DeploymentSshKeyRegisterInput, DeploymentSshKeyRegisterOutput, DeploymentStaticDeployInput, DeploymentStaticDeployOutput, DeploymentStaticUploadCreateInput, DeploymentStaticUploadCreateOutput, DeploymentSuspensionGetInput, DeploymentSuspensionGetOutput, DeploymentVariableListEnvInput, DeploymentVariableListEnvOutput, DeploymentVariableListInput, DeploymentVariableListOutput, DeploymentVariableListProductInput, DeploymentVariableListProductOutput, DeploymentVariableSetEnvInput, DeploymentVariableSetEnvOutput, DeploymentVariableSetInput, DeploymentVariableSetOutput, DeploymentVariableSetProductInput, DeploymentVariableSetProductOutput, DeploymentVariableUnsetEnvInput, DeploymentVariableUnsetEnvOutput, DeploymentVariableUnsetInput, DeploymentVariableUnsetOutput, DeploymentVariableUnsetProductInput, DeploymentVariableUnsetProductOutput, DeploymentVcsBranchListInput, DeploymentVcsBranchListOutput, DeploymentVcsConnectionListInput, DeploymentVcsConnectionListOutput, DeploymentVcsRepoListInput, DeploymentVcsRepoListOutput, DeploymentVolumeCreateInput, DeploymentVolumeCreateOutput, DeploymentVolumeDeleteInput, DeploymentVolumeDeleteOutput, DeploymentVolumeDetachInput, DeploymentVolumeDetachOutput, DeploymentVolumeGetInput, DeploymentVolumeGetOutput, DeploymentVolumeListInput, DeploymentVolumeListOutput, DeploymentVolumeResizeInput, DeploymentVolumeResizeOutput } from '../types.gen';
|
|
@@ -77,6 +77,7 @@ import type {
|
|
|
77
77
|
DeploymentEventsListByEnvironmentOutput,
|
|
78
78
|
DeploymentEventsListByServiceInput,
|
|
79
79
|
DeploymentEventsListByServiceOutput,
|
|
80
|
+
DeploymentJobRunCancelInput,
|
|
80
81
|
DeploymentJobRunInput,
|
|
81
82
|
DeploymentJobRunLogsInput,
|
|
82
83
|
DeploymentJobRunLogsOutput,
|
|
@@ -433,6 +434,11 @@ export const deploymentJobRunMutationOptions = (sdk: GeneratedClient) => ({
|
|
|
433
434
|
mutationFn: (input: DeploymentJobRunInput) => sdk['deployment']['job']['run'](input),
|
|
434
435
|
});
|
|
435
436
|
|
|
437
|
+
export const deploymentJobRunCancelMutationOptions = (sdk: GeneratedClient) => ({
|
|
438
|
+
mutationKey: ['deployment', 'job-run', 'cancel'],
|
|
439
|
+
mutationFn: (input: DeploymentJobRunCancelInput) => sdk['deployment']['job-run']['cancel'](input),
|
|
440
|
+
});
|
|
441
|
+
|
|
436
442
|
export const deploymentJobRunLogsQueryOptions = (sdk: GeneratedClient, input: DeploymentJobRunLogsInput) => ({
|
|
437
443
|
queryKey: ['deployment', 'job-run', 'logs', input] as const,
|
|
438
444
|
queryFn: () => sdk['deployment']['job-run']['logs'](input),
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -174,6 +174,7 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
174
174
|
'deployment_events_list_by_environment': 'read',
|
|
175
175
|
'deployment_events_list_by_service': 'read',
|
|
176
176
|
'deployment_job_run': 'write',
|
|
177
|
+
'deployment_job_run_cancel': 'write',
|
|
177
178
|
'deployment_job_run_logs': 'read',
|
|
178
179
|
'deployment_job_runs_list': 'read',
|
|
179
180
|
'deployment_managed_service_backup': 'write',
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -363439,7 +363439,7 @@ serviceId: string
|
|
|
363439
363439
|
|
|
363440
363440
|
export interface DeploymentJobRunOutput {
|
|
363441
363441
|
id: string
|
|
363442
|
-
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
363442
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
|
|
363443
363443
|
trigger: ("schedule" | "manual")
|
|
363444
363444
|
exitCode: (number | null)
|
|
363445
363445
|
createdAt: string
|
|
@@ -363447,6 +363447,30 @@ serviceId: string
|
|
|
363447
363447
|
startedAt: (string | null)
|
|
363448
363448
|
finishedAt: (string | null)
|
|
363449
363449
|
k8sJobName: string
|
|
363450
|
+
cancelledBy: (string | null)
|
|
363451
|
+
imageDigest: (string | null)
|
|
363452
|
+
triggeredBy: (string | null)
|
|
363453
|
+
deploymentId: (string | null)
|
|
363454
|
+
environmentId: string
|
|
363455
|
+
failureReason: (string | null)
|
|
363456
|
+
}
|
|
363457
|
+
|
|
363458
|
+
export interface DeploymentJobRunCancelInput {
|
|
363459
|
+
runId: string
|
|
363460
|
+
serviceId: string
|
|
363461
|
+
}
|
|
363462
|
+
|
|
363463
|
+
export interface DeploymentJobRunCancelOutput {
|
|
363464
|
+
id: string
|
|
363465
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
|
|
363466
|
+
trigger: ("schedule" | "manual")
|
|
363467
|
+
exitCode: (number | null)
|
|
363468
|
+
createdAt: string
|
|
363469
|
+
serviceId: string
|
|
363470
|
+
startedAt: (string | null)
|
|
363471
|
+
finishedAt: (string | null)
|
|
363472
|
+
k8sJobName: string
|
|
363473
|
+
cancelledBy: (string | null)
|
|
363450
363474
|
imageDigest: (string | null)
|
|
363451
363475
|
triggeredBy: (string | null)
|
|
363452
363476
|
deploymentId: (string | null)
|
|
@@ -363462,7 +363486,7 @@ serviceId: string
|
|
|
363462
363486
|
export interface DeploymentJobRunLogsOutput {
|
|
363463
363487
|
live: boolean
|
|
363464
363488
|
logs: string
|
|
363465
|
-
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
363489
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
|
|
363466
363490
|
}
|
|
363467
363491
|
|
|
363468
363492
|
export interface DeploymentJobRunsListInput {
|
|
@@ -363474,7 +363498,7 @@ serviceId: string
|
|
|
363474
363498
|
export interface DeploymentJobRunsListOutput {
|
|
363475
363499
|
items: {
|
|
363476
363500
|
id: string
|
|
363477
|
-
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped")
|
|
363501
|
+
status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Skipped" | "Cancelled")
|
|
363478
363502
|
trigger: ("schedule" | "manual")
|
|
363479
363503
|
exitCode: (number | null)
|
|
363480
363504
|
createdAt: string
|
|
@@ -363482,6 +363506,7 @@ serviceId: string
|
|
|
363482
363506
|
startedAt: (string | null)
|
|
363483
363507
|
finishedAt: (string | null)
|
|
363484
363508
|
k8sJobName: string
|
|
363509
|
+
cancelledBy: (string | null)
|
|
363485
363510
|
imageDigest: (string | null)
|
|
363486
363511
|
triggeredBy: (string | null)
|
|
363487
363512
|
deploymentId: (string | null)
|