Skip to content

Commit 78d0a45

Browse files
Merge pull request #13333 from linode/revert-13311-staging
Revert "Release v.1.158.0- staging → master"
2 parents 189337e + 7336818 commit 78d0a45

File tree

333 files changed

+2804
-7238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+2804
-7238
lines changed

packages/api-v4/CHANGELOG.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
## [2026-01-26] - v0.156.0
2-
3-
4-
### Fixed:
5-
6-
- IAM Delegation: fix payload for updateChildAccountDelegates ([#13260](https://github.com/linode/manager/pull/13260))
7-
8-
### Tech Stories:
9-
10-
- Clean up unused VPC IPv6 Large Prefixes tag ([#13245](https://github.com/linode/manager/pull/13245))
11-
12-
### Upcoming Features:
13-
14-
- CloudPulse-Alerts: Add `DeleteChannelPayload` type and request for deletion of a notification channel ([#13256](https://github.com/linode/manager/pull/13256))
15-
- Added locks property to Linode interface,added lock create and delete event keys, refactored Lock types ([#13286](https://github.com/linode/manager/pull/13286))
16-
- New type `NotificationChannelAlerts`, request `getAlertsByNotificationChannelId` to fetch alerts associated to a notification channel ([#13294](https://github.com/linode/manager/pull/13294))
17-
181
## [2026-01-12] - v0.155.0
192

203

packages/api-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@linode/api-v4",
3-
"version": "0.156.0",
3+
"version": "0.155.0",
44
"homepage": "https://github.com/linode/manager/tree/develop/packages/api-v4",
55
"bugs": {
66
"url": "https://github.com/linode/manager/issues"

packages/api-v4/src/account/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export const accountCapabilities = [
9393
'Vlans',
9494
'VPCs',
9595
'VPC Dual Stack',
96+
'VPC IPv6 Large Prefixes',
9697
] as const;
9798

9899
export type AccountCapability = (typeof accountCapabilities)[number];
@@ -434,8 +435,6 @@ export const EventActionKeys = [
434435
'lke_pool_delete',
435436
'lke_pool_recycle',
436437
'lke_token_rotate',
437-
'lock_create',
438-
'lock_delete',
439438
'longviewclient_create',
440439
'longviewclient_delete',
441440
'longviewclient_update',

packages/api-v4/src/cloudpulse/alerts.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import type {
2323
EditAlertDefinitionPayload,
2424
EditNotificationChannelPayload,
2525
NotificationChannel,
26-
NotificationChannelAlerts,
2726
} from './types';
2827

2928
export const createAlertDefinition = (
@@ -173,25 +172,3 @@ export const updateNotificationChannel = (
173172
setMethod('PUT'),
174173
setData(data, editNotificationChannelPayloadSchema),
175174
);
176-
177-
export const deleteNotificationChannel = (channelId: number) =>
178-
Request<NotificationChannel>(
179-
setURL(
180-
`${API_ROOT}/monitor/alert-channels/${encodeURIComponent(channelId)}`,
181-
),
182-
setMethod('DELETE'),
183-
);
184-
185-
export const getAlertsByNotificationChannelId = (
186-
channelId: number,
187-
params?: Params,
188-
filters?: Filter,
189-
) =>
190-
Request<ResourcePage<NotificationChannelAlerts>>(
191-
setURL(
192-
`${API_ROOT}/monitor/alert-channels/${encodeURIComponent(channelId)}/alerts`,
193-
),
194-
setMethod('GET'),
195-
setParams(params),
196-
setXFilter(filters),
197-
);

packages/api-v4/src/cloudpulse/types.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -489,18 +489,3 @@ export interface EditNotificationChannelPayloadWithId
489489
*/
490490
channelId: number;
491491
}
492-
493-
export interface DeleteChannelPayload {
494-
/**
495-
* The ID of the channel to delete.
496-
*/
497-
channelId: number;
498-
}
499-
500-
export interface NotificationChannelAlerts {
501-
id: number;
502-
label: string;
503-
service_type: CloudPulseServiceType;
504-
type: 'alerts-definitions';
505-
url: string;
506-
}

packages/api-v4/src/delivery/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export const streamStatus = {
22
Active: 'active',
33
Inactive: 'inactive',
4-
Provisioning: 'provisioning',
54
} as const;
65

76
export type StreamStatus = (typeof streamStatus)[keyof typeof streamStatus];

packages/api-v4/src/iam/delegation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const updateChildAccountDelegates = ({
6464
`${BETA_API_ROOT}/iam/delegation/child-accounts/${encodeURIComponent(euuid)}/users`,
6565
),
6666
setMethod('PUT'),
67-
setData({ users }),
67+
setData(users),
6868
);
6969

7070
export const getMyDelegatedChildAccounts = ({

packages/api-v4/src/iam/types.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,9 @@ export type AccountAdmin =
9797
| 'list_default_firewalls'
9898
| 'list_delegate_users'
9999
| 'list_enrolled_beta_programs'
100-
| 'list_entities'
101-
| 'list_role_permissions'
102100
| 'list_service_transfers'
103101
| 'list_user_delegate_accounts'
104102
| 'list_user_grants'
105-
| 'list_user_permissions'
106103
| 'revoke_profile_app'
107104
| 'revoke_profile_device'
108105
| 'send_profile_phone_number_verification_code'
@@ -257,11 +254,8 @@ export type AccountViewer =
257254
| 'list_available_services'
258255
| 'list_default_firewalls'
259256
| 'list_enrolled_beta_programs'
260-
| 'list_entities'
261-
| 'list_role_permissions'
262257
| 'list_service_transfers'
263258
| 'list_user_grants'
264-
| 'list_user_permissions'
265259
| 'view_account'
266260
| 'view_account_login'
267261
| 'view_account_settings'

packages/api-v4/src/linodes/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { MaintenancePolicySlug } from '../account/types';
22
import type { CloudPulseAlertsPayload } from '../cloudpulse/types';
3-
import type { LockType } from '../locks/types';
43
import type { IPAddress, IPRange } from '../networking/types';
54
import type { LinodePlacementGroupPayload } from '../placement-groups/types';
65
import type { Region, RegionSite } from '../regions';
@@ -45,7 +44,6 @@ export interface Linode {
4544
ipv6: null | string;
4645
label: string;
4746
lke_cluster_id: null | number;
48-
locks: LockType[];
4947
maintenance_policy?: MaintenancePolicySlug;
5048
placement_group: LinodePlacementGroupPayload | null;
5149
region: string;

packages/api-v4/src/locks/types.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
import type { Entity } from '../account/types';
21
import type { EntityType } from '../entities';
32

43
/**
54
* Types of locks that can be applied to a resource
65
*/
76
export type LockType = 'cannot_delete' | 'cannot_delete_with_subresources';
87

8+
/**
9+
* Entity information attached to a lock
10+
*/
11+
export interface LockEntity {
12+
id: number | string;
13+
label?: string;
14+
type: EntityType;
15+
url?: string;
16+
}
17+
918
/**
1019
* Request payload for creating a lock
1120
* POST /v4beta/locks
@@ -25,7 +34,7 @@ export interface CreateLockPayload {
2534
*/
2635
export interface ResourceLock {
2736
/** Information about the locked entity */
28-
entity: Entity;
37+
entity: LockEntity;
2938
/** Unique identifier for the lock */
3039
id: number;
3140
/** Type of lock applied */

0 commit comments

Comments
 (0)