@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,6 +4,175 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { BadRequest, Conflict } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface UpdateDashboardInput {
|
|
8
|
+
uid: string;
|
|
9
|
+
dashboard: {
|
|
10
|
+
name: string;
|
|
11
|
+
owner: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
charts: ReadonlyArray<
|
|
14
|
+
| { id: string; type: "TimeSeries"; name?: string; query: unknown }
|
|
15
|
+
| { id: string; type: "Heatmap"; name?: string; query: unknown }
|
|
16
|
+
| {
|
|
17
|
+
id: string;
|
|
18
|
+
type: "LogStream";
|
|
19
|
+
name?: string;
|
|
20
|
+
query: unknown;
|
|
21
|
+
tableSettings?: {
|
|
22
|
+
columns?: ReadonlyArray<unknown>;
|
|
23
|
+
settings?: {
|
|
24
|
+
fontSize?: string;
|
|
25
|
+
highlightSeverity?: boolean;
|
|
26
|
+
showRaw?: boolean;
|
|
27
|
+
showEvent?: boolean;
|
|
28
|
+
showTimestamp?: boolean;
|
|
29
|
+
wrapLines?: boolean;
|
|
30
|
+
hideNulls?: boolean;
|
|
31
|
+
fitColumns?: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
| { id: string; type: "Pie"; name?: string; query: unknown }
|
|
36
|
+
| { id: string; type: "Scatter"; name?: string; query: unknown }
|
|
37
|
+
| {
|
|
38
|
+
id: string;
|
|
39
|
+
type: "Table";
|
|
40
|
+
name?: string;
|
|
41
|
+
query: unknown;
|
|
42
|
+
tableSettings?: {
|
|
43
|
+
columns?: ReadonlyArray<unknown>;
|
|
44
|
+
settings?: {
|
|
45
|
+
fontSize?: string;
|
|
46
|
+
highlightSeverity?: boolean;
|
|
47
|
+
showRaw?: boolean;
|
|
48
|
+
showEvent?: boolean;
|
|
49
|
+
showTimestamp?: boolean;
|
|
50
|
+
wrapLines?: boolean;
|
|
51
|
+
hideNulls?: boolean;
|
|
52
|
+
fitColumns?: boolean;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
| { id: string; type: "TopK"; name?: string; query: unknown }
|
|
57
|
+
| {
|
|
58
|
+
id: string;
|
|
59
|
+
type: "Statistic";
|
|
60
|
+
name?: string;
|
|
61
|
+
query: unknown;
|
|
62
|
+
colorScheme?:
|
|
63
|
+
| "Blue"
|
|
64
|
+
| "Orange"
|
|
65
|
+
| "Red"
|
|
66
|
+
| "Purple"
|
|
67
|
+
| "Teal"
|
|
68
|
+
| "Yellow"
|
|
69
|
+
| "Green"
|
|
70
|
+
| "Pink"
|
|
71
|
+
| "Grey"
|
|
72
|
+
| "Brown";
|
|
73
|
+
customUnits?: string;
|
|
74
|
+
showChart?: boolean | string;
|
|
75
|
+
hideValue?: boolean;
|
|
76
|
+
chartHeight?: string | number;
|
|
77
|
+
errorThreshold?:
|
|
78
|
+
| "Above"
|
|
79
|
+
| "AboveOrEqual"
|
|
80
|
+
| "Below"
|
|
81
|
+
| "BelowOrEqual"
|
|
82
|
+
| "AboveOrBelow";
|
|
83
|
+
errorThresholdValue?: string;
|
|
84
|
+
warningThreshold?:
|
|
85
|
+
| "Above"
|
|
86
|
+
| "AboveOrEqual"
|
|
87
|
+
| "Below"
|
|
88
|
+
| "BelowOrEqual"
|
|
89
|
+
| "AboveOrBelow";
|
|
90
|
+
warningThresholdValue?: string;
|
|
91
|
+
invertTheme?: boolean;
|
|
92
|
+
background?: string;
|
|
93
|
+
textColor?: string;
|
|
94
|
+
labelColor?: string;
|
|
95
|
+
chartFillColor?: string;
|
|
96
|
+
okColorProps?: {
|
|
97
|
+
background?: string;
|
|
98
|
+
chartFillColor?: string;
|
|
99
|
+
labelColor?: string;
|
|
100
|
+
textColor?: string;
|
|
101
|
+
};
|
|
102
|
+
warningColorProps?: {
|
|
103
|
+
background?: string;
|
|
104
|
+
chartFillColor?: string;
|
|
105
|
+
labelColor?: string;
|
|
106
|
+
textColor?: string;
|
|
107
|
+
};
|
|
108
|
+
errorColorProps?: {
|
|
109
|
+
background?: string;
|
|
110
|
+
chartFillColor?: string;
|
|
111
|
+
labelColor?: string;
|
|
112
|
+
textColor?: string;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
| { id: string; type: "Note"; text: string; variant?: "default" }
|
|
116
|
+
| {
|
|
117
|
+
id: string;
|
|
118
|
+
type: "MonitorList";
|
|
119
|
+
name?: string;
|
|
120
|
+
selectedMonitors: ReadonlyArray<string>;
|
|
121
|
+
columns: {
|
|
122
|
+
status: boolean;
|
|
123
|
+
history: boolean;
|
|
124
|
+
dataset: boolean;
|
|
125
|
+
type: boolean;
|
|
126
|
+
notifiers: boolean;
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
| {
|
|
130
|
+
id: string;
|
|
131
|
+
type: "SmartFilter";
|
|
132
|
+
name?: string;
|
|
133
|
+
filters: ReadonlyArray<unknown>;
|
|
134
|
+
logo?: string;
|
|
135
|
+
logoDark?: string;
|
|
136
|
+
}
|
|
137
|
+
| { id: string; type: "Spacer"; name?: string }
|
|
138
|
+
>;
|
|
139
|
+
layout: ReadonlyArray<{
|
|
140
|
+
i: string;
|
|
141
|
+
x: number;
|
|
142
|
+
y: number | null;
|
|
143
|
+
w: number;
|
|
144
|
+
h: number;
|
|
145
|
+
minW?: number;
|
|
146
|
+
minH?: number;
|
|
147
|
+
maxW?: number;
|
|
148
|
+
maxH?: number;
|
|
149
|
+
static?: boolean;
|
|
150
|
+
}>;
|
|
151
|
+
refreshTime: 15 | 60 | 300;
|
|
152
|
+
schemaVersion: 2;
|
|
153
|
+
against?:
|
|
154
|
+
| "-1h"
|
|
155
|
+
| "-3h"
|
|
156
|
+
| "-6h"
|
|
157
|
+
| "-12h"
|
|
158
|
+
| "-1d"
|
|
159
|
+
| "-3d"
|
|
160
|
+
| "-7d"
|
|
161
|
+
| "-1w"
|
|
162
|
+
| "-2w"
|
|
163
|
+
| "-3w"
|
|
164
|
+
| "-30d"
|
|
165
|
+
| "-60d"
|
|
166
|
+
| "-90d";
|
|
167
|
+
againstTimestamp?: string;
|
|
168
|
+
timeWindowStart: string;
|
|
169
|
+
timeWindowEnd: string;
|
|
170
|
+
uid?: string;
|
|
171
|
+
};
|
|
172
|
+
message?: string;
|
|
173
|
+
overwrite?: boolean;
|
|
174
|
+
version?: string | number;
|
|
175
|
+
}
|
|
7
176
|
export const UpdateDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
177
|
uid: Schema.String.pipe(T.PathParam()),
|
|
9
178
|
dashboard: Schema.Struct({
|
|
@@ -51,11 +220,188 @@ export const UpdateDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
51
220
|
}),
|
|
52
221
|
message: Schema.optional(Schema.String),
|
|
53
222
|
overwrite: Schema.optional(Schema.Boolean),
|
|
54
|
-
version: Schema.optional(Schema.
|
|
55
|
-
}).pipe(
|
|
56
|
-
|
|
223
|
+
version: Schema.optional(Schema.Union([Schema.String, Schema.Number])),
|
|
224
|
+
}).pipe(
|
|
225
|
+
T.Http({ method: "PUT", path: "/v2/dashboards/uid/{uid}" }),
|
|
226
|
+
) as unknown as Schema.Codec<UpdateDashboardInput>;
|
|
57
227
|
|
|
58
228
|
// Output Schema
|
|
229
|
+
export interface UpdateDashboardOutput {
|
|
230
|
+
dashboard: {
|
|
231
|
+
createdAt: string;
|
|
232
|
+
createdBy: string;
|
|
233
|
+
dashboard: {
|
|
234
|
+
name: string;
|
|
235
|
+
owner: string;
|
|
236
|
+
description?: string;
|
|
237
|
+
charts: ReadonlyArray<
|
|
238
|
+
| { id: string; type: "TimeSeries"; name?: string; query: unknown }
|
|
239
|
+
| { id: string; type: "Heatmap"; name?: string; query: unknown }
|
|
240
|
+
| {
|
|
241
|
+
id: string;
|
|
242
|
+
type: "LogStream";
|
|
243
|
+
name?: string;
|
|
244
|
+
query: unknown;
|
|
245
|
+
tableSettings?: {
|
|
246
|
+
columns?: ReadonlyArray<unknown>;
|
|
247
|
+
settings?: {
|
|
248
|
+
fontSize?: string;
|
|
249
|
+
highlightSeverity?: boolean;
|
|
250
|
+
showRaw?: boolean;
|
|
251
|
+
showEvent?: boolean;
|
|
252
|
+
showTimestamp?: boolean;
|
|
253
|
+
wrapLines?: boolean;
|
|
254
|
+
hideNulls?: boolean;
|
|
255
|
+
fitColumns?: boolean;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
| { id: string; type: "Pie"; name?: string; query: unknown }
|
|
260
|
+
| { id: string; type: "Scatter"; name?: string; query: unknown }
|
|
261
|
+
| {
|
|
262
|
+
id: string;
|
|
263
|
+
type: "Table";
|
|
264
|
+
name?: string;
|
|
265
|
+
query: unknown;
|
|
266
|
+
tableSettings?: {
|
|
267
|
+
columns?: ReadonlyArray<unknown>;
|
|
268
|
+
settings?: {
|
|
269
|
+
fontSize?: string;
|
|
270
|
+
highlightSeverity?: boolean;
|
|
271
|
+
showRaw?: boolean;
|
|
272
|
+
showEvent?: boolean;
|
|
273
|
+
showTimestamp?: boolean;
|
|
274
|
+
wrapLines?: boolean;
|
|
275
|
+
hideNulls?: boolean;
|
|
276
|
+
fitColumns?: boolean;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
| { id: string; type: "TopK"; name?: string; query: unknown }
|
|
281
|
+
| {
|
|
282
|
+
id: string;
|
|
283
|
+
type: "Statistic";
|
|
284
|
+
name?: string;
|
|
285
|
+
query: unknown;
|
|
286
|
+
colorScheme?:
|
|
287
|
+
| "Blue"
|
|
288
|
+
| "Orange"
|
|
289
|
+
| "Red"
|
|
290
|
+
| "Purple"
|
|
291
|
+
| "Teal"
|
|
292
|
+
| "Yellow"
|
|
293
|
+
| "Green"
|
|
294
|
+
| "Pink"
|
|
295
|
+
| "Grey"
|
|
296
|
+
| "Brown";
|
|
297
|
+
customUnits?: string;
|
|
298
|
+
showChart?: boolean | string;
|
|
299
|
+
hideValue?: boolean;
|
|
300
|
+
chartHeight?: string | number;
|
|
301
|
+
errorThreshold?:
|
|
302
|
+
| "Above"
|
|
303
|
+
| "AboveOrEqual"
|
|
304
|
+
| "Below"
|
|
305
|
+
| "BelowOrEqual"
|
|
306
|
+
| "AboveOrBelow";
|
|
307
|
+
errorThresholdValue?: string;
|
|
308
|
+
warningThreshold?:
|
|
309
|
+
| "Above"
|
|
310
|
+
| "AboveOrEqual"
|
|
311
|
+
| "Below"
|
|
312
|
+
| "BelowOrEqual"
|
|
313
|
+
| "AboveOrBelow";
|
|
314
|
+
warningThresholdValue?: string;
|
|
315
|
+
invertTheme?: boolean;
|
|
316
|
+
background?: string;
|
|
317
|
+
textColor?: string;
|
|
318
|
+
labelColor?: string;
|
|
319
|
+
chartFillColor?: string;
|
|
320
|
+
okColorProps?: {
|
|
321
|
+
background?: string;
|
|
322
|
+
chartFillColor?: string;
|
|
323
|
+
labelColor?: string;
|
|
324
|
+
textColor?: string;
|
|
325
|
+
};
|
|
326
|
+
warningColorProps?: {
|
|
327
|
+
background?: string;
|
|
328
|
+
chartFillColor?: string;
|
|
329
|
+
labelColor?: string;
|
|
330
|
+
textColor?: string;
|
|
331
|
+
};
|
|
332
|
+
errorColorProps?: {
|
|
333
|
+
background?: string;
|
|
334
|
+
chartFillColor?: string;
|
|
335
|
+
labelColor?: string;
|
|
336
|
+
textColor?: string;
|
|
337
|
+
};
|
|
338
|
+
}
|
|
339
|
+
| { id: string; type: "Note"; text: string; variant?: "default" }
|
|
340
|
+
| {
|
|
341
|
+
id: string;
|
|
342
|
+
type: "MonitorList";
|
|
343
|
+
name?: string;
|
|
344
|
+
selectedMonitors: ReadonlyArray<string>;
|
|
345
|
+
columns: {
|
|
346
|
+
status: boolean;
|
|
347
|
+
history: boolean;
|
|
348
|
+
dataset: boolean;
|
|
349
|
+
type: boolean;
|
|
350
|
+
notifiers: boolean;
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
| {
|
|
354
|
+
id: string;
|
|
355
|
+
type: "SmartFilter";
|
|
356
|
+
name?: string;
|
|
357
|
+
filters: ReadonlyArray<unknown>;
|
|
358
|
+
logo?: string;
|
|
359
|
+
logoDark?: string;
|
|
360
|
+
}
|
|
361
|
+
| { id: string; type: "Spacer"; name?: string }
|
|
362
|
+
>;
|
|
363
|
+
layout: ReadonlyArray<{
|
|
364
|
+
i: string;
|
|
365
|
+
x: number;
|
|
366
|
+
y: number | null;
|
|
367
|
+
w: number;
|
|
368
|
+
h: number;
|
|
369
|
+
minW?: number;
|
|
370
|
+
minH?: number;
|
|
371
|
+
maxW?: number;
|
|
372
|
+
maxH?: number;
|
|
373
|
+
static?: boolean;
|
|
374
|
+
}>;
|
|
375
|
+
refreshTime: 15 | 60 | 300;
|
|
376
|
+
schemaVersion: 2;
|
|
377
|
+
against?:
|
|
378
|
+
| "-1h"
|
|
379
|
+
| "-3h"
|
|
380
|
+
| "-6h"
|
|
381
|
+
| "-12h"
|
|
382
|
+
| "-1d"
|
|
383
|
+
| "-3d"
|
|
384
|
+
| "-7d"
|
|
385
|
+
| "-1w"
|
|
386
|
+
| "-2w"
|
|
387
|
+
| "-3w"
|
|
388
|
+
| "-30d"
|
|
389
|
+
| "-60d"
|
|
390
|
+
| "-90d";
|
|
391
|
+
againstTimestamp?: string;
|
|
392
|
+
timeWindowStart: string;
|
|
393
|
+
timeWindowEnd: string;
|
|
394
|
+
uid?: string;
|
|
395
|
+
};
|
|
396
|
+
id: string;
|
|
397
|
+
uid: string;
|
|
398
|
+
updatedAt: string;
|
|
399
|
+
updatedBy: string;
|
|
400
|
+
version: string | number;
|
|
401
|
+
};
|
|
402
|
+
overwritten?: boolean;
|
|
403
|
+
status: "created" | "updated";
|
|
404
|
+
}
|
|
59
405
|
export const UpdateDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
60
406
|
dashboard: Schema.Struct({
|
|
61
407
|
createdAt: Schema.String,
|
|
@@ -107,12 +453,11 @@ export const UpdateDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
107
453
|
uid: Schema.String,
|
|
108
454
|
updatedAt: Schema.String,
|
|
109
455
|
updatedBy: Schema.String,
|
|
110
|
-
version: Schema.
|
|
456
|
+
version: Schema.Union([Schema.String, Schema.Number]),
|
|
111
457
|
}),
|
|
112
458
|
overwritten: Schema.optional(Schema.Boolean),
|
|
113
459
|
status: Schema.Literals(["created", "updated"]),
|
|
114
|
-
})
|
|
115
|
-
export type UpdateDashboardOutput = typeof UpdateDashboardOutput.Type;
|
|
460
|
+
}) as unknown as Schema.Codec<UpdateDashboardOutput>;
|
|
116
461
|
|
|
117
462
|
// The operation
|
|
118
463
|
/**
|
|
@@ -4,20 +4,48 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface UpdateDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
retentionDays?: number;
|
|
11
|
+
useRetentionPeriod?: boolean;
|
|
12
|
+
}
|
|
7
13
|
export const UpdateDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
14
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
15
|
description: Schema.optional(Schema.String),
|
|
10
16
|
retentionDays: Schema.optional(Schema.Number),
|
|
11
17
|
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
12
|
-
}).pipe(
|
|
13
|
-
|
|
18
|
+
}).pipe(
|
|
19
|
+
T.Http({ method: "PUT", path: "/v2/datasets/{dataset_id}" }),
|
|
20
|
+
) as unknown as Schema.Codec<UpdateDatasetInput>;
|
|
14
21
|
|
|
15
22
|
// Output Schema
|
|
23
|
+
export interface UpdateDatasetOutput {
|
|
24
|
+
canWrite?: boolean;
|
|
25
|
+
created: string;
|
|
26
|
+
description: string;
|
|
27
|
+
edgeDeployment?: string;
|
|
28
|
+
edgeDeploymentUrl?: string;
|
|
29
|
+
id: string;
|
|
30
|
+
kind:
|
|
31
|
+
| "otel:metrics:v1"
|
|
32
|
+
| "otel:traces:v1"
|
|
33
|
+
| "otel:logs:v1"
|
|
34
|
+
| "axiom:events:v1";
|
|
35
|
+
mapFields?: ReadonlyArray<string>;
|
|
36
|
+
name: string;
|
|
37
|
+
retentionDays?: number;
|
|
38
|
+
sharedByOrg?: string;
|
|
39
|
+
updatedAt: string;
|
|
40
|
+
useRetentionPeriod?: boolean;
|
|
41
|
+
who: string;
|
|
42
|
+
}
|
|
16
43
|
export const UpdateDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
44
|
canWrite: Schema.optional(Schema.Boolean),
|
|
18
45
|
created: Schema.String,
|
|
19
46
|
description: Schema.String,
|
|
20
47
|
edgeDeployment: Schema.optional(Schema.String),
|
|
48
|
+
edgeDeploymentUrl: Schema.optional(Schema.String),
|
|
21
49
|
id: Schema.String,
|
|
22
50
|
kind: Schema.Literals([
|
|
23
51
|
"otel:metrics:v1",
|
|
@@ -29,10 +57,10 @@ export const UpdateDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
29
57
|
name: Schema.String,
|
|
30
58
|
retentionDays: Schema.optional(Schema.Number),
|
|
31
59
|
sharedByOrg: Schema.optional(Schema.String),
|
|
60
|
+
updatedAt: Schema.String,
|
|
32
61
|
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
33
62
|
who: Schema.String,
|
|
34
|
-
})
|
|
35
|
-
export type UpdateDatasetOutput = typeof UpdateDatasetOutput.Type;
|
|
63
|
+
}) as unknown as Schema.Codec<UpdateDatasetOutput>;
|
|
36
64
|
|
|
37
65
|
// The operation
|
|
38
66
|
/**
|
|
@@ -4,6 +4,15 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface UpdateFieldForDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
field_id: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
hidden?: boolean;
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
unit?: string;
|
|
15
|
+
}
|
|
7
16
|
export const UpdateFieldForDatasetInput =
|
|
8
17
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
18
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
@@ -18,10 +27,16 @@ export const UpdateFieldForDatasetInput =
|
|
|
18
27
|
method: "PUT",
|
|
19
28
|
path: "/v2/datasets/{dataset_id}/fields/{field_id}",
|
|
20
29
|
}),
|
|
21
|
-
)
|
|
22
|
-
export type UpdateFieldForDatasetInput = typeof UpdateFieldForDatasetInput.Type;
|
|
30
|
+
) as unknown as Schema.Codec<UpdateFieldForDatasetInput>;
|
|
23
31
|
|
|
24
32
|
// Output Schema
|
|
33
|
+
export interface UpdateFieldForDatasetOutput {
|
|
34
|
+
description?: string;
|
|
35
|
+
hidden?: boolean;
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
unit?: string;
|
|
39
|
+
}
|
|
25
40
|
export const UpdateFieldForDatasetOutput =
|
|
26
41
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
27
42
|
description: Schema.optional(Schema.String),
|
|
@@ -29,9 +44,7 @@ export const UpdateFieldForDatasetOutput =
|
|
|
29
44
|
name: Schema.String,
|
|
30
45
|
type: Schema.String,
|
|
31
46
|
unit: Schema.optional(Schema.String),
|
|
32
|
-
})
|
|
33
|
-
export type UpdateFieldForDatasetOutput =
|
|
34
|
-
typeof UpdateFieldForDatasetOutput.Type;
|
|
47
|
+
}) as unknown as Schema.Codec<UpdateFieldForDatasetOutput>;
|
|
35
48
|
|
|
36
49
|
// The operation
|
|
37
50
|
export const updateFieldForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
@@ -4,6 +4,14 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface UpdateGroupInput {
|
|
8
|
+
id: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
isManaged?: boolean;
|
|
11
|
+
members?: ReadonlyArray<string>;
|
|
12
|
+
name: string;
|
|
13
|
+
roles?: ReadonlyArray<string>;
|
|
14
|
+
}
|
|
7
15
|
export const UpdateGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
16
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
17
|
description: Schema.optional(Schema.String),
|
|
@@ -11,10 +19,19 @@ export const UpdateGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
11
19
|
members: Schema.optional(Schema.Array(Schema.String)),
|
|
12
20
|
name: Schema.String,
|
|
13
21
|
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
14
|
-
}).pipe(
|
|
15
|
-
|
|
22
|
+
}).pipe(
|
|
23
|
+
T.Http({ method: "PUT", path: "/v2/rbac/groups/{id}" }),
|
|
24
|
+
) as unknown as Schema.Codec<UpdateGroupInput>;
|
|
16
25
|
|
|
17
26
|
// Output Schema
|
|
27
|
+
export interface UpdateGroupOutput {
|
|
28
|
+
description?: string;
|
|
29
|
+
isManaged?: boolean;
|
|
30
|
+
members?: ReadonlyArray<string>;
|
|
31
|
+
name: string;
|
|
32
|
+
roles?: ReadonlyArray<string>;
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
18
35
|
export const UpdateGroupOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
19
36
|
description: Schema.optional(Schema.String),
|
|
20
37
|
isManaged: Schema.optional(Schema.Boolean),
|
|
@@ -22,8 +39,7 @@ export const UpdateGroupOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
22
39
|
name: Schema.String,
|
|
23
40
|
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
24
41
|
id: Schema.String,
|
|
25
|
-
})
|
|
26
|
-
export type UpdateGroupOutput = typeof UpdateGroupOutput.Type;
|
|
42
|
+
}) as unknown as Schema.Codec<UpdateGroupOutput>;
|
|
27
43
|
|
|
28
44
|
// The operation
|
|
29
45
|
/**
|
|
@@ -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 UpdateMapFieldsInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
}
|
|
7
10
|
export const UpdateMapFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "PUT", path: "/v2/datasets/{dataset_id}/mapfields" }),
|
|
14
|
+
) as unknown as Schema.Codec<UpdateMapFieldsInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export type UpdateMapFieldsOutput = ReadonlyArray<string>;
|
|
13
18
|
export const UpdateMapFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
19
|
Schema.String,
|
|
15
|
-
)
|
|
16
|
-
export type UpdateMapFieldsOutput = typeof UpdateMapFieldsOutput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<UpdateMapFieldsOutput>;
|
|
17
21
|
|
|
18
22
|
// The operation
|
|
19
23
|
export const updateMapFields = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,6 +4,40 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface UpdateMonitorInput {
|
|
8
|
+
id: string;
|
|
9
|
+
alertOnNoData?: boolean;
|
|
10
|
+
aplQuery?: string;
|
|
11
|
+
columnName?: string;
|
|
12
|
+
compareDays?: number;
|
|
13
|
+
createdAt?: string;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
disabledUntil?: string | null;
|
|
18
|
+
intervalMinutes?: number;
|
|
19
|
+
mplQuery?: string;
|
|
20
|
+
name: string;
|
|
21
|
+
notifierIds?: ReadonlyArray<string>;
|
|
22
|
+
notifyByGroup?: boolean;
|
|
23
|
+
notifyEveryRun?: boolean;
|
|
24
|
+
operator?:
|
|
25
|
+
| "Below"
|
|
26
|
+
| "BelowOrEqual"
|
|
27
|
+
| "Above"
|
|
28
|
+
| "AboveOrEqual"
|
|
29
|
+
| "AboveOrBelow";
|
|
30
|
+
rangeMinutes?: number;
|
|
31
|
+
resolvable?: boolean;
|
|
32
|
+
secondDelay?: number;
|
|
33
|
+
skipResolved?: boolean;
|
|
34
|
+
threshold?: number;
|
|
35
|
+
tolerance?: number;
|
|
36
|
+
triggerAfterNPositiveResults?: number;
|
|
37
|
+
triggerFromNRuns?: number;
|
|
38
|
+
type: "Threshold" | "MatchEvent" | "AnomalyDetection";
|
|
39
|
+
updatedAt?: string;
|
|
40
|
+
}
|
|
7
41
|
export const UpdateMonitorInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
42
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
43
|
alertOnNoData: Schema.optional(Schema.Boolean),
|
|
@@ -39,10 +73,46 @@ export const UpdateMonitorInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
39
73
|
triggerAfterNPositiveResults: Schema.optional(Schema.Number),
|
|
40
74
|
triggerFromNRuns: Schema.optional(Schema.Number),
|
|
41
75
|
type: Schema.Literals(["Threshold", "MatchEvent", "AnomalyDetection"]),
|
|
42
|
-
|
|
43
|
-
|
|
76
|
+
updatedAt: Schema.optional(Schema.String),
|
|
77
|
+
}).pipe(
|
|
78
|
+
T.Http({ method: "PUT", path: "/v2/monitors/{id}" }),
|
|
79
|
+
) as unknown as Schema.Codec<UpdateMonitorInput>;
|
|
44
80
|
|
|
45
81
|
// Output Schema
|
|
82
|
+
export interface UpdateMonitorOutput {
|
|
83
|
+
alertOnNoData?: boolean;
|
|
84
|
+
aplQuery?: string;
|
|
85
|
+
columnName?: string;
|
|
86
|
+
compareDays?: number;
|
|
87
|
+
createdAt?: string;
|
|
88
|
+
createdBy?: string;
|
|
89
|
+
description?: string;
|
|
90
|
+
disabled?: boolean;
|
|
91
|
+
disabledUntil?: string | null;
|
|
92
|
+
intervalMinutes?: number;
|
|
93
|
+
mplQuery?: string;
|
|
94
|
+
name: string;
|
|
95
|
+
notifierIds?: ReadonlyArray<string>;
|
|
96
|
+
notifyByGroup?: boolean;
|
|
97
|
+
notifyEveryRun?: boolean;
|
|
98
|
+
operator?:
|
|
99
|
+
| "Below"
|
|
100
|
+
| "BelowOrEqual"
|
|
101
|
+
| "Above"
|
|
102
|
+
| "AboveOrEqual"
|
|
103
|
+
| "AboveOrBelow";
|
|
104
|
+
rangeMinutes?: number;
|
|
105
|
+
resolvable?: boolean;
|
|
106
|
+
secondDelay?: number;
|
|
107
|
+
skipResolved?: boolean;
|
|
108
|
+
threshold?: number;
|
|
109
|
+
tolerance?: number;
|
|
110
|
+
triggerAfterNPositiveResults?: number;
|
|
111
|
+
triggerFromNRuns?: number;
|
|
112
|
+
type: "Threshold" | "MatchEvent" | "AnomalyDetection";
|
|
113
|
+
updatedAt?: string;
|
|
114
|
+
id: string;
|
|
115
|
+
}
|
|
46
116
|
export const UpdateMonitorOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
47
117
|
alertOnNoData: Schema.optional(Schema.Boolean),
|
|
48
118
|
aplQuery: Schema.optional(Schema.String),
|
|
@@ -77,9 +147,9 @@ export const UpdateMonitorOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
77
147
|
triggerAfterNPositiveResults: Schema.optional(Schema.Number),
|
|
78
148
|
triggerFromNRuns: Schema.optional(Schema.Number),
|
|
79
149
|
type: Schema.Literals(["Threshold", "MatchEvent", "AnomalyDetection"]),
|
|
150
|
+
updatedAt: Schema.optional(Schema.String),
|
|
80
151
|
id: Schema.String,
|
|
81
|
-
})
|
|
82
|
-
export type UpdateMonitorOutput = typeof UpdateMonitorOutput.Type;
|
|
152
|
+
}) as unknown as Schema.Codec<UpdateMonitorOutput>;
|
|
83
153
|
|
|
84
154
|
// The operation
|
|
85
155
|
/**
|