@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,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteAPITokenInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteAPITokenInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/tokens/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteAPITokenInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteAPITokenOutput = void;
|
|
18
|
+
export const DeleteAPITokenOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteAPITokenOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { BadRequest, NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteAnnotationInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteAnnotationInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/annotations/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteAnnotationInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteAnnotationOutput = void;
|
|
18
|
+
export const DeleteAnnotationOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteAnnotationOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteDashboardInput {
|
|
8
|
+
uid: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
uid: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/dashboards/uid/{uid}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteDashboardInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteDashboardOutput = void;
|
|
18
|
+
export const DeleteDashboardOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteDashboardOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/datasets/{dataset_id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteDatasetInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteDatasetOutput = void;
|
|
18
|
+
export const DeleteDatasetOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteDatasetOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteGroupInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/rbac/groups/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteGroupInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteGroupOutput = void;
|
|
18
|
+
export const DeleteGroupOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteGroupOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -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 DeleteMapFieldInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
map_field_name: string;
|
|
10
|
+
}
|
|
7
11
|
export const DeleteMapFieldInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
12
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
13
|
map_field_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -12,12 +16,12 @@ export const DeleteMapFieldInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12
16
|
method: "DELETE",
|
|
13
17
|
path: "/v2/datasets/{dataset_id}/mapfields/{map_field_name}",
|
|
14
18
|
}),
|
|
15
|
-
)
|
|
16
|
-
export type DeleteMapFieldInput = typeof DeleteMapFieldInput.Type;
|
|
19
|
+
) as unknown as Schema.Codec<DeleteMapFieldInput>;
|
|
17
20
|
|
|
18
21
|
// Output Schema
|
|
19
|
-
export
|
|
20
|
-
export
|
|
22
|
+
export type DeleteMapFieldOutput = void;
|
|
23
|
+
export const DeleteMapFieldOutput =
|
|
24
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteMapFieldOutput>;
|
|
21
25
|
|
|
22
26
|
// The operation
|
|
23
27
|
export const deleteMapField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteMonitorInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteMonitorInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/monitors/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteMonitorInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteMonitorOutput = void;
|
|
18
|
+
export const DeleteMonitorOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteMonitorOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteNotifierInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteNotifierInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/notifiers/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteNotifierInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteNotifierOutput = void;
|
|
18
|
+
export const DeleteNotifierOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteNotifierOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteRoleInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/rbac/roles/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteRoleInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteRoleOutput = void;
|
|
18
|
+
export const DeleteRoleOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteRoleOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
/**
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteStarredInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteStarredInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/apl-starred-queries/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteStarredInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteStarredOutput = void;
|
|
18
|
+
export const DeleteStarredOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteStarredOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
export const deleteStarred = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,14 +4,19 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteViewInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteViewInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "DELETE", path: "/v2/views/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<DeleteViewInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
13
|
-
export
|
|
14
|
-
export
|
|
17
|
+
export type DeleteViewOutput = void;
|
|
18
|
+
export const DeleteViewOutput =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteViewOutput>;
|
|
15
20
|
|
|
16
21
|
// The operation
|
|
17
22
|
export const deleteView = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,15 +4,20 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface DeleteVirtualFieldInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const DeleteVirtualFieldInput =
|
|
8
11
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
12
|
id: Schema.String.pipe(T.PathParam()),
|
|
10
|
-
}).pipe(
|
|
11
|
-
|
|
13
|
+
}).pipe(
|
|
14
|
+
T.Http({ method: "DELETE", path: "/v2/vfields/{id}" }),
|
|
15
|
+
) as unknown as Schema.Codec<DeleteVirtualFieldInput>;
|
|
12
16
|
|
|
13
17
|
// Output Schema
|
|
14
|
-
export
|
|
15
|
-
export
|
|
18
|
+
export type DeleteVirtualFieldOutput = void;
|
|
19
|
+
export const DeleteVirtualFieldOutput =
|
|
20
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<DeleteVirtualFieldOutput>;
|
|
16
21
|
|
|
17
22
|
// The operation
|
|
18
23
|
export const deleteVirtualField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,12 +4,60 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetAPITokenInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetAPITokenInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/tokens/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetAPITokenInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetAPITokenOutput {
|
|
18
|
+
datasetCapabilities: Record<
|
|
19
|
+
string,
|
|
20
|
+
{
|
|
21
|
+
data?: ReadonlyArray<"delete">;
|
|
22
|
+
ingest?: ReadonlyArray<"create">;
|
|
23
|
+
query?: ReadonlyArray<"read">;
|
|
24
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
25
|
+
starredQueries?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
26
|
+
trim?: ReadonlyArray<"update">;
|
|
27
|
+
vacuum?: ReadonlyArray<"update">;
|
|
28
|
+
virtualFields?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
29
|
+
}
|
|
30
|
+
>;
|
|
31
|
+
description?: string;
|
|
32
|
+
expiresAt?: string | null;
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
orgCapabilities: {
|
|
36
|
+
annotations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
37
|
+
apiTokens?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
38
|
+
auditLog?: ReadonlyArray<"read">;
|
|
39
|
+
billing?: ReadonlyArray<"read" | "update">;
|
|
40
|
+
dashboards?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
41
|
+
datasets?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
42
|
+
endpoints?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
43
|
+
flows?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
44
|
+
integrations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
45
|
+
monitors?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
46
|
+
notifiers?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
47
|
+
rbac?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
48
|
+
sharedAccessKeys?: ReadonlyArray<"read" | "update">;
|
|
49
|
+
users?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
50
|
+
views?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
51
|
+
};
|
|
52
|
+
samlAuthenticated?: boolean;
|
|
53
|
+
viewCapabilities?: Record<
|
|
54
|
+
string,
|
|
55
|
+
{
|
|
56
|
+
query?: ReadonlyArray<"read">;
|
|
57
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
58
|
+
}
|
|
59
|
+
>;
|
|
60
|
+
}
|
|
13
61
|
export const GetAPITokenOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
62
|
datasetCapabilities: Schema.Record(
|
|
15
63
|
Schema.String,
|
|
@@ -89,8 +137,7 @@ export const GetAPITokenOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
89
137
|
}),
|
|
90
138
|
),
|
|
91
139
|
),
|
|
92
|
-
})
|
|
93
|
-
export type GetAPITokenOutput = typeof GetAPITokenOutput.Type;
|
|
140
|
+
}) as unknown as Schema.Codec<GetAPITokenOutput>;
|
|
94
141
|
|
|
95
142
|
// The operation
|
|
96
143
|
/**
|
|
@@ -3,12 +3,58 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetAPITokensInput {}
|
|
6
7
|
export const GetAPITokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
8
|
{},
|
|
8
|
-
).pipe(
|
|
9
|
-
|
|
9
|
+
).pipe(
|
|
10
|
+
T.Http({ method: "GET", path: "/v2/tokens" }),
|
|
11
|
+
) as unknown as Schema.Codec<GetAPITokensInput>;
|
|
10
12
|
|
|
11
13
|
// Output Schema
|
|
14
|
+
export type GetAPITokensOutput = ReadonlyArray<{
|
|
15
|
+
datasetCapabilities: Record<
|
|
16
|
+
string,
|
|
17
|
+
{
|
|
18
|
+
data?: ReadonlyArray<"delete">;
|
|
19
|
+
ingest?: ReadonlyArray<"create">;
|
|
20
|
+
query?: ReadonlyArray<"read">;
|
|
21
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
22
|
+
starredQueries?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
23
|
+
trim?: ReadonlyArray<"update">;
|
|
24
|
+
vacuum?: ReadonlyArray<"update">;
|
|
25
|
+
virtualFields?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
26
|
+
}
|
|
27
|
+
>;
|
|
28
|
+
description?: string;
|
|
29
|
+
expiresAt?: string | null;
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
orgCapabilities: {
|
|
33
|
+
annotations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
34
|
+
apiTokens?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
35
|
+
auditLog?: ReadonlyArray<"read">;
|
|
36
|
+
billing?: ReadonlyArray<"read" | "update">;
|
|
37
|
+
dashboards?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
38
|
+
datasets?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
39
|
+
endpoints?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
40
|
+
flows?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
41
|
+
integrations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
42
|
+
monitors?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
43
|
+
notifiers?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
44
|
+
rbac?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
45
|
+
sharedAccessKeys?: ReadonlyArray<"read" | "update">;
|
|
46
|
+
users?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
47
|
+
views?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
48
|
+
};
|
|
49
|
+
samlAuthenticated?: boolean;
|
|
50
|
+
viewCapabilities?: Record<
|
|
51
|
+
string,
|
|
52
|
+
{
|
|
53
|
+
query?: ReadonlyArray<"read">;
|
|
54
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
55
|
+
}
|
|
56
|
+
>;
|
|
57
|
+
}>;
|
|
12
58
|
export const GetAPITokensOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
59
|
Schema.Struct({
|
|
14
60
|
datasetCapabilities: Schema.Record(
|
|
@@ -92,8 +138,7 @@ export const GetAPITokensOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
92
138
|
),
|
|
93
139
|
),
|
|
94
140
|
}),
|
|
95
|
-
)
|
|
96
|
-
export type GetAPITokensOutput = typeof GetAPITokensOutput.Type;
|
|
141
|
+
) as unknown as Schema.Codec<GetAPITokensOutput>;
|
|
97
142
|
|
|
98
143
|
// The operation
|
|
99
144
|
/**
|
|
@@ -4,12 +4,26 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { BadRequest, NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetAnnotationInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetAnnotationInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/annotations/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetAnnotationInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetAnnotationOutput {
|
|
18
|
+
datasets: ReadonlyArray<string>;
|
|
19
|
+
description?: string;
|
|
20
|
+
endTime?: string | null;
|
|
21
|
+
id: string;
|
|
22
|
+
time: string;
|
|
23
|
+
title?: string;
|
|
24
|
+
type: string;
|
|
25
|
+
url?: string;
|
|
26
|
+
}
|
|
13
27
|
export const GetAnnotationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
28
|
datasets: Schema.Array(Schema.String),
|
|
15
29
|
description: Schema.optional(Schema.String),
|
|
@@ -19,8 +33,7 @@ export const GetAnnotationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
19
33
|
title: Schema.optional(Schema.String),
|
|
20
34
|
type: Schema.String,
|
|
21
35
|
url: Schema.optional(Schema.String),
|
|
22
|
-
})
|
|
23
|
-
export type GetAnnotationOutput = typeof GetAnnotationOutput.Type;
|
|
36
|
+
}) as unknown as Schema.Codec<GetAnnotationOutput>;
|
|
24
37
|
|
|
25
38
|
// The operation
|
|
26
39
|
/**
|
|
@@ -3,14 +3,30 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetAnnotationsInput {
|
|
7
|
+
datasets?: string;
|
|
8
|
+
start?: string;
|
|
9
|
+
end?: string;
|
|
10
|
+
}
|
|
6
11
|
export const GetAnnotationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
12
|
datasets: Schema.optional(Schema.String),
|
|
8
13
|
start: Schema.optional(Schema.String),
|
|
9
14
|
end: Schema.optional(Schema.String),
|
|
10
|
-
}).pipe(
|
|
11
|
-
|
|
15
|
+
}).pipe(
|
|
16
|
+
T.Http({ method: "GET", path: "/v2/annotations" }),
|
|
17
|
+
) as unknown as Schema.Codec<GetAnnotationsInput>;
|
|
12
18
|
|
|
13
19
|
// Output Schema
|
|
20
|
+
export type GetAnnotationsOutput = ReadonlyArray<{
|
|
21
|
+
datasets: ReadonlyArray<string>;
|
|
22
|
+
description?: string;
|
|
23
|
+
endTime?: string | null;
|
|
24
|
+
id: string;
|
|
25
|
+
time: string;
|
|
26
|
+
title?: string;
|
|
27
|
+
type: string;
|
|
28
|
+
url?: string;
|
|
29
|
+
}>;
|
|
14
30
|
export const GetAnnotationsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
15
31
|
Schema.Struct({
|
|
16
32
|
datasets: Schema.Array(Schema.String),
|
|
@@ -22,8 +38,7 @@ export const GetAnnotationsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
22
38
|
type: Schema.String,
|
|
23
39
|
url: Schema.optional(Schema.String),
|
|
24
40
|
}),
|
|
25
|
-
)
|
|
26
|
-
export type GetAnnotationsOutput = typeof GetAnnotationsOutput.Type;
|
|
41
|
+
) as unknown as Schema.Codec<GetAnnotationsOutput>;
|
|
27
42
|
|
|
28
43
|
// The operation
|
|
29
44
|
/**
|
|
@@ -3,12 +3,20 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetCurrentUserInput {}
|
|
6
7
|
export const GetCurrentUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
8
|
{},
|
|
8
|
-
).pipe(
|
|
9
|
-
|
|
9
|
+
).pipe(
|
|
10
|
+
T.Http({ method: "GET", path: "/v2/user" }),
|
|
11
|
+
) as unknown as Schema.Codec<GetCurrentUserInput>;
|
|
10
12
|
|
|
11
13
|
// Output Schema
|
|
14
|
+
export interface GetCurrentUserOutput {
|
|
15
|
+
email: string;
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
role?: { id: string; name: string };
|
|
19
|
+
}
|
|
12
20
|
export const GetCurrentUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
21
|
email: Schema.String,
|
|
14
22
|
id: Schema.String,
|
|
@@ -19,8 +27,7 @@ export const GetCurrentUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
19
27
|
name: Schema.String,
|
|
20
28
|
}),
|
|
21
29
|
),
|
|
22
|
-
})
|
|
23
|
-
export type GetCurrentUserOutput = typeof GetCurrentUserOutput.Type;
|
|
30
|
+
}) as unknown as Schema.Codec<GetCurrentUserOutput>;
|
|
24
31
|
|
|
25
32
|
// The operation
|
|
26
33
|
/**
|