Skip to content

Commit 09c5f87

Browse files
committed
feat: update generated APIs
1 parent 8768d24 commit 09c5f87

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

packages_generated/audit_trail/src/v1alpha1/api.gen.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import {
55
urlParams,
66
validatePathParam,
77
} from '@scaleway/sdk-client'
8-
import type { Region as ScwRegion } from '@scaleway/sdk-client'
8+
import type { ApiLocality } from '../types/locality'
9+
import { toApiLocality } from '../types/locality'
910
import {
1011
unmarshalListEventsResponse,
1112
unmarshalListProductsResponse,
@@ -23,8 +24,13 @@ import type {
2324
This API allows you to ensure accountability and security by recording events and changes performed within your Scaleway Organization.
2425
*/
2526
export class API extends ParentAPI {
26-
/** Lists the available regions of the API. */
27-
public static readonly LOCALITIES: ScwRegion[] = ['fr-par', 'nl-ams']
27+
/**
28+
* Locality of this API.
29+
* type ∈ {'zone','region','global','unspecified'}
30+
*/
31+
public static readonly LOCALITY: ApiLocality = toApiLocality({
32+
regions: ['fr-par', 'nl-ams'],
33+
})
2834

2935
/**
3036
* List events. Retrieve the list of Audit Trail events for a Scaleway Organization and/or Project. You must specify the `organization_id` and optionally, the `project_id`.

packages_generated/audit_trail/src/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ const unmarshalSecretManagerSecretInfo = (
117117
}
118118

119119
return {
120+
keyId: data.key_id,
120121
path: data.path,
121122
} as SecretManagerSecretInfo
122123
}

packages_generated/audit_trail/src/v1alpha1/types.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export interface KubernetesPoolInfo {
5151

5252
export interface SecretManagerSecretInfo {
5353
path: string
54+
keyId?: string
5455
}
5556

5657
export interface SecretManagerSecretVersionInfo {

0 commit comments

Comments
 (0)