@lepsto/sdk-app 89.4.0 → 89.6.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-ZH37YJ7E.js';
1
+ import { wsBindings } from '../chunk-OSI6GWYM.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": "@lepsto/sdk-app",
3
3
  "description": "The Lepsto SDK for App is a TypeScript SDK that provides runtime bindings and type-safe generated code for interacting with Lepsto Platform APIs and services. This package generates type definitions and client bindings from API catalogs, enabling developers to build applications that consume Lepsto platform services with full type safety and autocompletion.",
4
- "version": "89.4.0",
4
+ "version": "89.6.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:c08240c1cca14ff99b863e87cab123c4491fc3707cd154adbbe2c5729896f663"
223
+ "sdkContentHash": "sha256:667189810c5f5366535daadeb35c79989b1a48b75f227adae0285d7e266f2029"
224
224
  }
@@ -2734,6 +2734,27 @@ export const bindings: BindingsMap = {
2734
2734
  }
2735
2735
  },
2736
2736
  "domain-redirect": {
2737
+ "set": {
2738
+ "level": "admin",
2739
+ "method": "PATCH",
2740
+ "operationKey": "deployment_domain_redirect_set",
2741
+ "params": [
2742
+ {
2743
+ "in": "path",
2744
+ "name": "id"
2745
+ },
2746
+ {
2747
+ "in": "body",
2748
+ "name": "redirectToDomainId"
2749
+ },
2750
+ {
2751
+ "in": "body",
2752
+ "name": "status"
2753
+ }
2754
+ ],
2755
+ "path": "/deployment/domains/:id/redirect",
2756
+ "readOnly": false
2757
+ },
2737
2758
  "www": {
2738
2759
  "level": "admin",
2739
2760
  "method": "PATCH",
@@ -3442,6 +3463,10 @@ export const bindings: BindingsMap = {
3442
3463
  "in": "body",
3443
3464
  "name": "tracing"
3444
3465
  },
3466
+ {
3467
+ "in": "body",
3468
+ "name": "publicDomain"
3469
+ },
3445
3470
  {
3446
3471
  "in": "body",
3447
3472
  "name": "canvas"
@@ -3660,6 +3685,10 @@ export const bindings: BindingsMap = {
3660
3685
  "in": "body",
3661
3686
  "name": "autoDeploy"
3662
3687
  },
3688
+ {
3689
+ "in": "body",
3690
+ "name": "publicDomain"
3691
+ },
3663
3692
  {
3664
3693
  "in": "body",
3665
3694
  "name": "schedule"
@@ -281,6 +281,8 @@ import type {
281
281
  DeploymentDomainListByServiceOutput,
282
282
  DeploymentDomainListInput,
283
283
  DeploymentDomainListOutput,
284
+ DeploymentDomainRedirectSetInput,
285
+ DeploymentDomainRedirectSetOutput,
284
286
  DeploymentDomainRedirectWwwInput,
285
287
  DeploymentDomainRedirectWwwOutput,
286
288
  DeploymentDomainRemoveInput,
@@ -1518,6 +1520,7 @@ export interface GeneratedClient {
1518
1520
  service: ((input: DeploymentDomainListByServiceInput) => Promise<DeploymentDomainListByServiceOutput>) & Operation;
1519
1521
  };
1520
1522
  'domain-redirect': {
1523
+ set: ((input: DeploymentDomainRedirectSetInput) => Promise<DeploymentDomainRedirectSetOutput>) & Operation;
1521
1524
  www: ((input: DeploymentDomainRedirectWwwInput) => Promise<DeploymentDomainRedirectWwwOutput>) & Operation;
1522
1525
  };
1523
1526
  'domain-routes': {
@@ -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, 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, 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, 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, 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';
@@ -55,6 +55,7 @@ import type {
55
55
  DeploymentDomainListByServiceOutput,
56
56
  DeploymentDomainListInput,
57
57
  DeploymentDomainListOutput,
58
+ DeploymentDomainRedirectSetInput,
58
59
  DeploymentDomainRedirectWwwInput,
59
60
  DeploymentDomainRemoveInput,
60
61
  DeploymentDomainRoutesAddInput,
@@ -338,6 +339,11 @@ export const deploymentDomainListByServiceQueryOptions = (sdk: GeneratedClient,
338
339
  queryFn: () => sdk['deployment']['domain-list-by']['service'](input),
339
340
  });
340
341
 
342
+ export const deploymentDomainRedirectSetMutationOptions = (sdk: GeneratedClient) => ({
343
+ mutationKey: ['deployment', 'domain-redirect', 'set'],
344
+ mutationFn: (input: DeploymentDomainRedirectSetInput) => sdk['deployment']['domain-redirect']['set'](input),
345
+ });
346
+
341
347
  export const deploymentDomainRedirectWwwMutationOptions = (sdk: GeneratedClient) => ({
342
348
  mutationKey: ['deployment', 'domain-redirect', 'www'],
343
349
  mutationFn: (input: DeploymentDomainRedirectWwwInput) => sdk['deployment']['domain-redirect']['www'](input),
@@ -144,6 +144,7 @@ export const operations: Record<string, ToolLevel> = {
144
144
  'deployment_domain_get': 'read',
145
145
  'deployment_domain_list': 'read',
146
146
  'deployment_domain_list_by_service': 'read',
147
+ 'deployment_domain_redirect_set': 'admin',
147
148
  'deployment_domain_redirect_www': 'admin',
148
149
  'deployment_domain_remove': 'admin',
149
150
  'deployment_domain_routes_add': 'admin',
@@ -72300,6 +72300,7 @@ autoDeploy?: boolean
72300
72300
  sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
72301
72301
  idleMinutes: number
72302
72302
  scaleToZero: boolean
72303
+ publicDomain?: boolean
72303
72304
  containerPort: number
72304
72305
  environmentId: string
72305
72306
  jobTimeoutSec?: number
@@ -72737,6 +72738,7 @@ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
72737
72738
  environmentId: string
72738
72739
  routingStatus: ("provisioning" | "propagating" | "active" | "failed")
72739
72740
  lastProbeError: (string | null)
72741
+ redirectStatus: number
72740
72742
  dnsInstructions: ({
72741
72743
  txt: {
72742
72744
  name: string
@@ -72753,6 +72755,7 @@ routingUnavailable?: boolean
72753
72755
  routingRecordType: ("A" | "CNAME")
72754
72756
  verificationToken: (string | null)
72755
72757
  advertisedHostname: string
72758
+ redirectToDomainId: (string | null)
72756
72759
  verificationStatus: ("pending_dns" | "verified" | "dns_failed")
72757
72760
  lastVerificationError: (({
72758
72761
  code: (string | null)
@@ -72809,6 +72812,7 @@ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
72809
72812
  environmentId: string
72810
72813
  routingStatus: ("provisioning" | "propagating" | "active" | "failed")
72811
72814
  lastProbeError: (string | null)
72815
+ redirectStatus: number
72812
72816
  dnsInstructions: ({
72813
72817
  txt: {
72814
72818
  name: string
@@ -72825,6 +72829,7 @@ routingUnavailable?: boolean
72825
72829
  routingRecordType: ("A" | "CNAME")
72826
72830
  verificationToken: (string | null)
72827
72831
  advertisedHostname: string
72832
+ redirectToDomainId: (string | null)
72828
72833
  verificationStatus: ("pending_dns" | "verified" | "dns_failed")
72829
72834
  lastVerificationError: (({
72830
72835
  code: (string | null)
@@ -72869,6 +72874,7 @@ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
72869
72874
  environmentId: string
72870
72875
  routingStatus: ("provisioning" | "propagating" | "active" | "failed")
72871
72876
  lastProbeError: (string | null)
72877
+ redirectStatus: number
72872
72878
  dnsInstructions: ({
72873
72879
  txt: {
72874
72880
  name: string
@@ -72885,6 +72891,7 @@ routingUnavailable?: boolean
72885
72891
  routingRecordType: ("A" | "CNAME")
72886
72892
  verificationToken: (string | null)
72887
72893
  advertisedHostname: string
72894
+ redirectToDomainId: (string | null)
72888
72895
  verificationStatus: ("pending_dns" | "verified" | "dns_failed")
72889
72896
  lastVerificationError: (({
72890
72897
  code: (string | null)
@@ -72930,6 +72937,7 @@ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
72930
72937
  environmentId: string
72931
72938
  routingStatus: ("provisioning" | "propagating" | "active" | "failed")
72932
72939
  lastProbeError: (string | null)
72940
+ redirectStatus: number
72933
72941
  dnsInstructions: ({
72934
72942
  txt: {
72935
72943
  name: string
@@ -72946,6 +72954,7 @@ routingUnavailable?: boolean
72946
72954
  routingRecordType: ("A" | "CNAME")
72947
72955
  verificationToken: (string | null)
72948
72956
  advertisedHostname: string
72957
+ redirectToDomainId: (string | null)
72949
72958
  verificationStatus: ("pending_dns" | "verified" | "dns_failed")
72950
72959
  lastVerificationError: (({
72951
72960
  code: (string | null)
@@ -72973,6 +72982,70 @@ value: string
72973
72982
  recordType: ("A" | "CNAME")
72974
72983
  }
72975
72984
 
72985
+ export interface DeploymentDomainRedirectSetInput {
72986
+ id: string
72987
+ status?: (301 | 302)
72988
+ redirectToDomainId: (string | null)
72989
+ }
72990
+
72991
+ export interface DeploymentDomainRedirectSetOutput {
72992
+ id: string
72993
+ kind: ("auto" | "custom")
72994
+ aliases: string[]
72995
+ hostname: string
72996
+ createdAt: string
72997
+ tlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
72998
+ updatedAt: string
72999
+ lastProbeAt: (string | null)
73000
+ redirectWww: boolean
73001
+ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
73002
+ environmentId: string
73003
+ routingStatus: ("provisioning" | "propagating" | "active" | "failed")
73004
+ lastProbeError: (string | null)
73005
+ redirectStatus: number
73006
+ dnsInstructions: ({
73007
+ txt: {
73008
+ name: string
73009
+ value: string
73010
+ }
73011
+ routing: DeploymentDomainRedirectSetOutputItems[]
73012
+ acmeChallenge?: DeploymentDomainRedirectSetOutputItems
73013
+ txtAlternatives?: {
73014
+ name: string
73015
+ value: string
73016
+ }[]
73017
+ routingUnavailable?: boolean
73018
+ } | null)
73019
+ routingRecordType: ("A" | "CNAME")
73020
+ verificationToken: (string | null)
73021
+ advertisedHostname: string
73022
+ redirectToDomainId: (string | null)
73023
+ verificationStatus: ("pending_dns" | "verified" | "dns_failed")
73024
+ lastVerificationError: (({
73025
+ code: (string | null)
73026
+ reason: "transient"
73027
+ checkedAt: string
73028
+ } | {
73029
+ txt?: {
73030
+ got: string[]
73031
+ want: string
73032
+ }
73033
+ host?: {
73034
+ got: string[]
73035
+ want: string[]
73036
+ }
73037
+ reason: "mismatch"
73038
+ checkedAt: string
73039
+ }) | null)
73040
+ lastVerificationCheckAt: (string | null)
73041
+ tlsCertificateExpiresAt: (string | null)
73042
+ }
73043
+ export interface DeploymentDomainRedirectSetOutputItems {
73044
+ name: string
73045
+ value: string
73046
+ recordType: ("A" | "CNAME")
73047
+ }
73048
+
72976
73049
  export interface DeploymentDomainRedirectWwwInput {
72977
73050
  id: string
72978
73051
  enabled: boolean
@@ -72992,6 +73065,7 @@ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
72992
73065
  environmentId: string
72993
73066
  routingStatus: ("provisioning" | "propagating" | "active" | "failed")
72994
73067
  lastProbeError: (string | null)
73068
+ redirectStatus: number
72995
73069
  dnsInstructions: ({
72996
73070
  txt: {
72997
73071
  name: string
@@ -73008,6 +73082,7 @@ routingUnavailable?: boolean
73008
73082
  routingRecordType: ("A" | "CNAME")
73009
73083
  verificationToken: (string | null)
73010
73084
  advertisedHostname: string
73085
+ redirectToDomainId: (string | null)
73011
73086
  verificationStatus: ("pending_dns" | "verified" | "dns_failed")
73012
73087
  lastVerificationError: (({
73013
73088
  code: (string | null)
@@ -73122,6 +73197,7 @@ wwwTlsStatus: ("none" | "pending" | "issuing" | "active" | "failed")
73122
73197
  environmentId: string
73123
73198
  routingStatus: ("provisioning" | "propagating" | "active" | "failed")
73124
73199
  lastProbeError: (string | null)
73200
+ redirectStatus: number
73125
73201
  dnsInstructions: ({
73126
73202
  txt: {
73127
73203
  name: string
@@ -73138,6 +73214,7 @@ routingUnavailable?: boolean
73138
73214
  routingRecordType: ("A" | "CNAME")
73139
73215
  verificationToken: (string | null)
73140
73216
  advertisedHostname: string
73217
+ redirectToDomainId: (string | null)
73141
73218
  verificationStatus: ("pending_dns" | "verified" | "dns_failed")
73142
73219
  lastVerificationError: (({
73143
73220
  code: (string | null)
@@ -73298,7 +73375,7 @@ baseEnvironmentId: (string | null)
73298
73375
  }
73299
73376
 
73300
73377
  export interface DeploymentEventsListByEnvironmentInput {
73301
- 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.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" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "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")
73378
+ 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.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" | "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" | "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")
73302
73379
  limit?: number
73303
73380
  since?: string
73304
73381
  until?: string
@@ -73307,7 +73384,7 @@ environmentId: string
73307
73384
 
73308
73385
  export type DeploymentEventsListByEnvironmentOutput = {
73309
73386
  id: string
73310
- 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.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" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "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")
73387
+ 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.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" | "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" | "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")
73311
73388
  payload: {
73312
73389
  [k: string]: unknown
73313
73390
  }
@@ -73320,7 +73397,7 @@ environmentId: (string | null)
73320
73397
  }[]
73321
73398
 
73322
73399
  export interface DeploymentEventsListByServiceInput {
73323
- 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.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" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "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")
73400
+ 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.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" | "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" | "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")
73324
73401
  limit?: number
73325
73402
  since?: string
73326
73403
  until?: string
@@ -73330,7 +73407,7 @@ deploymentId?: string
73330
73407
 
73331
73408
  export type DeploymentEventsListByServiceOutput = {
73332
73409
  id: string
73333
- 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.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" | "domain.verified" | "domain.tls.issued" | "domain.tls.failed" | "domain.www-tls.issued" | "domain.www-tls.failed" | "domain.routing.active" | "domain.routing.failed" | "domain.removed" | "domain.governance.mirror-failed" | "service.slept" | "service.woke" | "service.wake_failed" | "service.sleep-enabled" | "service.sleep-disabled" | "service.sleep-enable-failed" | "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")
73410
+ 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.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" | "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" | "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")
73334
73411
  payload: {
73335
73412
  [k: string]: unknown
73336
73413
  }
@@ -73905,6 +73982,10 @@ cpu?: string
73905
73982
  memory?: string
73906
73983
  }
73907
73984
  }
73985
+ /**
73986
+ * Whether this service gets its public auto-domain (`<slug>-<hash>.<suffix>`) and the HTTPRoute that fronts it. Default true. Set false for a service that must not face the internet (minio, pgadmin, a worker): the auto-domain and its route are removed, which also frees a URL-map host rule. A custom domain attached to this service is NOT touched in either direction — it keeps serving. Set true again to re-create the auto-domain under the same hostname.
73987
+ */
73988
+ publicDomain?: boolean
73908
73989
  containerPort?: number
73909
73990
  environmentId: string
73910
73991
  /**
@@ -73986,6 +74067,7 @@ autoDeploy?: boolean
73986
74067
  sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
73987
74068
  idleMinutes: number
73988
74069
  scaleToZero: boolean
74070
+ publicDomain?: boolean
73989
74071
  containerPort: number
73990
74072
  environmentId: string
73991
74073
  jobTimeoutSec?: number
@@ -74106,6 +74188,7 @@ autoDeploy?: boolean
74106
74188
  sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
74107
74189
  idleMinutes: number
74108
74190
  scaleToZero: boolean
74191
+ publicDomain?: boolean
74109
74192
  containerPort: number
74110
74193
  environmentId: string
74111
74194
  jobTimeoutSec?: number
@@ -74193,6 +74276,7 @@ autoDeploy?: boolean
74193
74276
  sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
74194
74277
  idleMinutes: number
74195
74278
  scaleToZero: boolean
74279
+ publicDomain?: boolean
74196
74280
  containerPort: number
74197
74281
  environmentId: string
74198
74282
  jobTimeoutSec?: number
@@ -74357,6 +74441,7 @@ autoDeploy?: boolean
74357
74441
  sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
74358
74442
  idleMinutes: number
74359
74443
  scaleToZero: boolean
74444
+ publicDomain?: boolean
74360
74445
  containerPort: number
74361
74446
  environmentId: string
74362
74447
  jobTimeoutSec?: number
@@ -74440,6 +74525,10 @@ memory?: string
74440
74525
  autoDeploy?: boolean
74441
74526
  idleMinutes?: number
74442
74527
  scaleToZero?: boolean
74528
+ /**
74529
+ * Whether this service gets its public auto-domain (`<slug>-<hash>.<suffix>`) and the HTTPRoute that fronts it. Default true. Set false for a service that must not face the internet (minio, pgadmin, a worker): the auto-domain and its route are removed, which also frees a URL-map host rule. A custom domain attached to this service is NOT touched in either direction — it keeps serving. Set true again to re-create the auto-domain under the same hostname.
74530
+ */
74531
+ publicDomain?: boolean
74443
74532
  containerPort?: number
74444
74533
  /**
74445
74534
  * Wall-clock budget for one run, in seconds (60..86400). Becomes the Job activeDeadlineSeconds — an overrunning run is killed, not left going.
@@ -74525,6 +74614,7 @@ autoDeploy?: boolean
74525
74614
  sleepState: ("awake" | "sleeping" | "waking" | "stopped" | "wake_failed")
74526
74615
  idleMinutes: number
74527
74616
  scaleToZero: boolean
74617
+ publicDomain?: boolean
74528
74618
  containerPort: number
74529
74619
  environmentId: string
74530
74620
  jobTimeoutSec?: number