@distilled.cloud/axiom 1.0.0-rc.13 → 1.0.0-rc.14
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.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +4 -7
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -1
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/edge_ingest.d.ts +1 -1
- package/lib/services/edge_ingest.d.ts.map +1 -1
- package/lib/services/edge_ingest.js +5 -11
- package/lib/services/edge_ingest.js.map +1 -1
- package/lib/services/edge_query.d.ts +1 -1
- package/lib/services/edge_query.d.ts.map +1 -1
- package/lib/services/edge_query.js +5 -9
- package/lib/services/edge_query.js.map +1 -1
- package/lib/services/v2.d.ts +25 -1
- package/lib/services/v2.d.ts.map +1 -1
- package/lib/services/v2.js +187 -453
- package/lib/services/v2.js.map +1 -1
- package/package.json +12 -10
- package/src/credentials.ts +11 -20
- package/src/errors.ts +5 -8
- package/src/index.ts +2 -13
- package/src/protocol.ts +27 -32
- package/src/retry.ts +2 -8
- package/src/services/edge_ingest.ts +7 -23
- package/src/services/edge_query.ts +8 -21
- package/src/services/v2.ts +387 -957
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -32
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -46
package/lib/services/v2.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as C from "@distilled.cloud/core/category";
|
|
1
3
|
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/docs restapi/versions). Do not edit.
|
|
2
4
|
import * as S from "@distilled.cloud/core/schema";
|
|
3
5
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import * as API from "@distilled.cloud/core/api";
|
|
5
|
-
import * as C from "@distilled.cloud/core/category";
|
|
6
|
-
import * as T from "../traits.js";
|
|
7
|
-
import { AxiomProtocol, } from "../protocol.js";
|
|
8
6
|
import { UnknownAxiomError } from "../errors.js";
|
|
7
|
+
import { AxiomProtocol } from "../protocol.js";
|
|
9
8
|
import * as Retry from "../retry.js";
|
|
9
|
+
import * as T from "../traits.js";
|
|
10
10
|
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
11
|
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
12
|
code: S.Number,
|
|
@@ -46,9 +46,7 @@ export const CreateAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
46
46
|
title: S.optional(S.String),
|
|
47
47
|
type: S.String,
|
|
48
48
|
url: S.optional(S.String),
|
|
49
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/annotations", code: 200 }))).annotate({
|
|
50
|
-
identifier: "CreateAnnotationRequest",
|
|
51
|
-
});
|
|
49
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/annotations", code: 200 }))).annotate({ identifier: "CreateAnnotationRequest" });
|
|
52
50
|
export const AnnotationDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
53
51
|
export const Annotation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
54
52
|
datasets: AnnotationDatasetsList,
|
|
@@ -85,9 +83,7 @@ export const DatasetCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
85
83
|
trim: S.optional(DatasetCapabilitiesValueTrimList),
|
|
86
84
|
vacuum: S.optional(DatasetCapabilitiesValueVacuumList),
|
|
87
85
|
virtualFields: S.optional(DatasetCapabilitiesValueVirtualFieldsList),
|
|
88
|
-
})).annotate({
|
|
89
|
-
identifier: "DatasetCapabilitiesValue",
|
|
90
|
-
});
|
|
86
|
+
})).annotate({ identifier: "DatasetCapabilitiesValue" });
|
|
91
87
|
export const DatasetCapabilities = /*@__PURE__*/ S.Record(S.String, DatasetCapabilitiesValue);
|
|
92
88
|
export const OrgCapabilitiesAnnotationsItem = S.String;
|
|
93
89
|
export const OrgCapabilitiesAnnotationsList = /*@__PURE__*/ S.Array(OrgCapabilitiesAnnotationsItem);
|
|
@@ -135,9 +131,7 @@ export const OrgCapabilities = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
135
131
|
sharedAccessKeys: S.optional(OrgCapabilitiesSharedAccessKeysList),
|
|
136
132
|
users: S.optional(OrgCapabilitiesUsersList),
|
|
137
133
|
views: S.optional(OrgCapabilitiesViewsList),
|
|
138
|
-
})).annotate({
|
|
139
|
-
identifier: "OrgCapabilities",
|
|
140
|
-
});
|
|
134
|
+
})).annotate({ identifier: "OrgCapabilities" });
|
|
141
135
|
export const ViewCapabilitiesValueQueryItem = S.String;
|
|
142
136
|
export const ViewCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(ViewCapabilitiesValueQueryItem);
|
|
143
137
|
export const ViewCapabilitiesValueShareItem = S.String;
|
|
@@ -145,9 +139,7 @@ export const ViewCapabilitiesValueShareList = /*@__PURE__*/ S.Array(ViewCapabili
|
|
|
145
139
|
export const ViewCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
146
140
|
query: S.optional(ViewCapabilitiesValueQueryList),
|
|
147
141
|
share: S.optional(ViewCapabilitiesValueShareList),
|
|
148
|
-
})).annotate({
|
|
149
|
-
identifier: "ViewCapabilitiesValue",
|
|
150
|
-
});
|
|
142
|
+
})).annotate({ identifier: "ViewCapabilitiesValue" });
|
|
151
143
|
export const ViewCapabilities = /*@__PURE__*/ S.Record(S.String, ViewCapabilitiesValue);
|
|
152
144
|
export const CreateAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
153
145
|
datasetCapabilities: S.optional(DatasetCapabilities),
|
|
@@ -156,9 +148,7 @@ export const CreateAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
156
148
|
name: S.String,
|
|
157
149
|
orgCapabilities: S.optional(OrgCapabilities),
|
|
158
150
|
viewCapabilities: S.optional(ViewCapabilities),
|
|
159
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/tokens", code: 200 }))).annotate({
|
|
160
|
-
identifier: "CreateAPITokenRequest",
|
|
161
|
-
});
|
|
151
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/tokens", code: 200 }))).annotate({ identifier: "CreateAPITokenRequest" });
|
|
162
152
|
export const CreateAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
163
153
|
datasetCapabilities: DatasetCapabilities,
|
|
164
154
|
description: S.optional(S.String),
|
|
@@ -169,9 +159,7 @@ export const CreateAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
169
159
|
samlAuthenticated: S.optional(S.Boolean),
|
|
170
160
|
viewCapabilities: S.optional(ViewCapabilities),
|
|
171
161
|
token: S.optional(S.String),
|
|
172
|
-
})).annotate({
|
|
173
|
-
identifier: "CreateAPITokenResponse",
|
|
174
|
-
});
|
|
162
|
+
})).annotate({ identifier: "CreateAPITokenResponse" });
|
|
175
163
|
export const TimeSeriesChartType = S.String;
|
|
176
164
|
export const TimeSeriesQueryOptionsDisplayNull = S.String;
|
|
177
165
|
export const BooleanString = S.String;
|
|
@@ -183,9 +171,7 @@ export const TimeSeriesQueryOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
183
171
|
shownColumns: S.optional(S.String),
|
|
184
172
|
timeSeriesVariant: S.optional(TimeSeriesQueryOptionsTimeSeriesVariant),
|
|
185
173
|
timeSeriesView: S.optional(TimeSeriesQueryOptionsTimeSeriesView),
|
|
186
|
-
})).annotate({
|
|
187
|
-
identifier: "TimeSeriesQueryOptions",
|
|
188
|
-
});
|
|
174
|
+
})).annotate({ identifier: "TimeSeriesQueryOptions" });
|
|
189
175
|
export const TimeSeriesNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
190
176
|
apl: S.String,
|
|
191
177
|
queryOptions: S.optional(TimeSeriesQueryOptions),
|
|
@@ -195,25 +181,19 @@ export const TimeSeriesNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
195
181
|
export const TimeSeriesNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
196
182
|
mpl: S.String,
|
|
197
183
|
queryOptions: S.optional(TimeSeriesQueryOptions),
|
|
198
|
-
})).annotate({
|
|
199
|
-
identifier: "TimeSeriesNativeMplQuery",
|
|
200
|
-
});
|
|
184
|
+
})).annotate({ identifier: "TimeSeriesNativeMplQuery" });
|
|
201
185
|
export const TimeSeriesChartQuery = S.Unknown;
|
|
202
186
|
export const TimeSeriesChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
203
187
|
id: S.String,
|
|
204
188
|
type: TimeSeriesChartType,
|
|
205
189
|
name: S.optional(S.String),
|
|
206
190
|
query: TimeSeriesChartQuery,
|
|
207
|
-
})).annotate({
|
|
208
|
-
identifier: "TimeSeriesChart",
|
|
209
|
-
});
|
|
191
|
+
})).annotate({ identifier: "TimeSeriesChart" });
|
|
210
192
|
export const HeatmapChartType = S.String;
|
|
211
193
|
export const HeatmapQueryOptionsTimeSeriesView = S.String;
|
|
212
194
|
export const HeatmapQueryOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
213
195
|
timeSeriesView: S.optional(HeatmapQueryOptionsTimeSeriesView),
|
|
214
|
-
})).annotate({
|
|
215
|
-
identifier: "HeatmapQueryOptions",
|
|
216
|
-
});
|
|
196
|
+
})).annotate({ identifier: "HeatmapQueryOptions" });
|
|
217
197
|
export const HeatmapNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
218
198
|
apl: S.String,
|
|
219
199
|
queryOptions: S.optional(HeatmapQueryOptions),
|
|
@@ -223,9 +203,7 @@ export const HeatmapNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct(
|
|
|
223
203
|
export const HeatmapNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
224
204
|
mpl: S.String,
|
|
225
205
|
queryOptions: S.optional(HeatmapQueryOptions),
|
|
226
|
-
})).annotate({
|
|
227
|
-
identifier: "HeatmapNativeMplQuery",
|
|
228
|
-
});
|
|
206
|
+
})).annotate({ identifier: "HeatmapNativeMplQuery" });
|
|
229
207
|
export const HeatmapChartQuery = S.Unknown;
|
|
230
208
|
export const HeatmapChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
231
209
|
id: S.String,
|
|
@@ -236,21 +214,15 @@ export const HeatmapChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
236
214
|
export const LogStreamChartType = S.String;
|
|
237
215
|
export const SimpleNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
238
216
|
apl: S.String,
|
|
239
|
-
})).annotate({
|
|
240
|
-
identifier: "SimpleNonMetricsAplQuery",
|
|
241
|
-
});
|
|
217
|
+
})).annotate({ identifier: "SimpleNonMetricsAplQuery" });
|
|
242
218
|
export const SimpleNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
219
|
mpl: S.String,
|
|
244
|
-
})).annotate({
|
|
245
|
-
identifier: "SimpleNativeMplQuery",
|
|
246
|
-
});
|
|
220
|
+
})).annotate({ identifier: "SimpleNativeMplQuery" });
|
|
247
221
|
export const SimpleChartQuery = S.Unknown;
|
|
248
222
|
export const AdvancedColumnSetting = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
249
223
|
name: S.String,
|
|
250
224
|
width: S.optional(S.Number),
|
|
251
|
-
})).annotate({
|
|
252
|
-
identifier: "AdvancedColumnSetting",
|
|
253
|
-
});
|
|
225
|
+
})).annotate({ identifier: "AdvancedColumnSetting" });
|
|
254
226
|
export const ColumnSetting = S.Unknown;
|
|
255
227
|
export const TableSettingsColumnsList = /*@__PURE__*/ S.Array(ColumnSetting);
|
|
256
228
|
export const DatasetStreamSettings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -262,9 +234,7 @@ export const DatasetStreamSettings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
262
234
|
wrapLines: S.optional(S.Boolean),
|
|
263
235
|
hideNulls: S.optional(S.Boolean),
|
|
264
236
|
fitColumns: S.optional(S.Boolean),
|
|
265
|
-
})).annotate({
|
|
266
|
-
identifier: "DatasetStreamSettings",
|
|
267
|
-
});
|
|
237
|
+
})).annotate({ identifier: "DatasetStreamSettings" });
|
|
268
238
|
export const TableSettings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
269
239
|
columns: S.optional(TableSettingsColumnsList),
|
|
270
240
|
settings: S.optional(DatasetStreamSettings),
|
|
@@ -316,9 +286,7 @@ export const StatisticChartColorProps = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
316
286
|
chartFillColor: S.optional(S.String),
|
|
317
287
|
labelColor: S.optional(S.String),
|
|
318
288
|
textColor: S.optional(S.String),
|
|
319
|
-
})).annotate({
|
|
320
|
-
identifier: "StatisticChartColorProps",
|
|
321
|
-
});
|
|
289
|
+
})).annotate({ identifier: "StatisticChartColorProps" });
|
|
322
290
|
export const StatisticChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
323
291
|
id: S.String,
|
|
324
292
|
type: StatisticChartType,
|
|
@@ -358,18 +326,14 @@ export const MonitorListColumns = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
358
326
|
dataset: S.Boolean,
|
|
359
327
|
type: S.Boolean,
|
|
360
328
|
notifiers: S.Boolean,
|
|
361
|
-
})).annotate({
|
|
362
|
-
identifier: "MonitorListColumns",
|
|
363
|
-
});
|
|
329
|
+
})).annotate({ identifier: "MonitorListColumns" });
|
|
364
330
|
export const MonitorListChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
365
331
|
id: S.String,
|
|
366
332
|
type: MonitorListChartType,
|
|
367
333
|
name: S.optional(S.String),
|
|
368
334
|
selectedMonitors: MonitorListChartSelectedMonitorsList,
|
|
369
335
|
columns: MonitorListColumns,
|
|
370
|
-
})).annotate({
|
|
371
|
-
identifier: "MonitorListChart",
|
|
372
|
-
});
|
|
336
|
+
})).annotate({ identifier: "MonitorListChart" });
|
|
373
337
|
export const SmartFilterChartType = S.String;
|
|
374
338
|
export const SmartFilterSearchType = S.String;
|
|
375
339
|
export const SmartFilterSearch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -377,17 +341,13 @@ export const SmartFilterSearch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
377
341
|
name: S.String,
|
|
378
342
|
active: S.optional(S.Boolean),
|
|
379
343
|
type: SmartFilterSearchType,
|
|
380
|
-
})).annotate({
|
|
381
|
-
identifier: "SmartFilterSearch",
|
|
382
|
-
});
|
|
344
|
+
})).annotate({ identifier: "SmartFilterSearch" });
|
|
383
345
|
export const SmartFilterOption = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
384
346
|
key: S.String,
|
|
385
347
|
value: S.String,
|
|
386
348
|
default: S.optional(S.Boolean),
|
|
387
349
|
unset: S.optional(S.Boolean),
|
|
388
|
-
})).annotate({
|
|
389
|
-
identifier: "SmartFilterOption",
|
|
390
|
-
});
|
|
350
|
+
})).annotate({ identifier: "SmartFilterOption" });
|
|
391
351
|
export const SmartFilterOptionsCase0List = /*@__PURE__*/ S.Array(SmartFilterOption);
|
|
392
352
|
export const SmartFilterOptionsCase1 = S.String;
|
|
393
353
|
export const SmartFilterOptions = S.Unknown;
|
|
@@ -400,9 +360,7 @@ export const SmartFilterSelectList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
400
360
|
options: S.optional(S.NullOr(SmartFilterOptions)),
|
|
401
361
|
type: SmartFilterSelectListType,
|
|
402
362
|
selectType: SmartFilterSelectListSelectType,
|
|
403
|
-
})).annotate({
|
|
404
|
-
identifier: "SmartFilterSelectList",
|
|
405
|
-
});
|
|
363
|
+
})).annotate({ identifier: "SmartFilterSelectList" });
|
|
406
364
|
export const SmartFilterSelectQueryOptionsCase0List = /*@__PURE__*/ S.Array(SmartFilterOption);
|
|
407
365
|
export const SmartFilterSelectQueryOptionsCase1 = S.String;
|
|
408
366
|
export const SmartFilterSelectQueryOptions = S.Unknown;
|
|
@@ -410,9 +368,7 @@ export const SmartFilterSelectQueryType = S.String;
|
|
|
410
368
|
export const SmartFilterSelectQuerySelectType = S.String;
|
|
411
369
|
export const SmartFilterAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
412
370
|
apl: S.String,
|
|
413
|
-
})).annotate({
|
|
414
|
-
identifier: "SmartFilterAplQuery",
|
|
415
|
-
});
|
|
371
|
+
})).annotate({ identifier: "SmartFilterAplQuery" });
|
|
416
372
|
export const SmartFilterNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
417
373
|
mpl: S.String,
|
|
418
374
|
})).annotate({
|
|
@@ -427,9 +383,7 @@ export const SmartFilterSelectQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
427
383
|
type: SmartFilterSelectQueryType,
|
|
428
384
|
selectType: SmartFilterSelectQuerySelectType,
|
|
429
385
|
query: S.optional(SmartFilterQuery),
|
|
430
|
-
})).annotate({
|
|
431
|
-
identifier: "SmartFilterSelectQuery",
|
|
432
|
-
});
|
|
386
|
+
})).annotate({ identifier: "SmartFilterSelectQuery" });
|
|
433
387
|
export const SmartFilterSelect = S.Unknown;
|
|
434
388
|
export const SmartFilterConfig = S.Unknown;
|
|
435
389
|
export const SmartFilterChartFiltersList = /*@__PURE__*/ S.Array(SmartFilterConfig);
|
|
@@ -440,9 +394,7 @@ export const SmartFilterChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
440
394
|
filters: SmartFilterChartFiltersList,
|
|
441
395
|
logo: S.optional(S.String),
|
|
442
396
|
logoDark: S.optional(S.String),
|
|
443
|
-
})).annotate({
|
|
444
|
-
identifier: "SmartFilterChart",
|
|
445
|
-
});
|
|
397
|
+
})).annotate({ identifier: "SmartFilterChart" });
|
|
446
398
|
export const SpacerChartType = S.String;
|
|
447
399
|
export const SpacerChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
448
400
|
id: S.String,
|
|
@@ -488,9 +440,7 @@ export const CreateDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
488
440
|
overwrite: S.optional(S.Boolean),
|
|
489
441
|
uid: S.optional(S.String),
|
|
490
442
|
version: S.optional(CreateDashboardRequestVersion),
|
|
491
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/dashboards", code: 200 }))).annotate({
|
|
492
|
-
identifier: "CreateDashboardRequest",
|
|
493
|
-
});
|
|
443
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/dashboards", code: 200 }))).annotate({ identifier: "CreateDashboardRequest" });
|
|
494
444
|
export const DashboardResourceVersion = S.Unknown;
|
|
495
445
|
export const DashboardResource = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
496
446
|
createdAt: S.String,
|
|
@@ -501,17 +451,13 @@ export const DashboardResource = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
501
451
|
updatedAt: S.String,
|
|
502
452
|
updatedBy: S.String,
|
|
503
453
|
version: DashboardResourceVersion,
|
|
504
|
-
})).annotate({
|
|
505
|
-
identifier: "DashboardResource",
|
|
506
|
-
});
|
|
454
|
+
})).annotate({ identifier: "DashboardResource" });
|
|
507
455
|
export const DashboardWriteResponseStatus = S.String;
|
|
508
456
|
export const DashboardWriteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
509
457
|
dashboard: DashboardResource,
|
|
510
458
|
overwritten: S.optional(S.Boolean),
|
|
511
459
|
status: DashboardWriteResponseStatus,
|
|
512
|
-
})).annotate({
|
|
513
|
-
identifier: "DashboardWriteResponse",
|
|
514
|
-
});
|
|
460
|
+
})).annotate({ identifier: "DashboardWriteResponse" });
|
|
515
461
|
export const CreateDatasetRequestKind = S.String;
|
|
516
462
|
export const CreateDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
517
463
|
referrer: S.optional(S.String.pipe(T.Query())),
|
|
@@ -521,9 +467,7 @@ export const CreateDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
521
467
|
name: S.String,
|
|
522
468
|
retentionDays: S.optional(S.Number),
|
|
523
469
|
useRetentionPeriod: S.optional(S.Boolean),
|
|
524
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets", code: 200 }))).annotate({
|
|
525
|
-
identifier: "CreateDatasetRequest",
|
|
526
|
-
});
|
|
470
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets", code: 200 }))).annotate({ identifier: "CreateDatasetRequest" });
|
|
527
471
|
export const DatasetKind = S.String;
|
|
528
472
|
export const DatasetMapFieldsList = /*@__PURE__*/ S.Array(S.String);
|
|
529
473
|
export const Dataset = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -549,9 +493,7 @@ export const CreateGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
549
493
|
members: S.optional(CreateGroupRequestMembersList),
|
|
550
494
|
name: S.String,
|
|
551
495
|
roles: S.optional(CreateGroupRequestRolesList),
|
|
552
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/rbac/groups", code: 200 }))).annotate({
|
|
553
|
-
identifier: "CreateGroupRequest",
|
|
554
|
-
});
|
|
496
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/rbac/groups", code: 200 }))).annotate({ identifier: "CreateGroupRequest" });
|
|
555
497
|
export const CreateGroupResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
556
498
|
export const CreateGroupResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
557
499
|
export const CreateGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -561,19 +503,11 @@ export const CreateGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
561
503
|
name: S.String,
|
|
562
504
|
roles: S.optional(CreateGroupResponseRolesList),
|
|
563
505
|
id: S.String,
|
|
564
|
-
})).annotate({
|
|
565
|
-
identifier: "CreateGroupResponse",
|
|
566
|
-
});
|
|
506
|
+
})).annotate({ identifier: "CreateGroupResponse" });
|
|
567
507
|
export const CreateMapFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
568
508
|
dataset_id: S.String.pipe(T.Label()),
|
|
569
509
|
name: S.String,
|
|
570
|
-
}).pipe(T.Http({
|
|
571
|
-
method: "POST",
|
|
572
|
-
uri: "/v2/datasets/{dataset_id}/mapfields",
|
|
573
|
-
code: 200,
|
|
574
|
-
}))).annotate({
|
|
575
|
-
identifier: "CreateMapFieldRequest",
|
|
576
|
-
});
|
|
510
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/mapfields", code: 200 }))).annotate({ identifier: "CreateMapFieldRequest" });
|
|
577
511
|
export const MapField = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
578
512
|
name: S.String,
|
|
579
513
|
})).annotate({ identifier: "MapField" });
|
|
@@ -607,9 +541,7 @@ export const CreateMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
607
541
|
triggerFromNRuns: S.optional(S.Number),
|
|
608
542
|
type: CreateMonitorRequestType,
|
|
609
543
|
updatedAt: S.optional(S.String),
|
|
610
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/monitors", code: 200 }))).annotate({
|
|
611
|
-
identifier: "CreateMonitorRequest",
|
|
612
|
-
});
|
|
544
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/monitors", code: 200 }))).annotate({ identifier: "CreateMonitorRequest" });
|
|
613
545
|
export const CreateMonitorResponseNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
614
546
|
export const CreateMonitorResponseOperator = S.String;
|
|
615
547
|
export const CreateMonitorResponseType = S.String;
|
|
@@ -641,9 +573,7 @@ export const CreateMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
641
573
|
type: CreateMonitorResponseType,
|
|
642
574
|
updatedAt: S.optional(S.String),
|
|
643
575
|
id: S.String,
|
|
644
|
-
})).annotate({
|
|
645
|
-
identifier: "CreateMonitorResponse",
|
|
646
|
-
});
|
|
576
|
+
})).annotate({ identifier: "CreateMonitorResponse" });
|
|
647
577
|
export const CustomNotifierConfigHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
648
578
|
export const CustomNotifierConfigSecretHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
649
579
|
export const CustomNotifierConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -651,27 +581,21 @@ export const CustomNotifierConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
651
581
|
headers: S.optional(CustomNotifierConfigHeadersMap),
|
|
652
582
|
secretHeaders: S.optional(CustomNotifierConfigSecretHeadersMap),
|
|
653
583
|
url: S.String,
|
|
654
|
-
})).annotate({
|
|
655
|
-
identifier: "CustomNotifierConfig",
|
|
656
|
-
});
|
|
584
|
+
})).annotate({ identifier: "CustomNotifierConfig" });
|
|
657
585
|
export const DiscordConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
658
586
|
discordChannel: S.optional(S.String),
|
|
659
587
|
discordToken: S.optional(S.String),
|
|
660
588
|
})).annotate({ identifier: "DiscordConfig" });
|
|
661
589
|
export const DiscordWebhookConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
662
590
|
discordWebhookUrl: S.optional(S.String),
|
|
663
|
-
})).annotate({
|
|
664
|
-
identifier: "DiscordWebhookConfig",
|
|
665
|
-
});
|
|
591
|
+
})).annotate({ identifier: "DiscordWebhookConfig" });
|
|
666
592
|
export const EmailConfigEmailsList = /*@__PURE__*/ S.Array(S.String);
|
|
667
593
|
export const EmailConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
668
594
|
emails: S.optional(EmailConfigEmailsList),
|
|
669
595
|
})).annotate({ identifier: "EmailConfig" });
|
|
670
596
|
export const MicrosoftTeamsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
671
597
|
microsoftTeamsUrl: S.optional(S.String),
|
|
672
|
-
})).annotate({
|
|
673
|
-
identifier: "MicrosoftTeamsConfig",
|
|
674
|
-
});
|
|
598
|
+
})).annotate({ identifier: "MicrosoftTeamsConfig" });
|
|
675
599
|
export const OpsGenieConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
676
600
|
apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
677
601
|
isEU: S.optional(S.Boolean),
|
|
@@ -679,9 +603,7 @@ export const OpsGenieConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
679
603
|
export const PagerDutyConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
680
604
|
routingKey: S.optional(S.String),
|
|
681
605
|
token: S.optional(S.String),
|
|
682
|
-
})).annotate({
|
|
683
|
-
identifier: "PagerDutyConfig",
|
|
684
|
-
});
|
|
606
|
+
})).annotate({ identifier: "PagerDutyConfig" });
|
|
685
607
|
export const SlackConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
686
608
|
slackUrl: S.optional(S.String),
|
|
687
609
|
})).annotate({ identifier: "SlackConfig" });
|
|
@@ -698,16 +620,12 @@ export const NotifierProperties = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
698
620
|
pagerduty: S.optional(PagerDutyConfig),
|
|
699
621
|
slack: S.optional(SlackConfig),
|
|
700
622
|
webhook: S.optional(WebhookConfig),
|
|
701
|
-
})).annotate({
|
|
702
|
-
identifier: "NotifierProperties",
|
|
703
|
-
});
|
|
623
|
+
})).annotate({ identifier: "NotifierProperties" });
|
|
704
624
|
export const CreateNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
705
625
|
disabledUntil: S.optional(S.String),
|
|
706
626
|
name: S.String,
|
|
707
627
|
properties: NotifierProperties,
|
|
708
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/notifiers", code: 200 }))).annotate({
|
|
709
|
-
identifier: "CreateNotifierRequest",
|
|
710
|
-
});
|
|
628
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/notifiers", code: 200 }))).annotate({ identifier: "CreateNotifierRequest" });
|
|
711
629
|
export const CreateNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
712
630
|
createdAt: S.optional(S.String),
|
|
713
631
|
createdBy: S.optional(S.String),
|
|
@@ -716,15 +634,11 @@ export const CreateNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
716
634
|
properties: NotifierProperties,
|
|
717
635
|
updatedAt: S.optional(S.String),
|
|
718
636
|
id: S.optional(S.String),
|
|
719
|
-
})).annotate({
|
|
720
|
-
identifier: "CreateNotifierResponse",
|
|
721
|
-
});
|
|
637
|
+
})).annotate({ identifier: "CreateNotifierResponse" });
|
|
722
638
|
export const CreateOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
723
639
|
edgeDeployment: S.optional(S.String),
|
|
724
640
|
name: S.String,
|
|
725
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/orgs", code: 200 }))).annotate({
|
|
726
|
-
identifier: "CreateOrgRequest",
|
|
727
|
-
});
|
|
641
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/orgs", code: 200 }))).annotate({ identifier: "CreateOrgRequest" });
|
|
728
642
|
export const LicenseEdgeDeploymentsList = /*@__PURE__*/ S.Array(S.String);
|
|
729
643
|
export const LicenseFeaturesMap = /*@__PURE__*/ S.Record(S.String, S.Boolean);
|
|
730
644
|
export const LicenseTier = S.String;
|
|
@@ -782,15 +696,13 @@ export const RoleDatasetCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(RoleD
|
|
|
782
696
|
export const RoleDatasetCapabilitiesValueShareItem = S.String;
|
|
783
697
|
export const RoleDatasetCapabilitiesValueShareList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueShareItem);
|
|
784
698
|
export const RoleDatasetCapabilitiesValueStarredQueriesItem = S.String;
|
|
785
|
-
export const RoleDatasetCapabilitiesValueStarredQueriesList =
|
|
786
|
-
/*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueStarredQueriesItem);
|
|
699
|
+
export const RoleDatasetCapabilitiesValueStarredQueriesList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueStarredQueriesItem);
|
|
787
700
|
export const RoleDatasetCapabilitiesValueTrimItem = S.String;
|
|
788
701
|
export const RoleDatasetCapabilitiesValueTrimList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueTrimItem);
|
|
789
702
|
export const RoleDatasetCapabilitiesValueVacuumItem = S.String;
|
|
790
703
|
export const RoleDatasetCapabilitiesValueVacuumList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueVacuumItem);
|
|
791
704
|
export const RoleDatasetCapabilitiesValueVirtualFieldsItem = S.String;
|
|
792
|
-
export const RoleDatasetCapabilitiesValueVirtualFieldsList =
|
|
793
|
-
/*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueVirtualFieldsItem);
|
|
705
|
+
export const RoleDatasetCapabilitiesValueVirtualFieldsList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueVirtualFieldsItem);
|
|
794
706
|
export const RoleDatasetCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
795
707
|
data: S.optional(RoleDatasetCapabilitiesValueDataList),
|
|
796
708
|
ingest: S.optional(RoleDatasetCapabilitiesValueIngestList),
|
|
@@ -851,9 +763,7 @@ export const RoleOrgCapabilities = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
851
763
|
sharedAccessKeys: S.optional(RoleOrgCapabilitiesSharedAccessKeysList),
|
|
852
764
|
users: S.optional(RoleOrgCapabilitiesUsersList),
|
|
853
765
|
views: S.optional(RoleOrgCapabilitiesViewsList),
|
|
854
|
-
})).annotate({
|
|
855
|
-
identifier: "RoleOrgCapabilities",
|
|
856
|
-
});
|
|
766
|
+
})).annotate({ identifier: "RoleOrgCapabilities" });
|
|
857
767
|
export const RoleViewCapabilitiesValueQueryItem = S.String;
|
|
858
768
|
export const RoleViewCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(RoleViewCapabilitiesValueQueryItem);
|
|
859
769
|
export const RoleViewCapabilitiesValueShareItem = S.String;
|
|
@@ -872,9 +782,7 @@ export const CreateRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
872
782
|
name: S.String,
|
|
873
783
|
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
874
784
|
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
875
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/rbac/roles", code: 200 }))).annotate({
|
|
876
|
-
identifier: "CreateRoleRequest",
|
|
877
|
-
});
|
|
785
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/rbac/roles", code: 200 }))).annotate({ identifier: "CreateRoleRequest" });
|
|
878
786
|
export const CreateRoleResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
879
787
|
export const CreateRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
880
788
|
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
@@ -884,9 +792,7 @@ export const CreateRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
884
792
|
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
885
793
|
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
886
794
|
id: S.String,
|
|
887
|
-
})).annotate({
|
|
888
|
-
identifier: "CreateRoleResponse",
|
|
889
|
-
});
|
|
795
|
+
})).annotate({ identifier: "CreateRoleResponse" });
|
|
890
796
|
export const CreateStarredRequestKind = S.String;
|
|
891
797
|
export const CreateStarredRequestMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
892
798
|
export const APLRequestWithOptionsDefaultOrder = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -930,9 +836,7 @@ export const APLRequestWithOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
930
836
|
queryOptions: S.optional(QueryOptions),
|
|
931
837
|
startTime: S.optional(S.String),
|
|
932
838
|
variables: S.optional(S.Unknown),
|
|
933
|
-
})).annotate({
|
|
934
|
-
identifier: "APLRequestWithOptions",
|
|
935
|
-
});
|
|
839
|
+
})).annotate({ identifier: "APLRequestWithOptions" });
|
|
936
840
|
export const CreateStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
937
841
|
dataset: S.optional(S.String),
|
|
938
842
|
kind: CreateStarredRequestKind,
|
|
@@ -940,9 +844,7 @@ export const CreateStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
940
844
|
name: S.String,
|
|
941
845
|
query: APLRequestWithOptions,
|
|
942
846
|
who: S.String,
|
|
943
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/apl-starred-queries", code: 200 }))).annotate({
|
|
944
|
-
identifier: "CreateStarredRequest",
|
|
945
|
-
});
|
|
847
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/apl-starred-queries", code: 200 }))).annotate({ identifier: "CreateStarredRequest" });
|
|
946
848
|
export const CreateStarredResponseKind = S.String;
|
|
947
849
|
export const CreateStarredResponseMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
948
850
|
export const CreateStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -953,22 +855,16 @@ export const CreateStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
953
855
|
query: APLRequestWithOptions,
|
|
954
856
|
who: S.String,
|
|
955
857
|
id: S.String,
|
|
956
|
-
})).annotate({
|
|
957
|
-
identifier: "CreateStarredResponse",
|
|
958
|
-
});
|
|
858
|
+
})).annotate({ identifier: "CreateStarredResponse" });
|
|
959
859
|
export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
960
860
|
email: S.String,
|
|
961
861
|
name: S.String,
|
|
962
862
|
role: S.String,
|
|
963
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/users", code: 200 }))).annotate({
|
|
964
|
-
identifier: "CreateUserRequest",
|
|
965
|
-
});
|
|
863
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/users", code: 200 }))).annotate({ identifier: "CreateUserRequest" });
|
|
966
864
|
export const UserDetailsRole = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
967
865
|
id: S.String,
|
|
968
866
|
name: S.String,
|
|
969
|
-
})).annotate({
|
|
970
|
-
identifier: "UserDetailsRole",
|
|
971
|
-
});
|
|
867
|
+
})).annotate({ identifier: "UserDetailsRole" });
|
|
972
868
|
export const User = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
973
869
|
email: S.String,
|
|
974
870
|
id: S.String,
|
|
@@ -983,9 +879,7 @@ export const CreateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
983
879
|
name: S.String,
|
|
984
880
|
sharedByOrg: S.optional(S.String),
|
|
985
881
|
sharedByOrgName: S.optional(S.String),
|
|
986
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/views", code: 200 }))).annotate({
|
|
987
|
-
identifier: "CreateViewRequest",
|
|
988
|
-
});
|
|
882
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/views", code: 200 }))).annotate({ identifier: "CreateViewRequest" });
|
|
989
883
|
export const ViewDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
990
884
|
export const View = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
991
885
|
aplQuery: S.String,
|
|
@@ -1018,41 +912,50 @@ export const CreateVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1018
912
|
});
|
|
1019
913
|
export const DeleteAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1020
914
|
id: S.String.pipe(T.Label()),
|
|
1021
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/annotations/{id}", code: 200 }))).annotate({
|
|
1022
|
-
identifier: "DeleteAnnotationRequest",
|
|
1023
|
-
});
|
|
915
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/annotations/{id}", code: 200 }))).annotate({ identifier: "DeleteAnnotationRequest" });
|
|
1024
916
|
export const DeleteAnnotationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1025
917
|
identifier: "DeleteAnnotationResponse",
|
|
1026
918
|
});
|
|
1027
919
|
export const DeleteAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1028
920
|
id: S.String.pipe(T.Label()),
|
|
1029
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/tokens/{id}", code: 200 }))).annotate({
|
|
1030
|
-
identifier: "DeleteAPITokenRequest",
|
|
1031
|
-
});
|
|
921
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/tokens/{id}", code: 200 }))).annotate({ identifier: "DeleteAPITokenRequest" });
|
|
1032
922
|
export const DeleteAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1033
923
|
identifier: "DeleteAPITokenResponse",
|
|
1034
924
|
});
|
|
1035
925
|
export const DeleteDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1036
926
|
uid: S.String.pipe(T.Label()),
|
|
1037
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({
|
|
1038
|
-
identifier: "DeleteDashboardRequest",
|
|
1039
|
-
});
|
|
927
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({ identifier: "DeleteDashboardRequest" });
|
|
1040
928
|
export const DeleteDashboardResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1041
929
|
identifier: "DeleteDashboardResponse",
|
|
1042
930
|
});
|
|
1043
931
|
export const DeleteDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1044
932
|
dataset_id: S.String.pipe(T.Label()),
|
|
1045
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({
|
|
1046
|
-
identifier: "DeleteDatasetRequest",
|
|
1047
|
-
});
|
|
933
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({ identifier: "DeleteDatasetRequest" });
|
|
1048
934
|
export const DeleteDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1049
935
|
identifier: "DeleteDatasetResponse",
|
|
1050
936
|
});
|
|
937
|
+
export const DeleteDatasetFieldsRequestFieldsList = /*@__PURE__*/ S.Array(S.String);
|
|
938
|
+
export const DeleteDatasetFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
939
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
940
|
+
fields: DeleteDatasetFieldsRequestFieldsList,
|
|
941
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/delete-fields", code: 200 }))).annotate({
|
|
942
|
+
identifier: "DeleteDatasetFieldsRequest",
|
|
943
|
+
});
|
|
944
|
+
export const DeleteDatasetFieldsResultFieldsList = /*@__PURE__*/ S.Array(S.String);
|
|
945
|
+
export const DeleteDatasetFieldsResult = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
946
|
+
fields: S.optional(DeleteDatasetFieldsResultFieldsList),
|
|
947
|
+
})).annotate({
|
|
948
|
+
identifier: "DeleteDatasetFieldsResult",
|
|
949
|
+
});
|
|
950
|
+
export const DeleteFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
951
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
952
|
+
field_id: S.String.pipe(T.Label()),
|
|
953
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/datasets/{dataset_id}/fields/{field_id}", code: 200 }))).annotate({
|
|
954
|
+
identifier: "DeleteFieldForDatasetRequest",
|
|
955
|
+
});
|
|
1051
956
|
export const DeleteGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1052
957
|
id: S.String.pipe(T.Label()),
|
|
1053
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({
|
|
1054
|
-
identifier: "DeleteGroupRequest",
|
|
1055
|
-
});
|
|
958
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({ identifier: "DeleteGroupRequest" });
|
|
1056
959
|
export const DeleteGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1057
960
|
identifier: "DeleteGroupResponse",
|
|
1058
961
|
});
|
|
@@ -1063,53 +966,37 @@ export const DeleteMapFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1063
966
|
method: "DELETE",
|
|
1064
967
|
uri: "/v2/datasets/{dataset_id}/mapfields/{map_field_name}",
|
|
1065
968
|
code: 200,
|
|
1066
|
-
}))).annotate({
|
|
1067
|
-
identifier: "DeleteMapFieldRequest",
|
|
1068
|
-
});
|
|
969
|
+
}))).annotate({ identifier: "DeleteMapFieldRequest" });
|
|
1069
970
|
export const DeleteMapFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1070
971
|
identifier: "DeleteMapFieldResponse",
|
|
1071
972
|
});
|
|
1072
973
|
export const DeleteMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1073
974
|
id: S.String.pipe(T.Label()),
|
|
1074
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/monitors/{id}", code: 200 }))).annotate({
|
|
1075
|
-
identifier: "DeleteMonitorRequest",
|
|
1076
|
-
});
|
|
975
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/monitors/{id}", code: 200 }))).annotate({ identifier: "DeleteMonitorRequest" });
|
|
1077
976
|
export const DeleteMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1078
977
|
identifier: "DeleteMonitorResponse",
|
|
1079
978
|
});
|
|
1080
979
|
export const DeleteNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1081
980
|
id: S.String.pipe(T.Label()),
|
|
1082
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({
|
|
1083
|
-
identifier: "DeleteNotifierRequest",
|
|
1084
|
-
});
|
|
981
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({ identifier: "DeleteNotifierRequest" });
|
|
1085
982
|
export const DeleteNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1086
983
|
identifier: "DeleteNotifierResponse",
|
|
1087
984
|
});
|
|
1088
985
|
export const DeleteRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1089
986
|
id: S.String.pipe(T.Label()),
|
|
1090
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({
|
|
1091
|
-
identifier: "DeleteRoleRequest",
|
|
1092
|
-
});
|
|
987
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({ identifier: "DeleteRoleRequest" });
|
|
1093
988
|
export const DeleteRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1094
989
|
identifier: "DeleteRoleResponse",
|
|
1095
990
|
});
|
|
1096
991
|
export const DeleteStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1097
992
|
id: S.String.pipe(T.Label()),
|
|
1098
|
-
}).pipe(T.Http({
|
|
1099
|
-
method: "DELETE",
|
|
1100
|
-
uri: "/v2/apl-starred-queries/{id}",
|
|
1101
|
-
code: 200,
|
|
1102
|
-
}))).annotate({
|
|
1103
|
-
identifier: "DeleteStarredRequest",
|
|
1104
|
-
});
|
|
993
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/apl-starred-queries/{id}", code: 200 }))).annotate({ identifier: "DeleteStarredRequest" });
|
|
1105
994
|
export const DeleteStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1106
995
|
identifier: "DeleteStarredResponse",
|
|
1107
996
|
});
|
|
1108
997
|
export const DeleteViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1109
998
|
id: S.String.pipe(T.Label()),
|
|
1110
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/views/{id}", code: 200 }))).annotate({
|
|
1111
|
-
identifier: "DeleteViewRequest",
|
|
1112
|
-
});
|
|
999
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/views/{id}", code: 200 }))).annotate({ identifier: "DeleteViewRequest" });
|
|
1113
1000
|
export const DeleteViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1114
1001
|
identifier: "DeleteViewResponse",
|
|
1115
1002
|
});
|
|
@@ -1123,26 +1010,18 @@ export const DeleteVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1123
1010
|
});
|
|
1124
1011
|
export const GetAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1125
1012
|
id: S.String.pipe(T.Label()),
|
|
1126
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/annotations/{id}", code: 200 }))).annotate({
|
|
1127
|
-
identifier: "GetAnnotationRequest",
|
|
1128
|
-
});
|
|
1013
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/annotations/{id}", code: 200 }))).annotate({ identifier: "GetAnnotationRequest" });
|
|
1129
1014
|
export const GetAnnotationsRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1130
1015
|
export const GetAnnotationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1131
1016
|
datasets: S.optional(GetAnnotationsRequestDatasetsList.pipe(T.Query())),
|
|
1132
1017
|
start: S.optional(S.String.pipe(T.Query())),
|
|
1133
1018
|
end: S.optional(S.String.pipe(T.Query())),
|
|
1134
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/annotations", code: 200 }))).annotate({
|
|
1135
|
-
identifier: "GetAnnotationsRequest",
|
|
1136
|
-
});
|
|
1019
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/annotations", code: 200 }))).annotate({ identifier: "GetAnnotationsRequest" });
|
|
1137
1020
|
export const GetAnnotationsResponseBodyList = /*@__PURE__*/ S.Array(Annotation);
|
|
1138
|
-
export const GetAnnotationsResponse = /*@__PURE__*/ S.suspend(() => GetAnnotationsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1139
|
-
identifier: "GetAnnotationsResponse",
|
|
1140
|
-
});
|
|
1021
|
+
export const GetAnnotationsResponse = /*@__PURE__*/ S.suspend(() => GetAnnotationsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetAnnotationsResponse" });
|
|
1141
1022
|
export const GetAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1142
1023
|
id: S.String.pipe(T.Label()),
|
|
1143
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/tokens/{id}", code: 200 }))).annotate({
|
|
1144
|
-
identifier: "GetAPITokenRequest",
|
|
1145
|
-
});
|
|
1024
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/tokens/{id}", code: 200 }))).annotate({ identifier: "GetAPITokenRequest" });
|
|
1146
1025
|
export const APIToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1147
1026
|
datasetCapabilities: DatasetCapabilities,
|
|
1148
1027
|
description: S.optional(S.String),
|
|
@@ -1153,41 +1032,23 @@ export const APIToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1153
1032
|
samlAuthenticated: S.optional(S.Boolean),
|
|
1154
1033
|
viewCapabilities: S.optional(ViewCapabilities),
|
|
1155
1034
|
})).annotate({ identifier: "APIToken" });
|
|
1156
|
-
export const GetAPITokensRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/tokens", code: 200 }))).annotate({
|
|
1157
|
-
identifier: "GetAPITokensRequest",
|
|
1158
|
-
});
|
|
1035
|
+
export const GetAPITokensRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/tokens", code: 200 }))).annotate({ identifier: "GetAPITokensRequest" });
|
|
1159
1036
|
export const GetAPITokensResponseBodyList = /*@__PURE__*/ S.Array(APIToken);
|
|
1160
|
-
export const GetAPITokensResponse = /*@__PURE__*/ S.suspend(() => GetAPITokensResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1161
|
-
|
|
1162
|
-
});
|
|
1163
|
-
export const GetCurrentUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/user", code: 200 }))).annotate({
|
|
1164
|
-
identifier: "GetCurrentUserRequest",
|
|
1165
|
-
});
|
|
1037
|
+
export const GetAPITokensResponse = /*@__PURE__*/ S.suspend(() => GetAPITokensResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetAPITokensResponse" });
|
|
1038
|
+
export const GetCurrentUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/user", code: 200 }))).annotate({ identifier: "GetCurrentUserRequest" });
|
|
1166
1039
|
export const GetDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1167
1040
|
uid: S.String.pipe(T.Label()),
|
|
1168
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({
|
|
1169
|
-
identifier: "GetDashboardRequest",
|
|
1170
|
-
});
|
|
1041
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({ identifier: "GetDashboardRequest" });
|
|
1171
1042
|
export const GetDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1172
1043
|
dataset_id: S.String.pipe(T.Label()),
|
|
1173
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({
|
|
1174
|
-
|
|
1175
|
-
});
|
|
1176
|
-
export const GetDatasetsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/datasets", code: 200 }))).annotate({
|
|
1177
|
-
identifier: "GetDatasetsRequest",
|
|
1178
|
-
});
|
|
1044
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({ identifier: "GetDatasetRequest" });
|
|
1045
|
+
export const GetDatasetsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/datasets", code: 200 }))).annotate({ identifier: "GetDatasetsRequest" });
|
|
1179
1046
|
export const GetDatasetsResponseBodyList = /*@__PURE__*/ S.Array(Dataset);
|
|
1180
|
-
export const GetDatasetsResponse = /*@__PURE__*/ S.suspend(() => GetDatasetsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1181
|
-
identifier: "GetDatasetsResponse",
|
|
1182
|
-
});
|
|
1047
|
+
export const GetDatasetsResponse = /*@__PURE__*/ S.suspend(() => GetDatasetsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetDatasetsResponse" });
|
|
1183
1048
|
export const GetFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1184
1049
|
dataset_id: S.String.pipe(T.Label()),
|
|
1185
1050
|
field_id: S.String.pipe(T.Label()),
|
|
1186
|
-
}).pipe(T.Http({
|
|
1187
|
-
method: "GET",
|
|
1188
|
-
uri: "/v2/datasets/{dataset_id}/fields/{field_id}",
|
|
1189
|
-
code: 200,
|
|
1190
|
-
}))).annotate({
|
|
1051
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}/fields/{field_id}", code: 200 }))).annotate({
|
|
1191
1052
|
identifier: "GetFieldForDatasetRequest",
|
|
1192
1053
|
});
|
|
1193
1054
|
export const DatasetField = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1199,11 +1060,7 @@ export const DatasetField = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1199
1060
|
})).annotate({ identifier: "DatasetField" });
|
|
1200
1061
|
export const GetFieldsForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1201
1062
|
dataset_id: S.String.pipe(T.Label()),
|
|
1202
|
-
}).pipe(T.Http({
|
|
1203
|
-
method: "GET",
|
|
1204
|
-
uri: "/v2/datasets/{dataset_id}/fields",
|
|
1205
|
-
code: 200,
|
|
1206
|
-
}))).annotate({
|
|
1063
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}/fields", code: 200 }))).annotate({
|
|
1207
1064
|
identifier: "GetFieldsForDatasetRequest",
|
|
1208
1065
|
});
|
|
1209
1066
|
export const GetFieldsForDatasetResponseBodyList = /*@__PURE__*/ S.Array(DatasetField);
|
|
@@ -1212,9 +1069,7 @@ export const GetFieldsForDatasetResponse = /*@__PURE__*/ S.suspend(() => GetFiel
|
|
|
1212
1069
|
});
|
|
1213
1070
|
export const GetGroupByIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1214
1071
|
id: S.String.pipe(T.Label()),
|
|
1215
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({
|
|
1216
|
-
identifier: "GetGroupByIdRequest",
|
|
1217
|
-
});
|
|
1072
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({ identifier: "GetGroupByIdRequest" });
|
|
1218
1073
|
export const GetGroupByIdResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1219
1074
|
export const GetGroupByIdResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1220
1075
|
export const GetGroupByIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1224,27 +1079,15 @@ export const GetGroupByIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1224
1079
|
name: S.String,
|
|
1225
1080
|
roles: S.optional(GetGroupByIdResponseRolesList),
|
|
1226
1081
|
id: S.String,
|
|
1227
|
-
})).annotate({
|
|
1228
|
-
identifier: "GetGroupByIdResponse",
|
|
1229
|
-
});
|
|
1082
|
+
})).annotate({ identifier: "GetGroupByIdResponse" });
|
|
1230
1083
|
export const GetMapFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1231
1084
|
dataset_id: S.String.pipe(T.Label()),
|
|
1232
|
-
}).pipe(T.Http({
|
|
1233
|
-
method: "GET",
|
|
1234
|
-
uri: "/v2/datasets/{dataset_id}/mapfields",
|
|
1235
|
-
code: 200,
|
|
1236
|
-
}))).annotate({
|
|
1237
|
-
identifier: "GetMapFieldsRequest",
|
|
1238
|
-
});
|
|
1085
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}/mapfields", code: 200 }))).annotate({ identifier: "GetMapFieldsRequest" });
|
|
1239
1086
|
export const MapFields = /*@__PURE__*/ S.Array(S.String);
|
|
1240
|
-
export const GetMapFieldsResponse = /*@__PURE__*/ S.suspend(() => MapFields.pipe(T.RawResponseRoot())).annotate({
|
|
1241
|
-
identifier: "GetMapFieldsResponse",
|
|
1242
|
-
});
|
|
1087
|
+
export const GetMapFieldsResponse = /*@__PURE__*/ S.suspend(() => MapFields.pipe(T.RawResponseRoot())).annotate({ identifier: "GetMapFieldsResponse" });
|
|
1243
1088
|
export const GetMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1244
1089
|
id: S.String.pipe(T.Label()),
|
|
1245
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}", code: 200 }))).annotate({
|
|
1246
|
-
identifier: "GetMonitorRequest",
|
|
1247
|
-
});
|
|
1090
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}", code: 200 }))).annotate({ identifier: "GetMonitorRequest" });
|
|
1248
1091
|
export const GetMonitorResponseNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1249
1092
|
export const GetMonitorResponseOperator = S.String;
|
|
1250
1093
|
export const GetMonitorResponseType = S.String;
|
|
@@ -1276,16 +1119,12 @@ export const GetMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1276
1119
|
type: GetMonitorResponseType,
|
|
1277
1120
|
updatedAt: S.optional(S.String),
|
|
1278
1121
|
id: S.String,
|
|
1279
|
-
})).annotate({
|
|
1280
|
-
identifier: "GetMonitorResponse",
|
|
1281
|
-
});
|
|
1122
|
+
})).annotate({ identifier: "GetMonitorResponse" });
|
|
1282
1123
|
export const GetMonitorHistoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1283
1124
|
id: S.String.pipe(T.Label()),
|
|
1284
1125
|
startTime: S.String.pipe(T.Query()),
|
|
1285
1126
|
endTime: S.String.pipe(T.Query()),
|
|
1286
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}/history", code: 200 }))).annotate({
|
|
1287
|
-
identifier: "GetMonitorHistoryRequest",
|
|
1288
|
-
});
|
|
1127
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}/history", code: 200 }))).annotate({ identifier: "GetMonitorHistoryRequest" });
|
|
1289
1128
|
export const AlertHistoryState = S.String;
|
|
1290
1129
|
export const AlertHistory = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1291
1130
|
checkId: S.String,
|
|
@@ -1297,9 +1136,7 @@ export const GetMonitorHistoryResponseBodyList = /*@__PURE__*/ S.Array(AlertHist
|
|
|
1297
1136
|
export const GetMonitorHistoryResponse = /*@__PURE__*/ S.suspend(() => GetMonitorHistoryResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1298
1137
|
identifier: "GetMonitorHistoryResponse",
|
|
1299
1138
|
});
|
|
1300
|
-
export const GetMonitorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/monitors", code: 200 }))).annotate({
|
|
1301
|
-
identifier: "GetMonitorsRequest",
|
|
1302
|
-
});
|
|
1139
|
+
export const GetMonitorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/monitors", code: 200 }))).annotate({ identifier: "GetMonitorsRequest" });
|
|
1303
1140
|
export const MonitorWithIdNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1304
1141
|
export const MonitorWithIdOperator = S.String;
|
|
1305
1142
|
export const MonitorWithIdType = S.String;
|
|
@@ -1333,14 +1170,10 @@ export const MonitorWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1333
1170
|
id: S.String,
|
|
1334
1171
|
})).annotate({ identifier: "MonitorWithId" });
|
|
1335
1172
|
export const GetMonitorsResponseBodyList = /*@__PURE__*/ S.Array(MonitorWithId);
|
|
1336
|
-
export const GetMonitorsResponse = /*@__PURE__*/ S.suspend(() => GetMonitorsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1337
|
-
identifier: "GetMonitorsResponse",
|
|
1338
|
-
});
|
|
1173
|
+
export const GetMonitorsResponse = /*@__PURE__*/ S.suspend(() => GetMonitorsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetMonitorsResponse" });
|
|
1339
1174
|
export const GetNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1340
1175
|
id: S.String.pipe(T.Label()),
|
|
1341
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({
|
|
1342
|
-
identifier: "GetNotifierRequest",
|
|
1343
|
-
});
|
|
1176
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({ identifier: "GetNotifierRequest" });
|
|
1344
1177
|
export const GetNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1345
1178
|
createdAt: S.optional(S.String),
|
|
1346
1179
|
createdBy: S.optional(S.String),
|
|
@@ -1349,12 +1182,8 @@ export const GetNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1349
1182
|
properties: NotifierProperties,
|
|
1350
1183
|
updatedAt: S.optional(S.String),
|
|
1351
1184
|
id: S.optional(S.String),
|
|
1352
|
-
})).annotate({
|
|
1353
|
-
|
|
1354
|
-
});
|
|
1355
|
-
export const GetNotifiersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/notifiers", code: 200 }))).annotate({
|
|
1356
|
-
identifier: "GetNotifiersRequest",
|
|
1357
|
-
});
|
|
1185
|
+
})).annotate({ identifier: "GetNotifierResponse" });
|
|
1186
|
+
export const GetNotifiersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/notifiers", code: 200 }))).annotate({ identifier: "GetNotifiersRequest" });
|
|
1358
1187
|
export const NotifierWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1359
1188
|
createdAt: S.optional(S.String),
|
|
1360
1189
|
createdBy: S.optional(S.String),
|
|
@@ -1365,22 +1194,16 @@ export const NotifierWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1365
1194
|
id: S.optional(S.String),
|
|
1366
1195
|
})).annotate({ identifier: "NotifierWithId" });
|
|
1367
1196
|
export const GetNotifiersResponseBodyList = /*@__PURE__*/ S.Array(NotifierWithId);
|
|
1368
|
-
export const GetNotifiersResponse = /*@__PURE__*/ S.suspend(() => GetNotifiersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1369
|
-
identifier: "GetNotifiersResponse",
|
|
1370
|
-
});
|
|
1197
|
+
export const GetNotifiersResponse = /*@__PURE__*/ S.suspend(() => GetNotifiersResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetNotifiersResponse" });
|
|
1371
1198
|
export const GetOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1372
1199
|
id: S.String.pipe(T.Label()),
|
|
1373
1200
|
}).pipe(T.Http({ method: "GET", uri: "/v2/orgs/{id}", code: 200 }))).annotate({ identifier: "GetOrgRequest" });
|
|
1374
1201
|
export const GetOrgsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/orgs", code: 200 }))).annotate({ identifier: "GetOrgsRequest" });
|
|
1375
1202
|
export const GetOrgsResponseBodyList = /*@__PURE__*/ S.Array(Org);
|
|
1376
|
-
export const GetOrgsResponse = /*@__PURE__*/ S.suspend(() => GetOrgsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1377
|
-
identifier: "GetOrgsResponse",
|
|
1378
|
-
});
|
|
1203
|
+
export const GetOrgsResponse = /*@__PURE__*/ S.suspend(() => GetOrgsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetOrgsResponse" });
|
|
1379
1204
|
export const GetRoleByIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1380
1205
|
id: S.String.pipe(T.Label()),
|
|
1381
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({
|
|
1382
|
-
identifier: "GetRoleByIdRequest",
|
|
1383
|
-
});
|
|
1206
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({ identifier: "GetRoleByIdRequest" });
|
|
1384
1207
|
export const GetRoleByIdResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1385
1208
|
export const GetRoleByIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1386
1209
|
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
@@ -1390,14 +1213,10 @@ export const GetRoleByIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1390
1213
|
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1391
1214
|
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1392
1215
|
id: S.String,
|
|
1393
|
-
})).annotate({
|
|
1394
|
-
identifier: "GetRoleByIdResponse",
|
|
1395
|
-
});
|
|
1216
|
+
})).annotate({ identifier: "GetRoleByIdResponse" });
|
|
1396
1217
|
export const GetStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1397
1218
|
id: S.String.pipe(T.Label()),
|
|
1398
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/apl-starred-queries/{id}", code: 200 }))).annotate({
|
|
1399
|
-
identifier: "GetStarredRequest",
|
|
1400
|
-
});
|
|
1219
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/apl-starred-queries/{id}", code: 200 }))).annotate({ identifier: "GetStarredRequest" });
|
|
1401
1220
|
export const GetStarredResponseKind = S.String;
|
|
1402
1221
|
export const GetStarredResponseMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1403
1222
|
export const GetStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1408,18 +1227,14 @@ export const GetStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1408
1227
|
query: APLRequestWithOptions,
|
|
1409
1228
|
who: S.String,
|
|
1410
1229
|
id: S.String,
|
|
1411
|
-
})).annotate({
|
|
1412
|
-
identifier: "GetStarredResponse",
|
|
1413
|
-
});
|
|
1230
|
+
})).annotate({ identifier: "GetStarredResponse" });
|
|
1414
1231
|
export const GetStarredQueriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1415
1232
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1416
1233
|
offset: S.optional(S.Number.pipe(T.Query())),
|
|
1417
1234
|
dataset: S.optional(S.String.pipe(T.Query())),
|
|
1418
1235
|
who: S.optional(S.String.pipe(T.Query())),
|
|
1419
1236
|
qs: S.optional(S.String.pipe(T.Query())),
|
|
1420
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/apl-starred-queries", code: 200 }))).annotate({
|
|
1421
|
-
identifier: "GetStarredQueriesRequest",
|
|
1422
|
-
});
|
|
1237
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/apl-starred-queries", code: 200 }))).annotate({ identifier: "GetStarredQueriesRequest" });
|
|
1423
1238
|
export const StarredQueryWithIdKind = S.String;
|
|
1424
1239
|
export const StarredQueryWithIdMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1425
1240
|
export const StarredQueryWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1430,9 +1245,7 @@ export const StarredQueryWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1430
1245
|
query: APLRequestWithOptions,
|
|
1431
1246
|
who: S.String,
|
|
1432
1247
|
id: S.String,
|
|
1433
|
-
})).annotate({
|
|
1434
|
-
identifier: "StarredQueryWithId",
|
|
1435
|
-
});
|
|
1248
|
+
})).annotate({ identifier: "StarredQueryWithId" });
|
|
1436
1249
|
export const GetStarredQueriesResponseBodyList = /*@__PURE__*/ S.Array(StarredQueryWithId);
|
|
1437
1250
|
export const GetStarredQueriesResponse = /*@__PURE__*/ S.suspend(() => GetStarredQueriesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1438
1251
|
identifier: "GetStarredQueriesResponse",
|
|
@@ -1440,28 +1253,18 @@ export const GetStarredQueriesResponse = /*@__PURE__*/ S.suspend(() => GetStarre
|
|
|
1440
1253
|
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1441
1254
|
id: S.String.pipe(T.Label()),
|
|
1442
1255
|
}).pipe(T.Http({ method: "GET", uri: "/v2/users/{id}", code: 200 }))).annotate({ identifier: "GetUserRequest" });
|
|
1443
|
-
export const GetUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/users", code: 200 }))).annotate({
|
|
1444
|
-
identifier: "GetUsersRequest",
|
|
1445
|
-
});
|
|
1256
|
+
export const GetUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/users", code: 200 }))).annotate({ identifier: "GetUsersRequest" });
|
|
1446
1257
|
export const GetUsersResponseBodyList = /*@__PURE__*/ S.Array(User);
|
|
1447
|
-
export const GetUsersResponse = /*@__PURE__*/ S.suspend(() => GetUsersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1448
|
-
identifier: "GetUsersResponse",
|
|
1449
|
-
});
|
|
1258
|
+
export const GetUsersResponse = /*@__PURE__*/ S.suspend(() => GetUsersResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetUsersResponse" });
|
|
1450
1259
|
export const GetViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1451
1260
|
id: S.String.pipe(T.Label()),
|
|
1452
1261
|
}).pipe(T.Http({ method: "GET", uri: "/v2/views/{id}", code: 200 }))).annotate({ identifier: "GetViewRequest" });
|
|
1453
|
-
export const GetViewsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/views", code: 200 }))).annotate({
|
|
1454
|
-
identifier: "GetViewsRequest",
|
|
1455
|
-
});
|
|
1262
|
+
export const GetViewsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/views", code: 200 }))).annotate({ identifier: "GetViewsRequest" });
|
|
1456
1263
|
export const GetViewsResponseBodyList = /*@__PURE__*/ S.Array(View);
|
|
1457
|
-
export const GetViewsResponse = /*@__PURE__*/ S.suspend(() => GetViewsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1458
|
-
identifier: "GetViewsResponse",
|
|
1459
|
-
});
|
|
1264
|
+
export const GetViewsResponse = /*@__PURE__*/ S.suspend(() => GetViewsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetViewsResponse" });
|
|
1460
1265
|
export const GetVirtualFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1461
1266
|
id: S.String.pipe(T.Label()),
|
|
1462
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/vfields/{id}", code: 200 }))).annotate({
|
|
1463
|
-
identifier: "GetVirtualFieldRequest",
|
|
1464
|
-
});
|
|
1267
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/vfields/{id}", code: 200 }))).annotate({ identifier: "GetVirtualFieldRequest" });
|
|
1465
1268
|
export const GetVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1466
1269
|
dataset: S.String,
|
|
1467
1270
|
description: S.optional(S.String),
|
|
@@ -1470,14 +1273,10 @@ export const GetVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1470
1273
|
type: S.optional(S.String),
|
|
1471
1274
|
unit: S.optional(S.String),
|
|
1472
1275
|
id: S.String,
|
|
1473
|
-
})).annotate({
|
|
1474
|
-
identifier: "GetVirtualFieldResponse",
|
|
1475
|
-
});
|
|
1276
|
+
})).annotate({ identifier: "GetVirtualFieldResponse" });
|
|
1476
1277
|
export const GetVirtualFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1477
1278
|
dataset: S.String.pipe(T.Query()),
|
|
1478
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/vfields", code: 200 }))).annotate({
|
|
1479
|
-
identifier: "GetVirtualFieldsRequest",
|
|
1480
|
-
});
|
|
1279
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/vfields", code: 200 }))).annotate({ identifier: "GetVirtualFieldsRequest" });
|
|
1481
1280
|
export const VirtualFieldWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1482
1281
|
dataset: S.String,
|
|
1483
1282
|
description: S.optional(S.String),
|
|
@@ -1486,26 +1285,16 @@ export const VirtualFieldWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1486
1285
|
type: S.optional(S.String),
|
|
1487
1286
|
unit: S.optional(S.String),
|
|
1488
1287
|
id: S.String,
|
|
1489
|
-
})).annotate({
|
|
1490
|
-
identifier: "VirtualFieldWithId",
|
|
1491
|
-
});
|
|
1288
|
+
})).annotate({ identifier: "VirtualFieldWithId" });
|
|
1492
1289
|
export const GetVirtualFieldsResponseBodyList = /*@__PURE__*/ S.Array(VirtualFieldWithId);
|
|
1493
|
-
export const GetVirtualFieldsResponse = /*@__PURE__*/ S.suspend(() => GetVirtualFieldsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1494
|
-
identifier: "GetVirtualFieldsResponse",
|
|
1495
|
-
});
|
|
1290
|
+
export const GetVirtualFieldsResponse = /*@__PURE__*/ S.suspend(() => GetVirtualFieldsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "GetVirtualFieldsResponse" });
|
|
1496
1291
|
export const ListDashboardsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1497
1292
|
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1498
1293
|
offset: S.optional(S.Number.pipe(T.Query())),
|
|
1499
|
-
}).pipe(T.Http({ method: "GET", uri: "/v2/dashboards", code: 200 }))).annotate({
|
|
1500
|
-
identifier: "ListDashboardsRequest",
|
|
1501
|
-
});
|
|
1294
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/dashboards", code: 200 }))).annotate({ identifier: "ListDashboardsRequest" });
|
|
1502
1295
|
export const ListDashboardsResponseBodyList = /*@__PURE__*/ S.Array(DashboardResource);
|
|
1503
|
-
export const ListDashboardsResponse = /*@__PURE__*/ S.suspend(() => ListDashboardsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1504
|
-
|
|
1505
|
-
});
|
|
1506
|
-
export const ListGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups", code: 200 }))).annotate({
|
|
1507
|
-
identifier: "ListGroupsRequest",
|
|
1508
|
-
});
|
|
1296
|
+
export const ListDashboardsResponse = /*@__PURE__*/ S.suspend(() => ListDashboardsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListDashboardsResponse" });
|
|
1297
|
+
export const ListGroupsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups", code: 200 }))).annotate({ identifier: "ListGroupsRequest" });
|
|
1509
1298
|
export const GroupWithIDMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1510
1299
|
export const GroupWithIDRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1511
1300
|
export const GroupWithID = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1517,12 +1306,8 @@ export const GroupWithID = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1517
1306
|
id: S.String,
|
|
1518
1307
|
})).annotate({ identifier: "GroupWithID" });
|
|
1519
1308
|
export const ListGroupsResponseBodyList = /*@__PURE__*/ S.Array(GroupWithID);
|
|
1520
|
-
export const ListGroupsResponse = /*@__PURE__*/ S.suspend(() => ListGroupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1521
|
-
|
|
1522
|
-
});
|
|
1523
|
-
export const ListRolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles", code: 200 }))).annotate({
|
|
1524
|
-
identifier: "ListRolesRequest",
|
|
1525
|
-
});
|
|
1309
|
+
export const ListGroupsResponse = /*@__PURE__*/ S.suspend(() => ListGroupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListGroupsResponse" });
|
|
1310
|
+
export const ListRolesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles", code: 200 }))).annotate({ identifier: "ListRolesRequest" });
|
|
1526
1311
|
export const RoleWithIDMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1527
1312
|
export const RoleWithID = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1528
1313
|
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
@@ -1534,9 +1319,7 @@ export const RoleWithID = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1534
1319
|
id: S.String,
|
|
1535
1320
|
})).annotate({ identifier: "RoleWithID" });
|
|
1536
1321
|
export const ListRolesResponseBodyList = /*@__PURE__*/ S.Array(RoleWithID);
|
|
1537
|
-
export const ListRolesResponse = /*@__PURE__*/ S.suspend(() => ListRolesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1538
|
-
identifier: "ListRolesResponse",
|
|
1539
|
-
});
|
|
1322
|
+
export const ListRolesResponse = /*@__PURE__*/ S.suspend(() => ListRolesResponseBodyList.pipe(T.RawResponseRoot())).annotate({ identifier: "ListRolesResponse" });
|
|
1540
1323
|
export const DashboardChartPatchDocument = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
1541
1324
|
export const PatchDashboardChartRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1542
1325
|
uid: S.String.pipe(T.Label()),
|
|
@@ -1545,19 +1328,13 @@ export const PatchDashboardChartRequest = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1545
1328
|
message: S.optional(S.String),
|
|
1546
1329
|
overwrite: S.optional(S.Boolean),
|
|
1547
1330
|
version: S.optional(S.Number),
|
|
1548
|
-
}).pipe(T.Http({
|
|
1549
|
-
method: "PATCH",
|
|
1550
|
-
uri: "/v2/dashboards/uid/{uid}/charts/{chartId}",
|
|
1551
|
-
code: 200,
|
|
1552
|
-
}))).annotate({
|
|
1331
|
+
}).pipe(T.Http({ method: "PATCH", uri: "/v2/dashboards/uid/{uid}/charts/{chartId}", code: 200 }))).annotate({
|
|
1553
1332
|
identifier: "PatchDashboardChartRequest",
|
|
1554
1333
|
});
|
|
1555
1334
|
export const ProvisionOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1556
1335
|
name: S.optional(S.String),
|
|
1557
1336
|
edgeDeployment: S.optional(S.String),
|
|
1558
|
-
}).pipe(T.Http({ method: "POST", uri: "/v2/orgs/provision", code: 200 }))).annotate({
|
|
1559
|
-
identifier: "ProvisionOrgRequest",
|
|
1560
|
-
});
|
|
1337
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/orgs/provision", code: 200 }))).annotate({ identifier: "ProvisionOrgRequest" });
|
|
1561
1338
|
export const ProvisionOrgResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1562
1339
|
id: S.String,
|
|
1563
1340
|
name: S.String,
|
|
@@ -1565,9 +1342,7 @@ export const ProvisionOrgResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1565
1342
|
expiresAt: S.String,
|
|
1566
1343
|
claimUrl: S.String,
|
|
1567
1344
|
token: S.String,
|
|
1568
|
-
})).annotate({
|
|
1569
|
-
identifier: "ProvisionOrgResponse",
|
|
1570
|
-
});
|
|
1345
|
+
})).annotate({ identifier: "ProvisionOrgResponse" });
|
|
1571
1346
|
export const CreateAPIToken2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1572
1347
|
datasetCapabilities: S.optional(DatasetCapabilities),
|
|
1573
1348
|
description: S.optional(S.String),
|
|
@@ -1575,9 +1350,7 @@ export const CreateAPIToken2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1575
1350
|
name: S.String,
|
|
1576
1351
|
orgCapabilities: S.optional(OrgCapabilities),
|
|
1577
1352
|
viewCapabilities: S.optional(ViewCapabilities),
|
|
1578
|
-
})).annotate({
|
|
1579
|
-
identifier: "CreateAPIToken2",
|
|
1580
|
-
});
|
|
1353
|
+
})).annotate({ identifier: "CreateAPIToken2" });
|
|
1581
1354
|
export const RegenerateAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1582
1355
|
id: S.String.pipe(T.Label()),
|
|
1583
1356
|
existingTokenExpiresAt: S.String,
|
|
@@ -1601,22 +1374,14 @@ export const RegenerateAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1601
1374
|
});
|
|
1602
1375
|
export const RemoveUserFromOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1603
1376
|
id: S.String.pipe(T.Label()),
|
|
1604
|
-
}).pipe(T.Http({ method: "DELETE", uri: "/v2/users/{id}", code: 200 }))).annotate({
|
|
1605
|
-
identifier: "RemoveUserFromOrgRequest",
|
|
1606
|
-
});
|
|
1377
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/users/{id}", code: 200 }))).annotate({ identifier: "RemoveUserFromOrgRequest" });
|
|
1607
1378
|
export const RemoveUserFromOrgResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1608
1379
|
identifier: "RemoveUserFromOrgResponse",
|
|
1609
1380
|
});
|
|
1610
1381
|
export const TrimDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1611
1382
|
dataset_id: S.String.pipe(T.Label()),
|
|
1612
1383
|
maxDuration: S.String,
|
|
1613
|
-
}).pipe(T.Http({
|
|
1614
|
-
method: "POST",
|
|
1615
|
-
uri: "/v2/datasets/{dataset_id}/trim",
|
|
1616
|
-
code: 200,
|
|
1617
|
-
}))).annotate({
|
|
1618
|
-
identifier: "TrimDatasetRequest",
|
|
1619
|
-
});
|
|
1384
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/trim", code: 200 }))).annotate({ identifier: "TrimDatasetRequest" });
|
|
1620
1385
|
export const TrimDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1621
1386
|
identifier: "TrimDatasetResponse",
|
|
1622
1387
|
});
|
|
@@ -1630,14 +1395,10 @@ export const UpdateAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1630
1395
|
title: S.optional(S.String),
|
|
1631
1396
|
type: S.optional(S.String),
|
|
1632
1397
|
url: S.optional(S.String),
|
|
1633
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/annotations/{id}", code: 200 }))).annotate({
|
|
1634
|
-
identifier: "UpdateAnnotationRequest",
|
|
1635
|
-
});
|
|
1398
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/annotations/{id}", code: 200 }))).annotate({ identifier: "UpdateAnnotationRequest" });
|
|
1636
1399
|
export const UpdateCurrentUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1637
1400
|
name: S.String,
|
|
1638
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/user", code: 200 }))).annotate({
|
|
1639
|
-
identifier: "UpdateCurrentUserRequest",
|
|
1640
|
-
});
|
|
1401
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/user", code: 200 }))).annotate({ identifier: "UpdateCurrentUserRequest" });
|
|
1641
1402
|
export const UpdateDashboardRequestVersion = S.Unknown;
|
|
1642
1403
|
export const UpdateDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1643
1404
|
uid: S.String.pipe(T.Label()),
|
|
@@ -1645,17 +1406,13 @@ export const UpdateDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1645
1406
|
message: S.optional(S.String),
|
|
1646
1407
|
overwrite: S.optional(S.Boolean),
|
|
1647
1408
|
version: S.optional(UpdateDashboardRequestVersion),
|
|
1648
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({
|
|
1649
|
-
identifier: "UpdateDashboardRequest",
|
|
1650
|
-
});
|
|
1409
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({ identifier: "UpdateDashboardRequest" });
|
|
1651
1410
|
export const UpdateDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1652
1411
|
dataset_id: S.String.pipe(T.Label()),
|
|
1653
1412
|
description: S.optional(S.String),
|
|
1654
1413
|
retentionDays: S.optional(S.Number),
|
|
1655
1414
|
useRetentionPeriod: S.optional(S.Boolean),
|
|
1656
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({
|
|
1657
|
-
identifier: "UpdateDatasetRequest",
|
|
1658
|
-
});
|
|
1415
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({ identifier: "UpdateDatasetRequest" });
|
|
1659
1416
|
export const UpdateFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1660
1417
|
dataset_id: S.String.pipe(T.Label()),
|
|
1661
1418
|
field_id: S.String.pipe(T.Label()),
|
|
@@ -1664,11 +1421,7 @@ export const UpdateFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Stru
|
|
|
1664
1421
|
name: S.String,
|
|
1665
1422
|
type: S.String,
|
|
1666
1423
|
unit: S.optional(S.String),
|
|
1667
|
-
}).pipe(T.Http({
|
|
1668
|
-
method: "PUT",
|
|
1669
|
-
uri: "/v2/datasets/{dataset_id}/fields/{field_id}",
|
|
1670
|
-
code: 200,
|
|
1671
|
-
}))).annotate({
|
|
1424
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}/fields/{field_id}", code: 200 }))).annotate({
|
|
1672
1425
|
identifier: "UpdateFieldForDatasetRequest",
|
|
1673
1426
|
});
|
|
1674
1427
|
export const UpdateGroupRequestMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
@@ -1679,9 +1432,7 @@ export const UpdateGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1679
1432
|
members: S.optional(UpdateGroupRequestMembersList),
|
|
1680
1433
|
name: S.String,
|
|
1681
1434
|
roles: S.optional(UpdateGroupRequestRolesList),
|
|
1682
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({
|
|
1683
|
-
identifier: "UpdateGroupRequest",
|
|
1684
|
-
});
|
|
1435
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({ identifier: "UpdateGroupRequest" });
|
|
1685
1436
|
export const UpdateGroupResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1686
1437
|
export const UpdateGroupResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1687
1438
|
export const UpdateGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1691,22 +1442,12 @@ export const UpdateGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1691
1442
|
name: S.String,
|
|
1692
1443
|
roles: S.optional(UpdateGroupResponseRolesList),
|
|
1693
1444
|
id: S.String,
|
|
1694
|
-
})).annotate({
|
|
1695
|
-
identifier: "UpdateGroupResponse",
|
|
1696
|
-
});
|
|
1445
|
+
})).annotate({ identifier: "UpdateGroupResponse" });
|
|
1697
1446
|
export const UpdateMapFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1698
1447
|
dataset_id: S.String.pipe(T.Label()),
|
|
1699
1448
|
body: MapFields.pipe(T.HttpBody()),
|
|
1700
|
-
}).pipe(T.Http({
|
|
1701
|
-
|
|
1702
|
-
uri: "/v2/datasets/{dataset_id}/mapfields",
|
|
1703
|
-
code: 200,
|
|
1704
|
-
}))).annotate({
|
|
1705
|
-
identifier: "UpdateMapFieldsRequest",
|
|
1706
|
-
});
|
|
1707
|
-
export const UpdateMapFieldsResponse = /*@__PURE__*/ S.suspend(() => MapFields.pipe(T.RawResponseRoot())).annotate({
|
|
1708
|
-
identifier: "UpdateMapFieldsResponse",
|
|
1709
|
-
});
|
|
1449
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}/mapfields", code: 200 }))).annotate({ identifier: "UpdateMapFieldsRequest" });
|
|
1450
|
+
export const UpdateMapFieldsResponse = /*@__PURE__*/ S.suspend(() => MapFields.pipe(T.RawResponseRoot())).annotate({ identifier: "UpdateMapFieldsResponse" });
|
|
1710
1451
|
export const UpdateMonitorRequestNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1711
1452
|
export const UpdateMonitorRequestOperator = S.String;
|
|
1712
1453
|
export const UpdateMonitorRequestType = S.String;
|
|
@@ -1738,9 +1479,7 @@ export const UpdateMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1738
1479
|
triggerFromNRuns: S.optional(S.Number),
|
|
1739
1480
|
type: UpdateMonitorRequestType,
|
|
1740
1481
|
updatedAt: S.optional(S.String),
|
|
1741
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/monitors/{id}", code: 200 }))).annotate({
|
|
1742
|
-
identifier: "UpdateMonitorRequest",
|
|
1743
|
-
});
|
|
1482
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/monitors/{id}", code: 200 }))).annotate({ identifier: "UpdateMonitorRequest" });
|
|
1744
1483
|
export const UpdateMonitorResponseNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1745
1484
|
export const UpdateMonitorResponseOperator = S.String;
|
|
1746
1485
|
export const UpdateMonitorResponseType = S.String;
|
|
@@ -1772,17 +1511,13 @@ export const UpdateMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1772
1511
|
type: UpdateMonitorResponseType,
|
|
1773
1512
|
updatedAt: S.optional(S.String),
|
|
1774
1513
|
id: S.String,
|
|
1775
|
-
})).annotate({
|
|
1776
|
-
identifier: "UpdateMonitorResponse",
|
|
1777
|
-
});
|
|
1514
|
+
})).annotate({ identifier: "UpdateMonitorResponse" });
|
|
1778
1515
|
export const UpdateNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1779
1516
|
id: S.String.pipe(T.Label()),
|
|
1780
1517
|
disabledUntil: S.optional(S.String),
|
|
1781
1518
|
name: S.String,
|
|
1782
1519
|
properties: NotifierProperties,
|
|
1783
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({
|
|
1784
|
-
identifier: "UpdateNotifierRequest",
|
|
1785
|
-
});
|
|
1520
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({ identifier: "UpdateNotifierRequest" });
|
|
1786
1521
|
export const UpdateNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1787
1522
|
createdAt: S.optional(S.String),
|
|
1788
1523
|
createdBy: S.optional(S.String),
|
|
@@ -1791,15 +1526,11 @@ export const UpdateNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1791
1526
|
properties: NotifierProperties,
|
|
1792
1527
|
updatedAt: S.optional(S.String),
|
|
1793
1528
|
id: S.optional(S.String),
|
|
1794
|
-
})).annotate({
|
|
1795
|
-
identifier: "UpdateNotifierResponse",
|
|
1796
|
-
});
|
|
1529
|
+
})).annotate({ identifier: "UpdateNotifierResponse" });
|
|
1797
1530
|
export const UpdateOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1798
1531
|
id: S.String.pipe(T.Label()),
|
|
1799
1532
|
name: S.String,
|
|
1800
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/orgs/{id}", code: 200 }))).annotate({
|
|
1801
|
-
identifier: "UpdateOrgRequest",
|
|
1802
|
-
});
|
|
1533
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/orgs/{id}", code: 200 }))).annotate({ identifier: "UpdateOrgRequest" });
|
|
1803
1534
|
export const UpdateRoleRequestMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1804
1535
|
export const UpdateRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1805
1536
|
id: S.String.pipe(T.Label()),
|
|
@@ -1809,9 +1540,7 @@ export const UpdateRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1809
1540
|
name: S.String,
|
|
1810
1541
|
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1811
1542
|
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1812
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({
|
|
1813
|
-
identifier: "UpdateRoleRequest",
|
|
1814
|
-
});
|
|
1543
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({ identifier: "UpdateRoleRequest" });
|
|
1815
1544
|
export const UpdateRoleResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1816
1545
|
export const UpdateRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1817
1546
|
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
@@ -1821,9 +1550,7 @@ export const UpdateRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1821
1550
|
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1822
1551
|
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1823
1552
|
id: S.String,
|
|
1824
|
-
})).annotate({
|
|
1825
|
-
identifier: "UpdateRoleResponse",
|
|
1826
|
-
});
|
|
1553
|
+
})).annotate({ identifier: "UpdateRoleResponse" });
|
|
1827
1554
|
export const UpdateStarredRequestKind = S.String;
|
|
1828
1555
|
export const UpdateStarredRequestMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1829
1556
|
export const UpdateStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1834,9 +1561,7 @@ export const UpdateStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1834
1561
|
name: S.String,
|
|
1835
1562
|
query: APLRequestWithOptions,
|
|
1836
1563
|
who: S.String,
|
|
1837
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/apl-starred-queries/{id}", code: 200 }))).annotate({
|
|
1838
|
-
identifier: "UpdateStarredRequest",
|
|
1839
|
-
});
|
|
1564
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/apl-starred-queries/{id}", code: 200 }))).annotate({ identifier: "UpdateStarredRequest" });
|
|
1840
1565
|
export const UpdateStarredResponseKind = S.String;
|
|
1841
1566
|
export const UpdateStarredResponseMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1842
1567
|
export const UpdateStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
@@ -1847,15 +1572,11 @@ export const UpdateStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1847
1572
|
query: APLRequestWithOptions,
|
|
1848
1573
|
who: S.String,
|
|
1849
1574
|
id: S.String,
|
|
1850
|
-
})).annotate({
|
|
1851
|
-
identifier: "UpdateStarredResponse",
|
|
1852
|
-
});
|
|
1575
|
+
})).annotate({ identifier: "UpdateStarredResponse" });
|
|
1853
1576
|
export const UpdateUserRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1854
1577
|
id: S.String.pipe(T.Label()),
|
|
1855
1578
|
role: S.String,
|
|
1856
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/users/{id}/role", code: 200 }))).annotate({
|
|
1857
|
-
identifier: "UpdateUserRoleRequest",
|
|
1858
|
-
});
|
|
1579
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/users/{id}/role", code: 200 }))).annotate({ identifier: "UpdateUserRoleRequest" });
|
|
1859
1580
|
export const UpdateViewRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1860
1581
|
export const UpdateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1861
1582
|
id: S.String.pipe(T.Label()),
|
|
@@ -1865,9 +1586,7 @@ export const UpdateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
|
1865
1586
|
name: S.String,
|
|
1866
1587
|
sharedByOrg: S.optional(S.String),
|
|
1867
1588
|
sharedByOrgName: S.optional(S.String),
|
|
1868
|
-
}).pipe(T.Http({ method: "PUT", uri: "/v2/views/{id}", code: 200 }))).annotate({
|
|
1869
|
-
identifier: "UpdateViewRequest",
|
|
1870
|
-
});
|
|
1589
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/views/{id}", code: 200 }))).annotate({ identifier: "UpdateViewRequest" });
|
|
1871
1590
|
export const UpdateVirtualFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1872
1591
|
id: S.String.pipe(T.Label()),
|
|
1873
1592
|
dataset: S.String,
|
|
@@ -1892,13 +1611,7 @@ export const UpdateVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct
|
|
|
1892
1611
|
});
|
|
1893
1612
|
export const VacuumDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1894
1613
|
dataset_id: S.String.pipe(T.Label()),
|
|
1895
|
-
}).pipe(T.Http({
|
|
1896
|
-
method: "POST",
|
|
1897
|
-
uri: "/v2/datasets/{dataset_id}/vacuum",
|
|
1898
|
-
code: 200,
|
|
1899
|
-
}))).annotate({
|
|
1900
|
-
identifier: "VacuumDatasetRequest",
|
|
1901
|
-
});
|
|
1614
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets/{dataset_id}/vacuum", code: 200 }))).annotate({ identifier: "VacuumDatasetRequest" });
|
|
1902
1615
|
export const VacuumDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1903
1616
|
identifier: "VacuumDatasetResponse",
|
|
1904
1617
|
});
|
|
@@ -1965,7 +1678,8 @@ export const createNotifier = /*@__PURE__*/ API.make(() => ({
|
|
|
1965
1678
|
protocol: AxiomProtocol,
|
|
1966
1679
|
retry: Retry.Retry,
|
|
1967
1680
|
}));
|
|
1968
|
-
export const createOrg =
|
|
1681
|
+
export const createOrg =
|
|
1682
|
+
/*@__PURE__*/ API.make(() => ({
|
|
1969
1683
|
input: CreateOrgRequest,
|
|
1970
1684
|
output: Org,
|
|
1971
1685
|
errors: [UnknownAxiomError],
|
|
@@ -2041,6 +1755,22 @@ export const deleteDataset = /*@__PURE__*/ API.make(() => ({
|
|
|
2041
1755
|
protocol: AxiomProtocol,
|
|
2042
1756
|
retry: Retry.Retry,
|
|
2043
1757
|
}));
|
|
1758
|
+
/** Delete fields from a dataset Deletes fields asynchronously. The field disappears from listings once the deletion pipeline finishes. Re-ingesting data with that field recreates it. */
|
|
1759
|
+
export const deleteDatasetFields = /*@__PURE__*/ API.make(() => ({
|
|
1760
|
+
input: DeleteDatasetFieldsRequest,
|
|
1761
|
+
output: DeleteDatasetFieldsResult,
|
|
1762
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownAxiomError],
|
|
1763
|
+
protocol: AxiomProtocol,
|
|
1764
|
+
retry: Retry.Retry,
|
|
1765
|
+
}));
|
|
1766
|
+
/** Delete a field from a dataset Deletes the field asynchronously. The field disappears from listings once the deletion pipeline finishes. Re-ingesting data with that field recreates it. */
|
|
1767
|
+
export const deleteFieldForDataset = /*@__PURE__*/ API.make(() => ({
|
|
1768
|
+
input: DeleteFieldForDatasetRequest,
|
|
1769
|
+
output: DeleteDatasetFieldsResult,
|
|
1770
|
+
errors: [BadRequest, Forbidden, NotFound, UnknownAxiomError],
|
|
1771
|
+
protocol: AxiomProtocol,
|
|
1772
|
+
retry: Retry.Retry,
|
|
1773
|
+
}));
|
|
2044
1774
|
/** Delete group Permanently removes a group from the organization. */
|
|
2045
1775
|
export const deleteGroup = /*@__PURE__*/ API.make(() => ({
|
|
2046
1776
|
input: DeleteGroupRequest,
|
|
@@ -2234,7 +1964,8 @@ export const getNotifiers = /*@__PURE__*/ API.make(() => ({
|
|
|
2234
1964
|
protocol: AxiomProtocol,
|
|
2235
1965
|
retry: Retry.Retry,
|
|
2236
1966
|
}));
|
|
2237
|
-
export const getOrg =
|
|
1967
|
+
export const getOrg =
|
|
1968
|
+
/*@__PURE__*/ API.make(() => ({
|
|
2238
1969
|
input: GetOrgRequest,
|
|
2239
1970
|
output: Org,
|
|
2240
1971
|
errors: [NotFound, UnknownAxiomError],
|
|
@@ -2271,7 +2002,8 @@ export const getStarredQueries = /*@__PURE__*/ API.make(() => ({
|
|
|
2271
2002
|
retry: Retry.Retry,
|
|
2272
2003
|
}));
|
|
2273
2004
|
/** Get user by ID */
|
|
2274
|
-
export const getUser =
|
|
2005
|
+
export const getUser =
|
|
2006
|
+
/*@__PURE__*/ API.make(() => ({
|
|
2275
2007
|
input: GetUserRequest,
|
|
2276
2008
|
output: User,
|
|
2277
2009
|
errors: [NotFound, UnknownAxiomError],
|
|
@@ -2286,7 +2018,8 @@ export const getUsers = /*@__PURE__*/ API.make(() => ({
|
|
|
2286
2018
|
protocol: AxiomProtocol,
|
|
2287
2019
|
retry: Retry.Retry,
|
|
2288
2020
|
}));
|
|
2289
|
-
export const getView =
|
|
2021
|
+
export const getView =
|
|
2022
|
+
/*@__PURE__*/ API.make(() => ({
|
|
2290
2023
|
input: GetViewRequest,
|
|
2291
2024
|
output: View,
|
|
2292
2025
|
errors: [NotFound, UnknownAxiomError],
|
|
@@ -2448,7 +2181,8 @@ export const updateNotifier = /*@__PURE__*/ API.make(() => ({
|
|
|
2448
2181
|
protocol: AxiomProtocol,
|
|
2449
2182
|
retry: Retry.Retry,
|
|
2450
2183
|
}));
|
|
2451
|
-
export const updateOrg =
|
|
2184
|
+
export const updateOrg =
|
|
2185
|
+
/*@__PURE__*/ API.make(() => ({
|
|
2452
2186
|
input: UpdateOrgRequest,
|
|
2453
2187
|
output: Org,
|
|
2454
2188
|
errors: [NotFound, UnknownAxiomError],
|