@lessly/sdk-app 96.0.1 → 96.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.
- package/CHANGELOG.md +5 -1
- package/dist/_types/gen/client.gen.d.ts +7 -1
- package/dist/_types/gen/deployment/index.d.ts +1 -1
- package/dist/_types/gen/deployment/queryOptions.gen.d.ts +9 -1
- package/dist/_types/gen/types.gen.d.ts +56 -0
- package/dist/{chunk-DVWGP4BN.js → chunk-G33O7GKV.js} +40 -2
- package/dist/chunk-G33O7GKV.js.map +1 -0
- package/dist/deployment/index.cjs +10 -0
- package/dist/deployment/index.cjs.map +1 -1
- package/dist/deployment/index.js +9 -1
- package/dist/deployment/index.js.map +1 -1
- package/dist/index.cjs +40 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -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 +38 -0
- package/src/gen/client.gen.ts +10 -0
- package/src/gen/deployment/index.ts +1 -1
- package/src/gen/deployment/queryOptions.gen.ts +12 -0
- package/src/gen/manifest.gen.ts +2 -0
- package/src/gen/types.gen.ts +60 -0
- package/dist/chunk-DVWGP4BN.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": "96.0
|
|
4
|
+
"version": "96.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:
|
|
223
|
+
"sdkContentHash": "sha256:9e9d798a6d90301723cfd9fe3a65e2cdbfc07a4b8e2ecbf4abbf71c12ffcd41b"
|
|
224
224
|
}
|
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -3798,6 +3798,44 @@ export const bindings: BindingsMap = {
|
|
|
3798
3798
|
"readOnly": false
|
|
3799
3799
|
}
|
|
3800
3800
|
},
|
|
3801
|
+
"static": {
|
|
3802
|
+
"deploy": {
|
|
3803
|
+
"level": "write",
|
|
3804
|
+
"method": "POST",
|
|
3805
|
+
"operationKey": "deployment_static_deploy",
|
|
3806
|
+
"params": [
|
|
3807
|
+
{
|
|
3808
|
+
"in": "body",
|
|
3809
|
+
"name": "deployId"
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"in": "path",
|
|
3813
|
+
"name": "serviceId"
|
|
3814
|
+
}
|
|
3815
|
+
],
|
|
3816
|
+
"path": "/deployment/services/:serviceId/static/deploy",
|
|
3817
|
+
"readOnly": false
|
|
3818
|
+
}
|
|
3819
|
+
},
|
|
3820
|
+
"static-upload": {
|
|
3821
|
+
"create": {
|
|
3822
|
+
"level": "write",
|
|
3823
|
+
"method": "POST",
|
|
3824
|
+
"operationKey": "deployment_static_upload_create",
|
|
3825
|
+
"params": [
|
|
3826
|
+
{
|
|
3827
|
+
"in": "body",
|
|
3828
|
+
"name": "format"
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"in": "path",
|
|
3832
|
+
"name": "serviceId"
|
|
3833
|
+
}
|
|
3834
|
+
],
|
|
3835
|
+
"path": "/deployment/services/:serviceId/static/uploads",
|
|
3836
|
+
"readOnly": false
|
|
3837
|
+
}
|
|
3838
|
+
},
|
|
3801
3839
|
"suspension": {
|
|
3802
3840
|
"get": {
|
|
3803
3841
|
"level": "read",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -395,6 +395,10 @@ import type {
|
|
|
395
395
|
DeploymentSshKeyListOutput,
|
|
396
396
|
DeploymentSshKeyRegisterInput,
|
|
397
397
|
DeploymentSshKeyRegisterOutput,
|
|
398
|
+
DeploymentStaticDeployInput,
|
|
399
|
+
DeploymentStaticDeployOutput,
|
|
400
|
+
DeploymentStaticUploadCreateInput,
|
|
401
|
+
DeploymentStaticUploadCreateOutput,
|
|
398
402
|
DeploymentSuspensionGetInput,
|
|
399
403
|
DeploymentSuspensionGetOutput,
|
|
400
404
|
DeploymentVariableListEnvInput,
|
|
@@ -1618,6 +1622,12 @@ export interface GeneratedClient {
|
|
|
1618
1622
|
list: ((input: DeploymentSshKeyListInput) => Promise<DeploymentSshKeyListOutput>) & Operation;
|
|
1619
1623
|
register: ((input: DeploymentSshKeyRegisterInput) => Promise<DeploymentSshKeyRegisterOutput>) & Operation;
|
|
1620
1624
|
};
|
|
1625
|
+
static: {
|
|
1626
|
+
deploy: ((input: DeploymentStaticDeployInput) => Promise<DeploymentStaticDeployOutput>) & Operation;
|
|
1627
|
+
};
|
|
1628
|
+
'static-upload': {
|
|
1629
|
+
create: ((input: DeploymentStaticUploadCreateInput) => Promise<DeploymentStaticUploadCreateOutput>) & Operation;
|
|
1630
|
+
};
|
|
1621
1631
|
suspension: {
|
|
1622
1632
|
get: ((input: DeploymentSuspensionGetInput) => Promise<DeploymentSuspensionGetOutput>) & Operation;
|
|
1623
1633
|
};
|
|
@@ -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, 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, 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';
|
|
@@ -134,6 +134,8 @@ import type {
|
|
|
134
134
|
DeploymentSshKeyListInput,
|
|
135
135
|
DeploymentSshKeyListOutput,
|
|
136
136
|
DeploymentSshKeyRegisterInput,
|
|
137
|
+
DeploymentStaticDeployInput,
|
|
138
|
+
DeploymentStaticUploadCreateInput,
|
|
137
139
|
DeploymentSuspensionGetInput,
|
|
138
140
|
DeploymentSuspensionGetOutput,
|
|
139
141
|
DeploymentVariableListEnvInput,
|
|
@@ -624,6 +626,16 @@ export const deploymentSshKeyRegisterMutationOptions = (sdk: GeneratedClient) =>
|
|
|
624
626
|
mutationFn: (input: DeploymentSshKeyRegisterInput) => sdk['deployment']['ssh-key']['register'](input),
|
|
625
627
|
});
|
|
626
628
|
|
|
629
|
+
export const deploymentStaticDeployMutationOptions = (sdk: GeneratedClient) => ({
|
|
630
|
+
mutationKey: ['deployment', 'static', 'deploy'],
|
|
631
|
+
mutationFn: (input: DeploymentStaticDeployInput) => sdk['deployment']['static']['deploy'](input),
|
|
632
|
+
});
|
|
633
|
+
|
|
634
|
+
export const deploymentStaticUploadCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
635
|
+
mutationKey: ['deployment', 'static-upload', 'create'],
|
|
636
|
+
mutationFn: (input: DeploymentStaticUploadCreateInput) => sdk['deployment']['static-upload']['create'](input),
|
|
637
|
+
});
|
|
638
|
+
|
|
627
639
|
export const deploymentSuspensionGetQueryOptions = (sdk: GeneratedClient, input: DeploymentSuspensionGetInput) => ({
|
|
628
640
|
queryKey: ['deployment', 'suspension', 'get', input] as const,
|
|
629
641
|
queryFn: () => sdk['deployment']['suspension']['get'](input),
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -201,6 +201,8 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
201
201
|
'deployment_ssh_key_delete': 'admin',
|
|
202
202
|
'deployment_ssh_key_list': 'read',
|
|
203
203
|
'deployment_ssh_key_register': 'admin',
|
|
204
|
+
'deployment_static_deploy': 'write',
|
|
205
|
+
'deployment_static_upload_create': 'write',
|
|
204
206
|
'deployment_suspension_get': 'read',
|
|
205
207
|
'deployment_variable_list': 'read',
|
|
206
208
|
'deployment_variable_list_env': 'read',
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -82417,6 +82417,66 @@ ownerIdentityId: string
|
|
|
82417
82417
|
fingerprintSha256: string
|
|
82418
82418
|
}
|
|
82419
82419
|
|
|
82420
|
+
export interface DeploymentStaticDeployInput {
|
|
82421
|
+
deployId: string
|
|
82422
|
+
serviceId: string
|
|
82423
|
+
}
|
|
82424
|
+
|
|
82425
|
+
export interface DeploymentStaticDeployOutput {
|
|
82426
|
+
id: string
|
|
82427
|
+
status: ("Initializing" | "Building" | "Deploying" | "Active" | "Replaced" | "Crashed" | "Completed" | "Failed" | "Removed" | "Sleeping" | "Stopped" | "WakeFailed")
|
|
82428
|
+
builtAt: (string | null)
|
|
82429
|
+
imageRef: (string | null)
|
|
82430
|
+
commitSha: (string | null)
|
|
82431
|
+
createdAt: string
|
|
82432
|
+
serviceId: string
|
|
82433
|
+
startedAt: (string | null)
|
|
82434
|
+
updatedAt: string
|
|
82435
|
+
deployedAt: (string | null)
|
|
82436
|
+
finishedAt: (string | null)
|
|
82437
|
+
cloudBuildId: (string | null)
|
|
82438
|
+
configSnapshot: {
|
|
82439
|
+
source?: unknown
|
|
82440
|
+
variables: {
|
|
82441
|
+
key: string
|
|
82442
|
+
value: string
|
|
82443
|
+
}[]
|
|
82444
|
+
}
|
|
82445
|
+
lastErrorMessage: (string | null)
|
|
82446
|
+
rolledBackFromDeploymentId: (string | null)
|
|
82447
|
+
}
|
|
82448
|
+
|
|
82449
|
+
export interface DeploymentStaticUploadCreateInput {
|
|
82450
|
+
/**
|
|
82451
|
+
* Archive format of the file you will PUT: 'tgz' (gzipped tarball, the default) or 'zip'.
|
|
82452
|
+
*/
|
|
82453
|
+
format?: ("tgz" | "zip")
|
|
82454
|
+
serviceId: string
|
|
82455
|
+
}
|
|
82456
|
+
|
|
82457
|
+
export interface DeploymentStaticUploadCreateOutput {
|
|
82458
|
+
/**
|
|
82459
|
+
* gs:// URL the archive lands at.
|
|
82460
|
+
*/
|
|
82461
|
+
object: string
|
|
82462
|
+
/**
|
|
82463
|
+
* Pass to deployment_static_deploy once the PUT succeeded.
|
|
82464
|
+
*/
|
|
82465
|
+
deployId: string
|
|
82466
|
+
/**
|
|
82467
|
+
* When uploadUrl stops accepting the PUT (ISO 8601).
|
|
82468
|
+
*/
|
|
82469
|
+
expiresAt: string
|
|
82470
|
+
/**
|
|
82471
|
+
* Signed URL; PUT the archive here.
|
|
82472
|
+
*/
|
|
82473
|
+
uploadUrl: string
|
|
82474
|
+
/**
|
|
82475
|
+
* The Content-Type header the PUT must send; the URL is signed for exactly this value.
|
|
82476
|
+
*/
|
|
82477
|
+
contentType: ("application/gzip" | "application/zip")
|
|
82478
|
+
}
|
|
82479
|
+
|
|
82420
82480
|
export interface DeploymentSuspensionGetInput {
|
|
82421
82481
|
|
|
82422
82482
|
}
|