@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,52 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonBackupschedulesResult = {
|
|
3
|
-
'schedules'?: {
|
|
4
|
-
/** ID of the schedule. Example: "62cc20b90956ab62a58e8474" */
|
|
5
|
-
'id': string;
|
|
6
|
-
/** The type of backup being performed. Example: "snapshot" */
|
|
7
|
-
'backupType': 'dump' | 'snapshot';
|
|
8
|
-
/** Information about the scheduling for the backup schedule. */
|
|
9
|
-
'scheduling': {
|
|
10
|
-
/** The interval between backups. Each addon can only have one backup schedule of each interval for each backup type. Example: "weekly" */
|
|
11
|
-
'interval': 'hourly' | 'daily' | 'weekly';
|
|
12
|
-
/** An array of minutes when the backup should be performed. */
|
|
13
|
-
'minute': number[];
|
|
14
|
-
/** An array of hours in 24 hour format when the backup should be performed. At these hours, a backup will be performed at each of the minutes provided in the `minute` field. Required for `daily` and `weekly` intervals and unavailable for `hourly` intervals. */
|
|
15
|
-
'hour'?: number[];
|
|
16
|
-
/** An array of days of the week when the backup should be performed, where `0` represents Monday and `6` represents Sunday. On these days, a backup will be performed at each of the minutes provided in the `minute` field whenever it is an hour from the `hour` field. Required for `weekly` intervals and unavailable for `hourly` and `daily` intervals. */
|
|
17
|
-
'day'?: number[];
|
|
18
|
-
};
|
|
19
|
-
/** The time, in days, that the backups are retained for. Example: 7 */
|
|
20
|
-
'retentionTime': number;
|
|
21
|
-
/** The timestamp the backup schedule was created. Example: "2022-07-11T13:08:09.626Z" */
|
|
22
|
-
'createdAt': string;
|
|
23
|
-
/** The timestamp the backup schedule was last updated. Example: "2022-07-11T13:08:09.626Z" */
|
|
24
|
-
'updatedAt': string;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
export declare type GetAddonBackupschedulesCall = (opts: GetAddonBackupschedulesRequest) => Promise<ApiCallResponse<GetAddonBackupschedulesResult>>;
|
|
28
|
-
export declare type GetAddonBackupschedulesRequest = {
|
|
29
|
-
parameters: GetAddonBackupschedulesParameters;
|
|
30
|
-
options?: GetAddonBackupschedulesOptions;
|
|
31
|
-
};
|
|
32
|
-
export declare type GetAddonBackupschedulesParameters = {
|
|
33
|
-
/** ID of the project */ 'projectId': string;
|
|
34
|
-
/** ID of the addon */
|
|
35
|
-
'addonId': string;
|
|
36
|
-
};
|
|
37
|
-
export declare type GetAddonBackupschedulesOptions = {
|
|
38
|
-
/** The number of results to display per request. Maximum of 100 results per page. */
|
|
39
|
-
'per_page'?: number;
|
|
40
|
-
/** The page number to access. */
|
|
41
|
-
'page'?: number;
|
|
42
|
-
/** The cursor returned from the previous page of results, used to request the next page. */
|
|
43
|
-
'cursor'?: string;
|
|
44
|
-
};
|
|
45
|
-
/** Gets details about an addon's backup schedules */
|
|
46
|
-
export declare class GetAddonBackupschedulesEndpoint extends GetApiEndpoint<GetAddonBackupschedulesRequest, GetAddonBackupschedulesResult> {
|
|
47
|
-
description: string;
|
|
48
|
-
withAuth: boolean;
|
|
49
|
-
requiredPermissions: string;
|
|
50
|
-
endpointUrl: (opts: GetAddonBackupschedulesRequest) => string;
|
|
51
|
-
body: () => undefined;
|
|
52
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonBackupsResult = {
|
|
3
|
-
/** A list of backups for the given addon. */
|
|
4
|
-
'backups': {
|
|
5
|
-
/** The identifier for the backup. Example: "example-backup" */
|
|
6
|
-
'id': string;
|
|
7
|
-
/** The name of the backup. Example: "Example Backup" */
|
|
8
|
-
'name': string;
|
|
9
|
-
/** The current status of the backup. Example: "completed" */
|
|
10
|
-
'status': 'scheduled' | 'in-progress' | 'completed' | 'aborting' | 'aborted' | 'failed' | 'not-supported';
|
|
11
|
-
/** The time the backup was initiated. Example: "2021-01-20T11:19:53.175Z" */
|
|
12
|
-
'createdAt': string;
|
|
13
|
-
/** The time the backup was completed. Example: "2021-01-20T11:19:54.494Z" */
|
|
14
|
-
'completedAt': string;
|
|
15
|
-
/** Data about the backup configuration. */
|
|
16
|
-
'config': {
|
|
17
|
-
/** Data about the source of the backup. */
|
|
18
|
-
'source'?: {
|
|
19
|
-
/** The type of backup. Example: "snapshot" */
|
|
20
|
-
'type'?: 'fileUpload' | 'liveInstance' | 'snapshot' | 'externalDump' | 'sameAddon';
|
|
21
|
-
};
|
|
22
|
-
/** The size of the backup, in bytes Example: "1234" */
|
|
23
|
-
'size': string;
|
|
24
|
-
/** 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" */
|
|
25
|
-
'addonVersion'?: string;
|
|
26
|
-
};
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
export declare type GetAddonBackupsCall = (opts: GetAddonBackupsRequest) => Promise<ApiCallResponse<GetAddonBackupsResult>>;
|
|
30
|
-
export declare type GetAddonBackupsRequest = {
|
|
31
|
-
parameters: GetAddonBackupsParameters;
|
|
32
|
-
options?: GetAddonBackupsOptions;
|
|
33
|
-
};
|
|
34
|
-
export declare type GetAddonBackupsParameters = {
|
|
35
|
-
/** ID of the project */ 'projectId': string;
|
|
36
|
-
/** ID of the addon */
|
|
37
|
-
'addonId': string;
|
|
38
|
-
};
|
|
39
|
-
export declare type GetAddonBackupsOptions = {
|
|
40
|
-
/** The number of results to display per request. Maximum of 100 results per page. */
|
|
41
|
-
'per_page'?: number;
|
|
42
|
-
/** The page number to access. */
|
|
43
|
-
'page'?: number;
|
|
44
|
-
/** The cursor returned from the previous page of results, used to request the next page. */
|
|
45
|
-
'cursor'?: string;
|
|
46
|
-
};
|
|
47
|
-
/** Returns a list of backups for the given addon. */
|
|
48
|
-
export declare class GetAddonBackupsEndpoint extends GetApiEndpoint<GetAddonBackupsRequest, GetAddonBackupsResult> {
|
|
49
|
-
description: string;
|
|
50
|
-
withAuth: boolean;
|
|
51
|
-
requiredPermissions: string;
|
|
52
|
-
endpointUrl: (opts: GetAddonBackupsRequest) => string;
|
|
53
|
-
body: () => undefined;
|
|
54
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonContainersResult = {
|
|
3
|
-
/** An array of containers. */
|
|
4
|
-
'containers': {
|
|
5
|
-
/** The name of the container. Example: "example-service-78b4d4459d-sbtn8" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** The timestamp the container was created. Example: 1611241087 */
|
|
8
|
-
'createdAt': number;
|
|
9
|
-
/** The current status of the container. Example: "TASK_RUNNING" */
|
|
10
|
-
'status': 'TASK_RUNNING' | 'TASK_STARTING' | 'TASK_STAGING' | 'TASK_KILLING' | 'TASK_KILLED' | 'TASK_FAILED' | 'TASK_FINISHED';
|
|
11
|
-
/** The timestamp the container was last updated. Example: 1611241087 */
|
|
12
|
-
'updatedAt': number;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
export declare type GetAddonContainersCall = (opts: GetAddonContainersRequest) => Promise<ApiCallResponse<GetAddonContainersResult>>;
|
|
16
|
-
export declare type GetAddonContainersRequest = {
|
|
17
|
-
parameters: GetAddonContainersParameters;
|
|
18
|
-
options?: GetAddonContainersOptions;
|
|
19
|
-
};
|
|
20
|
-
export declare type GetAddonContainersParameters = {
|
|
21
|
-
/** ID of the project */ 'projectId': string;
|
|
22
|
-
/** ID of the addon */
|
|
23
|
-
'addonId': string;
|
|
24
|
-
};
|
|
25
|
-
export declare type GetAddonContainersOptions = {
|
|
26
|
-
/** The number of results to display per request. Maximum of 100 results per page. */
|
|
27
|
-
'per_page'?: number;
|
|
28
|
-
/** The page number to access. */
|
|
29
|
-
'page'?: number;
|
|
30
|
-
/** The cursor returned from the previous page of results, used to request the next page. */
|
|
31
|
-
'cursor'?: string;
|
|
32
|
-
};
|
|
33
|
-
/** Gets a list of containers for the given addon. */
|
|
34
|
-
export declare class GetAddonContainersEndpoint extends GetApiEndpoint<GetAddonContainersRequest, GetAddonContainersResult> {
|
|
35
|
-
description: string;
|
|
36
|
-
withAuth: boolean;
|
|
37
|
-
requiredPermissions: string;
|
|
38
|
-
endpointUrl: (opts: GetAddonContainersRequest) => string;
|
|
39
|
-
body: () => undefined;
|
|
40
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonCredentialsResult = {
|
|
3
|
-
/** An object containing secrets for connecting to the addon. Secrets are dependent on the addon type. Example: {"username":"1720747439245d49","password":"f1ba286ee2465e80b0fd4af31276f3e33a"} */
|
|
4
|
-
'secrets': any;
|
|
5
|
-
/** An object containing data such as connection strings. Dependent on the addon type. Example: {} */
|
|
6
|
-
'envs': any;
|
|
7
|
-
};
|
|
8
|
-
export declare type GetAddonCredentialsCall = (opts: GetAddonCredentialsRequest) => Promise<ApiCallResponse<GetAddonCredentialsResult>>;
|
|
9
|
-
export declare type GetAddonCredentialsRequest = {
|
|
10
|
-
parameters: GetAddonCredentialsParameters;
|
|
11
|
-
};
|
|
12
|
-
export declare type GetAddonCredentialsParameters = {
|
|
13
|
-
/** ID of the project */ 'projectId': string;
|
|
14
|
-
/** ID of the addon */
|
|
15
|
-
'addonId': string;
|
|
16
|
-
};
|
|
17
|
-
/** Returns the credentials for connecting to the given addon. */
|
|
18
|
-
export declare class GetAddonCredentialsEndpoint extends GetApiEndpoint<GetAddonCredentialsRequest, GetAddonCredentialsResult> {
|
|
19
|
-
description: string;
|
|
20
|
-
withAuth: boolean;
|
|
21
|
-
requiredPermissions: string;
|
|
22
|
-
endpointUrl: (opts: GetAddonCredentialsRequest) => string;
|
|
23
|
-
body: () => undefined;
|
|
24
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonTypesResult = {
|
|
3
|
-
/** A list of available addon types. */
|
|
4
|
-
'addonTypes': {
|
|
5
|
-
/** The identifier for the addon type. Example: "redis" */
|
|
6
|
-
'type': string;
|
|
7
|
-
/** The name of the addon type. Example: "Redis" */
|
|
8
|
-
'name': string;
|
|
9
|
-
/** A description of the addon. Example: "Redis implements a distributed, in-memory key-value database with optional durability." */
|
|
10
|
-
'description': string;
|
|
11
|
-
/** A list of available versions of the addon type. */
|
|
12
|
-
'versions': string[];
|
|
13
|
-
/** Features supported by this addon type. */
|
|
14
|
-
'features'?: {
|
|
15
|
-
/** Whether this addon supports connection via TLS. */
|
|
16
|
-
'tls': boolean;
|
|
17
|
-
/** Whether this addon supports external connection. */
|
|
18
|
-
'externalAccess': boolean;
|
|
19
|
-
};
|
|
20
|
-
/** Details about resource options for the addon type. */
|
|
21
|
-
'resources': {
|
|
22
|
-
/** Details about storage size options for this addon. */
|
|
23
|
-
'storage': {
|
|
24
|
-
/** Available options for storage size for this addon, in MB. */
|
|
25
|
-
'options': number[];
|
|
26
|
-
/** The default storage value for this addon. Example: 1024 */
|
|
27
|
-
'default': number;
|
|
28
|
-
};
|
|
29
|
-
/** Details about replica count options for this addon. */
|
|
30
|
-
'replicas': {
|
|
31
|
-
/** Available options for replica counts for this addon. */
|
|
32
|
-
'options': number[];
|
|
33
|
-
/** The default replica count for this addon. Example: 1 */
|
|
34
|
-
'default': number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
}[];
|
|
38
|
-
};
|
|
39
|
-
export declare type GetAddonTypesCall = (opts: GetAddonTypesRequest) => Promise<ApiCallResponse<GetAddonTypesResult>>;
|
|
40
|
-
export declare type GetAddonTypesRequest = {};
|
|
41
|
-
/** Gets information about the available addon types */
|
|
42
|
-
export declare class GetAddonTypesEndpoint extends GetApiEndpoint<GetAddonTypesRequest, GetAddonTypesResult> {
|
|
43
|
-
description: string;
|
|
44
|
-
withAuth: boolean;
|
|
45
|
-
requiredPermissions: string;
|
|
46
|
-
endpointUrl: (opts: GetAddonTypesRequest) => string;
|
|
47
|
-
body: () => undefined;
|
|
48
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetAddonVersionResult = {
|
|
3
|
-
/** The version of the addon running. Example: "4.2.14" */
|
|
4
|
-
'version': string;
|
|
5
|
-
/** Available versions that the addon can be upgraded to. */
|
|
6
|
-
'upgradeTo': {
|
|
7
|
-
/** The version of the addon to upgrade to. Example: "4.2.15" */
|
|
8
|
-
'version': string;
|
|
9
|
-
/** Whether the version is a major or minor version. Example: "minor" */
|
|
10
|
-
'type': 'major' | 'minor' | 'patch';
|
|
11
|
-
}[];
|
|
12
|
-
/** The support status of the current addon version. Example: "deprecated" */
|
|
13
|
-
'lifecycleStatus': 'active' | 'deprecated' | 'discontinued';
|
|
14
|
-
/** The date that the current addon version will be discontinued. Example: "01.08.2021" */
|
|
15
|
-
'discontinuedBy'?: string;
|
|
16
|
-
/** Data about the upgrade history of this addon. */
|
|
17
|
-
'upgradeHistory': {
|
|
18
|
-
/** The unique identifier of the addon upgrade. Example: "611d0da52cd838bbdeec4792" */
|
|
19
|
-
'upgradeId': string;
|
|
20
|
-
/** Details about the upgrade status. */
|
|
21
|
-
'status': {
|
|
22
|
-
/** The status of the addon upgrade. Example: "completed" */
|
|
23
|
-
'status': 'scheduled' | 'in-progress' | 'completed' | 'aborting' | 'aborted' | 'failed' | 'not-supported';
|
|
24
|
-
};
|
|
25
|
-
/** The time the upgrade was initiated. Example: "2021-08-18 13:39:49.475Z" */
|
|
26
|
-
'createdAt': string;
|
|
27
|
-
/** Whether the version updated to is a major or minor version. Example: "minor" */
|
|
28
|
-
'upgradeType': 'major' | 'minor' | 'patch';
|
|
29
|
-
/** The version upgraded from. Example: "4.2.14" */
|
|
30
|
-
'previousVersion': string;
|
|
31
|
-
/** The version upgraded to. Example: "4.2.15" */
|
|
32
|
-
'newVersion': string;
|
|
33
|
-
/** The time the upgrade was completed. Example: "2021-08-18T13:40:51.685Z" */
|
|
34
|
-
'completedAt'?: string;
|
|
35
|
-
}[];
|
|
36
|
-
};
|
|
37
|
-
export declare type GetAddonVersionCall = (opts: GetAddonVersionRequest) => Promise<ApiCallResponse<GetAddonVersionResult>>;
|
|
38
|
-
export declare type GetAddonVersionRequest = {
|
|
39
|
-
parameters: GetAddonVersionParameters;
|
|
40
|
-
};
|
|
41
|
-
export declare type GetAddonVersionParameters = {
|
|
42
|
-
/** ID of the project */ 'projectId': string;
|
|
43
|
-
/** ID of the addon */
|
|
44
|
-
'addonId': string;
|
|
45
|
-
};
|
|
46
|
-
/** Gets details about the current addon version including available upgrades and upgrade history. */
|
|
47
|
-
export declare class GetAddonVersionEndpoint extends GetApiEndpoint<GetAddonVersionRequest, GetAddonVersionResult> {
|
|
48
|
-
description: string;
|
|
49
|
-
withAuth: boolean;
|
|
50
|
-
requiredPermissions: string;
|
|
51
|
-
endpointUrl: (opts: GetAddonVersionRequest) => string;
|
|
52
|
-
body: () => undefined;
|
|
53
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetAddonResult = {
|
|
3
|
-
/** Identifier for the addon. Example: "example-addon" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Addon name. Example: "Example Addon" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** Full identifier for the addon. Example: "/example-user/default-project/example-addon" */
|
|
8
|
-
'appId': string;
|
|
9
|
-
/** A short description of the addon. Example: "This is the addon description" */
|
|
10
|
-
'description'?: string;
|
|
11
|
-
/** The time the addon was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
12
|
-
'createdAt': string;
|
|
13
|
-
/** The current state of the addon. Example: "running" */
|
|
14
|
-
'status': 'preDeployment' | 'triggerAllocation' | 'allocating' | 'postDeployment' | 'running' | 'paused' | 'scaling' | 'upgrading' | 'backup' | 'restore' | 'failed' | 'deleting' | 'deleted';
|
|
15
|
-
/** Details about the addon's specifications. */
|
|
16
|
-
'spec': {
|
|
17
|
-
/** The type of the addon Example: "mongodb" */
|
|
18
|
-
'type': string;
|
|
19
|
-
/** Details about the addon configuration. */
|
|
20
|
-
'config': {
|
|
21
|
-
/** The version of the addon running. Example: "4.2.14" */
|
|
22
|
-
'versionTag': string;
|
|
23
|
-
/** The support status of the current addon version. Example: "active" */
|
|
24
|
-
'lifecycleStatus': 'active' | 'deprecated' | 'discontinued';
|
|
25
|
-
/** Details about the addon deployment. */
|
|
26
|
-
'deployment': {
|
|
27
|
-
/** The number of replicas running for this addon. Example: 1 */
|
|
28
|
-
'replicas': number;
|
|
29
|
-
/** The type of storage used by the addon. Example: "ssd" */
|
|
30
|
-
'storageClass': string;
|
|
31
|
-
/** The size of the addon storage, in MB. Example: 4096 */
|
|
32
|
-
'storageSize': number;
|
|
33
|
-
/** The deployment plan used by the addon. Example: "nf-compute-20" */
|
|
34
|
-
'planId': string;
|
|
35
|
-
/** The region where the addon is deployed. Example: "europe-west" */
|
|
36
|
-
'region': string;
|
|
37
|
-
};
|
|
38
|
-
/** Details about the addon networking settings. */
|
|
39
|
-
'networking': {
|
|
40
|
-
/** Whether this addon is provisioned with a TLS certificate. Example: true */
|
|
41
|
-
'tlsEnabled': boolean;
|
|
42
|
-
/** Whether this addon is publicly accessible via the internet. Example: true */
|
|
43
|
-
'externalAccessEnabled': boolean;
|
|
44
|
-
/** An array of IP policy rules. */
|
|
45
|
-
'ipPolicies'?: {
|
|
46
|
-
/** An IP address used by this rule. Example: "127.0.0.1" */
|
|
47
|
-
'address': string;
|
|
48
|
-
/** The action for this rule. Example: "ALLOW" */
|
|
49
|
-
'action': 'DENY' | 'ALLOW';
|
|
50
|
-
}[];
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
export declare type GetAddonCall = (opts: GetAddonRequest) => Promise<ApiCallResponse<GetAddonResult>>;
|
|
56
|
-
export declare type GetAddonRequest = {
|
|
57
|
-
parameters: GetAddonParameters;
|
|
58
|
-
};
|
|
59
|
-
export declare type GetAddonParameters = {
|
|
60
|
-
/** ID of the project */ 'projectId': string;
|
|
61
|
-
/** ID of the addon */
|
|
62
|
-
'addonId': string;
|
|
63
|
-
};
|
|
64
|
-
/** Gets information about the given addon */
|
|
65
|
-
export declare class GetAddonEndpoint extends GetApiEndpoint<GetAddonRequest, GetAddonResult> {
|
|
66
|
-
description: string;
|
|
67
|
-
withAuth: boolean;
|
|
68
|
-
requiredPermissions: string;
|
|
69
|
-
endpointUrl: (opts: GetAddonRequest) => string;
|
|
70
|
-
body: () => undefined;
|
|
71
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetClusterResult = {
|
|
3
|
-
/** Identifier for the cluster. Example: "gcp-cluster-1" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the cluster. Example: "GCP Cluster 1" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the cluster. Example: "The cluster description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
/** The cloud provider to which this cluster belongs to. Example: "gcp" */
|
|
10
|
-
'provider'?: string;
|
|
11
|
-
/** ID of the provider integration used by this cluster. Example: "gcp-integration" */
|
|
12
|
-
'integrationId': string;
|
|
13
|
-
'nodePools': {
|
|
14
|
-
'availabilityZones'?: string[];
|
|
15
|
-
'nodeTypes': string[];
|
|
16
|
-
'nodeCount': number;
|
|
17
|
-
'autoscaling'?: {
|
|
18
|
-
'enabled'?: boolean;
|
|
19
|
-
'min'?: number;
|
|
20
|
-
'max'?: number;
|
|
21
|
-
};
|
|
22
|
-
/** Configures node pool with preemptible / spot instances if enabled. */
|
|
23
|
-
'preemptible'?: boolean;
|
|
24
|
-
'diskType'?: string;
|
|
25
|
-
'diskSize': number;
|
|
26
|
-
/** ID of existing node pool. Must be passed when modifying existing node pools. Not relevant for new node pools Example: "6aa96121-0345-43ad-bade-af36d540c222" */
|
|
27
|
-
'id'?: string;
|
|
28
|
-
};
|
|
29
|
-
'status'?: {
|
|
30
|
-
'state'?: {
|
|
31
|
-
'state'?: string;
|
|
32
|
-
'transitionTime'?: string;
|
|
33
|
-
};
|
|
34
|
-
'nextUpdateAfter'?: string;
|
|
35
|
-
};
|
|
36
|
-
/** The time the cluster was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
37
|
-
'createdAt': string;
|
|
38
|
-
/** Indicates if provider resource deletion has been requested by the user. */
|
|
39
|
-
'deletionRequested': boolean;
|
|
40
|
-
};
|
|
41
|
-
export declare type GetClusterCall = (opts: GetClusterRequest) => Promise<ApiCallResponse<GetClusterResult>>;
|
|
42
|
-
export declare type GetClusterRequest = {
|
|
43
|
-
parameters: GetClusterParameters;
|
|
44
|
-
};
|
|
45
|
-
export declare type GetClusterParameters = {
|
|
46
|
-
/** ID of the cluster */ 'clusterId': string;
|
|
47
|
-
};
|
|
48
|
-
/** Get information about the given cluster */
|
|
49
|
-
export declare class GetClusterEndpoint extends GetApiEndpoint<GetClusterRequest, GetClusterResult> {
|
|
50
|
-
description: string;
|
|
51
|
-
withAuth: boolean;
|
|
52
|
-
requiredPermissions: string;
|
|
53
|
-
endpointUrl: (opts: GetClusterRequest) => string;
|
|
54
|
-
body: () => undefined;
|
|
55
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetDnsidResult = {
|
|
3
|
-
/** The partially random string associated with the authenticated account, used for generating DNS entries. Example: "exam-1234" */
|
|
4
|
-
'dns': string;
|
|
5
|
-
};
|
|
6
|
-
export declare type GetDnsidCall = (opts: GetDnsidRequest) => Promise<ApiCallResponse<GetDnsidResult>>;
|
|
7
|
-
export declare type GetDnsidRequest = {};
|
|
8
|
-
/** Returns the partially random string used when generating host names for the authenticated account. */
|
|
9
|
-
export declare class GetDnsidEndpoint extends GetApiEndpoint<GetDnsidRequest, GetDnsidResult> {
|
|
10
|
-
description: string;
|
|
11
|
-
withAuth: boolean;
|
|
12
|
-
requiredPermissions: string;
|
|
13
|
-
endpointUrl: (opts: GetDnsidRequest) => string;
|
|
14
|
-
body: () => undefined;
|
|
15
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetDomainResult = {
|
|
3
|
-
/** The domain name. Example: "example.com" */
|
|
4
|
-
'name': string;
|
|
5
|
-
/** The status of the domain verification. Example: "verified" */
|
|
6
|
-
'status': 'pending' | 'verified';
|
|
7
|
-
/** The hostname to add to your domain's DNS records as a TXT record to verify the domain. Example: "nfverify1608026055" */
|
|
8
|
-
'hostname': string;
|
|
9
|
-
/** The token to add as the content of the TXT record to verify the domain. Example: "e596987b52855a4a773ef580ce2985d7746b37ce8b2a443d20fa27b913d8f57" */
|
|
10
|
-
'token': string;
|
|
11
|
-
/** A list of subdomains added to this domain. */
|
|
12
|
-
'subdomains': {
|
|
13
|
-
/** The subdomain added, or -default for the empty subdomain. Example: "app" */
|
|
14
|
-
'name': string;
|
|
15
|
-
/** The full domain including the subdomain. Example: "app.example.com" */
|
|
16
|
-
'fullName': string;
|
|
17
|
-
}[];
|
|
18
|
-
};
|
|
19
|
-
export declare type GetDomainCall = (opts: GetDomainRequest) => Promise<ApiCallResponse<GetDomainResult>>;
|
|
20
|
-
export declare type GetDomainRequest = {
|
|
21
|
-
parameters: GetDomainParameters;
|
|
22
|
-
};
|
|
23
|
-
export declare type GetDomainParameters = {
|
|
24
|
-
/** Name of the domain */ 'domain': string;
|
|
25
|
-
};
|
|
26
|
-
/** Gets details about domain */
|
|
27
|
-
export declare class GetDomainEndpoint extends GetApiEndpoint<GetDomainRequest, GetDomainResult> {
|
|
28
|
-
description: string;
|
|
29
|
-
withAuth: boolean;
|
|
30
|
-
requiredPermissions: string;
|
|
31
|
-
endpointUrl: (opts: GetDomainRequest) => string;
|
|
32
|
-
body: () => undefined;
|
|
33
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetIntegrationResult = {
|
|
3
|
-
/** Identifier for the integration. Example: "gcp-integration" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the integration. Example: "GCP integration" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the integration. Example: "The integration description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
/** Cloud provider credential input, required fields dependent on which provider is chosen. */
|
|
10
|
-
'credentials': {
|
|
11
|
-
/** Contents of a GCP key file. */
|
|
12
|
-
'keyfileJson'?: string;
|
|
13
|
-
/** AWS access key. */
|
|
14
|
-
'accessKey'?: string;
|
|
15
|
-
/** AWS secret key. */
|
|
16
|
-
'secretKey'?: string;
|
|
17
|
-
/** DO API key. */
|
|
18
|
-
'apiKey'?: string;
|
|
19
|
-
};
|
|
20
|
-
/** The time the integration was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
21
|
-
'createdAt': string;
|
|
22
|
-
};
|
|
23
|
-
export declare type GetIntegrationCall = (opts: GetIntegrationRequest) => Promise<ApiCallResponse<GetIntegrationResult>>;
|
|
24
|
-
export declare type GetIntegrationRequest = {
|
|
25
|
-
parameters: GetIntegrationParameters;
|
|
26
|
-
};
|
|
27
|
-
export declare type GetIntegrationParameters = {
|
|
28
|
-
/** ID of the provider integration */ 'integrationId': string;
|
|
29
|
-
};
|
|
30
|
-
/** Get information about the given integration */
|
|
31
|
-
export declare class GetIntegrationEndpoint extends GetApiEndpoint<GetIntegrationRequest, GetIntegrationResult> {
|
|
32
|
-
description: string;
|
|
33
|
-
withAuth: boolean;
|
|
34
|
-
requiredPermissions: string;
|
|
35
|
-
endpointUrl: (opts: GetIntegrationRequest) => string;
|
|
36
|
-
body: () => undefined;
|
|
37
|
-
}
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetInvoiceDetailsResult = {
|
|
3
|
-
/** Information about the billing period of the invoice. */
|
|
4
|
-
'period': {
|
|
5
|
-
/** Unix timestamp of the start of the billing period. Example: 1655823815 */
|
|
6
|
-
'start': number;
|
|
7
|
-
/** Unix timestamp of the end of the billing period. Example: 1655910214 */
|
|
8
|
-
'end': number;
|
|
9
|
-
};
|
|
10
|
-
/** Currency code for the currency the invoice is billed in. Example: "usd" */
|
|
11
|
-
'currency': string;
|
|
12
|
-
/** Total cost of the invoice, in cents, including tax. Example: 1200 */
|
|
13
|
-
'total': number;
|
|
14
|
-
/** Total cost of the invoice, in cents, excluding tax. Example: 1000 */
|
|
15
|
-
'subTotal': number;
|
|
16
|
-
/** If `timestamp` is passed in, whether the invoice has been paid. */
|
|
17
|
-
'paid'?: boolean;
|
|
18
|
-
/** Details about the tax on the invoice. */
|
|
19
|
-
'tax': {
|
|
20
|
-
/** Percentage of subtotal to be applied as tax. Example: 20 */
|
|
21
|
-
'percent': number;
|
|
22
|
-
/** Value of the tax on the invoice. Example: 200 */
|
|
23
|
-
'value': number;
|
|
24
|
-
};
|
|
25
|
-
/** An array of projects billed in this invoice. If `projectId` is passed in, only projects with a `projectId` matching the value will be returned. */
|
|
26
|
-
'projects': {
|
|
27
|
-
/** ID of the project. Example: "default-project" */
|
|
28
|
-
'projectId': string;
|
|
29
|
-
/** Name of the project Example: "Default Project" */
|
|
30
|
-
'projectName': string;
|
|
31
|
-
/** Duration the project has been running in this billing period, in seconds. Example: 259200 */
|
|
32
|
-
'duration': string;
|
|
33
|
-
/** An array of objects belonging to this project that are billed in this invoice. If `addonId`, `serviceId` or `jobId` are passed in, only objects matching that ID will be returned. */
|
|
34
|
-
'items': {
|
|
35
|
-
/** Duration the object has been running in this billing period, in seconds. Example: 172800 */
|
|
36
|
-
'duration': string;
|
|
37
|
-
/** Details about the price of a object, broken down by resource type. */
|
|
38
|
-
'price': {
|
|
39
|
-
/** Price of CPU usage for this object, in cents. Example: 200 */
|
|
40
|
-
'cpu': number;
|
|
41
|
-
/** Price of memory usage for this object, in cents. Example: 200 */
|
|
42
|
-
'memory': number;
|
|
43
|
-
/** Price of storage usage for this object, in cents. Example: 200 */
|
|
44
|
-
'storage': number;
|
|
45
|
-
/** Total price for this object, in cents. Example: 600 */
|
|
46
|
-
'total': number;
|
|
47
|
-
};
|
|
48
|
-
/** The ID of the object. Example: "example-service" */
|
|
49
|
-
'nfObjectId': string;
|
|
50
|
-
/** The name of the object. Example: "Example Service" */
|
|
51
|
-
'nfObjectName': string;
|
|
52
|
-
/** The type of the object. Example: "service" */
|
|
53
|
-
'nfObjectType': 'job' | 'service' | 'addon' | 'volume';
|
|
54
|
-
}[];
|
|
55
|
-
/** Details about the price of a project, broken down by resource type. */
|
|
56
|
-
'price': {
|
|
57
|
-
/** Price of CPU usage for this project, in cents. Example: 200 */
|
|
58
|
-
'cpu': number;
|
|
59
|
-
/** Price of memory usage for this project, in cents. Example: 200 */
|
|
60
|
-
'memory': number;
|
|
61
|
-
/** Price of storage usage for this project, in cents. Example: 200 */
|
|
62
|
-
'storage': number;
|
|
63
|
-
/** Total price for this project, in cents. Example: 600 */
|
|
64
|
-
'total': number;
|
|
65
|
-
};
|
|
66
|
-
/** Details about the price of a project, broken down by object type. */
|
|
67
|
-
'objectTypeTotals': {
|
|
68
|
-
'addon'?: {
|
|
69
|
-
/** Details about the price for all addons in this project, broken down by resource type. */
|
|
70
|
-
'price'?: {
|
|
71
|
-
/** Price of CPU usage for all addons in this project, in cents. Example: 200 */
|
|
72
|
-
'cpu': number;
|
|
73
|
-
/** Price of memory usage for all addons in this project, in cents. Example: 200 */
|
|
74
|
-
'memory': number;
|
|
75
|
-
/** Price of storage usage for all addons in this project, in cents. Example: 200 */
|
|
76
|
-
'storage': number;
|
|
77
|
-
/** Total price for all addons in this project, in cents. Example: 600 */
|
|
78
|
-
'total': number;
|
|
79
|
-
};
|
|
80
|
-
/** Duration addons have been running in this billing period, in seconds. Example: 172800 */
|
|
81
|
-
'duration': number;
|
|
82
|
-
};
|
|
83
|
-
'service'?: {
|
|
84
|
-
/** Details about the price for all services in this project, broken down by resource type. */
|
|
85
|
-
'price'?: {
|
|
86
|
-
/** Price of CPU usage for all services in this project, in cents. Example: 200 */
|
|
87
|
-
'cpu': number;
|
|
88
|
-
/** Price of memory usage for all services in this project, in cents. Example: 200 */
|
|
89
|
-
'memory': number;
|
|
90
|
-
/** Price of storage usage for all services in this project, in cents. Example: 200 */
|
|
91
|
-
'storage': number;
|
|
92
|
-
/** Total price for all services in this project, in cents. Example: 600 */
|
|
93
|
-
'total': number;
|
|
94
|
-
};
|
|
95
|
-
/** Duration services have been running in this billing period, in seconds. Example: 172800 */
|
|
96
|
-
'duration': number;
|
|
97
|
-
};
|
|
98
|
-
'job'?: {
|
|
99
|
-
/** Details about the price for all jobs in this project, broken down by resource type. */
|
|
100
|
-
'price'?: {
|
|
101
|
-
/** Price of CPU usage for all jobs in this project, in cents. Example: 200 */
|
|
102
|
-
'cpu': number;
|
|
103
|
-
/** Price of memory usage for all jobs in this project, in cents. Example: 200 */
|
|
104
|
-
'memory': number;
|
|
105
|
-
/** Price of storage usage for all jobs in this project, in cents. Example: 200 */
|
|
106
|
-
'storage': number;
|
|
107
|
-
/** Total price for all jobs in this project, in cents. Example: 600 */
|
|
108
|
-
'total': number;
|
|
109
|
-
};
|
|
110
|
-
/** Duration jobs have been running in this billing period, in seconds. Example: 172800 */
|
|
111
|
-
'duration': number;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
}[];
|
|
115
|
-
};
|
|
116
|
-
export declare type GetInvoiceDetailsCall = (opts: GetInvoiceDetailsRequest) => Promise<ApiCallResponse<GetInvoiceDetailsResult>>;
|
|
117
|
-
export declare type GetInvoiceDetailsRequest = {
|
|
118
|
-
options?: GetInvoiceDetailsOptions;
|
|
119
|
-
};
|
|
120
|
-
export declare type GetInvoiceDetailsOptions = {
|
|
121
|
-
/** Timestamp of an invoice. If passed in, this endpoint will return details about the invoice that time belongs to. */
|
|
122
|
-
'timestamp'?: number;
|
|
123
|
-
/** ID of a project. If passed in, only details about that project will be returned. */
|
|
124
|
-
'projectId'?: string;
|
|
125
|
-
/** ID of a addon. If passed in, only details about that addon will be returned. */
|
|
126
|
-
'addonId'?: string;
|
|
127
|
-
/** ID of a service. If passed in, only details about that service will be returned. */
|
|
128
|
-
'serviceId'?: string;
|
|
129
|
-
/** ID of a job. If passed in, only details about that job will be returned. */
|
|
130
|
-
'jobId'?: string;
|
|
131
|
-
};
|
|
132
|
-
/** Get details about an invoice. If `timestamp` is passed in as a query parameter, this endpoint returns details about the invoice containing that timestamp. Otherwise, returns a preview invoice displaying billing data from after the most recent invoice. */
|
|
133
|
-
export declare class GetInvoiceDetailsEndpoint extends GetApiEndpoint<GetInvoiceDetailsRequest, GetInvoiceDetailsResult> {
|
|
134
|
-
description: string;
|
|
135
|
-
withAuth: boolean;
|
|
136
|
-
requiredPermissions: string;
|
|
137
|
-
endpointUrl: (opts: GetInvoiceDetailsRequest) => string;
|
|
138
|
-
body: () => undefined;
|
|
139
|
-
}
|