@devhelm/sdk 0.2.0 → 0.4.0
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 +172 -56
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/schemas.d.ts +87 -51
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +24 -30
- package/dist/generated/schemas.js.map +1 -1
- package/dist/schemas.d.ts +30 -7
- package/dist/schemas.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -1866,6 +1866,23 @@ export interface paths {
|
|
|
1866
1866
|
patch?: never;
|
|
1867
1867
|
trace?: never;
|
|
1868
1868
|
};
|
|
1869
|
+
"/api/v1/status-pages/{id}/domains/{domainId}/primary": {
|
|
1870
|
+
parameters: {
|
|
1871
|
+
query?: never;
|
|
1872
|
+
header?: never;
|
|
1873
|
+
path?: never;
|
|
1874
|
+
cookie?: never;
|
|
1875
|
+
};
|
|
1876
|
+
get?: never;
|
|
1877
|
+
put?: never;
|
|
1878
|
+
/** Mark a verified custom domain as the page's primary host */
|
|
1879
|
+
post: operations["setPrimaryDomain"];
|
|
1880
|
+
delete?: never;
|
|
1881
|
+
options?: never;
|
|
1882
|
+
head?: never;
|
|
1883
|
+
patch?: never;
|
|
1884
|
+
trace?: never;
|
|
1885
|
+
};
|
|
1869
1886
|
"/api/v1/status-pages/{id}/domains/{domainId}/verify": {
|
|
1870
1887
|
parameters: {
|
|
1871
1888
|
query?: never;
|
|
@@ -2886,7 +2903,7 @@ export interface components {
|
|
|
2886
2903
|
ComponentUptimeDayDto: {
|
|
2887
2904
|
/**
|
|
2888
2905
|
* Format: date-time
|
|
2889
|
-
* @description
|
|
2906
|
+
* @description Start-of-day timestamp for this bucket (UTC midnight, ISO 8601)
|
|
2890
2907
|
*/
|
|
2891
2908
|
date: string;
|
|
2892
2909
|
/**
|
|
@@ -2906,13 +2923,11 @@ export interface components {
|
|
|
2906
2923
|
degradedSeconds: number;
|
|
2907
2924
|
/**
|
|
2908
2925
|
* Format: double
|
|
2909
|
-
* @description Computed uptime percentage
|
|
2926
|
+
* @description Computed uptime percentage using the weighted formula (degraded does not lower it)
|
|
2910
2927
|
*/
|
|
2911
2928
|
uptimePercentage: number;
|
|
2912
|
-
/** @description
|
|
2913
|
-
|
|
2914
|
-
/** @description Data source: vendor_reported or incident_derived */
|
|
2915
|
-
source: string;
|
|
2929
|
+
/** @description Incidents that overlapped this day, in display order */
|
|
2930
|
+
incidents?: components["schemas"]["IncidentRef"][] | null;
|
|
2916
2931
|
};
|
|
2917
2932
|
/** @description Inline uptime percentages for 24h, 7d, 30d */
|
|
2918
2933
|
ComponentUptimeSummaryDto: {
|
|
@@ -3162,8 +3177,8 @@ export interface components {
|
|
|
3162
3177
|
* @description Position in the group list
|
|
3163
3178
|
*/
|
|
3164
3179
|
displayOrder?: number | null;
|
|
3165
|
-
/** @description
|
|
3166
|
-
|
|
3180
|
+
/** @description Initial expand/collapse state when a visitor first loads the page; renderer may auto-expand on active incidents (default: true) */
|
|
3181
|
+
defaultOpen?: boolean | null;
|
|
3167
3182
|
};
|
|
3168
3183
|
CreateStatusPageComponentRequest: {
|
|
3169
3184
|
/** @description Component display name */
|
|
@@ -3201,7 +3216,7 @@ export interface components {
|
|
|
3201
3216
|
excludeFromOverall?: boolean | null;
|
|
3202
3217
|
/**
|
|
3203
3218
|
* Format: date
|
|
3204
|
-
* @description Date from which to start showing uptime
|
|
3219
|
+
* @description Date from which to start showing uptime; defaults to component creation. Set earlier to backdate (e.g. launch day); clamped at the monitor's createdAt for MONITOR-type components
|
|
3205
3220
|
*/
|
|
3206
3221
|
startDate?: string | null;
|
|
3207
3222
|
};
|
|
@@ -3881,10 +3896,7 @@ export interface components {
|
|
|
3881
3896
|
* @enum {string}
|
|
3882
3897
|
*/
|
|
3883
3898
|
check_type: "http";
|
|
3884
|
-
|
|
3885
|
-
timing?: {
|
|
3886
|
-
[key: string]: Record<string, never> | null;
|
|
3887
|
-
} | null;
|
|
3899
|
+
timing?: components["schemas"]["TimingPhasesDto"] | null;
|
|
3888
3900
|
/** @description Whether the response body was truncated before storage */
|
|
3889
3901
|
bodyTruncated?: boolean | null;
|
|
3890
3902
|
};
|
|
@@ -4224,16 +4236,16 @@ export interface components {
|
|
|
4224
4236
|
*/
|
|
4225
4237
|
checkFrequencySeconds?: number | null;
|
|
4226
4238
|
};
|
|
4227
|
-
/** @description Lightweight reference to an incident overlapping
|
|
4239
|
+
/** @description Lightweight reference to an incident overlapping a given uptime day */
|
|
4228
4240
|
IncidentRef: {
|
|
4229
4241
|
/**
|
|
4230
4242
|
* Format: uuid
|
|
4231
|
-
* @description
|
|
4243
|
+
* @description Internal incident ID — UUID for status-page incidents, service incident UUID for catalog
|
|
4232
4244
|
*/
|
|
4233
4245
|
id: string;
|
|
4234
|
-
/** @description Incident title */
|
|
4246
|
+
/** @description Incident title at the time of the overlap */
|
|
4235
4247
|
title: string;
|
|
4236
|
-
/** @description Incident impact level */
|
|
4248
|
+
/** @description Incident impact level (e.g. minor, major, critical for catalog; NONE/MINOR/MAJOR/CRITICAL for status pages) */
|
|
4237
4249
|
impact: string;
|
|
4238
4250
|
};
|
|
4239
4251
|
/** @description Incident summary counters */
|
|
@@ -6109,38 +6121,13 @@ export interface components {
|
|
|
6109
6121
|
displayOrder: number;
|
|
6110
6122
|
/** Format: int32 */
|
|
6111
6123
|
pageOrder: number;
|
|
6112
|
-
|
|
6124
|
+
defaultOpen: boolean;
|
|
6113
6125
|
components?: components["schemas"]["StatusPageComponentDto"][] | null;
|
|
6114
6126
|
/** Format: date-time */
|
|
6115
6127
|
createdAt: string;
|
|
6116
6128
|
/** Format: date-time */
|
|
6117
6129
|
updatedAt: string;
|
|
6118
6130
|
};
|
|
6119
|
-
/** @description Daily uptime data for a status page component */
|
|
6120
|
-
StatusPageComponentUptimeDayDto: {
|
|
6121
|
-
/**
|
|
6122
|
-
* Format: date-time
|
|
6123
|
-
* @description Start-of-day timestamp for this bucket (UTC midnight)
|
|
6124
|
-
*/
|
|
6125
|
-
date: string;
|
|
6126
|
-
/**
|
|
6127
|
-
* Format: int32
|
|
6128
|
-
* @description Seconds of partial outage on this day
|
|
6129
|
-
*/
|
|
6130
|
-
partialOutageSeconds: number;
|
|
6131
|
-
/**
|
|
6132
|
-
* Format: int32
|
|
6133
|
-
* @description Seconds of major outage on this day
|
|
6134
|
-
*/
|
|
6135
|
-
majorOutageSeconds: number;
|
|
6136
|
-
/**
|
|
6137
|
-
* Format: double
|
|
6138
|
-
* @description Computed uptime percentage using weighted formula
|
|
6139
|
-
*/
|
|
6140
|
-
uptimePercentage: number;
|
|
6141
|
-
/** @description Incidents that overlapped this day */
|
|
6142
|
-
incidents?: components["schemas"]["IncidentRef"][] | null;
|
|
6143
|
-
};
|
|
6144
6131
|
StatusPageCustomDomainDto: {
|
|
6145
6132
|
/** Format: uuid */
|
|
6146
6133
|
id: string;
|
|
@@ -6154,6 +6141,10 @@ export interface components {
|
|
|
6154
6141
|
/** Format: date-time */
|
|
6155
6142
|
verifiedAt?: string | null;
|
|
6156
6143
|
verificationError?: string | null;
|
|
6144
|
+
cfCustomHostnameId?: string | null;
|
|
6145
|
+
cfSslStatus?: string | null;
|
|
6146
|
+
/** Format: date-time */
|
|
6147
|
+
sslActiveAt?: string | null;
|
|
6157
6148
|
/** Format: date-time */
|
|
6158
6149
|
createdAt: string;
|
|
6159
6150
|
/** Format: date-time */
|
|
@@ -6492,15 +6483,6 @@ export interface components {
|
|
|
6492
6483
|
/** Format: int32 */
|
|
6493
6484
|
totalPages?: number | null;
|
|
6494
6485
|
};
|
|
6495
|
-
TableValueResultStatusPageComponentUptimeDayDto: {
|
|
6496
|
-
data: components["schemas"]["StatusPageComponentUptimeDayDto"][];
|
|
6497
|
-
hasNext: boolean;
|
|
6498
|
-
hasPrev: boolean;
|
|
6499
|
-
/** Format: int64 */
|
|
6500
|
-
totalElements?: number | null;
|
|
6501
|
-
/** Format: int32 */
|
|
6502
|
-
totalPages?: number | null;
|
|
6503
|
-
};
|
|
6504
6486
|
TableValueResultStatusPageCustomDomainDto: {
|
|
6505
6487
|
data: components["schemas"]["StatusPageCustomDomainDto"][];
|
|
6506
6488
|
hasNext: boolean;
|
|
@@ -6710,6 +6692,45 @@ export interface components {
|
|
|
6710
6692
|
/** @description Event type to simulate (e.g. monitor.created); null uses a default */
|
|
6711
6693
|
eventType?: string | null;
|
|
6712
6694
|
};
|
|
6695
|
+
/** @description Per-phase HTTP request timing breakdown (milliseconds) */
|
|
6696
|
+
TimingPhasesDto: {
|
|
6697
|
+
/**
|
|
6698
|
+
* Format: int32
|
|
6699
|
+
* @description DNS resolution time in milliseconds
|
|
6700
|
+
* @example 12
|
|
6701
|
+
*/
|
|
6702
|
+
dns_ms?: number | null;
|
|
6703
|
+
/**
|
|
6704
|
+
* Format: int32
|
|
6705
|
+
* @description TCP connect time in milliseconds
|
|
6706
|
+
* @example 18
|
|
6707
|
+
*/
|
|
6708
|
+
tcp_ms?: number | null;
|
|
6709
|
+
/**
|
|
6710
|
+
* Format: int32
|
|
6711
|
+
* @description TLS handshake time in milliseconds (null for plain HTTP)
|
|
6712
|
+
* @example 34
|
|
6713
|
+
*/
|
|
6714
|
+
tls_ms?: number | null;
|
|
6715
|
+
/**
|
|
6716
|
+
* Format: int32
|
|
6717
|
+
* @description Time to first response byte in milliseconds
|
|
6718
|
+
* @example 42
|
|
6719
|
+
*/
|
|
6720
|
+
ttfb_ms?: number | null;
|
|
6721
|
+
/**
|
|
6722
|
+
* Format: int32
|
|
6723
|
+
* @description Response body download time in milliseconds
|
|
6724
|
+
* @example 8
|
|
6725
|
+
*/
|
|
6726
|
+
download_ms?: number | null;
|
|
6727
|
+
/**
|
|
6728
|
+
* Format: int32
|
|
6729
|
+
* @description Total wall-clock request time in milliseconds
|
|
6730
|
+
* @example 114
|
|
6731
|
+
*/
|
|
6732
|
+
total_ms?: number | null;
|
|
6733
|
+
};
|
|
6713
6734
|
/** @description TLS/SSL certificate details for HTTPS targets */
|
|
6714
6735
|
TlsInfoDto: {
|
|
6715
6736
|
/**
|
|
@@ -6973,8 +6994,8 @@ export interface components {
|
|
|
6973
6994
|
* @description New position in the group list; null preserves current
|
|
6974
6995
|
*/
|
|
6975
6996
|
displayOrder?: number | null;
|
|
6976
|
-
/** @description
|
|
6977
|
-
|
|
6997
|
+
/** @description Initial expand/collapse state on first page load; null preserves current. Renderer may auto-expand on active incidents */
|
|
6998
|
+
defaultOpen?: boolean | null;
|
|
6978
6999
|
};
|
|
6979
7000
|
UpdateStatusPageComponentRequest: {
|
|
6980
7001
|
/** @description New component name; null preserves current */
|
|
@@ -6999,7 +7020,7 @@ export interface components {
|
|
|
6999
7020
|
excludeFromOverall?: boolean | null;
|
|
7000
7021
|
/**
|
|
7001
7022
|
* Format: date
|
|
7002
|
-
* @description Date from which to start showing uptime
|
|
7023
|
+
* @description Date from which to start showing uptime; null preserves current. Bars never extend earlier than the underlying monitor's createdAt regardless of value
|
|
7003
7024
|
*/
|
|
7004
7025
|
startDate?: string | null;
|
|
7005
7026
|
};
|
|
@@ -20150,7 +20171,7 @@ export interface operations {
|
|
|
20150
20171
|
[name: string]: unknown;
|
|
20151
20172
|
};
|
|
20152
20173
|
content: {
|
|
20153
|
-
"*/*": components["schemas"]["
|
|
20174
|
+
"*/*": components["schemas"]["TableValueResultComponentUptimeDayDto"];
|
|
20154
20175
|
};
|
|
20155
20176
|
};
|
|
20156
20177
|
/** @description Bad request — the payload failed validation */
|
|
@@ -20608,6 +20629,101 @@ export interface operations {
|
|
|
20608
20629
|
};
|
|
20609
20630
|
};
|
|
20610
20631
|
};
|
|
20632
|
+
setPrimaryDomain: {
|
|
20633
|
+
parameters: {
|
|
20634
|
+
query?: never;
|
|
20635
|
+
header?: never;
|
|
20636
|
+
path: {
|
|
20637
|
+
id: string;
|
|
20638
|
+
domainId: string;
|
|
20639
|
+
};
|
|
20640
|
+
cookie?: never;
|
|
20641
|
+
};
|
|
20642
|
+
requestBody?: never;
|
|
20643
|
+
responses: {
|
|
20644
|
+
/** @description OK */
|
|
20645
|
+
200: {
|
|
20646
|
+
headers: {
|
|
20647
|
+
[name: string]: unknown;
|
|
20648
|
+
};
|
|
20649
|
+
content: {
|
|
20650
|
+
"*/*": components["schemas"]["SingleValueResponseStatusPageCustomDomainDto"];
|
|
20651
|
+
};
|
|
20652
|
+
};
|
|
20653
|
+
/** @description Bad request — the payload failed validation */
|
|
20654
|
+
400: {
|
|
20655
|
+
headers: {
|
|
20656
|
+
[name: string]: unknown;
|
|
20657
|
+
};
|
|
20658
|
+
content: {
|
|
20659
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20660
|
+
};
|
|
20661
|
+
};
|
|
20662
|
+
/** @description Unauthorized — missing or invalid credentials */
|
|
20663
|
+
401: {
|
|
20664
|
+
headers: {
|
|
20665
|
+
[name: string]: unknown;
|
|
20666
|
+
};
|
|
20667
|
+
content: {
|
|
20668
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20669
|
+
};
|
|
20670
|
+
};
|
|
20671
|
+
/** @description Forbidden — the actor lacks permission for this resource */
|
|
20672
|
+
403: {
|
|
20673
|
+
headers: {
|
|
20674
|
+
[name: string]: unknown;
|
|
20675
|
+
};
|
|
20676
|
+
content: {
|
|
20677
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20678
|
+
};
|
|
20679
|
+
};
|
|
20680
|
+
/** @description Not found — the requested resource does not exist */
|
|
20681
|
+
404: {
|
|
20682
|
+
headers: {
|
|
20683
|
+
[name: string]: unknown;
|
|
20684
|
+
};
|
|
20685
|
+
content: {
|
|
20686
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20687
|
+
};
|
|
20688
|
+
};
|
|
20689
|
+
/** @description Conflict — the request collides with current resource state */
|
|
20690
|
+
409: {
|
|
20691
|
+
headers: {
|
|
20692
|
+
[name: string]: unknown;
|
|
20693
|
+
};
|
|
20694
|
+
content: {
|
|
20695
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20696
|
+
};
|
|
20697
|
+
};
|
|
20698
|
+
/** @description Internal server error — see the message field for details */
|
|
20699
|
+
500: {
|
|
20700
|
+
headers: {
|
|
20701
|
+
[name: string]: unknown;
|
|
20702
|
+
};
|
|
20703
|
+
content: {
|
|
20704
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20705
|
+
};
|
|
20706
|
+
};
|
|
20707
|
+
/** @description Bad gateway — an upstream provider returned an error */
|
|
20708
|
+
502: {
|
|
20709
|
+
headers: {
|
|
20710
|
+
[name: string]: unknown;
|
|
20711
|
+
};
|
|
20712
|
+
content: {
|
|
20713
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20714
|
+
};
|
|
20715
|
+
};
|
|
20716
|
+
/** @description Service unavailable — try again shortly */
|
|
20717
|
+
503: {
|
|
20718
|
+
headers: {
|
|
20719
|
+
[name: string]: unknown;
|
|
20720
|
+
};
|
|
20721
|
+
content: {
|
|
20722
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20723
|
+
};
|
|
20724
|
+
};
|
|
20725
|
+
};
|
|
20726
|
+
};
|
|
20611
20727
|
verifyDomain: {
|
|
20612
20728
|
parameters: {
|
|
20613
20729
|
query?: never;
|