@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,128 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetJobResult = {
|
|
3
|
-
/** Identifier for the job Example: "example-job" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Full identifier used for job deployment Example: "/example-user/default-project/example-job" */
|
|
6
|
-
'appId': string;
|
|
7
|
-
/** Job name Example: "Example Job" */
|
|
8
|
-
'name': string;
|
|
9
|
-
/** A short description of the job Example: "This is the job description" */
|
|
10
|
-
'description'?: string;
|
|
11
|
-
/** ID of the project that the job belongs to Example: "default-project" */
|
|
12
|
-
'projectId': string;
|
|
13
|
-
/** Type of the job (manual or cron) Example: "cron" */
|
|
14
|
-
'jobType': 'manual' | 'cron';
|
|
15
|
-
/** The time the job was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
16
|
-
'createdAt': string;
|
|
17
|
-
'vcsData'?: {
|
|
18
|
-
/** URL of the repository being built Example: "https://github.com/northflank/gatsby-with-northflank" */
|
|
19
|
-
'projectUrl': string;
|
|
20
|
-
/** VCS provider for the repo being built Example: "github" */
|
|
21
|
-
'projectType': 'bitbucket' | 'gitlab' | 'github' | 'self-hosted';
|
|
22
|
-
/** ID of the self-hosted VCS, if applicable. Example: "example-team/self-hosted-vcs" */
|
|
23
|
-
'selfHostedVcsId'?: string;
|
|
24
|
-
/** Branch of the repo being built Example: "master" */
|
|
25
|
-
'projectBranch'?: string;
|
|
26
|
-
/** Whether the repo is being accessed without authentication. */
|
|
27
|
-
'publicRepo'?: boolean;
|
|
28
|
-
/** Working directory used by the dockerfile Example: "/" */
|
|
29
|
-
'dockerWorkDir': string;
|
|
30
|
-
/** File path of the Dockerfile Example: "/Dockerfile" */
|
|
31
|
-
'dockerFilePath': string;
|
|
32
|
-
};
|
|
33
|
-
'buildConfiguration'?: {
|
|
34
|
-
/** An array of path ignore rules. A commit will only be built if a file has been changed that does not match any of the ignore rules. Path ignore rules follow `.gitignore` syntax. */
|
|
35
|
-
'pathIgnoreRules'?: string[];
|
|
36
|
-
};
|
|
37
|
-
'buildEngineConfiguration'?: {
|
|
38
|
-
/** The build engine used. Example: "buildpack" */
|
|
39
|
-
'buildEngine'?: 'buildpack' | 'kaniko' | 'buildkit';
|
|
40
|
-
/** Details about Buildpack settings. */
|
|
41
|
-
'buildpack'?: {
|
|
42
|
-
/** The Buildpack stack used. Example: "HEROKU_20" */
|
|
43
|
-
'builder'?: 'HEROKU_20' | 'HEROKU_18' | 'GOOGLE_V1' | 'CNB_ALPINE' | 'CNB_BIONIC' | 'PAKETO_TINY' | 'PAKETO_BASE' | 'PAKETO_FULL';
|
|
44
|
-
/** Array of custom Buildpacks used. */
|
|
45
|
-
'buildpackLocators'?: string[];
|
|
46
|
-
/** Should build dependencies be cached? */
|
|
47
|
-
'useCache'?: boolean;
|
|
48
|
-
};
|
|
49
|
-
/** Details about Buildkit settings. */
|
|
50
|
-
'buildkit'?: {
|
|
51
|
-
/** Should intermediate image layers be cached? */
|
|
52
|
-
'useCache'?: boolean;
|
|
53
|
-
};
|
|
54
|
-
/** Details about Kaniko settings. */
|
|
55
|
-
'kaniko'?: {
|
|
56
|
-
/** Should intermediate image layers be cached? */
|
|
57
|
-
'useCache'?: boolean;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
/** Whether Continuous Integration is disabled */
|
|
61
|
-
'disabledCI': boolean;
|
|
62
|
-
/** Whether Continuous Deployment is disabled */
|
|
63
|
-
'disabledCD': boolean;
|
|
64
|
-
'deployment'?: {
|
|
65
|
-
/** Region where this job is deployed and built Example: "europe-west" */
|
|
66
|
-
'region'?: string;
|
|
67
|
-
/** Details about the Docker overrides for this deployment. */
|
|
68
|
-
'docker'?: {
|
|
69
|
-
/** Details about the CMD override for this deployment. */
|
|
70
|
-
'cmd': {
|
|
71
|
-
/** Whether the CMD override is enabled. Example: true */
|
|
72
|
-
'enabled': boolean;
|
|
73
|
-
/** The CMD to run instead of the default if CMD override is enabled. Example: "nginx -g" */
|
|
74
|
-
'value': string;
|
|
75
|
-
};
|
|
76
|
-
/** Details about the entrypoint override for this deployment. */
|
|
77
|
-
'entrypoint': {
|
|
78
|
-
/** Whether the entrypoint override is enabled. Example: true */
|
|
79
|
-
'enabled': boolean;
|
|
80
|
-
/** The CMD to run instead of the default if entrypoint override is enabled. Example: "/docker-entrypoint.sh" */
|
|
81
|
-
'value': string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
/** Details about storage settings for this deployment. */
|
|
85
|
-
'storage'?: {
|
|
86
|
-
/** Details about ephemeral storage settings for this deployment. */
|
|
87
|
-
'ephemeralStorage'?: {
|
|
88
|
-
/** Ephemeral storage per container in MB Example: 1024 */
|
|
89
|
-
'storageSize': number;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
'billing': {
|
|
94
|
-
/** ID of the billing plan used by this job Example: "nf-compute-20" */
|
|
95
|
-
'deploymentPlan': string;
|
|
96
|
-
};
|
|
97
|
-
/** Job settings */
|
|
98
|
-
'settings': {
|
|
99
|
-
/** Cron job specific settings */
|
|
100
|
-
'cron'?: {
|
|
101
|
-
/** The cron timer scheduling when to run the job. Example: "30 8 * * *" */
|
|
102
|
-
'schedule'?: string;
|
|
103
|
-
/** Whether this job should run when another instance of the job is already running. Example: "Allow" */
|
|
104
|
-
'concurrencyPolicy'?: 'Allow' | 'Forbid' | 'Replace';
|
|
105
|
-
};
|
|
106
|
-
/** The number of attempts to rerun a job before it is marked as failed. */
|
|
107
|
-
'backoffLimit': number;
|
|
108
|
-
/** The maximum amount of time, in seconds, for a job to run before it is marked as failed. Example: 600 */
|
|
109
|
-
'activeDeadlineSeconds': number;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
export declare type GetJobCall = (opts: GetJobRequest) => Promise<ApiCallResponse<GetJobResult>>;
|
|
113
|
-
export declare type GetJobRequest = {
|
|
114
|
-
parameters: GetJobParameters;
|
|
115
|
-
};
|
|
116
|
-
export declare type GetJobParameters = {
|
|
117
|
-
/** ID of the project */ 'projectId': string;
|
|
118
|
-
/** ID of the job */
|
|
119
|
-
'jobId': string;
|
|
120
|
-
};
|
|
121
|
-
/** Gets information about the given job */
|
|
122
|
-
export declare class GetJobEndpoint extends GetApiEndpoint<GetJobRequest, GetJobResult> {
|
|
123
|
-
description: string;
|
|
124
|
-
withAuth: boolean;
|
|
125
|
-
requiredPermissions: string;
|
|
126
|
-
endpointUrl: (opts: GetJobRequest) => string;
|
|
127
|
-
body: () => undefined;
|
|
128
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetProjectResult = {
|
|
3
|
-
/** Identifier for the project. Example: "default-project" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** The name of the project. Example: "Default Project" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the project. Example: "The project description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
'deployment': {
|
|
10
|
-
/** The region where the project's services, jobs and addons are deployed in. Example: "europe-west" */
|
|
11
|
-
'region': string;
|
|
12
|
-
};
|
|
13
|
-
/** The time the project was created. Example: "2021-01-20T11:19:53.175Z" */
|
|
14
|
-
'createdAt': string;
|
|
15
|
-
/** An array of services belonging to the project. */
|
|
16
|
-
'services': {
|
|
17
|
-
/** Identifier for the service. Example: "example-service" */
|
|
18
|
-
'id': string;
|
|
19
|
-
/** Full identifier used for service deployment Example: "/example-user/default-project/example-service" */
|
|
20
|
-
'appId': string;
|
|
21
|
-
/** The name of the service. Example: "Example Service" */
|
|
22
|
-
'name': string;
|
|
23
|
-
/** A short description of the service. Example: "This is the service description" */
|
|
24
|
-
'description'?: string;
|
|
25
|
-
/** Type of the service (combined, build or deployment) Example: "combined" */
|
|
26
|
-
'serviceType': 'combined' | 'build' | 'deployment';
|
|
27
|
-
}[];
|
|
28
|
-
/** An array of jobs belonging to the project. */
|
|
29
|
-
'jobs': {
|
|
30
|
-
/** Identifier for the job. Example: "example-job" */
|
|
31
|
-
'id': string;
|
|
32
|
-
/** Full identifier used for deployment Example: "/example-user/default-project/example-job" */
|
|
33
|
-
'appId': string;
|
|
34
|
-
/** The name of the job. Example: "Example Job" */
|
|
35
|
-
'name': string;
|
|
36
|
-
/** A short description of the job. Example: "This is the job description" */
|
|
37
|
-
'description'?: string;
|
|
38
|
-
/** Type of the service (manual or cron) Example: "cron" */
|
|
39
|
-
'jobType': 'manual' | 'cron';
|
|
40
|
-
}[];
|
|
41
|
-
/** An array of addons belonging to the project. */
|
|
42
|
-
'addons': {
|
|
43
|
-
/** Identifier for the addon. Example: "example-addon" */
|
|
44
|
-
'id': string;
|
|
45
|
-
/** Full identifier used for deployment Example: "/example-user/default-project/example-addon" */
|
|
46
|
-
'appId': string;
|
|
47
|
-
/** The name of the addon. Example: "Example Addon" */
|
|
48
|
-
'name': string;
|
|
49
|
-
/** A short description of the addon. Example: "This is the addon description" */
|
|
50
|
-
'description'?: string;
|
|
51
|
-
/** Details about the addon's specifications. */
|
|
52
|
-
'spec': {
|
|
53
|
-
/** The type of the addon Example: "mongodb" */
|
|
54
|
-
'type': string;
|
|
55
|
-
};
|
|
56
|
-
}[];
|
|
57
|
-
};
|
|
58
|
-
export declare type GetProjectCall = (opts: GetProjectRequest) => Promise<ApiCallResponse<GetProjectResult>>;
|
|
59
|
-
export declare type GetProjectRequest = {
|
|
60
|
-
parameters: GetProjectParameters;
|
|
61
|
-
};
|
|
62
|
-
export declare type GetProjectParameters = {
|
|
63
|
-
/** ID of the project */ 'projectId': string;
|
|
64
|
-
};
|
|
65
|
-
/** Get information about the given project */
|
|
66
|
-
export declare class GetProjectEndpoint extends GetApiEndpoint<GetProjectRequest, GetProjectResult> {
|
|
67
|
-
description: string;
|
|
68
|
-
withAuth: boolean;
|
|
69
|
-
requiredPermissions: string;
|
|
70
|
-
endpointUrl: (opts: GetProjectRequest) => string;
|
|
71
|
-
body: () => undefined;
|
|
72
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetRegistryResult = {
|
|
3
|
-
/** Identifier for the credentials. Example: "example-credentials" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Name of the saved credentials. Example: "Example Credentials" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** Description of the saved credentials. Example: "This is a set of saved credentials." */
|
|
8
|
-
'description': string;
|
|
9
|
-
/** Data about whether the credentials are restricted to certain projects. */
|
|
10
|
-
'restrictions': {
|
|
11
|
-
/** Whether the credentials are restricted to specific projects. Example: true */
|
|
12
|
-
'restricted': boolean;
|
|
13
|
-
/** An array of projects the credentials are restricted to, if applicable. */
|
|
14
|
-
'projects': string[];
|
|
15
|
-
};
|
|
16
|
-
/** The registry provider associated with this set of credentials. Example: "dockerhub" */
|
|
17
|
-
'provider': 'dockerhub' | 'gcr' | 'gcr-eu' | 'gcr-us' | 'gitlab' | 'github' | 'custom';
|
|
18
|
-
'data'?: any;
|
|
19
|
-
};
|
|
20
|
-
export declare type GetRegistryCall = (opts: GetRegistryRequest) => Promise<ApiCallResponse<GetRegistryResult>>;
|
|
21
|
-
export declare type GetRegistryRequest = {
|
|
22
|
-
parameters: GetRegistryParameters;
|
|
23
|
-
};
|
|
24
|
-
export declare type GetRegistryParameters = {
|
|
25
|
-
/** ID of the registry credential */ 'credentialId': string;
|
|
26
|
-
};
|
|
27
|
-
/** Views a set of registry credential data. */
|
|
28
|
-
export declare class GetRegistryEndpoint extends GetApiEndpoint<GetRegistryRequest, GetRegistryResult> {
|
|
29
|
-
description: string;
|
|
30
|
-
withAuth: boolean;
|
|
31
|
-
requiredPermissions: string;
|
|
32
|
-
endpointUrl: (opts: GetRegistryRequest) => string;
|
|
33
|
-
body: () => undefined;
|
|
34
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetSecretResult = {
|
|
3
|
-
/** Identifier for the secret group Example: "example-secret-group" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Secret group name Example: "Example secret group" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the secret group Example: "This is the secret group description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
/** The type of the created secret group Example: "environment" */
|
|
10
|
-
'secretType': 'environment-arguments' | 'environment' | 'arguments';
|
|
11
|
-
/** ID of the project that the secret group belongs to Example: "default-project" */
|
|
12
|
-
'projectId': string;
|
|
13
|
-
/** The priority with which different secret groups will be merged Example: 10 */
|
|
14
|
-
'priority': number;
|
|
15
|
-
/** Restriction settings of the secret */
|
|
16
|
-
'restrictions': {
|
|
17
|
-
/** Is the secret restricted Example: true */
|
|
18
|
-
'restricted'?: boolean;
|
|
19
|
-
/** List of Northflank services & jobs the secret is restricted to */
|
|
20
|
-
'nfObjects'?: {
|
|
21
|
-
/** ID of the entity the secret is restricted to. Example: "example-service" */
|
|
22
|
-
'id': string;
|
|
23
|
-
/** Type of the entity the secret is restricted to. Example: "service" */
|
|
24
|
-
'type': 'service' | 'job';
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
/** The timestamp when the secret group was created at Example: "2021-01-01 12:00:00.000Z" */
|
|
28
|
-
'createdAt': string;
|
|
29
|
-
/** The timestamp the secret group was last updated at Example: "2021-01-01 12:00:00.000Z" */
|
|
30
|
-
'updatedAt': string;
|
|
31
|
-
/** Decrypted secret data. If the `show` parameter is set to `this`, this will only contain secrets saved to this group. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked addons. Otherwise, this will contain both. Example: {"variables":{"a_key":"a_secret","b_key":"b_secret"},"files":{"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}}} */
|
|
32
|
-
'secrets': any;
|
|
33
|
-
};
|
|
34
|
-
export declare type GetSecretCall = (opts: GetSecretRequest) => Promise<ApiCallResponse<GetSecretResult>>;
|
|
35
|
-
export declare type GetSecretRequest = {
|
|
36
|
-
parameters: GetSecretParameters;
|
|
37
|
-
options?: GetSecretOptions;
|
|
38
|
-
};
|
|
39
|
-
export declare type GetSecretParameters = {
|
|
40
|
-
/** ID of the project */ 'projectId': string;
|
|
41
|
-
/** ID of the secret */
|
|
42
|
-
'secretId': string;
|
|
43
|
-
};
|
|
44
|
-
export declare type GetSecretOptions = {
|
|
45
|
-
/** Which secrets to display - if set to `this` only the group's secrets are displayed, if set to `inherited` only secrets from linked addons are displayed, if set to `all` or not provided, both are displayed. */
|
|
46
|
-
'show'?: string;
|
|
47
|
-
};
|
|
48
|
-
/** View a secret including its contents */
|
|
49
|
-
export declare class GetSecretEndpoint extends GetApiEndpoint<GetSecretRequest, GetSecretResult> {
|
|
50
|
-
description: string;
|
|
51
|
-
withAuth: boolean;
|
|
52
|
-
requiredPermissions: string;
|
|
53
|
-
endpointUrl: (opts: GetSecretRequest) => string;
|
|
54
|
-
body: () => undefined;
|
|
55
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetSecretdetailsResult = {
|
|
3
|
-
/** Identifier for the secret group Example: "example-secret-group" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Secret group name Example: "Example secret group" */
|
|
6
|
-
'name': string;
|
|
7
|
-
/** A short description of the secret group Example: "This is the secret group description" */
|
|
8
|
-
'description'?: string;
|
|
9
|
-
/** The type of the created secret group Example: "environment" */
|
|
10
|
-
'secretType': 'environment-arguments' | 'environment' | 'arguments';
|
|
11
|
-
/** ID of the project that the secret group belongs to Example: "default-project" */
|
|
12
|
-
'projectId': string;
|
|
13
|
-
/** The priority with which different secret groups will be merged Example: 10 */
|
|
14
|
-
'priority': number;
|
|
15
|
-
/** Restriction settings of the secret */
|
|
16
|
-
'restrictions': {
|
|
17
|
-
/** Is the secret restricted Example: true */
|
|
18
|
-
'restricted'?: boolean;
|
|
19
|
-
/** List of Northflank services & jobs the secret is restricted to */
|
|
20
|
-
'nfObjects'?: {
|
|
21
|
-
/** ID of the entity the secret is restricted to. Example: "example-service" */
|
|
22
|
-
'id': string;
|
|
23
|
-
/** Type of the entity the secret is restricted to. Example: "service" */
|
|
24
|
-
'type': 'service' | 'job';
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
/** The timestamp when the secret group was created at Example: "2021-01-01 12:00:00.000Z" */
|
|
28
|
-
'createdAt': string;
|
|
29
|
-
/** The timestamp the secret group was last updated at Example: "2021-01-01 12:00:00.000Z" */
|
|
30
|
-
'updatedAt': string;
|
|
31
|
-
/** Decrypted secret data from secrets saved to this group. Example: {"variables":{"a_key":"a_secret","b_key":"b_secret"},"files":{"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}}} */
|
|
32
|
-
'secrets': any;
|
|
33
|
-
/** Details about linked addons. */
|
|
34
|
-
'addonSecrets': {
|
|
35
|
-
/** The ID of the linked addon Example: "example-addon" */
|
|
36
|
-
'id': string;
|
|
37
|
-
/** The name of the linked addon Example: "Example Addon" */
|
|
38
|
-
'name': string;
|
|
39
|
-
/** The addon type of the linked addon Example: "mongodb" */
|
|
40
|
-
'addonType': string;
|
|
41
|
-
/** The version of the linked addon Example: "4.4.1" */
|
|
42
|
-
'version': string;
|
|
43
|
-
/** Decrypted secret data. If the `show` parameter is set to `group`, this will only contain secrets saved to this group. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked addons. Otherwise, this will contain both. Example: {"NF_MONGO_USERNAME":"0000000000000000","NF_MONGO_PASSWORD":"00000000000000000000000000000000"} */
|
|
44
|
-
'variables': any;
|
|
45
|
-
}[];
|
|
46
|
-
};
|
|
47
|
-
export declare type GetSecretdetailsCall = (opts: GetSecretdetailsRequest) => Promise<ApiCallResponse<GetSecretdetailsResult>>;
|
|
48
|
-
export declare type GetSecretdetailsRequest = {
|
|
49
|
-
parameters: GetSecretdetailsParameters;
|
|
50
|
-
};
|
|
51
|
-
export declare type GetSecretdetailsParameters = {
|
|
52
|
-
/** ID of the project */ 'projectId': string;
|
|
53
|
-
/** ID of the secret */
|
|
54
|
-
'secretId': string;
|
|
55
|
-
};
|
|
56
|
-
/** View a secret with details about its linked addons */
|
|
57
|
-
export declare class GetSecretdetailsEndpoint extends GetApiEndpoint<GetSecretdetailsRequest, GetSecretdetailsResult> {
|
|
58
|
-
description: string;
|
|
59
|
-
withAuth: boolean;
|
|
60
|
-
requiredPermissions: string;
|
|
61
|
-
endpointUrl: (opts: GetSecretdetailsRequest) => string;
|
|
62
|
-
body: () => undefined;
|
|
63
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../api-endpoint';
|
|
2
|
-
export declare type GetSecretlinkResult = {
|
|
3
|
-
/** The name of the secret group Example: "Example secret group" */
|
|
4
|
-
'secretName': string;
|
|
5
|
-
/** Identifier for the secret group Example: "example-secret-group" */
|
|
6
|
-
'secretId': string;
|
|
7
|
-
/** The name of the linked addon Example: "Example Addon" */
|
|
8
|
-
'addonName': string;
|
|
9
|
-
/** The ID of the linked addon Example: "example-addon" */
|
|
10
|
-
'addonId': string;
|
|
11
|
-
/** The addon type of the linked addon Example: "mongodb" */
|
|
12
|
-
'addonType': string;
|
|
13
|
-
/** Is this addon currently linked to this secret group? Example: true */
|
|
14
|
-
'linked': boolean;
|
|
15
|
-
/** An array of objects containing details about the keys linked to this secret group. */
|
|
16
|
-
'linkedKeys'?: {
|
|
17
|
-
/** The name of the key to link. Example: "USERNAME" */
|
|
18
|
-
'keyName': string;
|
|
19
|
-
/** An array of aliases for the key. */
|
|
20
|
-
'aliases'?: string[];
|
|
21
|
-
'defaultKey': string;
|
|
22
|
-
}[];
|
|
23
|
-
/** A list of available keys for the given addon. */
|
|
24
|
-
'availableKeys': string[];
|
|
25
|
-
};
|
|
26
|
-
export declare type GetSecretlinkCall = (opts: GetSecretlinkRequest) => Promise<ApiCallResponse<GetSecretlinkResult>>;
|
|
27
|
-
export declare type GetSecretlinkRequest = {
|
|
28
|
-
parameters: GetSecretlinkParameters;
|
|
29
|
-
};
|
|
30
|
-
export declare type GetSecretlinkParameters = {
|
|
31
|
-
/** ID of the project */ 'projectId': string;
|
|
32
|
-
/** ID of the secret */
|
|
33
|
-
'secretId': string;
|
|
34
|
-
/** ID of the addon */
|
|
35
|
-
'addonId': string;
|
|
36
|
-
};
|
|
37
|
-
/** Get details about a given addon link. */
|
|
38
|
-
export declare class GetSecretlinkEndpoint extends GetApiEndpoint<GetSecretlinkRequest, GetSecretlinkResult> {
|
|
39
|
-
description: string;
|
|
40
|
-
withAuth: boolean;
|
|
41
|
-
requiredPermissions: string;
|
|
42
|
-
endpointUrl: (opts: GetSecretlinkRequest) => string;
|
|
43
|
-
body: () => undefined;
|
|
44
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetServiceBranchesResult = {
|
|
3
|
-
/** A list of branches for this repository. */
|
|
4
|
-
'branches'?: {
|
|
5
|
-
/** Name of the branch. Example: "main" */
|
|
6
|
-
'name': string;
|
|
7
|
-
'id': string;
|
|
8
|
-
/** Details about the most recent commit on the branch. */
|
|
9
|
-
'commit': {
|
|
10
|
-
/** SHA identifier of the commit. Example: "f8aca180e989be62cba71db629d2ede05f2d10c4" */
|
|
11
|
-
'sha': string;
|
|
12
|
-
/** Details about the commit author. */
|
|
13
|
-
'author': {
|
|
14
|
-
/** The login of the commit author. Example: "northflank" */
|
|
15
|
-
'login': string;
|
|
16
|
-
};
|
|
17
|
-
/** Commit message of the commit. Example: "Initial commit" */
|
|
18
|
-
'message'?: string;
|
|
19
|
-
/** Timestamp of the commit. Example: "2021-09-17T14:04:39.000Z" */
|
|
20
|
-
'date'?: string;
|
|
21
|
-
};
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
export declare type GetServiceBranchesCall = (opts: GetServiceBranchesRequest) => Promise<ApiCallResponse<GetServiceBranchesResult>>;
|
|
25
|
-
export declare type GetServiceBranchesRequest = {
|
|
26
|
-
parameters: GetServiceBranchesParameters;
|
|
27
|
-
options?: GetServiceBranchesOptions;
|
|
28
|
-
};
|
|
29
|
-
export declare type GetServiceBranchesParameters = {
|
|
30
|
-
/** ID of the project */ 'projectId': string;
|
|
31
|
-
/** ID of the service */
|
|
32
|
-
'serviceId': string;
|
|
33
|
-
};
|
|
34
|
-
export declare type GetServiceBranchesOptions = {
|
|
35
|
-
/** The number of results to display per request. Maximum of 100 results per page. */
|
|
36
|
-
'per_page'?: number;
|
|
37
|
-
/** The page number to access. */
|
|
38
|
-
'page'?: number;
|
|
39
|
-
/** The cursor returned from the previous page of results, used to request the next page. */
|
|
40
|
-
'cursor'?: string;
|
|
41
|
-
};
|
|
42
|
-
/** Gets information about the branches of the given service. */
|
|
43
|
-
export declare class GetServiceBranchesEndpoint extends GetApiEndpoint<GetServiceBranchesRequest, GetServiceBranchesResult> {
|
|
44
|
-
description: string;
|
|
45
|
-
withAuth: boolean;
|
|
46
|
-
requiredPermissions: string;
|
|
47
|
-
endpointUrl: (opts: GetServiceBranchesRequest) => string;
|
|
48
|
-
body: () => undefined;
|
|
49
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetServiceBuildResult = {
|
|
3
|
-
/** ID of the build. Example: "joyous-view-6290" */
|
|
4
|
-
'id': string;
|
|
5
|
-
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
6
|
-
'branch'?: string;
|
|
7
|
-
/** ID of the pull request the commit belongs to. */
|
|
8
|
-
'pullRequestId'?: number;
|
|
9
|
-
/** The status of the build. Example: "SUCCESS" */
|
|
10
|
-
'status'?: 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
|
|
11
|
-
/** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
|
|
12
|
-
'sha'?: string;
|
|
13
|
-
/** Whether the build has finished. Example: true */
|
|
14
|
-
'concluded'?: boolean;
|
|
15
|
-
/** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
|
|
16
|
-
'createdAt'?: string;
|
|
17
|
-
/** Whether the build was successful. Example: true */
|
|
18
|
-
'success'?: boolean;
|
|
19
|
-
/** Description of the build status. Example: "Image successfully built" */
|
|
20
|
-
'message'?: string;
|
|
21
|
-
/** Timestamp of the build concluding. Example: 1606237973 */
|
|
22
|
-
'buildConcludedAt'?: number;
|
|
23
|
-
};
|
|
24
|
-
export declare type GetServiceBuildCall = (opts: GetServiceBuildRequest) => Promise<ApiCallResponse<GetServiceBuildResult>>;
|
|
25
|
-
export declare type GetServiceBuildRequest = {
|
|
26
|
-
parameters: GetServiceBuildParameters;
|
|
27
|
-
};
|
|
28
|
-
export declare type GetServiceBuildParameters = {
|
|
29
|
-
/** ID of the project */ 'projectId': string;
|
|
30
|
-
/** ID of the service */
|
|
31
|
-
'serviceId': string;
|
|
32
|
-
/** ID of the service build */
|
|
33
|
-
'buildId': string;
|
|
34
|
-
};
|
|
35
|
-
/** Gets information about a build for the service */
|
|
36
|
-
export declare class GetServiceBuildEndpoint extends GetApiEndpoint<GetServiceBuildRequest, GetServiceBuildResult> {
|
|
37
|
-
description: string;
|
|
38
|
-
withAuth: boolean;
|
|
39
|
-
requiredPermissions: string;
|
|
40
|
-
endpointUrl: (opts: GetServiceBuildRequest) => string;
|
|
41
|
-
body: () => undefined;
|
|
42
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetServiceBuildargumentdetailsResult = {
|
|
3
|
-
/** Details about all the secrets accessible by the service. */
|
|
4
|
-
'buildArguments': {
|
|
5
|
-
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
6
|
-
'MY_VARIABLE_NAME'?: {
|
|
7
|
-
/** The value of the secret. Example: "abcdef123456" */
|
|
8
|
-
'value': any;
|
|
9
|
-
/** The ID of the secret group the secret is inherited from, if applicable. Example: "example-secret" */
|
|
10
|
-
'inheritedFrom'?: string;
|
|
11
|
-
/** The ID of the addon the secret is inherited from, if applicable. Example: "example-addon" */
|
|
12
|
-
'addonId'?: string;
|
|
13
|
-
/** The priority of the secret group the secret is inherited from, if applicable. Example: 10 */
|
|
14
|
-
'priority'?: number;
|
|
15
|
-
/** An array containing data about other places the secret has been inherited from, but that are not being used as a secret with the same key exists with a higher priority. */
|
|
16
|
-
'overriding': {
|
|
17
|
-
/** The value of the secret. Example: "ffffffffffff" */
|
|
18
|
-
'value': any;
|
|
19
|
-
/** The ID of the secret group the secret is inherited from. Example: "secret-2" */
|
|
20
|
-
'inheritedFrom': string;
|
|
21
|
-
/** The ID of the addon the secret is inherited from, if applicable. Example: "addon-2" */
|
|
22
|
-
'addonId'?: string;
|
|
23
|
-
/** The priority of the secret group the secret is inherited from. */
|
|
24
|
-
'priority': number;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
/** Details about all the secrets accessible by the service. */
|
|
29
|
-
'buildFiles': {
|
|
30
|
-
/** A stored secret and details about it and its value. This can have the name of any saved secret. */
|
|
31
|
-
'/dir/fileName'?: {
|
|
32
|
-
/** The value of the secret. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
33
|
-
'value': {
|
|
34
|
-
/** base64 encoded string of the file contents Example: "VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=" */
|
|
35
|
-
'data'?: string;
|
|
36
|
-
/** Original encoding of the file Example: "utf-8" */
|
|
37
|
-
'encoding'?: string;
|
|
38
|
-
};
|
|
39
|
-
/** The ID of the secret group the secret is inherited from, if applicable. Example: "example-secret" */
|
|
40
|
-
'inheritedFrom'?: string;
|
|
41
|
-
/** The priority of the secret group the secret is inherited from, if applicable. Example: 10 */
|
|
42
|
-
'priority'?: number;
|
|
43
|
-
/** An array containing data about other places the file has been inherited from, but that are not being used as a secret with the same file path exists with a higher priority. */
|
|
44
|
-
'overriding': {
|
|
45
|
-
/** The value of the secret. Example: "ffffffffffff" */
|
|
46
|
-
'value': any;
|
|
47
|
-
/** The ID of the secret group the secret is inherited from. Example: "secret-2" */
|
|
48
|
-
'inheritedFrom': string;
|
|
49
|
-
/** The priority of the secret group the secret is inherited from. */
|
|
50
|
-
'priority': number;
|
|
51
|
-
}[];
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
export declare type GetServiceBuildargumentdetailsCall = (opts: GetServiceBuildargumentdetailsRequest) => Promise<ApiCallResponse<GetServiceBuildargumentdetailsResult>>;
|
|
56
|
-
export declare type GetServiceBuildargumentdetailsRequest = {
|
|
57
|
-
parameters: GetServiceBuildargumentdetailsParameters;
|
|
58
|
-
};
|
|
59
|
-
export declare type GetServiceBuildargumentdetailsParameters = {
|
|
60
|
-
/** ID of the project */ 'projectId': string;
|
|
61
|
-
/** ID of the service */
|
|
62
|
-
'serviceId': string;
|
|
63
|
-
};
|
|
64
|
-
/** Get details about the build arguments accessible by the given service. Also requires the permission 'Project > Secrets > General > Read' */
|
|
65
|
-
export declare class GetServiceBuildargumentdetailsEndpoint extends GetApiEndpoint<GetServiceBuildargumentdetailsRequest, GetServiceBuildargumentdetailsResult> {
|
|
66
|
-
description: string;
|
|
67
|
-
withAuth: boolean;
|
|
68
|
-
requiredPermissions: string;
|
|
69
|
-
endpointUrl: (opts: GetServiceBuildargumentdetailsRequest) => string;
|
|
70
|
-
body: () => undefined;
|
|
71
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetServiceBuildargumentsResult = {
|
|
3
|
-
/** The build arguments, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain secrets saved to this entity. If the `show` parameter is set to `inherited`, this will only contain secrets inherited from linked secret groups. Otherwise, this will contain both. Example: {"ARGUMENT_1":"abcdef","ARGUMENT_2":"12345"} */
|
|
4
|
-
'buildArguments': any;
|
|
5
|
-
/** The build secret files, formatted as a JSON object. If the `show` parameter is set to `this`, this will only contain files saved to this entity. If the `show` parameter is set to `inherited`, this will only contain files inherited from linked secret groups. Otherwise, this will contain both. Example: {"/dir/fileName":{"data":"VGhpcyBpcyBhbiBleGFtcGxlIHdpdGggYSB0ZW1wbGF0ZWQgJHtOT0RFX0VOVn0gdmFyaWFibGU=","encoding":"utf-8"}} */
|
|
6
|
-
'buildFiles': any;
|
|
7
|
-
};
|
|
8
|
-
export declare type GetServiceBuildargumentsCall = (opts: GetServiceBuildargumentsRequest) => Promise<ApiCallResponse<GetServiceBuildargumentsResult>>;
|
|
9
|
-
export declare type GetServiceBuildargumentsRequest = {
|
|
10
|
-
parameters: GetServiceBuildargumentsParameters;
|
|
11
|
-
options?: GetServiceBuildargumentsOptions;
|
|
12
|
-
};
|
|
13
|
-
export declare type GetServiceBuildargumentsParameters = {
|
|
14
|
-
/** ID of the project */ 'projectId': string;
|
|
15
|
-
/** ID of the service */
|
|
16
|
-
'serviceId': string;
|
|
17
|
-
};
|
|
18
|
-
export declare type GetServiceBuildargumentsOptions = {
|
|
19
|
-
/** Which secrets to display - if set to `this` only the group's secrets are displayed, if set to `inherited` only secrets from linked addons are displayed, if set to `all` or not provided, both are displayed. */
|
|
20
|
-
'show'?: string;
|
|
21
|
-
};
|
|
22
|
-
/** Gets the build arguments of the given service. If the API key does not have the permission 'Project > Secrets > General > Read', secrets inherited from secret groups will not be displayed. */
|
|
23
|
-
export declare class GetServiceBuildargumentsEndpoint extends GetApiEndpoint<GetServiceBuildargumentsRequest, GetServiceBuildargumentsResult> {
|
|
24
|
-
description: string;
|
|
25
|
-
withAuth: boolean;
|
|
26
|
-
requiredPermissions: string;
|
|
27
|
-
endpointUrl: (opts: GetServiceBuildargumentsRequest) => string;
|
|
28
|
-
body: () => undefined;
|
|
29
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ApiCallResponse, GetApiEndpoint } from '../../../api-endpoint';
|
|
2
|
-
export declare type GetServiceBuildsResult = {
|
|
3
|
-
/** An array of builds. */
|
|
4
|
-
'builds': {
|
|
5
|
-
/** ID of the build. Example: "joyous-view-6290" */
|
|
6
|
-
'id': string;
|
|
7
|
-
/** Name of the branch the built commit belongs to. Example: "main" */
|
|
8
|
-
'branch'?: string;
|
|
9
|
-
/** ID of the pull request the commit belongs to. */
|
|
10
|
-
'pullRequestId'?: number;
|
|
11
|
-
/** The status of the build. Example: "SUCCESS" */
|
|
12
|
-
'status'?: 'PENDING' | 'STARTING' | 'CLONING' | 'BUILDING' | 'UPLOADING' | 'ABORTED' | 'FAILURE' | 'SUCCESS' | 'CRASHED';
|
|
13
|
-
/** The sha of the built commit. Example: "12c15e7ee25fd78f567ebf87f9178b8ad70025b3" */
|
|
14
|
-
'sha'?: string;
|
|
15
|
-
/** Whether the build has finished. Example: true */
|
|
16
|
-
'concluded'?: boolean;
|
|
17
|
-
/** Timestamp of the build initiation. Example: "2021-07-28T15:55:38.296Z" */
|
|
18
|
-
'createdAt'?: string;
|
|
19
|
-
/** Whether the build was successful. Example: true */
|
|
20
|
-
'success'?: boolean;
|
|
21
|
-
/** Description of the build status. Example: "Image successfully built" */
|
|
22
|
-
'message'?: string;
|
|
23
|
-
/** Timestamp of the build concluding. Example: 1606237973 */
|
|
24
|
-
'buildConcludedAt'?: number;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
export declare type GetServiceBuildsCall = (opts: GetServiceBuildsRequest) => Promise<ApiCallResponse<GetServiceBuildsResult>>;
|
|
28
|
-
export declare type GetServiceBuildsRequest = {
|
|
29
|
-
parameters: GetServiceBuildsParameters;
|
|
30
|
-
options?: GetServiceBuildsOptions;
|
|
31
|
-
};
|
|
32
|
-
export declare type GetServiceBuildsParameters = {
|
|
33
|
-
/** ID of the project */ 'projectId': string;
|
|
34
|
-
/** ID of the service */
|
|
35
|
-
'serviceId': string;
|
|
36
|
-
};
|
|
37
|
-
export declare type GetServiceBuildsOptions = {
|
|
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
|
-
/** Lists the builds for the service */
|
|
46
|
-
export declare class GetServiceBuildsEndpoint extends GetApiEndpoint<GetServiceBuildsRequest, GetServiceBuildsResult> {
|
|
47
|
-
description: string;
|
|
48
|
-
withAuth: boolean;
|
|
49
|
-
requiredPermissions: string;
|
|
50
|
-
endpointUrl: (opts: GetServiceBuildsRequest) => string;
|
|
51
|
-
body: () => undefined;
|
|
52
|
-
}
|