@zlayer/api-client 0.10.86 → 0.10.88
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/.openapi-generator/FILES +58 -1
- package/README.md +48 -6
- package/dist/apis/AuthenticationApi.d.ts +43 -1
- package/dist/apis/AuthenticationApi.js +112 -0
- package/dist/apis/ContainerNetworksApi.d.ts +123 -0
- package/dist/apis/ContainerNetworksApi.js +331 -0
- package/dist/apis/ContainersApi.d.ts +7 -4
- package/dist/apis/ContainersApi.js +13 -4
- package/dist/apis/EventsApi.d.ts +35 -0
- package/dist/apis/EventsApi.js +81 -0
- package/dist/apis/PermissionsApi.d.ts +18 -0
- package/dist/apis/PermissionsApi.js +46 -0
- package/dist/apis/SecretsApi.d.ts +38 -1
- package/dist/apis/SecretsApi.js +109 -0
- package/dist/apis/VolumesApi.d.ts +41 -7
- package/dist/apis/VolumesApi.js +102 -5
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/BridgeNetwork.d.ts +72 -0
- package/dist/models/BridgeNetwork.js +67 -0
- package/dist/models/BridgeNetworkAttachment.d.ts +50 -0
- package/dist/models/BridgeNetworkAttachment.js +56 -0
- package/dist/models/BridgeNetworkDetails.d.ts +79 -0
- package/dist/models/BridgeNetworkDetails.js +72 -0
- package/dist/models/BridgeNetworkDriver.d.ts +25 -0
- package/dist/models/BridgeNetworkDriver.js +51 -0
- package/dist/models/ConnectBridgeNetworkRequest.d.ts +45 -0
- package/dist/models/ConnectBridgeNetworkRequest.js +54 -0
- package/dist/models/ContainerEvent.d.ts +82 -0
- package/dist/models/ContainerEvent.js +67 -0
- package/dist/models/ContainerEventKind.d.ts +27 -0
- package/dist/models/ContainerEventKind.js +53 -0
- package/dist/models/ContainerHealthInfo.d.ts +53 -0
- package/dist/models/ContainerHealthInfo.js +54 -0
- package/dist/models/ContainerInfo.d.ts +40 -0
- package/dist/models/ContainerInfo.js +13 -0
- package/dist/models/ContainerRestartKind.d.ts +27 -0
- package/dist/models/ContainerRestartKind.js +53 -0
- package/dist/models/ContainerRestartPolicy.d.ts +53 -0
- package/dist/models/ContainerRestartPolicy.js +55 -0
- package/dist/models/ContainerWaitResponse.d.ts +30 -2
- package/dist/models/ContainerWaitResponse.js +6 -0
- package/dist/models/CreateBridgeNetworkRequest.d.ts +60 -0
- package/dist/models/CreateBridgeNetworkRequest.js +59 -0
- package/dist/models/CreateContainerRequest.d.ts +77 -0
- package/dist/models/CreateContainerRequest.js +23 -0
- package/dist/models/CreateVolumeRequest.d.ts +54 -0
- package/dist/models/CreateVolumeRequest.js +56 -0
- package/dist/models/DisconnectBridgeNetworkRequest.d.ts +38 -0
- package/dist/models/DisconnectBridgeNetworkRequest.js +52 -0
- package/dist/models/HealthCheckRequest.d.ts +94 -0
- package/dist/models/HealthCheckRequest.js +66 -0
- package/dist/models/NetworkAttachmentInfo.d.ts +49 -0
- package/dist/models/NetworkAttachmentInfo.js +54 -0
- package/dist/models/NetworkAttachmentRequest.d.ts +51 -0
- package/dist/models/NetworkAttachmentRequest.js +54 -0
- package/dist/models/OidcCallbackResponse.d.ts +47 -0
- package/dist/models/OidcCallbackResponse.js +59 -0
- package/dist/models/OidcProviderPublic.d.ts +39 -0
- package/dist/models/OidcProviderPublic.js +54 -0
- package/dist/models/PortMapping.d.ts +55 -0
- package/dist/models/PortMapping.js +57 -0
- package/dist/models/PortProtocol.d.ts +25 -0
- package/dist/models/PortProtocol.js +51 -0
- package/dist/models/PullImageRequest.d.ts +18 -0
- package/dist/models/PullImageRequest.js +5 -0
- package/dist/models/RegistryAuth.d.ts +52 -0
- package/dist/models/RegistryAuth.js +57 -0
- package/dist/models/RegistryAuthType.d.ts +25 -0
- package/dist/models/RegistryAuthType.js +51 -0
- package/dist/models/RevealAllSecretsResponse.d.ts +41 -0
- package/dist/models/RevealAllSecretsResponse.js +54 -0
- package/dist/models/RotateSecretRequest.d.ts +32 -0
- package/dist/models/RotateSecretRequest.js +50 -0
- package/dist/models/RotateSecretResponse.d.ts +46 -0
- package/dist/models/RotateSecretResponse.js +56 -0
- package/dist/models/VolumeInfo.d.ts +70 -0
- package/dist/models/VolumeInfo.js +64 -0
- package/dist/models/VolumeMount.d.ts +16 -3
- package/dist/models/VolumeMount.js +4 -3
- package/dist/models/VolumeMountType.d.ts +30 -0
- package/dist/models/VolumeMountType.js +56 -0
- package/dist/models/VolumeSummary.d.ts +7 -4
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +27 -0
- package/docs/AddMemberRequest.md +1 -1
- package/docs/AuditApi.md +3 -3
- package/docs/AuditEntry.md +1 -1
- package/docs/AuthenticationApi.md +212 -18
- package/docs/BackendGroupInfo.md +1 -1
- package/docs/BackendInfo.md +1 -1
- package/docs/BackendsResponse.md +1 -1
- package/docs/BootstrapRequest.md +1 -1
- package/docs/BridgeNetwork.md +47 -0
- package/docs/BridgeNetworkAttachment.md +41 -0
- package/docs/BridgeNetworkDetails.md +49 -0
- package/docs/BridgeNetworkDriver.md +33 -0
- package/docs/BuildApi.md +21 -21
- package/docs/BuildKind.md +1 -1
- package/docs/BuildRequest.md +1 -1
- package/docs/BuildRequestWithContext.md +1 -1
- package/docs/BuildStateEnum.md +1 -1
- package/docs/BuildStatus.md +1 -1
- package/docs/BulkImportResponse.md +1 -1
- package/docs/CertInfo.md +1 -1
- package/docs/ClusterApi.md +12 -12
- package/docs/ClusterJoinRequest.md +1 -1
- package/docs/ClusterJoinResponse.md +1 -1
- package/docs/ClusterNodeSummary.md +1 -1
- package/docs/ClusterPeer.md +1 -1
- package/docs/ConnectBridgeNetworkRequest.md +39 -0
- package/docs/ContainerEvent.md +47 -0
- package/docs/ContainerEventKind.md +33 -0
- package/docs/ContainerExecRequest.md +1 -1
- package/docs/ContainerExecResponse.md +1 -1
- package/docs/ContainerHealthInfo.md +39 -0
- package/docs/ContainerInfo.md +11 -1
- package/docs/ContainerNetworksApi.md +466 -0
- package/docs/ContainerResourceLimits.md +1 -1
- package/docs/ContainerRestartKind.md +33 -0
- package/docs/ContainerRestartPolicy.md +39 -0
- package/docs/ContainerStatsResponse.md +1 -1
- package/docs/ContainerWaitResponse.md +8 -2
- package/docs/ContainersApi.md +51 -42
- package/docs/CreateBridgeNetworkRequest.md +43 -0
- package/docs/CreateContainerRequest.md +19 -1
- package/docs/CreateDeploymentRequest.md +1 -1
- package/docs/CreateEnvironmentRequest.md +1 -1
- package/docs/CreateGitCredentialRequest.md +1 -1
- package/docs/CreateGroupRequest.md +1 -1
- package/docs/CreateNodeTunnelRequest.md +1 -1
- package/docs/CreateNodeTunnelResponse.md +1 -1
- package/docs/CreateNotifierRequest.md +1 -1
- package/docs/CreateProjectRequest.md +1 -1
- package/docs/CreateRegistryCredentialRequest.md +1 -1
- package/docs/CreateSecretRequest.md +1 -1
- package/docs/CreateSyncRequest.md +1 -1
- package/docs/CreateTaskRequest.md +1 -1
- package/docs/CreateTunnelRequest.md +1 -1
- package/docs/CreateTunnelResponse.md +1 -1
- package/docs/CreateUserRequest.md +1 -1
- package/docs/CreateVariableRequest.md +1 -1
- package/docs/CreateVolumeRequest.md +41 -0
- package/docs/CreateWorkflowRequest.md +1 -1
- package/docs/CredentialsApi.md +18 -18
- package/docs/CronApi.md +15 -15
- package/docs/CronJobResponse.md +1 -1
- package/docs/CronStatusResponse.md +1 -1
- package/docs/CsrfResponse.md +1 -1
- package/docs/DeploymentDetails.md +1 -1
- package/docs/DeploymentSummary.md +1 -1
- package/docs/DeploymentsApi.md +12 -12
- package/docs/DisconnectBridgeNetworkRequest.md +37 -0
- package/docs/DnsStatusResponse.md +1 -1
- package/docs/EnvironmentsApi.md +15 -15
- package/docs/EventsApi.md +85 -0
- package/docs/ForceLeaderRequest.md +1 -1
- package/docs/ForceLeaderResponse.md +1 -1
- package/docs/GitCredentialKindSchema.md +1 -1
- package/docs/GitCredentialResponse.md +1 -1
- package/docs/GpuInfoSummary.md +1 -1
- package/docs/GpuUtilizationReport.md +1 -1
- package/docs/GrantPermissionRequest.md +1 -1
- package/docs/GroupMembersResponse.md +1 -1
- package/docs/GroupsApi.md +21 -21
- package/docs/HealthApi.md +6 -6
- package/docs/HealthCheckRequest.md +51 -0
- package/docs/HealthResponse.md +1 -1
- package/docs/HeartbeatRequest.md +1 -1
- package/docs/ImageInfoDto.md +1 -1
- package/docs/ImagesApi.md +15 -15
- package/docs/InternalApi.md +6 -6
- package/docs/InternalScaleRequest.md +1 -1
- package/docs/InternalScaleResponse.md +1 -1
- package/docs/IpAllocationResponse.md +1 -1
- package/docs/JobExecutionResponse.md +1 -1
- package/docs/JobsApi.md +12 -12
- package/docs/JoinTokenResponse.md +1 -1
- package/docs/KillContainerRequest.md +1 -1
- package/docs/LinkDeploymentRequest.md +1 -1
- package/docs/LoginRequest.md +1 -1
- package/docs/LoginResponse.md +1 -1
- package/docs/NetworkAttachmentInfo.md +39 -0
- package/docs/NetworkAttachmentRequest.md +39 -0
- package/docs/NetworkSummary.md +1 -1
- package/docs/NetworksApi.md +15 -15
- package/docs/NodeDetails.md +1 -1
- package/docs/NodeResourceInfo.md +1 -1
- package/docs/NodeSummary.md +1 -1
- package/docs/NodesApi.md +12 -12
- package/docs/NotifierConfig.md +1 -1
- package/docs/NotifierConfigOneOf.md +1 -1
- package/docs/NotifierConfigOneOf1.md +1 -1
- package/docs/NotifierConfigOneOf2.md +1 -1
- package/docs/NotifierConfigOneOf3.md +1 -1
- package/docs/NotifierKind.md +1 -1
- package/docs/NotifiersApi.md +18 -18
- package/docs/OidcCallbackResponse.md +39 -0
- package/docs/OidcProviderPublic.md +37 -0
- package/docs/OverlayApi.md +12 -12
- package/docs/OverlayStatusResponse.md +1 -1
- package/docs/PeerInfo.md +1 -1
- package/docs/PeerListResponse.md +1 -1
- package/docs/PermissionLevel.md +1 -1
- package/docs/PermissionsApi.md +80 -9
- package/docs/PortMapping.md +41 -0
- package/docs/PortProtocol.md +33 -0
- package/docs/ProjectPullResponse.md +1 -1
- package/docs/ProjectsApi.md +27 -27
- package/docs/ProxyApi.md +12 -12
- package/docs/PruneResultDto.md +1 -1
- package/docs/PullImageRequest.md +5 -1
- package/docs/PullImageResponse.md +1 -1
- package/docs/RegisteredServiceInfo.md +1 -1
- package/docs/RegistryAuth.md +39 -0
- package/docs/RegistryAuthType.md +33 -0
- package/docs/RegistryAuthTypeSchema.md +1 -1
- package/docs/RegistryCredentialResponse.md +1 -1
- package/docs/ReplicationInfo.md +1 -1
- package/docs/RestartContainerRequest.md +1 -1
- package/docs/RevealAllSecretsResponse.md +37 -0
- package/docs/RotateSecretRequest.md +35 -0
- package/docs/RotateSecretResponse.md +39 -0
- package/docs/RouteInfo.md +1 -1
- package/docs/RoutesResponse.md +1 -1
- package/docs/ScaleRequest.md +1 -1
- package/docs/SecretMetadataResponse.md +1 -1
- package/docs/SecretsApi.md +175 -15
- package/docs/ServiceDetails.md +1 -1
- package/docs/ServiceEndpoint.md +1 -1
- package/docs/ServiceHealthInfo.md +1 -1
- package/docs/ServiceMetrics.md +1 -1
- package/docs/ServiceSummary.md +1 -1
- package/docs/ServicesApi.md +12 -12
- package/docs/SetPasswordRequest.md +1 -1
- package/docs/StepResult.md +1 -1
- package/docs/StopContainerRequest.md +1 -1
- package/docs/StorageApi.md +3 -3
- package/docs/StorageStatusResponse.md +1 -1
- package/docs/StoredEnvironment.md +1 -1
- package/docs/StoredNotifier.md +1 -1
- package/docs/StoredPermission.md +1 -1
- package/docs/StoredProject.md +1 -1
- package/docs/StoredSync.md +1 -1
- package/docs/StoredTask.md +1 -1
- package/docs/StoredUserGroup.md +1 -1
- package/docs/StoredVariable.md +1 -1
- package/docs/StoredWorkflow.md +1 -1
- package/docs/StreamBackendInfo.md +1 -1
- package/docs/StreamInfo.md +1 -1
- package/docs/StreamsResponse.md +1 -1
- package/docs/SubjectKind.md +1 -1
- package/docs/SuccessResponse.md +1 -1
- package/docs/SyncApplyResponse.md +1 -1
- package/docs/SyncDiffResponse.md +1 -1
- package/docs/SyncResourceResponse.md +1 -1
- package/docs/SyncResourceResult.md +1 -1
- package/docs/SyncsApi.md +15 -15
- package/docs/TagImageRequest.md +1 -1
- package/docs/TaskKind.md +1 -1
- package/docs/TaskRun.md +1 -1
- package/docs/TasksApi.md +18 -18
- package/docs/TemplateInfo.md +1 -1
- package/docs/TestNotifierResponse.md +1 -1
- package/docs/TlsResponse.md +1 -1
- package/docs/TokenRequest.md +1 -1
- package/docs/TokenResponse.md +1 -1
- package/docs/TriggerBuildResponse.md +1 -1
- package/docs/TriggerCronResponse.md +1 -1
- package/docs/TriggerJobResponse.md +1 -1
- package/docs/TunnelStatus.md +1 -1
- package/docs/TunnelSummary.md +1 -1
- package/docs/TunnelsApi.md +18 -18
- package/docs/UpdateEnvironmentRequest.md +1 -1
- package/docs/UpdateGroupRequest.md +1 -1
- package/docs/UpdateLabelsRequest.md +1 -1
- package/docs/UpdateLabelsResponse.md +1 -1
- package/docs/UpdateNotifierRequest.md +1 -1
- package/docs/UpdateProjectRequest.md +1 -1
- package/docs/UpdateUserRequest.md +1 -1
- package/docs/UpdateVariableRequest.md +1 -1
- package/docs/UserRole.md +1 -1
- package/docs/UserView.md +1 -1
- package/docs/UsersApi.md +18 -18
- package/docs/VariablesApi.md +15 -15
- package/docs/VolumeInfo.md +45 -0
- package/docs/VolumeMount.md +4 -2
- package/docs/VolumeMountType.md +33 -0
- package/docs/VolumeSummary.md +2 -2
- package/docs/VolumesApi.md +163 -13
- package/docs/WebhookInfoResponse.md +1 -1
- package/docs/WebhookResponse.md +1 -1
- package/docs/WebhooksApi.md +9 -9
- package/docs/WorkflowAction.md +1 -1
- package/docs/WorkflowActionOneOf.md +1 -1
- package/docs/WorkflowActionOneOf1.md +1 -1
- package/docs/WorkflowActionOneOf2.md +1 -1
- package/docs/WorkflowActionOneOf3.md +1 -1
- package/docs/WorkflowRun.md +1 -1
- package/docs/WorkflowRunStatus.md +1 -1
- package/docs/WorkflowStep.md +1 -1
- package/docs/WorkflowsApi.md +18 -18
- package/package.json +1 -1
- package/src/apis/AuthenticationApi.ts +140 -0
- package/src/apis/ContainerNetworksApi.ts +418 -0
- package/src/apis/ContainersApi.ts +19 -4
- package/src/apis/EventsApi.ts +82 -0
- package/src/apis/PermissionsApi.ts +59 -0
- package/src/apis/SecretsApi.ts +151 -0
- package/src/apis/VolumesApi.ts +133 -10
- package/src/apis/index.ts +2 -0
- package/src/models/BridgeNetwork.ts +127 -0
- package/src/models/BridgeNetworkAttachment.ts +90 -0
- package/src/models/BridgeNetworkDetails.ts +143 -0
- package/src/models/BridgeNetworkDriver.ts +53 -0
- package/src/models/ConnectBridgeNetworkRequest.ts +83 -0
- package/src/models/ContainerEvent.ts +137 -0
- package/src/models/ContainerEventKind.ts +55 -0
- package/src/models/ContainerHealthInfo.ts +91 -0
- package/src/models/ContainerInfo.ts +69 -0
- package/src/models/ContainerRestartKind.ts +55 -0
- package/src/models/ContainerRestartPolicy.ts +100 -0
- package/src/models/ContainerWaitResponse.ts +36 -2
- package/src/models/CreateBridgeNetworkRequest.ts +109 -0
- package/src/models/CreateContainerRequest.ts +125 -0
- package/src/models/CreateVolumeRequest.ts +92 -0
- package/src/models/DisconnectBridgeNetworkRequest.ts +74 -0
- package/src/models/HealthCheckRequest.ts +144 -0
- package/src/models/NetworkAttachmentInfo.ts +87 -0
- package/src/models/NetworkAttachmentRequest.ts +89 -0
- package/src/models/OidcCallbackResponse.ts +94 -0
- package/src/models/OidcProviderPublic.ts +76 -0
- package/src/models/PortMapping.ts +104 -0
- package/src/models/PortProtocol.ts +53 -0
- package/src/models/PullImageRequest.ts +29 -0
- package/src/models/RegistryAuth.ts +100 -0
- package/src/models/RegistryAuthType.ts +53 -0
- package/src/models/RevealAllSecretsResponse.ts +76 -0
- package/src/models/RotateSecretRequest.ts +66 -0
- package/src/models/RotateSecretResponse.ts +85 -0
- package/src/models/VolumeInfo.ts +114 -0
- package/src/models/VolumeMount.ts +28 -5
- package/src/models/VolumeMountType.ts +58 -0
- package/src/models/VolumeSummary.ts +7 -4
- package/src/models/index.ts +27 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
-
.openapi-generator-ignore
|
|
4
3
|
README.md
|
|
5
4
|
docs/AddMemberRequest.md
|
|
6
5
|
docs/AuditApi.md
|
|
@@ -10,6 +9,10 @@ docs/BackendGroupInfo.md
|
|
|
10
9
|
docs/BackendInfo.md
|
|
11
10
|
docs/BackendsResponse.md
|
|
12
11
|
docs/BootstrapRequest.md
|
|
12
|
+
docs/BridgeNetwork.md
|
|
13
|
+
docs/BridgeNetworkAttachment.md
|
|
14
|
+
docs/BridgeNetworkDetails.md
|
|
15
|
+
docs/BridgeNetworkDriver.md
|
|
13
16
|
docs/BuildApi.md
|
|
14
17
|
docs/BuildKind.md
|
|
15
18
|
docs/BuildRequest.md
|
|
@@ -23,13 +26,21 @@ docs/ClusterJoinRequest.md
|
|
|
23
26
|
docs/ClusterJoinResponse.md
|
|
24
27
|
docs/ClusterNodeSummary.md
|
|
25
28
|
docs/ClusterPeer.md
|
|
29
|
+
docs/ConnectBridgeNetworkRequest.md
|
|
30
|
+
docs/ContainerEvent.md
|
|
31
|
+
docs/ContainerEventKind.md
|
|
26
32
|
docs/ContainerExecRequest.md
|
|
27
33
|
docs/ContainerExecResponse.md
|
|
34
|
+
docs/ContainerHealthInfo.md
|
|
28
35
|
docs/ContainerInfo.md
|
|
36
|
+
docs/ContainerNetworksApi.md
|
|
29
37
|
docs/ContainerResourceLimits.md
|
|
38
|
+
docs/ContainerRestartKind.md
|
|
39
|
+
docs/ContainerRestartPolicy.md
|
|
30
40
|
docs/ContainerStatsResponse.md
|
|
31
41
|
docs/ContainerWaitResponse.md
|
|
32
42
|
docs/ContainersApi.md
|
|
43
|
+
docs/CreateBridgeNetworkRequest.md
|
|
33
44
|
docs/CreateContainerRequest.md
|
|
34
45
|
docs/CreateDeploymentRequest.md
|
|
35
46
|
docs/CreateEnvironmentRequest.md
|
|
@@ -47,6 +58,7 @@ docs/CreateTunnelRequest.md
|
|
|
47
58
|
docs/CreateTunnelResponse.md
|
|
48
59
|
docs/CreateUserRequest.md
|
|
49
60
|
docs/CreateVariableRequest.md
|
|
61
|
+
docs/CreateVolumeRequest.md
|
|
50
62
|
docs/CreateWorkflowRequest.md
|
|
51
63
|
docs/CredentialsApi.md
|
|
52
64
|
docs/CronApi.md
|
|
@@ -56,8 +68,10 @@ docs/CsrfResponse.md
|
|
|
56
68
|
docs/DeploymentDetails.md
|
|
57
69
|
docs/DeploymentSummary.md
|
|
58
70
|
docs/DeploymentsApi.md
|
|
71
|
+
docs/DisconnectBridgeNetworkRequest.md
|
|
59
72
|
docs/DnsStatusResponse.md
|
|
60
73
|
docs/EnvironmentsApi.md
|
|
74
|
+
docs/EventsApi.md
|
|
61
75
|
docs/ForceLeaderRequest.md
|
|
62
76
|
docs/ForceLeaderResponse.md
|
|
63
77
|
docs/GitCredentialKindSchema.md
|
|
@@ -68,6 +82,7 @@ docs/GrantPermissionRequest.md
|
|
|
68
82
|
docs/GroupMembersResponse.md
|
|
69
83
|
docs/GroupsApi.md
|
|
70
84
|
docs/HealthApi.md
|
|
85
|
+
docs/HealthCheckRequest.md
|
|
71
86
|
docs/HealthResponse.md
|
|
72
87
|
docs/HeartbeatRequest.md
|
|
73
88
|
docs/ImageInfoDto.md
|
|
@@ -83,6 +98,8 @@ docs/KillContainerRequest.md
|
|
|
83
98
|
docs/LinkDeploymentRequest.md
|
|
84
99
|
docs/LoginRequest.md
|
|
85
100
|
docs/LoginResponse.md
|
|
101
|
+
docs/NetworkAttachmentInfo.md
|
|
102
|
+
docs/NetworkAttachmentRequest.md
|
|
86
103
|
docs/NetworkSummary.md
|
|
87
104
|
docs/NetworksApi.md
|
|
88
105
|
docs/NodeDetails.md
|
|
@@ -96,12 +113,16 @@ docs/NotifierConfigOneOf2.md
|
|
|
96
113
|
docs/NotifierConfigOneOf3.md
|
|
97
114
|
docs/NotifierKind.md
|
|
98
115
|
docs/NotifiersApi.md
|
|
116
|
+
docs/OidcCallbackResponse.md
|
|
117
|
+
docs/OidcProviderPublic.md
|
|
99
118
|
docs/OverlayApi.md
|
|
100
119
|
docs/OverlayStatusResponse.md
|
|
101
120
|
docs/PeerInfo.md
|
|
102
121
|
docs/PeerListResponse.md
|
|
103
122
|
docs/PermissionLevel.md
|
|
104
123
|
docs/PermissionsApi.md
|
|
124
|
+
docs/PortMapping.md
|
|
125
|
+
docs/PortProtocol.md
|
|
105
126
|
docs/ProjectPullResponse.md
|
|
106
127
|
docs/ProjectsApi.md
|
|
107
128
|
docs/ProxyApi.md
|
|
@@ -109,10 +130,15 @@ docs/PruneResultDto.md
|
|
|
109
130
|
docs/PullImageRequest.md
|
|
110
131
|
docs/PullImageResponse.md
|
|
111
132
|
docs/RegisteredServiceInfo.md
|
|
133
|
+
docs/RegistryAuth.md
|
|
134
|
+
docs/RegistryAuthType.md
|
|
112
135
|
docs/RegistryAuthTypeSchema.md
|
|
113
136
|
docs/RegistryCredentialResponse.md
|
|
114
137
|
docs/ReplicationInfo.md
|
|
115
138
|
docs/RestartContainerRequest.md
|
|
139
|
+
docs/RevealAllSecretsResponse.md
|
|
140
|
+
docs/RotateSecretRequest.md
|
|
141
|
+
docs/RotateSecretResponse.md
|
|
116
142
|
docs/RouteInfo.md
|
|
117
143
|
docs/RoutesResponse.md
|
|
118
144
|
docs/ScaleRequest.md
|
|
@@ -175,7 +201,9 @@ docs/UserRole.md
|
|
|
175
201
|
docs/UserView.md
|
|
176
202
|
docs/UsersApi.md
|
|
177
203
|
docs/VariablesApi.md
|
|
204
|
+
docs/VolumeInfo.md
|
|
178
205
|
docs/VolumeMount.md
|
|
206
|
+
docs/VolumeMountType.md
|
|
179
207
|
docs/VolumeSummary.md
|
|
180
208
|
docs/VolumesApi.md
|
|
181
209
|
docs/WebhookInfoResponse.md
|
|
@@ -195,11 +223,13 @@ src/apis/AuditApi.ts
|
|
|
195
223
|
src/apis/AuthenticationApi.ts
|
|
196
224
|
src/apis/BuildApi.ts
|
|
197
225
|
src/apis/ClusterApi.ts
|
|
226
|
+
src/apis/ContainerNetworksApi.ts
|
|
198
227
|
src/apis/ContainersApi.ts
|
|
199
228
|
src/apis/CredentialsApi.ts
|
|
200
229
|
src/apis/CronApi.ts
|
|
201
230
|
src/apis/DeploymentsApi.ts
|
|
202
231
|
src/apis/EnvironmentsApi.ts
|
|
232
|
+
src/apis/EventsApi.ts
|
|
203
233
|
src/apis/GroupsApi.ts
|
|
204
234
|
src/apis/HealthApi.ts
|
|
205
235
|
src/apis/ImagesApi.ts
|
|
@@ -231,6 +261,10 @@ src/models/BackendGroupInfo.ts
|
|
|
231
261
|
src/models/BackendInfo.ts
|
|
232
262
|
src/models/BackendsResponse.ts
|
|
233
263
|
src/models/BootstrapRequest.ts
|
|
264
|
+
src/models/BridgeNetwork.ts
|
|
265
|
+
src/models/BridgeNetworkAttachment.ts
|
|
266
|
+
src/models/BridgeNetworkDetails.ts
|
|
267
|
+
src/models/BridgeNetworkDriver.ts
|
|
234
268
|
src/models/BuildKind.ts
|
|
235
269
|
src/models/BuildRequest.ts
|
|
236
270
|
src/models/BuildRequestWithContext.ts
|
|
@@ -242,12 +276,19 @@ src/models/ClusterJoinRequest.ts
|
|
|
242
276
|
src/models/ClusterJoinResponse.ts
|
|
243
277
|
src/models/ClusterNodeSummary.ts
|
|
244
278
|
src/models/ClusterPeer.ts
|
|
279
|
+
src/models/ConnectBridgeNetworkRequest.ts
|
|
280
|
+
src/models/ContainerEvent.ts
|
|
281
|
+
src/models/ContainerEventKind.ts
|
|
245
282
|
src/models/ContainerExecRequest.ts
|
|
246
283
|
src/models/ContainerExecResponse.ts
|
|
284
|
+
src/models/ContainerHealthInfo.ts
|
|
247
285
|
src/models/ContainerInfo.ts
|
|
248
286
|
src/models/ContainerResourceLimits.ts
|
|
287
|
+
src/models/ContainerRestartKind.ts
|
|
288
|
+
src/models/ContainerRestartPolicy.ts
|
|
249
289
|
src/models/ContainerStatsResponse.ts
|
|
250
290
|
src/models/ContainerWaitResponse.ts
|
|
291
|
+
src/models/CreateBridgeNetworkRequest.ts
|
|
251
292
|
src/models/CreateContainerRequest.ts
|
|
252
293
|
src/models/CreateDeploymentRequest.ts
|
|
253
294
|
src/models/CreateEnvironmentRequest.ts
|
|
@@ -265,12 +306,14 @@ src/models/CreateTunnelRequest.ts
|
|
|
265
306
|
src/models/CreateTunnelResponse.ts
|
|
266
307
|
src/models/CreateUserRequest.ts
|
|
267
308
|
src/models/CreateVariableRequest.ts
|
|
309
|
+
src/models/CreateVolumeRequest.ts
|
|
268
310
|
src/models/CreateWorkflowRequest.ts
|
|
269
311
|
src/models/CronJobResponse.ts
|
|
270
312
|
src/models/CronStatusResponse.ts
|
|
271
313
|
src/models/CsrfResponse.ts
|
|
272
314
|
src/models/DeploymentDetails.ts
|
|
273
315
|
src/models/DeploymentSummary.ts
|
|
316
|
+
src/models/DisconnectBridgeNetworkRequest.ts
|
|
274
317
|
src/models/DnsStatusResponse.ts
|
|
275
318
|
src/models/ForceLeaderRequest.ts
|
|
276
319
|
src/models/ForceLeaderResponse.ts
|
|
@@ -280,6 +323,7 @@ src/models/GpuInfoSummary.ts
|
|
|
280
323
|
src/models/GpuUtilizationReport.ts
|
|
281
324
|
src/models/GrantPermissionRequest.ts
|
|
282
325
|
src/models/GroupMembersResponse.ts
|
|
326
|
+
src/models/HealthCheckRequest.ts
|
|
283
327
|
src/models/HealthResponse.ts
|
|
284
328
|
src/models/HeartbeatRequest.ts
|
|
285
329
|
src/models/ImageInfoDto.ts
|
|
@@ -292,6 +336,8 @@ src/models/KillContainerRequest.ts
|
|
|
292
336
|
src/models/LinkDeploymentRequest.ts
|
|
293
337
|
src/models/LoginRequest.ts
|
|
294
338
|
src/models/LoginResponse.ts
|
|
339
|
+
src/models/NetworkAttachmentInfo.ts
|
|
340
|
+
src/models/NetworkAttachmentRequest.ts
|
|
295
341
|
src/models/NetworkSummary.ts
|
|
296
342
|
src/models/NodeDetails.ts
|
|
297
343
|
src/models/NodeResourceInfo.ts
|
|
@@ -302,19 +348,28 @@ src/models/NotifierConfigOneOf1.ts
|
|
|
302
348
|
src/models/NotifierConfigOneOf2.ts
|
|
303
349
|
src/models/NotifierConfigOneOf3.ts
|
|
304
350
|
src/models/NotifierKind.ts
|
|
351
|
+
src/models/OidcCallbackResponse.ts
|
|
352
|
+
src/models/OidcProviderPublic.ts
|
|
305
353
|
src/models/OverlayStatusResponse.ts
|
|
306
354
|
src/models/PeerInfo.ts
|
|
307
355
|
src/models/PeerListResponse.ts
|
|
308
356
|
src/models/PermissionLevel.ts
|
|
357
|
+
src/models/PortMapping.ts
|
|
358
|
+
src/models/PortProtocol.ts
|
|
309
359
|
src/models/ProjectPullResponse.ts
|
|
310
360
|
src/models/PruneResultDto.ts
|
|
311
361
|
src/models/PullImageRequest.ts
|
|
312
362
|
src/models/PullImageResponse.ts
|
|
313
363
|
src/models/RegisteredServiceInfo.ts
|
|
364
|
+
src/models/RegistryAuth.ts
|
|
365
|
+
src/models/RegistryAuthType.ts
|
|
314
366
|
src/models/RegistryAuthTypeSchema.ts
|
|
315
367
|
src/models/RegistryCredentialResponse.ts
|
|
316
368
|
src/models/ReplicationInfo.ts
|
|
317
369
|
src/models/RestartContainerRequest.ts
|
|
370
|
+
src/models/RevealAllSecretsResponse.ts
|
|
371
|
+
src/models/RotateSecretRequest.ts
|
|
372
|
+
src/models/RotateSecretResponse.ts
|
|
318
373
|
src/models/RouteInfo.ts
|
|
319
374
|
src/models/RoutesResponse.ts
|
|
320
375
|
src/models/ScaleRequest.ts
|
|
@@ -369,7 +424,9 @@ src/models/UpdateUserRequest.ts
|
|
|
369
424
|
src/models/UpdateVariableRequest.ts
|
|
370
425
|
src/models/UserRole.ts
|
|
371
426
|
src/models/UserView.ts
|
|
427
|
+
src/models/VolumeInfo.ts
|
|
372
428
|
src/models/VolumeMount.ts
|
|
429
|
+
src/models/VolumeMountType.ts
|
|
373
430
|
src/models/VolumeSummary.ts
|
|
374
431
|
src/models/WebhookInfoResponse.ts
|
|
375
432
|
src/models/WebhookResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @zlayer/client@0.
|
|
1
|
+
# @zlayer/api-client@0.10.104
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ A TypeScript SDK client for the localhost API.
|
|
|
7
7
|
First, install the SDK from npm.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @zlayer/client --save
|
|
10
|
+
npm install @zlayer/api-client --save
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Next, try it out.
|
|
@@ -17,11 +17,11 @@ Next, try it out.
|
|
|
17
17
|
import {
|
|
18
18
|
Configuration,
|
|
19
19
|
AuditApi,
|
|
20
|
-
} from '@zlayer/client';
|
|
21
|
-
import type { ListAuditRequest } from '@zlayer/client';
|
|
20
|
+
} from '@zlayer/api-client';
|
|
21
|
+
import type { ListAuditRequest } from '@zlayer/api-client';
|
|
22
22
|
|
|
23
23
|
async function example() {
|
|
24
|
-
console.log("🚀 Testing @zlayer/client SDK...");
|
|
24
|
+
console.log("🚀 Testing @zlayer/api-client SDK...");
|
|
25
25
|
const api = new AuditApi();
|
|
26
26
|
|
|
27
27
|
const body = {
|
|
@@ -60,11 +60,14 @@ All URIs are relative to *http://localhost*
|
|
|
60
60
|
| ----- | ------ | ------------ | -------------
|
|
61
61
|
*AuditApi* | [**listAudit**](docs/AuditApi.md#listaudit) | **GET** /api/v1/audit | List audit log entries. Admin only.
|
|
62
62
|
*AuthenticationApi* | [**bootstrap**](docs/AuthenticationApi.md#bootstrapoperation) | **POST** /auth/bootstrap | Bootstrap the very first admin user. Returns 409 if any user exists.
|
|
63
|
+
*AuthenticationApi* | [**callback**](docs/AuthenticationApi.md#callback) | **GET** /auth/oidc/{provider}/callback | `GET /auth/oidc/:provider/callback`.
|
|
63
64
|
*AuthenticationApi* | [**csrf**](docs/AuthenticationApi.md#csrf) | **GET** /auth/csrf | Rotate the CSRF double-submit token for the current session.
|
|
64
65
|
*AuthenticationApi* | [**getToken**](docs/AuthenticationApi.md#gettoken) | **POST** /auth/token | Get an access token.
|
|
66
|
+
*AuthenticationApi* | [**listProviders**](docs/AuthenticationApi.md#listproviders) | **GET** /auth/oidc/providers | `GET /auth/oidc/providers`.
|
|
65
67
|
*AuthenticationApi* | [**login**](docs/AuthenticationApi.md#loginoperation) | **POST** /auth/login | Sign in an existing user.
|
|
66
68
|
*AuthenticationApi* | [**logout**](docs/AuthenticationApi.md#logout) | **POST** /auth/logout | Clear the session + CSRF cookies.
|
|
67
69
|
*AuthenticationApi* | [**me**](docs/AuthenticationApi.md#me) | **GET** /auth/me | Return the currently signed-in user.
|
|
70
|
+
*AuthenticationApi* | [**start**](docs/AuthenticationApi.md#start) | **GET** /auth/oidc/{provider}/start | `GET /auth/oidc/:provider/start` — 302 to the provider\'s authorize URL.
|
|
68
71
|
*BuildApi* | [**getBuildLogs**](docs/BuildApi.md#getbuildlogs) | **GET** /api/v1/build/{id}/logs | GET /api/v1/build/{id}/logs Get build logs.
|
|
69
72
|
*BuildApi* | [**getBuildStatus**](docs/BuildApi.md#getbuildstatus) | **GET** /api/v1/build/{id} | GET /api/v1/build/{id} Get build status.
|
|
70
73
|
*BuildApi* | [**listBuilds**](docs/BuildApi.md#listbuilds) | **GET** /api/v1/builds | GET /api/v1/builds List all builds.
|
|
@@ -76,6 +79,12 @@ All URIs are relative to *http://localhost*
|
|
|
76
79
|
*ClusterApi* | [**clusterHeartbeat**](docs/ClusterApi.md#clusterheartbeat) | **POST** /api/v1/cluster/heartbeat | Handle node heartbeat.
|
|
77
80
|
*ClusterApi* | [**clusterJoin**](docs/ClusterApi.md#clusterjoinoperation) | **POST** /api/v1/cluster/join | Handle a cluster join request.
|
|
78
81
|
*ClusterApi* | [**clusterListNodes**](docs/ClusterApi.md#clusterlistnodes) | **GET** /api/v1/cluster/nodes | List all nodes visible in the Raft cluster state.
|
|
82
|
+
*ContainerNetworksApi* | [**connectContainerNetwork**](docs/ContainerNetworksApi.md#connectcontainernetwork) | **POST** /api/v1/container-networks/{id_or_name}/connect | Attach a container to a network.
|
|
83
|
+
*ContainerNetworksApi* | [**createContainerNetwork**](docs/ContainerNetworksApi.md#createcontainernetwork) | **POST** /api/v1/container-networks | Create a new bridge or overlay network.
|
|
84
|
+
*ContainerNetworksApi* | [**deleteContainerNetwork**](docs/ContainerNetworksApi.md#deletecontainernetwork) | **DELETE** /api/v1/container-networks/{id_or_name} | Delete a bridge network. Refuses if the network still has attachments unless `?force=true` is set.
|
|
85
|
+
*ContainerNetworksApi* | [**disconnectContainerNetwork**](docs/ContainerNetworksApi.md#disconnectcontainernetwork) | **POST** /api/v1/container-networks/{id_or_name}/disconnect | Detach a container from a network.
|
|
86
|
+
*ContainerNetworksApi* | [**getContainerNetwork**](docs/ContainerNetworksApi.md#getcontainernetwork) | **GET** /api/v1/container-networks/{id_or_name} | Inspect a single bridge network by id or by name.
|
|
87
|
+
*ContainerNetworksApi* | [**listContainerNetworks**](docs/ContainerNetworksApi.md#listcontainernetworks) | **GET** /api/v1/container-networks | List all bridge networks, optionally filtered by label.
|
|
79
88
|
*ContainersApi* | [**createContainer**](docs/ContainersApi.md#createcontaineroperation) | **POST** /api/v1/containers | Create and start a container.
|
|
80
89
|
*ContainersApi* | [**deleteContainer**](docs/ContainersApi.md#deletecontainer) | **DELETE** /api/v1/containers/{id} | Stop and remove a container.
|
|
81
90
|
*ContainersApi* | [**execInContainer**](docs/ContainersApi.md#execincontainer) | **POST** /api/v1/containers/{id}/exec | Execute a command in a running container.
|
|
@@ -108,6 +117,7 @@ All URIs are relative to *http://localhost*
|
|
|
108
117
|
*EnvironmentsApi* | [**getEnvironment**](docs/EnvironmentsApi.md#getenvironment) | **GET** /api/v1/environments/{id} | Fetch a single environment by id.
|
|
109
118
|
*EnvironmentsApi* | [**listEnvironments**](docs/EnvironmentsApi.md#listenvironments) | **GET** /api/v1/environments | List environments.
|
|
110
119
|
*EnvironmentsApi* | [**updateEnvironment**](docs/EnvironmentsApi.md#updateenvironmentoperation) | **PATCH** /api/v1/environments/{id} | Rename / re-describe an environment. Admin only.
|
|
120
|
+
*EventsApi* | [**streamEvents**](docs/EventsApi.md#streamevents) | **GET** /api/v1/events | Stream container lifecycle events as Server-Sent Events.
|
|
111
121
|
*GroupsApi* | [**addMember**](docs/GroupsApi.md#addmemberoperation) | **POST** /api/v1/groups/{id}/members | Add a member to a group. Admin only.
|
|
112
122
|
*GroupsApi* | [**createGroup**](docs/GroupsApi.md#creategroupoperation) | **POST** /api/v1/groups | Create a new group. Admin only.
|
|
113
123
|
*GroupsApi* | [**deleteGroup**](docs/GroupsApi.md#deletegroup) | **DELETE** /api/v1/groups/{id} | Delete a group. Admin only.
|
|
@@ -149,6 +159,7 @@ All URIs are relative to *http://localhost*
|
|
|
149
159
|
*OverlayApi* | [**getOverlayStatus**](docs/OverlayApi.md#getoverlaystatus) | **GET** /api/v1/overlay/status | Get overlay network status.
|
|
150
160
|
*PermissionsApi* | [**grantPermission**](docs/PermissionsApi.md#grantpermissionoperation) | **POST** /api/v1/permissions | Grant a permission. Admin only.
|
|
151
161
|
*PermissionsApi* | [**listPermissions**](docs/PermissionsApi.md#listpermissions) | **GET** /api/v1/permissions | List permissions for a subject (user or group).
|
|
162
|
+
*PermissionsApi* | [**listPermissionsByResource**](docs/PermissionsApi.md#listpermissionsbyresource) | **GET** /api/v1/permissions/by-resource | List permissions granted on a specific resource.
|
|
152
163
|
*PermissionsApi* | [**revokePermission**](docs/PermissionsApi.md#revokepermission) | **DELETE** /api/v1/permissions/{id} | Revoke a permission by id. Admin only.
|
|
153
164
|
*ProjectsApi* | [**createProject**](docs/ProjectsApi.md#createprojectoperation) | **POST** /api/v1/projects | Create a new project. Admin only.
|
|
154
165
|
*ProjectsApi* | [**deleteProject**](docs/ProjectsApi.md#deleteproject) | **DELETE** /api/v1/projects/{id} | Delete a project. Admin only. Cascade-removes deployment links.
|
|
@@ -168,6 +179,8 @@ All URIs are relative to *http://localhost*
|
|
|
168
179
|
*SecretsApi* | [**deleteSecret**](docs/SecretsApi.md#deletesecret) | **DELETE** /api/v1/secrets/{name} | Delete a secret.
|
|
169
180
|
*SecretsApi* | [**getSecretMetadata**](docs/SecretsApi.md#getsecretmetadata) | **GET** /api/v1/secrets/{name} | Get metadata for a specific secret. With `?reveal=true` (admin only), the response also includes the plaintext `value`.
|
|
170
181
|
*SecretsApi* | [**listSecrets**](docs/SecretsApi.md#listsecrets) | **GET** /api/v1/secrets | List secrets in a scope.
|
|
182
|
+
*SecretsApi* | [**revealAllSecrets**](docs/SecretsApi.md#revealallsecrets) | **GET** /api/v1/secrets/reveal-all | Reveal every secret in an environment at once (admin only).
|
|
183
|
+
*SecretsApi* | [**rotateSecret**](docs/SecretsApi.md#rotatesecretoperation) | **POST** /api/v1/secrets/{name}/rotate | Rotate a secret — overwrite with a new value and return the version before+after.
|
|
171
184
|
*ServicesApi* | [**getService**](docs/ServicesApi.md#getservice) | **GET** /api/v1/deployments/{deployment}/services/{service} | Get service details.
|
|
172
185
|
*ServicesApi* | [**getServiceLogs**](docs/ServicesApi.md#getservicelogs) | **GET** /api/v1/deployments/{deployment}/services/{service}/logs | Get service logs.
|
|
173
186
|
*ServicesApi* | [**listServices**](docs/ServicesApi.md#listservices) | **GET** /api/v1/deployments/{deployment}/services | List services in a deployment.
|
|
@@ -201,7 +214,9 @@ All URIs are relative to *http://localhost*
|
|
|
201
214
|
*VariablesApi* | [**getVariable**](docs/VariablesApi.md#getvariable) | **GET** /api/v1/variables/{id} | Fetch a single variable by id.
|
|
202
215
|
*VariablesApi* | [**listVariables**](docs/VariablesApi.md#listvariables) | **GET** /api/v1/variables | List variables.
|
|
203
216
|
*VariablesApi* | [**updateVariable**](docs/VariablesApi.md#updatevariableoperation) | **PATCH** /api/v1/variables/{id} | Update a variable\'s name and/or value. Admin only.
|
|
217
|
+
*VolumesApi* | [**createVolume**](docs/VolumesApi.md#createvolumeoperation) | **POST** /api/v1/volumes | Create a new named volume.
|
|
204
218
|
*VolumesApi* | [**deleteVolume**](docs/VolumesApi.md#deletevolume) | **DELETE** /api/v1/volumes/{name} | Delete a volume by name.
|
|
219
|
+
*VolumesApi* | [**getVolume**](docs/VolumesApi.md#getvolume) | **GET** /api/v1/volumes/{name} | Inspect a single volume by name.
|
|
205
220
|
*VolumesApi* | [**listVolumes**](docs/VolumesApi.md#listvolumes) | **GET** /api/v1/volumes | List all volumes on disk.
|
|
206
221
|
*WebhooksApi* | [**getWebhookInfo**](docs/WebhooksApi.md#getwebhookinfo) | **GET** /api/v1/projects/{id}/webhook | Get webhook configuration for a project.
|
|
207
222
|
*WebhooksApi* | [**receiveWebhook**](docs/WebhooksApi.md#receivewebhook) | **POST** /webhooks/{provider}/{project_id} | Receive a webhook push event and trigger a project pull.
|
|
@@ -222,6 +237,10 @@ All URIs are relative to *http://localhost*
|
|
|
222
237
|
- [BackendInfo](docs/BackendInfo.md)
|
|
223
238
|
- [BackendsResponse](docs/BackendsResponse.md)
|
|
224
239
|
- [BootstrapRequest](docs/BootstrapRequest.md)
|
|
240
|
+
- [BridgeNetwork](docs/BridgeNetwork.md)
|
|
241
|
+
- [BridgeNetworkAttachment](docs/BridgeNetworkAttachment.md)
|
|
242
|
+
- [BridgeNetworkDetails](docs/BridgeNetworkDetails.md)
|
|
243
|
+
- [BridgeNetworkDriver](docs/BridgeNetworkDriver.md)
|
|
225
244
|
- [BuildKind](docs/BuildKind.md)
|
|
226
245
|
- [BuildRequest](docs/BuildRequest.md)
|
|
227
246
|
- [BuildRequestWithContext](docs/BuildRequestWithContext.md)
|
|
@@ -233,12 +252,19 @@ All URIs are relative to *http://localhost*
|
|
|
233
252
|
- [ClusterJoinResponse](docs/ClusterJoinResponse.md)
|
|
234
253
|
- [ClusterNodeSummary](docs/ClusterNodeSummary.md)
|
|
235
254
|
- [ClusterPeer](docs/ClusterPeer.md)
|
|
255
|
+
- [ConnectBridgeNetworkRequest](docs/ConnectBridgeNetworkRequest.md)
|
|
256
|
+
- [ContainerEvent](docs/ContainerEvent.md)
|
|
257
|
+
- [ContainerEventKind](docs/ContainerEventKind.md)
|
|
236
258
|
- [ContainerExecRequest](docs/ContainerExecRequest.md)
|
|
237
259
|
- [ContainerExecResponse](docs/ContainerExecResponse.md)
|
|
260
|
+
- [ContainerHealthInfo](docs/ContainerHealthInfo.md)
|
|
238
261
|
- [ContainerInfo](docs/ContainerInfo.md)
|
|
239
262
|
- [ContainerResourceLimits](docs/ContainerResourceLimits.md)
|
|
263
|
+
- [ContainerRestartKind](docs/ContainerRestartKind.md)
|
|
264
|
+
- [ContainerRestartPolicy](docs/ContainerRestartPolicy.md)
|
|
240
265
|
- [ContainerStatsResponse](docs/ContainerStatsResponse.md)
|
|
241
266
|
- [ContainerWaitResponse](docs/ContainerWaitResponse.md)
|
|
267
|
+
- [CreateBridgeNetworkRequest](docs/CreateBridgeNetworkRequest.md)
|
|
242
268
|
- [CreateContainerRequest](docs/CreateContainerRequest.md)
|
|
243
269
|
- [CreateDeploymentRequest](docs/CreateDeploymentRequest.md)
|
|
244
270
|
- [CreateEnvironmentRequest](docs/CreateEnvironmentRequest.md)
|
|
@@ -256,12 +282,14 @@ All URIs are relative to *http://localhost*
|
|
|
256
282
|
- [CreateTunnelResponse](docs/CreateTunnelResponse.md)
|
|
257
283
|
- [CreateUserRequest](docs/CreateUserRequest.md)
|
|
258
284
|
- [CreateVariableRequest](docs/CreateVariableRequest.md)
|
|
285
|
+
- [CreateVolumeRequest](docs/CreateVolumeRequest.md)
|
|
259
286
|
- [CreateWorkflowRequest](docs/CreateWorkflowRequest.md)
|
|
260
287
|
- [CronJobResponse](docs/CronJobResponse.md)
|
|
261
288
|
- [CronStatusResponse](docs/CronStatusResponse.md)
|
|
262
289
|
- [CsrfResponse](docs/CsrfResponse.md)
|
|
263
290
|
- [DeploymentDetails](docs/DeploymentDetails.md)
|
|
264
291
|
- [DeploymentSummary](docs/DeploymentSummary.md)
|
|
292
|
+
- [DisconnectBridgeNetworkRequest](docs/DisconnectBridgeNetworkRequest.md)
|
|
265
293
|
- [DnsStatusResponse](docs/DnsStatusResponse.md)
|
|
266
294
|
- [ForceLeaderRequest](docs/ForceLeaderRequest.md)
|
|
267
295
|
- [ForceLeaderResponse](docs/ForceLeaderResponse.md)
|
|
@@ -271,6 +299,7 @@ All URIs are relative to *http://localhost*
|
|
|
271
299
|
- [GpuUtilizationReport](docs/GpuUtilizationReport.md)
|
|
272
300
|
- [GrantPermissionRequest](docs/GrantPermissionRequest.md)
|
|
273
301
|
- [GroupMembersResponse](docs/GroupMembersResponse.md)
|
|
302
|
+
- [HealthCheckRequest](docs/HealthCheckRequest.md)
|
|
274
303
|
- [HealthResponse](docs/HealthResponse.md)
|
|
275
304
|
- [HeartbeatRequest](docs/HeartbeatRequest.md)
|
|
276
305
|
- [ImageInfoDto](docs/ImageInfoDto.md)
|
|
@@ -283,6 +312,8 @@ All URIs are relative to *http://localhost*
|
|
|
283
312
|
- [LinkDeploymentRequest](docs/LinkDeploymentRequest.md)
|
|
284
313
|
- [LoginRequest](docs/LoginRequest.md)
|
|
285
314
|
- [LoginResponse](docs/LoginResponse.md)
|
|
315
|
+
- [NetworkAttachmentInfo](docs/NetworkAttachmentInfo.md)
|
|
316
|
+
- [NetworkAttachmentRequest](docs/NetworkAttachmentRequest.md)
|
|
286
317
|
- [NetworkSummary](docs/NetworkSummary.md)
|
|
287
318
|
- [NodeDetails](docs/NodeDetails.md)
|
|
288
319
|
- [NodeResourceInfo](docs/NodeResourceInfo.md)
|
|
@@ -293,19 +324,28 @@ All URIs are relative to *http://localhost*
|
|
|
293
324
|
- [NotifierConfigOneOf2](docs/NotifierConfigOneOf2.md)
|
|
294
325
|
- [NotifierConfigOneOf3](docs/NotifierConfigOneOf3.md)
|
|
295
326
|
- [NotifierKind](docs/NotifierKind.md)
|
|
327
|
+
- [OidcCallbackResponse](docs/OidcCallbackResponse.md)
|
|
328
|
+
- [OidcProviderPublic](docs/OidcProviderPublic.md)
|
|
296
329
|
- [OverlayStatusResponse](docs/OverlayStatusResponse.md)
|
|
297
330
|
- [PeerInfo](docs/PeerInfo.md)
|
|
298
331
|
- [PeerListResponse](docs/PeerListResponse.md)
|
|
299
332
|
- [PermissionLevel](docs/PermissionLevel.md)
|
|
333
|
+
- [PortMapping](docs/PortMapping.md)
|
|
334
|
+
- [PortProtocol](docs/PortProtocol.md)
|
|
300
335
|
- [ProjectPullResponse](docs/ProjectPullResponse.md)
|
|
301
336
|
- [PruneResultDto](docs/PruneResultDto.md)
|
|
302
337
|
- [PullImageRequest](docs/PullImageRequest.md)
|
|
303
338
|
- [PullImageResponse](docs/PullImageResponse.md)
|
|
304
339
|
- [RegisteredServiceInfo](docs/RegisteredServiceInfo.md)
|
|
340
|
+
- [RegistryAuth](docs/RegistryAuth.md)
|
|
341
|
+
- [RegistryAuthType](docs/RegistryAuthType.md)
|
|
305
342
|
- [RegistryAuthTypeSchema](docs/RegistryAuthTypeSchema.md)
|
|
306
343
|
- [RegistryCredentialResponse](docs/RegistryCredentialResponse.md)
|
|
307
344
|
- [ReplicationInfo](docs/ReplicationInfo.md)
|
|
308
345
|
- [RestartContainerRequest](docs/RestartContainerRequest.md)
|
|
346
|
+
- [RevealAllSecretsResponse](docs/RevealAllSecretsResponse.md)
|
|
347
|
+
- [RotateSecretRequest](docs/RotateSecretRequest.md)
|
|
348
|
+
- [RotateSecretResponse](docs/RotateSecretResponse.md)
|
|
309
349
|
- [RouteInfo](docs/RouteInfo.md)
|
|
310
350
|
- [RoutesResponse](docs/RoutesResponse.md)
|
|
311
351
|
- [ScaleRequest](docs/ScaleRequest.md)
|
|
@@ -360,7 +400,9 @@ All URIs are relative to *http://localhost*
|
|
|
360
400
|
- [UpdateVariableRequest](docs/UpdateVariableRequest.md)
|
|
361
401
|
- [UserRole](docs/UserRole.md)
|
|
362
402
|
- [UserView](docs/UserView.md)
|
|
403
|
+
- [VolumeInfo](docs/VolumeInfo.md)
|
|
363
404
|
- [VolumeMount](docs/VolumeMount.md)
|
|
405
|
+
- [VolumeMountType](docs/VolumeMountType.md)
|
|
364
406
|
- [VolumeSummary](docs/VolumeSummary.md)
|
|
365
407
|
- [WebhookInfoResponse](docs/WebhookInfoResponse.md)
|
|
366
408
|
- [WebhookResponse](docs/WebhookResponse.md)
|
|
@@ -390,7 +432,7 @@ and is automatically generated by the
|
|
|
390
432
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
391
433
|
|
|
392
434
|
- API version: `0.1.0`
|
|
393
|
-
- Package version: `0.
|
|
435
|
+
- Package version: `0.10.104`
|
|
394
436
|
- Generator version: `7.21.0`
|
|
395
437
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
396
438
|
|
|
@@ -10,16 +10,22 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BootstrapRequest, CsrfResponse, LoginRequest, LoginResponse, TokenRequest, TokenResponse, UserView } from '../models/index';
|
|
13
|
+
import type { BootstrapRequest, CsrfResponse, LoginRequest, LoginResponse, OidcCallbackResponse, OidcProviderPublic, TokenRequest, TokenResponse, UserView } from '../models/index';
|
|
14
14
|
export interface BootstrapOperationRequest {
|
|
15
15
|
bootstrapRequest: BootstrapRequest;
|
|
16
16
|
}
|
|
17
|
+
export interface CallbackRequest {
|
|
18
|
+
provider: string;
|
|
19
|
+
}
|
|
17
20
|
export interface GetTokenRequest {
|
|
18
21
|
tokenRequest: TokenRequest;
|
|
19
22
|
}
|
|
20
23
|
export interface LoginOperationRequest {
|
|
21
24
|
loginRequest: LoginRequest;
|
|
22
25
|
}
|
|
26
|
+
export interface StartRequest {
|
|
27
|
+
provider: string;
|
|
28
|
+
}
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
25
31
|
*/
|
|
@@ -38,6 +44,18 @@ export declare class AuthenticationApi extends runtime.BaseAPI {
|
|
|
38
44
|
* Bootstrap the very first admin user. Returns 409 if any user exists.
|
|
39
45
|
*/
|
|
40
46
|
bootstrap(requestParameters: BootstrapOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LoginResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates request options for callback without sending the request
|
|
49
|
+
*/
|
|
50
|
+
callbackRequestOpts(requestParameters: CallbackRequest): Promise<runtime.RequestOpts>;
|
|
51
|
+
/**
|
|
52
|
+
* `GET /auth/oidc/:provider/callback`.
|
|
53
|
+
*/
|
|
54
|
+
callbackRaw(requestParameters: CallbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OidcCallbackResponse>>;
|
|
55
|
+
/**
|
|
56
|
+
* `GET /auth/oidc/:provider/callback`.
|
|
57
|
+
*/
|
|
58
|
+
callback(requestParameters: CallbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OidcCallbackResponse>;
|
|
41
59
|
/**
|
|
42
60
|
* Creates request options for csrf without sending the request
|
|
43
61
|
*/
|
|
@@ -64,6 +82,18 @@ export declare class AuthenticationApi extends runtime.BaseAPI {
|
|
|
64
82
|
* Get an access token.
|
|
65
83
|
*/
|
|
66
84
|
getToken(requestParameters: GetTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TokenResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates request options for listProviders without sending the request
|
|
87
|
+
*/
|
|
88
|
+
listProvidersRequestOpts(): Promise<runtime.RequestOpts>;
|
|
89
|
+
/**
|
|
90
|
+
* `GET /auth/oidc/providers`.
|
|
91
|
+
*/
|
|
92
|
+
listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OidcProviderPublic>>>;
|
|
93
|
+
/**
|
|
94
|
+
* `GET /auth/oidc/providers`.
|
|
95
|
+
*/
|
|
96
|
+
listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OidcProviderPublic>>;
|
|
67
97
|
/**
|
|
68
98
|
* Creates request options for login without sending the request
|
|
69
99
|
*/
|
|
@@ -104,4 +134,16 @@ export declare class AuthenticationApi extends runtime.BaseAPI {
|
|
|
104
134
|
* Return the currently signed-in user.
|
|
105
135
|
*/
|
|
106
136
|
me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserView>;
|
|
137
|
+
/**
|
|
138
|
+
* Creates request options for start without sending the request
|
|
139
|
+
*/
|
|
140
|
+
startRequestOpts(requestParameters: StartRequest): Promise<runtime.RequestOpts>;
|
|
141
|
+
/**
|
|
142
|
+
* `GET /auth/oidc/:provider/start` — 302 to the provider\'s authorize URL.
|
|
143
|
+
*/
|
|
144
|
+
startRaw(requestParameters: StartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
145
|
+
/**
|
|
146
|
+
* `GET /auth/oidc/:provider/start` — 302 to the provider\'s authorize URL.
|
|
147
|
+
*/
|
|
148
|
+
start(requestParameters: StartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
107
149
|
}
|
|
@@ -71,6 +71,45 @@ class AuthenticationApi extends runtime.BaseAPI {
|
|
|
71
71
|
return yield response.value();
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Creates request options for callback without sending the request
|
|
76
|
+
*/
|
|
77
|
+
callbackRequestOpts(requestParameters) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
if (requestParameters['provider'] == null) {
|
|
80
|
+
throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling callback().');
|
|
81
|
+
}
|
|
82
|
+
const queryParameters = {};
|
|
83
|
+
const headerParameters = {};
|
|
84
|
+
let urlPath = `/auth/oidc/{provider}/callback`;
|
|
85
|
+
urlPath = urlPath.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters['provider'])));
|
|
86
|
+
return {
|
|
87
|
+
path: urlPath,
|
|
88
|
+
method: 'GET',
|
|
89
|
+
headers: headerParameters,
|
|
90
|
+
query: queryParameters,
|
|
91
|
+
};
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* `GET /auth/oidc/:provider/callback`.
|
|
96
|
+
*/
|
|
97
|
+
callbackRaw(requestParameters, initOverrides) {
|
|
98
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
const requestOptions = yield this.callbackRequestOpts(requestParameters);
|
|
100
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
101
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OidcCallbackResponseFromJSON)(jsonValue));
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* `GET /auth/oidc/:provider/callback`.
|
|
106
|
+
*/
|
|
107
|
+
callback(requestParameters, initOverrides) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
const response = yield this.callbackRaw(requestParameters, initOverrides);
|
|
110
|
+
return yield response.value();
|
|
111
|
+
});
|
|
112
|
+
}
|
|
74
113
|
/**
|
|
75
114
|
* Creates request options for csrf without sending the request
|
|
76
115
|
*/
|
|
@@ -148,6 +187,41 @@ class AuthenticationApi extends runtime.BaseAPI {
|
|
|
148
187
|
return yield response.value();
|
|
149
188
|
});
|
|
150
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* Creates request options for listProviders without sending the request
|
|
192
|
+
*/
|
|
193
|
+
listProvidersRequestOpts() {
|
|
194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
195
|
+
const queryParameters = {};
|
|
196
|
+
const headerParameters = {};
|
|
197
|
+
let urlPath = `/auth/oidc/providers`;
|
|
198
|
+
return {
|
|
199
|
+
path: urlPath,
|
|
200
|
+
method: 'GET',
|
|
201
|
+
headers: headerParameters,
|
|
202
|
+
query: queryParameters,
|
|
203
|
+
};
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* `GET /auth/oidc/providers`.
|
|
208
|
+
*/
|
|
209
|
+
listProvidersRaw(initOverrides) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
const requestOptions = yield this.listProvidersRequestOpts();
|
|
212
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
213
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.OidcProviderPublicFromJSON));
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* `GET /auth/oidc/providers`.
|
|
218
|
+
*/
|
|
219
|
+
listProviders(initOverrides) {
|
|
220
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
221
|
+
const response = yield this.listProvidersRaw(initOverrides);
|
|
222
|
+
return yield response.value();
|
|
223
|
+
});
|
|
224
|
+
}
|
|
151
225
|
/**
|
|
152
226
|
* Creates request options for login without sending the request
|
|
153
227
|
*/
|
|
@@ -261,5 +335,43 @@ class AuthenticationApi extends runtime.BaseAPI {
|
|
|
261
335
|
return yield response.value();
|
|
262
336
|
});
|
|
263
337
|
}
|
|
338
|
+
/**
|
|
339
|
+
* Creates request options for start without sending the request
|
|
340
|
+
*/
|
|
341
|
+
startRequestOpts(requestParameters) {
|
|
342
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
343
|
+
if (requestParameters['provider'] == null) {
|
|
344
|
+
throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling start().');
|
|
345
|
+
}
|
|
346
|
+
const queryParameters = {};
|
|
347
|
+
const headerParameters = {};
|
|
348
|
+
let urlPath = `/auth/oidc/{provider}/start`;
|
|
349
|
+
urlPath = urlPath.replace(`{${"provider"}}`, encodeURIComponent(String(requestParameters['provider'])));
|
|
350
|
+
return {
|
|
351
|
+
path: urlPath,
|
|
352
|
+
method: 'GET',
|
|
353
|
+
headers: headerParameters,
|
|
354
|
+
query: queryParameters,
|
|
355
|
+
};
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* `GET /auth/oidc/:provider/start` — 302 to the provider\'s authorize URL.
|
|
360
|
+
*/
|
|
361
|
+
startRaw(requestParameters, initOverrides) {
|
|
362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
363
|
+
const requestOptions = yield this.startRequestOpts(requestParameters);
|
|
364
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
365
|
+
return new runtime.VoidApiResponse(response);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* `GET /auth/oidc/:provider/start` — 302 to the provider\'s authorize URL.
|
|
370
|
+
*/
|
|
371
|
+
start(requestParameters, initOverrides) {
|
|
372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
373
|
+
yield this.startRaw(requestParameters, initOverrides);
|
|
374
|
+
});
|
|
375
|
+
}
|
|
264
376
|
}
|
|
265
377
|
exports.AuthenticationApi = AuthenticationApi;
|