@distilled.cloud/axiom 0.27.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +20 -35
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +1 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.js +0 -2
- package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +1 -1
- package/lib/operations/v1-edge-query/queryApl.d.ts +57 -115
- package/lib/operations/v1-edge-query/queryApl.d.ts.map +1 -1
- package/lib/operations/v1-edge-query/queryApl.js +2 -5
- package/lib/operations/v1-edge-query/queryApl.js.map +1 -1
- package/lib/operations/v2/createAPIToken.d.ts +77 -158
- package/lib/operations/v2/createAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/createAPIToken.js +0 -2
- package/lib/operations/v2/createAPIToken.js.map +1 -1
- package/lib/operations/v2/createAnnotation.d.ts +22 -39
- package/lib/operations/v2/createAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/createAnnotation.js +0 -2
- package/lib/operations/v2/createAnnotation.js.map +1 -1
- package/lib/operations/v2/createDashboard.d.ts +323 -138
- package/lib/operations/v2/createDashboard.d.ts.map +1 -1
- package/lib/operations/v2/createDashboard.js +2 -4
- package/lib/operations/v2/createDashboard.js.map +1 -1
- package/lib/operations/v2/createDataset.d.ts +28 -47
- package/lib/operations/v2/createDataset.d.ts.map +1 -1
- package/lib/operations/v2/createDataset.js +2 -2
- package/lib/operations/v2/createDataset.js.map +1 -1
- package/lib/operations/v2/createGroup.d.ts +18 -31
- package/lib/operations/v2/createGroup.d.ts.map +1 -1
- package/lib/operations/v2/createGroup.js +0 -2
- package/lib/operations/v2/createGroup.js.map +1 -1
- package/lib/operations/v2/createMapField.d.ts +10 -15
- package/lib/operations/v2/createMapField.d.ts.map +1 -1
- package/lib/operations/v2/createMapField.js +0 -2
- package/lib/operations/v2/createMapField.js.map +1 -1
- package/lib/operations/v2/createMonitor.d.ts +60 -111
- package/lib/operations/v2/createMonitor.d.ts.map +1 -1
- package/lib/operations/v2/createMonitor.js +2 -2
- package/lib/operations/v2/createMonitor.js.map +1 -1
- package/lib/operations/v2/createNotifier.d.ts +89 -175
- package/lib/operations/v2/createNotifier.d.ts.map +1 -1
- package/lib/operations/v2/createNotifier.js +5 -4
- package/lib/operations/v2/createNotifier.js.map +1 -1
- package/lib/operations/v2/createOrg.d.ts +47 -98
- package/lib/operations/v2/createOrg.d.ts.map +1 -1
- package/lib/operations/v2/createOrg.js +2 -9
- package/lib/operations/v2/createOrg.js.map +1 -1
- package/lib/operations/v2/createRole.d.ts +76 -155
- package/lib/operations/v2/createRole.d.ts.map +1 -1
- package/lib/operations/v2/createRole.js +0 -2
- package/lib/operations/v2/createRole.js.map +1 -1
- package/lib/operations/v2/createStarred.d.ts +80 -161
- package/lib/operations/v2/createStarred.d.ts.map +1 -1
- package/lib/operations/v2/createStarred.js +0 -2
- package/lib/operations/v2/createStarred.js.map +1 -1
- package/lib/operations/v2/createUser.d.ts +17 -29
- package/lib/operations/v2/createUser.d.ts.map +1 -1
- package/lib/operations/v2/createUser.js +0 -2
- package/lib/operations/v2/createUser.js.map +1 -1
- package/lib/operations/v2/createView.d.ts +19 -33
- package/lib/operations/v2/createView.d.ts.map +1 -1
- package/lib/operations/v2/createView.js +0 -2
- package/lib/operations/v2/createView.js.map +1 -1
- package/lib/operations/v2/createVirtualField.d.ts +20 -35
- package/lib/operations/v2/createVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/createVirtualField.js +0 -2
- package/lib/operations/v2/createVirtualField.js.map +1 -1
- package/lib/operations/v2/deleteAPIToken.d.ts +7 -9
- package/lib/operations/v2/deleteAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/deleteAPIToken.js +2 -3
- package/lib/operations/v2/deleteAPIToken.js.map +1 -1
- package/lib/operations/v2/deleteAnnotation.d.ts +7 -9
- package/lib/operations/v2/deleteAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/deleteAnnotation.js +2 -3
- package/lib/operations/v2/deleteAnnotation.js.map +1 -1
- package/lib/operations/v2/deleteDashboard.d.ts +7 -9
- package/lib/operations/v2/deleteDashboard.d.ts.map +1 -1
- package/lib/operations/v2/deleteDashboard.js +2 -3
- package/lib/operations/v2/deleteDashboard.js.map +1 -1
- package/lib/operations/v2/deleteDataset.d.ts +7 -9
- package/lib/operations/v2/deleteDataset.d.ts.map +1 -1
- package/lib/operations/v2/deleteDataset.js +2 -3
- package/lib/operations/v2/deleteDataset.js.map +1 -1
- package/lib/operations/v2/deleteGroup.d.ts +7 -9
- package/lib/operations/v2/deleteGroup.d.ts.map +1 -1
- package/lib/operations/v2/deleteGroup.js +2 -3
- package/lib/operations/v2/deleteGroup.js.map +1 -1
- package/lib/operations/v2/deleteMapField.d.ts +8 -11
- package/lib/operations/v2/deleteMapField.d.ts.map +1 -1
- package/lib/operations/v2/deleteMapField.js +2 -3
- package/lib/operations/v2/deleteMapField.js.map +1 -1
- package/lib/operations/v2/deleteMonitor.d.ts +7 -9
- package/lib/operations/v2/deleteMonitor.d.ts.map +1 -1
- package/lib/operations/v2/deleteMonitor.js +2 -3
- package/lib/operations/v2/deleteMonitor.js.map +1 -1
- package/lib/operations/v2/deleteNotifier.d.ts +7 -9
- package/lib/operations/v2/deleteNotifier.d.ts.map +1 -1
- package/lib/operations/v2/deleteNotifier.js +2 -3
- package/lib/operations/v2/deleteNotifier.js.map +1 -1
- package/lib/operations/v2/deleteRole.d.ts +7 -9
- package/lib/operations/v2/deleteRole.d.ts.map +1 -1
- package/lib/operations/v2/deleteRole.js +2 -3
- package/lib/operations/v2/deleteRole.js.map +1 -1
- package/lib/operations/v2/deleteStarred.d.ts +7 -9
- package/lib/operations/v2/deleteStarred.d.ts.map +1 -1
- package/lib/operations/v2/deleteStarred.js +2 -3
- package/lib/operations/v2/deleteStarred.js.map +1 -1
- package/lib/operations/v2/deleteView.d.ts +7 -9
- package/lib/operations/v2/deleteView.d.ts.map +1 -1
- package/lib/operations/v2/deleteView.js +2 -3
- package/lib/operations/v2/deleteView.js.map +1 -1
- package/lib/operations/v2/deleteVirtualField.d.ts +7 -9
- package/lib/operations/v2/deleteVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/deleteVirtualField.js +2 -3
- package/lib/operations/v2/deleteVirtualField.js.map +1 -1
- package/lib/operations/v2/getAPIToken.d.ts +43 -86
- package/lib/operations/v2/getAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/getAPIToken.js +0 -2
- package/lib/operations/v2/getAPIToken.js.map +1 -1
- package/lib/operations/v2/getAPITokens.d.ts +42 -82
- package/lib/operations/v2/getAPITokens.d.ts.map +1 -1
- package/lib/operations/v2/getAPITokens.js +0 -2
- package/lib/operations/v2/getAPITokens.js.map +1 -1
- package/lib/operations/v2/getAnnotation.d.ts +16 -27
- package/lib/operations/v2/getAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/getAnnotation.js +0 -2
- package/lib/operations/v2/getAnnotation.js.map +1 -1
- package/lib/operations/v2/getAnnotations.d.ts +17 -30
- package/lib/operations/v2/getAnnotations.d.ts.map +1 -1
- package/lib/operations/v2/getAnnotations.js +0 -2
- package/lib/operations/v2/getAnnotations.js.map +1 -1
- package/lib/operations/v2/getCurrentUser.d.ts +14 -21
- package/lib/operations/v2/getCurrentUser.d.ts.map +1 -1
- package/lib/operations/v2/getCurrentUser.js +0 -2
- package/lib/operations/v2/getCurrentUser.js.map +1 -1
- package/lib/operations/v2/getDashboard.d.ts +166 -75
- package/lib/operations/v2/getDashboard.d.ts.map +1 -1
- package/lib/operations/v2/getDashboard.js +1 -3
- package/lib/operations/v2/getDashboard.js.map +1 -1
- package/lib/operations/v2/getDataset.d.ts +22 -35
- package/lib/operations/v2/getDataset.d.ts.map +1 -1
- package/lib/operations/v2/getDataset.js +2 -2
- package/lib/operations/v2/getDataset.js.map +1 -1
- package/lib/operations/v2/getDatasets.d.ts +21 -31
- package/lib/operations/v2/getDatasets.d.ts.map +1 -1
- package/lib/operations/v2/getDatasets.js +2 -2
- package/lib/operations/v2/getDatasets.js.map +1 -1
- package/lib/operations/v2/getFieldForDataset.d.ts +14 -23
- package/lib/operations/v2/getFieldForDataset.d.ts.map +1 -1
- package/lib/operations/v2/getFieldForDataset.js +0 -2
- package/lib/operations/v2/getFieldForDataset.js.map +1 -1
- package/lib/operations/v2/getFieldsForDataset.d.ts +12 -20
- package/lib/operations/v2/getFieldsForDataset.d.ts.map +1 -1
- package/lib/operations/v2/getFieldsForDataset.js +0 -2
- package/lib/operations/v2/getFieldsForDataset.js.map +1 -1
- package/lib/operations/v2/getGroupById.d.ts +14 -23
- package/lib/operations/v2/getGroupById.d.ts.map +1 -1
- package/lib/operations/v2/getGroupById.js +0 -2
- package/lib/operations/v2/getGroupById.js.map +1 -1
- package/lib/operations/v2/getMapFields.d.ts +7 -9
- package/lib/operations/v2/getMapFields.d.ts.map +1 -1
- package/lib/operations/v2/getMapFields.js +0 -2
- package/lib/operations/v2/getMapFields.js.map +1 -1
- package/lib/operations/v2/getMonitor.d.ts +35 -63
- package/lib/operations/v2/getMonitor.d.ts.map +1 -1
- package/lib/operations/v2/getMonitor.js +1 -2
- package/lib/operations/v2/getMonitor.js.map +1 -1
- package/lib/operations/v2/getMonitorHistory.d.ts +13 -22
- package/lib/operations/v2/getMonitorHistory.d.ts.map +1 -1
- package/lib/operations/v2/getMonitorHistory.js +0 -2
- package/lib/operations/v2/getMonitorHistory.js.map +1 -1
- package/lib/operations/v2/getMonitors.d.ts +34 -59
- package/lib/operations/v2/getMonitors.d.ts.map +1 -1
- package/lib/operations/v2/getMonitors.js +1 -2
- package/lib/operations/v2/getMonitors.js.map +1 -1
- package/lib/operations/v2/getNotifier.d.ts +50 -95
- package/lib/operations/v2/getNotifier.d.ts.map +1 -1
- package/lib/operations/v2/getNotifier.js +4 -4
- package/lib/operations/v2/getNotifier.js.map +1 -1
- package/lib/operations/v2/getNotifiers.d.ts +49 -91
- package/lib/operations/v2/getNotifiers.d.ts.map +1 -1
- package/lib/operations/v2/getNotifiers.js +4 -4
- package/lib/operations/v2/getNotifiers.js.map +1 -1
- package/lib/operations/v2/getOrg.d.ts +46 -96
- package/lib/operations/v2/getOrg.d.ts.map +1 -1
- package/lib/operations/v2/getOrg.js +2 -9
- package/lib/operations/v2/getOrg.js.map +1 -1
- package/lib/operations/v2/getOrgs.d.ts +45 -92
- package/lib/operations/v2/getOrgs.d.ts.map +1 -1
- package/lib/operations/v2/getOrgs.js +2 -9
- package/lib/operations/v2/getOrgs.js.map +1 -1
- package/lib/operations/v2/getRoleById.d.ts +43 -85
- package/lib/operations/v2/getRoleById.d.ts.map +1 -1
- package/lib/operations/v2/getRoleById.js +0 -2
- package/lib/operations/v2/getRoleById.js.map +1 -1
- package/lib/operations/v2/getStarred.d.ts +45 -88
- package/lib/operations/v2/getStarred.d.ts.map +1 -1
- package/lib/operations/v2/getStarred.js +0 -2
- package/lib/operations/v2/getStarred.js.map +1 -1
- package/lib/operations/v2/getStarredQueries.d.ts +49 -96
- package/lib/operations/v2/getStarredQueries.d.ts.map +1 -1
- package/lib/operations/v2/getStarredQueries.js +0 -2
- package/lib/operations/v2/getStarredQueries.js.map +1 -1
- package/lib/operations/v2/getUser.d.ts +15 -25
- package/lib/operations/v2/getUser.d.ts.map +1 -1
- package/lib/operations/v2/getUser.js +0 -2
- package/lib/operations/v2/getUser.js.map +1 -1
- package/lib/operations/v2/getUsers.d.ts +14 -21
- package/lib/operations/v2/getUsers.d.ts.map +1 -1
- package/lib/operations/v2/getUsers.js +0 -2
- package/lib/operations/v2/getUsers.js.map +1 -1
- package/lib/operations/v2/getView.d.ts +14 -23
- package/lib/operations/v2/getView.d.ts.map +1 -1
- package/lib/operations/v2/getView.js +0 -2
- package/lib/operations/v2/getView.js.map +1 -1
- package/lib/operations/v2/getViews.d.ts +13 -19
- package/lib/operations/v2/getViews.d.ts.map +1 -1
- package/lib/operations/v2/getViews.js +0 -2
- package/lib/operations/v2/getViews.js.map +1 -1
- package/lib/operations/v2/getVirtualField.d.ts +15 -25
- package/lib/operations/v2/getVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/getVirtualField.js +0 -2
- package/lib/operations/v2/getVirtualField.js.map +1 -1
- package/lib/operations/v2/getVirtualFields.d.ts +14 -24
- package/lib/operations/v2/getVirtualFields.d.ts.map +1 -1
- package/lib/operations/v2/getVirtualFields.js +0 -2
- package/lib/operations/v2/getVirtualFields.js.map +1 -1
- package/lib/operations/v2/index.d.ts +1 -0
- package/lib/operations/v2/index.d.ts.map +1 -1
- package/lib/operations/v2/index.js +1 -0
- package/lib/operations/v2/index.js.map +1 -1
- package/lib/operations/v2/listDashboards.d.ts +166 -76
- package/lib/operations/v2/listDashboards.d.ts.map +1 -1
- package/lib/operations/v2/listDashboards.js +1 -3
- package/lib/operations/v2/listDashboards.js.map +1 -1
- package/lib/operations/v2/listGroups.d.ts +13 -19
- package/lib/operations/v2/listGroups.d.ts.map +1 -1
- package/lib/operations/v2/listGroups.js +0 -2
- package/lib/operations/v2/listGroups.js.map +1 -1
- package/lib/operations/v2/listRoles.d.ts +42 -81
- package/lib/operations/v2/listRoles.d.ts.map +1 -1
- package/lib/operations/v2/listRoles.js +0 -2
- package/lib/operations/v2/listRoles.js.map +1 -1
- package/lib/operations/v2/patchDashboardChart.d.ts +183 -0
- package/lib/operations/v2/patchDashboardChart.d.ts.map +1 -0
- package/lib/operations/v2/patchDashboardChart.js +81 -0
- package/lib/operations/v2/patchDashboardChart.js.map +1 -0
- package/lib/operations/v2/regenerateAPIToken.d.ts +82 -168
- package/lib/operations/v2/regenerateAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/regenerateAPIToken.js +0 -2
- package/lib/operations/v2/regenerateAPIToken.js.map +1 -1
- package/lib/operations/v2/removeUserFromOrg.d.ts +7 -9
- package/lib/operations/v2/removeUserFromOrg.d.ts.map +1 -1
- package/lib/operations/v2/removeUserFromOrg.js +2 -3
- package/lib/operations/v2/removeUserFromOrg.js.map +1 -1
- package/lib/operations/v2/trimDataset.d.ts +8 -11
- package/lib/operations/v2/trimDataset.d.ts.map +1 -1
- package/lib/operations/v2/trimDataset.js +2 -3
- package/lib/operations/v2/trimDataset.js.map +1 -1
- package/lib/operations/v2/updateAnnotation.d.ts +23 -41
- package/lib/operations/v2/updateAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/updateAnnotation.js +0 -2
- package/lib/operations/v2/updateAnnotation.js.map +1 -1
- package/lib/operations/v2/updateCurrentUser.d.ts +15 -25
- package/lib/operations/v2/updateCurrentUser.d.ts.map +1 -1
- package/lib/operations/v2/updateCurrentUser.js +0 -2
- package/lib/operations/v2/updateCurrentUser.js.map +1 -1
- package/lib/operations/v2/updateDashboard.d.ts +323 -138
- package/lib/operations/v2/updateDashboard.d.ts.map +1 -1
- package/lib/operations/v2/updateDashboard.js +2 -4
- package/lib/operations/v2/updateDashboard.js.map +1 -1
- package/lib/operations/v2/updateDataset.d.ts +25 -41
- package/lib/operations/v2/updateDataset.d.ts.map +1 -1
- package/lib/operations/v2/updateDataset.js +2 -2
- package/lib/operations/v2/updateDataset.js.map +1 -1
- package/lib/operations/v2/updateFieldForDataset.d.ts +19 -33
- package/lib/operations/v2/updateFieldForDataset.d.ts.map +1 -1
- package/lib/operations/v2/updateFieldForDataset.js +0 -2
- package/lib/operations/v2/updateFieldForDataset.js.map +1 -1
- package/lib/operations/v2/updateGroup.d.ts +19 -33
- package/lib/operations/v2/updateGroup.d.ts.map +1 -1
- package/lib/operations/v2/updateGroup.js +0 -2
- package/lib/operations/v2/updateGroup.js.map +1 -1
- package/lib/operations/v2/updateMapFields.d.ts +7 -9
- package/lib/operations/v2/updateMapFields.d.ts.map +1 -1
- package/lib/operations/v2/updateMapFields.js +0 -2
- package/lib/operations/v2/updateMapFields.js.map +1 -1
- package/lib/operations/v2/updateMonitor.d.ts +61 -113
- package/lib/operations/v2/updateMonitor.d.ts.map +1 -1
- package/lib/operations/v2/updateMonitor.js +2 -2
- package/lib/operations/v2/updateMonitor.js.map +1 -1
- package/lib/operations/v2/updateNotifier.d.ts +90 -177
- package/lib/operations/v2/updateNotifier.d.ts.map +1 -1
- package/lib/operations/v2/updateNotifier.js +5 -4
- package/lib/operations/v2/updateNotifier.js.map +1 -1
- package/lib/operations/v2/updateOrg.d.ts +47 -98
- package/lib/operations/v2/updateOrg.d.ts.map +1 -1
- package/lib/operations/v2/updateOrg.js +2 -9
- package/lib/operations/v2/updateOrg.js.map +1 -1
- package/lib/operations/v2/updateRole.d.ts +77 -157
- package/lib/operations/v2/updateRole.d.ts.map +1 -1
- package/lib/operations/v2/updateRole.js +0 -2
- package/lib/operations/v2/updateRole.js.map +1 -1
- package/lib/operations/v2/updateStarred.d.ts +81 -163
- package/lib/operations/v2/updateStarred.d.ts.map +1 -1
- package/lib/operations/v2/updateStarred.js +0 -2
- package/lib/operations/v2/updateStarred.js.map +1 -1
- package/lib/operations/v2/updateUserRole.d.ts +16 -27
- package/lib/operations/v2/updateUserRole.d.ts.map +1 -1
- package/lib/operations/v2/updateUserRole.js +0 -2
- package/lib/operations/v2/updateUserRole.js.map +1 -1
- package/lib/operations/v2/updateView.d.ts +20 -35
- package/lib/operations/v2/updateView.d.ts.map +1 -1
- package/lib/operations/v2/updateView.js +0 -2
- package/lib/operations/v2/updateView.js.map +1 -1
- package/lib/operations/v2/updateVirtualField.d.ts +21 -37
- package/lib/operations/v2/updateVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/updateVirtualField.js +0 -2
- package/lib/operations/v2/updateVirtualField.js.map +1 -1
- package/lib/operations/v2/vacuumDataset.d.ts +7 -9
- package/lib/operations/v2/vacuumDataset.d.ts.map +1 -1
- package/lib/operations/v2/vacuumDataset.js +2 -3
- package/lib/operations/v2/vacuumDataset.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/v1-edge-ingest/ingestToDataset.ts +18 -4
- package/src/operations/v1-edge-query/queryApl.ts +56 -6
- package/src/operations/v2/createAPIToken.ts +91 -4
- package/src/operations/v2/createAnnotation.ts +23 -4
- package/src/operations/v2/createDashboard.ts +351 -6
- package/src/operations/v2/createDataset.ts +39 -4
- package/src/operations/v2/createGroup.ts +19 -4
- package/src/operations/v2/createMapField.ts +9 -4
- package/src/operations/v2/createMonitor.ts +73 -4
- package/src/operations/v2/createNotifier.ts +56 -6
- package/src/operations/v2/createOrg.ts +65 -11
- package/src/operations/v2/createRole.ts +89 -4
- package/src/operations/v2/createStarred.ts +77 -4
- package/src/operations/v2/createUser.ts +15 -4
- package/src/operations/v2/createView.ts +20 -4
- package/src/operations/v2/createVirtualField.ts +21 -4
- package/src/operations/v2/deleteAPIToken.ts +9 -4
- package/src/operations/v2/deleteAnnotation.ts +9 -4
- package/src/operations/v2/deleteDashboard.ts +9 -4
- package/src/operations/v2/deleteDataset.ts +9 -4
- package/src/operations/v2/deleteGroup.ts +9 -4
- package/src/operations/v2/deleteMapField.ts +8 -4
- package/src/operations/v2/deleteMonitor.ts +9 -4
- package/src/operations/v2/deleteNotifier.ts +9 -4
- package/src/operations/v2/deleteRole.ts +9 -4
- package/src/operations/v2/deleteStarred.ts +9 -4
- package/src/operations/v2/deleteView.ts +9 -4
- package/src/operations/v2/deleteVirtualField.ts +9 -4
- package/src/operations/v2/getAPIToken.ts +51 -4
- package/src/operations/v2/getAPITokens.ts +49 -4
- package/src/operations/v2/getAnnotation.ts +17 -4
- package/src/operations/v2/getAnnotations.ts +19 -4
- package/src/operations/v2/getCurrentUser.ts +11 -4
- package/src/operations/v2/getDashboard.ts +180 -5
- package/src/operations/v2/getDataset.ts +29 -4
- package/src/operations/v2/getDatasets.ts +27 -4
- package/src/operations/v2/getFieldForDataset.ts +13 -4
- package/src/operations/v2/getFieldsForDataset.ts +14 -4
- package/src/operations/v2/getGroupById.ts +15 -4
- package/src/operations/v2/getMapFields.ts +8 -4
- package/src/operations/v2/getMonitor.ts +42 -4
- package/src/operations/v2/getMonitorHistory.ts +15 -4
- package/src/operations/v2/getMonitors.ts +40 -4
- package/src/operations/v2/getNotifier.ts +35 -6
- package/src/operations/v2/getNotifiers.ts +33 -6
- package/src/operations/v2/getOrg.ts +64 -11
- package/src/operations/v2/getOrgs.ts +60 -11
- package/src/operations/v2/getRoleById.ts +50 -4
- package/src/operations/v2/getStarred.ts +44 -4
- package/src/operations/v2/getStarredQueries.ts +48 -4
- package/src/operations/v2/getUser.ts +13 -4
- package/src/operations/v2/getUsers.ts +9 -4
- package/src/operations/v2/getView.ts +15 -4
- package/src/operations/v2/getViews.ts +11 -4
- package/src/operations/v2/getVirtualField.ts +16 -4
- package/src/operations/v2/getVirtualFields.ts +16 -4
- package/src/operations/v2/index.ts +1 -0
- package/src/operations/v2/listDashboards.ts +181 -5
- package/src/operations/v2/listGroups.ts +13 -4
- package/src/operations/v2/listRoles.ts +48 -4
- package/src/operations/v2/patchDashboardChart.ts +275 -0
- package/src/operations/v2/regenerateAPIToken.ts +96 -4
- package/src/operations/v2/removeUserFromOrg.ts +9 -4
- package/src/operations/v2/trimDataset.ts +10 -4
- package/src/operations/v2/updateAnnotation.ts +24 -4
- package/src/operations/v2/updateCurrentUser.ts +13 -4
- package/src/operations/v2/updateDashboard.ts +351 -6
- package/src/operations/v2/updateDataset.ts +32 -4
- package/src/operations/v2/updateFieldForDataset.ts +18 -5
- package/src/operations/v2/updateGroup.ts +20 -4
- package/src/operations/v2/updateMapFields.ts +8 -4
- package/src/operations/v2/updateMonitor.ts +74 -4
- package/src/operations/v2/updateNotifier.ts +57 -6
- package/src/operations/v2/updateOrg.ts +65 -11
- package/src/operations/v2/updateRole.ts +90 -4
- package/src/operations/v2/updateStarred.ts +78 -4
- package/src/operations/v2/updateUserRole.ts +14 -4
- package/src/operations/v2/updateView.ts +21 -4
- package/src/operations/v2/updateVirtualField.ts +22 -4
- package/src/operations/v2/vacuumDataset.ts +9 -4
|
@@ -4,12 +4,188 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetDashboardInput {
|
|
8
|
+
uid: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
uid: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/dashboards/uid/{uid}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetDashboardInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetDashboardOutput {
|
|
18
|
+
createdAt: string;
|
|
19
|
+
createdBy: string;
|
|
20
|
+
dashboard: {
|
|
21
|
+
name: string;
|
|
22
|
+
owner: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
charts: ReadonlyArray<
|
|
25
|
+
| { id: string; type: "TimeSeries"; name?: string; query: unknown }
|
|
26
|
+
| { id: string; type: "Heatmap"; name?: string; query: unknown }
|
|
27
|
+
| {
|
|
28
|
+
id: string;
|
|
29
|
+
type: "LogStream";
|
|
30
|
+
name?: string;
|
|
31
|
+
query: unknown;
|
|
32
|
+
tableSettings?: {
|
|
33
|
+
columns?: ReadonlyArray<unknown>;
|
|
34
|
+
settings?: {
|
|
35
|
+
fontSize?: string;
|
|
36
|
+
highlightSeverity?: boolean;
|
|
37
|
+
showRaw?: boolean;
|
|
38
|
+
showEvent?: boolean;
|
|
39
|
+
showTimestamp?: boolean;
|
|
40
|
+
wrapLines?: boolean;
|
|
41
|
+
hideNulls?: boolean;
|
|
42
|
+
fitColumns?: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
| { id: string; type: "Pie"; name?: string; query: unknown }
|
|
47
|
+
| { id: string; type: "Scatter"; name?: string; query: unknown }
|
|
48
|
+
| {
|
|
49
|
+
id: string;
|
|
50
|
+
type: "Table";
|
|
51
|
+
name?: string;
|
|
52
|
+
query: unknown;
|
|
53
|
+
tableSettings?: {
|
|
54
|
+
columns?: ReadonlyArray<unknown>;
|
|
55
|
+
settings?: {
|
|
56
|
+
fontSize?: string;
|
|
57
|
+
highlightSeverity?: boolean;
|
|
58
|
+
showRaw?: boolean;
|
|
59
|
+
showEvent?: boolean;
|
|
60
|
+
showTimestamp?: boolean;
|
|
61
|
+
wrapLines?: boolean;
|
|
62
|
+
hideNulls?: boolean;
|
|
63
|
+
fitColumns?: boolean;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
| { id: string; type: "TopK"; name?: string; query: unknown }
|
|
68
|
+
| {
|
|
69
|
+
id: string;
|
|
70
|
+
type: "Statistic";
|
|
71
|
+
name?: string;
|
|
72
|
+
query: unknown;
|
|
73
|
+
colorScheme?:
|
|
74
|
+
| "Blue"
|
|
75
|
+
| "Orange"
|
|
76
|
+
| "Red"
|
|
77
|
+
| "Purple"
|
|
78
|
+
| "Teal"
|
|
79
|
+
| "Yellow"
|
|
80
|
+
| "Green"
|
|
81
|
+
| "Pink"
|
|
82
|
+
| "Grey"
|
|
83
|
+
| "Brown";
|
|
84
|
+
customUnits?: string;
|
|
85
|
+
showChart?: boolean | string;
|
|
86
|
+
hideValue?: boolean;
|
|
87
|
+
chartHeight?: string | number;
|
|
88
|
+
errorThreshold?:
|
|
89
|
+
| "Above"
|
|
90
|
+
| "AboveOrEqual"
|
|
91
|
+
| "Below"
|
|
92
|
+
| "BelowOrEqual"
|
|
93
|
+
| "AboveOrBelow";
|
|
94
|
+
errorThresholdValue?: string;
|
|
95
|
+
warningThreshold?:
|
|
96
|
+
| "Above"
|
|
97
|
+
| "AboveOrEqual"
|
|
98
|
+
| "Below"
|
|
99
|
+
| "BelowOrEqual"
|
|
100
|
+
| "AboveOrBelow";
|
|
101
|
+
warningThresholdValue?: string;
|
|
102
|
+
invertTheme?: boolean;
|
|
103
|
+
background?: string;
|
|
104
|
+
textColor?: string;
|
|
105
|
+
labelColor?: string;
|
|
106
|
+
chartFillColor?: string;
|
|
107
|
+
okColorProps?: {
|
|
108
|
+
background?: string;
|
|
109
|
+
chartFillColor?: string;
|
|
110
|
+
labelColor?: string;
|
|
111
|
+
textColor?: string;
|
|
112
|
+
};
|
|
113
|
+
warningColorProps?: {
|
|
114
|
+
background?: string;
|
|
115
|
+
chartFillColor?: string;
|
|
116
|
+
labelColor?: string;
|
|
117
|
+
textColor?: string;
|
|
118
|
+
};
|
|
119
|
+
errorColorProps?: {
|
|
120
|
+
background?: string;
|
|
121
|
+
chartFillColor?: string;
|
|
122
|
+
labelColor?: string;
|
|
123
|
+
textColor?: string;
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
| { id: string; type: "Note"; text: string; variant?: "default" }
|
|
127
|
+
| {
|
|
128
|
+
id: string;
|
|
129
|
+
type: "MonitorList";
|
|
130
|
+
name?: string;
|
|
131
|
+
selectedMonitors: ReadonlyArray<string>;
|
|
132
|
+
columns: {
|
|
133
|
+
status: boolean;
|
|
134
|
+
history: boolean;
|
|
135
|
+
dataset: boolean;
|
|
136
|
+
type: boolean;
|
|
137
|
+
notifiers: boolean;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
| {
|
|
141
|
+
id: string;
|
|
142
|
+
type: "SmartFilter";
|
|
143
|
+
name?: string;
|
|
144
|
+
filters: ReadonlyArray<unknown>;
|
|
145
|
+
logo?: string;
|
|
146
|
+
logoDark?: string;
|
|
147
|
+
}
|
|
148
|
+
| { id: string; type: "Spacer"; name?: string }
|
|
149
|
+
>;
|
|
150
|
+
layout: ReadonlyArray<{
|
|
151
|
+
i: string;
|
|
152
|
+
x: number;
|
|
153
|
+
y: number | null;
|
|
154
|
+
w: number;
|
|
155
|
+
h: number;
|
|
156
|
+
minW?: number;
|
|
157
|
+
minH?: number;
|
|
158
|
+
maxW?: number;
|
|
159
|
+
maxH?: number;
|
|
160
|
+
static?: boolean;
|
|
161
|
+
}>;
|
|
162
|
+
refreshTime: 15 | 60 | 300;
|
|
163
|
+
schemaVersion: 2;
|
|
164
|
+
against?:
|
|
165
|
+
| "-1h"
|
|
166
|
+
| "-3h"
|
|
167
|
+
| "-6h"
|
|
168
|
+
| "-12h"
|
|
169
|
+
| "-1d"
|
|
170
|
+
| "-3d"
|
|
171
|
+
| "-7d"
|
|
172
|
+
| "-1w"
|
|
173
|
+
| "-2w"
|
|
174
|
+
| "-3w"
|
|
175
|
+
| "-30d"
|
|
176
|
+
| "-60d"
|
|
177
|
+
| "-90d";
|
|
178
|
+
againstTimestamp?: string;
|
|
179
|
+
timeWindowStart: string;
|
|
180
|
+
timeWindowEnd: string;
|
|
181
|
+
uid?: string;
|
|
182
|
+
};
|
|
183
|
+
id: string;
|
|
184
|
+
uid: string;
|
|
185
|
+
updatedAt: string;
|
|
186
|
+
updatedBy: string;
|
|
187
|
+
version: string | number;
|
|
188
|
+
}
|
|
13
189
|
export const GetDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
190
|
createdAt: Schema.String,
|
|
15
191
|
createdBy: Schema.String,
|
|
@@ -60,9 +236,8 @@ export const GetDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
60
236
|
uid: Schema.String,
|
|
61
237
|
updatedAt: Schema.String,
|
|
62
238
|
updatedBy: Schema.String,
|
|
63
|
-
version: Schema.
|
|
64
|
-
})
|
|
65
|
-
export type GetDashboardOutput = typeof GetDashboardOutput.Type;
|
|
239
|
+
version: Schema.Union([Schema.String, Schema.Number]),
|
|
240
|
+
}) as unknown as Schema.Codec<GetDashboardOutput>;
|
|
66
241
|
|
|
67
242
|
// The operation
|
|
68
243
|
/**
|
|
@@ -4,17 +4,42 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetDatasetInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetDatasetOutput {
|
|
18
|
+
canWrite?: boolean;
|
|
19
|
+
created: string;
|
|
20
|
+
description: string;
|
|
21
|
+
edgeDeployment?: string;
|
|
22
|
+
edgeDeploymentUrl?: string;
|
|
23
|
+
id: string;
|
|
24
|
+
kind:
|
|
25
|
+
| "otel:metrics:v1"
|
|
26
|
+
| "otel:traces:v1"
|
|
27
|
+
| "otel:logs:v1"
|
|
28
|
+
| "axiom:events:v1";
|
|
29
|
+
mapFields?: ReadonlyArray<string>;
|
|
30
|
+
name: string;
|
|
31
|
+
retentionDays?: number;
|
|
32
|
+
sharedByOrg?: string;
|
|
33
|
+
updatedAt: string;
|
|
34
|
+
useRetentionPeriod?: boolean;
|
|
35
|
+
who: string;
|
|
36
|
+
}
|
|
13
37
|
export const GetDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
38
|
canWrite: Schema.optional(Schema.Boolean),
|
|
15
39
|
created: Schema.String,
|
|
16
40
|
description: Schema.String,
|
|
17
41
|
edgeDeployment: Schema.optional(Schema.String),
|
|
42
|
+
edgeDeploymentUrl: Schema.optional(Schema.String),
|
|
18
43
|
id: Schema.String,
|
|
19
44
|
kind: Schema.Literals([
|
|
20
45
|
"otel:metrics:v1",
|
|
@@ -26,10 +51,10 @@ export const GetDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
26
51
|
name: Schema.String,
|
|
27
52
|
retentionDays: Schema.optional(Schema.Number),
|
|
28
53
|
sharedByOrg: Schema.optional(Schema.String),
|
|
54
|
+
updatedAt: Schema.String,
|
|
29
55
|
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
30
56
|
who: Schema.String,
|
|
31
|
-
})
|
|
32
|
-
export type GetDatasetOutput = typeof GetDatasetOutput.Type;
|
|
57
|
+
}) as unknown as Schema.Codec<GetDatasetOutput>;
|
|
33
58
|
|
|
34
59
|
// The operation
|
|
35
60
|
/**
|
|
@@ -4,18 +4,41 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { Forbidden } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetDatasetsInput {}
|
|
7
8
|
export const GetDatasetsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
9
|
{},
|
|
9
|
-
).pipe(
|
|
10
|
-
|
|
10
|
+
).pipe(
|
|
11
|
+
T.Http({ method: "GET", path: "/v2/datasets" }),
|
|
12
|
+
) as unknown as Schema.Codec<GetDatasetsInput>;
|
|
11
13
|
|
|
12
14
|
// Output Schema
|
|
15
|
+
export type GetDatasetsOutput = ReadonlyArray<{
|
|
16
|
+
canWrite?: boolean;
|
|
17
|
+
created: string;
|
|
18
|
+
description: string;
|
|
19
|
+
edgeDeployment?: string;
|
|
20
|
+
edgeDeploymentUrl?: string;
|
|
21
|
+
id: string;
|
|
22
|
+
kind:
|
|
23
|
+
| "otel:metrics:v1"
|
|
24
|
+
| "otel:traces:v1"
|
|
25
|
+
| "otel:logs:v1"
|
|
26
|
+
| "axiom:events:v1";
|
|
27
|
+
mapFields?: ReadonlyArray<string>;
|
|
28
|
+
name: string;
|
|
29
|
+
retentionDays?: number;
|
|
30
|
+
sharedByOrg?: string;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
useRetentionPeriod?: boolean;
|
|
33
|
+
who: string;
|
|
34
|
+
}>;
|
|
13
35
|
export const GetDatasetsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
36
|
Schema.Struct({
|
|
15
37
|
canWrite: Schema.optional(Schema.Boolean),
|
|
16
38
|
created: Schema.String,
|
|
17
39
|
description: Schema.String,
|
|
18
40
|
edgeDeployment: Schema.optional(Schema.String),
|
|
41
|
+
edgeDeploymentUrl: Schema.optional(Schema.String),
|
|
19
42
|
id: Schema.String,
|
|
20
43
|
kind: Schema.Literals([
|
|
21
44
|
"otel:metrics:v1",
|
|
@@ -27,11 +50,11 @@ export const GetDatasetsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
27
50
|
name: Schema.String,
|
|
28
51
|
retentionDays: Schema.optional(Schema.Number),
|
|
29
52
|
sharedByOrg: Schema.optional(Schema.String),
|
|
53
|
+
updatedAt: Schema.String,
|
|
30
54
|
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
31
55
|
who: Schema.String,
|
|
32
56
|
}),
|
|
33
|
-
)
|
|
34
|
-
export type GetDatasetsOutput = typeof GetDatasetsOutput.Type;
|
|
57
|
+
) as unknown as Schema.Codec<GetDatasetsOutput>;
|
|
35
58
|
|
|
36
59
|
// The operation
|
|
37
60
|
/**
|
|
@@ -4,6 +4,10 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetFieldForDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
field_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const GetFieldForDatasetInput =
|
|
8
12
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
13
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
@@ -13,10 +17,16 @@ export const GetFieldForDatasetInput =
|
|
|
13
17
|
method: "GET",
|
|
14
18
|
path: "/v2/datasets/{dataset_id}/fields/{field_id}",
|
|
15
19
|
}),
|
|
16
|
-
)
|
|
17
|
-
export type GetFieldForDatasetInput = typeof GetFieldForDatasetInput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<GetFieldForDatasetInput>;
|
|
18
21
|
|
|
19
22
|
// Output Schema
|
|
23
|
+
export interface GetFieldForDatasetOutput {
|
|
24
|
+
description?: string;
|
|
25
|
+
hidden?: boolean;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
unit?: string;
|
|
29
|
+
}
|
|
20
30
|
export const GetFieldForDatasetOutput =
|
|
21
31
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
32
|
description: Schema.optional(Schema.String),
|
|
@@ -24,8 +34,7 @@ export const GetFieldForDatasetOutput =
|
|
|
24
34
|
name: Schema.String,
|
|
25
35
|
type: Schema.String,
|
|
26
36
|
unit: Schema.optional(Schema.String),
|
|
27
|
-
})
|
|
28
|
-
export type GetFieldForDatasetOutput = typeof GetFieldForDatasetOutput.Type;
|
|
37
|
+
}) as unknown as Schema.Codec<GetFieldForDatasetOutput>;
|
|
29
38
|
|
|
30
39
|
// The operation
|
|
31
40
|
export const getFieldForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,13 +4,24 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetFieldsForDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetFieldsForDatasetInput =
|
|
8
11
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
12
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
-
}).pipe(
|
|
11
|
-
|
|
13
|
+
}).pipe(
|
|
14
|
+
T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/fields" }),
|
|
15
|
+
) as unknown as Schema.Codec<GetFieldsForDatasetInput>;
|
|
12
16
|
|
|
13
17
|
// Output Schema
|
|
18
|
+
export type GetFieldsForDatasetOutput = ReadonlyArray<{
|
|
19
|
+
description?: string;
|
|
20
|
+
hidden?: boolean;
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
unit?: string;
|
|
24
|
+
}>;
|
|
14
25
|
export const GetFieldsForDatasetOutput =
|
|
15
26
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
16
27
|
Schema.Struct({
|
|
@@ -20,8 +31,7 @@ export const GetFieldsForDatasetOutput =
|
|
|
20
31
|
type: Schema.String,
|
|
21
32
|
unit: Schema.optional(Schema.String),
|
|
22
33
|
}),
|
|
23
|
-
)
|
|
24
|
-
export type GetFieldsForDatasetOutput = typeof GetFieldsForDatasetOutput.Type;
|
|
34
|
+
) as unknown as Schema.Codec<GetFieldsForDatasetOutput>;
|
|
25
35
|
|
|
26
36
|
// The operation
|
|
27
37
|
export const getFieldsForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,12 +4,24 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetGroupByIdInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetGroupByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/rbac/groups/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetGroupByIdInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetGroupByIdOutput {
|
|
18
|
+
description?: string;
|
|
19
|
+
isManaged?: boolean;
|
|
20
|
+
members?: ReadonlyArray<string>;
|
|
21
|
+
name: string;
|
|
22
|
+
roles?: ReadonlyArray<string>;
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
13
25
|
export const GetGroupByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
26
|
description: Schema.optional(Schema.String),
|
|
15
27
|
isManaged: Schema.optional(Schema.Boolean),
|
|
@@ -17,8 +29,7 @@ export const GetGroupByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
17
29
|
name: Schema.String,
|
|
18
30
|
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
19
31
|
id: Schema.String,
|
|
20
|
-
})
|
|
21
|
-
export type GetGroupByIdOutput = typeof GetGroupByIdOutput.Type;
|
|
32
|
+
}) as unknown as Schema.Codec<GetGroupByIdOutput>;
|
|
22
33
|
|
|
23
34
|
// The operation
|
|
24
35
|
/**
|
|
@@ -4,16 +4,20 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetMapFieldsInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetMapFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/mapfields" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetMapFieldsInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export type GetMapFieldsOutput = ReadonlyArray<string>;
|
|
13
18
|
export const GetMapFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
19
|
Schema.String,
|
|
15
|
-
)
|
|
16
|
-
export type GetMapFieldsOutput = typeof GetMapFieldsOutput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<GetMapFieldsOutput>;
|
|
17
21
|
|
|
18
22
|
// The operation
|
|
19
23
|
export const getMapFields = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,12 +4,50 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetMonitorInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetMonitorInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/monitors/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetMonitorInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetMonitorOutput {
|
|
18
|
+
alertOnNoData?: boolean;
|
|
19
|
+
aplQuery?: string;
|
|
20
|
+
columnName?: string;
|
|
21
|
+
compareDays?: number;
|
|
22
|
+
createdAt?: string;
|
|
23
|
+
createdBy?: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
disabledUntil?: string | null;
|
|
27
|
+
intervalMinutes?: number;
|
|
28
|
+
mplQuery?: string;
|
|
29
|
+
name: string;
|
|
30
|
+
notifierIds?: ReadonlyArray<string>;
|
|
31
|
+
notifyByGroup?: boolean;
|
|
32
|
+
notifyEveryRun?: boolean;
|
|
33
|
+
operator?:
|
|
34
|
+
| "Below"
|
|
35
|
+
| "BelowOrEqual"
|
|
36
|
+
| "Above"
|
|
37
|
+
| "AboveOrEqual"
|
|
38
|
+
| "AboveOrBelow";
|
|
39
|
+
rangeMinutes?: number;
|
|
40
|
+
resolvable?: boolean;
|
|
41
|
+
secondDelay?: number;
|
|
42
|
+
skipResolved?: boolean;
|
|
43
|
+
threshold?: number;
|
|
44
|
+
tolerance?: number;
|
|
45
|
+
triggerAfterNPositiveResults?: number;
|
|
46
|
+
triggerFromNRuns?: number;
|
|
47
|
+
type: "Threshold" | "MatchEvent" | "AnomalyDetection";
|
|
48
|
+
updatedAt?: string;
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
13
51
|
export const GetMonitorOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
52
|
alertOnNoData: Schema.optional(Schema.Boolean),
|
|
15
53
|
aplQuery: Schema.optional(Schema.String),
|
|
@@ -44,9 +82,9 @@ export const GetMonitorOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
44
82
|
triggerAfterNPositiveResults: Schema.optional(Schema.Number),
|
|
45
83
|
triggerFromNRuns: Schema.optional(Schema.Number),
|
|
46
84
|
type: Schema.Literals(["Threshold", "MatchEvent", "AnomalyDetection"]),
|
|
85
|
+
updatedAt: Schema.optional(Schema.String),
|
|
47
86
|
id: Schema.String,
|
|
48
|
-
})
|
|
49
|
-
export type GetMonitorOutput = typeof GetMonitorOutput.Type;
|
|
87
|
+
}) as unknown as Schema.Codec<GetMonitorOutput>;
|
|
50
88
|
|
|
51
89
|
// The operation
|
|
52
90
|
/**
|
|
@@ -4,16 +4,28 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetMonitorHistoryInput {
|
|
8
|
+
id: string;
|
|
9
|
+
startTime: string;
|
|
10
|
+
endTime: string;
|
|
11
|
+
}
|
|
7
12
|
export const GetMonitorHistoryInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
13
|
{
|
|
9
14
|
id: Schema.String.pipe(T.PathParam()),
|
|
10
15
|
startTime: Schema.String,
|
|
11
16
|
endTime: Schema.String,
|
|
12
17
|
},
|
|
13
|
-
).pipe(
|
|
14
|
-
|
|
18
|
+
).pipe(
|
|
19
|
+
T.Http({ method: "GET", path: "/v2/monitors/{id}/history" }),
|
|
20
|
+
) as unknown as Schema.Codec<GetMonitorHistoryInput>;
|
|
15
21
|
|
|
16
22
|
// Output Schema
|
|
23
|
+
export type GetMonitorHistoryOutput = ReadonlyArray<{
|
|
24
|
+
checkId: string;
|
|
25
|
+
name: string;
|
|
26
|
+
state: "open" | "closed";
|
|
27
|
+
timestamp: string;
|
|
28
|
+
}>;
|
|
17
29
|
export const GetMonitorHistoryOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
18
30
|
Schema.Struct({
|
|
19
31
|
checkId: Schema.String,
|
|
@@ -21,8 +33,7 @@ export const GetMonitorHistoryOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
21
33
|
state: Schema.Literals(["open", "closed"]),
|
|
22
34
|
timestamp: Schema.String,
|
|
23
35
|
}),
|
|
24
|
-
)
|
|
25
|
-
export type GetMonitorHistoryOutput = typeof GetMonitorHistoryOutput.Type;
|
|
36
|
+
) as unknown as Schema.Codec<GetMonitorHistoryOutput>;
|
|
26
37
|
|
|
27
38
|
// The operation
|
|
28
39
|
/**
|
|
@@ -3,12 +3,48 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetMonitorsInput {}
|
|
6
7
|
export const GetMonitorsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
8
|
{},
|
|
8
|
-
).pipe(
|
|
9
|
-
|
|
9
|
+
).pipe(
|
|
10
|
+
T.Http({ method: "GET", path: "/v2/monitors" }),
|
|
11
|
+
) as unknown as Schema.Codec<GetMonitorsInput>;
|
|
10
12
|
|
|
11
13
|
// Output Schema
|
|
14
|
+
export type GetMonitorsOutput = ReadonlyArray<{
|
|
15
|
+
alertOnNoData?: boolean;
|
|
16
|
+
aplQuery?: string;
|
|
17
|
+
columnName?: string;
|
|
18
|
+
compareDays?: number;
|
|
19
|
+
createdAt?: string;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
disabledUntil?: string | null;
|
|
24
|
+
intervalMinutes?: number;
|
|
25
|
+
mplQuery?: string;
|
|
26
|
+
name: string;
|
|
27
|
+
notifierIds?: ReadonlyArray<string>;
|
|
28
|
+
notifyByGroup?: boolean;
|
|
29
|
+
notifyEveryRun?: boolean;
|
|
30
|
+
operator?:
|
|
31
|
+
| "Below"
|
|
32
|
+
| "BelowOrEqual"
|
|
33
|
+
| "Above"
|
|
34
|
+
| "AboveOrEqual"
|
|
35
|
+
| "AboveOrBelow";
|
|
36
|
+
rangeMinutes?: number;
|
|
37
|
+
resolvable?: boolean;
|
|
38
|
+
secondDelay?: number;
|
|
39
|
+
skipResolved?: boolean;
|
|
40
|
+
threshold?: number;
|
|
41
|
+
tolerance?: number;
|
|
42
|
+
triggerAfterNPositiveResults?: number;
|
|
43
|
+
triggerFromNRuns?: number;
|
|
44
|
+
type: "Threshold" | "MatchEvent" | "AnomalyDetection";
|
|
45
|
+
updatedAt?: string;
|
|
46
|
+
id: string;
|
|
47
|
+
}>;
|
|
12
48
|
export const GetMonitorsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
49
|
Schema.Struct({
|
|
14
50
|
alertOnNoData: Schema.optional(Schema.Boolean),
|
|
@@ -44,10 +80,10 @@ export const GetMonitorsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
44
80
|
triggerAfterNPositiveResults: Schema.optional(Schema.Number),
|
|
45
81
|
triggerFromNRuns: Schema.optional(Schema.Number),
|
|
46
82
|
type: Schema.Literals(["Threshold", "MatchEvent", "AnomalyDetection"]),
|
|
83
|
+
updatedAt: Schema.optional(Schema.String),
|
|
47
84
|
id: Schema.String,
|
|
48
85
|
}),
|
|
49
|
-
)
|
|
50
|
-
export type GetMonitorsOutput = typeof GetMonitorsOutput.Type;
|
|
86
|
+
) as unknown as Schema.Codec<GetMonitorsOutput>;
|
|
51
87
|
|
|
52
88
|
// The operation
|
|
53
89
|
/**
|