@distilled.cloud/axiom 0.30.3 → 1.0.0-rc.10
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/LICENSE +201 -0
- package/lib/credentials.d.ts +7 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +21 -5
- package/lib/credentials.js.map +1 -1
- package/lib/edge-ingest.d.ts +6 -1
- package/lib/edge-ingest.d.ts.map +1 -1
- package/lib/edge-ingest.js +6 -1
- package/lib/edge-ingest.js.map +1 -1
- package/lib/edge-query.d.ts +6 -1
- package/lib/edge-query.d.ts.map +1 -1
- package/lib/edge-query.js +6 -1
- package/lib/edge-query.js.map +1 -1
- package/lib/errors.d.ts +7 -2
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +9 -6
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +18 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +22 -11
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +28 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +86 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +3 -4
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +3 -4
- package/lib/retry.js.map +1 -1
- package/lib/services/edge_ingest.d.ts +64 -0
- package/lib/services/edge_ingest.d.ts.map +1 -0
- package/lib/services/edge_ingest.js +60 -0
- package/lib/services/edge_ingest.js.map +1 -0
- package/lib/services/edge_query.d.ts +93 -0
- package/lib/services/edge_query.d.ts.map +1 -0
- package/lib/services/edge_query.js +81 -0
- package/lib/services/edge_query.js.map +1 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +5 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/v2.d.ts +2813 -0
- package/lib/services/v2.d.ts.map +1 -0
- package/lib/services/v2.js +2502 -0
- package/lib/services/v2.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +43 -46
- package/src/credentials.ts +31 -6
- package/src/edge-ingest.ts +6 -1
- package/src/edge-query.ts +6 -1
- package/src/errors.ts +9 -6
- package/src/index.ts +33 -11
- package/src/protocol.ts +111 -0
- package/src/retry.ts +3 -4
- package/src/services/edge_ingest.ts +122 -0
- package/src/services/edge_query.ts +197 -0
- package/src/services/index.ts +4 -0
- package/src/services/v2.ts +6692 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -70
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -108
- package/lib/client.js.map +0 -1
- package/lib/operations/index.d.ts +0 -2
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -2
- package/lib/operations/index.js.map +0 -1
- package/lib/operations/v1-edge-ingest/index.d.ts +0 -2
- package/lib/operations/v1-edge-ingest/index.d.ts.map +0 -1
- package/lib/operations/v1-edge-ingest/index.js +0 -2
- package/lib/operations/v1-edge-ingest/index.js.map +0 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +0 -31
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +0 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.js +0 -36
- package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +0 -1
- package/lib/operations/v1-edge-query/index.d.ts +0 -2
- package/lib/operations/v1-edge-query/index.d.ts.map +0 -1
- package/lib/operations/v1-edge-query/index.js +0 -2
- package/lib/operations/v1-edge-query/index.js.map +0 -1
- package/lib/operations/v1-edge-query/queryApl.d.ts +0 -66
- package/lib/operations/v1-edge-query/queryApl.d.ts.map +0 -1
- package/lib/operations/v1-edge-query/queryApl.js +0 -71
- package/lib/operations/v1-edge-query/queryApl.js.map +0 -1
- package/lib/operations/v2/createAPIToken.d.ts +0 -84
- package/lib/operations/v2/createAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/createAPIToken.js +0 -89
- package/lib/operations/v2/createAPIToken.js.map +0 -1
- package/lib/operations/v2/createAnnotation.d.ts +0 -28
- package/lib/operations/v2/createAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/createAnnotation.js +0 -33
- package/lib/operations/v2/createAnnotation.js.map +0 -1
- package/lib/operations/v2/createDashboard.d.ts +0 -332
- package/lib/operations/v2/createDashboard.d.ts.map +0 -1
- package/lib/operations/v2/createDashboard.js +0 -113
- package/lib/operations/v2/createDashboard.js.map +0 -1
- package/lib/operations/v2/createDataset.d.ts +0 -36
- package/lib/operations/v2/createDataset.d.ts.map +0 -1
- package/lib/operations/v2/createDataset.js +0 -51
- package/lib/operations/v2/createDataset.js.map +0 -1
- package/lib/operations/v2/createGroup.d.ts +0 -26
- package/lib/operations/v2/createGroup.d.ts.map +0 -1
- package/lib/operations/v2/createGroup.js +0 -31
- package/lib/operations/v2/createGroup.js.map +0 -1
- package/lib/operations/v2/createMapField.d.ts +0 -13
- package/lib/operations/v2/createMapField.d.ts.map +0 -1
- package/lib/operations/v2/createMapField.js +0 -18
- package/lib/operations/v2/createMapField.js.map +0 -1
- package/lib/operations/v2/createMonitor.d.ts +0 -66
- package/lib/operations/v2/createMonitor.d.ts.map +0 -1
- package/lib/operations/v2/createMonitor.js +0 -83
- package/lib/operations/v2/createMonitor.js.map +0 -1
- package/lib/operations/v2/createNotifier.d.ts +0 -95
- package/lib/operations/v2/createNotifier.d.ts.map +0 -1
- package/lib/operations/v2/createNotifier.js +0 -101
- package/lib/operations/v2/createNotifier.js.map +0 -1
- package/lib/operations/v2/createOrg.d.ts +0 -50
- package/lib/operations/v2/createOrg.d.ts.map +0 -1
- package/lib/operations/v2/createOrg.js +0 -70
- package/lib/operations/v2/createOrg.js.map +0 -1
- package/lib/operations/v2/createRole.d.ts +0 -84
- package/lib/operations/v2/createRole.d.ts.map +0 -1
- package/lib/operations/v2/createRole.js +0 -89
- package/lib/operations/v2/createRole.js.map +0 -1
- package/lib/operations/v2/createStarred.d.ts +0 -85
- package/lib/operations/v2/createStarred.d.ts.map +0 -1
- package/lib/operations/v2/createStarred.js +0 -100
- package/lib/operations/v2/createStarred.js.map +0 -1
- package/lib/operations/v2/createUser.d.ts +0 -23
- package/lib/operations/v2/createUser.d.ts.map +0 -1
- package/lib/operations/v2/createUser.js +0 -28
- package/lib/operations/v2/createUser.js.map +0 -1
- package/lib/operations/v2/createView.d.ts +0 -22
- package/lib/operations/v2/createView.d.ts.map +0 -1
- package/lib/operations/v2/createView.js +0 -27
- package/lib/operations/v2/createView.js.map +0 -1
- package/lib/operations/v2/createVirtualField.d.ts +0 -23
- package/lib/operations/v2/createVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/createVirtualField.js +0 -30
- package/lib/operations/v2/createVirtualField.js.map +0 -1
- package/lib/operations/v2/deleteAPIToken.d.ts +0 -13
- package/lib/operations/v2/deleteAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/deleteAPIToken.js +0 -19
- package/lib/operations/v2/deleteAPIToken.js.map +0 -1
- package/lib/operations/v2/deleteAnnotation.d.ts +0 -15
- package/lib/operations/v2/deleteAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/deleteAnnotation.js +0 -21
- package/lib/operations/v2/deleteAnnotation.js.map +0 -1
- package/lib/operations/v2/deleteDashboard.d.ts +0 -15
- package/lib/operations/v2/deleteDashboard.d.ts.map +0 -1
- package/lib/operations/v2/deleteDashboard.js +0 -21
- package/lib/operations/v2/deleteDashboard.js.map +0 -1
- package/lib/operations/v2/deleteDataset.d.ts +0 -13
- package/lib/operations/v2/deleteDataset.d.ts.map +0 -1
- package/lib/operations/v2/deleteDataset.js +0 -19
- package/lib/operations/v2/deleteDataset.js.map +0 -1
- package/lib/operations/v2/deleteGroup.d.ts +0 -17
- package/lib/operations/v2/deleteGroup.d.ts.map +0 -1
- package/lib/operations/v2/deleteGroup.js +0 -23
- package/lib/operations/v2/deleteGroup.js.map +0 -1
- package/lib/operations/v2/deleteMapField.d.ts +0 -11
- package/lib/operations/v2/deleteMapField.d.ts.map +0 -1
- package/lib/operations/v2/deleteMapField.js +0 -20
- package/lib/operations/v2/deleteMapField.js.map +0 -1
- package/lib/operations/v2/deleteMonitor.d.ts +0 -13
- package/lib/operations/v2/deleteMonitor.d.ts.map +0 -1
- package/lib/operations/v2/deleteMonitor.js +0 -19
- package/lib/operations/v2/deleteMonitor.js.map +0 -1
- package/lib/operations/v2/deleteNotifier.d.ts +0 -13
- package/lib/operations/v2/deleteNotifier.d.ts.map +0 -1
- package/lib/operations/v2/deleteNotifier.js +0 -19
- package/lib/operations/v2/deleteNotifier.js.map +0 -1
- package/lib/operations/v2/deleteRole.d.ts +0 -17
- package/lib/operations/v2/deleteRole.d.ts.map +0 -1
- package/lib/operations/v2/deleteRole.js +0 -23
- package/lib/operations/v2/deleteRole.js.map +0 -1
- package/lib/operations/v2/deleteStarred.d.ts +0 -10
- package/lib/operations/v2/deleteStarred.d.ts.map +0 -1
- package/lib/operations/v2/deleteStarred.js +0 -16
- package/lib/operations/v2/deleteStarred.js.map +0 -1
- package/lib/operations/v2/deleteView.d.ts +0 -10
- package/lib/operations/v2/deleteView.d.ts.map +0 -1
- package/lib/operations/v2/deleteView.js +0 -16
- package/lib/operations/v2/deleteView.js.map +0 -1
- package/lib/operations/v2/deleteVirtualField.d.ts +0 -10
- package/lib/operations/v2/deleteVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/deleteVirtualField.js +0 -17
- package/lib/operations/v2/deleteVirtualField.js.map +0 -1
- package/lib/operations/v2/getAPIToken.d.ts +0 -50
- package/lib/operations/v2/getAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/getAPIToken.js +0 -55
- package/lib/operations/v2/getAPIToken.js.map +0 -1
- package/lib/operations/v2/getAPITokens.d.ts +0 -48
- package/lib/operations/v2/getAPITokens.d.ts.map +0 -1
- package/lib/operations/v2/getAPITokens.js +0 -51
- package/lib/operations/v2/getAPITokens.js.map +0 -1
- package/lib/operations/v2/getAnnotation.d.ts +0 -24
- package/lib/operations/v2/getAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/getAnnotation.js +0 -29
- package/lib/operations/v2/getAnnotation.js.map +0 -1
- package/lib/operations/v2/getAnnotations.d.ts +0 -27
- package/lib/operations/v2/getAnnotations.d.ts.map +0 -1
- package/lib/operations/v2/getAnnotations.js +0 -31
- package/lib/operations/v2/getAnnotations.js.map +0 -1
- package/lib/operations/v2/getCurrentUser.d.ts +0 -19
- package/lib/operations/v2/getCurrentUser.d.ts.map +0 -1
- package/lib/operations/v2/getCurrentUser.js +0 -22
- package/lib/operations/v2/getCurrentUser.js.map +0 -1
- package/lib/operations/v2/getDashboard.d.ts +0 -174
- package/lib/operations/v2/getDashboard.d.ts.map +0 -1
- package/lib/operations/v2/getDashboard.js +0 -67
- package/lib/operations/v2/getDashboard.js.map +0 -1
- package/lib/operations/v2/getDataset.d.ts +0 -28
- package/lib/operations/v2/getDataset.d.ts.map +0 -1
- package/lib/operations/v2/getDataset.js +0 -38
- package/lib/operations/v2/getDataset.js.map +0 -1
- package/lib/operations/v2/getDatasets.d.ts +0 -27
- package/lib/operations/v2/getDatasets.d.ts.map +0 -1
- package/lib/operations/v2/getDatasets.js +0 -36
- package/lib/operations/v2/getDatasets.js.map +0 -1
- package/lib/operations/v2/getFieldForDataset.d.ts +0 -17
- package/lib/operations/v2/getFieldForDataset.d.ts.map +0 -1
- package/lib/operations/v2/getFieldForDataset.js +0 -27
- package/lib/operations/v2/getFieldForDataset.js.map +0 -1
- package/lib/operations/v2/getFieldsForDataset.d.ts +0 -16
- package/lib/operations/v2/getFieldsForDataset.d.ts.map +0 -1
- package/lib/operations/v2/getFieldsForDataset.js +0 -23
- package/lib/operations/v2/getFieldsForDataset.js.map +0 -1
- package/lib/operations/v2/getGroupById.d.ts +0 -24
- package/lib/operations/v2/getGroupById.d.ts.map +0 -1
- package/lib/operations/v2/getGroupById.js +0 -29
- package/lib/operations/v2/getGroupById.js.map +0 -1
- package/lib/operations/v2/getMapFields.d.ts +0 -10
- package/lib/operations/v2/getMapFields.d.ts.map +0 -1
- package/lib/operations/v2/getMapFields.js +0 -15
- package/lib/operations/v2/getMapFields.js.map +0 -1
- package/lib/operations/v2/getMonitor.d.ts +0 -43
- package/lib/operations/v2/getMonitor.d.ts.map +0 -1
- package/lib/operations/v2/getMonitor.js +0 -54
- package/lib/operations/v2/getMonitor.js.map +0 -1
- package/lib/operations/v2/getMonitorHistory.d.ts +0 -23
- package/lib/operations/v2/getMonitorHistory.d.ts.map +0 -1
- package/lib/operations/v2/getMonitorHistory.js +0 -28
- package/lib/operations/v2/getMonitorHistory.js.map +0 -1
- package/lib/operations/v2/getMonitors.d.ts +0 -39
- package/lib/operations/v2/getMonitors.d.ts.map +0 -1
- package/lib/operations/v2/getMonitors.js +0 -48
- package/lib/operations/v2/getMonitors.js.map +0 -1
- package/lib/operations/v2/getNotifier.d.ts +0 -58
- package/lib/operations/v2/getNotifier.d.ts.map +0 -1
- package/lib/operations/v2/getNotifier.js +0 -64
- package/lib/operations/v2/getNotifier.js.map +0 -1
- package/lib/operations/v2/getNotifiers.d.ts +0 -54
- package/lib/operations/v2/getNotifiers.d.ts.map +0 -1
- package/lib/operations/v2/getNotifiers.js +0 -58
- package/lib/operations/v2/getNotifiers.js.map +0 -1
- package/lib/operations/v2/getOrg.d.ts +0 -50
- package/lib/operations/v2/getOrg.d.ts.map +0 -1
- package/lib/operations/v2/getOrg.js +0 -71
- package/lib/operations/v2/getOrg.js.map +0 -1
- package/lib/operations/v2/getOrgs.d.ts +0 -48
- package/lib/operations/v2/getOrgs.d.ts.map +0 -1
- package/lib/operations/v2/getOrgs.js +0 -67
- package/lib/operations/v2/getOrgs.js.map +0 -1
- package/lib/operations/v2/getRoleById.d.ts +0 -53
- package/lib/operations/v2/getRoleById.d.ts.map +0 -1
- package/lib/operations/v2/getRoleById.js +0 -58
- package/lib/operations/v2/getRoleById.js.map +0 -1
- package/lib/operations/v2/getStarred.d.ts +0 -49
- package/lib/operations/v2/getStarred.d.ts.map +0 -1
- package/lib/operations/v2/getStarred.js +0 -59
- package/lib/operations/v2/getStarred.js.map +0 -1
- package/lib/operations/v2/getStarredQueries.d.ts +0 -59
- package/lib/operations/v2/getStarredQueries.d.ts.map +0 -1
- package/lib/operations/v2/getStarredQueries.js +0 -68
- package/lib/operations/v2/getStarredQueries.js.map +0 -1
- package/lib/operations/v2/getUser.d.ts +0 -21
- package/lib/operations/v2/getUser.d.ts.map +0 -1
- package/lib/operations/v2/getUser.js +0 -26
- package/lib/operations/v2/getUser.js.map +0 -1
- package/lib/operations/v2/getUsers.d.ts +0 -19
- package/lib/operations/v2/getUsers.d.ts.map +0 -1
- package/lib/operations/v2/getUsers.js +0 -22
- package/lib/operations/v2/getUsers.js.map +0 -1
- package/lib/operations/v2/getView.d.ts +0 -17
- package/lib/operations/v2/getView.d.ts.map +0 -1
- package/lib/operations/v2/getView.js +0 -22
- package/lib/operations/v2/getView.js.map +0 -1
- package/lib/operations/v2/getViews.d.ts +0 -15
- package/lib/operations/v2/getViews.d.ts.map +0 -1
- package/lib/operations/v2/getViews.js +0 -18
- package/lib/operations/v2/getViews.js.map +0 -1
- package/lib/operations/v2/getVirtualField.d.ts +0 -18
- package/lib/operations/v2/getVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/getVirtualField.js +0 -23
- package/lib/operations/v2/getVirtualField.js.map +0 -1
- package/lib/operations/v2/getVirtualFields.d.ts +0 -17
- package/lib/operations/v2/getVirtualFields.d.ts.map +0 -1
- package/lib/operations/v2/getVirtualFields.js +0 -21
- package/lib/operations/v2/getVirtualFields.js.map +0 -1
- package/lib/operations/v2/index.d.ts +0 -78
- package/lib/operations/v2/index.d.ts.map +0 -1
- package/lib/operations/v2/index.js +0 -78
- package/lib/operations/v2/index.js.map +0 -1
- package/lib/operations/v2/listDashboards.d.ts +0 -174
- package/lib/operations/v2/listDashboards.d.ts.map +0 -1
- package/lib/operations/v2/listDashboards.js +0 -66
- package/lib/operations/v2/listDashboards.js.map +0 -1
- package/lib/operations/v2/listGroups.d.ts +0 -20
- package/lib/operations/v2/listGroups.d.ts.map +0 -1
- package/lib/operations/v2/listGroups.js +0 -23
- package/lib/operations/v2/listGroups.js.map +0 -1
- package/lib/operations/v2/listRoles.d.ts +0 -49
- package/lib/operations/v2/listRoles.d.ts.map +0 -1
- package/lib/operations/v2/listRoles.js +0 -52
- package/lib/operations/v2/listRoles.js.map +0 -1
- package/lib/operations/v2/patchDashboardChart.d.ts +0 -183
- package/lib/operations/v2/patchDashboardChart.d.ts.map +0 -1
- package/lib/operations/v2/patchDashboardChart.js +0 -81
- package/lib/operations/v2/patchDashboardChart.js.map +0 -1
- package/lib/operations/v2/regenerateAPIToken.d.ts +0 -89
- package/lib/operations/v2/regenerateAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/regenerateAPIToken.js +0 -96
- package/lib/operations/v2/regenerateAPIToken.js.map +0 -1
- package/lib/operations/v2/removeUserFromOrg.d.ts +0 -13
- package/lib/operations/v2/removeUserFromOrg.d.ts.map +0 -1
- package/lib/operations/v2/removeUserFromOrg.js +0 -19
- package/lib/operations/v2/removeUserFromOrg.js.map +0 -1
- package/lib/operations/v2/trimDataset.d.ts +0 -16
- package/lib/operations/v2/trimDataset.d.ts.map +0 -1
- package/lib/operations/v2/trimDataset.js +0 -22
- package/lib/operations/v2/trimDataset.js.map +0 -1
- package/lib/operations/v2/updateAnnotation.d.ts +0 -31
- package/lib/operations/v2/updateAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/updateAnnotation.js +0 -36
- package/lib/operations/v2/updateAnnotation.js.map +0 -1
- package/lib/operations/v2/updateCurrentUser.d.ts +0 -20
- package/lib/operations/v2/updateCurrentUser.d.ts.map +0 -1
- package/lib/operations/v2/updateCurrentUser.js +0 -25
- package/lib/operations/v2/updateCurrentUser.js.map +0 -1
- package/lib/operations/v2/updateDashboard.d.ts +0 -332
- package/lib/operations/v2/updateDashboard.d.ts.map +0 -1
- package/lib/operations/v2/updateDashboard.js +0 -113
- package/lib/operations/v2/updateDashboard.js.map +0 -1
- package/lib/operations/v2/updateDataset.d.ts +0 -31
- package/lib/operations/v2/updateDataset.d.ts.map +0 -1
- package/lib/operations/v2/updateDataset.js +0 -41
- package/lib/operations/v2/updateDataset.js.map +0 -1
- package/lib/operations/v2/updateFieldForDataset.d.ts +0 -22
- package/lib/operations/v2/updateFieldForDataset.d.ts.map +0 -1
- package/lib/operations/v2/updateFieldForDataset.js +0 -32
- package/lib/operations/v2/updateFieldForDataset.js.map +0 -1
- package/lib/operations/v2/updateGroup.d.ts +0 -29
- package/lib/operations/v2/updateGroup.d.ts.map +0 -1
- package/lib/operations/v2/updateGroup.js +0 -34
- package/lib/operations/v2/updateGroup.js.map +0 -1
- package/lib/operations/v2/updateMapFields.d.ts +0 -10
- package/lib/operations/v2/updateMapFields.d.ts.map +0 -1
- package/lib/operations/v2/updateMapFields.js +0 -15
- package/lib/operations/v2/updateMapFields.js.map +0 -1
- package/lib/operations/v2/updateMonitor.d.ts +0 -67
- package/lib/operations/v2/updateMonitor.d.ts.map +0 -1
- package/lib/operations/v2/updateMonitor.js +0 -84
- package/lib/operations/v2/updateMonitor.js.map +0 -1
- package/lib/operations/v2/updateNotifier.d.ts +0 -96
- package/lib/operations/v2/updateNotifier.d.ts.map +0 -1
- package/lib/operations/v2/updateNotifier.js +0 -102
- package/lib/operations/v2/updateNotifier.js.map +0 -1
- package/lib/operations/v2/updateOrg.d.ts +0 -51
- package/lib/operations/v2/updateOrg.d.ts.map +0 -1
- package/lib/operations/v2/updateOrg.js +0 -72
- package/lib/operations/v2/updateOrg.js.map +0 -1
- package/lib/operations/v2/updateRole.d.ts +0 -87
- package/lib/operations/v2/updateRole.d.ts.map +0 -1
- package/lib/operations/v2/updateRole.js +0 -92
- package/lib/operations/v2/updateRole.js.map +0 -1
- package/lib/operations/v2/updateStarred.d.ts +0 -86
- package/lib/operations/v2/updateStarred.d.ts.map +0 -1
- package/lib/operations/v2/updateStarred.js +0 -101
- package/lib/operations/v2/updateStarred.js.map +0 -1
- package/lib/operations/v2/updateUserRole.d.ts +0 -22
- package/lib/operations/v2/updateUserRole.d.ts.map +0 -1
- package/lib/operations/v2/updateUserRole.js +0 -27
- package/lib/operations/v2/updateUserRole.js.map +0 -1
- package/lib/operations/v2/updateView.d.ts +0 -23
- package/lib/operations/v2/updateView.d.ts.map +0 -1
- package/lib/operations/v2/updateView.js +0 -28
- package/lib/operations/v2/updateView.js.map +0 -1
- package/lib/operations/v2/updateVirtualField.d.ts +0 -24
- package/lib/operations/v2/updateVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/updateVirtualField.js +0 -31
- package/lib/operations/v2/updateVirtualField.js.map +0 -1
- package/lib/operations/v2/vacuumDataset.d.ts +0 -9
- package/lib/operations/v2/vacuumDataset.d.ts.map +0 -1
- package/lib/operations/v2/vacuumDataset.js +0 -14
- package/lib/operations/v2/vacuumDataset.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -122
- package/src/operations/index.ts +0 -1
- package/src/operations/v1-edge-ingest/index.ts +0 -1
- package/src/operations/v1-edge-ingest/ingestToDataset.ts +0 -60
- package/src/operations/v1-edge-query/index.ts +0 -1
- package/src/operations/v1-edge-query/queryApl.ts +0 -134
- package/src/operations/v2/createAPIToken.ts +0 -272
- package/src/operations/v2/createAnnotation.ts +0 -58
- package/src/operations/v2/createDashboard.ts +0 -472
- package/src/operations/v2/createDataset.ts +0 -92
- package/src/operations/v2/createGroup.ts +0 -52
- package/src/operations/v2/createMapField.ts +0 -31
- package/src/operations/v2/createMonitor.ts +0 -160
- package/src/operations/v2/createNotifier.ts +0 -194
- package/src/operations/v2/createOrg.ts +0 -135
- package/src/operations/v2/createRole.ts +0 -276
- package/src/operations/v2/createStarred.ts +0 -203
- package/src/operations/v2/createUser.ts +0 -47
- package/src/operations/v2/createView.ts +0 -49
- package/src/operations/v2/createVirtualField.ts +0 -53
- package/src/operations/v2/deleteAPIToken.ts +0 -29
- package/src/operations/v2/deleteAnnotation.ts +0 -31
- package/src/operations/v2/deleteDashboard.ts +0 -31
- package/src/operations/v2/deleteDataset.ts +0 -29
- package/src/operations/v2/deleteGroup.ts +0 -33
- package/src/operations/v2/deleteMapField.ts +0 -31
- package/src/operations/v2/deleteMonitor.ts +0 -29
- package/src/operations/v2/deleteNotifier.ts +0 -29
- package/src/operations/v2/deleteRole.ts +0 -33
- package/src/operations/v2/deleteStarred.ts +0 -26
- package/src/operations/v2/deleteView.ts +0 -26
- package/src/operations/v2/deleteVirtualField.ts +0 -27
- package/src/operations/v2/getAPIToken.ts +0 -150
- package/src/operations/v2/getAPITokens.ts +0 -148
- package/src/operations/v2/getAnnotation.ts +0 -48
- package/src/operations/v2/getAnnotations.ts +0 -54
- package/src/operations/v2/getCurrentUser.ts +0 -37
- package/src/operations/v2/getDashboard.ts +0 -252
- package/src/operations/v2/getDataset.ts +0 -67
- package/src/operations/v2/getDatasets.ts +0 -65
- package/src/operations/v2/getFieldForDataset.ts +0 -44
- package/src/operations/v2/getFieldsForDataset.ts +0 -41
- package/src/operations/v2/getGroupById.ts +0 -46
- package/src/operations/v2/getMapFields.ts +0 -27
- package/src/operations/v2/getMonitor.ts +0 -99
- package/src/operations/v2/getMonitorHistory.ts +0 -47
- package/src/operations/v2/getMonitors.ts +0 -93
- package/src/operations/v2/getNotifier.ts +0 -117
- package/src/operations/v2/getNotifiers.ts +0 -111
- package/src/operations/v2/getOrg.ts +0 -135
- package/src/operations/v2/getOrgs.ts +0 -131
- package/src/operations/v2/getRoleById.ts +0 -158
- package/src/operations/v2/getStarred.ts +0 -117
- package/src/operations/v2/getStarredQueries.ts +0 -134
- package/src/operations/v2/getUser.ts +0 -43
- package/src/operations/v2/getUsers.ts +0 -39
- package/src/operations/v2/getView.ts +0 -39
- package/src/operations/v2/getViews.ts +0 -35
- package/src/operations/v2/getVirtualField.ts +0 -41
- package/src/operations/v2/getVirtualFields.ts +0 -41
- package/src/operations/v2/index.ts +0 -77
- package/src/operations/v2/listDashboards.ts +0 -254
- package/src/operations/v2/listGroups.ts +0 -40
- package/src/operations/v2/listRoles.ts +0 -156
- package/src/operations/v2/patchDashboardChart.ts +0 -275
- package/src/operations/v2/regenerateAPIToken.ts +0 -320
- package/src/operations/v2/removeUserFromOrg.ts +0 -29
- package/src/operations/v2/trimDataset.ts +0 -33
- package/src/operations/v2/updateAnnotation.ts +0 -62
- package/src/operations/v2/updateCurrentUser.ts +0 -42
- package/src/operations/v2/updateDashboard.ts +0 -472
- package/src/operations/v2/updateDataset.ts +0 -73
- package/src/operations/v2/updateFieldForDataset.ts +0 -54
- package/src/operations/v2/updateGroup.ts +0 -56
- package/src/operations/v2/updateMapFields.ts +0 -27
- package/src/operations/v2/updateMonitor.ts +0 -162
- package/src/operations/v2/updateNotifier.ts +0 -196
- package/src/operations/v2/updateOrg.ts +0 -137
- package/src/operations/v2/updateRole.ts +0 -280
- package/src/operations/v2/updateStarred.ts +0 -205
- package/src/operations/v2/updateUserRole.ts +0 -45
- package/src/operations/v2/updateView.ts +0 -51
- package/src/operations/v2/updateVirtualField.ts +0 -55
- package/src/operations/v2/vacuumDataset.ts +0 -24
- package/src/sensitive.ts +0 -4
|
@@ -0,0 +1,2502 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/docs restapi/versions). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
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
|
+
import { UnknownAxiomError } from "../errors.js";
|
|
9
|
+
import * as Retry from "../retry.js";
|
|
10
|
+
export class BadRequest extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
11
|
+
/*@__PURE__*/ S.TaggedError()("BadRequest", {
|
|
12
|
+
code: S.Number,
|
|
13
|
+
message: S.String,
|
|
14
|
+
}).pipe(C.withBadRequestError), [{ status: 400 }]) {
|
|
15
|
+
}
|
|
16
|
+
export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
17
|
+
/*@__PURE__*/ S.TaggedError()("Conflict", {
|
|
18
|
+
code: S.Number,
|
|
19
|
+
message: S.String,
|
|
20
|
+
}).pipe(C.withConflictError), [{ status: 409 }]) {
|
|
21
|
+
}
|
|
22
|
+
export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
23
|
+
/*@__PURE__*/ S.TaggedError()("Forbidden", {
|
|
24
|
+
code: S.Number,
|
|
25
|
+
message: S.String,
|
|
26
|
+
}).pipe(C.withAuthError), [{ status: 403 }]) {
|
|
27
|
+
}
|
|
28
|
+
export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
29
|
+
/*@__PURE__*/ S.TaggedError()("NotFound", {
|
|
30
|
+
code: S.Number,
|
|
31
|
+
message: S.String,
|
|
32
|
+
}).pipe(C.withBadRequestError), [{ status: 404 }]) {
|
|
33
|
+
}
|
|
34
|
+
export class UnprocessableEntity extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
|
|
35
|
+
/*@__PURE__*/ S.TaggedError()("UnprocessableEntity", {
|
|
36
|
+
code: S.Number,
|
|
37
|
+
message: S.String,
|
|
38
|
+
}).pipe(C.withBadRequestError), [{ status: 422 }]) {
|
|
39
|
+
}
|
|
40
|
+
export const CreateAnnotationRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
41
|
+
export const CreateAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
|
+
datasets: CreateAnnotationRequestDatasetsList,
|
|
43
|
+
description: S.optional(S.String),
|
|
44
|
+
endTime: S.optional(S.String),
|
|
45
|
+
time: S.optional(S.String),
|
|
46
|
+
title: S.optional(S.String),
|
|
47
|
+
type: S.String,
|
|
48
|
+
url: S.optional(S.String),
|
|
49
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/annotations", code: 200 }))).annotate({
|
|
50
|
+
identifier: "CreateAnnotationRequest",
|
|
51
|
+
});
|
|
52
|
+
export const AnnotationDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
53
|
+
export const Annotation = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
54
|
+
datasets: AnnotationDatasetsList,
|
|
55
|
+
description: S.optional(S.String),
|
|
56
|
+
endTime: S.optional(S.NullOr(S.String)),
|
|
57
|
+
id: S.String,
|
|
58
|
+
time: S.String,
|
|
59
|
+
title: S.optional(S.String),
|
|
60
|
+
type: S.String,
|
|
61
|
+
url: S.optional(S.String),
|
|
62
|
+
})).annotate({ identifier: "Annotation" });
|
|
63
|
+
export const DatasetCapabilitiesValueDataItem = S.String;
|
|
64
|
+
export const DatasetCapabilitiesValueDataList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueDataItem);
|
|
65
|
+
export const DatasetCapabilitiesValueIngestItem = S.String;
|
|
66
|
+
export const DatasetCapabilitiesValueIngestList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueIngestItem);
|
|
67
|
+
export const DatasetCapabilitiesValueQueryItem = S.String;
|
|
68
|
+
export const DatasetCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueQueryItem);
|
|
69
|
+
export const DatasetCapabilitiesValueShareItem = S.String;
|
|
70
|
+
export const DatasetCapabilitiesValueShareList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueShareItem);
|
|
71
|
+
export const DatasetCapabilitiesValueStarredQueriesItem = S.String;
|
|
72
|
+
export const DatasetCapabilitiesValueStarredQueriesList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueStarredQueriesItem);
|
|
73
|
+
export const DatasetCapabilitiesValueTrimItem = S.String;
|
|
74
|
+
export const DatasetCapabilitiesValueTrimList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueTrimItem);
|
|
75
|
+
export const DatasetCapabilitiesValueVacuumItem = S.String;
|
|
76
|
+
export const DatasetCapabilitiesValueVacuumList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueVacuumItem);
|
|
77
|
+
export const DatasetCapabilitiesValueVirtualFieldsItem = S.String;
|
|
78
|
+
export const DatasetCapabilitiesValueVirtualFieldsList = /*@__PURE__*/ S.Array(DatasetCapabilitiesValueVirtualFieldsItem);
|
|
79
|
+
export const DatasetCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
+
data: S.optional(DatasetCapabilitiesValueDataList),
|
|
81
|
+
ingest: S.optional(DatasetCapabilitiesValueIngestList),
|
|
82
|
+
query: S.optional(DatasetCapabilitiesValueQueryList),
|
|
83
|
+
share: S.optional(DatasetCapabilitiesValueShareList),
|
|
84
|
+
starredQueries: S.optional(DatasetCapabilitiesValueStarredQueriesList),
|
|
85
|
+
trim: S.optional(DatasetCapabilitiesValueTrimList),
|
|
86
|
+
vacuum: S.optional(DatasetCapabilitiesValueVacuumList),
|
|
87
|
+
virtualFields: S.optional(DatasetCapabilitiesValueVirtualFieldsList),
|
|
88
|
+
})).annotate({
|
|
89
|
+
identifier: "DatasetCapabilitiesValue",
|
|
90
|
+
});
|
|
91
|
+
export const DatasetCapabilities = /*@__PURE__*/ S.Record(S.String, DatasetCapabilitiesValue);
|
|
92
|
+
export const OrgCapabilitiesAnnotationsItem = S.String;
|
|
93
|
+
export const OrgCapabilitiesAnnotationsList = /*@__PURE__*/ S.Array(OrgCapabilitiesAnnotationsItem);
|
|
94
|
+
export const OrgCapabilitiesApiTokensItem = S.String;
|
|
95
|
+
export const OrgCapabilitiesApiTokensList = /*@__PURE__*/ S.Array(OrgCapabilitiesApiTokensItem);
|
|
96
|
+
export const OrgCapabilitiesAuditLogItem = S.String;
|
|
97
|
+
export const OrgCapabilitiesAuditLogList = /*@__PURE__*/ S.Array(OrgCapabilitiesAuditLogItem);
|
|
98
|
+
export const OrgCapabilitiesBillingItem = S.String;
|
|
99
|
+
export const OrgCapabilitiesBillingList = /*@__PURE__*/ S.Array(OrgCapabilitiesBillingItem);
|
|
100
|
+
export const OrgCapabilitiesDashboardsItem = S.String;
|
|
101
|
+
export const OrgCapabilitiesDashboardsList = /*@__PURE__*/ S.Array(OrgCapabilitiesDashboardsItem);
|
|
102
|
+
export const OrgCapabilitiesDatasetsItem = S.String;
|
|
103
|
+
export const OrgCapabilitiesDatasetsList = /*@__PURE__*/ S.Array(OrgCapabilitiesDatasetsItem);
|
|
104
|
+
export const OrgCapabilitiesEndpointsItem = S.String;
|
|
105
|
+
export const OrgCapabilitiesEndpointsList = /*@__PURE__*/ S.Array(OrgCapabilitiesEndpointsItem);
|
|
106
|
+
export const OrgCapabilitiesFlowsItem = S.String;
|
|
107
|
+
export const OrgCapabilitiesFlowsList = /*@__PURE__*/ S.Array(OrgCapabilitiesFlowsItem);
|
|
108
|
+
export const OrgCapabilitiesIntegrationsItem = S.String;
|
|
109
|
+
export const OrgCapabilitiesIntegrationsList = /*@__PURE__*/ S.Array(OrgCapabilitiesIntegrationsItem);
|
|
110
|
+
export const OrgCapabilitiesMonitorsItem = S.String;
|
|
111
|
+
export const OrgCapabilitiesMonitorsList = /*@__PURE__*/ S.Array(OrgCapabilitiesMonitorsItem);
|
|
112
|
+
export const OrgCapabilitiesNotifiersItem = S.String;
|
|
113
|
+
export const OrgCapabilitiesNotifiersList = /*@__PURE__*/ S.Array(OrgCapabilitiesNotifiersItem);
|
|
114
|
+
export const OrgCapabilitiesRbacItem = S.String;
|
|
115
|
+
export const OrgCapabilitiesRbacList = /*@__PURE__*/ S.Array(OrgCapabilitiesRbacItem);
|
|
116
|
+
export const OrgCapabilitiesSharedAccessKeysItem = S.String;
|
|
117
|
+
export const OrgCapabilitiesSharedAccessKeysList = /*@__PURE__*/ S.Array(OrgCapabilitiesSharedAccessKeysItem);
|
|
118
|
+
export const OrgCapabilitiesUsersItem = S.String;
|
|
119
|
+
export const OrgCapabilitiesUsersList = /*@__PURE__*/ S.Array(OrgCapabilitiesUsersItem);
|
|
120
|
+
export const OrgCapabilitiesViewsItem = S.String;
|
|
121
|
+
export const OrgCapabilitiesViewsList = /*@__PURE__*/ S.Array(OrgCapabilitiesViewsItem);
|
|
122
|
+
export const OrgCapabilities = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
123
|
+
annotations: S.optional(OrgCapabilitiesAnnotationsList),
|
|
124
|
+
apiTokens: S.optional(OrgCapabilitiesApiTokensList),
|
|
125
|
+
auditLog: S.optional(OrgCapabilitiesAuditLogList),
|
|
126
|
+
billing: S.optional(OrgCapabilitiesBillingList),
|
|
127
|
+
dashboards: S.optional(OrgCapabilitiesDashboardsList),
|
|
128
|
+
datasets: S.optional(OrgCapabilitiesDatasetsList),
|
|
129
|
+
endpoints: S.optional(OrgCapabilitiesEndpointsList),
|
|
130
|
+
flows: S.optional(OrgCapabilitiesFlowsList),
|
|
131
|
+
integrations: S.optional(OrgCapabilitiesIntegrationsList),
|
|
132
|
+
monitors: S.optional(OrgCapabilitiesMonitorsList),
|
|
133
|
+
notifiers: S.optional(OrgCapabilitiesNotifiersList),
|
|
134
|
+
rbac: S.optional(OrgCapabilitiesRbacList),
|
|
135
|
+
sharedAccessKeys: S.optional(OrgCapabilitiesSharedAccessKeysList),
|
|
136
|
+
users: S.optional(OrgCapabilitiesUsersList),
|
|
137
|
+
views: S.optional(OrgCapabilitiesViewsList),
|
|
138
|
+
})).annotate({
|
|
139
|
+
identifier: "OrgCapabilities",
|
|
140
|
+
});
|
|
141
|
+
export const ViewCapabilitiesValueQueryItem = S.String;
|
|
142
|
+
export const ViewCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(ViewCapabilitiesValueQueryItem);
|
|
143
|
+
export const ViewCapabilitiesValueShareItem = S.String;
|
|
144
|
+
export const ViewCapabilitiesValueShareList = /*@__PURE__*/ S.Array(ViewCapabilitiesValueShareItem);
|
|
145
|
+
export const ViewCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
146
|
+
query: S.optional(ViewCapabilitiesValueQueryList),
|
|
147
|
+
share: S.optional(ViewCapabilitiesValueShareList),
|
|
148
|
+
})).annotate({
|
|
149
|
+
identifier: "ViewCapabilitiesValue",
|
|
150
|
+
});
|
|
151
|
+
export const ViewCapabilities = /*@__PURE__*/ S.Record(S.String, ViewCapabilitiesValue);
|
|
152
|
+
export const CreateAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
153
|
+
datasetCapabilities: S.optional(DatasetCapabilities),
|
|
154
|
+
description: S.optional(S.String),
|
|
155
|
+
expiresAt: S.optional(S.NullOr(S.String)),
|
|
156
|
+
name: S.String,
|
|
157
|
+
orgCapabilities: S.optional(OrgCapabilities),
|
|
158
|
+
viewCapabilities: S.optional(ViewCapabilities),
|
|
159
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/tokens", code: 200 }))).annotate({
|
|
160
|
+
identifier: "CreateAPITokenRequest",
|
|
161
|
+
});
|
|
162
|
+
export const CreateAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
163
|
+
datasetCapabilities: DatasetCapabilities,
|
|
164
|
+
description: S.optional(S.String),
|
|
165
|
+
expiresAt: S.optional(S.NullOr(S.String)),
|
|
166
|
+
id: S.String,
|
|
167
|
+
name: S.String,
|
|
168
|
+
orgCapabilities: OrgCapabilities,
|
|
169
|
+
samlAuthenticated: S.optional(S.Boolean),
|
|
170
|
+
viewCapabilities: S.optional(ViewCapabilities),
|
|
171
|
+
token: S.optional(S.String),
|
|
172
|
+
})).annotate({
|
|
173
|
+
identifier: "CreateAPITokenResponse",
|
|
174
|
+
});
|
|
175
|
+
export const TimeSeriesChartType = S.String;
|
|
176
|
+
export const TimeSeriesQueryOptionsDisplayNull = S.String;
|
|
177
|
+
export const BooleanString = S.String;
|
|
178
|
+
export const TimeSeriesQueryOptionsTimeSeriesVariant = S.String;
|
|
179
|
+
export const TimeSeriesQueryOptionsTimeSeriesView = S.String;
|
|
180
|
+
export const TimeSeriesQueryOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
181
|
+
displayNull: S.optional(TimeSeriesQueryOptionsDisplayNull),
|
|
182
|
+
overlayCharts: S.optional(BooleanString),
|
|
183
|
+
shownColumns: S.optional(S.String),
|
|
184
|
+
timeSeriesVariant: S.optional(TimeSeriesQueryOptionsTimeSeriesVariant),
|
|
185
|
+
timeSeriesView: S.optional(TimeSeriesQueryOptionsTimeSeriesView),
|
|
186
|
+
})).annotate({
|
|
187
|
+
identifier: "TimeSeriesQueryOptions",
|
|
188
|
+
});
|
|
189
|
+
export const TimeSeriesNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
190
|
+
apl: S.String,
|
|
191
|
+
queryOptions: S.optional(TimeSeriesQueryOptions),
|
|
192
|
+
})).annotate({
|
|
193
|
+
identifier: "TimeSeriesNonMetricsAplQuery",
|
|
194
|
+
});
|
|
195
|
+
export const TimeSeriesNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
196
|
+
mpl: S.String,
|
|
197
|
+
queryOptions: S.optional(TimeSeriesQueryOptions),
|
|
198
|
+
})).annotate({
|
|
199
|
+
identifier: "TimeSeriesNativeMplQuery",
|
|
200
|
+
});
|
|
201
|
+
export const TimeSeriesChartQuery = S.Unknown;
|
|
202
|
+
export const TimeSeriesChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
203
|
+
id: S.String,
|
|
204
|
+
type: TimeSeriesChartType,
|
|
205
|
+
name: S.optional(S.String),
|
|
206
|
+
query: TimeSeriesChartQuery,
|
|
207
|
+
})).annotate({
|
|
208
|
+
identifier: "TimeSeriesChart",
|
|
209
|
+
});
|
|
210
|
+
export const HeatmapChartType = S.String;
|
|
211
|
+
export const HeatmapQueryOptionsTimeSeriesView = S.String;
|
|
212
|
+
export const HeatmapQueryOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
213
|
+
timeSeriesView: S.optional(HeatmapQueryOptionsTimeSeriesView),
|
|
214
|
+
})).annotate({
|
|
215
|
+
identifier: "HeatmapQueryOptions",
|
|
216
|
+
});
|
|
217
|
+
export const HeatmapNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
218
|
+
apl: S.String,
|
|
219
|
+
queryOptions: S.optional(HeatmapQueryOptions),
|
|
220
|
+
})).annotate({
|
|
221
|
+
identifier: "HeatmapNonMetricsAplQuery",
|
|
222
|
+
});
|
|
223
|
+
export const HeatmapNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
224
|
+
mpl: S.String,
|
|
225
|
+
queryOptions: S.optional(HeatmapQueryOptions),
|
|
226
|
+
})).annotate({
|
|
227
|
+
identifier: "HeatmapNativeMplQuery",
|
|
228
|
+
});
|
|
229
|
+
export const HeatmapChartQuery = S.Unknown;
|
|
230
|
+
export const HeatmapChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
231
|
+
id: S.String,
|
|
232
|
+
type: HeatmapChartType,
|
|
233
|
+
name: S.optional(S.String),
|
|
234
|
+
query: HeatmapChartQuery,
|
|
235
|
+
})).annotate({ identifier: "HeatmapChart" });
|
|
236
|
+
export const LogStreamChartType = S.String;
|
|
237
|
+
export const SimpleNonMetricsAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
238
|
+
apl: S.String,
|
|
239
|
+
})).annotate({
|
|
240
|
+
identifier: "SimpleNonMetricsAplQuery",
|
|
241
|
+
});
|
|
242
|
+
export const SimpleNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
243
|
+
mpl: S.String,
|
|
244
|
+
})).annotate({
|
|
245
|
+
identifier: "SimpleNativeMplQuery",
|
|
246
|
+
});
|
|
247
|
+
export const SimpleChartQuery = S.Unknown;
|
|
248
|
+
export const AdvancedColumnSetting = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
249
|
+
name: S.String,
|
|
250
|
+
width: S.optional(S.Number),
|
|
251
|
+
})).annotate({
|
|
252
|
+
identifier: "AdvancedColumnSetting",
|
|
253
|
+
});
|
|
254
|
+
export const ColumnSetting = S.Unknown;
|
|
255
|
+
export const TableSettingsColumnsList = /*@__PURE__*/ S.Array(ColumnSetting);
|
|
256
|
+
export const DatasetStreamSettings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
257
|
+
fontSize: S.optional(S.String),
|
|
258
|
+
highlightSeverity: S.optional(S.Boolean),
|
|
259
|
+
showRaw: S.optional(S.Boolean),
|
|
260
|
+
showEvent: S.optional(S.Boolean),
|
|
261
|
+
showTimestamp: S.optional(S.Boolean),
|
|
262
|
+
wrapLines: S.optional(S.Boolean),
|
|
263
|
+
hideNulls: S.optional(S.Boolean),
|
|
264
|
+
fitColumns: S.optional(S.Boolean),
|
|
265
|
+
})).annotate({
|
|
266
|
+
identifier: "DatasetStreamSettings",
|
|
267
|
+
});
|
|
268
|
+
export const TableSettings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
269
|
+
columns: S.optional(TableSettingsColumnsList),
|
|
270
|
+
settings: S.optional(DatasetStreamSettings),
|
|
271
|
+
})).annotate({ identifier: "TableSettings" });
|
|
272
|
+
export const LogStreamChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
273
|
+
id: S.String,
|
|
274
|
+
type: LogStreamChartType,
|
|
275
|
+
name: S.optional(S.String),
|
|
276
|
+
query: SimpleChartQuery,
|
|
277
|
+
tableSettings: S.optional(TableSettings),
|
|
278
|
+
})).annotate({ identifier: "LogStreamChart" });
|
|
279
|
+
export const PieChartType = S.String;
|
|
280
|
+
export const PieChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
281
|
+
id: S.String,
|
|
282
|
+
type: PieChartType,
|
|
283
|
+
name: S.optional(S.String),
|
|
284
|
+
query: SimpleChartQuery,
|
|
285
|
+
})).annotate({ identifier: "PieChart" });
|
|
286
|
+
export const ScatterChartType = S.String;
|
|
287
|
+
export const ScatterChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
288
|
+
id: S.String,
|
|
289
|
+
type: ScatterChartType,
|
|
290
|
+
name: S.optional(S.String),
|
|
291
|
+
query: SimpleChartQuery,
|
|
292
|
+
})).annotate({ identifier: "ScatterChart" });
|
|
293
|
+
export const TableChartType = S.String;
|
|
294
|
+
export const TableChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
295
|
+
id: S.String,
|
|
296
|
+
type: TableChartType,
|
|
297
|
+
name: S.optional(S.String),
|
|
298
|
+
query: SimpleChartQuery,
|
|
299
|
+
tableSettings: S.optional(TableSettings),
|
|
300
|
+
})).annotate({ identifier: "TableChart" });
|
|
301
|
+
export const TopKChartType = S.String;
|
|
302
|
+
export const TopKChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
|
+
id: S.String,
|
|
304
|
+
type: TopKChartType,
|
|
305
|
+
name: S.optional(S.String),
|
|
306
|
+
query: SimpleChartQuery,
|
|
307
|
+
})).annotate({ identifier: "TopKChart" });
|
|
308
|
+
export const StatisticChartType = S.String;
|
|
309
|
+
export const StatisticChartColorScheme = S.String;
|
|
310
|
+
export const StatisticChartShowChart = S.Unknown;
|
|
311
|
+
export const StatisticChartChartHeight = S.Unknown;
|
|
312
|
+
export const StatisticChartErrorThreshold = S.String;
|
|
313
|
+
export const StatisticChartWarningThreshold = S.String;
|
|
314
|
+
export const StatisticChartColorProps = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
315
|
+
background: S.optional(S.String),
|
|
316
|
+
chartFillColor: S.optional(S.String),
|
|
317
|
+
labelColor: S.optional(S.String),
|
|
318
|
+
textColor: S.optional(S.String),
|
|
319
|
+
})).annotate({
|
|
320
|
+
identifier: "StatisticChartColorProps",
|
|
321
|
+
});
|
|
322
|
+
export const StatisticChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
323
|
+
id: S.String,
|
|
324
|
+
type: StatisticChartType,
|
|
325
|
+
name: S.optional(S.String),
|
|
326
|
+
query: SimpleChartQuery,
|
|
327
|
+
colorScheme: S.optional(StatisticChartColorScheme),
|
|
328
|
+
customUnits: S.optional(S.String),
|
|
329
|
+
showChart: S.optional(StatisticChartShowChart),
|
|
330
|
+
hideValue: S.optional(S.Boolean),
|
|
331
|
+
chartHeight: S.optional(StatisticChartChartHeight),
|
|
332
|
+
errorThreshold: S.optional(StatisticChartErrorThreshold),
|
|
333
|
+
errorThresholdValue: S.optional(S.String),
|
|
334
|
+
warningThreshold: S.optional(StatisticChartWarningThreshold),
|
|
335
|
+
warningThresholdValue: S.optional(S.String),
|
|
336
|
+
invertTheme: S.optional(S.Boolean),
|
|
337
|
+
background: S.optional(S.String),
|
|
338
|
+
textColor: S.optional(S.String),
|
|
339
|
+
labelColor: S.optional(S.String),
|
|
340
|
+
chartFillColor: S.optional(S.String),
|
|
341
|
+
okColorProps: S.optional(StatisticChartColorProps),
|
|
342
|
+
warningColorProps: S.optional(StatisticChartColorProps),
|
|
343
|
+
errorColorProps: S.optional(StatisticChartColorProps),
|
|
344
|
+
})).annotate({ identifier: "StatisticChart" });
|
|
345
|
+
export const NoteChartType = S.String;
|
|
346
|
+
export const NoteChartVariant = S.String;
|
|
347
|
+
export const NoteChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
348
|
+
id: S.String,
|
|
349
|
+
type: NoteChartType,
|
|
350
|
+
text: S.String,
|
|
351
|
+
variant: S.optional(NoteChartVariant),
|
|
352
|
+
})).annotate({ identifier: "NoteChart" });
|
|
353
|
+
export const MonitorListChartType = S.String;
|
|
354
|
+
export const MonitorListChartSelectedMonitorsList = /*@__PURE__*/ S.Array(S.String);
|
|
355
|
+
export const MonitorListColumns = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
356
|
+
status: S.Boolean,
|
|
357
|
+
history: S.Boolean,
|
|
358
|
+
dataset: S.Boolean,
|
|
359
|
+
type: S.Boolean,
|
|
360
|
+
notifiers: S.Boolean,
|
|
361
|
+
})).annotate({
|
|
362
|
+
identifier: "MonitorListColumns",
|
|
363
|
+
});
|
|
364
|
+
export const MonitorListChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
365
|
+
id: S.String,
|
|
366
|
+
type: MonitorListChartType,
|
|
367
|
+
name: S.optional(S.String),
|
|
368
|
+
selectedMonitors: MonitorListChartSelectedMonitorsList,
|
|
369
|
+
columns: MonitorListColumns,
|
|
370
|
+
})).annotate({
|
|
371
|
+
identifier: "MonitorListChart",
|
|
372
|
+
});
|
|
373
|
+
export const SmartFilterChartType = S.String;
|
|
374
|
+
export const SmartFilterSearchType = S.String;
|
|
375
|
+
export const SmartFilterSearch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
376
|
+
id: S.String,
|
|
377
|
+
name: S.String,
|
|
378
|
+
active: S.optional(S.Boolean),
|
|
379
|
+
type: SmartFilterSearchType,
|
|
380
|
+
})).annotate({
|
|
381
|
+
identifier: "SmartFilterSearch",
|
|
382
|
+
});
|
|
383
|
+
export const SmartFilterOption = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
384
|
+
key: S.String,
|
|
385
|
+
value: S.String,
|
|
386
|
+
default: S.optional(S.Boolean),
|
|
387
|
+
unset: S.optional(S.Boolean),
|
|
388
|
+
})).annotate({
|
|
389
|
+
identifier: "SmartFilterOption",
|
|
390
|
+
});
|
|
391
|
+
export const SmartFilterOptionsCase0List = /*@__PURE__*/ S.Array(SmartFilterOption);
|
|
392
|
+
export const SmartFilterOptionsCase1 = S.String;
|
|
393
|
+
export const SmartFilterOptions = S.Unknown;
|
|
394
|
+
export const SmartFilterSelectListType = S.String;
|
|
395
|
+
export const SmartFilterSelectListSelectType = S.String;
|
|
396
|
+
export const SmartFilterSelectList = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
397
|
+
id: S.String,
|
|
398
|
+
name: S.String,
|
|
399
|
+
active: S.optional(S.Boolean),
|
|
400
|
+
options: S.optional(S.NullOr(SmartFilterOptions)),
|
|
401
|
+
type: SmartFilterSelectListType,
|
|
402
|
+
selectType: SmartFilterSelectListSelectType,
|
|
403
|
+
})).annotate({
|
|
404
|
+
identifier: "SmartFilterSelectList",
|
|
405
|
+
});
|
|
406
|
+
export const SmartFilterSelectQueryOptionsCase0List = /*@__PURE__*/ S.Array(SmartFilterOption);
|
|
407
|
+
export const SmartFilterSelectQueryOptionsCase1 = S.String;
|
|
408
|
+
export const SmartFilterSelectQueryOptions = S.Unknown;
|
|
409
|
+
export const SmartFilterSelectQueryType = S.String;
|
|
410
|
+
export const SmartFilterSelectQuerySelectType = S.String;
|
|
411
|
+
export const SmartFilterAplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
412
|
+
apl: S.String,
|
|
413
|
+
})).annotate({
|
|
414
|
+
identifier: "SmartFilterAplQuery",
|
|
415
|
+
});
|
|
416
|
+
export const SmartFilterNativeMplQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
417
|
+
mpl: S.String,
|
|
418
|
+
})).annotate({
|
|
419
|
+
identifier: "SmartFilterNativeMplQuery",
|
|
420
|
+
});
|
|
421
|
+
export const SmartFilterQuery = S.Unknown;
|
|
422
|
+
export const SmartFilterSelectQuery = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
423
|
+
id: S.String,
|
|
424
|
+
name: S.String,
|
|
425
|
+
active: S.optional(S.Boolean),
|
|
426
|
+
options: S.optional(S.NullOr(SmartFilterSelectQueryOptions)),
|
|
427
|
+
type: SmartFilterSelectQueryType,
|
|
428
|
+
selectType: SmartFilterSelectQuerySelectType,
|
|
429
|
+
query: S.optional(SmartFilterQuery),
|
|
430
|
+
})).annotate({
|
|
431
|
+
identifier: "SmartFilterSelectQuery",
|
|
432
|
+
});
|
|
433
|
+
export const SmartFilterSelect = S.Unknown;
|
|
434
|
+
export const SmartFilterConfig = S.Unknown;
|
|
435
|
+
export const SmartFilterChartFiltersList = /*@__PURE__*/ S.Array(SmartFilterConfig);
|
|
436
|
+
export const SmartFilterChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
437
|
+
id: S.String,
|
|
438
|
+
type: SmartFilterChartType,
|
|
439
|
+
name: S.optional(S.String),
|
|
440
|
+
filters: SmartFilterChartFiltersList,
|
|
441
|
+
logo: S.optional(S.String),
|
|
442
|
+
logoDark: S.optional(S.String),
|
|
443
|
+
})).annotate({
|
|
444
|
+
identifier: "SmartFilterChart",
|
|
445
|
+
});
|
|
446
|
+
export const SpacerChartType = S.String;
|
|
447
|
+
export const SpacerChart = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
448
|
+
id: S.String,
|
|
449
|
+
type: SpacerChartType,
|
|
450
|
+
name: S.optional(S.String),
|
|
451
|
+
})).annotate({ identifier: "SpacerChart" });
|
|
452
|
+
export const Chart = S.Unknown;
|
|
453
|
+
export const DashboardChartsList = /*@__PURE__*/ S.Array(Chart);
|
|
454
|
+
export const LayoutItem = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
455
|
+
i: S.String,
|
|
456
|
+
x: S.Number,
|
|
457
|
+
y: S.NullOr(S.Number),
|
|
458
|
+
w: S.Number,
|
|
459
|
+
h: S.Number,
|
|
460
|
+
minW: S.optional(S.Number),
|
|
461
|
+
minH: S.optional(S.Number),
|
|
462
|
+
maxW: S.optional(S.Number),
|
|
463
|
+
maxH: S.optional(S.Number),
|
|
464
|
+
static: S.optional(S.Boolean),
|
|
465
|
+
})).annotate({ identifier: "LayoutItem" });
|
|
466
|
+
export const DashboardLayoutList = /*@__PURE__*/ S.Array(LayoutItem);
|
|
467
|
+
export const DashboardRefreshTime = S.Number;
|
|
468
|
+
export const SchemaVersion = S.Number;
|
|
469
|
+
export const DashboardAgainst = S.String;
|
|
470
|
+
export const Dashboard = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
471
|
+
name: S.String,
|
|
472
|
+
owner: S.String,
|
|
473
|
+
description: S.optional(S.String),
|
|
474
|
+
charts: DashboardChartsList,
|
|
475
|
+
layout: DashboardLayoutList,
|
|
476
|
+
refreshTime: DashboardRefreshTime,
|
|
477
|
+
schemaVersion: SchemaVersion,
|
|
478
|
+
against: S.optional(DashboardAgainst),
|
|
479
|
+
againstTimestamp: S.optional(S.String),
|
|
480
|
+
timeWindowStart: S.String,
|
|
481
|
+
timeWindowEnd: S.String,
|
|
482
|
+
uid: S.optional(S.String),
|
|
483
|
+
})).annotate({ identifier: "Dashboard" });
|
|
484
|
+
export const CreateDashboardRequestVersion = S.Unknown;
|
|
485
|
+
export const CreateDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
486
|
+
dashboard: Dashboard,
|
|
487
|
+
message: S.optional(S.String),
|
|
488
|
+
overwrite: S.optional(S.Boolean),
|
|
489
|
+
uid: S.optional(S.String),
|
|
490
|
+
version: S.optional(CreateDashboardRequestVersion),
|
|
491
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/dashboards", code: 200 }))).annotate({
|
|
492
|
+
identifier: "CreateDashboardRequest",
|
|
493
|
+
});
|
|
494
|
+
export const DashboardResourceVersion = S.Unknown;
|
|
495
|
+
export const DashboardResource = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
496
|
+
createdAt: S.String,
|
|
497
|
+
createdBy: S.String,
|
|
498
|
+
dashboard: Dashboard,
|
|
499
|
+
id: S.String,
|
|
500
|
+
uid: S.String,
|
|
501
|
+
updatedAt: S.String,
|
|
502
|
+
updatedBy: S.String,
|
|
503
|
+
version: DashboardResourceVersion,
|
|
504
|
+
})).annotate({
|
|
505
|
+
identifier: "DashboardResource",
|
|
506
|
+
});
|
|
507
|
+
export const DashboardWriteResponseStatus = S.String;
|
|
508
|
+
export const DashboardWriteResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
509
|
+
dashboard: DashboardResource,
|
|
510
|
+
overwritten: S.optional(S.Boolean),
|
|
511
|
+
status: DashboardWriteResponseStatus,
|
|
512
|
+
})).annotate({
|
|
513
|
+
identifier: "DashboardWriteResponse",
|
|
514
|
+
});
|
|
515
|
+
export const CreateDatasetRequestKind = S.String;
|
|
516
|
+
export const CreateDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
517
|
+
referrer: S.optional(S.String.pipe(T.Query())),
|
|
518
|
+
description: S.optional(S.String),
|
|
519
|
+
edgeDeployment: S.optional(S.String),
|
|
520
|
+
kind: S.optional(CreateDatasetRequestKind),
|
|
521
|
+
name: S.String,
|
|
522
|
+
retentionDays: S.optional(S.Number),
|
|
523
|
+
useRetentionPeriod: S.optional(S.Boolean),
|
|
524
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/datasets", code: 200 }))).annotate({
|
|
525
|
+
identifier: "CreateDatasetRequest",
|
|
526
|
+
});
|
|
527
|
+
export const DatasetKind = S.String;
|
|
528
|
+
export const DatasetMapFieldsList = /*@__PURE__*/ S.Array(S.String);
|
|
529
|
+
export const Dataset = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
530
|
+
canWrite: S.optional(S.Boolean),
|
|
531
|
+
created: S.String,
|
|
532
|
+
description: S.String,
|
|
533
|
+
edgeDeployment: S.optional(S.String),
|
|
534
|
+
edgeDeploymentUrl: S.optional(S.String),
|
|
535
|
+
id: S.String,
|
|
536
|
+
kind: DatasetKind,
|
|
537
|
+
mapFields: S.optional(DatasetMapFieldsList),
|
|
538
|
+
name: S.String,
|
|
539
|
+
retentionDays: S.optional(S.Number),
|
|
540
|
+
sharedByOrg: S.optional(S.String),
|
|
541
|
+
updatedAt: S.String,
|
|
542
|
+
useRetentionPeriod: S.optional(S.Boolean),
|
|
543
|
+
who: S.String,
|
|
544
|
+
})).annotate({ identifier: "Dataset" });
|
|
545
|
+
export const CreateGroupRequestMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
546
|
+
export const CreateGroupRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
547
|
+
export const CreateGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
548
|
+
description: S.optional(S.String),
|
|
549
|
+
members: S.optional(CreateGroupRequestMembersList),
|
|
550
|
+
name: S.String,
|
|
551
|
+
roles: S.optional(CreateGroupRequestRolesList),
|
|
552
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/rbac/groups", code: 200 }))).annotate({
|
|
553
|
+
identifier: "CreateGroupRequest",
|
|
554
|
+
});
|
|
555
|
+
export const CreateGroupResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
556
|
+
export const CreateGroupResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
557
|
+
export const CreateGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
558
|
+
description: S.optional(S.String),
|
|
559
|
+
isManaged: S.optional(S.Boolean),
|
|
560
|
+
members: S.optional(CreateGroupResponseMembersList),
|
|
561
|
+
name: S.String,
|
|
562
|
+
roles: S.optional(CreateGroupResponseRolesList),
|
|
563
|
+
id: S.String,
|
|
564
|
+
})).annotate({
|
|
565
|
+
identifier: "CreateGroupResponse",
|
|
566
|
+
});
|
|
567
|
+
export const CreateMapFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
568
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
569
|
+
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
|
+
});
|
|
577
|
+
export const MapField = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
578
|
+
name: S.String,
|
|
579
|
+
})).annotate({ identifier: "MapField" });
|
|
580
|
+
export const CreateMonitorRequestNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
581
|
+
export const CreateMonitorRequestOperator = S.String;
|
|
582
|
+
export const CreateMonitorRequestType = S.String;
|
|
583
|
+
export const CreateMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
584
|
+
alertOnNoData: S.optional(S.Boolean),
|
|
585
|
+
aplQuery: S.optional(S.String),
|
|
586
|
+
columnName: S.optional(S.String),
|
|
587
|
+
compareDays: S.optional(S.Number),
|
|
588
|
+
createdAt: S.optional(S.String),
|
|
589
|
+
createdBy: S.optional(S.String),
|
|
590
|
+
description: S.optional(S.String),
|
|
591
|
+
disabled: S.optional(S.Boolean),
|
|
592
|
+
disabledUntil: S.optional(S.NullOr(S.String)),
|
|
593
|
+
intervalMinutes: S.optional(S.Number),
|
|
594
|
+
mplQuery: S.optional(S.String),
|
|
595
|
+
name: S.String,
|
|
596
|
+
notifierIds: S.optional(CreateMonitorRequestNotifierIdsList),
|
|
597
|
+
notifyByGroup: S.optional(S.Boolean),
|
|
598
|
+
notifyEveryRun: S.optional(S.Boolean),
|
|
599
|
+
operator: S.optional(CreateMonitorRequestOperator),
|
|
600
|
+
rangeMinutes: S.optional(S.Number),
|
|
601
|
+
resolvable: S.optional(S.Boolean),
|
|
602
|
+
secondDelay: S.optional(S.Number),
|
|
603
|
+
skipResolved: S.optional(S.Boolean),
|
|
604
|
+
threshold: S.optional(S.Number),
|
|
605
|
+
tolerance: S.optional(S.Number),
|
|
606
|
+
triggerAfterNPositiveResults: S.optional(S.Number),
|
|
607
|
+
triggerFromNRuns: S.optional(S.Number),
|
|
608
|
+
type: CreateMonitorRequestType,
|
|
609
|
+
updatedAt: S.optional(S.String),
|
|
610
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/monitors", code: 200 }))).annotate({
|
|
611
|
+
identifier: "CreateMonitorRequest",
|
|
612
|
+
});
|
|
613
|
+
export const CreateMonitorResponseNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
614
|
+
export const CreateMonitorResponseOperator = S.String;
|
|
615
|
+
export const CreateMonitorResponseType = S.String;
|
|
616
|
+
export const CreateMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
617
|
+
alertOnNoData: S.optional(S.Boolean),
|
|
618
|
+
aplQuery: S.optional(S.String),
|
|
619
|
+
columnName: S.optional(S.String),
|
|
620
|
+
compareDays: S.optional(S.Number),
|
|
621
|
+
createdAt: S.optional(S.String),
|
|
622
|
+
createdBy: S.optional(S.String),
|
|
623
|
+
description: S.optional(S.String),
|
|
624
|
+
disabled: S.optional(S.Boolean),
|
|
625
|
+
disabledUntil: S.optional(S.NullOr(S.String)),
|
|
626
|
+
intervalMinutes: S.optional(S.Number),
|
|
627
|
+
mplQuery: S.optional(S.String),
|
|
628
|
+
name: S.String,
|
|
629
|
+
notifierIds: S.optional(CreateMonitorResponseNotifierIdsList),
|
|
630
|
+
notifyByGroup: S.optional(S.Boolean),
|
|
631
|
+
notifyEveryRun: S.optional(S.Boolean),
|
|
632
|
+
operator: S.optional(CreateMonitorResponseOperator),
|
|
633
|
+
rangeMinutes: S.optional(S.Number),
|
|
634
|
+
resolvable: S.optional(S.Boolean),
|
|
635
|
+
secondDelay: S.optional(S.Number),
|
|
636
|
+
skipResolved: S.optional(S.Boolean),
|
|
637
|
+
threshold: S.optional(S.Number),
|
|
638
|
+
tolerance: S.optional(S.Number),
|
|
639
|
+
triggerAfterNPositiveResults: S.optional(S.Number),
|
|
640
|
+
triggerFromNRuns: S.optional(S.Number),
|
|
641
|
+
type: CreateMonitorResponseType,
|
|
642
|
+
updatedAt: S.optional(S.String),
|
|
643
|
+
id: S.String,
|
|
644
|
+
})).annotate({
|
|
645
|
+
identifier: "CreateMonitorResponse",
|
|
646
|
+
});
|
|
647
|
+
export const CustomNotifierConfigHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
648
|
+
export const CustomNotifierConfigSecretHeadersMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
649
|
+
export const CustomNotifierConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
650
|
+
body: S.String,
|
|
651
|
+
headers: S.optional(CustomNotifierConfigHeadersMap),
|
|
652
|
+
secretHeaders: S.optional(CustomNotifierConfigSecretHeadersMap),
|
|
653
|
+
url: S.String,
|
|
654
|
+
})).annotate({
|
|
655
|
+
identifier: "CustomNotifierConfig",
|
|
656
|
+
});
|
|
657
|
+
export const DiscordConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
658
|
+
discordChannel: S.optional(S.String),
|
|
659
|
+
discordToken: S.optional(S.String),
|
|
660
|
+
})).annotate({ identifier: "DiscordConfig" });
|
|
661
|
+
export const DiscordWebhookConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
662
|
+
discordWebhookUrl: S.optional(S.String),
|
|
663
|
+
})).annotate({
|
|
664
|
+
identifier: "DiscordWebhookConfig",
|
|
665
|
+
});
|
|
666
|
+
export const EmailConfigEmailsList = /*@__PURE__*/ S.Array(S.String);
|
|
667
|
+
export const EmailConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
668
|
+
emails: S.optional(EmailConfigEmailsList),
|
|
669
|
+
})).annotate({ identifier: "EmailConfig" });
|
|
670
|
+
export const MicrosoftTeamsConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
671
|
+
microsoftTeamsUrl: S.optional(S.String),
|
|
672
|
+
})).annotate({
|
|
673
|
+
identifier: "MicrosoftTeamsConfig",
|
|
674
|
+
});
|
|
675
|
+
export const OpsGenieConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
676
|
+
apiKey: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
677
|
+
isEU: S.optional(S.Boolean),
|
|
678
|
+
})).annotate({ identifier: "OpsGenieConfig" });
|
|
679
|
+
export const PagerDutyConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
680
|
+
routingKey: S.optional(S.String),
|
|
681
|
+
token: S.optional(S.String),
|
|
682
|
+
})).annotate({
|
|
683
|
+
identifier: "PagerDutyConfig",
|
|
684
|
+
});
|
|
685
|
+
export const SlackConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
686
|
+
slackUrl: S.optional(S.String),
|
|
687
|
+
})).annotate({ identifier: "SlackConfig" });
|
|
688
|
+
export const WebhookConfig = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
689
|
+
url: S.optional(S.String),
|
|
690
|
+
})).annotate({ identifier: "WebhookConfig" });
|
|
691
|
+
export const NotifierProperties = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
692
|
+
customWebhook: S.optional(CustomNotifierConfig),
|
|
693
|
+
discord: S.optional(DiscordConfig),
|
|
694
|
+
discordWebhook: S.optional(DiscordWebhookConfig),
|
|
695
|
+
email: S.optional(EmailConfig),
|
|
696
|
+
microsoftTeams: S.optional(MicrosoftTeamsConfig),
|
|
697
|
+
opsgenie: S.optional(OpsGenieConfig),
|
|
698
|
+
pagerduty: S.optional(PagerDutyConfig),
|
|
699
|
+
slack: S.optional(SlackConfig),
|
|
700
|
+
webhook: S.optional(WebhookConfig),
|
|
701
|
+
})).annotate({
|
|
702
|
+
identifier: "NotifierProperties",
|
|
703
|
+
});
|
|
704
|
+
export const CreateNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
705
|
+
disabledUntil: S.optional(S.String),
|
|
706
|
+
name: S.String,
|
|
707
|
+
properties: NotifierProperties,
|
|
708
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/notifiers", code: 200 }))).annotate({
|
|
709
|
+
identifier: "CreateNotifierRequest",
|
|
710
|
+
});
|
|
711
|
+
export const CreateNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
712
|
+
createdAt: S.optional(S.String),
|
|
713
|
+
createdBy: S.optional(S.String),
|
|
714
|
+
disabledUntil: S.optional(S.String),
|
|
715
|
+
name: S.String,
|
|
716
|
+
properties: NotifierProperties,
|
|
717
|
+
updatedAt: S.optional(S.String),
|
|
718
|
+
id: S.optional(S.String),
|
|
719
|
+
})).annotate({
|
|
720
|
+
identifier: "CreateNotifierResponse",
|
|
721
|
+
});
|
|
722
|
+
export const CreateOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
723
|
+
edgeDeployment: S.optional(S.String),
|
|
724
|
+
name: S.String,
|
|
725
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/orgs", code: 200 }))).annotate({
|
|
726
|
+
identifier: "CreateOrgRequest",
|
|
727
|
+
});
|
|
728
|
+
export const LicenseEdgeDeploymentsList = /*@__PURE__*/ S.Array(S.String);
|
|
729
|
+
export const LicenseFeaturesMap = /*@__PURE__*/ S.Record(S.String, S.Boolean);
|
|
730
|
+
export const LicenseTier = S.String;
|
|
731
|
+
export const LicenseWithAuthsList = /*@__PURE__*/ S.Array(S.String);
|
|
732
|
+
export const License = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
733
|
+
apiRateLimitPerSecond: S.optional(S.Number),
|
|
734
|
+
billingPeriodEnd: S.optional(S.String),
|
|
735
|
+
billingPeriodStart: S.optional(S.String),
|
|
736
|
+
defaultEdgeDeployment: S.optional(S.String),
|
|
737
|
+
edgeDeployments: S.optional(LicenseEdgeDeploymentsList),
|
|
738
|
+
expiresAt: S.optional(S.NullOr(S.String)),
|
|
739
|
+
features: S.optional(LicenseFeaturesMap),
|
|
740
|
+
id: S.String,
|
|
741
|
+
issuedAt: S.optional(S.String),
|
|
742
|
+
issuedTo: S.optional(S.String),
|
|
743
|
+
issuer: S.optional(S.String),
|
|
744
|
+
maxAuditWindowSeconds: S.optional(S.Number),
|
|
745
|
+
maxDatasets: S.optional(S.Number),
|
|
746
|
+
maxEndpoints: S.optional(S.Number),
|
|
747
|
+
maxFields: S.optional(S.Number),
|
|
748
|
+
maxMonitors: S.optional(S.Number),
|
|
749
|
+
maxQueryWindowSeconds: S.optional(S.Number),
|
|
750
|
+
maxUsers: S.optional(S.Number),
|
|
751
|
+
monthlyIngestGb: S.optional(S.Number),
|
|
752
|
+
monthlyQueryGbHours: S.optional(S.Number),
|
|
753
|
+
storageAllowanceGB: S.optional(S.Number),
|
|
754
|
+
tier: LicenseTier,
|
|
755
|
+
validFrom: S.optional(S.String),
|
|
756
|
+
withAuths: S.optional(LicenseWithAuthsList),
|
|
757
|
+
})).annotate({ identifier: "License" });
|
|
758
|
+
export const OrgPaymentStatus = S.String;
|
|
759
|
+
export const OrgPlan = S.String;
|
|
760
|
+
export const Org = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
761
|
+
defaultEdgeDeployment: S.optional(S.String),
|
|
762
|
+
firstFailedPayment: S.optional(S.String),
|
|
763
|
+
id: S.String,
|
|
764
|
+
lastUsageSync: S.String,
|
|
765
|
+
license: License,
|
|
766
|
+
metaCreated: S.optional(S.String),
|
|
767
|
+
metaModified: S.optional(S.String),
|
|
768
|
+
metaVersion: S.optional(S.String),
|
|
769
|
+
name: S.String,
|
|
770
|
+
paymentStatus: OrgPaymentStatus,
|
|
771
|
+
plan: OrgPlan,
|
|
772
|
+
planCreated: S.String,
|
|
773
|
+
primaryEmail: S.String,
|
|
774
|
+
role: S.optional(S.String),
|
|
775
|
+
})).annotate({ identifier: "Org" });
|
|
776
|
+
export const RoleDatasetCapabilitiesValueDataItem = S.String;
|
|
777
|
+
export const RoleDatasetCapabilitiesValueDataList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueDataItem);
|
|
778
|
+
export const RoleDatasetCapabilitiesValueIngestItem = S.String;
|
|
779
|
+
export const RoleDatasetCapabilitiesValueIngestList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueIngestItem);
|
|
780
|
+
export const RoleDatasetCapabilitiesValueQueryItem = S.String;
|
|
781
|
+
export const RoleDatasetCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueQueryItem);
|
|
782
|
+
export const RoleDatasetCapabilitiesValueShareItem = S.String;
|
|
783
|
+
export const RoleDatasetCapabilitiesValueShareList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueShareItem);
|
|
784
|
+
export const RoleDatasetCapabilitiesValueStarredQueriesItem = S.String;
|
|
785
|
+
export const RoleDatasetCapabilitiesValueStarredQueriesList =
|
|
786
|
+
/*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueStarredQueriesItem);
|
|
787
|
+
export const RoleDatasetCapabilitiesValueTrimItem = S.String;
|
|
788
|
+
export const RoleDatasetCapabilitiesValueTrimList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueTrimItem);
|
|
789
|
+
export const RoleDatasetCapabilitiesValueVacuumItem = S.String;
|
|
790
|
+
export const RoleDatasetCapabilitiesValueVacuumList = /*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueVacuumItem);
|
|
791
|
+
export const RoleDatasetCapabilitiesValueVirtualFieldsItem = S.String;
|
|
792
|
+
export const RoleDatasetCapabilitiesValueVirtualFieldsList =
|
|
793
|
+
/*@__PURE__*/ S.Array(RoleDatasetCapabilitiesValueVirtualFieldsItem);
|
|
794
|
+
export const RoleDatasetCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
795
|
+
data: S.optional(RoleDatasetCapabilitiesValueDataList),
|
|
796
|
+
ingest: S.optional(RoleDatasetCapabilitiesValueIngestList),
|
|
797
|
+
query: S.optional(RoleDatasetCapabilitiesValueQueryList),
|
|
798
|
+
share: S.optional(RoleDatasetCapabilitiesValueShareList),
|
|
799
|
+
starredQueries: S.optional(RoleDatasetCapabilitiesValueStarredQueriesList),
|
|
800
|
+
trim: S.optional(RoleDatasetCapabilitiesValueTrimList),
|
|
801
|
+
vacuum: S.optional(RoleDatasetCapabilitiesValueVacuumList),
|
|
802
|
+
virtualFields: S.optional(RoleDatasetCapabilitiesValueVirtualFieldsList),
|
|
803
|
+
})).annotate({
|
|
804
|
+
identifier: "RoleDatasetCapabilitiesValue",
|
|
805
|
+
});
|
|
806
|
+
export const RoleDatasetCapabilities = /*@__PURE__*/ S.Record(S.String, RoleDatasetCapabilitiesValue);
|
|
807
|
+
export const CreateRoleRequestMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
808
|
+
export const RoleOrgCapabilitiesAnnotationsItem = S.String;
|
|
809
|
+
export const RoleOrgCapabilitiesAnnotationsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesAnnotationsItem);
|
|
810
|
+
export const RoleOrgCapabilitiesApiTokensItem = S.String;
|
|
811
|
+
export const RoleOrgCapabilitiesApiTokensList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesApiTokensItem);
|
|
812
|
+
export const RoleOrgCapabilitiesAuditLogItem = S.String;
|
|
813
|
+
export const RoleOrgCapabilitiesAuditLogList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesAuditLogItem);
|
|
814
|
+
export const RoleOrgCapabilitiesBillingItem = S.String;
|
|
815
|
+
export const RoleOrgCapabilitiesBillingList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesBillingItem);
|
|
816
|
+
export const RoleOrgCapabilitiesDashboardsItem = S.String;
|
|
817
|
+
export const RoleOrgCapabilitiesDashboardsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesDashboardsItem);
|
|
818
|
+
export const RoleOrgCapabilitiesDatasetsItem = S.String;
|
|
819
|
+
export const RoleOrgCapabilitiesDatasetsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesDatasetsItem);
|
|
820
|
+
export const RoleOrgCapabilitiesEndpointsItem = S.String;
|
|
821
|
+
export const RoleOrgCapabilitiesEndpointsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesEndpointsItem);
|
|
822
|
+
export const RoleOrgCapabilitiesFlowsItem = S.String;
|
|
823
|
+
export const RoleOrgCapabilitiesFlowsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesFlowsItem);
|
|
824
|
+
export const RoleOrgCapabilitiesIntegrationsItem = S.String;
|
|
825
|
+
export const RoleOrgCapabilitiesIntegrationsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesIntegrationsItem);
|
|
826
|
+
export const RoleOrgCapabilitiesMonitorsItem = S.String;
|
|
827
|
+
export const RoleOrgCapabilitiesMonitorsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesMonitorsItem);
|
|
828
|
+
export const RoleOrgCapabilitiesNotifiersItem = S.String;
|
|
829
|
+
export const RoleOrgCapabilitiesNotifiersList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesNotifiersItem);
|
|
830
|
+
export const RoleOrgCapabilitiesRbacItem = S.String;
|
|
831
|
+
export const RoleOrgCapabilitiesRbacList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesRbacItem);
|
|
832
|
+
export const RoleOrgCapabilitiesSharedAccessKeysItem = S.String;
|
|
833
|
+
export const RoleOrgCapabilitiesSharedAccessKeysList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesSharedAccessKeysItem);
|
|
834
|
+
export const RoleOrgCapabilitiesUsersItem = S.String;
|
|
835
|
+
export const RoleOrgCapabilitiesUsersList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesUsersItem);
|
|
836
|
+
export const RoleOrgCapabilitiesViewsItem = S.String;
|
|
837
|
+
export const RoleOrgCapabilitiesViewsList = /*@__PURE__*/ S.Array(RoleOrgCapabilitiesViewsItem);
|
|
838
|
+
export const RoleOrgCapabilities = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
839
|
+
annotations: S.optional(RoleOrgCapabilitiesAnnotationsList),
|
|
840
|
+
apiTokens: S.optional(RoleOrgCapabilitiesApiTokensList),
|
|
841
|
+
auditLog: S.optional(RoleOrgCapabilitiesAuditLogList),
|
|
842
|
+
billing: S.optional(RoleOrgCapabilitiesBillingList),
|
|
843
|
+
dashboards: S.optional(RoleOrgCapabilitiesDashboardsList),
|
|
844
|
+
datasets: S.optional(RoleOrgCapabilitiesDatasetsList),
|
|
845
|
+
endpoints: S.optional(RoleOrgCapabilitiesEndpointsList),
|
|
846
|
+
flows: S.optional(RoleOrgCapabilitiesFlowsList),
|
|
847
|
+
integrations: S.optional(RoleOrgCapabilitiesIntegrationsList),
|
|
848
|
+
monitors: S.optional(RoleOrgCapabilitiesMonitorsList),
|
|
849
|
+
notifiers: S.optional(RoleOrgCapabilitiesNotifiersList),
|
|
850
|
+
rbac: S.optional(RoleOrgCapabilitiesRbacList),
|
|
851
|
+
sharedAccessKeys: S.optional(RoleOrgCapabilitiesSharedAccessKeysList),
|
|
852
|
+
users: S.optional(RoleOrgCapabilitiesUsersList),
|
|
853
|
+
views: S.optional(RoleOrgCapabilitiesViewsList),
|
|
854
|
+
})).annotate({
|
|
855
|
+
identifier: "RoleOrgCapabilities",
|
|
856
|
+
});
|
|
857
|
+
export const RoleViewCapabilitiesValueQueryItem = S.String;
|
|
858
|
+
export const RoleViewCapabilitiesValueQueryList = /*@__PURE__*/ S.Array(RoleViewCapabilitiesValueQueryItem);
|
|
859
|
+
export const RoleViewCapabilitiesValueShareItem = S.String;
|
|
860
|
+
export const RoleViewCapabilitiesValueShareList = /*@__PURE__*/ S.Array(RoleViewCapabilitiesValueShareItem);
|
|
861
|
+
export const RoleViewCapabilitiesValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
862
|
+
query: S.optional(RoleViewCapabilitiesValueQueryList),
|
|
863
|
+
share: S.optional(RoleViewCapabilitiesValueShareList),
|
|
864
|
+
})).annotate({
|
|
865
|
+
identifier: "RoleViewCapabilitiesValue",
|
|
866
|
+
});
|
|
867
|
+
export const RoleViewCapabilities = /*@__PURE__*/ S.Record(S.String, RoleViewCapabilitiesValue);
|
|
868
|
+
export const CreateRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
869
|
+
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
870
|
+
description: S.optional(S.String),
|
|
871
|
+
members: S.optional(CreateRoleRequestMembersList),
|
|
872
|
+
name: S.String,
|
|
873
|
+
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
874
|
+
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
875
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/rbac/roles", code: 200 }))).annotate({
|
|
876
|
+
identifier: "CreateRoleRequest",
|
|
877
|
+
});
|
|
878
|
+
export const CreateRoleResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
879
|
+
export const CreateRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
880
|
+
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
881
|
+
description: S.optional(S.String),
|
|
882
|
+
members: S.optional(CreateRoleResponseMembersList),
|
|
883
|
+
name: S.String,
|
|
884
|
+
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
885
|
+
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
886
|
+
id: S.String,
|
|
887
|
+
})).annotate({
|
|
888
|
+
identifier: "CreateRoleResponse",
|
|
889
|
+
});
|
|
890
|
+
export const CreateStarredRequestKind = S.String;
|
|
891
|
+
export const CreateStarredRequestMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
892
|
+
export const APLRequestWithOptionsDefaultOrder = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
893
|
+
desc: S.optional(S.Boolean),
|
|
894
|
+
field: S.optional(S.String),
|
|
895
|
+
})).annotate({
|
|
896
|
+
identifier: "APLRequestWithOptionsDefaultOrder",
|
|
897
|
+
});
|
|
898
|
+
export const APLRequestWithOptionsDefaultOrderList = /*@__PURE__*/ S.Array(APLRequestWithOptionsDefaultOrder);
|
|
899
|
+
export const APLRequestWithOptionsLibrariesList = /*@__PURE__*/ S.Array(S.String);
|
|
900
|
+
export const QueryOptionsPriority = S.String;
|
|
901
|
+
export const QueryOptionsDisplayNull = S.String;
|
|
902
|
+
export const QueryOptionsTimeSeriesVariant = S.String;
|
|
903
|
+
export const QueryOptionsTimeSeriesView = S.String;
|
|
904
|
+
export const QueryOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
905
|
+
disableCache: S.optional(S.Boolean),
|
|
906
|
+
disableStats: S.optional(S.Boolean),
|
|
907
|
+
disableTrace: S.optional(S.Boolean),
|
|
908
|
+
maxDataPoints: S.optional(S.Number),
|
|
909
|
+
maxSeries: S.optional(S.Number),
|
|
910
|
+
noAggregation: S.optional(S.Boolean),
|
|
911
|
+
noFill: S.optional(S.Boolean),
|
|
912
|
+
noInterpolation: S.optional(S.Boolean),
|
|
913
|
+
priority: S.optional(QueryOptionsPriority),
|
|
914
|
+
resolution: S.optional(S.String),
|
|
915
|
+
displayNull: S.optional(QueryOptionsDisplayNull),
|
|
916
|
+
overlayCharts: S.optional(BooleanString),
|
|
917
|
+
shownColumns: S.optional(S.String),
|
|
918
|
+
timeSeriesVariant: S.optional(QueryOptionsTimeSeriesVariant),
|
|
919
|
+
timeSeriesView: S.optional(QueryOptionsTimeSeriesView),
|
|
920
|
+
})).annotate({ identifier: "QueryOptions" });
|
|
921
|
+
export const APLRequestWithOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
922
|
+
apl: S.String,
|
|
923
|
+
cursor: S.optional(S.String),
|
|
924
|
+
defaultLimit: S.optional(S.Number),
|
|
925
|
+
defaultOrder: S.optional(APLRequestWithOptionsDefaultOrderList),
|
|
926
|
+
endTime: S.optional(S.String),
|
|
927
|
+
includeCursor: S.optional(S.Boolean),
|
|
928
|
+
includeCursorField: S.optional(S.Boolean),
|
|
929
|
+
libraries: S.optional(APLRequestWithOptionsLibrariesList),
|
|
930
|
+
queryOptions: S.optional(QueryOptions),
|
|
931
|
+
startTime: S.optional(S.String),
|
|
932
|
+
variables: S.optional(S.Unknown),
|
|
933
|
+
})).annotate({
|
|
934
|
+
identifier: "APLRequestWithOptions",
|
|
935
|
+
});
|
|
936
|
+
export const CreateStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
937
|
+
dataset: S.optional(S.String),
|
|
938
|
+
kind: CreateStarredRequestKind,
|
|
939
|
+
metadata: CreateStarredRequestMetadataMap,
|
|
940
|
+
name: S.String,
|
|
941
|
+
query: APLRequestWithOptions,
|
|
942
|
+
who: S.String,
|
|
943
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/apl-starred-queries", code: 200 }))).annotate({
|
|
944
|
+
identifier: "CreateStarredRequest",
|
|
945
|
+
});
|
|
946
|
+
export const CreateStarredResponseKind = S.String;
|
|
947
|
+
export const CreateStarredResponseMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
948
|
+
export const CreateStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
949
|
+
dataset: S.optional(S.String),
|
|
950
|
+
kind: CreateStarredResponseKind,
|
|
951
|
+
metadata: CreateStarredResponseMetadataMap,
|
|
952
|
+
name: S.String,
|
|
953
|
+
query: APLRequestWithOptions,
|
|
954
|
+
who: S.String,
|
|
955
|
+
id: S.String,
|
|
956
|
+
})).annotate({
|
|
957
|
+
identifier: "CreateStarredResponse",
|
|
958
|
+
});
|
|
959
|
+
export const CreateUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
960
|
+
email: S.String,
|
|
961
|
+
name: S.String,
|
|
962
|
+
role: S.String,
|
|
963
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/users", code: 200 }))).annotate({
|
|
964
|
+
identifier: "CreateUserRequest",
|
|
965
|
+
});
|
|
966
|
+
export const UserDetailsRole = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
967
|
+
id: S.String,
|
|
968
|
+
name: S.String,
|
|
969
|
+
})).annotate({
|
|
970
|
+
identifier: "UserDetailsRole",
|
|
971
|
+
});
|
|
972
|
+
export const User = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
973
|
+
email: S.String,
|
|
974
|
+
id: S.String,
|
|
975
|
+
name: S.String,
|
|
976
|
+
role: S.optional(UserDetailsRole),
|
|
977
|
+
})).annotate({ identifier: "User" });
|
|
978
|
+
export const CreateViewRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
979
|
+
export const CreateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
980
|
+
aplQuery: S.String,
|
|
981
|
+
datasets: S.optional(CreateViewRequestDatasetsList),
|
|
982
|
+
description: S.optional(S.String),
|
|
983
|
+
name: S.String,
|
|
984
|
+
sharedByOrg: S.optional(S.String),
|
|
985
|
+
sharedByOrgName: S.optional(S.String),
|
|
986
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/views", code: 200 }))).annotate({
|
|
987
|
+
identifier: "CreateViewRequest",
|
|
988
|
+
});
|
|
989
|
+
export const ViewDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
990
|
+
export const View = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
991
|
+
aplQuery: S.String,
|
|
992
|
+
datasets: S.optional(ViewDatasetsList),
|
|
993
|
+
description: S.optional(S.String),
|
|
994
|
+
name: S.String,
|
|
995
|
+
sharedByOrg: S.optional(S.String),
|
|
996
|
+
sharedByOrgName: S.optional(S.String),
|
|
997
|
+
})).annotate({ identifier: "View" });
|
|
998
|
+
export const CreateVirtualFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
999
|
+
dataset: S.String,
|
|
1000
|
+
description: S.optional(S.String),
|
|
1001
|
+
expression: S.String,
|
|
1002
|
+
name: S.String,
|
|
1003
|
+
type: S.optional(S.String),
|
|
1004
|
+
unit: S.optional(S.String),
|
|
1005
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/vfields", code: 200 }))).annotate({
|
|
1006
|
+
identifier: "CreateVirtualFieldRequest",
|
|
1007
|
+
});
|
|
1008
|
+
export const CreateVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1009
|
+
dataset: S.String,
|
|
1010
|
+
description: S.optional(S.String),
|
|
1011
|
+
expression: S.String,
|
|
1012
|
+
name: S.String,
|
|
1013
|
+
type: S.optional(S.String),
|
|
1014
|
+
unit: S.optional(S.String),
|
|
1015
|
+
id: S.String,
|
|
1016
|
+
})).annotate({
|
|
1017
|
+
identifier: "CreateVirtualFieldResponse",
|
|
1018
|
+
});
|
|
1019
|
+
export const DeleteAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1020
|
+
id: S.String.pipe(T.Label()),
|
|
1021
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/annotations/{id}", code: 200 }))).annotate({
|
|
1022
|
+
identifier: "DeleteAnnotationRequest",
|
|
1023
|
+
});
|
|
1024
|
+
export const DeleteAnnotationResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1025
|
+
identifier: "DeleteAnnotationResponse",
|
|
1026
|
+
});
|
|
1027
|
+
export const DeleteAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1028
|
+
id: S.String.pipe(T.Label()),
|
|
1029
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/tokens/{id}", code: 200 }))).annotate({
|
|
1030
|
+
identifier: "DeleteAPITokenRequest",
|
|
1031
|
+
});
|
|
1032
|
+
export const DeleteAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1033
|
+
identifier: "DeleteAPITokenResponse",
|
|
1034
|
+
});
|
|
1035
|
+
export const DeleteDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1036
|
+
uid: S.String.pipe(T.Label()),
|
|
1037
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({
|
|
1038
|
+
identifier: "DeleteDashboardRequest",
|
|
1039
|
+
});
|
|
1040
|
+
export const DeleteDashboardResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1041
|
+
identifier: "DeleteDashboardResponse",
|
|
1042
|
+
});
|
|
1043
|
+
export const DeleteDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1044
|
+
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
|
+
});
|
|
1048
|
+
export const DeleteDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1049
|
+
identifier: "DeleteDatasetResponse",
|
|
1050
|
+
});
|
|
1051
|
+
export const DeleteGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1052
|
+
id: S.String.pipe(T.Label()),
|
|
1053
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({
|
|
1054
|
+
identifier: "DeleteGroupRequest",
|
|
1055
|
+
});
|
|
1056
|
+
export const DeleteGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1057
|
+
identifier: "DeleteGroupResponse",
|
|
1058
|
+
});
|
|
1059
|
+
export const DeleteMapFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1060
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1061
|
+
map_field_name: S.String.pipe(T.Label()),
|
|
1062
|
+
}).pipe(T.Http({
|
|
1063
|
+
method: "DELETE",
|
|
1064
|
+
uri: "/v2/datasets/{dataset_id}/mapfields/{map_field_name}",
|
|
1065
|
+
code: 200,
|
|
1066
|
+
}))).annotate({
|
|
1067
|
+
identifier: "DeleteMapFieldRequest",
|
|
1068
|
+
});
|
|
1069
|
+
export const DeleteMapFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1070
|
+
identifier: "DeleteMapFieldResponse",
|
|
1071
|
+
});
|
|
1072
|
+
export const DeleteMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1073
|
+
id: S.String.pipe(T.Label()),
|
|
1074
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/monitors/{id}", code: 200 }))).annotate({
|
|
1075
|
+
identifier: "DeleteMonitorRequest",
|
|
1076
|
+
});
|
|
1077
|
+
export const DeleteMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1078
|
+
identifier: "DeleteMonitorResponse",
|
|
1079
|
+
});
|
|
1080
|
+
export const DeleteNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1081
|
+
id: S.String.pipe(T.Label()),
|
|
1082
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({
|
|
1083
|
+
identifier: "DeleteNotifierRequest",
|
|
1084
|
+
});
|
|
1085
|
+
export const DeleteNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1086
|
+
identifier: "DeleteNotifierResponse",
|
|
1087
|
+
});
|
|
1088
|
+
export const DeleteRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1089
|
+
id: S.String.pipe(T.Label()),
|
|
1090
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({
|
|
1091
|
+
identifier: "DeleteRoleRequest",
|
|
1092
|
+
});
|
|
1093
|
+
export const DeleteRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1094
|
+
identifier: "DeleteRoleResponse",
|
|
1095
|
+
});
|
|
1096
|
+
export const DeleteStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1097
|
+
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
|
+
});
|
|
1105
|
+
export const DeleteStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1106
|
+
identifier: "DeleteStarredResponse",
|
|
1107
|
+
});
|
|
1108
|
+
export const DeleteViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1109
|
+
id: S.String.pipe(T.Label()),
|
|
1110
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/views/{id}", code: 200 }))).annotate({
|
|
1111
|
+
identifier: "DeleteViewRequest",
|
|
1112
|
+
});
|
|
1113
|
+
export const DeleteViewResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1114
|
+
identifier: "DeleteViewResponse",
|
|
1115
|
+
});
|
|
1116
|
+
export const DeleteVirtualFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1117
|
+
id: S.String.pipe(T.Label()),
|
|
1118
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/vfields/{id}", code: 200 }))).annotate({
|
|
1119
|
+
identifier: "DeleteVirtualFieldRequest",
|
|
1120
|
+
});
|
|
1121
|
+
export const DeleteVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1122
|
+
identifier: "DeleteVirtualFieldResponse",
|
|
1123
|
+
});
|
|
1124
|
+
export const GetAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1125
|
+
id: S.String.pipe(T.Label()),
|
|
1126
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/annotations/{id}", code: 200 }))).annotate({
|
|
1127
|
+
identifier: "GetAnnotationRequest",
|
|
1128
|
+
});
|
|
1129
|
+
export const GetAnnotationsRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1130
|
+
export const GetAnnotationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1131
|
+
datasets: S.optional(GetAnnotationsRequestDatasetsList.pipe(T.Query())),
|
|
1132
|
+
start: S.optional(S.String.pipe(T.Query())),
|
|
1133
|
+
end: S.optional(S.String.pipe(T.Query())),
|
|
1134
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/annotations", code: 200 }))).annotate({
|
|
1135
|
+
identifier: "GetAnnotationsRequest",
|
|
1136
|
+
});
|
|
1137
|
+
export const GetAnnotationsResponseBodyList = /*@__PURE__*/ S.Array(Annotation);
|
|
1138
|
+
export const GetAnnotationsResponse = /*@__PURE__*/ S.suspend(() => GetAnnotationsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1139
|
+
identifier: "GetAnnotationsResponse",
|
|
1140
|
+
});
|
|
1141
|
+
export const GetAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1142
|
+
id: S.String.pipe(T.Label()),
|
|
1143
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/tokens/{id}", code: 200 }))).annotate({
|
|
1144
|
+
identifier: "GetAPITokenRequest",
|
|
1145
|
+
});
|
|
1146
|
+
export const APIToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1147
|
+
datasetCapabilities: DatasetCapabilities,
|
|
1148
|
+
description: S.optional(S.String),
|
|
1149
|
+
expiresAt: S.optional(S.NullOr(S.String)),
|
|
1150
|
+
id: S.String,
|
|
1151
|
+
name: S.String,
|
|
1152
|
+
orgCapabilities: OrgCapabilities,
|
|
1153
|
+
samlAuthenticated: S.optional(S.Boolean),
|
|
1154
|
+
viewCapabilities: S.optional(ViewCapabilities),
|
|
1155
|
+
})).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
|
+
});
|
|
1159
|
+
export const GetAPITokensResponseBodyList = /*@__PURE__*/ S.Array(APIToken);
|
|
1160
|
+
export const GetAPITokensResponse = /*@__PURE__*/ S.suspend(() => GetAPITokensResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1161
|
+
identifier: "GetAPITokensResponse",
|
|
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
|
+
});
|
|
1166
|
+
export const GetDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1167
|
+
uid: S.String.pipe(T.Label()),
|
|
1168
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({
|
|
1169
|
+
identifier: "GetDashboardRequest",
|
|
1170
|
+
});
|
|
1171
|
+
export const GetDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1172
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1173
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({
|
|
1174
|
+
identifier: "GetDatasetRequest",
|
|
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
|
+
});
|
|
1179
|
+
export const GetDatasetsResponseBodyList = /*@__PURE__*/ S.Array(Dataset);
|
|
1180
|
+
export const GetDatasetsResponse = /*@__PURE__*/ S.suspend(() => GetDatasetsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1181
|
+
identifier: "GetDatasetsResponse",
|
|
1182
|
+
});
|
|
1183
|
+
export const GetFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1184
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1185
|
+
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({
|
|
1191
|
+
identifier: "GetFieldForDatasetRequest",
|
|
1192
|
+
});
|
|
1193
|
+
export const DatasetField = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1194
|
+
description: S.optional(S.String),
|
|
1195
|
+
hidden: S.optional(S.Boolean),
|
|
1196
|
+
name: S.String,
|
|
1197
|
+
type: S.String,
|
|
1198
|
+
unit: S.optional(S.String),
|
|
1199
|
+
})).annotate({ identifier: "DatasetField" });
|
|
1200
|
+
export const GetFieldsForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1201
|
+
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({
|
|
1207
|
+
identifier: "GetFieldsForDatasetRequest",
|
|
1208
|
+
});
|
|
1209
|
+
export const GetFieldsForDatasetResponseBodyList = /*@__PURE__*/ S.Array(DatasetField);
|
|
1210
|
+
export const GetFieldsForDatasetResponse = /*@__PURE__*/ S.suspend(() => GetFieldsForDatasetResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1211
|
+
identifier: "GetFieldsForDatasetResponse",
|
|
1212
|
+
});
|
|
1213
|
+
export const GetGroupByIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1214
|
+
id: S.String.pipe(T.Label()),
|
|
1215
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({
|
|
1216
|
+
identifier: "GetGroupByIdRequest",
|
|
1217
|
+
});
|
|
1218
|
+
export const GetGroupByIdResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1219
|
+
export const GetGroupByIdResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1220
|
+
export const GetGroupByIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1221
|
+
description: S.optional(S.String),
|
|
1222
|
+
isManaged: S.optional(S.Boolean),
|
|
1223
|
+
members: S.optional(GetGroupByIdResponseMembersList),
|
|
1224
|
+
name: S.String,
|
|
1225
|
+
roles: S.optional(GetGroupByIdResponseRolesList),
|
|
1226
|
+
id: S.String,
|
|
1227
|
+
})).annotate({
|
|
1228
|
+
identifier: "GetGroupByIdResponse",
|
|
1229
|
+
});
|
|
1230
|
+
export const GetMapFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1231
|
+
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
|
+
});
|
|
1239
|
+
export const MapFields = /*@__PURE__*/ S.Array(S.String);
|
|
1240
|
+
export const GetMapFieldsResponse = /*@__PURE__*/ S.suspend(() => MapFields.pipe(T.RawResponseRoot())).annotate({
|
|
1241
|
+
identifier: "GetMapFieldsResponse",
|
|
1242
|
+
});
|
|
1243
|
+
export const GetMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1244
|
+
id: S.String.pipe(T.Label()),
|
|
1245
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}", code: 200 }))).annotate({
|
|
1246
|
+
identifier: "GetMonitorRequest",
|
|
1247
|
+
});
|
|
1248
|
+
export const GetMonitorResponseNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1249
|
+
export const GetMonitorResponseOperator = S.String;
|
|
1250
|
+
export const GetMonitorResponseType = S.String;
|
|
1251
|
+
export const GetMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1252
|
+
alertOnNoData: S.optional(S.Boolean),
|
|
1253
|
+
aplQuery: S.optional(S.String),
|
|
1254
|
+
columnName: S.optional(S.String),
|
|
1255
|
+
compareDays: S.optional(S.Number),
|
|
1256
|
+
createdAt: S.optional(S.String),
|
|
1257
|
+
createdBy: S.optional(S.String),
|
|
1258
|
+
description: S.optional(S.String),
|
|
1259
|
+
disabled: S.optional(S.Boolean),
|
|
1260
|
+
disabledUntil: S.optional(S.NullOr(S.String)),
|
|
1261
|
+
intervalMinutes: S.optional(S.Number),
|
|
1262
|
+
mplQuery: S.optional(S.String),
|
|
1263
|
+
name: S.String,
|
|
1264
|
+
notifierIds: S.optional(GetMonitorResponseNotifierIdsList),
|
|
1265
|
+
notifyByGroup: S.optional(S.Boolean),
|
|
1266
|
+
notifyEveryRun: S.optional(S.Boolean),
|
|
1267
|
+
operator: S.optional(GetMonitorResponseOperator),
|
|
1268
|
+
rangeMinutes: S.optional(S.Number),
|
|
1269
|
+
resolvable: S.optional(S.Boolean),
|
|
1270
|
+
secondDelay: S.optional(S.Number),
|
|
1271
|
+
skipResolved: S.optional(S.Boolean),
|
|
1272
|
+
threshold: S.optional(S.Number),
|
|
1273
|
+
tolerance: S.optional(S.Number),
|
|
1274
|
+
triggerAfterNPositiveResults: S.optional(S.Number),
|
|
1275
|
+
triggerFromNRuns: S.optional(S.Number),
|
|
1276
|
+
type: GetMonitorResponseType,
|
|
1277
|
+
updatedAt: S.optional(S.String),
|
|
1278
|
+
id: S.String,
|
|
1279
|
+
})).annotate({
|
|
1280
|
+
identifier: "GetMonitorResponse",
|
|
1281
|
+
});
|
|
1282
|
+
export const GetMonitorHistoryRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1283
|
+
id: S.String.pipe(T.Label()),
|
|
1284
|
+
startTime: S.String.pipe(T.Query()),
|
|
1285
|
+
endTime: S.String.pipe(T.Query()),
|
|
1286
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/monitors/{id}/history", code: 200 }))).annotate({
|
|
1287
|
+
identifier: "GetMonitorHistoryRequest",
|
|
1288
|
+
});
|
|
1289
|
+
export const AlertHistoryState = S.String;
|
|
1290
|
+
export const AlertHistory = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1291
|
+
checkId: S.String,
|
|
1292
|
+
name: S.String,
|
|
1293
|
+
state: AlertHistoryState,
|
|
1294
|
+
timestamp: S.String,
|
|
1295
|
+
})).annotate({ identifier: "AlertHistory" });
|
|
1296
|
+
export const GetMonitorHistoryResponseBodyList = /*@__PURE__*/ S.Array(AlertHistory);
|
|
1297
|
+
export const GetMonitorHistoryResponse = /*@__PURE__*/ S.suspend(() => GetMonitorHistoryResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1298
|
+
identifier: "GetMonitorHistoryResponse",
|
|
1299
|
+
});
|
|
1300
|
+
export const GetMonitorsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/monitors", code: 200 }))).annotate({
|
|
1301
|
+
identifier: "GetMonitorsRequest",
|
|
1302
|
+
});
|
|
1303
|
+
export const MonitorWithIdNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1304
|
+
export const MonitorWithIdOperator = S.String;
|
|
1305
|
+
export const MonitorWithIdType = S.String;
|
|
1306
|
+
export const MonitorWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1307
|
+
alertOnNoData: S.optional(S.Boolean),
|
|
1308
|
+
aplQuery: S.optional(S.String),
|
|
1309
|
+
columnName: S.optional(S.String),
|
|
1310
|
+
compareDays: S.optional(S.Number),
|
|
1311
|
+
createdAt: S.optional(S.String),
|
|
1312
|
+
createdBy: S.optional(S.String),
|
|
1313
|
+
description: S.optional(S.String),
|
|
1314
|
+
disabled: S.optional(S.Boolean),
|
|
1315
|
+
disabledUntil: S.optional(S.NullOr(S.String)),
|
|
1316
|
+
intervalMinutes: S.optional(S.Number),
|
|
1317
|
+
mplQuery: S.optional(S.String),
|
|
1318
|
+
name: S.String,
|
|
1319
|
+
notifierIds: S.optional(MonitorWithIdNotifierIdsList),
|
|
1320
|
+
notifyByGroup: S.optional(S.Boolean),
|
|
1321
|
+
notifyEveryRun: S.optional(S.Boolean),
|
|
1322
|
+
operator: S.optional(MonitorWithIdOperator),
|
|
1323
|
+
rangeMinutes: S.optional(S.Number),
|
|
1324
|
+
resolvable: S.optional(S.Boolean),
|
|
1325
|
+
secondDelay: S.optional(S.Number),
|
|
1326
|
+
skipResolved: S.optional(S.Boolean),
|
|
1327
|
+
threshold: S.optional(S.Number),
|
|
1328
|
+
tolerance: S.optional(S.Number),
|
|
1329
|
+
triggerAfterNPositiveResults: S.optional(S.Number),
|
|
1330
|
+
triggerFromNRuns: S.optional(S.Number),
|
|
1331
|
+
type: MonitorWithIdType,
|
|
1332
|
+
updatedAt: S.optional(S.String),
|
|
1333
|
+
id: S.String,
|
|
1334
|
+
})).annotate({ identifier: "MonitorWithId" });
|
|
1335
|
+
export const GetMonitorsResponseBodyList = /*@__PURE__*/ S.Array(MonitorWithId);
|
|
1336
|
+
export const GetMonitorsResponse = /*@__PURE__*/ S.suspend(() => GetMonitorsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1337
|
+
identifier: "GetMonitorsResponse",
|
|
1338
|
+
});
|
|
1339
|
+
export const GetNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1340
|
+
id: S.String.pipe(T.Label()),
|
|
1341
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({
|
|
1342
|
+
identifier: "GetNotifierRequest",
|
|
1343
|
+
});
|
|
1344
|
+
export const GetNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1345
|
+
createdAt: S.optional(S.String),
|
|
1346
|
+
createdBy: S.optional(S.String),
|
|
1347
|
+
disabledUntil: S.optional(S.String),
|
|
1348
|
+
name: S.String,
|
|
1349
|
+
properties: NotifierProperties,
|
|
1350
|
+
updatedAt: S.optional(S.String),
|
|
1351
|
+
id: S.optional(S.String),
|
|
1352
|
+
})).annotate({
|
|
1353
|
+
identifier: "GetNotifierResponse",
|
|
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
|
+
});
|
|
1358
|
+
export const NotifierWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1359
|
+
createdAt: S.optional(S.String),
|
|
1360
|
+
createdBy: S.optional(S.String),
|
|
1361
|
+
disabledUntil: S.optional(S.String),
|
|
1362
|
+
name: S.String,
|
|
1363
|
+
properties: NotifierProperties,
|
|
1364
|
+
updatedAt: S.optional(S.String),
|
|
1365
|
+
id: S.optional(S.String),
|
|
1366
|
+
})).annotate({ identifier: "NotifierWithId" });
|
|
1367
|
+
export const GetNotifiersResponseBodyList = /*@__PURE__*/ S.Array(NotifierWithId);
|
|
1368
|
+
export const GetNotifiersResponse = /*@__PURE__*/ S.suspend(() => GetNotifiersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1369
|
+
identifier: "GetNotifiersResponse",
|
|
1370
|
+
});
|
|
1371
|
+
export const GetOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1372
|
+
id: S.String.pipe(T.Label()),
|
|
1373
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/orgs/{id}", code: 200 }))).annotate({ identifier: "GetOrgRequest" });
|
|
1374
|
+
export const GetOrgsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({}).pipe(T.Http({ method: "GET", uri: "/v2/orgs", code: 200 }))).annotate({ identifier: "GetOrgsRequest" });
|
|
1375
|
+
export const GetOrgsResponseBodyList = /*@__PURE__*/ S.Array(Org);
|
|
1376
|
+
export const GetOrgsResponse = /*@__PURE__*/ S.suspend(() => GetOrgsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1377
|
+
identifier: "GetOrgsResponse",
|
|
1378
|
+
});
|
|
1379
|
+
export const GetRoleByIdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1380
|
+
id: S.String.pipe(T.Label()),
|
|
1381
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({
|
|
1382
|
+
identifier: "GetRoleByIdRequest",
|
|
1383
|
+
});
|
|
1384
|
+
export const GetRoleByIdResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1385
|
+
export const GetRoleByIdResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1386
|
+
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
1387
|
+
description: S.optional(S.String),
|
|
1388
|
+
members: S.optional(GetRoleByIdResponseMembersList),
|
|
1389
|
+
name: S.String,
|
|
1390
|
+
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1391
|
+
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1392
|
+
id: S.String,
|
|
1393
|
+
})).annotate({
|
|
1394
|
+
identifier: "GetRoleByIdResponse",
|
|
1395
|
+
});
|
|
1396
|
+
export const GetStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1397
|
+
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
|
+
});
|
|
1401
|
+
export const GetStarredResponseKind = S.String;
|
|
1402
|
+
export const GetStarredResponseMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1403
|
+
export const GetStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1404
|
+
dataset: S.optional(S.String),
|
|
1405
|
+
kind: GetStarredResponseKind,
|
|
1406
|
+
metadata: GetStarredResponseMetadataMap,
|
|
1407
|
+
name: S.String,
|
|
1408
|
+
query: APLRequestWithOptions,
|
|
1409
|
+
who: S.String,
|
|
1410
|
+
id: S.String,
|
|
1411
|
+
})).annotate({
|
|
1412
|
+
identifier: "GetStarredResponse",
|
|
1413
|
+
});
|
|
1414
|
+
export const GetStarredQueriesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1415
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1416
|
+
offset: S.optional(S.Number.pipe(T.Query())),
|
|
1417
|
+
dataset: S.optional(S.String.pipe(T.Query())),
|
|
1418
|
+
who: S.optional(S.String.pipe(T.Query())),
|
|
1419
|
+
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
|
+
});
|
|
1423
|
+
export const StarredQueryWithIdKind = S.String;
|
|
1424
|
+
export const StarredQueryWithIdMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1425
|
+
export const StarredQueryWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1426
|
+
dataset: S.optional(S.String),
|
|
1427
|
+
kind: StarredQueryWithIdKind,
|
|
1428
|
+
metadata: StarredQueryWithIdMetadataMap,
|
|
1429
|
+
name: S.String,
|
|
1430
|
+
query: APLRequestWithOptions,
|
|
1431
|
+
who: S.String,
|
|
1432
|
+
id: S.String,
|
|
1433
|
+
})).annotate({
|
|
1434
|
+
identifier: "StarredQueryWithId",
|
|
1435
|
+
});
|
|
1436
|
+
export const GetStarredQueriesResponseBodyList = /*@__PURE__*/ S.Array(StarredQueryWithId);
|
|
1437
|
+
export const GetStarredQueriesResponse = /*@__PURE__*/ S.suspend(() => GetStarredQueriesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1438
|
+
identifier: "GetStarredQueriesResponse",
|
|
1439
|
+
});
|
|
1440
|
+
export const GetUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1441
|
+
id: S.String.pipe(T.Label()),
|
|
1442
|
+
}).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
|
+
});
|
|
1446
|
+
export const GetUsersResponseBodyList = /*@__PURE__*/ S.Array(User);
|
|
1447
|
+
export const GetUsersResponse = /*@__PURE__*/ S.suspend(() => GetUsersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1448
|
+
identifier: "GetUsersResponse",
|
|
1449
|
+
});
|
|
1450
|
+
export const GetViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1451
|
+
id: S.String.pipe(T.Label()),
|
|
1452
|
+
}).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
|
+
});
|
|
1456
|
+
export const GetViewsResponseBodyList = /*@__PURE__*/ S.Array(View);
|
|
1457
|
+
export const GetViewsResponse = /*@__PURE__*/ S.suspend(() => GetViewsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1458
|
+
identifier: "GetViewsResponse",
|
|
1459
|
+
});
|
|
1460
|
+
export const GetVirtualFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1461
|
+
id: S.String.pipe(T.Label()),
|
|
1462
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/vfields/{id}", code: 200 }))).annotate({
|
|
1463
|
+
identifier: "GetVirtualFieldRequest",
|
|
1464
|
+
});
|
|
1465
|
+
export const GetVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1466
|
+
dataset: S.String,
|
|
1467
|
+
description: S.optional(S.String),
|
|
1468
|
+
expression: S.String,
|
|
1469
|
+
name: S.String,
|
|
1470
|
+
type: S.optional(S.String),
|
|
1471
|
+
unit: S.optional(S.String),
|
|
1472
|
+
id: S.String,
|
|
1473
|
+
})).annotate({
|
|
1474
|
+
identifier: "GetVirtualFieldResponse",
|
|
1475
|
+
});
|
|
1476
|
+
export const GetVirtualFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1477
|
+
dataset: S.String.pipe(T.Query()),
|
|
1478
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/vfields", code: 200 }))).annotate({
|
|
1479
|
+
identifier: "GetVirtualFieldsRequest",
|
|
1480
|
+
});
|
|
1481
|
+
export const VirtualFieldWithId = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1482
|
+
dataset: S.String,
|
|
1483
|
+
description: S.optional(S.String),
|
|
1484
|
+
expression: S.String,
|
|
1485
|
+
name: S.String,
|
|
1486
|
+
type: S.optional(S.String),
|
|
1487
|
+
unit: S.optional(S.String),
|
|
1488
|
+
id: S.String,
|
|
1489
|
+
})).annotate({
|
|
1490
|
+
identifier: "VirtualFieldWithId",
|
|
1491
|
+
});
|
|
1492
|
+
export const GetVirtualFieldsResponseBodyList = /*@__PURE__*/ S.Array(VirtualFieldWithId);
|
|
1493
|
+
export const GetVirtualFieldsResponse = /*@__PURE__*/ S.suspend(() => GetVirtualFieldsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1494
|
+
identifier: "GetVirtualFieldsResponse",
|
|
1495
|
+
});
|
|
1496
|
+
export const ListDashboardsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1497
|
+
limit: S.optional(S.Number.pipe(T.Query())),
|
|
1498
|
+
offset: S.optional(S.Number.pipe(T.Query())),
|
|
1499
|
+
}).pipe(T.Http({ method: "GET", uri: "/v2/dashboards", code: 200 }))).annotate({
|
|
1500
|
+
identifier: "ListDashboardsRequest",
|
|
1501
|
+
});
|
|
1502
|
+
export const ListDashboardsResponseBodyList = /*@__PURE__*/ S.Array(DashboardResource);
|
|
1503
|
+
export const ListDashboardsResponse = /*@__PURE__*/ S.suspend(() => ListDashboardsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1504
|
+
identifier: "ListDashboardsResponse",
|
|
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
|
+
});
|
|
1509
|
+
export const GroupWithIDMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1510
|
+
export const GroupWithIDRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1511
|
+
export const GroupWithID = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1512
|
+
description: S.optional(S.String),
|
|
1513
|
+
isManaged: S.optional(S.Boolean),
|
|
1514
|
+
members: S.optional(GroupWithIDMembersList),
|
|
1515
|
+
name: S.String,
|
|
1516
|
+
roles: S.optional(GroupWithIDRolesList),
|
|
1517
|
+
id: S.String,
|
|
1518
|
+
})).annotate({ identifier: "GroupWithID" });
|
|
1519
|
+
export const ListGroupsResponseBodyList = /*@__PURE__*/ S.Array(GroupWithID);
|
|
1520
|
+
export const ListGroupsResponse = /*@__PURE__*/ S.suspend(() => ListGroupsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1521
|
+
identifier: "ListGroupsResponse",
|
|
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
|
+
});
|
|
1526
|
+
export const RoleWithIDMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1527
|
+
export const RoleWithID = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1528
|
+
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
1529
|
+
description: S.optional(S.String),
|
|
1530
|
+
members: S.optional(RoleWithIDMembersList),
|
|
1531
|
+
name: S.String,
|
|
1532
|
+
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1533
|
+
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1534
|
+
id: S.String,
|
|
1535
|
+
})).annotate({ identifier: "RoleWithID" });
|
|
1536
|
+
export const ListRolesResponseBodyList = /*@__PURE__*/ S.Array(RoleWithID);
|
|
1537
|
+
export const ListRolesResponse = /*@__PURE__*/ S.suspend(() => ListRolesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1538
|
+
identifier: "ListRolesResponse",
|
|
1539
|
+
});
|
|
1540
|
+
export const DashboardChartPatchDocument = /*@__PURE__*/ S.Record(S.String, S.Unknown);
|
|
1541
|
+
export const PatchDashboardChartRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1542
|
+
uid: S.String.pipe(T.Label()),
|
|
1543
|
+
chartId: S.String.pipe(T.Label()),
|
|
1544
|
+
chart: DashboardChartPatchDocument,
|
|
1545
|
+
message: S.optional(S.String),
|
|
1546
|
+
overwrite: S.optional(S.Boolean),
|
|
1547
|
+
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({
|
|
1553
|
+
identifier: "PatchDashboardChartRequest",
|
|
1554
|
+
});
|
|
1555
|
+
export const ProvisionOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1556
|
+
name: S.optional(S.String),
|
|
1557
|
+
edgeDeployment: S.optional(S.String),
|
|
1558
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/orgs/provision", code: 200 }))).annotate({
|
|
1559
|
+
identifier: "ProvisionOrgRequest",
|
|
1560
|
+
});
|
|
1561
|
+
export const ProvisionOrgResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1562
|
+
id: S.String,
|
|
1563
|
+
name: S.String,
|
|
1564
|
+
defaultEdgeDeployment: S.String,
|
|
1565
|
+
expiresAt: S.String,
|
|
1566
|
+
claimUrl: S.String,
|
|
1567
|
+
token: S.String,
|
|
1568
|
+
})).annotate({
|
|
1569
|
+
identifier: "ProvisionOrgResponse",
|
|
1570
|
+
});
|
|
1571
|
+
export const CreateAPIToken2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1572
|
+
datasetCapabilities: S.optional(DatasetCapabilities),
|
|
1573
|
+
description: S.optional(S.String),
|
|
1574
|
+
expiresAt: S.optional(S.NullOr(S.String)),
|
|
1575
|
+
name: S.String,
|
|
1576
|
+
orgCapabilities: S.optional(OrgCapabilities),
|
|
1577
|
+
viewCapabilities: S.optional(ViewCapabilities),
|
|
1578
|
+
})).annotate({
|
|
1579
|
+
identifier: "CreateAPIToken2",
|
|
1580
|
+
});
|
|
1581
|
+
export const RegenerateAPITokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1582
|
+
id: S.String.pipe(T.Label()),
|
|
1583
|
+
existingTokenExpiresAt: S.String,
|
|
1584
|
+
newToken: S.optional(CreateAPIToken2),
|
|
1585
|
+
newTokenExpiresAt: S.optional(S.NullOr(S.String)),
|
|
1586
|
+
}).pipe(T.Http({ method: "POST", uri: "/v2/tokens/{id}/regenerate", code: 200 }))).annotate({
|
|
1587
|
+
identifier: "RegenerateAPITokenRequest",
|
|
1588
|
+
});
|
|
1589
|
+
export const RegenerateAPITokenResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1590
|
+
datasetCapabilities: DatasetCapabilities,
|
|
1591
|
+
description: S.optional(S.String),
|
|
1592
|
+
expiresAt: S.optional(S.NullOr(S.String)),
|
|
1593
|
+
id: S.String,
|
|
1594
|
+
name: S.String,
|
|
1595
|
+
orgCapabilities: OrgCapabilities,
|
|
1596
|
+
samlAuthenticated: S.optional(S.Boolean),
|
|
1597
|
+
viewCapabilities: S.optional(ViewCapabilities),
|
|
1598
|
+
token: S.optional(S.String),
|
|
1599
|
+
})).annotate({
|
|
1600
|
+
identifier: "RegenerateAPITokenResponse",
|
|
1601
|
+
});
|
|
1602
|
+
export const RemoveUserFromOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1603
|
+
id: S.String.pipe(T.Label()),
|
|
1604
|
+
}).pipe(T.Http({ method: "DELETE", uri: "/v2/users/{id}", code: 200 }))).annotate({
|
|
1605
|
+
identifier: "RemoveUserFromOrgRequest",
|
|
1606
|
+
});
|
|
1607
|
+
export const RemoveUserFromOrgResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1608
|
+
identifier: "RemoveUserFromOrgResponse",
|
|
1609
|
+
});
|
|
1610
|
+
export const TrimDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1611
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1612
|
+
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
|
+
});
|
|
1620
|
+
export const TrimDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1621
|
+
identifier: "TrimDatasetResponse",
|
|
1622
|
+
});
|
|
1623
|
+
export const UpdateAnnotationRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1624
|
+
export const UpdateAnnotationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1625
|
+
id: S.String.pipe(T.Label()),
|
|
1626
|
+
datasets: S.optional(UpdateAnnotationRequestDatasetsList),
|
|
1627
|
+
description: S.optional(S.String),
|
|
1628
|
+
endTime: S.optional(S.String),
|
|
1629
|
+
time: S.optional(S.String),
|
|
1630
|
+
title: S.optional(S.String),
|
|
1631
|
+
type: S.optional(S.String),
|
|
1632
|
+
url: S.optional(S.String),
|
|
1633
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/annotations/{id}", code: 200 }))).annotate({
|
|
1634
|
+
identifier: "UpdateAnnotationRequest",
|
|
1635
|
+
});
|
|
1636
|
+
export const UpdateCurrentUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1637
|
+
name: S.String,
|
|
1638
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/user", code: 200 }))).annotate({
|
|
1639
|
+
identifier: "UpdateCurrentUserRequest",
|
|
1640
|
+
});
|
|
1641
|
+
export const UpdateDashboardRequestVersion = S.Unknown;
|
|
1642
|
+
export const UpdateDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1643
|
+
uid: S.String.pipe(T.Label()),
|
|
1644
|
+
dashboard: Dashboard,
|
|
1645
|
+
message: S.optional(S.String),
|
|
1646
|
+
overwrite: S.optional(S.Boolean),
|
|
1647
|
+
version: S.optional(UpdateDashboardRequestVersion),
|
|
1648
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/dashboards/uid/{uid}", code: 200 }))).annotate({
|
|
1649
|
+
identifier: "UpdateDashboardRequest",
|
|
1650
|
+
});
|
|
1651
|
+
export const UpdateDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1652
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1653
|
+
description: S.optional(S.String),
|
|
1654
|
+
retentionDays: S.optional(S.Number),
|
|
1655
|
+
useRetentionPeriod: S.optional(S.Boolean),
|
|
1656
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/datasets/{dataset_id}", code: 200 }))).annotate({
|
|
1657
|
+
identifier: "UpdateDatasetRequest",
|
|
1658
|
+
});
|
|
1659
|
+
export const UpdateFieldForDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1660
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1661
|
+
field_id: S.String.pipe(T.Label()),
|
|
1662
|
+
description: S.optional(S.String),
|
|
1663
|
+
hidden: S.optional(S.Boolean),
|
|
1664
|
+
name: S.String,
|
|
1665
|
+
type: S.String,
|
|
1666
|
+
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({
|
|
1672
|
+
identifier: "UpdateFieldForDatasetRequest",
|
|
1673
|
+
});
|
|
1674
|
+
export const UpdateGroupRequestMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1675
|
+
export const UpdateGroupRequestRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1676
|
+
export const UpdateGroupRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1677
|
+
id: S.String.pipe(T.Label()),
|
|
1678
|
+
description: S.optional(S.String),
|
|
1679
|
+
members: S.optional(UpdateGroupRequestMembersList),
|
|
1680
|
+
name: S.String,
|
|
1681
|
+
roles: S.optional(UpdateGroupRequestRolesList),
|
|
1682
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/groups/{id}", code: 200 }))).annotate({
|
|
1683
|
+
identifier: "UpdateGroupRequest",
|
|
1684
|
+
});
|
|
1685
|
+
export const UpdateGroupResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1686
|
+
export const UpdateGroupResponseRolesList = /*@__PURE__*/ S.Array(S.String);
|
|
1687
|
+
export const UpdateGroupResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1688
|
+
description: S.optional(S.String),
|
|
1689
|
+
isManaged: S.optional(S.Boolean),
|
|
1690
|
+
members: S.optional(UpdateGroupResponseMembersList),
|
|
1691
|
+
name: S.String,
|
|
1692
|
+
roles: S.optional(UpdateGroupResponseRolesList),
|
|
1693
|
+
id: S.String,
|
|
1694
|
+
})).annotate({
|
|
1695
|
+
identifier: "UpdateGroupResponse",
|
|
1696
|
+
});
|
|
1697
|
+
export const UpdateMapFieldsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1698
|
+
dataset_id: S.String.pipe(T.Label()),
|
|
1699
|
+
body: MapFields.pipe(T.HttpBody()),
|
|
1700
|
+
}).pipe(T.Http({
|
|
1701
|
+
method: "PUT",
|
|
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
|
+
});
|
|
1710
|
+
export const UpdateMonitorRequestNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1711
|
+
export const UpdateMonitorRequestOperator = S.String;
|
|
1712
|
+
export const UpdateMonitorRequestType = S.String;
|
|
1713
|
+
export const UpdateMonitorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1714
|
+
id: S.String.pipe(T.Label()),
|
|
1715
|
+
alertOnNoData: S.optional(S.Boolean),
|
|
1716
|
+
aplQuery: S.optional(S.String),
|
|
1717
|
+
columnName: S.optional(S.String),
|
|
1718
|
+
compareDays: S.optional(S.Number),
|
|
1719
|
+
createdAt: S.optional(S.String),
|
|
1720
|
+
createdBy: S.optional(S.String),
|
|
1721
|
+
description: S.optional(S.String),
|
|
1722
|
+
disabled: S.optional(S.Boolean),
|
|
1723
|
+
disabledUntil: S.optional(S.NullOr(S.String)),
|
|
1724
|
+
intervalMinutes: S.optional(S.Number),
|
|
1725
|
+
mplQuery: S.optional(S.String),
|
|
1726
|
+
name: S.String,
|
|
1727
|
+
notifierIds: S.optional(UpdateMonitorRequestNotifierIdsList),
|
|
1728
|
+
notifyByGroup: S.optional(S.Boolean),
|
|
1729
|
+
notifyEveryRun: S.optional(S.Boolean),
|
|
1730
|
+
operator: S.optional(UpdateMonitorRequestOperator),
|
|
1731
|
+
rangeMinutes: S.optional(S.Number),
|
|
1732
|
+
resolvable: S.optional(S.Boolean),
|
|
1733
|
+
secondDelay: S.optional(S.Number),
|
|
1734
|
+
skipResolved: S.optional(S.Boolean),
|
|
1735
|
+
threshold: S.optional(S.Number),
|
|
1736
|
+
tolerance: S.optional(S.Number),
|
|
1737
|
+
triggerAfterNPositiveResults: S.optional(S.Number),
|
|
1738
|
+
triggerFromNRuns: S.optional(S.Number),
|
|
1739
|
+
type: UpdateMonitorRequestType,
|
|
1740
|
+
updatedAt: S.optional(S.String),
|
|
1741
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/monitors/{id}", code: 200 }))).annotate({
|
|
1742
|
+
identifier: "UpdateMonitorRequest",
|
|
1743
|
+
});
|
|
1744
|
+
export const UpdateMonitorResponseNotifierIdsList = /*@__PURE__*/ S.Array(S.String);
|
|
1745
|
+
export const UpdateMonitorResponseOperator = S.String;
|
|
1746
|
+
export const UpdateMonitorResponseType = S.String;
|
|
1747
|
+
export const UpdateMonitorResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1748
|
+
alertOnNoData: S.optional(S.Boolean),
|
|
1749
|
+
aplQuery: S.optional(S.String),
|
|
1750
|
+
columnName: S.optional(S.String),
|
|
1751
|
+
compareDays: S.optional(S.Number),
|
|
1752
|
+
createdAt: S.optional(S.String),
|
|
1753
|
+
createdBy: S.optional(S.String),
|
|
1754
|
+
description: S.optional(S.String),
|
|
1755
|
+
disabled: S.optional(S.Boolean),
|
|
1756
|
+
disabledUntil: S.optional(S.NullOr(S.String)),
|
|
1757
|
+
intervalMinutes: S.optional(S.Number),
|
|
1758
|
+
mplQuery: S.optional(S.String),
|
|
1759
|
+
name: S.String,
|
|
1760
|
+
notifierIds: S.optional(UpdateMonitorResponseNotifierIdsList),
|
|
1761
|
+
notifyByGroup: S.optional(S.Boolean),
|
|
1762
|
+
notifyEveryRun: S.optional(S.Boolean),
|
|
1763
|
+
operator: S.optional(UpdateMonitorResponseOperator),
|
|
1764
|
+
rangeMinutes: S.optional(S.Number),
|
|
1765
|
+
resolvable: S.optional(S.Boolean),
|
|
1766
|
+
secondDelay: S.optional(S.Number),
|
|
1767
|
+
skipResolved: S.optional(S.Boolean),
|
|
1768
|
+
threshold: S.optional(S.Number),
|
|
1769
|
+
tolerance: S.optional(S.Number),
|
|
1770
|
+
triggerAfterNPositiveResults: S.optional(S.Number),
|
|
1771
|
+
triggerFromNRuns: S.optional(S.Number),
|
|
1772
|
+
type: UpdateMonitorResponseType,
|
|
1773
|
+
updatedAt: S.optional(S.String),
|
|
1774
|
+
id: S.String,
|
|
1775
|
+
})).annotate({
|
|
1776
|
+
identifier: "UpdateMonitorResponse",
|
|
1777
|
+
});
|
|
1778
|
+
export const UpdateNotifierRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1779
|
+
id: S.String.pipe(T.Label()),
|
|
1780
|
+
disabledUntil: S.optional(S.String),
|
|
1781
|
+
name: S.String,
|
|
1782
|
+
properties: NotifierProperties,
|
|
1783
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/notifiers/{id}", code: 200 }))).annotate({
|
|
1784
|
+
identifier: "UpdateNotifierRequest",
|
|
1785
|
+
});
|
|
1786
|
+
export const UpdateNotifierResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1787
|
+
createdAt: S.optional(S.String),
|
|
1788
|
+
createdBy: S.optional(S.String),
|
|
1789
|
+
disabledUntil: S.optional(S.String),
|
|
1790
|
+
name: S.String,
|
|
1791
|
+
properties: NotifierProperties,
|
|
1792
|
+
updatedAt: S.optional(S.String),
|
|
1793
|
+
id: S.optional(S.String),
|
|
1794
|
+
})).annotate({
|
|
1795
|
+
identifier: "UpdateNotifierResponse",
|
|
1796
|
+
});
|
|
1797
|
+
export const UpdateOrgRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1798
|
+
id: S.String.pipe(T.Label()),
|
|
1799
|
+
name: S.String,
|
|
1800
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/orgs/{id}", code: 200 }))).annotate({
|
|
1801
|
+
identifier: "UpdateOrgRequest",
|
|
1802
|
+
});
|
|
1803
|
+
export const UpdateRoleRequestMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1804
|
+
export const UpdateRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1805
|
+
id: S.String.pipe(T.Label()),
|
|
1806
|
+
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
1807
|
+
description: S.optional(S.String),
|
|
1808
|
+
members: S.optional(UpdateRoleRequestMembersList),
|
|
1809
|
+
name: S.String,
|
|
1810
|
+
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1811
|
+
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1812
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/rbac/roles/{id}", code: 200 }))).annotate({
|
|
1813
|
+
identifier: "UpdateRoleRequest",
|
|
1814
|
+
});
|
|
1815
|
+
export const UpdateRoleResponseMembersList = /*@__PURE__*/ S.Array(S.String);
|
|
1816
|
+
export const UpdateRoleResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1817
|
+
datasetCapabilities: S.optional(RoleDatasetCapabilities),
|
|
1818
|
+
description: S.optional(S.String),
|
|
1819
|
+
members: S.optional(UpdateRoleResponseMembersList),
|
|
1820
|
+
name: S.String,
|
|
1821
|
+
orgCapabilities: S.optional(RoleOrgCapabilities),
|
|
1822
|
+
viewCapabilities: S.optional(RoleViewCapabilities),
|
|
1823
|
+
id: S.String,
|
|
1824
|
+
})).annotate({
|
|
1825
|
+
identifier: "UpdateRoleResponse",
|
|
1826
|
+
});
|
|
1827
|
+
export const UpdateStarredRequestKind = S.String;
|
|
1828
|
+
export const UpdateStarredRequestMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1829
|
+
export const UpdateStarredRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1830
|
+
id: S.String.pipe(T.Label()),
|
|
1831
|
+
dataset: S.optional(S.String),
|
|
1832
|
+
kind: UpdateStarredRequestKind,
|
|
1833
|
+
metadata: UpdateStarredRequestMetadataMap,
|
|
1834
|
+
name: S.String,
|
|
1835
|
+
query: APLRequestWithOptions,
|
|
1836
|
+
who: S.String,
|
|
1837
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/apl-starred-queries/{id}", code: 200 }))).annotate({
|
|
1838
|
+
identifier: "UpdateStarredRequest",
|
|
1839
|
+
});
|
|
1840
|
+
export const UpdateStarredResponseKind = S.String;
|
|
1841
|
+
export const UpdateStarredResponseMetadataMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
1842
|
+
export const UpdateStarredResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1843
|
+
dataset: S.optional(S.String),
|
|
1844
|
+
kind: UpdateStarredResponseKind,
|
|
1845
|
+
metadata: UpdateStarredResponseMetadataMap,
|
|
1846
|
+
name: S.String,
|
|
1847
|
+
query: APLRequestWithOptions,
|
|
1848
|
+
who: S.String,
|
|
1849
|
+
id: S.String,
|
|
1850
|
+
})).annotate({
|
|
1851
|
+
identifier: "UpdateStarredResponse",
|
|
1852
|
+
});
|
|
1853
|
+
export const UpdateUserRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1854
|
+
id: S.String.pipe(T.Label()),
|
|
1855
|
+
role: S.String,
|
|
1856
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/users/{id}/role", code: 200 }))).annotate({
|
|
1857
|
+
identifier: "UpdateUserRoleRequest",
|
|
1858
|
+
});
|
|
1859
|
+
export const UpdateViewRequestDatasetsList = /*@__PURE__*/ S.Array(S.String);
|
|
1860
|
+
export const UpdateViewRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1861
|
+
id: S.String.pipe(T.Label()),
|
|
1862
|
+
aplQuery: S.String,
|
|
1863
|
+
datasets: S.optional(UpdateViewRequestDatasetsList),
|
|
1864
|
+
description: S.optional(S.String),
|
|
1865
|
+
name: S.String,
|
|
1866
|
+
sharedByOrg: S.optional(S.String),
|
|
1867
|
+
sharedByOrgName: S.optional(S.String),
|
|
1868
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/views/{id}", code: 200 }))).annotate({
|
|
1869
|
+
identifier: "UpdateViewRequest",
|
|
1870
|
+
});
|
|
1871
|
+
export const UpdateVirtualFieldRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1872
|
+
id: S.String.pipe(T.Label()),
|
|
1873
|
+
dataset: S.String,
|
|
1874
|
+
description: S.optional(S.String),
|
|
1875
|
+
expression: S.String,
|
|
1876
|
+
name: S.String,
|
|
1877
|
+
type: S.optional(S.String),
|
|
1878
|
+
unit: S.optional(S.String),
|
|
1879
|
+
}).pipe(T.Http({ method: "PUT", uri: "/v2/vfields/{id}", code: 200 }))).annotate({
|
|
1880
|
+
identifier: "UpdateVirtualFieldRequest",
|
|
1881
|
+
});
|
|
1882
|
+
export const UpdateVirtualFieldResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1883
|
+
dataset: S.String,
|
|
1884
|
+
description: S.optional(S.String),
|
|
1885
|
+
expression: S.String,
|
|
1886
|
+
name: S.String,
|
|
1887
|
+
type: S.optional(S.String),
|
|
1888
|
+
unit: S.optional(S.String),
|
|
1889
|
+
id: S.String,
|
|
1890
|
+
})).annotate({
|
|
1891
|
+
identifier: "UpdateVirtualFieldResponse",
|
|
1892
|
+
});
|
|
1893
|
+
export const VacuumDatasetRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1894
|
+
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
|
+
});
|
|
1902
|
+
export const VacuumDatasetResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1903
|
+
identifier: "VacuumDatasetResponse",
|
|
1904
|
+
});
|
|
1905
|
+
/** Create annotation */
|
|
1906
|
+
export const createAnnotation = /*@__PURE__*/ API.make(() => ({
|
|
1907
|
+
input: CreateAnnotationRequest,
|
|
1908
|
+
output: Annotation,
|
|
1909
|
+
errors: [BadRequest, UnprocessableEntity, UnknownAxiomError],
|
|
1910
|
+
protocol: AxiomProtocol,
|
|
1911
|
+
retry: Retry.Retry,
|
|
1912
|
+
}));
|
|
1913
|
+
/** Create API token */
|
|
1914
|
+
export const createAPIToken = /*@__PURE__*/ API.make(() => ({
|
|
1915
|
+
input: CreateAPITokenRequest,
|
|
1916
|
+
output: CreateAPITokenResponse,
|
|
1917
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
1918
|
+
protocol: AxiomProtocol,
|
|
1919
|
+
retry: Retry.Retry,
|
|
1920
|
+
}));
|
|
1921
|
+
/** Create dashboard Create a dashboard from a dashboard document payload. */
|
|
1922
|
+
export const createDashboard = /*@__PURE__*/ API.make(() => ({
|
|
1923
|
+
input: CreateDashboardRequest,
|
|
1924
|
+
output: DashboardWriteResponse,
|
|
1925
|
+
errors: [BadRequest, Conflict, UnknownAxiomError],
|
|
1926
|
+
protocol: AxiomProtocol,
|
|
1927
|
+
retry: Retry.Retry,
|
|
1928
|
+
}));
|
|
1929
|
+
/** Create dataset Create dataset */
|
|
1930
|
+
export const createDataset = /*@__PURE__*/ API.make(() => ({
|
|
1931
|
+
input: CreateDatasetRequest,
|
|
1932
|
+
output: Dataset,
|
|
1933
|
+
errors: [BadRequest, Forbidden, UnprocessableEntity, UnknownAxiomError],
|
|
1934
|
+
protocol: AxiomProtocol,
|
|
1935
|
+
retry: Retry.Retry,
|
|
1936
|
+
}));
|
|
1937
|
+
/** Create group Creates a new group in the organization. */
|
|
1938
|
+
export const createGroup = /*@__PURE__*/ API.make(() => ({
|
|
1939
|
+
input: CreateGroupRequest,
|
|
1940
|
+
output: CreateGroupResponse,
|
|
1941
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
1942
|
+
protocol: AxiomProtocol,
|
|
1943
|
+
retry: Retry.Retry,
|
|
1944
|
+
}));
|
|
1945
|
+
export const createMapField = /*@__PURE__*/ API.make(() => ({
|
|
1946
|
+
input: CreateMapFieldRequest,
|
|
1947
|
+
output: MapField,
|
|
1948
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
1949
|
+
protocol: AxiomProtocol,
|
|
1950
|
+
retry: Retry.Retry,
|
|
1951
|
+
}));
|
|
1952
|
+
/** Create monitor */
|
|
1953
|
+
export const createMonitor = /*@__PURE__*/ API.make(() => ({
|
|
1954
|
+
input: CreateMonitorRequest,
|
|
1955
|
+
output: CreateMonitorResponse,
|
|
1956
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
1957
|
+
protocol: AxiomProtocol,
|
|
1958
|
+
retry: Retry.Retry,
|
|
1959
|
+
}));
|
|
1960
|
+
/** Creates a new notifier configuration for sending alerts through various channels (Slack, Email, etc) */
|
|
1961
|
+
export const createNotifier = /*@__PURE__*/ API.make(() => ({
|
|
1962
|
+
input: CreateNotifierRequest,
|
|
1963
|
+
output: CreateNotifierResponse,
|
|
1964
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
1965
|
+
protocol: AxiomProtocol,
|
|
1966
|
+
retry: Retry.Retry,
|
|
1967
|
+
}));
|
|
1968
|
+
export const createOrg = /*@__PURE__*/ API.make(() => ({
|
|
1969
|
+
input: CreateOrgRequest,
|
|
1970
|
+
output: Org,
|
|
1971
|
+
errors: [UnknownAxiomError],
|
|
1972
|
+
protocol: AxiomProtocol,
|
|
1973
|
+
retry: Retry.Retry,
|
|
1974
|
+
}));
|
|
1975
|
+
/** Create role Creates a new role in the organization with the specified permissions and member assignments. */
|
|
1976
|
+
export const createRole = /*@__PURE__*/ API.make(() => ({
|
|
1977
|
+
input: CreateRoleRequest,
|
|
1978
|
+
output: CreateRoleResponse,
|
|
1979
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
1980
|
+
protocol: AxiomProtocol,
|
|
1981
|
+
retry: Retry.Retry,
|
|
1982
|
+
}));
|
|
1983
|
+
export const createStarred = /*@__PURE__*/ API.make(() => ({
|
|
1984
|
+
input: CreateStarredRequest,
|
|
1985
|
+
output: CreateStarredResponse,
|
|
1986
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
1987
|
+
protocol: AxiomProtocol,
|
|
1988
|
+
retry: Retry.Retry,
|
|
1989
|
+
}));
|
|
1990
|
+
/** Create user */
|
|
1991
|
+
export const createUser = /*@__PURE__*/ API.make(() => ({
|
|
1992
|
+
input: CreateUserRequest,
|
|
1993
|
+
output: User,
|
|
1994
|
+
errors: [BadRequest, UnprocessableEntity, UnknownAxiomError],
|
|
1995
|
+
protocol: AxiomProtocol,
|
|
1996
|
+
retry: Retry.Retry,
|
|
1997
|
+
}));
|
|
1998
|
+
export const createView = /*@__PURE__*/ API.make(() => ({
|
|
1999
|
+
input: CreateViewRequest,
|
|
2000
|
+
output: View,
|
|
2001
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
2002
|
+
protocol: AxiomProtocol,
|
|
2003
|
+
retry: Retry.Retry,
|
|
2004
|
+
}));
|
|
2005
|
+
export const createVirtualField = /*@__PURE__*/ API.make(() => ({
|
|
2006
|
+
input: CreateVirtualFieldRequest,
|
|
2007
|
+
output: CreateVirtualFieldResponse,
|
|
2008
|
+
errors: [UnprocessableEntity, UnknownAxiomError],
|
|
2009
|
+
protocol: AxiomProtocol,
|
|
2010
|
+
retry: Retry.Retry,
|
|
2011
|
+
}));
|
|
2012
|
+
/** Delete annotation */
|
|
2013
|
+
export const deleteAnnotation = /*@__PURE__*/ API.make(() => ({
|
|
2014
|
+
input: DeleteAnnotationRequest,
|
|
2015
|
+
output: DeleteAnnotationResponse,
|
|
2016
|
+
errors: [BadRequest, NotFound, UnknownAxiomError],
|
|
2017
|
+
protocol: AxiomProtocol,
|
|
2018
|
+
retry: Retry.Retry,
|
|
2019
|
+
}));
|
|
2020
|
+
/** Delete API token */
|
|
2021
|
+
export const deleteAPIToken = /*@__PURE__*/ API.make(() => ({
|
|
2022
|
+
input: DeleteAPITokenRequest,
|
|
2023
|
+
output: DeleteAPITokenResponse,
|
|
2024
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2025
|
+
protocol: AxiomProtocol,
|
|
2026
|
+
retry: Retry.Retry,
|
|
2027
|
+
}));
|
|
2028
|
+
/** Delete dashboard Delete a dashboard by UID. */
|
|
2029
|
+
export const deleteDashboard = /*@__PURE__*/ API.make(() => ({
|
|
2030
|
+
input: DeleteDashboardRequest,
|
|
2031
|
+
output: DeleteDashboardResponse,
|
|
2032
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2033
|
+
protocol: AxiomProtocol,
|
|
2034
|
+
retry: Retry.Retry,
|
|
2035
|
+
}));
|
|
2036
|
+
/** Delete dataset Delete dataset */
|
|
2037
|
+
export const deleteDataset = /*@__PURE__*/ API.make(() => ({
|
|
2038
|
+
input: DeleteDatasetRequest,
|
|
2039
|
+
output: DeleteDatasetResponse,
|
|
2040
|
+
errors: [Forbidden, NotFound, UnknownAxiomError],
|
|
2041
|
+
protocol: AxiomProtocol,
|
|
2042
|
+
retry: Retry.Retry,
|
|
2043
|
+
}));
|
|
2044
|
+
/** Delete group Permanently removes a group from the organization. */
|
|
2045
|
+
export const deleteGroup = /*@__PURE__*/ API.make(() => ({
|
|
2046
|
+
input: DeleteGroupRequest,
|
|
2047
|
+
output: DeleteGroupResponse,
|
|
2048
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2049
|
+
protocol: AxiomProtocol,
|
|
2050
|
+
retry: Retry.Retry,
|
|
2051
|
+
}));
|
|
2052
|
+
export const deleteMapField = /*@__PURE__*/ API.make(() => ({
|
|
2053
|
+
input: DeleteMapFieldRequest,
|
|
2054
|
+
output: DeleteMapFieldResponse,
|
|
2055
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2056
|
+
protocol: AxiomProtocol,
|
|
2057
|
+
retry: Retry.Retry,
|
|
2058
|
+
}));
|
|
2059
|
+
/** Delete monitor */
|
|
2060
|
+
export const deleteMonitor = /*@__PURE__*/ API.make(() => ({
|
|
2061
|
+
input: DeleteMonitorRequest,
|
|
2062
|
+
output: DeleteMonitorResponse,
|
|
2063
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2064
|
+
protocol: AxiomProtocol,
|
|
2065
|
+
retry: Retry.Retry,
|
|
2066
|
+
}));
|
|
2067
|
+
/** Delete notifier */
|
|
2068
|
+
export const deleteNotifier = /*@__PURE__*/ API.make(() => ({
|
|
2069
|
+
input: DeleteNotifierRequest,
|
|
2070
|
+
output: DeleteNotifierResponse,
|
|
2071
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2072
|
+
protocol: AxiomProtocol,
|
|
2073
|
+
retry: Retry.Retry,
|
|
2074
|
+
}));
|
|
2075
|
+
/** Delete role Permanently removes a role from the organization. */
|
|
2076
|
+
export const deleteRole = /*@__PURE__*/ API.make(() => ({
|
|
2077
|
+
input: DeleteRoleRequest,
|
|
2078
|
+
output: DeleteRoleResponse,
|
|
2079
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2080
|
+
protocol: AxiomProtocol,
|
|
2081
|
+
retry: Retry.Retry,
|
|
2082
|
+
}));
|
|
2083
|
+
export const deleteStarred = /*@__PURE__*/ API.make(() => ({
|
|
2084
|
+
input: DeleteStarredRequest,
|
|
2085
|
+
output: DeleteStarredResponse,
|
|
2086
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2087
|
+
protocol: AxiomProtocol,
|
|
2088
|
+
retry: Retry.Retry,
|
|
2089
|
+
}));
|
|
2090
|
+
export const deleteView = /*@__PURE__*/ API.make(() => ({
|
|
2091
|
+
input: DeleteViewRequest,
|
|
2092
|
+
output: DeleteViewResponse,
|
|
2093
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2094
|
+
protocol: AxiomProtocol,
|
|
2095
|
+
retry: Retry.Retry,
|
|
2096
|
+
}));
|
|
2097
|
+
export const deleteVirtualField = /*@__PURE__*/ API.make(() => ({
|
|
2098
|
+
input: DeleteVirtualFieldRequest,
|
|
2099
|
+
output: DeleteVirtualFieldResponse,
|
|
2100
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2101
|
+
protocol: AxiomProtocol,
|
|
2102
|
+
retry: Retry.Retry,
|
|
2103
|
+
}));
|
|
2104
|
+
/** Get annotation by ID */
|
|
2105
|
+
export const getAnnotation = /*@__PURE__*/ API.make(() => ({
|
|
2106
|
+
input: GetAnnotationRequest,
|
|
2107
|
+
output: Annotation,
|
|
2108
|
+
errors: [BadRequest, NotFound, UnknownAxiomError],
|
|
2109
|
+
protocol: AxiomProtocol,
|
|
2110
|
+
retry: Retry.Retry,
|
|
2111
|
+
}));
|
|
2112
|
+
/** Get annotations */
|
|
2113
|
+
export const getAnnotations = /*@__PURE__*/ API.make(() => ({
|
|
2114
|
+
input: GetAnnotationsRequest,
|
|
2115
|
+
output: GetAnnotationsResponse,
|
|
2116
|
+
errors: [UnknownAxiomError],
|
|
2117
|
+
protocol: AxiomProtocol,
|
|
2118
|
+
retry: Retry.Retry,
|
|
2119
|
+
}));
|
|
2120
|
+
/** Get API token by ID */
|
|
2121
|
+
export const getAPIToken = /*@__PURE__*/ API.make(() => ({
|
|
2122
|
+
input: GetAPITokenRequest,
|
|
2123
|
+
output: APIToken,
|
|
2124
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2125
|
+
protocol: AxiomProtocol,
|
|
2126
|
+
retry: Retry.Retry,
|
|
2127
|
+
}));
|
|
2128
|
+
/** Get API tokens */
|
|
2129
|
+
export const getAPITokens = /*@__PURE__*/ API.make(() => ({
|
|
2130
|
+
input: GetAPITokensRequest,
|
|
2131
|
+
output: GetAPITokensResponse,
|
|
2132
|
+
errors: [UnknownAxiomError],
|
|
2133
|
+
protocol: AxiomProtocol,
|
|
2134
|
+
retry: Retry.Retry,
|
|
2135
|
+
}));
|
|
2136
|
+
/** Get current user */
|
|
2137
|
+
export const getCurrentUser = /*@__PURE__*/ API.make(() => ({
|
|
2138
|
+
input: GetCurrentUserRequest,
|
|
2139
|
+
output: User,
|
|
2140
|
+
errors: [UnknownAxiomError],
|
|
2141
|
+
protocol: AxiomProtocol,
|
|
2142
|
+
retry: Retry.Retry,
|
|
2143
|
+
}));
|
|
2144
|
+
/** Get dashboard Get a dashboard by UID. */
|
|
2145
|
+
export const getDashboard = /*@__PURE__*/ API.make(() => ({
|
|
2146
|
+
input: GetDashboardRequest,
|
|
2147
|
+
output: DashboardResource,
|
|
2148
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2149
|
+
protocol: AxiomProtocol,
|
|
2150
|
+
retry: Retry.Retry,
|
|
2151
|
+
}));
|
|
2152
|
+
/** Get dataset by ID Get dataset by ID */
|
|
2153
|
+
export const getDataset = /*@__PURE__*/ API.make(() => ({
|
|
2154
|
+
input: GetDatasetRequest,
|
|
2155
|
+
output: Dataset,
|
|
2156
|
+
errors: [Forbidden, NotFound, UnknownAxiomError],
|
|
2157
|
+
protocol: AxiomProtocol,
|
|
2158
|
+
retry: Retry.Retry,
|
|
2159
|
+
}));
|
|
2160
|
+
/** Get list of datasets Get list of datasets */
|
|
2161
|
+
export const getDatasets = /*@__PURE__*/ API.make(() => ({
|
|
2162
|
+
input: GetDatasetsRequest,
|
|
2163
|
+
output: GetDatasetsResponse,
|
|
2164
|
+
errors: [Forbidden, UnknownAxiomError],
|
|
2165
|
+
protocol: AxiomProtocol,
|
|
2166
|
+
retry: Retry.Retry,
|
|
2167
|
+
}));
|
|
2168
|
+
export const getFieldForDataset = /*@__PURE__*/ API.make(() => ({
|
|
2169
|
+
input: GetFieldForDatasetRequest,
|
|
2170
|
+
output: DatasetField,
|
|
2171
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2172
|
+
protocol: AxiomProtocol,
|
|
2173
|
+
retry: Retry.Retry,
|
|
2174
|
+
}));
|
|
2175
|
+
export const getFieldsForDataset = /*@__PURE__*/ API.make(() => ({
|
|
2176
|
+
input: GetFieldsForDatasetRequest,
|
|
2177
|
+
output: GetFieldsForDatasetResponse,
|
|
2178
|
+
errors: [Forbidden, NotFound, UnknownAxiomError],
|
|
2179
|
+
protocol: AxiomProtocol,
|
|
2180
|
+
retry: Retry.Retry,
|
|
2181
|
+
}));
|
|
2182
|
+
/** Get group by ID Retrieves detailed information about a specific group by its unique identifier. */
|
|
2183
|
+
export const getGroupById = /*@__PURE__*/ API.make(() => ({
|
|
2184
|
+
input: GetGroupByIdRequest,
|
|
2185
|
+
output: GetGroupByIdResponse,
|
|
2186
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2187
|
+
protocol: AxiomProtocol,
|
|
2188
|
+
retry: Retry.Retry,
|
|
2189
|
+
}));
|
|
2190
|
+
export const getMapFields = /*@__PURE__*/ API.make(() => ({
|
|
2191
|
+
input: GetMapFieldsRequest,
|
|
2192
|
+
output: GetMapFieldsResponse,
|
|
2193
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2194
|
+
protocol: AxiomProtocol,
|
|
2195
|
+
retry: Retry.Retry,
|
|
2196
|
+
}));
|
|
2197
|
+
/** Retrieves detailed configuration for a specific monitor by its unique identifier */
|
|
2198
|
+
export const getMonitor = /*@__PURE__*/ API.make(() => ({
|
|
2199
|
+
input: GetMonitorRequest,
|
|
2200
|
+
output: GetMonitorResponse,
|
|
2201
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2202
|
+
protocol: AxiomProtocol,
|
|
2203
|
+
retry: Retry.Retry,
|
|
2204
|
+
}));
|
|
2205
|
+
/** Get monitor history */
|
|
2206
|
+
export const getMonitorHistory = /*@__PURE__*/ API.make(() => ({
|
|
2207
|
+
input: GetMonitorHistoryRequest,
|
|
2208
|
+
output: GetMonitorHistoryResponse,
|
|
2209
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2210
|
+
protocol: AxiomProtocol,
|
|
2211
|
+
retry: Retry.Retry,
|
|
2212
|
+
}));
|
|
2213
|
+
/** Lists all configured monitors. Returns an array of monitor configurations including their IDs and current status. */
|
|
2214
|
+
export const getMonitors = /*@__PURE__*/ API.make(() => ({
|
|
2215
|
+
input: GetMonitorsRequest,
|
|
2216
|
+
output: GetMonitorsResponse,
|
|
2217
|
+
errors: [UnknownAxiomError],
|
|
2218
|
+
protocol: AxiomProtocol,
|
|
2219
|
+
retry: Retry.Retry,
|
|
2220
|
+
}));
|
|
2221
|
+
/** Retrieves detailed configuration for a specific notifier by its unique identifier */
|
|
2222
|
+
export const getNotifier = /*@__PURE__*/ API.make(() => ({
|
|
2223
|
+
input: GetNotifierRequest,
|
|
2224
|
+
output: GetNotifierResponse,
|
|
2225
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2226
|
+
protocol: AxiomProtocol,
|
|
2227
|
+
retry: Retry.Retry,
|
|
2228
|
+
}));
|
|
2229
|
+
/** Lists all configured notifiers. Returns an array of notification configurations including their IDs and current status. */
|
|
2230
|
+
export const getNotifiers = /*@__PURE__*/ API.make(() => ({
|
|
2231
|
+
input: GetNotifiersRequest,
|
|
2232
|
+
output: GetNotifiersResponse,
|
|
2233
|
+
errors: [UnknownAxiomError],
|
|
2234
|
+
protocol: AxiomProtocol,
|
|
2235
|
+
retry: Retry.Retry,
|
|
2236
|
+
}));
|
|
2237
|
+
export const getOrg = /*@__PURE__*/ API.make(() => ({
|
|
2238
|
+
input: GetOrgRequest,
|
|
2239
|
+
output: Org,
|
|
2240
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2241
|
+
protocol: AxiomProtocol,
|
|
2242
|
+
retry: Retry.Retry,
|
|
2243
|
+
}));
|
|
2244
|
+
export const getOrgs = /*@__PURE__*/ API.make(() => ({
|
|
2245
|
+
input: GetOrgsRequest,
|
|
2246
|
+
output: GetOrgsResponse,
|
|
2247
|
+
errors: [UnknownAxiomError],
|
|
2248
|
+
protocol: AxiomProtocol,
|
|
2249
|
+
retry: Retry.Retry,
|
|
2250
|
+
}));
|
|
2251
|
+
/** Get role by ID Retrieves detailed information about a specific role by its unique identifier. */
|
|
2252
|
+
export const getRoleById = /*@__PURE__*/ API.make(() => ({
|
|
2253
|
+
input: GetRoleByIdRequest,
|
|
2254
|
+
output: GetRoleByIdResponse,
|
|
2255
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2256
|
+
protocol: AxiomProtocol,
|
|
2257
|
+
retry: Retry.Retry,
|
|
2258
|
+
}));
|
|
2259
|
+
export const getStarred = /*@__PURE__*/ API.make(() => ({
|
|
2260
|
+
input: GetStarredRequest,
|
|
2261
|
+
output: GetStarredResponse,
|
|
2262
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2263
|
+
protocol: AxiomProtocol,
|
|
2264
|
+
retry: Retry.Retry,
|
|
2265
|
+
}));
|
|
2266
|
+
export const getStarredQueries = /*@__PURE__*/ API.make(() => ({
|
|
2267
|
+
input: GetStarredQueriesRequest,
|
|
2268
|
+
output: GetStarredQueriesResponse,
|
|
2269
|
+
errors: [UnknownAxiomError],
|
|
2270
|
+
protocol: AxiomProtocol,
|
|
2271
|
+
retry: Retry.Retry,
|
|
2272
|
+
}));
|
|
2273
|
+
/** Get user by ID */
|
|
2274
|
+
export const getUser = /*@__PURE__*/ API.make(() => ({
|
|
2275
|
+
input: GetUserRequest,
|
|
2276
|
+
output: User,
|
|
2277
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2278
|
+
protocol: AxiomProtocol,
|
|
2279
|
+
retry: Retry.Retry,
|
|
2280
|
+
}));
|
|
2281
|
+
/** Get users */
|
|
2282
|
+
export const getUsers = /*@__PURE__*/ API.make(() => ({
|
|
2283
|
+
input: GetUsersRequest,
|
|
2284
|
+
output: GetUsersResponse,
|
|
2285
|
+
errors: [UnknownAxiomError],
|
|
2286
|
+
protocol: AxiomProtocol,
|
|
2287
|
+
retry: Retry.Retry,
|
|
2288
|
+
}));
|
|
2289
|
+
export const getView = /*@__PURE__*/ API.make(() => ({
|
|
2290
|
+
input: GetViewRequest,
|
|
2291
|
+
output: View,
|
|
2292
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2293
|
+
protocol: AxiomProtocol,
|
|
2294
|
+
retry: Retry.Retry,
|
|
2295
|
+
}));
|
|
2296
|
+
export const getViews = /*@__PURE__*/ API.make(() => ({
|
|
2297
|
+
input: GetViewsRequest,
|
|
2298
|
+
output: GetViewsResponse,
|
|
2299
|
+
errors: [UnknownAxiomError],
|
|
2300
|
+
protocol: AxiomProtocol,
|
|
2301
|
+
retry: Retry.Retry,
|
|
2302
|
+
}));
|
|
2303
|
+
export const getVirtualField = /*@__PURE__*/ API.make(() => ({
|
|
2304
|
+
input: GetVirtualFieldRequest,
|
|
2305
|
+
output: GetVirtualFieldResponse,
|
|
2306
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2307
|
+
protocol: AxiomProtocol,
|
|
2308
|
+
retry: Retry.Retry,
|
|
2309
|
+
}));
|
|
2310
|
+
export const getVirtualFields = /*@__PURE__*/ API.make(() => ({
|
|
2311
|
+
input: GetVirtualFieldsRequest,
|
|
2312
|
+
output: GetVirtualFieldsResponse,
|
|
2313
|
+
errors: [UnknownAxiomError],
|
|
2314
|
+
protocol: AxiomProtocol,
|
|
2315
|
+
retry: Retry.Retry,
|
|
2316
|
+
}));
|
|
2317
|
+
/** List dashboards List dashboards visible to the caller. */
|
|
2318
|
+
export const listDashboards = /*@__PURE__*/ API.make(() => ({
|
|
2319
|
+
input: ListDashboardsRequest,
|
|
2320
|
+
output: ListDashboardsResponse,
|
|
2321
|
+
errors: [UnknownAxiomError],
|
|
2322
|
+
protocol: AxiomProtocol,
|
|
2323
|
+
retry: Retry.Retry,
|
|
2324
|
+
}));
|
|
2325
|
+
/** List all groups Retrieves all groups in the organization. */
|
|
2326
|
+
export const listGroups = /*@__PURE__*/ API.make(() => ({
|
|
2327
|
+
input: ListGroupsRequest,
|
|
2328
|
+
output: ListGroupsResponse,
|
|
2329
|
+
errors: [UnknownAxiomError],
|
|
2330
|
+
protocol: AxiomProtocol,
|
|
2331
|
+
retry: Retry.Retry,
|
|
2332
|
+
}));
|
|
2333
|
+
/** List all roles Retrieves all roles in the organization with their associated permissions and members. */
|
|
2334
|
+
export const listRoles = /*@__PURE__*/ API.make(() => ({
|
|
2335
|
+
input: ListRolesRequest,
|
|
2336
|
+
output: ListRolesResponse,
|
|
2337
|
+
errors: [UnknownAxiomError],
|
|
2338
|
+
protocol: AxiomProtocol,
|
|
2339
|
+
retry: Retry.Retry,
|
|
2340
|
+
}));
|
|
2341
|
+
/** Patch dashboard chart Patch a single chart in a dashboard by chart ID. */
|
|
2342
|
+
export const patchDashboardChart = /*@__PURE__*/ API.make(() => ({
|
|
2343
|
+
input: PatchDashboardChartRequest,
|
|
2344
|
+
output: DashboardWriteResponse,
|
|
2345
|
+
errors: [BadRequest, NotFound, UnknownAxiomError],
|
|
2346
|
+
protocol: AxiomProtocol,
|
|
2347
|
+
retry: Retry.Retry,
|
|
2348
|
+
}));
|
|
2349
|
+
/** Provision a temporary organization for an agent Publicly provisions a temporary organization intended for automated agents. The organization is marked temporary with a TTL and is deleted automatically if it is not claimed before it expires. The response includes a claim URL that lets a human take ownership of the org. This endpoint is unauthenticated and strict rate limits apply. */
|
|
2350
|
+
export const provisionOrg = /*@__PURE__*/ API.make(() => ({
|
|
2351
|
+
input: ProvisionOrgRequest,
|
|
2352
|
+
output: ProvisionOrgResponse,
|
|
2353
|
+
errors: [UnknownAxiomError],
|
|
2354
|
+
protocol: AxiomProtocol,
|
|
2355
|
+
retry: Retry.Retry,
|
|
2356
|
+
}));
|
|
2357
|
+
/** Regenerate API token */
|
|
2358
|
+
export const regenerateAPIToken = /*@__PURE__*/ API.make(() => ({
|
|
2359
|
+
input: RegenerateAPITokenRequest,
|
|
2360
|
+
output: RegenerateAPITokenResponse,
|
|
2361
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2362
|
+
protocol: AxiomProtocol,
|
|
2363
|
+
retry: Retry.Retry,
|
|
2364
|
+
}));
|
|
2365
|
+
/** Remove user from org */
|
|
2366
|
+
export const removeUserFromOrg = /*@__PURE__*/ API.make(() => ({
|
|
2367
|
+
input: RemoveUserFromOrgRequest,
|
|
2368
|
+
output: RemoveUserFromOrgResponse,
|
|
2369
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2370
|
+
protocol: AxiomProtocol,
|
|
2371
|
+
retry: Retry.Retry,
|
|
2372
|
+
}));
|
|
2373
|
+
/** Trim dataset by duration Trim dataset */
|
|
2374
|
+
export const trimDataset = /*@__PURE__*/ API.make(() => ({
|
|
2375
|
+
input: TrimDatasetRequest,
|
|
2376
|
+
output: TrimDatasetResponse,
|
|
2377
|
+
errors: [Forbidden, NotFound, UnknownAxiomError],
|
|
2378
|
+
protocol: AxiomProtocol,
|
|
2379
|
+
retry: Retry.Retry,
|
|
2380
|
+
}));
|
|
2381
|
+
/** Update annotation */
|
|
2382
|
+
export const updateAnnotation = /*@__PURE__*/ API.make(() => ({
|
|
2383
|
+
input: UpdateAnnotationRequest,
|
|
2384
|
+
output: Annotation,
|
|
2385
|
+
errors: [BadRequest, NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2386
|
+
protocol: AxiomProtocol,
|
|
2387
|
+
retry: Retry.Retry,
|
|
2388
|
+
}));
|
|
2389
|
+
/** Update current user */
|
|
2390
|
+
export const updateCurrentUser = /*@__PURE__*/ API.make(() => ({
|
|
2391
|
+
input: UpdateCurrentUserRequest,
|
|
2392
|
+
output: User,
|
|
2393
|
+
errors: [UnknownAxiomError],
|
|
2394
|
+
protocol: AxiomProtocol,
|
|
2395
|
+
retry: Retry.Retry,
|
|
2396
|
+
}));
|
|
2397
|
+
/** Update dashboard Update a dashboard by UID. */
|
|
2398
|
+
export const updateDashboard = /*@__PURE__*/ API.make(() => ({
|
|
2399
|
+
input: UpdateDashboardRequest,
|
|
2400
|
+
output: DashboardWriteResponse,
|
|
2401
|
+
errors: [BadRequest, Conflict, UnknownAxiomError],
|
|
2402
|
+
protocol: AxiomProtocol,
|
|
2403
|
+
retry: Retry.Retry,
|
|
2404
|
+
}));
|
|
2405
|
+
/** Update dataset Update dataset */
|
|
2406
|
+
export const updateDataset = /*@__PURE__*/ API.make(() => ({
|
|
2407
|
+
input: UpdateDatasetRequest,
|
|
2408
|
+
output: Dataset,
|
|
2409
|
+
errors: [Forbidden, NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2410
|
+
protocol: AxiomProtocol,
|
|
2411
|
+
retry: Retry.Retry,
|
|
2412
|
+
}));
|
|
2413
|
+
export const updateFieldForDataset = /*@__PURE__*/ API.make(() => ({
|
|
2414
|
+
input: UpdateFieldForDatasetRequest,
|
|
2415
|
+
output: DatasetField,
|
|
2416
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2417
|
+
protocol: AxiomProtocol,
|
|
2418
|
+
retry: Retry.Retry,
|
|
2419
|
+
}));
|
|
2420
|
+
/** Update group Updates an existing group's configuration. */
|
|
2421
|
+
export const updateGroup = /*@__PURE__*/ API.make(() => ({
|
|
2422
|
+
input: UpdateGroupRequest,
|
|
2423
|
+
output: UpdateGroupResponse,
|
|
2424
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2425
|
+
protocol: AxiomProtocol,
|
|
2426
|
+
retry: Retry.Retry,
|
|
2427
|
+
}));
|
|
2428
|
+
export const updateMapFields = /*@__PURE__*/ API.make(() => ({
|
|
2429
|
+
input: UpdateMapFieldsRequest,
|
|
2430
|
+
output: UpdateMapFieldsResponse,
|
|
2431
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2432
|
+
protocol: AxiomProtocol,
|
|
2433
|
+
retry: Retry.Retry,
|
|
2434
|
+
}));
|
|
2435
|
+
/** Update monitor */
|
|
2436
|
+
export const updateMonitor = /*@__PURE__*/ API.make(() => ({
|
|
2437
|
+
input: UpdateMonitorRequest,
|
|
2438
|
+
output: UpdateMonitorResponse,
|
|
2439
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2440
|
+
protocol: AxiomProtocol,
|
|
2441
|
+
retry: Retry.Retry,
|
|
2442
|
+
}));
|
|
2443
|
+
/** Update notifier */
|
|
2444
|
+
export const updateNotifier = /*@__PURE__*/ API.make(() => ({
|
|
2445
|
+
input: UpdateNotifierRequest,
|
|
2446
|
+
output: UpdateNotifierResponse,
|
|
2447
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2448
|
+
protocol: AxiomProtocol,
|
|
2449
|
+
retry: Retry.Retry,
|
|
2450
|
+
}));
|
|
2451
|
+
export const updateOrg = /*@__PURE__*/ API.make(() => ({
|
|
2452
|
+
input: UpdateOrgRequest,
|
|
2453
|
+
output: Org,
|
|
2454
|
+
errors: [NotFound, UnknownAxiomError],
|
|
2455
|
+
protocol: AxiomProtocol,
|
|
2456
|
+
retry: Retry.Retry,
|
|
2457
|
+
}));
|
|
2458
|
+
/** Update role Updates an existing role's configuration including its permissions and member assignments. */
|
|
2459
|
+
export const updateRole = /*@__PURE__*/ API.make(() => ({
|
|
2460
|
+
input: UpdateRoleRequest,
|
|
2461
|
+
output: UpdateRoleResponse,
|
|
2462
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2463
|
+
protocol: AxiomProtocol,
|
|
2464
|
+
retry: Retry.Retry,
|
|
2465
|
+
}));
|
|
2466
|
+
export const updateStarred = /*@__PURE__*/ API.make(() => ({
|
|
2467
|
+
input: UpdateStarredRequest,
|
|
2468
|
+
output: UpdateStarredResponse,
|
|
2469
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2470
|
+
protocol: AxiomProtocol,
|
|
2471
|
+
retry: Retry.Retry,
|
|
2472
|
+
}));
|
|
2473
|
+
/** Update user role */
|
|
2474
|
+
export const updateUserRole = /*@__PURE__*/ API.make(() => ({
|
|
2475
|
+
input: UpdateUserRoleRequest,
|
|
2476
|
+
output: User,
|
|
2477
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2478
|
+
protocol: AxiomProtocol,
|
|
2479
|
+
retry: Retry.Retry,
|
|
2480
|
+
}));
|
|
2481
|
+
export const updateView = /*@__PURE__*/ API.make(() => ({
|
|
2482
|
+
input: UpdateViewRequest,
|
|
2483
|
+
output: View,
|
|
2484
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2485
|
+
protocol: AxiomProtocol,
|
|
2486
|
+
retry: Retry.Retry,
|
|
2487
|
+
}));
|
|
2488
|
+
export const updateVirtualField = /*@__PURE__*/ API.make(() => ({
|
|
2489
|
+
input: UpdateVirtualFieldRequest,
|
|
2490
|
+
output: UpdateVirtualFieldResponse,
|
|
2491
|
+
errors: [NotFound, UnprocessableEntity, UnknownAxiomError],
|
|
2492
|
+
protocol: AxiomProtocol,
|
|
2493
|
+
retry: Retry.Retry,
|
|
2494
|
+
}));
|
|
2495
|
+
export const vacuumDataset = /*@__PURE__*/ API.make(() => ({
|
|
2496
|
+
input: VacuumDatasetRequest,
|
|
2497
|
+
output: VacuumDatasetResponse,
|
|
2498
|
+
errors: [UnknownAxiomError],
|
|
2499
|
+
protocol: AxiomProtocol,
|
|
2500
|
+
retry: Retry.Retry,
|
|
2501
|
+
}));
|
|
2502
|
+
//# sourceMappingURL=v2.js.map
|