Skip to content

Commit 2462673

Browse files
authored
Merge branch 'main' into manual_1741769347
2 parents 4871941 + 3508637 commit 2462673

File tree

7 files changed

+159
-79
lines changed

7 files changed

+159
-79
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export const unmarshalContactPoint = (data: unknown): ContactPoint => {
6767

6868
return {
6969
email: data.email ? unmarshalContactPointEmail(data.email) : undefined,
70-
receiveResolvedNotifications: data.receive_resolved_notifications,
7170
region: data.region,
71+
sendResolvedNotifications: data.send_resolved_notifications,
7272
} as ContactPoint
7373
}
7474

@@ -459,7 +459,7 @@ export const marshalRegionalApiCreateContactPointRequest = (
459459
defaults: DefaultValues,
460460
): Record<string, unknown> => ({
461461
project_id: request.projectId ?? defaults.defaultProjectId,
462-
receive_resolved_notifications: request.receiveResolvedNotifications,
462+
send_resolved_notifications: request.sendResolvedNotifications,
463463
...resolveOneOf([
464464
{
465465
param: 'email',
@@ -547,7 +547,7 @@ export const marshalRegionalApiUpdateContactPointRequest = (
547547
defaults: DefaultValues,
548548
): Record<string, unknown> => ({
549549
project_id: request.projectId ?? defaults.defaultProjectId,
550-
receive_resolved_notifications: request.receiveResolvedNotifications,
550+
send_resolved_notifications: request.sendResolvedNotifications,
551551
...resolveOneOf([
552552
{
553553
param: 'email',

packages/clients/src/api/cockpit/v1/types.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface ContactPoint {
8484
/** Region. */
8585
region: ScwRegion
8686
/** Send an email notification when an alert is marked as resolved. */
87-
receiveResolvedNotifications: boolean
87+
sendResolvedNotifications: boolean
8888
}
8989

9090
/** Data source. */
@@ -412,7 +412,7 @@ export type RegionalApiCreateContactPointRequest = {
412412
*/
413413
email?: ContactPointEmail
414414
/** Send an email notification when an alert is marked as resolved. */
415-
receiveResolvedNotifications?: boolean
415+
sendResolvedNotifications?: boolean
416416
}
417417

418418
/** Create a data source. */
@@ -701,7 +701,7 @@ export type RegionalApiUpdateContactPointRequest = {
701701
*/
702702
email?: ContactPointEmail
703703
/** Enable or disable notifications when alert is resolved. */
704-
receiveResolvedNotifications?: boolean
704+
sendResolvedNotifications?: boolean
705705
}
706706

707707
/** Update a data source name. */

packages/clients/src/api/iam/v1alpha1/api.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ export class API extends ParentAPI {
277277
'page_size',
278278
request.pageSize ?? this.client.settings.defaultPageSize,
279279
],
280-
['status', request.status],
281280
['tag', request.tag],
281+
['type', request.type],
282282
['user_ids', request.userIds],
283283
),
284284
},

0 commit comments

Comments
 (0)