@northflank/js-client 0.7.0 → 0.7.1-beta.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/dist/cjs/api-client.d.ts +7267 -2476
- package/dist/cjs/api-client.js +1 -1
- package/dist/esm/api-client.d.ts +7267 -2476
- package/dist/esm/api-client.js +1 -15
- package/package.json +1 -1
- package/dist/cjs/api-endpoint.d.ts +0 -57
- package/dist/cjs/api-error.d.ts +0 -16
- package/dist/cjs/context/api-client-context-provider.d.ts +0 -47
- package/dist/cjs/context/api-client-file-context-provider.d.ts +0 -11
- package/dist/cjs/context/api-client-in-memory-context-provider.d.ts +0 -6
- package/dist/cjs/context/index.d.ts +0 -3
- package/dist/cjs/endpoints/abort/addon/backup.d.ts +0 -21
- package/dist/cjs/endpoints/abort/addon/restore.d.ts +0 -26
- package/dist/cjs/endpoints/abort/job/build.d.ts +0 -21
- package/dist/cjs/endpoints/abort/job/run.d.ts +0 -21
- package/dist/cjs/endpoints/abort/service/build.d.ts +0 -21
- package/dist/cjs/endpoints/add/domain/subdomain.d.ts +0 -33
- package/dist/cjs/endpoints/add/registry.d.ts +0 -47
- package/dist/cjs/endpoints/assign/subdomain/service.d.ts +0 -28
- package/dist/cjs/endpoints/attach/volume.d.ts +0 -29
- package/dist/cjs/endpoints/backup/addon.d.ts +0 -51
- package/dist/cjs/endpoints/create/addon/backupSchedule.d.ts +0 -40
- package/dist/cjs/endpoints/create/addon.d.ts +0 -101
- package/dist/cjs/endpoints/create/cluster.d.ts +0 -97
- package/dist/cjs/endpoints/create/domain.d.ts +0 -27
- package/dist/cjs/endpoints/create/integration.d.ts +0 -58
- package/dist/cjs/endpoints/create/job/cron.d.ts +0 -247
- package/dist/cjs/endpoints/create/job/manual.d.ts +0 -237
- package/dist/cjs/endpoints/create/project.d.ts +0 -31
- package/dist/cjs/endpoints/create/secret.d.ts +0 -83
- package/dist/cjs/endpoints/create/service/build.d.ts +0 -161
- package/dist/cjs/endpoints/create/service/combined.d.ts +0 -255
- package/dist/cjs/endpoints/create/service/deployment.d.ts +0 -242
- package/dist/cjs/endpoints/create/template.d.ts +0 -132
- package/dist/cjs/endpoints/create/volume.d.ts +0 -78
- package/dist/cjs/endpoints/delete/addon/backupSchedule.d.ts +0 -21
- package/dist/cjs/endpoints/delete/addon.d.ts +0 -19
- package/dist/cjs/endpoints/delete/backup.d.ts +0 -21
- package/dist/cjs/endpoints/delete/cluster.d.ts +0 -17
- package/dist/cjs/endpoints/delete/domain.d.ts +0 -17
- package/dist/cjs/endpoints/delete/integration.d.ts +0 -17
- package/dist/cjs/endpoints/delete/job.d.ts +0 -19
- package/dist/cjs/endpoints/delete/project.d.ts +0 -17
- package/dist/cjs/endpoints/delete/registry.d.ts +0 -17
- package/dist/cjs/endpoints/delete/secret.d.ts +0 -19
- package/dist/cjs/endpoints/delete/secretLink.d.ts +0 -21
- package/dist/cjs/endpoints/delete/service.d.ts +0 -19
- package/dist/cjs/endpoints/delete/subdomain.d.ts +0 -19
- package/dist/cjs/endpoints/delete/template.d.ts +0 -17
- package/dist/cjs/endpoints/delete/volume.d.ts +0 -19
- package/dist/cjs/endpoints/detach/volume.d.ts +0 -21
- package/dist/cjs/endpoints/get/addon/backup/download.d.ts +0 -24
- package/dist/cjs/endpoints/get/addon/backup.d.ts +0 -46
- package/dist/cjs/endpoints/get/addon/backupSchedules.d.ts +0 -52
- package/dist/cjs/endpoints/get/addon/backups.d.ts +0 -54
- package/dist/cjs/endpoints/get/addon/containers.d.ts +0 -40
- package/dist/cjs/endpoints/get/addon/credentials.d.ts +0 -24
- package/dist/cjs/endpoints/get/addon/types.d.ts +0 -48
- package/dist/cjs/endpoints/get/addon/version.d.ts +0 -53
- package/dist/cjs/endpoints/get/addon.d.ts +0 -71
- package/dist/cjs/endpoints/get/cluster.d.ts +0 -55
- package/dist/cjs/endpoints/get/dnsId.d.ts +0 -15
- package/dist/cjs/endpoints/get/domain.d.ts +0 -33
- package/dist/cjs/endpoints/get/integration.d.ts +0 -37
- package/dist/cjs/endpoints/get/invoice/details.d.ts +0 -139
- package/dist/cjs/endpoints/get/job/branches.d.ts +0 -49
- package/dist/cjs/endpoints/get/job/build.d.ts +0 -42
- package/dist/cjs/endpoints/get/job/buildArgumentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/job/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/get/job/builds.d.ts +0 -52
- package/dist/cjs/endpoints/get/job/containers.d.ts +0 -40
- package/dist/cjs/endpoints/get/job/deployment.d.ts +0 -55
- package/dist/cjs/endpoints/get/job/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/get/job/pullRequests.d.ts +0 -49
- package/dist/cjs/endpoints/get/job/run.d.ts +0 -44
- package/dist/cjs/endpoints/get/job/runs.d.ts +0 -54
- package/dist/cjs/endpoints/get/job/runtimeEnvironment.d.ts +0 -29
- package/dist/cjs/endpoints/get/job/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/job.d.ts +0 -128
- package/dist/cjs/endpoints/get/project.d.ts +0 -72
- package/dist/cjs/endpoints/get/registry.d.ts +0 -34
- package/dist/cjs/endpoints/get/secret.d.ts +0 -55
- package/dist/cjs/endpoints/get/secretDetails.d.ts +0 -63
- package/dist/cjs/endpoints/get/secretLink.d.ts +0 -44
- package/dist/cjs/endpoints/get/service/branches.d.ts +0 -49
- package/dist/cjs/endpoints/get/service/build.d.ts +0 -42
- package/dist/cjs/endpoints/get/service/buildArgumentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/service/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/get/service/builds.d.ts +0 -52
- package/dist/cjs/endpoints/get/service/containers.d.ts +0 -40
- package/dist/cjs/endpoints/get/service/deployment.d.ts +0 -55
- package/dist/cjs/endpoints/get/service/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/get/service/ports.d.ts +0 -70
- package/dist/cjs/endpoints/get/service/pullRequests.d.ts +0 -49
- package/dist/cjs/endpoints/get/service/runtimeEnvironment.d.ts +0 -29
- package/dist/cjs/endpoints/get/service/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/cjs/endpoints/get/service.d.ts +0 -211
- package/dist/cjs/endpoints/get/subdomain.d.ts +0 -30
- package/dist/cjs/endpoints/get/template.d.ts +0 -61
- package/dist/cjs/endpoints/get/templateRun.d.ts +0 -73
- package/dist/cjs/endpoints/get/volume.d.ts +0 -49
- package/dist/cjs/endpoints/import/addon/backup.d.ts +0 -31
- package/dist/cjs/endpoints/list/addons.d.ts +0 -45
- package/dist/cjs/endpoints/list/branches.d.ts +0 -51
- package/dist/cjs/endpoints/list/clusters.d.ts +0 -63
- package/dist/cjs/endpoints/list/domains.d.ts +0 -34
- package/dist/cjs/endpoints/list/integrations.d.ts +0 -36
- package/dist/cjs/endpoints/list/invoices.d.ts +0 -40
- package/dist/cjs/endpoints/list/jobs.d.ts +0 -46
- package/dist/cjs/endpoints/list/plans.d.ts +0 -30
- package/dist/cjs/endpoints/list/projects.d.ts +0 -32
- package/dist/cjs/endpoints/list/providers.d.ts +0 -37
- package/dist/cjs/endpoints/list/regions.d.ts +0 -18
- package/dist/cjs/endpoints/list/registries.d.ts +0 -41
- package/dist/cjs/endpoints/list/repos.d.ts +0 -51
- package/dist/cjs/endpoints/list/secrets.d.ts +0 -54
- package/dist/cjs/endpoints/list/services.d.ts +0 -65
- package/dist/cjs/endpoints/list/templateRuns.d.ts +0 -54
- package/dist/cjs/endpoints/list/templates.d.ts +0 -41
- package/dist/cjs/endpoints/list/vcs.d.ts +0 -32
- package/dist/cjs/endpoints/list/volumes.d.ts +0 -47
- package/dist/cjs/endpoints/pause/addon.d.ts +0 -19
- package/dist/cjs/endpoints/pause/job.d.ts +0 -19
- package/dist/cjs/endpoints/pause/service.d.ts +0 -19
- package/dist/cjs/endpoints/restart/addon.d.ts +0 -19
- package/dist/cjs/endpoints/restart/service.d.ts +0 -19
- package/dist/cjs/endpoints/restore/addon/backup.d.ts +0 -24
- package/dist/cjs/endpoints/resume/addon.d.ts +0 -19
- package/dist/cjs/endpoints/resume/job.d.ts +0 -28
- package/dist/cjs/endpoints/resume/service.d.ts +0 -28
- package/dist/cjs/endpoints/retain/addon/backup.d.ts +0 -21
- package/dist/cjs/endpoints/run/template.d.ts +0 -62
- package/dist/cjs/endpoints/scale/addon.d.ts +0 -28
- package/dist/cjs/endpoints/scale/job.d.ts +0 -30
- package/dist/cjs/endpoints/scale/service.d.ts +0 -32
- package/dist/cjs/endpoints/start/job/build.d.ts +0 -47
- package/dist/cjs/endpoints/start/job/run.d.ts +0 -74
- package/dist/cjs/endpoints/start/service/build.d.ts +0 -55
- package/dist/cjs/endpoints/suspend/job.d.ts +0 -24
- package/dist/cjs/endpoints/unassign/subdomain.d.ts +0 -19
- package/dist/cjs/endpoints/update/addon/networkSettings.d.ts +0 -26
- package/dist/cjs/endpoints/update/addon/security.d.ts +0 -29
- package/dist/cjs/endpoints/update/addon/version.d.ts +0 -24
- package/dist/cjs/endpoints/update/cluster.d.ts +0 -76
- package/dist/cjs/endpoints/update/integration.d.ts +0 -53
- package/dist/cjs/endpoints/update/job/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/update/job/buildOptions.d.ts +0 -50
- package/dist/cjs/endpoints/update/job/buildSource.d.ts +0 -32
- package/dist/cjs/endpoints/update/job/cmdOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/job/deployment.d.ts +0 -39
- package/dist/cjs/endpoints/update/job/entrypointOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/job/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/update/job/runtimeEnvironment.d.ts +0 -29
- package/dist/cjs/endpoints/update/job/settings.d.ts +0 -32
- package/dist/cjs/endpoints/update/registry.d.ts +0 -31
- package/dist/cjs/endpoints/update/secret.d.ts +0 -58
- package/dist/cjs/endpoints/update/secretLink.d.ts +0 -40
- package/dist/cjs/endpoints/update/service/buildArguments.d.ts +0 -29
- package/dist/cjs/endpoints/update/service/buildOptions.d.ts +0 -62
- package/dist/cjs/endpoints/update/service/buildSource.d.ts +0 -32
- package/dist/cjs/endpoints/update/service/cmdOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/service/deployment.d.ts +0 -39
- package/dist/cjs/endpoints/update/service/entrypointOverride.d.ts +0 -24
- package/dist/cjs/endpoints/update/service/healthChecks.d.ts +0 -45
- package/dist/cjs/endpoints/update/service/ports.d.ts +0 -57
- package/dist/cjs/endpoints/update/service/runtimeEnvironment.d.ts +0 -34
- package/dist/cjs/endpoints/update/template.d.ts +0 -81
- package/dist/cjs/endpoints/update/volume.d.ts +0 -33
- package/dist/cjs/endpoints/verify/domain.d.ts +0 -17
- package/dist/cjs/endpoints/verify/subdomain.d.ts +0 -19
- package/dist/cjs/exec-command/client/exec-command-runner.d.ts +0 -70
- package/dist/cjs/exec-command/client/exec-command-standard.d.ts +0 -42
- package/dist/cjs/port-forward/client/api-helper.d.ts +0 -30
- package/dist/cjs/port-forward/client/atomic-write.d.ts +0 -2
- package/dist/cjs/port-forward/client/host-file-ast.d.ts +0 -52
- package/dist/cjs/port-forward/client/host-file.d.ts +0 -26
- package/dist/cjs/port-forward/client/loopback.d.ts +0 -4
- package/dist/cjs/port-forward/client/port-forwarder.d.ts +0 -87
- package/dist/cjs/port-forward/client/port-tunnel-tcp.d.ts +0 -36
- package/dist/cjs/port-forward/client/port-tunnel-udp.d.ts +0 -27
- package/dist/cjs/port-forward/client/promise-mutex.d.ts +0 -4
- package/dist/cjs/utils.d.ts +0 -21
- package/dist/esm/api-endpoint.d.ts +0 -57
- package/dist/esm/api-error.d.ts +0 -16
- package/dist/esm/context/api-client-context-provider.d.ts +0 -47
- package/dist/esm/context/api-client-file-context-provider.d.ts +0 -11
- package/dist/esm/context/api-client-in-memory-context-provider.d.ts +0 -6
- package/dist/esm/context/index.d.ts +0 -3
- package/dist/esm/endpoints/abort/addon/backup.d.ts +0 -21
- package/dist/esm/endpoints/abort/addon/restore.d.ts +0 -26
- package/dist/esm/endpoints/abort/job/build.d.ts +0 -21
- package/dist/esm/endpoints/abort/job/run.d.ts +0 -21
- package/dist/esm/endpoints/abort/service/build.d.ts +0 -21
- package/dist/esm/endpoints/add/domain/subdomain.d.ts +0 -33
- package/dist/esm/endpoints/add/registry.d.ts +0 -47
- package/dist/esm/endpoints/assign/subdomain/service.d.ts +0 -28
- package/dist/esm/endpoints/attach/volume.d.ts +0 -29
- package/dist/esm/endpoints/backup/addon.d.ts +0 -51
- package/dist/esm/endpoints/create/addon/backupSchedule.d.ts +0 -40
- package/dist/esm/endpoints/create/addon.d.ts +0 -101
- package/dist/esm/endpoints/create/cluster.d.ts +0 -97
- package/dist/esm/endpoints/create/domain.d.ts +0 -27
- package/dist/esm/endpoints/create/integration.d.ts +0 -58
- package/dist/esm/endpoints/create/job/cron.d.ts +0 -247
- package/dist/esm/endpoints/create/job/manual.d.ts +0 -237
- package/dist/esm/endpoints/create/project.d.ts +0 -31
- package/dist/esm/endpoints/create/secret.d.ts +0 -83
- package/dist/esm/endpoints/create/service/build.d.ts +0 -161
- package/dist/esm/endpoints/create/service/combined.d.ts +0 -255
- package/dist/esm/endpoints/create/service/deployment.d.ts +0 -242
- package/dist/esm/endpoints/create/template.d.ts +0 -132
- package/dist/esm/endpoints/create/volume.d.ts +0 -78
- package/dist/esm/endpoints/delete/addon/backupSchedule.d.ts +0 -21
- package/dist/esm/endpoints/delete/addon.d.ts +0 -19
- package/dist/esm/endpoints/delete/backup.d.ts +0 -21
- package/dist/esm/endpoints/delete/cluster.d.ts +0 -17
- package/dist/esm/endpoints/delete/domain.d.ts +0 -17
- package/dist/esm/endpoints/delete/integration.d.ts +0 -17
- package/dist/esm/endpoints/delete/job.d.ts +0 -19
- package/dist/esm/endpoints/delete/project.d.ts +0 -17
- package/dist/esm/endpoints/delete/registry.d.ts +0 -17
- package/dist/esm/endpoints/delete/secret.d.ts +0 -19
- package/dist/esm/endpoints/delete/secretLink.d.ts +0 -21
- package/dist/esm/endpoints/delete/service.d.ts +0 -19
- package/dist/esm/endpoints/delete/subdomain.d.ts +0 -19
- package/dist/esm/endpoints/delete/template.d.ts +0 -17
- package/dist/esm/endpoints/delete/volume.d.ts +0 -19
- package/dist/esm/endpoints/detach/volume.d.ts +0 -21
- package/dist/esm/endpoints/get/addon/backup/download.d.ts +0 -24
- package/dist/esm/endpoints/get/addon/backup.d.ts +0 -46
- package/dist/esm/endpoints/get/addon/backupSchedules.d.ts +0 -52
- package/dist/esm/endpoints/get/addon/backups.d.ts +0 -54
- package/dist/esm/endpoints/get/addon/containers.d.ts +0 -40
- package/dist/esm/endpoints/get/addon/credentials.d.ts +0 -24
- package/dist/esm/endpoints/get/addon/types.d.ts +0 -48
- package/dist/esm/endpoints/get/addon/version.d.ts +0 -53
- package/dist/esm/endpoints/get/addon.d.ts +0 -71
- package/dist/esm/endpoints/get/cluster.d.ts +0 -55
- package/dist/esm/endpoints/get/dnsId.d.ts +0 -15
- package/dist/esm/endpoints/get/domain.d.ts +0 -33
- package/dist/esm/endpoints/get/integration.d.ts +0 -37
- package/dist/esm/endpoints/get/invoice/details.d.ts +0 -139
- package/dist/esm/endpoints/get/job/branches.d.ts +0 -49
- package/dist/esm/endpoints/get/job/build.d.ts +0 -42
- package/dist/esm/endpoints/get/job/buildArgumentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/job/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/get/job/builds.d.ts +0 -52
- package/dist/esm/endpoints/get/job/containers.d.ts +0 -40
- package/dist/esm/endpoints/get/job/deployment.d.ts +0 -55
- package/dist/esm/endpoints/get/job/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/get/job/pullRequests.d.ts +0 -49
- package/dist/esm/endpoints/get/job/run.d.ts +0 -44
- package/dist/esm/endpoints/get/job/runs.d.ts +0 -54
- package/dist/esm/endpoints/get/job/runtimeEnvironment.d.ts +0 -29
- package/dist/esm/endpoints/get/job/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/job.d.ts +0 -128
- package/dist/esm/endpoints/get/project.d.ts +0 -72
- package/dist/esm/endpoints/get/registry.d.ts +0 -34
- package/dist/esm/endpoints/get/secret.d.ts +0 -55
- package/dist/esm/endpoints/get/secretDetails.d.ts +0 -63
- package/dist/esm/endpoints/get/secretLink.d.ts +0 -44
- package/dist/esm/endpoints/get/service/branches.d.ts +0 -49
- package/dist/esm/endpoints/get/service/build.d.ts +0 -42
- package/dist/esm/endpoints/get/service/buildArgumentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/service/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/get/service/builds.d.ts +0 -52
- package/dist/esm/endpoints/get/service/containers.d.ts +0 -40
- package/dist/esm/endpoints/get/service/deployment.d.ts +0 -55
- package/dist/esm/endpoints/get/service/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/get/service/ports.d.ts +0 -70
- package/dist/esm/endpoints/get/service/pullRequests.d.ts +0 -49
- package/dist/esm/endpoints/get/service/runtimeEnvironment.d.ts +0 -29
- package/dist/esm/endpoints/get/service/runtimeEnvironmentDetails.d.ts +0 -71
- package/dist/esm/endpoints/get/service.d.ts +0 -211
- package/dist/esm/endpoints/get/subdomain.d.ts +0 -30
- package/dist/esm/endpoints/get/template.d.ts +0 -61
- package/dist/esm/endpoints/get/templateRun.d.ts +0 -73
- package/dist/esm/endpoints/get/volume.d.ts +0 -49
- package/dist/esm/endpoints/import/addon/backup.d.ts +0 -31
- package/dist/esm/endpoints/list/addons.d.ts +0 -45
- package/dist/esm/endpoints/list/branches.d.ts +0 -51
- package/dist/esm/endpoints/list/clusters.d.ts +0 -63
- package/dist/esm/endpoints/list/domains.d.ts +0 -34
- package/dist/esm/endpoints/list/integrations.d.ts +0 -36
- package/dist/esm/endpoints/list/invoices.d.ts +0 -40
- package/dist/esm/endpoints/list/jobs.d.ts +0 -46
- package/dist/esm/endpoints/list/plans.d.ts +0 -30
- package/dist/esm/endpoints/list/projects.d.ts +0 -32
- package/dist/esm/endpoints/list/providers.d.ts +0 -37
- package/dist/esm/endpoints/list/regions.d.ts +0 -18
- package/dist/esm/endpoints/list/registries.d.ts +0 -41
- package/dist/esm/endpoints/list/repos.d.ts +0 -51
- package/dist/esm/endpoints/list/secrets.d.ts +0 -54
- package/dist/esm/endpoints/list/services.d.ts +0 -65
- package/dist/esm/endpoints/list/templateRuns.d.ts +0 -54
- package/dist/esm/endpoints/list/templates.d.ts +0 -41
- package/dist/esm/endpoints/list/vcs.d.ts +0 -32
- package/dist/esm/endpoints/list/volumes.d.ts +0 -47
- package/dist/esm/endpoints/pause/addon.d.ts +0 -19
- package/dist/esm/endpoints/pause/job.d.ts +0 -19
- package/dist/esm/endpoints/pause/service.d.ts +0 -19
- package/dist/esm/endpoints/restart/addon.d.ts +0 -19
- package/dist/esm/endpoints/restart/service.d.ts +0 -19
- package/dist/esm/endpoints/restore/addon/backup.d.ts +0 -24
- package/dist/esm/endpoints/resume/addon.d.ts +0 -19
- package/dist/esm/endpoints/resume/job.d.ts +0 -28
- package/dist/esm/endpoints/resume/service.d.ts +0 -28
- package/dist/esm/endpoints/retain/addon/backup.d.ts +0 -21
- package/dist/esm/endpoints/run/template.d.ts +0 -62
- package/dist/esm/endpoints/scale/addon.d.ts +0 -28
- package/dist/esm/endpoints/scale/job.d.ts +0 -30
- package/dist/esm/endpoints/scale/service.d.ts +0 -32
- package/dist/esm/endpoints/start/job/build.d.ts +0 -47
- package/dist/esm/endpoints/start/job/run.d.ts +0 -74
- package/dist/esm/endpoints/start/service/build.d.ts +0 -55
- package/dist/esm/endpoints/suspend/job.d.ts +0 -24
- package/dist/esm/endpoints/unassign/subdomain.d.ts +0 -19
- package/dist/esm/endpoints/update/addon/networkSettings.d.ts +0 -26
- package/dist/esm/endpoints/update/addon/security.d.ts +0 -29
- package/dist/esm/endpoints/update/addon/version.d.ts +0 -24
- package/dist/esm/endpoints/update/cluster.d.ts +0 -76
- package/dist/esm/endpoints/update/integration.d.ts +0 -53
- package/dist/esm/endpoints/update/job/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/update/job/buildOptions.d.ts +0 -50
- package/dist/esm/endpoints/update/job/buildSource.d.ts +0 -32
- package/dist/esm/endpoints/update/job/cmdOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/job/deployment.d.ts +0 -39
- package/dist/esm/endpoints/update/job/entrypointOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/job/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/update/job/runtimeEnvironment.d.ts +0 -29
- package/dist/esm/endpoints/update/job/settings.d.ts +0 -32
- package/dist/esm/endpoints/update/registry.d.ts +0 -31
- package/dist/esm/endpoints/update/secret.d.ts +0 -58
- package/dist/esm/endpoints/update/secretLink.d.ts +0 -40
- package/dist/esm/endpoints/update/service/buildArguments.d.ts +0 -29
- package/dist/esm/endpoints/update/service/buildOptions.d.ts +0 -62
- package/dist/esm/endpoints/update/service/buildSource.d.ts +0 -32
- package/dist/esm/endpoints/update/service/cmdOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/service/deployment.d.ts +0 -39
- package/dist/esm/endpoints/update/service/entrypointOverride.d.ts +0 -24
- package/dist/esm/endpoints/update/service/healthChecks.d.ts +0 -45
- package/dist/esm/endpoints/update/service/ports.d.ts +0 -57
- package/dist/esm/endpoints/update/service/runtimeEnvironment.d.ts +0 -34
- package/dist/esm/endpoints/update/template.d.ts +0 -81
- package/dist/esm/endpoints/update/volume.d.ts +0 -33
- package/dist/esm/endpoints/verify/domain.d.ts +0 -17
- package/dist/esm/endpoints/verify/subdomain.d.ts +0 -19
- package/dist/esm/exec-command/client/exec-command-runner.d.ts +0 -70
- package/dist/esm/exec-command/client/exec-command-standard.d.ts +0 -42
- package/dist/esm/port-forward/client/api-helper.d.ts +0 -30
- package/dist/esm/port-forward/client/atomic-write.d.ts +0 -2
- package/dist/esm/port-forward/client/host-file-ast.d.ts +0 -52
- package/dist/esm/port-forward/client/host-file.d.ts +0 -26
- package/dist/esm/port-forward/client/loopback.d.ts +0 -4
- package/dist/esm/port-forward/client/port-forwarder.d.ts +0 -87
- package/dist/esm/port-forward/client/port-tunnel-tcp.d.ts +0 -36
- package/dist/esm/port-forward/client/port-tunnel-udp.d.ts +0 -27
- package/dist/esm/port-forward/client/promise-mutex.d.ts +0 -4
- package/dist/esm/utils.d.ts +0 -21
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type CreateTemplateResult = {
|
|
3
|
-
/** Details about the newly created template. */
|
|
4
|
-
'template': {
|
|
5
|
-
/** ID of the template. Example: "example-template" */
|
|
6
|
-
'id': string;
|
|
7
|
-
/** Timestamp of when the template was created. Example: "2022-06-14 15:10:42.842Z" */
|
|
8
|
-
'createdAt': string;
|
|
9
|
-
/** Timestamp of when the template was last updated. Example: "2022-06-14 15:10:42.842Z" */
|
|
10
|
-
'updatedAt': string;
|
|
11
|
-
'content'?: {
|
|
12
|
-
/** Name of the template. Example: "Example Template" */
|
|
13
|
-
'name': string;
|
|
14
|
-
/** Description of the template. Example: "This is a sample template." */
|
|
15
|
-
'description'?: string;
|
|
16
|
-
/** The version of the Northflank API to run the template against. Example: "v1" */
|
|
17
|
-
'apiVersion': 'v1';
|
|
18
|
-
/** Details of the project the template will run in. */
|
|
19
|
-
'project': {
|
|
20
|
-
/** The ID of the project to use. */
|
|
21
|
-
'id': string;
|
|
22
|
-
} | {
|
|
23
|
-
/** Details about the project to create. */
|
|
24
|
-
'spec': {
|
|
25
|
-
/** The name of the project. Example: "New Project" */
|
|
26
|
-
'name': string;
|
|
27
|
-
/** The description of the project. Example: "This is a new project." */
|
|
28
|
-
'description'?: string;
|
|
29
|
-
/** The region the project will be hosted in. Example: "europe-west" */
|
|
30
|
-
'region'?: string;
|
|
31
|
-
/** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
|
|
32
|
-
'clusterId'?: string;
|
|
33
|
-
/** The color of the project in the Northflank App. Example: "#EF233C" */
|
|
34
|
-
'color'?: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
'spec': any;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
/** Details about the newly created template run. */
|
|
41
|
-
'templateRun'?: {
|
|
42
|
-
/** ID of the template run. Example: "501c1e03-a021-4659-9048-85f8f6ee2bc7" */
|
|
43
|
-
'id': string;
|
|
44
|
-
/** Timestamp of when the run was initiated. Example: "2022-06-14 15:10:42.842Z" */
|
|
45
|
-
'createdAt': string;
|
|
46
|
-
/** Timestamp of when the run was last updated. Example: "2022-06-14 15:10:42.842Z" */
|
|
47
|
-
'updatedAt': string;
|
|
48
|
-
/** Details about the template being run. */
|
|
49
|
-
'template': {
|
|
50
|
-
/** ID of the template Example: "example-template" */
|
|
51
|
-
'id': string;
|
|
52
|
-
/** The name of the template Example: "Example Template" */
|
|
53
|
-
'name': string;
|
|
54
|
-
};
|
|
55
|
-
/** Status of the template run. Example: "success" */
|
|
56
|
-
'status': 'waiting' | 'failure' | 'retrying' | 'success' | 'unknown';
|
|
57
|
-
/** Details about the template run. */
|
|
58
|
-
'content': {
|
|
59
|
-
/** Name of the template. Example: "Example Template" */
|
|
60
|
-
'name': string;
|
|
61
|
-
/** Description of the template. Example: "This is a sample template." */
|
|
62
|
-
'description'?: string;
|
|
63
|
-
/** The version of the Northflank API to run the template against. Example: "v1" */
|
|
64
|
-
'apiVersion': 'v1';
|
|
65
|
-
/** Details of the project the template will run in. */
|
|
66
|
-
'project': {
|
|
67
|
-
/** The ID of the project to use. */
|
|
68
|
-
'id': string;
|
|
69
|
-
} | {
|
|
70
|
-
/** Details about the project to create. */
|
|
71
|
-
'spec': {
|
|
72
|
-
/** The name of the project. Example: "New Project" */
|
|
73
|
-
'name': string;
|
|
74
|
-
/** The description of the project. Example: "This is a new project." */
|
|
75
|
-
'description'?: string;
|
|
76
|
-
/** The region the project will be hosted in. Example: "europe-west" */
|
|
77
|
-
'region'?: string;
|
|
78
|
-
/** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
|
|
79
|
-
'clusterId'?: string;
|
|
80
|
-
/** The color of the project in the Northflank App. Example: "#EF233C" */
|
|
81
|
-
'color'?: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
'spec': any;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export declare type CreateTemplateCall = (opts: CreateTemplateRequest) => Promise<ApiCallResponse<CreateTemplateResult>>;
|
|
89
|
-
export declare type CreateTemplateRequest = {
|
|
90
|
-
data: CreateTemplateData;
|
|
91
|
-
};
|
|
92
|
-
export declare type CreateTemplateData = {
|
|
93
|
-
/** Name of the template. Example: "Example Template" */
|
|
94
|
-
'name': string;
|
|
95
|
-
/** Description of the template. Example: "This is a sample template." */
|
|
96
|
-
'description'?: string;
|
|
97
|
-
/** The version of the Northflank API to run the template against. Example: "v1" */
|
|
98
|
-
'apiVersion': 'v1';
|
|
99
|
-
/** Details of the project the template will run in. */
|
|
100
|
-
'project': {
|
|
101
|
-
/** The ID of the project to use. */
|
|
102
|
-
'id': string;
|
|
103
|
-
} | {
|
|
104
|
-
/** Details about the project to create. */
|
|
105
|
-
'spec': {
|
|
106
|
-
/** The name of the project. Example: "New Project" */
|
|
107
|
-
'name': string;
|
|
108
|
-
/** The description of the project. Example: "This is a new project." */
|
|
109
|
-
'description'?: string;
|
|
110
|
-
/** The region the project will be hosted in. Example: "europe-west" */
|
|
111
|
-
'region'?: string;
|
|
112
|
-
/** The BYOC cluster this project will be hosted in. Example: "gcp-cluster-1" */
|
|
113
|
-
'clusterId'?: string;
|
|
114
|
-
/** The color of the project in the Northflank App. Example: "#EF233C" */
|
|
115
|
-
'color'?: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
'spec': any;
|
|
119
|
-
/** Additional options for the template creation. */
|
|
120
|
-
'options'?: {
|
|
121
|
-
/** If true, the template will be ran immediately after creation. Example: true */
|
|
122
|
-
'runOnCreation'?: boolean;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
/** Create a template */
|
|
126
|
-
export declare class CreateTemplateEndpoint extends PostApiEndpoint<CreateTemplateRequest, CreateTemplateResult> {
|
|
127
|
-
description: string;
|
|
128
|
-
withAuth: boolean;
|
|
129
|
-
requiredPermissions: string;
|
|
130
|
-
endpointUrl: (opts: CreateTemplateRequest) => string;
|
|
131
|
-
body: (payload: CreateTemplateRequest) => string;
|
|
132
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type CreateVolumeResult = {
|
|
3
|
-
/** Identifier for the volume Example: "example-volume" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Volume name Example: "Example Volume" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
|
|
8
|
-
'spec': {
|
|
9
|
-
/** The type of the storage. Example: "ssd" */
|
|
10
|
-
'storageClassName'?: 'ssd';
|
|
11
|
-
/** Storage size of the SSD. Example: 4096 */
|
|
12
|
-
'storageSize': number;
|
|
13
|
-
} | {
|
|
14
|
-
/** The type of the storage. Example: "hdd" */
|
|
15
|
-
'storageClassName': 'hdd';
|
|
16
|
-
/** Storage size of the HDD. Example: 40960 */
|
|
17
|
-
'storageSize': number;
|
|
18
|
-
};
|
|
19
|
-
/** The object to attach this volume to. */
|
|
20
|
-
'owningObject'?: {
|
|
21
|
-
/** The internal id of object to attach this volume to. Example: "example-service" */
|
|
22
|
-
'id': string;
|
|
23
|
-
/** The type of the object to attach this volume to. Example: "service" */
|
|
24
|
-
'type': 'service';
|
|
25
|
-
};
|
|
26
|
-
/** Status the volume is in on the cluster Example: "BOUND" */
|
|
27
|
-
'status': string;
|
|
28
|
-
/** The timestamp the volume was created at Example: "2021-01-01 12:00:00.000Z" */
|
|
29
|
-
'createdAt': string;
|
|
30
|
-
/** The timestamp the volume was last updated at Example: "2021-01-01 12:00:00.000Z" */
|
|
31
|
-
'updatedAt': string;
|
|
32
|
-
} | any;
|
|
33
|
-
export declare type CreateVolumeCall = (opts: CreateVolumeRequest) => Promise<ApiCallResponse<CreateVolumeResult>>;
|
|
34
|
-
export declare type CreateVolumeRequest = {
|
|
35
|
-
parameters: CreateVolumeParameters;
|
|
36
|
-
data: CreateVolumeData;
|
|
37
|
-
};
|
|
38
|
-
export declare type CreateVolumeParameters = {
|
|
39
|
-
/** ID of the project */ 'projectId': string;
|
|
40
|
-
};
|
|
41
|
-
export declare type CreateVolumeData = {
|
|
42
|
-
/** The name of the volume. Example: "Example Volume" */
|
|
43
|
-
'name': string;
|
|
44
|
-
/** Array of mounts, containerMountPaths must be unique */
|
|
45
|
-
'mounts': {
|
|
46
|
-
/** Optionally specify the path inside this volume that should be mounted */
|
|
47
|
-
'volumeMountPath'?: string;
|
|
48
|
-
/** Specify the path into which the volume should be mounted Example: "/container" */
|
|
49
|
-
'containerMountPath': string;
|
|
50
|
-
}[];
|
|
51
|
-
/** Information about the desired size and type of the volume. Storage class is only configurable with the relevant feature flag enabled for your account. */
|
|
52
|
-
'spec': {
|
|
53
|
-
/** The type of the storage. Example: "ssd" */
|
|
54
|
-
'storageClassName'?: 'ssd';
|
|
55
|
-
/** Storage size of the SSD. Example: 4096 */
|
|
56
|
-
'storageSize': number;
|
|
57
|
-
} | {
|
|
58
|
-
/** The type of the storage. Example: "hdd" */
|
|
59
|
-
'storageClassName': 'hdd';
|
|
60
|
-
/** Storage size of the HDD. Example: 40960 */
|
|
61
|
-
'storageSize': number;
|
|
62
|
-
};
|
|
63
|
-
/** The object to attach this volume to. */
|
|
64
|
-
'owningObject'?: {
|
|
65
|
-
/** The internal id of object to attach this volume to. Example: "example-service" */
|
|
66
|
-
'id': string;
|
|
67
|
-
/** The type of the object to attach this volume to. Example: "service" */
|
|
68
|
-
'type': 'service';
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
/** Creates a volume with the specified payload */
|
|
72
|
-
export declare class CreateVolumeEndpoint extends PostApiEndpoint<CreateVolumeRequest, CreateVolumeResult> {
|
|
73
|
-
description: string;
|
|
74
|
-
withAuth: boolean;
|
|
75
|
-
requiredPermissions: string;
|
|
76
|
-
endpointUrl: (opts: CreateVolumeRequest) => string;
|
|
77
|
-
body: (payload: CreateVolumeRequest) => string;
|
|
78
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type DeleteAddonBackupscheduleResult = any;
|
|
3
|
-
export declare type DeleteAddonBackupscheduleCall = (opts: DeleteAddonBackupscheduleRequest) => Promise<ApiCallResponse<DeleteAddonBackupscheduleResult>>;
|
|
4
|
-
export declare type DeleteAddonBackupscheduleRequest = {
|
|
5
|
-
parameters: DeleteAddonBackupscheduleParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteAddonBackupscheduleParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the addon */
|
|
10
|
-
'addonId': string;
|
|
11
|
-
/** ID of the backup schedule */
|
|
12
|
-
'scheduleId': string;
|
|
13
|
-
};
|
|
14
|
-
/** Deletes a backup schedule for an addon. */
|
|
15
|
-
export declare class DeleteAddonBackupscheduleEndpoint extends DeleteApiEndpoint<DeleteAddonBackupscheduleRequest, DeleteAddonBackupscheduleResult> {
|
|
16
|
-
description: string;
|
|
17
|
-
withAuth: boolean;
|
|
18
|
-
requiredPermissions: string;
|
|
19
|
-
endpointUrl: (opts: DeleteAddonBackupscheduleRequest) => string;
|
|
20
|
-
body: () => undefined;
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteAddonResult = any;
|
|
3
|
-
export declare type DeleteAddonCall = (opts: DeleteAddonRequest) => Promise<ApiCallResponse<DeleteAddonResult>>;
|
|
4
|
-
export declare type DeleteAddonRequest = {
|
|
5
|
-
parameters: DeleteAddonParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteAddonParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the addon */
|
|
10
|
-
'addonId': string;
|
|
11
|
-
};
|
|
12
|
-
/** Deletes the given addon. */
|
|
13
|
-
export declare class DeleteAddonEndpoint extends DeleteApiEndpoint<DeleteAddonRequest, DeleteAddonResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: DeleteAddonRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteBackupResult = any;
|
|
3
|
-
export declare type DeleteBackupCall = (opts: DeleteBackupRequest) => Promise<ApiCallResponse<DeleteBackupResult>>;
|
|
4
|
-
export declare type DeleteBackupRequest = {
|
|
5
|
-
parameters: DeleteBackupParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteBackupParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the addon */
|
|
10
|
-
'addonId': string;
|
|
11
|
-
/** ID of the backup */
|
|
12
|
-
'backupId': string;
|
|
13
|
-
};
|
|
14
|
-
/** Deletes a given backup */
|
|
15
|
-
export declare class DeleteBackupEndpoint extends DeleteApiEndpoint<DeleteBackupRequest, DeleteBackupResult> {
|
|
16
|
-
description: string;
|
|
17
|
-
withAuth: boolean;
|
|
18
|
-
requiredPermissions: string;
|
|
19
|
-
endpointUrl: (opts: DeleteBackupRequest) => string;
|
|
20
|
-
body: () => undefined;
|
|
21
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteClusterResult = any | any;
|
|
3
|
-
export declare type DeleteClusterCall = (opts: DeleteClusterRequest) => Promise<ApiCallResponse<DeleteClusterResult>>;
|
|
4
|
-
export declare type DeleteClusterRequest = {
|
|
5
|
-
parameters: DeleteClusterParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteClusterParameters = {
|
|
8
|
-
/** ID of the cluster */ 'clusterId': string;
|
|
9
|
-
};
|
|
10
|
-
/** Delete the given cluster. Fails if the cluster has associated projects. */
|
|
11
|
-
export declare class DeleteClusterEndpoint extends DeleteApiEndpoint<DeleteClusterRequest, DeleteClusterResult> {
|
|
12
|
-
description: string;
|
|
13
|
-
withAuth: boolean;
|
|
14
|
-
requiredPermissions: string;
|
|
15
|
-
endpointUrl: (opts: DeleteClusterRequest) => string;
|
|
16
|
-
body: () => undefined;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteDomainResult = any;
|
|
3
|
-
export declare type DeleteDomainCall = (opts: DeleteDomainRequest) => Promise<ApiCallResponse<DeleteDomainResult>>;
|
|
4
|
-
export declare type DeleteDomainRequest = {
|
|
5
|
-
parameters: DeleteDomainParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteDomainParameters = {
|
|
8
|
-
/** Name of the domain */ 'domain': string;
|
|
9
|
-
};
|
|
10
|
-
/** Deletes a domain and each of its registered subdomains. */
|
|
11
|
-
export declare class DeleteDomainEndpoint extends DeleteApiEndpoint<DeleteDomainRequest, DeleteDomainResult> {
|
|
12
|
-
description: string;
|
|
13
|
-
withAuth: boolean;
|
|
14
|
-
requiredPermissions: string;
|
|
15
|
-
endpointUrl: (opts: DeleteDomainRequest) => string;
|
|
16
|
-
body: () => undefined;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteIntegrationResult = any | any;
|
|
3
|
-
export declare type DeleteIntegrationCall = (opts: DeleteIntegrationRequest) => Promise<ApiCallResponse<DeleteIntegrationResult>>;
|
|
4
|
-
export declare type DeleteIntegrationRequest = {
|
|
5
|
-
parameters: DeleteIntegrationParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteIntegrationParameters = {
|
|
8
|
-
/** ID of the provider integration */ 'integrationId': string;
|
|
9
|
-
};
|
|
10
|
-
/** Delete the given integration. Fails if the integration is associated with existing clusters. */
|
|
11
|
-
export declare class DeleteIntegrationEndpoint extends DeleteApiEndpoint<DeleteIntegrationRequest, DeleteIntegrationResult> {
|
|
12
|
-
description: string;
|
|
13
|
-
withAuth: boolean;
|
|
14
|
-
requiredPermissions: string;
|
|
15
|
-
endpointUrl: (opts: DeleteIntegrationRequest) => string;
|
|
16
|
-
body: () => undefined;
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteJobResult = any;
|
|
3
|
-
export declare type DeleteJobCall = (opts: DeleteJobRequest) => Promise<ApiCallResponse<DeleteJobResult>>;
|
|
4
|
-
export declare type DeleteJobRequest = {
|
|
5
|
-
parameters: DeleteJobParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteJobParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the job */
|
|
10
|
-
'jobId': string;
|
|
11
|
-
};
|
|
12
|
-
/** Deletes the given job. */
|
|
13
|
-
export declare class DeleteJobEndpoint extends DeleteApiEndpoint<DeleteJobRequest, DeleteJobResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: DeleteJobRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteProjectResult = any | any;
|
|
3
|
-
export declare type DeleteProjectCall = (opts: DeleteProjectRequest) => Promise<ApiCallResponse<DeleteProjectResult>>;
|
|
4
|
-
export declare type DeleteProjectRequest = {
|
|
5
|
-
parameters: DeleteProjectParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteProjectParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
};
|
|
10
|
-
/** Delete the given project. Fails if the project isn't empty. */
|
|
11
|
-
export declare class DeleteProjectEndpoint extends DeleteApiEndpoint<DeleteProjectRequest, DeleteProjectResult> {
|
|
12
|
-
description: string;
|
|
13
|
-
withAuth: boolean;
|
|
14
|
-
requiredPermissions: string;
|
|
15
|
-
endpointUrl: (opts: DeleteProjectRequest) => string;
|
|
16
|
-
body: () => undefined;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteRegistryResult = any;
|
|
3
|
-
export declare type DeleteRegistryCall = (opts: DeleteRegistryRequest) => Promise<ApiCallResponse<DeleteRegistryResult>>;
|
|
4
|
-
export declare type DeleteRegistryRequest = {
|
|
5
|
-
parameters: DeleteRegistryParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteRegistryParameters = {
|
|
8
|
-
/** ID of the registry credential */ 'credentialId': string;
|
|
9
|
-
};
|
|
10
|
-
/** Deletes a set of registry credential data. */
|
|
11
|
-
export declare class DeleteRegistryEndpoint extends DeleteApiEndpoint<DeleteRegistryRequest, DeleteRegistryResult> {
|
|
12
|
-
description: string;
|
|
13
|
-
withAuth: boolean;
|
|
14
|
-
requiredPermissions: string;
|
|
15
|
-
endpointUrl: (opts: DeleteRegistryRequest) => string;
|
|
16
|
-
body: () => undefined;
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteSecretResult = any;
|
|
3
|
-
export declare type DeleteSecretCall = (opts: DeleteSecretRequest) => Promise<ApiCallResponse<DeleteSecretResult>>;
|
|
4
|
-
export declare type DeleteSecretRequest = {
|
|
5
|
-
parameters: DeleteSecretParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteSecretParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the secret */
|
|
10
|
-
'secretId': string;
|
|
11
|
-
};
|
|
12
|
-
/** Delete a secret */
|
|
13
|
-
export declare class DeleteSecretEndpoint extends DeleteApiEndpoint<DeleteSecretRequest, DeleteSecretResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: DeleteSecretRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteSecretlinkResult = any;
|
|
3
|
-
export declare type DeleteSecretlinkCall = (opts: DeleteSecretlinkRequest) => Promise<ApiCallResponse<DeleteSecretlinkResult>>;
|
|
4
|
-
export declare type DeleteSecretlinkRequest = {
|
|
5
|
-
parameters: DeleteSecretlinkParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteSecretlinkParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the secret */
|
|
10
|
-
'secretId': string;
|
|
11
|
-
/** ID of the addon */
|
|
12
|
-
'addonId': string;
|
|
13
|
-
};
|
|
14
|
-
/** Unlinks an addon from the secret group. */
|
|
15
|
-
export declare class DeleteSecretlinkEndpoint extends DeleteApiEndpoint<DeleteSecretlinkRequest, DeleteSecretlinkResult> {
|
|
16
|
-
description: string;
|
|
17
|
-
withAuth: boolean;
|
|
18
|
-
requiredPermissions: string;
|
|
19
|
-
endpointUrl: (opts: DeleteSecretlinkRequest) => string;
|
|
20
|
-
body: () => undefined;
|
|
21
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteServiceResult = any;
|
|
3
|
-
export declare type DeleteServiceCall = (opts: DeleteServiceRequest) => Promise<ApiCallResponse<DeleteServiceResult>>;
|
|
4
|
-
export declare type DeleteServiceRequest = {
|
|
5
|
-
parameters: DeleteServiceParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteServiceParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the service */
|
|
10
|
-
'serviceId': string;
|
|
11
|
-
};
|
|
12
|
-
/** Deletes the given service. */
|
|
13
|
-
export declare class DeleteServiceEndpoint extends DeleteApiEndpoint<DeleteServiceRequest, DeleteServiceResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: DeleteServiceRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteSubdomainResult = any | any;
|
|
3
|
-
export declare type DeleteSubdomainCall = (opts: DeleteSubdomainRequest) => Promise<ApiCallResponse<DeleteSubdomainResult>>;
|
|
4
|
-
export declare type DeleteSubdomainRequest = {
|
|
5
|
-
parameters: DeleteSubdomainParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteSubdomainParameters = {
|
|
8
|
-
/** Name of the domain */ 'domain': string;
|
|
9
|
-
/** Name of the subdomain */
|
|
10
|
-
'subdomain': string;
|
|
11
|
-
};
|
|
12
|
-
/** Removes a subdomain from a domain. */
|
|
13
|
-
export declare class DeleteSubdomainEndpoint extends DeleteApiEndpoint<DeleteSubdomainRequest, DeleteSubdomainResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: DeleteSubdomainRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteTemplateResult = any;
|
|
3
|
-
export declare type DeleteTemplateCall = (opts: DeleteTemplateRequest) => Promise<ApiCallResponse<DeleteTemplateResult>>;
|
|
4
|
-
export declare type DeleteTemplateRequest = {
|
|
5
|
-
parameters: DeleteTemplateParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteTemplateParameters = {
|
|
8
|
-
/** ID of the template */ 'templateId': string;
|
|
9
|
-
};
|
|
10
|
-
/** Delete a template */
|
|
11
|
-
export declare class DeleteTemplateEndpoint extends DeleteApiEndpoint<DeleteTemplateRequest, DeleteTemplateResult> {
|
|
12
|
-
description: string;
|
|
13
|
-
withAuth: boolean;
|
|
14
|
-
requiredPermissions: string;
|
|
15
|
-
endpointUrl: (opts: DeleteTemplateRequest) => string;
|
|
16
|
-
body: () => undefined;
|
|
17
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, DeleteApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DeleteVolumeResult = any;
|
|
3
|
-
export declare type DeleteVolumeCall = (opts: DeleteVolumeRequest) => Promise<ApiCallResponse<DeleteVolumeResult>>;
|
|
4
|
-
export declare type DeleteVolumeRequest = {
|
|
5
|
-
parameters: DeleteVolumeParameters;
|
|
6
|
-
};
|
|
7
|
-
export declare type DeleteVolumeParameters = {
|
|
8
|
-
/** ID of the project */ 'projectId': string;
|
|
9
|
-
/** ID of the volume */
|
|
10
|
-
'volumeId': string;
|
|
11
|
-
};
|
|
12
|
-
/** Deletes this volume and its associated data. */
|
|
13
|
-
export declare class DeleteVolumeEndpoint extends DeleteApiEndpoint<DeleteVolumeRequest, DeleteVolumeResult> {
|
|
14
|
-
description: string;
|
|
15
|
-
withAuth: boolean;
|
|
16
|
-
requiredPermissions: string;
|
|
17
|
-
endpointUrl: (opts: DeleteVolumeRequest) => string;
|
|
18
|
-
body: () => undefined;
|
|
19
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, PostApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type DetachVolumeResult = any;
|
|
3
|
-
export declare type DetachVolumeCall = (opts: DetachVolumeRequest) => Promise<ApiCallResponse<DetachVolumeResult>>;
|
|
4
|
-
export declare type DetachVolumeRequest = {
|
|
5
|
-
parameters: DetachVolumeParameters;
|
|
6
|
-
data: DetachVolumeData;
|
|
7
|
-
};
|
|
8
|
-
export declare type DetachVolumeParameters = {
|
|
9
|
-
/** ID of the project */ 'projectId': string;
|
|
10
|
-
/** ID of the volume */
|
|
11
|
-
'volumeId': string;
|
|
12
|
-
};
|
|
13
|
-
export declare type DetachVolumeData = any;
|
|
14
|
-
/** Detach a volume */
|
|
15
|
-
export declare class DetachVolumeEndpoint extends PostApiEndpoint<DetachVolumeRequest, DetachVolumeResult> {
|
|
16
|
-
description: string;
|
|
17
|
-
withAuth: boolean;
|
|
18
|
-
requiredPermissions: string;
|
|
19
|
-
endpointUrl: (opts: DetachVolumeRequest) => string;
|
|
20
|
-
body: (payload: DetachVolumeRequest) => string;
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonBackupDownloadResult = {
|
|
3
|
-
/** The url to download the backup from. Example: "https://storage.googleapis.com/..." */
|
|
4
|
-
'downloadLink': string;
|
|
5
|
-
};
|
|
6
|
-
export declare type GetAddonBackupDownloadCall = (opts: GetAddonBackupDownloadRequest) => Promise<ApiCallResponse<GetAddonBackupDownloadResult>>;
|
|
7
|
-
export declare type GetAddonBackupDownloadRequest = {
|
|
8
|
-
parameters: GetAddonBackupDownloadParameters;
|
|
9
|
-
};
|
|
10
|
-
export declare type GetAddonBackupDownloadParameters = {
|
|
11
|
-
/** ID of the project */ 'projectId': string;
|
|
12
|
-
/** ID of the addon */
|
|
13
|
-
'addonId': string;
|
|
14
|
-
/** ID of the backup */
|
|
15
|
-
'backupId': string;
|
|
16
|
-
};
|
|
17
|
-
/** Generates a temporary download link for downloading the given backup. */
|
|
18
|
-
export declare class GetAddonBackupDownloadEndpoint extends GetApiEndpoint<GetAddonBackupDownloadRequest, GetAddonBackupDownloadResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: GetAddonBackupDownloadRequest) => string;
|
|
23
|
-
body: () => undefined;
|
|
24
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonBackupResult = {
|
|
3
|
-
/** The identifier for the backup. Example: "example-backup" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the backup. Example: "Example Backup" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** The current status of the backup. Example: "completed" */
|
|
8
|
-
'status': 'scheduled' | 'in-progress' | 'completed' | 'aborting' | 'aborted' | 'failed' | 'not-supported';
|
|
9
|
-
/** The time the backup was initiated. Example: "2021-01-20T11:19:53.175Z" */
|
|
10
|
-
'createdAt': string;
|
|
11
|
-
/** The time the backup was completed. Example: "2021-01-20T11:19:54.494Z" */
|
|
12
|
-
'completedAt': string;
|
|
13
|
-
/** Data about the backup configuration. */
|
|
14
|
-
'config': {
|
|
15
|
-
/** Data about the source of the backup. */
|
|
16
|
-
'source'?: {
|
|
17
|
-
/** The type of backup. Example: "snapshot" */
|
|
18
|
-
'type'?: 'fileUpload' | 'liveInstance' | 'snapshot' | 'externalDump' | 'sameAddon';
|
|
19
|
-
};
|
|
20
|
-
/** The size of the backup, in bytes Example: "1234" */
|
|
21
|
-
'size': string;
|
|
22
|
-
/** The version of the addon at the time of the backup. If the backup type is `snapshot`, the addon will be restored to this version when the backup is restored. Example: "4.4.8" */
|
|
23
|
-
'addonVersion'?: string;
|
|
24
|
-
};
|
|
25
|
-
/** An object containing the restore history for the given backup. Example: {"1611305397038":{"restoreTimestamp":"2021-01-22T08:49:57.038Z","status":"completed","completedAt":"2021-01-22T08:50:30.749Z"}} */
|
|
26
|
-
'restores': any;
|
|
27
|
-
};
|
|
28
|
-
export declare type GetAddonBackupCall = (opts: GetAddonBackupRequest) => Promise<ApiCallResponse<GetAddonBackupResult>>;
|
|
29
|
-
export declare type GetAddonBackupRequest = {
|
|
30
|
-
parameters: GetAddonBackupParameters;
|
|
31
|
-
};
|
|
32
|
-
export declare type GetAddonBackupParameters = {
|
|
33
|
-
/** ID of the project */ 'projectId': string;
|
|
34
|
-
/** ID of the addon */
|
|
35
|
-
'addonId': string;
|
|
36
|
-
/** ID of the backup */
|
|
37
|
-
'backupId': string;
|
|
38
|
-
};
|
|
39
|
-
/** Gets details about a given backup including restore history */
|
|
40
|
-
export declare class GetAddonBackupEndpoint extends GetApiEndpoint<GetAddonBackupRequest, GetAddonBackupResult> {
|
|
41
|
-
description: string;
|
|
42
|
-
withAuth: boolean;
|
|
43
|
-
requiredPermissions: string;
|
|
44
|
-
endpointUrl: (opts: GetAddonBackupRequest) => string;
|
|
45
|
-
body: () => undefined;
|
|
46
|
-
}
|