Skip to content

Commit 6bac50b

Browse files
authored
Merge branch 'main' into v1.6515.0
2 parents 49b46cf + 60b99f4 commit 6bac50b

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

packages_generated/cockpit/src/v1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,7 @@ If you need to receive alerts for other receivers, you can create additional con
801801
method: 'GET',
802802
path: `/cockpit/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/alerts`,
803803
urlParams: urlParams(
804+
['data_source_id', request.dataSourceId],
804805
['is_enabled', request.isEnabled],
805806
['is_preconfigured', request.isPreconfigured],
806807
[

packages_generated/cockpit/src/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ const unmarshalAlert = (data: unknown): Alert => {
294294

295295
return {
296296
annotations: data.annotations,
297+
dataSourceId: data.data_source_id,
297298
duration: data.duration,
298299
enabled: data.enabled,
299300
name: data.name,

packages_generated/cockpit/src/v1/types.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ export interface Alert {
116116
* Contains additional data for preconfigured alerts, such as the rule ID, display name, and description. Only present if the alert is preconfigured.
117117
*/
118118
preconfiguredData?: PreconfiguredAlertData
119+
/**
120+
* ID of the data source containing the alert rule.
121+
*/
122+
dataSourceId: string
119123
}
120124

121125
/**
@@ -964,6 +968,10 @@ export type RegionalApiListAlertsRequest = {
964968
* Valid values to filter on are `inactive`, `pending` and `firing`. If omitted, no filtering is applied on alert states. Other filters may still apply.
965969
*/
966970
state?: AlertState
971+
/**
972+
* If omitted, only alerts from the default scaleway data source will be listed.
973+
*/
974+
dataSourceId?: string
967975
}
968976

969977
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ export class API extends ParentAPI {
251251
],
252252
['project_id', request.projectId],
253253
['tags', request.tags],
254+
['usage', request.usage],
254255
),
255256
},
256257
unmarshalListKeysResponse,

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ export type ListKeysRequestOrderBy =
4343
| 'updated_at_asc'
4444
| 'updated_at_desc'
4545

46+
export type ListKeysRequestUsage =
47+
| 'unknown_usage'
48+
| 'symmetric_encryption'
49+
| 'asymmetric_encryption'
50+
| 'asymmetric_signing'
51+
4652
export interface KeyRotationPolicy {
4753
/**
4854
* Time interval between two key rotations. The minimum duration is 24 hours and the maximum duration is 1 year (876000 hours).
@@ -395,6 +401,10 @@ export type ListKeysRequest = {
395401
* (Optional) Filter by key name.
396402
*/
397403
name?: string
404+
/**
405+
* Select from symmetric encryption, asymmetric encryption, or asymmetric signing.
406+
*/
407+
usage?: ListKeysRequestUsage
398408
}
399409

400410
export interface ListKeysResponse {

0 commit comments

Comments
 (0)