@lessly/sdk-app 119.0.0 → 120.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { wsBindings } from '../chunk-LH7IJHII.js';
1
+ import { wsBindings } from '../chunk-5PHFW35P.js';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
4
  var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
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": "119.0.0",
4
+ "version": "120.1.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:11e7cf849ec58d96c9085a104115d502cf264b24e225edb39930dfa40e1db6c7"
223
+ "sdkContentHash": "sha256:7a45148fc88fc0648a4f20f074f852cbeeacff531a6cf9c0a4efd31cc0d36a76"
224
224
  }
@@ -3783,6 +3783,15 @@ export const bindings: BindingsMap = {
3783
3783
  "readOnly": false
3784
3784
  }
3785
3785
  },
3786
+ "resource-presets": {
3787
+ "list": {
3788
+ "level": "read",
3789
+ "method": "GET",
3790
+ "operationKey": "deployment_resource_presets_list",
3791
+ "path": "/deployment/resource-presets",
3792
+ "readOnly": true
3793
+ }
3794
+ },
3786
3795
  "service": {
3787
3796
  "create": {
3788
3797
  "level": "write",
@@ -385,6 +385,8 @@ import type {
385
385
  DeploymentPreviewPolicyGetOutput,
386
386
  DeploymentPreviewPolicySetInput,
387
387
  DeploymentPreviewPolicySetOutput,
388
+ DeploymentResourcePresetsListInput,
389
+ DeploymentResourcePresetsListOutput,
388
390
  DeploymentServiceCreateInput,
389
391
  DeploymentServiceCreateOutput,
390
392
  DeploymentServiceDeleteInput,
@@ -1663,6 +1665,9 @@ export interface GeneratedClient {
1663
1665
  get: ((input: DeploymentPreviewPolicyGetInput) => Promise<DeploymentPreviewPolicyGetOutput>) & Operation;
1664
1666
  set: ((input: DeploymentPreviewPolicySetInput) => Promise<DeploymentPreviewPolicySetOutput>) & Operation;
1665
1667
  };
1668
+ 'resource-presets': {
1669
+ list: ((input: DeploymentResourcePresetsListInput) => Promise<DeploymentResourcePresetsListOutput>) & Operation;
1670
+ };
1666
1671
  service: {
1667
1672
  create: ((input: DeploymentServiceCreateInput) => Promise<DeploymentServiceCreateOutput>) & Operation;
1668
1673
  delete: ((input: DeploymentServiceDeleteInput) => Promise<DeploymentServiceDeleteOutput>) & Operation;
@@ -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, 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, 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';
@@ -111,6 +111,8 @@ import type {
111
111
  DeploymentPreviewPolicyGetInput,
112
112
  DeploymentPreviewPolicyGetOutput,
113
113
  DeploymentPreviewPolicySetInput,
114
+ DeploymentResourcePresetsListInput,
115
+ DeploymentResourcePresetsListOutput,
114
116
  DeploymentServiceCreateInput,
115
117
  DeploymentServiceDeleteInput,
116
118
  DeploymentServiceExecInput,
@@ -541,6 +543,11 @@ export const deploymentPreviewPolicySetMutationOptions = (sdk: GeneratedClient)
541
543
  mutationFn: (input: DeploymentPreviewPolicySetInput) => sdk['deployment']['preview-policy']['set'](input),
542
544
  });
543
545
 
546
+ export const deploymentResourcePresetsListQueryOptions = (sdk: GeneratedClient, input: DeploymentResourcePresetsListInput) => ({
547
+ queryKey: ['deployment', 'resource-presets', 'list', input] as const,
548
+ queryFn: () => sdk['deployment']['resource-presets']['list'](input),
549
+ });
550
+
544
551
  export const deploymentServiceCreateMutationOptions = (sdk: GeneratedClient) => ({
545
552
  mutationKey: ['deployment', 'service', 'create'],
546
553
  mutationFn: (input: DeploymentServiceCreateInput) => sdk['deployment']['service']['create'](input),
@@ -196,6 +196,7 @@ export const operations: Record<string, ToolLevel> = {
196
196
  'deployment_preview_environment_list': 'read',
197
197
  'deployment_preview_policy_get': 'read',
198
198
  'deployment_preview_policy_set': 'admin',
199
+ 'deployment_resource_presets_list': 'read',
199
200
  'deployment_service_create': 'write',
200
201
  'deployment_service_delete': 'admin',
201
202
  'deployment_service_exec': 'admin',
@@ -362151,6 +362151,27 @@ id: string
362151
362151
  mode?: string
362152
362152
  name: string
362153
362153
  slug: string
362154
+ /**
362155
+ * Memory of the running version. Absent for static sites and when it could not be read.
362156
+ */
362157
+ memory?: {
362158
+ /**
362159
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
362160
+ */
362161
+ reason: (string | null)
362162
+ /**
362163
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
362164
+ */
362165
+ peakWindow: string
362166
+ /**
362167
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
362168
+ */
362169
+ peak7dBytes: (number | null)
362170
+ /**
362171
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
362172
+ */
362173
+ reservedBytes: (number | null)
362174
+ }
362154
362175
  probes: {
362155
362176
  startup?: {
362156
362177
  path: string
@@ -363368,7 +363389,7 @@ baseEnvironmentId: (string | null)
363368
363389
  }
363369
363390
 
363370
363391
  export interface DeploymentEventsListByEnvironmentInput {
363371
- type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363392
+ type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363372
363393
  limit?: number
363373
363394
  since?: string
363374
363395
  until?: string
@@ -363377,7 +363398,7 @@ environmentId: string
363377
363398
 
363378
363399
  export type DeploymentEventsListByEnvironmentOutput = {
363379
363400
  id: string
363380
- type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363401
+ type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363381
363402
  payload: {
363382
363403
  [k: string]: unknown
363383
363404
  }
@@ -363390,7 +363411,7 @@ environmentId: (string | null)
363390
363411
  }[]
363391
363412
 
363392
363413
  export interface DeploymentEventsListByServiceInput {
363393
- type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363414
+ type?: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363394
363415
  limit?: number
363395
363416
  since?: string
363396
363417
  until?: string
@@ -363400,7 +363421,7 @@ deploymentId?: string
363400
363421
 
363401
363422
  export type DeploymentEventsListByServiceOutput = {
363402
363423
  id: string
363403
- type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363424
+ type: ("deployment.queued" | "deployment.build.started" | "deployment.build.succeeded" | "deployment.build.failed" | "deployment.deploying" | "deployment.variable.ignored" | "deployment.healthcheck.passed" | "deployment.healthcheck.failed" | "deployment.healthy" | "deployment.failed" | "deployment.replaced" | "deployment.rolled_back" | "deployment.sourcemaps.uploaded" | "deployment.sourcemaps.upload-failed" | "deployment.requeue-failed" | "deployment.release.started" | "deployment.release.log" | "deployment.release.succeeded" | "deployment.release.failed" | "replica.restarted" | "service.scaled" | "service.restarted" | "service.restart-failed" | "service.startup-boost" | "service.memory-request-changed" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.routing.reapplied" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "service.public_domain.changed" | "service.source.reconnected" | "cloud-sql.instance.stopped" | "cloud-sql.instance.started" | "cloud-sql.instance.stop-failed" | "cloud-sql.instance.start-failed" | "suspension.workload-stopped" | "suspension.workload-restored" | "managed-service.restarted" | "managed-service.port-leak-healed" | "managed-service.backup-reset" | "managed-service.resize-failed")
363404
363425
  payload: {
363405
363426
  [k: string]: unknown
363406
363427
  }
@@ -363917,6 +363938,25 @@ maxPreviews: number
363917
363938
  baseEnvironmentId: string
363918
363939
  }
363919
363940
 
363941
+ export interface DeploymentResourcePresetsListInput {
363942
+
363943
+ }
363944
+
363945
+ export type DeploymentResourcePresetsListOutput = {
363946
+ /**
363947
+ * CPU limit as a Kubernetes quantity, e.g. 500m or 2.
363948
+ */
363949
+ cpu: string
363950
+ /**
363951
+ * Preset name: XS, S, M, L, XL or 2XL.
363952
+ */
363953
+ key: string
363954
+ /**
363955
+ * Memory limit as a Kubernetes quantity, e.g. 1Gi.
363956
+ */
363957
+ memory: string
363958
+ }[]
363959
+
363920
363960
  export interface DeploymentServiceCreateInput {
363921
363961
  /**
363922
363962
  * 'persistent' (a long-running Deployment behind a Service — the default) or 'scheduled' (a k8s CronJob: no port, no replicas, no route). Immutable after create.
@@ -364031,6 +364071,27 @@ id: string
364031
364071
  mode?: string
364032
364072
  name: string
364033
364073
  slug: string
364074
+ /**
364075
+ * Memory of the running version. Absent for static sites and when it could not be read.
364076
+ */
364077
+ memory?: {
364078
+ /**
364079
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364080
+ */
364081
+ reason: (string | null)
364082
+ /**
364083
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364084
+ */
364085
+ peakWindow: string
364086
+ /**
364087
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364088
+ */
364089
+ peak7dBytes: (number | null)
364090
+ /**
364091
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364092
+ */
364093
+ reservedBytes: (number | null)
364094
+ }
364034
364095
  probes: {
364035
364096
  startup?: {
364036
364097
  path: string
@@ -364224,6 +364285,27 @@ id: string
364224
364285
  mode?: string
364225
364286
  name: string
364226
364287
  slug: string
364288
+ /**
364289
+ * Memory of the running version. Absent for static sites and when it could not be read.
364290
+ */
364291
+ memory?: {
364292
+ /**
364293
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364294
+ */
364295
+ reason: (string | null)
364296
+ /**
364297
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364298
+ */
364299
+ peakWindow: string
364300
+ /**
364301
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364302
+ */
364303
+ peak7dBytes: (number | null)
364304
+ /**
364305
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364306
+ */
364307
+ reservedBytes: (number | null)
364308
+ }
364227
364309
  probes: {
364228
364310
  startup?: {
364229
364311
  path: string
@@ -364384,6 +364466,27 @@ id: string
364384
364466
  mode?: string
364385
364467
  name: string
364386
364468
  slug: string
364469
+ /**
364470
+ * Memory of the running version. Absent for static sites and when it could not be read.
364471
+ */
364472
+ memory?: {
364473
+ /**
364474
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364475
+ */
364476
+ reason: (string | null)
364477
+ /**
364478
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364479
+ */
364480
+ peakWindow: string
364481
+ /**
364482
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364483
+ */
364484
+ peak7dBytes: (number | null)
364485
+ /**
364486
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364487
+ */
364488
+ reservedBytes: (number | null)
364489
+ }
364387
364490
  probes: {
364388
364491
  startup?: {
364389
364492
  path: string
@@ -364623,6 +364726,27 @@ id: string
364623
364726
  mode?: string
364624
364727
  name: string
364625
364728
  slug: string
364729
+ /**
364730
+ * Memory of the running version. Absent for static sites and when it could not be read.
364731
+ */
364732
+ memory?: {
364733
+ /**
364734
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
364735
+ */
364736
+ reason: (string | null)
364737
+ /**
364738
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
364739
+ */
364740
+ peakWindow: string
364741
+ /**
364742
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
364743
+ */
364744
+ peak7dBytes: (number | null)
364745
+ /**
364746
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
364747
+ */
364748
+ reservedBytes: (number | null)
364749
+ }
364626
364750
  probes: {
364627
364751
  startup?: {
364628
364752
  path: string
@@ -364891,6 +365015,27 @@ id: string
364891
365015
  mode?: string
364892
365016
  name: string
364893
365017
  slug: string
365018
+ /**
365019
+ * Memory of the running version. Absent for static sites and when it could not be read.
365020
+ */
365021
+ memory?: {
365022
+ /**
365023
+ * How reservedBytes was computed: peak, no-history, job-first-run or legacy.
365024
+ */
365025
+ reason: (string | null)
365026
+ /**
365027
+ * Window of peak7dBytes: 7d for a service, 30d of past runs for a scheduled service.
365028
+ */
365029
+ peakWindow: string
365030
+ /**
365031
+ * P99 of the per-pod memory working set in bytes over peakWindow, measured when the running version's request was computed; null without enough history.
365032
+ */
365033
+ peak7dBytes: (number | null)
365034
+ /**
365035
+ * INTERNAL, for support and the platform team; do not display to customers. Memory request in bytes the running version reserves on the node (what the scheduler packs by), computed from usage; null when nothing runs or the version predates this field.
365036
+ */
365037
+ reservedBytes: (number | null)
365038
+ }
364894
365039
  probes: {
364895
365040
  startup?: {
364896
365041
  path: string