Skip to content

Commit 23c1576

Browse files
committed
feat: update generated APIs
1 parent b985b98 commit 23c1576

File tree

3 files changed

+49
-43
lines changed

3 files changed

+49
-43
lines changed

packages/clients/src/api/k8s/v1/api.gen.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
validatePathParam,
88
waitForResource,
99
} from '../../../bridge'
10-
import type { Region, WaitForOptions } from '../../../bridge'
10+
import type { Region as ScwRegion, WaitForOptions } from '../../../bridge'
1111
import {
1212
CLUSTER_TRANSIENT_STATUSES,
1313
NODE_TRANSIENT_STATUSES,
@@ -105,7 +105,11 @@ const jsonContentHeaders = {
105105
*/
106106
export class API extends ParentAPI {
107107
/** Lists the available regions of the API. */
108-
public static readonly LOCALITIES: Region[] = ['fr-par', 'nl-ams', 'pl-waw']
108+
public static readonly LOCALITIES: ScwRegion[] = [
109+
'fr-par',
110+
'nl-ams',
111+
'pl-waw',
112+
]
109113

110114
protected pageOfListClusters = (
111115
request: Readonly<ListClustersRequest> = {},

packages/clients/src/api/k8s/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ export const unmarshalExternalNode = (data: unknown): ExternalNode => {
321321
cniPluginsVersion: data.cni_plugins_version,
322322
containerdVersion: data.containerd_version,
323323
externalIp: data.external_ip,
324+
iamToken: data.iam_token,
324325
id: data.id,
325326
kubeToken: data.kube_token,
326327
kubeletConfig: data.kubelet_config,

0 commit comments

Comments
 (0)