@devhelm/sdk 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +85 -19
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/schemas.d.ts +173 -24
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +38 -6
- package/dist/generated/schemas.js.map +1 -1
- package/dist/schemas.d.ts +156 -16
- package/dist/schemas.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -10,7 +10,10 @@ export interface paths {
|
|
|
10
10
|
path?: never;
|
|
11
11
|
cookie?: never;
|
|
12
12
|
};
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* List active alert channels for the authenticated org
|
|
15
|
+
* @description Supports filtering by `type` (channel integration), `managedBy` (creating surface), and `search` (case-insensitive contains on name). Unrecognised query parameters are silently ignored — pin to the documented set above.
|
|
16
|
+
*/
|
|
14
17
|
get: operations["list_14"];
|
|
15
18
|
put?: never;
|
|
16
19
|
/** Create a new alert channel with encrypted config */
|
|
@@ -756,7 +759,10 @@ export interface paths {
|
|
|
756
759
|
path?: never;
|
|
757
760
|
cookie?: never;
|
|
758
761
|
};
|
|
759
|
-
/**
|
|
762
|
+
/**
|
|
763
|
+
* List monitors for the authenticated org
|
|
764
|
+
* @description Supports filtering by `enabled`, `status` (alias active|paused for enabled), `type`, `managedBy`, `tag` / `tags`, `search`, and `environmentId`. Unrecognised query parameters are silently ignored (Spring's default binding behaviour) — pin to the documented set above.
|
|
765
|
+
*/
|
|
760
766
|
get: operations["list_8"];
|
|
761
767
|
put?: never;
|
|
762
768
|
/** Create a new monitor */
|
|
@@ -2501,6 +2507,11 @@ export interface components {
|
|
|
2501
2507
|
updatedAt: string;
|
|
2502
2508
|
/** @description SHA-256 hash of the channel config; use for change detection */
|
|
2503
2509
|
configHash?: string | null;
|
|
2510
|
+
/**
|
|
2511
|
+
* @description Source that created/owns this channel: DASHBOARD, CLI, TERRAFORM, MCP, or API. Null on channels created before this attribution column existed.
|
|
2512
|
+
* @enum {string|null}
|
|
2513
|
+
*/
|
|
2514
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
2504
2515
|
/**
|
|
2505
2516
|
* Format: date-time
|
|
2506
2517
|
* @description Timestamp of the most recent delivery attempt
|
|
@@ -3085,6 +3096,11 @@ export interface components {
|
|
|
3085
3096
|
/** @description Human-readable name for this alert channel */
|
|
3086
3097
|
name: string;
|
|
3087
3098
|
config: components["schemas"]["DiscordChannelConfig"] | components["schemas"]["EmailChannelConfig"] | components["schemas"]["OpsGenieChannelConfig"] | components["schemas"]["PagerDutyChannelConfig"] | components["schemas"]["SlackChannelConfig"] | components["schemas"]["TeamsChannelConfig"] | components["schemas"]["WebhookChannelConfig"];
|
|
3099
|
+
/**
|
|
3100
|
+
* @description Source creating this channel: DASHBOARD, CLI, TERRAFORM, MCP, or API. Defaults to API when omitted.
|
|
3101
|
+
* @enum {string|null}
|
|
3102
|
+
*/
|
|
3103
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
3088
3104
|
};
|
|
3089
3105
|
CreateApiKeyRequest: {
|
|
3090
3106
|
/** @description Human-readable name to identify this API key */
|
|
@@ -3145,9 +3161,9 @@ export interface components {
|
|
|
3145
3161
|
* @description Scheduled end of the maintenance window (ISO 8601)
|
|
3146
3162
|
*/
|
|
3147
3163
|
endsAt: string;
|
|
3148
|
-
/** @description iCal RRULE for recurring windows (
|
|
3164
|
+
/** @description Reserved: iCal RRULE for recurring windows (stored but not yet honored) */
|
|
3149
3165
|
repeatRule?: string | null;
|
|
3150
|
-
/** @description Human-readable reason for the maintenance */
|
|
3166
|
+
/** @description Human-readable reason for the maintenance (max 500 chars) */
|
|
3151
3167
|
reason?: string | null;
|
|
3152
3168
|
/** @description Whether to suppress alerts during this window (default: true) */
|
|
3153
3169
|
suppressAlerts?: boolean | null;
|
|
@@ -3179,18 +3195,18 @@ export interface components {
|
|
|
3179
3195
|
config: components["schemas"]["DnsMonitorConfig"] | components["schemas"]["HeartbeatMonitorConfig"] | components["schemas"]["HttpMonitorConfig"] | components["schemas"]["IcmpMonitorConfig"] | components["schemas"]["McpServerMonitorConfig"] | components["schemas"]["TcpMonitorConfig"];
|
|
3180
3196
|
/**
|
|
3181
3197
|
* Format: int32
|
|
3182
|
-
* @description Check frequency in seconds (
|
|
3198
|
+
* @description Check frequency in seconds (10–86400); null defaults to plan minimum (60s on most paid plans)
|
|
3183
3199
|
*/
|
|
3184
3200
|
frequencySeconds?: number | null;
|
|
3185
3201
|
/** @description Whether the monitor is active (default: true) */
|
|
3186
3202
|
enabled?: boolean | null;
|
|
3187
|
-
/** @description Probe regions to run checks from
|
|
3203
|
+
/** @description Probe regions to run checks from. Allowed values are deployment-dependent; production: us-east, us-west, eu-west, ap-south. */
|
|
3188
3204
|
regions?: string[] | null;
|
|
3189
3205
|
/**
|
|
3190
|
-
* @description Source that created/owns this monitor: DASHBOARD, CLI, TERRAFORM, MCP, or API.
|
|
3191
|
-
* @enum {string}
|
|
3206
|
+
* @description Source that created/owns this monitor: DASHBOARD, CLI, TERRAFORM, MCP, or API. Defaults to API when omitted; set to your surface so audit logs, drift detection, and analytics attribute correctly.
|
|
3207
|
+
* @enum {string|null}
|
|
3192
3208
|
*/
|
|
3193
|
-
managedBy
|
|
3209
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
3194
3210
|
/**
|
|
3195
3211
|
* Format: uuid
|
|
3196
3212
|
* @description Environment to associate with this monitor
|
|
@@ -3268,6 +3284,11 @@ export interface components {
|
|
|
3268
3284
|
* @description Recovery cooldown in minutes after group incident resolves (0–60)
|
|
3269
3285
|
*/
|
|
3270
3286
|
recoveryCooldownMinutes?: number | null;
|
|
3287
|
+
/**
|
|
3288
|
+
* @description Source creating this group: DASHBOARD, CLI, TERRAFORM, MCP, or API. Defaults to API when omitted.
|
|
3289
|
+
* @enum {string|null}
|
|
3290
|
+
*/
|
|
3291
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
3271
3292
|
};
|
|
3272
3293
|
CreateSecretRequest: {
|
|
3273
3294
|
/** @description Unique secret key within the workspace (max 255 chars) */
|
|
@@ -3395,6 +3416,11 @@ export interface components {
|
|
|
3395
3416
|
* @enum {string|null}
|
|
3396
3417
|
*/
|
|
3397
3418
|
incidentMode?: "MANUAL" | "REVIEW" | "AUTOMATIC" | null;
|
|
3419
|
+
/**
|
|
3420
|
+
* @description Source creating this page: DASHBOARD, CLI, TERRAFORM, MCP, or API. Defaults to API when omitted.
|
|
3421
|
+
* @enum {string|null}
|
|
3422
|
+
*/
|
|
3423
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
3398
3424
|
};
|
|
3399
3425
|
/** @description Request body for creating a tag */
|
|
3400
3426
|
CreateTagRequest: {
|
|
@@ -4612,7 +4638,7 @@ export interface components {
|
|
|
4612
4638
|
* @description Scheduled end of the maintenance window
|
|
4613
4639
|
*/
|
|
4614
4640
|
endsAt: string;
|
|
4615
|
-
/** @description iCal RRULE for recurring windows
|
|
4641
|
+
/** @description Reserved: iCal RRULE for recurring windows (stored but not yet honored) */
|
|
4616
4642
|
repeatRule?: string | null;
|
|
4617
4643
|
/** @description Human-readable reason for the maintenance */
|
|
4618
4644
|
reason?: string | null;
|
|
@@ -4858,6 +4884,11 @@ export interface components {
|
|
|
4858
4884
|
incidentPolicy?: components["schemas"]["IncidentPolicyDto"] | null;
|
|
4859
4885
|
/** @description Alert channel IDs linked to this monitor; populated on single-monitor responses */
|
|
4860
4886
|
alertChannelIds?: string[] | null;
|
|
4887
|
+
/**
|
|
4888
|
+
* @description Current operational state — UP, DOWN, DEGRADED, PAUSED, or UNKNOWN if no probe data yet
|
|
4889
|
+
* @enum {string|null}
|
|
4890
|
+
*/
|
|
4891
|
+
currentStatus?: "up" | "degraded" | "down" | "paused" | "unknown" | null;
|
|
4861
4892
|
};
|
|
4862
4893
|
/** @description Monitors that reference this secret; null on create/update responses */
|
|
4863
4894
|
MonitorReference: {
|
|
@@ -5436,6 +5467,11 @@ export interface components {
|
|
|
5436
5467
|
health: components["schemas"]["ResourceGroupHealthDto"];
|
|
5437
5468
|
/** @description Member list with individual statuses; populated on detail GET only */
|
|
5438
5469
|
members?: components["schemas"]["ResourceGroupMemberDto"][] | null;
|
|
5470
|
+
/**
|
|
5471
|
+
* @description Source that created/owns this group: DASHBOARD, CLI, TERRAFORM, MCP, or API. Null on groups created before this attribution column existed.
|
|
5472
|
+
* @enum {string|null}
|
|
5473
|
+
*/
|
|
5474
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
5439
5475
|
/**
|
|
5440
5476
|
* Format: date-time
|
|
5441
5477
|
* @description Timestamp when the group was created
|
|
@@ -5585,7 +5621,7 @@ export interface components {
|
|
|
5585
5621
|
* @description Derived current status across all regions
|
|
5586
5622
|
* @enum {string}
|
|
5587
5623
|
*/
|
|
5588
|
-
currentStatus: "up" | "degraded" | "down" | "unknown";
|
|
5624
|
+
currentStatus: "up" | "degraded" | "down" | "paused" | "unknown";
|
|
5589
5625
|
/** @description Latest check result per region */
|
|
5590
5626
|
latestPerRegion: components["schemas"]["RegionStatusDto"][];
|
|
5591
5627
|
/** @description Time-bucketed chart data for the requested window */
|
|
@@ -6452,6 +6488,11 @@ export interface components {
|
|
|
6452
6488
|
subscriberCount?: number | null;
|
|
6453
6489
|
/** @enum {string|null} */
|
|
6454
6490
|
overallStatus?: "OPERATIONAL" | "DEGRADED_PERFORMANCE" | "PARTIAL_OUTAGE" | "MAJOR_OUTAGE" | "UNDER_MAINTENANCE" | null;
|
|
6491
|
+
/**
|
|
6492
|
+
* @description Source that created/owns this status page: DASHBOARD, CLI, TERRAFORM, MCP, or API. Null on pages created before this attribution column existed.
|
|
6493
|
+
* @enum {string|null}
|
|
6494
|
+
*/
|
|
6495
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
6455
6496
|
/** Format: date-time */
|
|
6456
6497
|
createdAt: string;
|
|
6457
6498
|
/** Format: date-time */
|
|
@@ -7105,6 +7146,11 @@ export interface components {
|
|
|
7105
7146
|
/** @description New channel name (full replacement, not partial update) */
|
|
7106
7147
|
name: string;
|
|
7107
7148
|
config: components["schemas"]["DiscordChannelConfig"] | components["schemas"]["EmailChannelConfig"] | components["schemas"]["OpsGenieChannelConfig"] | components["schemas"]["PagerDutyChannelConfig"] | components["schemas"]["SlackChannelConfig"] | components["schemas"]["TeamsChannelConfig"] | components["schemas"]["WebhookChannelConfig"];
|
|
7149
|
+
/**
|
|
7150
|
+
* @description New attribution source: DASHBOARD, CLI, TERRAFORM, MCP, or API; null preserves current value.
|
|
7151
|
+
* @enum {string|null}
|
|
7152
|
+
*/
|
|
7153
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
7108
7154
|
};
|
|
7109
7155
|
/** @description Request body for updating alert sensitivity on a service subscription */
|
|
7110
7156
|
UpdateAlertSensitivityRequest: {
|
|
@@ -7143,7 +7189,7 @@ export interface components {
|
|
|
7143
7189
|
UpdateMaintenanceWindowRequest: {
|
|
7144
7190
|
/**
|
|
7145
7191
|
* Format: uuid
|
|
7146
|
-
* @description Monitor
|
|
7192
|
+
* @description Monitor this window applies to; null switches the window to org-wide
|
|
7147
7193
|
*/
|
|
7148
7194
|
monitorId?: string | null;
|
|
7149
7195
|
/**
|
|
@@ -7156,11 +7202,11 @@ export interface components {
|
|
|
7156
7202
|
* @description Updated end time (ISO 8601)
|
|
7157
7203
|
*/
|
|
7158
7204
|
endsAt: string;
|
|
7159
|
-
/** @description
|
|
7205
|
+
/** @description Reserved: iCal RRULE for recurring windows (stored but not yet honored); null clears it */
|
|
7160
7206
|
repeatRule?: string | null;
|
|
7161
|
-
/** @description Updated reason; null clears the existing reason */
|
|
7207
|
+
/** @description Updated reason (max 500 chars); null clears the existing reason */
|
|
7162
7208
|
reason?: string | null;
|
|
7163
|
-
/** @description Whether to suppress alerts; null
|
|
7209
|
+
/** @description Whether to suppress alerts during this window; null defaults to true */
|
|
7164
7210
|
suppressAlerts?: boolean | null;
|
|
7165
7211
|
};
|
|
7166
7212
|
UpdateMonitorAuthRequest: {
|
|
@@ -7172,12 +7218,12 @@ export interface components {
|
|
|
7172
7218
|
config?: (components["schemas"]["DnsMonitorConfig"] | components["schemas"]["HeartbeatMonitorConfig"] | components["schemas"]["HttpMonitorConfig"] | components["schemas"]["IcmpMonitorConfig"] | components["schemas"]["McpServerMonitorConfig"] | components["schemas"]["TcpMonitorConfig"]) | null;
|
|
7173
7219
|
/**
|
|
7174
7220
|
* Format: int32
|
|
7175
|
-
* @description New check frequency in seconds (
|
|
7221
|
+
* @description New check frequency in seconds (10–86400); null preserves current
|
|
7176
7222
|
*/
|
|
7177
7223
|
frequencySeconds?: number | null;
|
|
7178
7224
|
/** @description Enable or disable the monitor; null preserves current */
|
|
7179
7225
|
enabled?: boolean | null;
|
|
7180
|
-
/** @description New probe regions; null preserves current */
|
|
7226
|
+
/** @description New probe regions; null preserves current. Allowed values are deployment-dependent. */
|
|
7181
7227
|
regions?: string[] | null;
|
|
7182
7228
|
/**
|
|
7183
7229
|
* @description New ownership source: DASHBOARD, CLI, TERRAFORM, MCP, or API; null preserves current value
|
|
@@ -7276,6 +7322,11 @@ export interface components {
|
|
|
7276
7322
|
* @description Recovery cooldown in minutes; null clears
|
|
7277
7323
|
*/
|
|
7278
7324
|
recoveryCooldownMinutes?: number | null;
|
|
7325
|
+
/**
|
|
7326
|
+
* @description New attribution source: DASHBOARD, CLI, TERRAFORM, MCP, or API; null preserves current value.
|
|
7327
|
+
* @enum {string|null}
|
|
7328
|
+
*/
|
|
7329
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
7279
7330
|
};
|
|
7280
7331
|
UpdateSecretRequest: {
|
|
7281
7332
|
/** @description New secret value, stored encrypted (max 32KB) */
|
|
@@ -7359,6 +7410,11 @@ export interface components {
|
|
|
7359
7410
|
* @enum {string|null}
|
|
7360
7411
|
*/
|
|
7361
7412
|
incidentMode?: "MANUAL" | "REVIEW" | "AUTOMATIC" | null;
|
|
7413
|
+
/**
|
|
7414
|
+
* @description New attribution source: DASHBOARD, CLI, TERRAFORM, MCP, or API; null preserves current value.
|
|
7415
|
+
* @enum {string|null}
|
|
7416
|
+
*/
|
|
7417
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API" | null;
|
|
7362
7418
|
};
|
|
7363
7419
|
/** @description Request body for updating a tag; null fields are left unchanged */
|
|
7364
7420
|
UpdateTagRequest: {
|
|
@@ -7574,6 +7630,12 @@ export interface operations {
|
|
|
7574
7630
|
list_14: {
|
|
7575
7631
|
parameters: {
|
|
7576
7632
|
query: {
|
|
7633
|
+
/** @description Filter by channel integration type (e.g. SLACK, WEBHOOK, EMAIL) */
|
|
7634
|
+
type?: "email" | "webhook" | "slack" | "pagerduty" | "opsgenie" | "teams" | "discord";
|
|
7635
|
+
/** @description Filter by managed-by source (DASHBOARD, CLI, TERRAFORM, MCP, API) */
|
|
7636
|
+
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API";
|
|
7637
|
+
/** @description Case-insensitive contains-match on the channel name */
|
|
7638
|
+
search?: string;
|
|
7577
7639
|
pageable: components["schemas"]["Pageable"];
|
|
7578
7640
|
};
|
|
7579
7641
|
header?: never;
|
|
@@ -12784,14 +12846,18 @@ export interface operations {
|
|
|
12784
12846
|
list_8: {
|
|
12785
12847
|
parameters: {
|
|
12786
12848
|
query: {
|
|
12787
|
-
/** @description Filter by enabled state */
|
|
12849
|
+
/** @description Filter by enabled state (true/false) */
|
|
12788
12850
|
enabled?: boolean;
|
|
12851
|
+
/** @description Lifecycle status alias: 'active' (enabled=true) or 'paused' (enabled=false). Ignored when ?enabled is also supplied. */
|
|
12852
|
+
status?: string;
|
|
12789
12853
|
/** @description Filter by monitor type */
|
|
12790
12854
|
type?: "HTTP" | "DNS" | "MCP_SERVER" | "TCP" | "ICMP" | "HEARTBEAT";
|
|
12791
12855
|
/** @description Filter by managed-by source */
|
|
12792
12856
|
managedBy?: "DASHBOARD" | "CLI" | "TERRAFORM" | "MCP" | "API";
|
|
12793
|
-
/** @description Filter by tag names, comma-separated (e.g. prod,critical) */
|
|
12857
|
+
/** @description Filter by tag names, comma-separated (e.g. prod,critical); OR semantics */
|
|
12794
12858
|
tags?: string;
|
|
12859
|
+
/** @description Filter by a single tag name (alias for ?tags=); merged with ?tags using OR semantics */
|
|
12860
|
+
tag?: string;
|
|
12795
12861
|
/** @description Case-insensitive name search */
|
|
12796
12862
|
search?: string;
|
|
12797
12863
|
/** @description Filter by environment ID */
|