@distilled.cloud/axiom 0.19.2 → 0.20.1
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/lib/credentials.js +1 -1
- package/lib/credentials.js.map +1 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +1 -1
- package/lib/operations/v1-edge-query/queryApl.d.ts +7 -7
- package/lib/operations/v2/createAPIToken.d.ts +1 -1
- package/lib/operations/v2/createDashboard.d.ts +26 -26
- package/lib/operations/v2/createDataset.d.ts +1 -1
- package/lib/operations/v2/createGroup.d.ts +1 -1
- package/lib/operations/v2/createMonitor.d.ts +1 -1
- package/lib/operations/v2/createNotifier.d.ts +1 -1
- package/lib/operations/v2/createRole.d.ts +1 -1
- package/lib/operations/v2/createStarred.d.ts +5 -5
- package/lib/operations/v2/createVirtualField.d.ts +1 -1
- package/lib/operations/v2/getAnnotations.d.ts +1 -1
- package/lib/operations/v2/getDashboard.d.ts +13 -13
- package/lib/operations/v2/getGroupById.d.ts +1 -1
- package/lib/operations/v2/getMonitor.d.ts +1 -1
- package/lib/operations/v2/getMonitorHistory.d.ts +1 -1
- package/lib/operations/v2/getMonitors.d.ts +1 -1
- package/lib/operations/v2/getNotifier.d.ts +1 -1
- package/lib/operations/v2/getNotifiers.d.ts +1 -1
- package/lib/operations/v2/getRoleById.d.ts +1 -1
- package/lib/operations/v2/getStarred.d.ts +3 -3
- package/lib/operations/v2/getStarredQueries.d.ts +5 -5
- package/lib/operations/v2/getVirtualField.d.ts +1 -1
- package/lib/operations/v2/getVirtualFields.d.ts +1 -1
- package/lib/operations/v2/listDashboards.d.ts +13 -13
- package/lib/operations/v2/listGroups.d.ts +1 -1
- package/lib/operations/v2/listRoles.d.ts +1 -1
- package/lib/operations/v2/regenerateAPIToken.d.ts +2 -2
- package/lib/operations/v2/updateAnnotation.d.ts +1 -1
- package/lib/operations/v2/updateDashboard.d.ts +27 -27
- package/lib/operations/v2/updateFieldForDataset.d.ts +1 -1
- package/lib/operations/v2/updateGroup.d.ts +2 -2
- package/lib/operations/v2/updateMonitor.d.ts +2 -2
- package/lib/operations/v2/updateNotifier.d.ts +2 -2
- package/lib/operations/v2/updateRole.d.ts +2 -2
- package/lib/operations/v2/updateStarred.d.ts +6 -6
- package/lib/operations/v2/updateView.d.ts +1 -1
- package/lib/operations/v2/updateVirtualField.d.ts +2 -2
- package/package.json +3 -3
- package/src/credentials.ts +1 -1
package/lib/credentials.js
CHANGED
|
@@ -24,7 +24,7 @@ const envConfig = EffectConfig.all({
|
|
|
24
24
|
* - `AXIOM_ORG_ID` (optional) — organization ID, required for PATs.
|
|
25
25
|
*/
|
|
26
26
|
export const CredentialsFromEnv = Layer.effect(Credentials, Effect.gen(function* () {
|
|
27
|
-
const config = yield* envConfig.
|
|
27
|
+
const config = yield* envConfig.pipe(Effect.mapError(() => new ConfigError({
|
|
28
28
|
message: "AXIOM_TOKEN (or AXIOM_API_KEY) environment variable is required",
|
|
29
29
|
})));
|
|
30
30
|
const apiKey = Option.getOrUndefined(config.apiToken) ??
|
package/lib/credentials.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,sFAAsF;AACtF,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAa3D,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,kBAAkB,CACnB;CAAG;AAEJ,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACjE,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAC/C,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAC/C;IACD,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;CAChE,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,sFAAsF;AACtF,MAAM,CAAC,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAa3D,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,kBAAkB,CACnB;CAAG;AAEJ,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC;IACjC,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACjE,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,IAAI,CAC/C,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAC/C;IACD,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;CAChE,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,SAAS,CAAC,IAAI,CAClC,MAAM,CAAC,QAAQ,CACb,GAAG,EAAE,CACH,IAAI,WAAW,CAAC;QACd,OAAO,EACL,iEAAiE;KACpE,CAAC,CACL,CACF,CAAC;IACF,MAAM,MAAM,GACV,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC;QACtC,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEvC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,KAAK,CAAC,CAAC,IAAI,WAAW,CAAC;YAC5B,OAAO,EACL,iEAAiE;SACpE,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;QAC7B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,KAAK,EAAE,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,KAAK,CAAC;KAC3C,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -28,10 +28,10 @@ export type IngestToDatasetOutput = typeof IngestToDatasetOutput.Type;
|
|
|
28
28
|
* @param X-Axiom-Event-Labels - An optional JSON encoded object with additional labels to add to all events in the request
|
|
29
29
|
*/
|
|
30
30
|
export declare const ingestToDataset: import("@distilled.cloud/core/client").OperationMethod<{
|
|
31
|
-
readonly "csv-delimiter"?: string | undefined;
|
|
32
31
|
readonly "dataset-id": string;
|
|
33
32
|
readonly "timestamp-field"?: string | undefined;
|
|
34
33
|
readonly "timestamp-format"?: string | undefined;
|
|
34
|
+
readonly "csv-delimiter"?: string | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
readonly blocksCreated: number;
|
|
37
37
|
readonly failed: number;
|
|
@@ -65,9 +65,15 @@ export type QueryAplOutput = typeof QueryAplOutput.Type;
|
|
|
65
65
|
* @param totals - Include a totals table (only supported in MetricsDB)
|
|
66
66
|
*/
|
|
67
67
|
export declare const queryApl: import("@distilled.cloud/core/client").OperationMethod<{
|
|
68
|
-
readonly
|
|
68
|
+
readonly format: "legacy" | "tabular" | "tabular-rows";
|
|
69
|
+
readonly nocache?: boolean | undefined;
|
|
70
|
+
readonly saveAsKind?: string | undefined;
|
|
71
|
+
readonly id?: string | undefined;
|
|
72
|
+
readonly "streaming-duration"?: string | undefined;
|
|
69
73
|
readonly "apl-source"?: string | undefined;
|
|
70
74
|
readonly "apl-source-id"?: string | undefined;
|
|
75
|
+
readonly totals?: boolean | undefined;
|
|
76
|
+
readonly apl: string;
|
|
71
77
|
readonly cursor?: string | undefined;
|
|
72
78
|
readonly defaultLimit?: number | undefined;
|
|
73
79
|
readonly defaultOrder?: readonly {
|
|
@@ -75,13 +81,10 @@ export declare const queryApl: import("@distilled.cloud/core/client").OperationM
|
|
|
75
81
|
readonly field?: string | undefined;
|
|
76
82
|
}[] | undefined;
|
|
77
83
|
readonly endTime?: string | undefined;
|
|
78
|
-
readonly format: "legacy" | "tabular" | "tabular-rows";
|
|
79
|
-
readonly id?: string | undefined;
|
|
80
84
|
readonly includeCursor?: boolean | undefined;
|
|
81
85
|
readonly includeCursorField?: boolean | undefined;
|
|
82
86
|
readonly libraries?: readonly string[] | undefined;
|
|
83
87
|
readonly maxBinAutoGroups?: number | undefined;
|
|
84
|
-
readonly nocache?: boolean | undefined;
|
|
85
88
|
readonly queryEdgeDeployment?: string | undefined;
|
|
86
89
|
readonly queryOptions?: {
|
|
87
90
|
readonly against?: string | undefined;
|
|
@@ -113,10 +116,7 @@ export declare const queryApl: import("@distilled.cloud/core/client").OperationM
|
|
|
113
116
|
readonly timeSeriesView?: string | undefined;
|
|
114
117
|
} | undefined;
|
|
115
118
|
readonly queryRegion?: string | undefined;
|
|
116
|
-
readonly saveAsKind?: string | undefined;
|
|
117
119
|
readonly startTime?: string | undefined;
|
|
118
|
-
readonly "streaming-duration"?: string | undefined;
|
|
119
|
-
readonly totals?: boolean | undefined;
|
|
120
120
|
readonly variables?: {
|
|
121
121
|
readonly [x: string]: unknown;
|
|
122
122
|
} | undefined;
|
|
@@ -154,12 +154,12 @@ export declare const createAPIToken: import("@distilled.cloud/core/client").Oper
|
|
|
154
154
|
readonly views?: readonly ("create" | "delete" | "read" | "update")[] | undefined;
|
|
155
155
|
};
|
|
156
156
|
readonly samlAuthenticated?: boolean | undefined;
|
|
157
|
-
readonly token?: string | undefined;
|
|
158
157
|
readonly viewCapabilities?: {
|
|
159
158
|
readonly [x: string]: {
|
|
160
159
|
readonly query?: readonly "read"[] | undefined;
|
|
161
160
|
readonly share?: readonly ("create" | "delete" | "read")[] | undefined;
|
|
162
161
|
};
|
|
163
162
|
} | undefined;
|
|
163
|
+
readonly token?: string | undefined;
|
|
164
164
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
165
165
|
//# sourceMappingURL=createAPIToken.d.ts.map
|
|
@@ -78,28 +78,28 @@ export type CreateDashboardOutput = typeof CreateDashboardOutput.Type;
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const createDashboard: import("@distilled.cloud/core/client").OperationMethod<{
|
|
80
80
|
readonly dashboard: {
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly charts: readonly unknown[];
|
|
81
|
+
readonly name: string;
|
|
82
|
+
readonly owner: string;
|
|
84
83
|
readonly description?: string | undefined;
|
|
84
|
+
readonly charts: readonly unknown[];
|
|
85
85
|
readonly layout: readonly {
|
|
86
|
-
readonly h: number;
|
|
87
86
|
readonly i: string;
|
|
88
|
-
readonly maxH?: number | undefined;
|
|
89
|
-
readonly maxW?: number | undefined;
|
|
90
|
-
readonly minH?: number | undefined;
|
|
91
|
-
readonly minW?: number | undefined;
|
|
92
|
-
readonly static?: boolean | undefined;
|
|
93
|
-
readonly w: number;
|
|
94
87
|
readonly x: number;
|
|
95
88
|
readonly y: number | null;
|
|
89
|
+
readonly w: number;
|
|
90
|
+
readonly h: number;
|
|
91
|
+
readonly minW?: number | undefined;
|
|
92
|
+
readonly minH?: number | undefined;
|
|
93
|
+
readonly maxW?: number | undefined;
|
|
94
|
+
readonly maxH?: number | undefined;
|
|
95
|
+
readonly static?: boolean | undefined;
|
|
96
96
|
}[];
|
|
97
|
-
readonly name: string;
|
|
98
|
-
readonly owner: string;
|
|
99
97
|
readonly refreshTime: 15 | 60 | 300;
|
|
100
98
|
readonly schemaVersion: 2;
|
|
101
|
-
readonly
|
|
99
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
100
|
+
readonly againstTimestamp?: string | undefined;
|
|
102
101
|
readonly timeWindowStart: string;
|
|
102
|
+
readonly timeWindowEnd: string;
|
|
103
103
|
readonly uid?: string | undefined;
|
|
104
104
|
};
|
|
105
105
|
readonly message?: string | undefined;
|
|
@@ -111,28 +111,28 @@ export declare const createDashboard: import("@distilled.cloud/core/client").Ope
|
|
|
111
111
|
readonly createdAt: string;
|
|
112
112
|
readonly createdBy: string;
|
|
113
113
|
readonly dashboard: {
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly charts: readonly unknown[];
|
|
114
|
+
readonly name: string;
|
|
115
|
+
readonly owner: string;
|
|
117
116
|
readonly description?: string | undefined;
|
|
117
|
+
readonly charts: readonly unknown[];
|
|
118
118
|
readonly layout: readonly {
|
|
119
|
-
readonly h: number;
|
|
120
119
|
readonly i: string;
|
|
121
|
-
readonly maxH?: number | undefined;
|
|
122
|
-
readonly maxW?: number | undefined;
|
|
123
|
-
readonly minH?: number | undefined;
|
|
124
|
-
readonly minW?: number | undefined;
|
|
125
|
-
readonly static?: boolean | undefined;
|
|
126
|
-
readonly w: number;
|
|
127
120
|
readonly x: number;
|
|
128
121
|
readonly y: number | null;
|
|
122
|
+
readonly w: number;
|
|
123
|
+
readonly h: number;
|
|
124
|
+
readonly minW?: number | undefined;
|
|
125
|
+
readonly minH?: number | undefined;
|
|
126
|
+
readonly maxW?: number | undefined;
|
|
127
|
+
readonly maxH?: number | undefined;
|
|
128
|
+
readonly static?: boolean | undefined;
|
|
129
129
|
}[];
|
|
130
|
-
readonly name: string;
|
|
131
|
-
readonly owner: string;
|
|
132
130
|
readonly refreshTime: 15 | 60 | 300;
|
|
133
131
|
readonly schemaVersion: 2;
|
|
134
|
-
readonly
|
|
132
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
133
|
+
readonly againstTimestamp?: string | undefined;
|
|
135
134
|
readonly timeWindowStart: string;
|
|
135
|
+
readonly timeWindowEnd: string;
|
|
136
136
|
readonly uid?: string | undefined;
|
|
137
137
|
};
|
|
138
138
|
readonly id: string;
|
|
@@ -31,11 +31,11 @@ export type CreateDatasetOutput = typeof CreateDatasetOutput.Type;
|
|
|
31
31
|
* @param referrer - Referrer slug
|
|
32
32
|
*/
|
|
33
33
|
export declare const createDataset: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
|
+
readonly referrer?: string | undefined;
|
|
34
35
|
readonly description?: string | undefined;
|
|
35
36
|
readonly edgeDeployment?: string | undefined;
|
|
36
37
|
readonly kind?: "axiom:events:v1" | "otel:logs:v1" | "otel:metrics:v1" | "otel:traces:v1" | undefined;
|
|
37
38
|
readonly name: string;
|
|
38
|
-
readonly referrer?: string | undefined;
|
|
39
39
|
readonly retentionDays?: number | undefined;
|
|
40
40
|
readonly useRetentionPeriod?: boolean | undefined;
|
|
41
41
|
}, {
|
|
@@ -30,10 +30,10 @@ export declare const createGroup: import("@distilled.cloud/core/client").Operati
|
|
|
30
30
|
readonly roles?: readonly string[] | undefined;
|
|
31
31
|
}, {
|
|
32
32
|
readonly description?: string | undefined;
|
|
33
|
-
readonly id: string;
|
|
34
33
|
readonly isManaged?: boolean | undefined;
|
|
35
34
|
readonly members?: readonly string[] | undefined;
|
|
36
35
|
readonly name: string;
|
|
37
36
|
readonly roles?: readonly string[] | undefined;
|
|
37
|
+
readonly id: string;
|
|
38
38
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
39
39
|
//# sourceMappingURL=createGroup.d.ts.map
|
|
@@ -96,7 +96,6 @@ export declare const createMonitor: import("@distilled.cloud/core/client").Opera
|
|
|
96
96
|
readonly description?: string | undefined;
|
|
97
97
|
readonly disabled?: boolean | undefined;
|
|
98
98
|
readonly disabledUntil?: string | null | undefined;
|
|
99
|
-
readonly id: string;
|
|
100
99
|
readonly intervalMinutes?: number | undefined;
|
|
101
100
|
readonly mplQuery?: string | undefined;
|
|
102
101
|
readonly name: string;
|
|
@@ -113,5 +112,6 @@ export declare const createMonitor: import("@distilled.cloud/core/client").Opera
|
|
|
113
112
|
readonly triggerAfterNPositiveResults?: number | undefined;
|
|
114
113
|
readonly triggerFromNRuns?: number | undefined;
|
|
115
114
|
readonly type: "AnomalyDetection" | "MatchEvent" | "Threshold";
|
|
115
|
+
readonly id: string;
|
|
116
116
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
117
117
|
//# sourceMappingURL=createMonitor.d.ts.map
|
|
@@ -136,7 +136,6 @@ export declare const createNotifier: import("@distilled.cloud/core/client").Oper
|
|
|
136
136
|
readonly createdAt?: string | undefined;
|
|
137
137
|
readonly createdBy?: string | undefined;
|
|
138
138
|
readonly disabledUntil?: string | undefined;
|
|
139
|
-
readonly id?: string | undefined;
|
|
140
139
|
readonly name: string;
|
|
141
140
|
readonly properties: {
|
|
142
141
|
readonly customWebhook?: {
|
|
@@ -177,5 +176,6 @@ export declare const createNotifier: import("@distilled.cloud/core/client").Oper
|
|
|
177
176
|
readonly url?: string | undefined;
|
|
178
177
|
} | undefined;
|
|
179
178
|
};
|
|
179
|
+
readonly id?: string | undefined;
|
|
180
180
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
181
181
|
//# sourceMappingURL=createNotifier.d.ts.map
|
|
@@ -133,7 +133,6 @@ export declare const createRole: import("@distilled.cloud/core/client").Operatio
|
|
|
133
133
|
};
|
|
134
134
|
} | undefined;
|
|
135
135
|
readonly description?: string | undefined;
|
|
136
|
-
readonly id: string;
|
|
137
136
|
readonly members?: readonly string[] | undefined;
|
|
138
137
|
readonly name: string;
|
|
139
138
|
readonly orgCapabilities?: {
|
|
@@ -159,5 +158,6 @@ export declare const createRole: import("@distilled.cloud/core/client").Operatio
|
|
|
159
158
|
readonly share?: readonly ("create" | "delete" | "read")[] | undefined;
|
|
160
159
|
};
|
|
161
160
|
} | undefined;
|
|
161
|
+
readonly id: string;
|
|
162
162
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
163
163
|
//# sourceMappingURL=createRole.d.ts.map
|
|
@@ -104,15 +104,15 @@ export declare const createStarred: import("@distilled.cloud/core/client").Opera
|
|
|
104
104
|
readonly disableCache?: boolean | undefined;
|
|
105
105
|
readonly disableStats?: boolean | undefined;
|
|
106
106
|
readonly disableTrace?: boolean | undefined;
|
|
107
|
-
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
108
107
|
readonly maxDataPoints?: number | undefined;
|
|
109
108
|
readonly maxSeries?: number | undefined;
|
|
110
109
|
readonly noAggregation?: boolean | undefined;
|
|
111
110
|
readonly noFill?: boolean | undefined;
|
|
112
111
|
readonly noInterpolation?: boolean | undefined;
|
|
113
|
-
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
114
112
|
readonly priority?: "high" | "low" | "medium" | undefined;
|
|
115
113
|
readonly resolution?: string | undefined;
|
|
114
|
+
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
115
|
+
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
116
116
|
readonly shownColumns?: string | undefined;
|
|
117
117
|
readonly timeSeriesVariant?: "" | "area" | "bars" | "line" | "lines" | undefined;
|
|
118
118
|
readonly timeSeriesView?: "" | "charts" | "charts|resultsTable" | "resultsTable" | undefined;
|
|
@@ -123,7 +123,6 @@ export declare const createStarred: import("@distilled.cloud/core/client").Opera
|
|
|
123
123
|
readonly who: string;
|
|
124
124
|
}, {
|
|
125
125
|
readonly dataset?: string | undefined;
|
|
126
|
-
readonly id: string;
|
|
127
126
|
readonly kind: "apl";
|
|
128
127
|
readonly metadata: {
|
|
129
128
|
readonly [x: string]: string;
|
|
@@ -145,15 +144,15 @@ export declare const createStarred: import("@distilled.cloud/core/client").Opera
|
|
|
145
144
|
readonly disableCache?: boolean | undefined;
|
|
146
145
|
readonly disableStats?: boolean | undefined;
|
|
147
146
|
readonly disableTrace?: boolean | undefined;
|
|
148
|
-
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
149
147
|
readonly maxDataPoints?: number | undefined;
|
|
150
148
|
readonly maxSeries?: number | undefined;
|
|
151
149
|
readonly noAggregation?: boolean | undefined;
|
|
152
150
|
readonly noFill?: boolean | undefined;
|
|
153
151
|
readonly noInterpolation?: boolean | undefined;
|
|
154
|
-
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
155
152
|
readonly priority?: "high" | "low" | "medium" | undefined;
|
|
156
153
|
readonly resolution?: string | undefined;
|
|
154
|
+
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
155
|
+
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
157
156
|
readonly shownColumns?: string | undefined;
|
|
158
157
|
readonly timeSeriesVariant?: "" | "area" | "bars" | "line" | "lines" | undefined;
|
|
159
158
|
readonly timeSeriesView?: "" | "charts" | "charts|resultsTable" | "resultsTable" | undefined;
|
|
@@ -162,5 +161,6 @@ export declare const createStarred: import("@distilled.cloud/core/client").Opera
|
|
|
162
161
|
readonly variables?: unknown;
|
|
163
162
|
};
|
|
164
163
|
readonly who: string;
|
|
164
|
+
readonly id: string;
|
|
165
165
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
166
166
|
//# sourceMappingURL=createStarred.d.ts.map
|
|
@@ -30,9 +30,9 @@ export declare const createVirtualField: import("@distilled.cloud/core/client").
|
|
|
30
30
|
readonly dataset: string;
|
|
31
31
|
readonly description?: string | undefined;
|
|
32
32
|
readonly expression: string;
|
|
33
|
-
readonly id: string;
|
|
34
33
|
readonly name: string;
|
|
35
34
|
readonly type?: string | undefined;
|
|
36
35
|
readonly unit?: string | undefined;
|
|
36
|
+
readonly id: string;
|
|
37
37
|
}, UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
38
38
|
//# sourceMappingURL=createVirtualField.d.ts.map
|
|
@@ -25,8 +25,8 @@ export type GetAnnotationsOutput = typeof GetAnnotationsOutput.Type;
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const getAnnotations: import("@distilled.cloud/core/client").OperationMethod<{
|
|
27
27
|
readonly datasets?: string | undefined;
|
|
28
|
-
readonly end?: string | undefined;
|
|
29
28
|
readonly start?: string | undefined;
|
|
29
|
+
readonly end?: string | undefined;
|
|
30
30
|
}, readonly {
|
|
31
31
|
readonly datasets: readonly string[];
|
|
32
32
|
readonly description?: string | undefined;
|
|
@@ -50,28 +50,28 @@ export declare const getDashboard: import("@distilled.cloud/core/client").Operat
|
|
|
50
50
|
readonly createdAt: string;
|
|
51
51
|
readonly createdBy: string;
|
|
52
52
|
readonly dashboard: {
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly charts: readonly unknown[];
|
|
53
|
+
readonly name: string;
|
|
54
|
+
readonly owner: string;
|
|
56
55
|
readonly description?: string | undefined;
|
|
56
|
+
readonly charts: readonly unknown[];
|
|
57
57
|
readonly layout: readonly {
|
|
58
|
-
readonly h: number;
|
|
59
58
|
readonly i: string;
|
|
60
|
-
readonly maxH?: number | undefined;
|
|
61
|
-
readonly maxW?: number | undefined;
|
|
62
|
-
readonly minH?: number | undefined;
|
|
63
|
-
readonly minW?: number | undefined;
|
|
64
|
-
readonly static?: boolean | undefined;
|
|
65
|
-
readonly w: number;
|
|
66
59
|
readonly x: number;
|
|
67
60
|
readonly y: number | null;
|
|
61
|
+
readonly w: number;
|
|
62
|
+
readonly h: number;
|
|
63
|
+
readonly minW?: number | undefined;
|
|
64
|
+
readonly minH?: number | undefined;
|
|
65
|
+
readonly maxW?: number | undefined;
|
|
66
|
+
readonly maxH?: number | undefined;
|
|
67
|
+
readonly static?: boolean | undefined;
|
|
68
68
|
}[];
|
|
69
|
-
readonly name: string;
|
|
70
|
-
readonly owner: string;
|
|
71
69
|
readonly refreshTime: 15 | 60 | 300;
|
|
72
70
|
readonly schemaVersion: 2;
|
|
73
|
-
readonly
|
|
71
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
72
|
+
readonly againstTimestamp?: string | undefined;
|
|
74
73
|
readonly timeWindowStart: string;
|
|
74
|
+
readonly timeWindowEnd: string;
|
|
75
75
|
readonly uid?: string | undefined;
|
|
76
76
|
};
|
|
77
77
|
readonly id: string;
|
|
@@ -24,10 +24,10 @@ export declare const getGroupById: import("@distilled.cloud/core/client").Operat
|
|
|
24
24
|
readonly id: string;
|
|
25
25
|
}, {
|
|
26
26
|
readonly description?: string | undefined;
|
|
27
|
-
readonly id: string;
|
|
28
27
|
readonly isManaged?: boolean | undefined;
|
|
29
28
|
readonly members?: readonly string[] | undefined;
|
|
30
29
|
readonly name: string;
|
|
31
30
|
readonly roles?: readonly string[] | undefined;
|
|
31
|
+
readonly id: string;
|
|
32
32
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
33
33
|
//# sourceMappingURL=getGroupById.d.ts.map
|
|
@@ -50,7 +50,6 @@ export declare const getMonitor: import("@distilled.cloud/core/client").Operatio
|
|
|
50
50
|
readonly description?: string | undefined;
|
|
51
51
|
readonly disabled?: boolean | undefined;
|
|
52
52
|
readonly disabledUntil?: string | null | undefined;
|
|
53
|
-
readonly id: string;
|
|
54
53
|
readonly intervalMinutes?: number | undefined;
|
|
55
54
|
readonly mplQuery?: string | undefined;
|
|
56
55
|
readonly name: string;
|
|
@@ -67,5 +66,6 @@ export declare const getMonitor: import("@distilled.cloud/core/client").Operatio
|
|
|
67
66
|
readonly triggerAfterNPositiveResults?: number | undefined;
|
|
68
67
|
readonly triggerFromNRuns?: number | undefined;
|
|
69
68
|
readonly type: "AnomalyDetection" | "MatchEvent" | "Threshold";
|
|
69
|
+
readonly id: string;
|
|
70
70
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
71
71
|
//# sourceMappingURL=getMonitor.d.ts.map
|
|
@@ -20,9 +20,9 @@ export type GetMonitorHistoryOutput = typeof GetMonitorHistoryOutput.Type;
|
|
|
20
20
|
* @param endTime - End time (ISO 8601 format) for filtering alert history.
|
|
21
21
|
*/
|
|
22
22
|
export declare const getMonitorHistory: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
-
readonly endTime: string;
|
|
24
23
|
readonly id: string;
|
|
25
24
|
readonly startTime: string;
|
|
25
|
+
readonly endTime: string;
|
|
26
26
|
}, readonly {
|
|
27
27
|
readonly checkId: string;
|
|
28
28
|
readonly name: string;
|
|
@@ -43,7 +43,6 @@ export declare const getMonitors: import("@distilled.cloud/core/client").Operati
|
|
|
43
43
|
readonly description?: string | undefined;
|
|
44
44
|
readonly disabled?: boolean | undefined;
|
|
45
45
|
readonly disabledUntil?: string | null | undefined;
|
|
46
|
-
readonly id: string;
|
|
47
46
|
readonly intervalMinutes?: number | undefined;
|
|
48
47
|
readonly mplQuery?: string | undefined;
|
|
49
48
|
readonly name: string;
|
|
@@ -60,5 +59,6 @@ export declare const getMonitors: import("@distilled.cloud/core/client").Operati
|
|
|
60
59
|
readonly triggerAfterNPositiveResults?: number | undefined;
|
|
61
60
|
readonly triggerFromNRuns?: number | undefined;
|
|
62
61
|
readonly type: "AnomalyDetection" | "MatchEvent" | "Threshold";
|
|
62
|
+
readonly id: string;
|
|
63
63
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
64
64
|
//# sourceMappingURL=getMonitors.d.ts.map
|
|
@@ -58,7 +58,6 @@ export declare const getNotifier: import("@distilled.cloud/core/client").Operati
|
|
|
58
58
|
readonly createdAt?: string | undefined;
|
|
59
59
|
readonly createdBy?: string | undefined;
|
|
60
60
|
readonly disabledUntil?: string | undefined;
|
|
61
|
-
readonly id?: string | undefined;
|
|
62
61
|
readonly name: string;
|
|
63
62
|
readonly properties: {
|
|
64
63
|
readonly customWebhook?: {
|
|
@@ -99,5 +98,6 @@ export declare const getNotifier: import("@distilled.cloud/core/client").Operati
|
|
|
99
98
|
readonly url?: string | undefined;
|
|
100
99
|
} | undefined;
|
|
101
100
|
};
|
|
101
|
+
readonly id?: string | undefined;
|
|
102
102
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
103
103
|
//# sourceMappingURL=getNotifier.d.ts.map
|
|
@@ -51,7 +51,6 @@ export declare const getNotifiers: import("@distilled.cloud/core/client").Operat
|
|
|
51
51
|
readonly createdAt?: string | undefined;
|
|
52
52
|
readonly createdBy?: string | undefined;
|
|
53
53
|
readonly disabledUntil?: string | undefined;
|
|
54
|
-
readonly id?: string | undefined;
|
|
55
54
|
readonly name: string;
|
|
56
55
|
readonly properties: {
|
|
57
56
|
readonly customWebhook?: {
|
|
@@ -92,5 +91,6 @@ export declare const getNotifiers: import("@distilled.cloud/core/client").Operat
|
|
|
92
91
|
readonly url?: string | undefined;
|
|
93
92
|
} | undefined;
|
|
94
93
|
};
|
|
94
|
+
readonly id?: string | undefined;
|
|
95
95
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
96
96
|
//# sourceMappingURL=getNotifiers.d.ts.map
|
|
@@ -65,7 +65,6 @@ export declare const getRoleById: import("@distilled.cloud/core/client").Operati
|
|
|
65
65
|
};
|
|
66
66
|
} | undefined;
|
|
67
67
|
readonly description?: string | undefined;
|
|
68
|
-
readonly id: string;
|
|
69
68
|
readonly members?: readonly string[] | undefined;
|
|
70
69
|
readonly name: string;
|
|
71
70
|
readonly orgCapabilities?: {
|
|
@@ -91,5 +90,6 @@ export declare const getRoleById: import("@distilled.cloud/core/client").Operati
|
|
|
91
90
|
readonly share?: readonly ("create" | "delete" | "read")[] | undefined;
|
|
92
91
|
};
|
|
93
92
|
} | undefined;
|
|
93
|
+
readonly id: string;
|
|
94
94
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
95
95
|
//# sourceMappingURL=getRoleById.d.ts.map
|
|
@@ -49,7 +49,6 @@ export declare const getStarred: import("@distilled.cloud/core/client").Operatio
|
|
|
49
49
|
readonly id: string;
|
|
50
50
|
}, {
|
|
51
51
|
readonly dataset?: string | undefined;
|
|
52
|
-
readonly id: string;
|
|
53
52
|
readonly kind: "apl";
|
|
54
53
|
readonly metadata: {
|
|
55
54
|
readonly [x: string]: string;
|
|
@@ -71,15 +70,15 @@ export declare const getStarred: import("@distilled.cloud/core/client").Operatio
|
|
|
71
70
|
readonly disableCache?: boolean | undefined;
|
|
72
71
|
readonly disableStats?: boolean | undefined;
|
|
73
72
|
readonly disableTrace?: boolean | undefined;
|
|
74
|
-
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
75
73
|
readonly maxDataPoints?: number | undefined;
|
|
76
74
|
readonly maxSeries?: number | undefined;
|
|
77
75
|
readonly noAggregation?: boolean | undefined;
|
|
78
76
|
readonly noFill?: boolean | undefined;
|
|
79
77
|
readonly noInterpolation?: boolean | undefined;
|
|
80
|
-
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
81
78
|
readonly priority?: "high" | "low" | "medium" | undefined;
|
|
82
79
|
readonly resolution?: string | undefined;
|
|
80
|
+
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
81
|
+
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
83
82
|
readonly shownColumns?: string | undefined;
|
|
84
83
|
readonly timeSeriesVariant?: "" | "area" | "bars" | "line" | "lines" | undefined;
|
|
85
84
|
readonly timeSeriesView?: "" | "charts" | "charts|resultsTable" | "resultsTable" | undefined;
|
|
@@ -88,5 +87,6 @@ export declare const getStarred: import("@distilled.cloud/core/client").Operatio
|
|
|
88
87
|
readonly variables?: unknown;
|
|
89
88
|
};
|
|
90
89
|
readonly who: string;
|
|
90
|
+
readonly id: string;
|
|
91
91
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
92
92
|
//# sourceMappingURL=getStarred.d.ts.map
|
|
@@ -56,14 +56,13 @@ export type GetStarredQueriesOutput = typeof GetStarredQueriesOutput.Type;
|
|
|
56
56
|
- If the value of `who` is `all`, the request returns queries starred by all users in the team, including the authenticated user. For example, `&who=all`.
|
|
57
57
|
*/
|
|
58
58
|
export declare const getStarredQueries: import("@distilled.cloud/core/client").OperationMethod<{
|
|
59
|
-
readonly dataset?: string | undefined;
|
|
60
59
|
readonly limit?: number | undefined;
|
|
61
60
|
readonly offset?: number | undefined;
|
|
62
|
-
readonly
|
|
61
|
+
readonly dataset?: string | undefined;
|
|
63
62
|
readonly who?: string | undefined;
|
|
63
|
+
readonly qs?: string | undefined;
|
|
64
64
|
}, readonly {
|
|
65
65
|
readonly dataset?: string | undefined;
|
|
66
|
-
readonly id: string;
|
|
67
66
|
readonly kind: "apl";
|
|
68
67
|
readonly metadata: {
|
|
69
68
|
readonly [x: string]: string;
|
|
@@ -85,15 +84,15 @@ export declare const getStarredQueries: import("@distilled.cloud/core/client").O
|
|
|
85
84
|
readonly disableCache?: boolean | undefined;
|
|
86
85
|
readonly disableStats?: boolean | undefined;
|
|
87
86
|
readonly disableTrace?: boolean | undefined;
|
|
88
|
-
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
89
87
|
readonly maxDataPoints?: number | undefined;
|
|
90
88
|
readonly maxSeries?: number | undefined;
|
|
91
89
|
readonly noAggregation?: boolean | undefined;
|
|
92
90
|
readonly noFill?: boolean | undefined;
|
|
93
91
|
readonly noInterpolation?: boolean | undefined;
|
|
94
|
-
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
95
92
|
readonly priority?: "high" | "low" | "medium" | undefined;
|
|
96
93
|
readonly resolution?: string | undefined;
|
|
94
|
+
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
95
|
+
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
97
96
|
readonly shownColumns?: string | undefined;
|
|
98
97
|
readonly timeSeriesVariant?: "" | "area" | "bars" | "line" | "lines" | undefined;
|
|
99
98
|
readonly timeSeriesView?: "" | "charts" | "charts|resultsTable" | "resultsTable" | undefined;
|
|
@@ -102,5 +101,6 @@ export declare const getStarredQueries: import("@distilled.cloud/core/client").O
|
|
|
102
101
|
readonly variables?: unknown;
|
|
103
102
|
};
|
|
104
103
|
readonly who: string;
|
|
104
|
+
readonly id: string;
|
|
105
105
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
106
106
|
//# sourceMappingURL=getStarredQueries.d.ts.map
|
|
@@ -20,9 +20,9 @@ export declare const getVirtualField: import("@distilled.cloud/core/client").Ope
|
|
|
20
20
|
readonly dataset: string;
|
|
21
21
|
readonly description?: string | undefined;
|
|
22
22
|
readonly expression: string;
|
|
23
|
-
readonly id: string;
|
|
24
23
|
readonly name: string;
|
|
25
24
|
readonly type?: string | undefined;
|
|
26
25
|
readonly unit?: string | undefined;
|
|
26
|
+
readonly id: string;
|
|
27
27
|
}, NotFound, import("~/credentials.ts").Credentials>;
|
|
28
28
|
//# sourceMappingURL=getVirtualField.d.ts.map
|
|
@@ -19,9 +19,9 @@ export declare const getVirtualFields: import("@distilled.cloud/core/client").Op
|
|
|
19
19
|
readonly dataset: string;
|
|
20
20
|
readonly description?: string | undefined;
|
|
21
21
|
readonly expression: string;
|
|
22
|
-
readonly id: string;
|
|
23
22
|
readonly name: string;
|
|
24
23
|
readonly type?: string | undefined;
|
|
25
24
|
readonly unit?: string | undefined;
|
|
25
|
+
readonly id: string;
|
|
26
26
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
27
27
|
//# sourceMappingURL=getVirtualFields.d.ts.map
|
|
@@ -51,28 +51,28 @@ export declare const listDashboards: import("@distilled.cloud/core/client").Oper
|
|
|
51
51
|
readonly createdAt: string;
|
|
52
52
|
readonly createdBy: string;
|
|
53
53
|
readonly dashboard: {
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly charts: readonly unknown[];
|
|
54
|
+
readonly name: string;
|
|
55
|
+
readonly owner: string;
|
|
57
56
|
readonly description?: string | undefined;
|
|
57
|
+
readonly charts: readonly unknown[];
|
|
58
58
|
readonly layout: readonly {
|
|
59
|
-
readonly h: number;
|
|
60
59
|
readonly i: string;
|
|
61
|
-
readonly maxH?: number | undefined;
|
|
62
|
-
readonly maxW?: number | undefined;
|
|
63
|
-
readonly minH?: number | undefined;
|
|
64
|
-
readonly minW?: number | undefined;
|
|
65
|
-
readonly static?: boolean | undefined;
|
|
66
|
-
readonly w: number;
|
|
67
60
|
readonly x: number;
|
|
68
61
|
readonly y: number | null;
|
|
62
|
+
readonly w: number;
|
|
63
|
+
readonly h: number;
|
|
64
|
+
readonly minW?: number | undefined;
|
|
65
|
+
readonly minH?: number | undefined;
|
|
66
|
+
readonly maxW?: number | undefined;
|
|
67
|
+
readonly maxH?: number | undefined;
|
|
68
|
+
readonly static?: boolean | undefined;
|
|
69
69
|
}[];
|
|
70
|
-
readonly name: string;
|
|
71
|
-
readonly owner: string;
|
|
72
70
|
readonly refreshTime: 15 | 60 | 300;
|
|
73
71
|
readonly schemaVersion: 2;
|
|
74
|
-
readonly
|
|
72
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
73
|
+
readonly againstTimestamp?: string | undefined;
|
|
75
74
|
readonly timeWindowStart: string;
|
|
75
|
+
readonly timeWindowEnd: string;
|
|
76
76
|
readonly uid?: string | undefined;
|
|
77
77
|
};
|
|
78
78
|
readonly id: string;
|
|
@@ -17,10 +17,10 @@ export type ListGroupsOutput = typeof ListGroupsOutput.Type;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const listGroups: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
|
|
19
19
|
readonly description?: string | undefined;
|
|
20
|
-
readonly id: string;
|
|
21
20
|
readonly isManaged?: boolean | undefined;
|
|
22
21
|
readonly members?: readonly string[] | undefined;
|
|
23
22
|
readonly name: string;
|
|
24
23
|
readonly roles?: readonly string[] | undefined;
|
|
24
|
+
readonly id: string;
|
|
25
25
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=listGroups.d.ts.map
|
|
@@ -58,7 +58,6 @@ export declare const listRoles: import("@distilled.cloud/core/client").Operation
|
|
|
58
58
|
};
|
|
59
59
|
} | undefined;
|
|
60
60
|
readonly description?: string | undefined;
|
|
61
|
-
readonly id: string;
|
|
62
61
|
readonly members?: readonly string[] | undefined;
|
|
63
62
|
readonly name: string;
|
|
64
63
|
readonly orgCapabilities?: {
|
|
@@ -84,5 +83,6 @@ export declare const listRoles: import("@distilled.cloud/core/client").Operation
|
|
|
84
83
|
readonly share?: readonly ("create" | "delete" | "read")[] | undefined;
|
|
85
84
|
};
|
|
86
85
|
} | undefined;
|
|
86
|
+
readonly id: string;
|
|
87
87
|
}[], never, import("~/credentials.ts").Credentials>;
|
|
88
88
|
//# sourceMappingURL=listRoles.d.ts.map
|
|
@@ -86,8 +86,8 @@ export type RegenerateAPITokenOutput = typeof RegenerateAPITokenOutput.Type;
|
|
|
86
86
|
* Regenerate API token
|
|
87
87
|
*/
|
|
88
88
|
export declare const regenerateAPIToken: import("@distilled.cloud/core/client").OperationMethod<{
|
|
89
|
-
readonly existingTokenExpiresAt: string;
|
|
90
89
|
readonly id: string;
|
|
90
|
+
readonly existingTokenExpiresAt: string;
|
|
91
91
|
readonly newToken?: {
|
|
92
92
|
readonly datasetCapabilities?: {
|
|
93
93
|
readonly [x: string]: {
|
|
@@ -164,12 +164,12 @@ export declare const regenerateAPIToken: import("@distilled.cloud/core/client").
|
|
|
164
164
|
readonly views?: readonly ("create" | "delete" | "read" | "update")[] | undefined;
|
|
165
165
|
};
|
|
166
166
|
readonly samlAuthenticated?: boolean | undefined;
|
|
167
|
-
readonly token?: string | undefined;
|
|
168
167
|
readonly viewCapabilities?: {
|
|
169
168
|
readonly [x: string]: {
|
|
170
169
|
readonly query?: readonly "read"[] | undefined;
|
|
171
170
|
readonly share?: readonly ("create" | "delete" | "read")[] | undefined;
|
|
172
171
|
};
|
|
173
172
|
} | undefined;
|
|
173
|
+
readonly token?: string | undefined;
|
|
174
174
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
175
175
|
//# sourceMappingURL=regenerateAPIToken.d.ts.map
|
|
@@ -28,10 +28,10 @@ export type UpdateAnnotationOutput = typeof UpdateAnnotationOutput.Type;
|
|
|
28
28
|
* @param id - Unique ID of the annotation
|
|
29
29
|
*/
|
|
30
30
|
export declare const updateAnnotation: import("@distilled.cloud/core/client").OperationMethod<{
|
|
31
|
+
readonly id: string;
|
|
31
32
|
readonly datasets?: readonly string[] | undefined;
|
|
32
33
|
readonly description?: string | undefined;
|
|
33
34
|
readonly endTime?: string | undefined;
|
|
34
|
-
readonly id: string;
|
|
35
35
|
readonly time?: string | undefined;
|
|
36
36
|
readonly title?: string | undefined;
|
|
37
37
|
readonly type?: string | undefined;
|
|
@@ -77,62 +77,62 @@ export type UpdateDashboardOutput = typeof UpdateDashboardOutput.Type;
|
|
|
77
77
|
* Update a dashboard by UID.
|
|
78
78
|
*/
|
|
79
79
|
export declare const updateDashboard: import("@distilled.cloud/core/client").OperationMethod<{
|
|
80
|
+
readonly uid: string;
|
|
80
81
|
readonly dashboard: {
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly charts: readonly unknown[];
|
|
82
|
+
readonly name: string;
|
|
83
|
+
readonly owner: string;
|
|
84
84
|
readonly description?: string | undefined;
|
|
85
|
+
readonly charts: readonly unknown[];
|
|
85
86
|
readonly layout: readonly {
|
|
86
|
-
readonly h: number;
|
|
87
87
|
readonly i: string;
|
|
88
|
-
readonly maxH?: number | undefined;
|
|
89
|
-
readonly maxW?: number | undefined;
|
|
90
|
-
readonly minH?: number | undefined;
|
|
91
|
-
readonly minW?: number | undefined;
|
|
92
|
-
readonly static?: boolean | undefined;
|
|
93
|
-
readonly w: number;
|
|
94
88
|
readonly x: number;
|
|
95
89
|
readonly y: number | null;
|
|
90
|
+
readonly w: number;
|
|
91
|
+
readonly h: number;
|
|
92
|
+
readonly minW?: number | undefined;
|
|
93
|
+
readonly minH?: number | undefined;
|
|
94
|
+
readonly maxW?: number | undefined;
|
|
95
|
+
readonly maxH?: number | undefined;
|
|
96
|
+
readonly static?: boolean | undefined;
|
|
96
97
|
}[];
|
|
97
|
-
readonly name: string;
|
|
98
|
-
readonly owner: string;
|
|
99
98
|
readonly refreshTime: 15 | 60 | 300;
|
|
100
99
|
readonly schemaVersion: 2;
|
|
101
|
-
readonly
|
|
100
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
101
|
+
readonly againstTimestamp?: string | undefined;
|
|
102
102
|
readonly timeWindowStart: string;
|
|
103
|
+
readonly timeWindowEnd: string;
|
|
103
104
|
readonly uid?: string | undefined;
|
|
104
105
|
};
|
|
105
106
|
readonly message?: string | undefined;
|
|
106
107
|
readonly overwrite?: boolean | undefined;
|
|
107
|
-
readonly uid: string;
|
|
108
108
|
readonly version?: unknown;
|
|
109
109
|
}, {
|
|
110
110
|
readonly dashboard: {
|
|
111
111
|
readonly createdAt: string;
|
|
112
112
|
readonly createdBy: string;
|
|
113
113
|
readonly dashboard: {
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly charts: readonly unknown[];
|
|
114
|
+
readonly name: string;
|
|
115
|
+
readonly owner: string;
|
|
117
116
|
readonly description?: string | undefined;
|
|
117
|
+
readonly charts: readonly unknown[];
|
|
118
118
|
readonly layout: readonly {
|
|
119
|
-
readonly h: number;
|
|
120
119
|
readonly i: string;
|
|
121
|
-
readonly maxH?: number | undefined;
|
|
122
|
-
readonly maxW?: number | undefined;
|
|
123
|
-
readonly minH?: number | undefined;
|
|
124
|
-
readonly minW?: number | undefined;
|
|
125
|
-
readonly static?: boolean | undefined;
|
|
126
|
-
readonly w: number;
|
|
127
120
|
readonly x: number;
|
|
128
121
|
readonly y: number | null;
|
|
122
|
+
readonly w: number;
|
|
123
|
+
readonly h: number;
|
|
124
|
+
readonly minW?: number | undefined;
|
|
125
|
+
readonly minH?: number | undefined;
|
|
126
|
+
readonly maxW?: number | undefined;
|
|
127
|
+
readonly maxH?: number | undefined;
|
|
128
|
+
readonly static?: boolean | undefined;
|
|
129
129
|
}[];
|
|
130
|
-
readonly name: string;
|
|
131
|
-
readonly owner: string;
|
|
132
130
|
readonly refreshTime: 15 | 60 | 300;
|
|
133
131
|
readonly schemaVersion: 2;
|
|
134
|
-
readonly
|
|
132
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
133
|
+
readonly againstTimestamp?: string | undefined;
|
|
135
134
|
readonly timeWindowStart: string;
|
|
135
|
+
readonly timeWindowEnd: string;
|
|
136
136
|
readonly uid?: string | undefined;
|
|
137
137
|
};
|
|
138
138
|
readonly id: string;
|
|
@@ -20,8 +20,8 @@ export declare const UpdateFieldForDatasetOutput: Schema.Struct<{
|
|
|
20
20
|
export type UpdateFieldForDatasetOutput = typeof UpdateFieldForDatasetOutput.Type;
|
|
21
21
|
export declare const updateFieldForDataset: import("@distilled.cloud/core/client").OperationMethod<{
|
|
22
22
|
readonly dataset_id: string;
|
|
23
|
-
readonly description?: string | undefined;
|
|
24
23
|
readonly field_id: string;
|
|
24
|
+
readonly description?: string | undefined;
|
|
25
25
|
readonly hidden?: boolean | undefined;
|
|
26
26
|
readonly name: string;
|
|
27
27
|
readonly type: string;
|
|
@@ -26,18 +26,18 @@ export type UpdateGroupOutput = typeof UpdateGroupOutput.Type;
|
|
|
26
26
|
* @param id - Unique identifier of the group to update
|
|
27
27
|
*/
|
|
28
28
|
export declare const updateGroup: import("@distilled.cloud/core/client").OperationMethod<{
|
|
29
|
-
readonly description?: string | undefined;
|
|
30
29
|
readonly id: string;
|
|
30
|
+
readonly description?: string | undefined;
|
|
31
31
|
readonly isManaged?: boolean | undefined;
|
|
32
32
|
readonly members?: readonly string[] | undefined;
|
|
33
33
|
readonly name: string;
|
|
34
34
|
readonly roles?: readonly string[] | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
readonly description?: string | undefined;
|
|
37
|
-
readonly id: string;
|
|
38
37
|
readonly isManaged?: boolean | undefined;
|
|
39
38
|
readonly members?: readonly string[] | undefined;
|
|
40
39
|
readonly name: string;
|
|
41
40
|
readonly roles?: readonly string[] | undefined;
|
|
41
|
+
readonly id: string;
|
|
42
42
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
43
43
|
//# sourceMappingURL=updateGroup.d.ts.map
|
|
@@ -62,6 +62,7 @@ export type UpdateMonitorOutput = typeof UpdateMonitorOutput.Type;
|
|
|
62
62
|
* Update monitor
|
|
63
63
|
*/
|
|
64
64
|
export declare const updateMonitor: import("@distilled.cloud/core/client").OperationMethod<{
|
|
65
|
+
readonly id: string;
|
|
65
66
|
readonly alertOnNoData?: boolean | undefined;
|
|
66
67
|
readonly aplQuery?: string | undefined;
|
|
67
68
|
readonly columnName?: string | undefined;
|
|
@@ -71,7 +72,6 @@ export declare const updateMonitor: import("@distilled.cloud/core/client").Opera
|
|
|
71
72
|
readonly description?: string | undefined;
|
|
72
73
|
readonly disabled?: boolean | undefined;
|
|
73
74
|
readonly disabledUntil?: string | null | undefined;
|
|
74
|
-
readonly id: string;
|
|
75
75
|
readonly intervalMinutes?: number | undefined;
|
|
76
76
|
readonly mplQuery?: string | undefined;
|
|
77
77
|
readonly name: string;
|
|
@@ -98,7 +98,6 @@ export declare const updateMonitor: import("@distilled.cloud/core/client").Opera
|
|
|
98
98
|
readonly description?: string | undefined;
|
|
99
99
|
readonly disabled?: boolean | undefined;
|
|
100
100
|
readonly disabledUntil?: string | null | undefined;
|
|
101
|
-
readonly id: string;
|
|
102
101
|
readonly intervalMinutes?: number | undefined;
|
|
103
102
|
readonly mplQuery?: string | undefined;
|
|
104
103
|
readonly name: string;
|
|
@@ -115,5 +114,6 @@ export declare const updateMonitor: import("@distilled.cloud/core/client").Opera
|
|
|
115
114
|
readonly triggerAfterNPositiveResults?: number | undefined;
|
|
116
115
|
readonly triggerFromNRuns?: number | undefined;
|
|
117
116
|
readonly type: "AnomalyDetection" | "MatchEvent" | "Threshold";
|
|
117
|
+
readonly id: string;
|
|
118
118
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
119
119
|
//# sourceMappingURL=updateMonitor.d.ts.map
|
|
@@ -90,10 +90,10 @@ export type UpdateNotifierOutput = typeof UpdateNotifierOutput.Type;
|
|
|
90
90
|
* Update notifier
|
|
91
91
|
*/
|
|
92
92
|
export declare const updateNotifier: import("@distilled.cloud/core/client").OperationMethod<{
|
|
93
|
+
readonly id: string;
|
|
93
94
|
readonly createdAt?: string | undefined;
|
|
94
95
|
readonly createdBy?: string | undefined;
|
|
95
96
|
readonly disabledUntil?: string | undefined;
|
|
96
|
-
readonly id: string;
|
|
97
97
|
readonly name: string;
|
|
98
98
|
readonly properties: {
|
|
99
99
|
readonly customWebhook?: {
|
|
@@ -138,7 +138,6 @@ export declare const updateNotifier: import("@distilled.cloud/core/client").Oper
|
|
|
138
138
|
readonly createdAt?: string | undefined;
|
|
139
139
|
readonly createdBy?: string | undefined;
|
|
140
140
|
readonly disabledUntil?: string | undefined;
|
|
141
|
-
readonly id?: string | undefined;
|
|
142
141
|
readonly name: string;
|
|
143
142
|
readonly properties: {
|
|
144
143
|
readonly customWebhook?: {
|
|
@@ -179,5 +178,6 @@ export declare const updateNotifier: import("@distilled.cloud/core/client").Oper
|
|
|
179
178
|
readonly url?: string | undefined;
|
|
180
179
|
} | undefined;
|
|
181
180
|
};
|
|
181
|
+
readonly id?: string | undefined;
|
|
182
182
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
183
183
|
//# sourceMappingURL=updateNotifier.d.ts.map
|
|
@@ -84,6 +84,7 @@ export type UpdateRoleOutput = typeof UpdateRoleOutput.Type;
|
|
|
84
84
|
* @param id - Unique identifier of the role to update
|
|
85
85
|
*/
|
|
86
86
|
export declare const updateRole: import("@distilled.cloud/core/client").OperationMethod<{
|
|
87
|
+
readonly id: string;
|
|
87
88
|
readonly datasetCapabilities?: {
|
|
88
89
|
readonly [x: string]: {
|
|
89
90
|
readonly data?: readonly "delete"[] | undefined;
|
|
@@ -97,7 +98,6 @@ export declare const updateRole: import("@distilled.cloud/core/client").Operatio
|
|
|
97
98
|
};
|
|
98
99
|
} | undefined;
|
|
99
100
|
readonly description?: string | undefined;
|
|
100
|
-
readonly id: string;
|
|
101
101
|
readonly members?: readonly string[] | undefined;
|
|
102
102
|
readonly name: string;
|
|
103
103
|
readonly orgCapabilities?: {
|
|
@@ -137,7 +137,6 @@ export declare const updateRole: import("@distilled.cloud/core/client").Operatio
|
|
|
137
137
|
};
|
|
138
138
|
} | undefined;
|
|
139
139
|
readonly description?: string | undefined;
|
|
140
|
-
readonly id: string;
|
|
141
140
|
readonly members?: readonly string[] | undefined;
|
|
142
141
|
readonly name: string;
|
|
143
142
|
readonly orgCapabilities?: {
|
|
@@ -163,5 +162,6 @@ export declare const updateRole: import("@distilled.cloud/core/client").Operatio
|
|
|
163
162
|
readonly share?: readonly ("create" | "delete" | "read")[] | undefined;
|
|
164
163
|
};
|
|
165
164
|
} | undefined;
|
|
165
|
+
readonly id: string;
|
|
166
166
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
167
167
|
//# sourceMappingURL=updateRole.d.ts.map
|
|
@@ -83,8 +83,8 @@ export declare const UpdateStarredOutput: Schema.Struct<{
|
|
|
83
83
|
}>;
|
|
84
84
|
export type UpdateStarredOutput = typeof UpdateStarredOutput.Type;
|
|
85
85
|
export declare const updateStarred: import("@distilled.cloud/core/client").OperationMethod<{
|
|
86
|
-
readonly dataset?: string | undefined;
|
|
87
86
|
readonly id: string;
|
|
87
|
+
readonly dataset?: string | undefined;
|
|
88
88
|
readonly kind: "apl";
|
|
89
89
|
readonly metadata: {
|
|
90
90
|
readonly [x: string]: string;
|
|
@@ -106,15 +106,15 @@ export declare const updateStarred: import("@distilled.cloud/core/client").Opera
|
|
|
106
106
|
readonly disableCache?: boolean | undefined;
|
|
107
107
|
readonly disableStats?: boolean | undefined;
|
|
108
108
|
readonly disableTrace?: boolean | undefined;
|
|
109
|
-
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
110
109
|
readonly maxDataPoints?: number | undefined;
|
|
111
110
|
readonly maxSeries?: number | undefined;
|
|
112
111
|
readonly noAggregation?: boolean | undefined;
|
|
113
112
|
readonly noFill?: boolean | undefined;
|
|
114
113
|
readonly noInterpolation?: boolean | undefined;
|
|
115
|
-
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
116
114
|
readonly priority?: "high" | "low" | "medium" | undefined;
|
|
117
115
|
readonly resolution?: string | undefined;
|
|
116
|
+
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
117
|
+
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
118
118
|
readonly shownColumns?: string | undefined;
|
|
119
119
|
readonly timeSeriesVariant?: "" | "area" | "bars" | "line" | "lines" | undefined;
|
|
120
120
|
readonly timeSeriesView?: "" | "charts" | "charts|resultsTable" | "resultsTable" | undefined;
|
|
@@ -125,7 +125,6 @@ export declare const updateStarred: import("@distilled.cloud/core/client").Opera
|
|
|
125
125
|
readonly who: string;
|
|
126
126
|
}, {
|
|
127
127
|
readonly dataset?: string | undefined;
|
|
128
|
-
readonly id: string;
|
|
129
128
|
readonly kind: "apl";
|
|
130
129
|
readonly metadata: {
|
|
131
130
|
readonly [x: string]: string;
|
|
@@ -147,15 +146,15 @@ export declare const updateStarred: import("@distilled.cloud/core/client").Opera
|
|
|
147
146
|
readonly disableCache?: boolean | undefined;
|
|
148
147
|
readonly disableStats?: boolean | undefined;
|
|
149
148
|
readonly disableTrace?: boolean | undefined;
|
|
150
|
-
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
151
149
|
readonly maxDataPoints?: number | undefined;
|
|
152
150
|
readonly maxSeries?: number | undefined;
|
|
153
151
|
readonly noAggregation?: boolean | undefined;
|
|
154
152
|
readonly noFill?: boolean | undefined;
|
|
155
153
|
readonly noInterpolation?: boolean | undefined;
|
|
156
|
-
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
157
154
|
readonly priority?: "high" | "low" | "medium" | undefined;
|
|
158
155
|
readonly resolution?: string | undefined;
|
|
156
|
+
readonly displayNull?: "" | "auto" | "null" | "span" | "zero" | undefined;
|
|
157
|
+
readonly overlayCharts?: "" | "false" | "true" | undefined;
|
|
159
158
|
readonly shownColumns?: string | undefined;
|
|
160
159
|
readonly timeSeriesVariant?: "" | "area" | "bars" | "line" | "lines" | undefined;
|
|
161
160
|
readonly timeSeriesView?: "" | "charts" | "charts|resultsTable" | "resultsTable" | undefined;
|
|
@@ -164,5 +163,6 @@ export declare const updateStarred: import("@distilled.cloud/core/client").Opera
|
|
|
164
163
|
readonly variables?: unknown;
|
|
165
164
|
};
|
|
166
165
|
readonly who: string;
|
|
166
|
+
readonly id: string;
|
|
167
167
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
168
168
|
//# sourceMappingURL=updateStarred.d.ts.map
|
|
@@ -20,10 +20,10 @@ export declare const UpdateViewOutput: Schema.Struct<{
|
|
|
20
20
|
}>;
|
|
21
21
|
export type UpdateViewOutput = typeof UpdateViewOutput.Type;
|
|
22
22
|
export declare const updateView: import("@distilled.cloud/core/client").OperationMethod<{
|
|
23
|
+
readonly id: string;
|
|
23
24
|
readonly aplQuery: string;
|
|
24
25
|
readonly datasets?: readonly string[] | undefined;
|
|
25
26
|
readonly description?: string | undefined;
|
|
26
|
-
readonly id: string;
|
|
27
27
|
readonly name: string;
|
|
28
28
|
readonly sharedByOrg?: string | undefined;
|
|
29
29
|
readonly sharedByOrgName?: string | undefined;
|
|
@@ -21,10 +21,10 @@ export declare const UpdateVirtualFieldOutput: Schema.Struct<{
|
|
|
21
21
|
}>;
|
|
22
22
|
export type UpdateVirtualFieldOutput = typeof UpdateVirtualFieldOutput.Type;
|
|
23
23
|
export declare const updateVirtualField: import("@distilled.cloud/core/client").OperationMethod<{
|
|
24
|
+
readonly id: string;
|
|
24
25
|
readonly dataset: string;
|
|
25
26
|
readonly description?: string | undefined;
|
|
26
27
|
readonly expression: string;
|
|
27
|
-
readonly id: string;
|
|
28
28
|
readonly name: string;
|
|
29
29
|
readonly type?: string | undefined;
|
|
30
30
|
readonly unit?: string | undefined;
|
|
@@ -32,9 +32,9 @@ export declare const updateVirtualField: import("@distilled.cloud/core/client").
|
|
|
32
32
|
readonly dataset: string;
|
|
33
33
|
readonly description?: string | undefined;
|
|
34
34
|
readonly expression: string;
|
|
35
|
-
readonly id: string;
|
|
36
35
|
readonly name: string;
|
|
37
36
|
readonly type?: string | undefined;
|
|
38
37
|
readonly unit?: string | undefined;
|
|
38
|
+
readonly id: string;
|
|
39
39
|
}, NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
40
40
|
//# sourceMappingURL=updateVirtualField.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/axiom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"specs:update": "git -C specs/docs fetch && git -C specs/docs checkout main && git -C specs/docs pull"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@distilled.cloud/core": "0.
|
|
81
|
+
"@distilled.cloud/core": "0.20.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@types/bun": "^1.3.0",
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
"vitest": "^3.2.3"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"effect": ">=4.0.0-beta.
|
|
90
|
+
"effect": ">=4.0.0-beta.66 || >=4.0.0"
|
|
91
91
|
}
|
|
92
92
|
}
|
package/src/credentials.ts
CHANGED
|
@@ -44,7 +44,7 @@ const envConfig = EffectConfig.all({
|
|
|
44
44
|
export const CredentialsFromEnv = Layer.effect(
|
|
45
45
|
Credentials,
|
|
46
46
|
Effect.gen(function* () {
|
|
47
|
-
const config = yield* envConfig.
|
|
47
|
+
const config = yield* envConfig.pipe(
|
|
48
48
|
Effect.mapError(
|
|
49
49
|
() =>
|
|
50
50
|
new ConfigError({
|