@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
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client.ts";
|
|
3
|
+
import * as T from "../../traits.ts";
|
|
4
|
+
import { BadRequest, NotFound } from "../../errors.ts";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export interface PatchDashboardChartInput {
|
|
8
|
+
uid: string;
|
|
9
|
+
chartId: string;
|
|
10
|
+
chart: Record<string, unknown>;
|
|
11
|
+
message?: string;
|
|
12
|
+
overwrite?: boolean;
|
|
13
|
+
version?: number;
|
|
14
|
+
}
|
|
15
|
+
export const PatchDashboardChartInput =
|
|
16
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
|
+
uid: Schema.String.pipe(T.PathParam()),
|
|
18
|
+
chartId: Schema.String.pipe(T.PathParam()),
|
|
19
|
+
chart: Schema.Record(Schema.String, Schema.Unknown),
|
|
20
|
+
message: Schema.optional(Schema.String),
|
|
21
|
+
overwrite: Schema.optional(Schema.Boolean),
|
|
22
|
+
version: Schema.optional(Schema.Number),
|
|
23
|
+
}).pipe(
|
|
24
|
+
T.Http({
|
|
25
|
+
method: "PATCH",
|
|
26
|
+
path: "/v2/dashboards/uid/{uid}/charts/{chartId}",
|
|
27
|
+
}),
|
|
28
|
+
) as unknown as Schema.Codec<PatchDashboardChartInput>;
|
|
29
|
+
|
|
30
|
+
// Output Schema
|
|
31
|
+
export interface PatchDashboardChartOutput {
|
|
32
|
+
dashboard: {
|
|
33
|
+
createdAt: string;
|
|
34
|
+
createdBy: string;
|
|
35
|
+
dashboard: {
|
|
36
|
+
name: string;
|
|
37
|
+
owner: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
charts: ReadonlyArray<
|
|
40
|
+
| { id: string; type: "TimeSeries"; name?: string; query: unknown }
|
|
41
|
+
| { id: string; type: "Heatmap"; name?: string; query: unknown }
|
|
42
|
+
| {
|
|
43
|
+
id: string;
|
|
44
|
+
type: "LogStream";
|
|
45
|
+
name?: string;
|
|
46
|
+
query: unknown;
|
|
47
|
+
tableSettings?: {
|
|
48
|
+
columns?: ReadonlyArray<unknown>;
|
|
49
|
+
settings?: {
|
|
50
|
+
fontSize?: string;
|
|
51
|
+
highlightSeverity?: boolean;
|
|
52
|
+
showRaw?: boolean;
|
|
53
|
+
showEvent?: boolean;
|
|
54
|
+
showTimestamp?: boolean;
|
|
55
|
+
wrapLines?: boolean;
|
|
56
|
+
hideNulls?: boolean;
|
|
57
|
+
fitColumns?: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
| { id: string; type: "Pie"; name?: string; query: unknown }
|
|
62
|
+
| { id: string; type: "Scatter"; name?: string; query: unknown }
|
|
63
|
+
| {
|
|
64
|
+
id: string;
|
|
65
|
+
type: "Table";
|
|
66
|
+
name?: string;
|
|
67
|
+
query: unknown;
|
|
68
|
+
tableSettings?: {
|
|
69
|
+
columns?: ReadonlyArray<unknown>;
|
|
70
|
+
settings?: {
|
|
71
|
+
fontSize?: string;
|
|
72
|
+
highlightSeverity?: boolean;
|
|
73
|
+
showRaw?: boolean;
|
|
74
|
+
showEvent?: boolean;
|
|
75
|
+
showTimestamp?: boolean;
|
|
76
|
+
wrapLines?: boolean;
|
|
77
|
+
hideNulls?: boolean;
|
|
78
|
+
fitColumns?: boolean;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
| { id: string; type: "TopK"; name?: string; query: unknown }
|
|
83
|
+
| {
|
|
84
|
+
id: string;
|
|
85
|
+
type: "Statistic";
|
|
86
|
+
name?: string;
|
|
87
|
+
query: unknown;
|
|
88
|
+
colorScheme?:
|
|
89
|
+
| "Blue"
|
|
90
|
+
| "Orange"
|
|
91
|
+
| "Red"
|
|
92
|
+
| "Purple"
|
|
93
|
+
| "Teal"
|
|
94
|
+
| "Yellow"
|
|
95
|
+
| "Green"
|
|
96
|
+
| "Pink"
|
|
97
|
+
| "Grey"
|
|
98
|
+
| "Brown";
|
|
99
|
+
customUnits?: string;
|
|
100
|
+
showChart?: boolean | string;
|
|
101
|
+
hideValue?: boolean;
|
|
102
|
+
chartHeight?: string | number;
|
|
103
|
+
errorThreshold?:
|
|
104
|
+
| "Above"
|
|
105
|
+
| "AboveOrEqual"
|
|
106
|
+
| "Below"
|
|
107
|
+
| "BelowOrEqual"
|
|
108
|
+
| "AboveOrBelow";
|
|
109
|
+
errorThresholdValue?: string;
|
|
110
|
+
warningThreshold?:
|
|
111
|
+
| "Above"
|
|
112
|
+
| "AboveOrEqual"
|
|
113
|
+
| "Below"
|
|
114
|
+
| "BelowOrEqual"
|
|
115
|
+
| "AboveOrBelow";
|
|
116
|
+
warningThresholdValue?: string;
|
|
117
|
+
invertTheme?: boolean;
|
|
118
|
+
background?: string;
|
|
119
|
+
textColor?: string;
|
|
120
|
+
labelColor?: string;
|
|
121
|
+
chartFillColor?: string;
|
|
122
|
+
okColorProps?: {
|
|
123
|
+
background?: string;
|
|
124
|
+
chartFillColor?: string;
|
|
125
|
+
labelColor?: string;
|
|
126
|
+
textColor?: string;
|
|
127
|
+
};
|
|
128
|
+
warningColorProps?: {
|
|
129
|
+
background?: string;
|
|
130
|
+
chartFillColor?: string;
|
|
131
|
+
labelColor?: string;
|
|
132
|
+
textColor?: string;
|
|
133
|
+
};
|
|
134
|
+
errorColorProps?: {
|
|
135
|
+
background?: string;
|
|
136
|
+
chartFillColor?: string;
|
|
137
|
+
labelColor?: string;
|
|
138
|
+
textColor?: string;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
| { id: string; type: "Note"; text: string; variant?: "default" }
|
|
142
|
+
| {
|
|
143
|
+
id: string;
|
|
144
|
+
type: "MonitorList";
|
|
145
|
+
name?: string;
|
|
146
|
+
selectedMonitors: ReadonlyArray<string>;
|
|
147
|
+
columns: {
|
|
148
|
+
status: boolean;
|
|
149
|
+
history: boolean;
|
|
150
|
+
dataset: boolean;
|
|
151
|
+
type: boolean;
|
|
152
|
+
notifiers: boolean;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
| {
|
|
156
|
+
id: string;
|
|
157
|
+
type: "SmartFilter";
|
|
158
|
+
name?: string;
|
|
159
|
+
filters: ReadonlyArray<unknown>;
|
|
160
|
+
logo?: string;
|
|
161
|
+
logoDark?: string;
|
|
162
|
+
}
|
|
163
|
+
| { id: string; type: "Spacer"; name?: string }
|
|
164
|
+
>;
|
|
165
|
+
layout: ReadonlyArray<{
|
|
166
|
+
i: string;
|
|
167
|
+
x: number;
|
|
168
|
+
y: number | null;
|
|
169
|
+
w: number;
|
|
170
|
+
h: number;
|
|
171
|
+
minW?: number;
|
|
172
|
+
minH?: number;
|
|
173
|
+
maxW?: number;
|
|
174
|
+
maxH?: number;
|
|
175
|
+
static?: boolean;
|
|
176
|
+
}>;
|
|
177
|
+
refreshTime: 15 | 60 | 300;
|
|
178
|
+
schemaVersion: 2;
|
|
179
|
+
against?:
|
|
180
|
+
| "-1h"
|
|
181
|
+
| "-3h"
|
|
182
|
+
| "-6h"
|
|
183
|
+
| "-12h"
|
|
184
|
+
| "-1d"
|
|
185
|
+
| "-3d"
|
|
186
|
+
| "-7d"
|
|
187
|
+
| "-1w"
|
|
188
|
+
| "-2w"
|
|
189
|
+
| "-3w"
|
|
190
|
+
| "-30d"
|
|
191
|
+
| "-60d"
|
|
192
|
+
| "-90d";
|
|
193
|
+
againstTimestamp?: string;
|
|
194
|
+
timeWindowStart: string;
|
|
195
|
+
timeWindowEnd: string;
|
|
196
|
+
uid?: string;
|
|
197
|
+
};
|
|
198
|
+
id: string;
|
|
199
|
+
uid: string;
|
|
200
|
+
updatedAt: string;
|
|
201
|
+
updatedBy: string;
|
|
202
|
+
version: string | number;
|
|
203
|
+
};
|
|
204
|
+
overwritten?: boolean;
|
|
205
|
+
status: "created" | "updated";
|
|
206
|
+
}
|
|
207
|
+
export const PatchDashboardChartOutput =
|
|
208
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
209
|
+
dashboard: Schema.Struct({
|
|
210
|
+
createdAt: Schema.String,
|
|
211
|
+
createdBy: Schema.String,
|
|
212
|
+
dashboard: Schema.Struct({
|
|
213
|
+
name: Schema.String,
|
|
214
|
+
owner: Schema.String,
|
|
215
|
+
description: Schema.optional(Schema.String),
|
|
216
|
+
charts: Schema.Array(Schema.Unknown),
|
|
217
|
+
layout: Schema.Array(
|
|
218
|
+
Schema.Struct({
|
|
219
|
+
i: Schema.String,
|
|
220
|
+
x: Schema.Number,
|
|
221
|
+
y: Schema.NullOr(Schema.Number),
|
|
222
|
+
w: Schema.Number,
|
|
223
|
+
h: Schema.Number,
|
|
224
|
+
minW: Schema.optional(Schema.Number),
|
|
225
|
+
minH: Schema.optional(Schema.Number),
|
|
226
|
+
maxW: Schema.optional(Schema.Number),
|
|
227
|
+
maxH: Schema.optional(Schema.Number),
|
|
228
|
+
static: Schema.optional(Schema.Boolean),
|
|
229
|
+
}),
|
|
230
|
+
),
|
|
231
|
+
refreshTime: Schema.Literals([15, 60, 300]),
|
|
232
|
+
schemaVersion: Schema.Literals([2]),
|
|
233
|
+
against: Schema.optional(
|
|
234
|
+
Schema.Literals([
|
|
235
|
+
"-1h",
|
|
236
|
+
"-3h",
|
|
237
|
+
"-6h",
|
|
238
|
+
"-12h",
|
|
239
|
+
"-1d",
|
|
240
|
+
"-3d",
|
|
241
|
+
"-7d",
|
|
242
|
+
"-1w",
|
|
243
|
+
"-2w",
|
|
244
|
+
"-3w",
|
|
245
|
+
"-30d",
|
|
246
|
+
"-60d",
|
|
247
|
+
"-90d",
|
|
248
|
+
]),
|
|
249
|
+
),
|
|
250
|
+
againstTimestamp: Schema.optional(Schema.String),
|
|
251
|
+
timeWindowStart: Schema.String,
|
|
252
|
+
timeWindowEnd: Schema.String,
|
|
253
|
+
uid: Schema.optional(Schema.String),
|
|
254
|
+
}),
|
|
255
|
+
id: Schema.String,
|
|
256
|
+
uid: Schema.String,
|
|
257
|
+
updatedAt: Schema.String,
|
|
258
|
+
updatedBy: Schema.String,
|
|
259
|
+
version: Schema.Union([Schema.String, Schema.Number]),
|
|
260
|
+
}),
|
|
261
|
+
overwritten: Schema.optional(Schema.Boolean),
|
|
262
|
+
status: Schema.Literals(["created", "updated"]),
|
|
263
|
+
}) as unknown as Schema.Codec<PatchDashboardChartOutput>;
|
|
264
|
+
|
|
265
|
+
// The operation
|
|
266
|
+
/**
|
|
267
|
+
* Patch dashboard chart
|
|
268
|
+
*
|
|
269
|
+
* Patch a single chart in a dashboard by chart ID.
|
|
270
|
+
*/
|
|
271
|
+
export const patchDashboardChart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
272
|
+
inputSchema: PatchDashboardChartInput,
|
|
273
|
+
outputSchema: PatchDashboardChartOutput,
|
|
274
|
+
errors: [BadRequest, NotFound] as const,
|
|
275
|
+
}));
|
|
@@ -4,6 +4,53 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface RegenerateAPITokenInput {
|
|
8
|
+
id: string;
|
|
9
|
+
existingTokenExpiresAt: string;
|
|
10
|
+
newToken?: {
|
|
11
|
+
datasetCapabilities?: Record<
|
|
12
|
+
string,
|
|
13
|
+
{
|
|
14
|
+
data?: ReadonlyArray<"delete">;
|
|
15
|
+
ingest?: ReadonlyArray<"create">;
|
|
16
|
+
query?: ReadonlyArray<"read">;
|
|
17
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
18
|
+
starredQueries?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
19
|
+
trim?: ReadonlyArray<"update">;
|
|
20
|
+
vacuum?: ReadonlyArray<"update">;
|
|
21
|
+
virtualFields?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
22
|
+
}
|
|
23
|
+
>;
|
|
24
|
+
description?: string;
|
|
25
|
+
expiresAt?: string | null;
|
|
26
|
+
name: string;
|
|
27
|
+
orgCapabilities?: {
|
|
28
|
+
annotations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
29
|
+
apiTokens?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
30
|
+
auditLog?: ReadonlyArray<"read">;
|
|
31
|
+
billing?: ReadonlyArray<"read" | "update">;
|
|
32
|
+
dashboards?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
33
|
+
datasets?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
34
|
+
endpoints?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
35
|
+
flows?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
36
|
+
integrations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
37
|
+
monitors?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
38
|
+
notifiers?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
39
|
+
rbac?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
40
|
+
sharedAccessKeys?: ReadonlyArray<"read" | "update">;
|
|
41
|
+
users?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
42
|
+
views?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
43
|
+
};
|
|
44
|
+
viewCapabilities?: Record<
|
|
45
|
+
string,
|
|
46
|
+
{
|
|
47
|
+
query?: ReadonlyArray<"read">;
|
|
48
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
49
|
+
}
|
|
50
|
+
>;
|
|
51
|
+
};
|
|
52
|
+
newTokenExpiresAt?: string | null;
|
|
53
|
+
}
|
|
7
54
|
export const RegenerateAPITokenInput =
|
|
8
55
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
56
|
id: Schema.String.pipe(T.PathParam()),
|
|
@@ -127,10 +174,56 @@ export const RegenerateAPITokenInput =
|
|
|
127
174
|
}),
|
|
128
175
|
),
|
|
129
176
|
newTokenExpiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
130
|
-
}).pipe(
|
|
131
|
-
|
|
177
|
+
}).pipe(
|
|
178
|
+
T.Http({ method: "POST", path: "/v2/tokens/{id}/regenerate" }),
|
|
179
|
+
) as unknown as Schema.Codec<RegenerateAPITokenInput>;
|
|
132
180
|
|
|
133
181
|
// Output Schema
|
|
182
|
+
export interface RegenerateAPITokenOutput {
|
|
183
|
+
datasetCapabilities: Record<
|
|
184
|
+
string,
|
|
185
|
+
{
|
|
186
|
+
data?: ReadonlyArray<"delete">;
|
|
187
|
+
ingest?: ReadonlyArray<"create">;
|
|
188
|
+
query?: ReadonlyArray<"read">;
|
|
189
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
190
|
+
starredQueries?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
191
|
+
trim?: ReadonlyArray<"update">;
|
|
192
|
+
vacuum?: ReadonlyArray<"update">;
|
|
193
|
+
virtualFields?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
194
|
+
}
|
|
195
|
+
>;
|
|
196
|
+
description?: string;
|
|
197
|
+
expiresAt?: string | null;
|
|
198
|
+
id: string;
|
|
199
|
+
name: string;
|
|
200
|
+
orgCapabilities: {
|
|
201
|
+
annotations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
202
|
+
apiTokens?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
203
|
+
auditLog?: ReadonlyArray<"read">;
|
|
204
|
+
billing?: ReadonlyArray<"read" | "update">;
|
|
205
|
+
dashboards?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
206
|
+
datasets?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
207
|
+
endpoints?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
208
|
+
flows?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
209
|
+
integrations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
210
|
+
monitors?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
211
|
+
notifiers?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
212
|
+
rbac?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
213
|
+
sharedAccessKeys?: ReadonlyArray<"read" | "update">;
|
|
214
|
+
users?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
215
|
+
views?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
216
|
+
};
|
|
217
|
+
samlAuthenticated?: boolean;
|
|
218
|
+
viewCapabilities?: Record<
|
|
219
|
+
string,
|
|
220
|
+
{
|
|
221
|
+
query?: ReadonlyArray<"read">;
|
|
222
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
223
|
+
}
|
|
224
|
+
>;
|
|
225
|
+
token?: string;
|
|
226
|
+
}
|
|
134
227
|
export const RegenerateAPITokenOutput =
|
|
135
228
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
136
229
|
datasetCapabilities: Schema.Record(
|
|
@@ -214,8 +307,7 @@ export const RegenerateAPITokenOutput =
|
|
|
214
307
|
),
|
|
215
308
|
),
|
|
216
309
|
token: Schema.optional(Schema.String),
|
|
217
|
-
})
|
|
218
|
-
export type RegenerateAPITokenOutput = typeof RegenerateAPITokenOutput.Type;
|
|
310
|
+
}) as unknown as Schema.Codec<RegenerateAPITokenOutput>;
|
|
219
311
|
|
|
220
312
|
// The operation
|
|
221
313
|
/**
|
|
@@ -4,16 +4,21 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface RemoveUserFromOrgInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const RemoveUserFromOrgInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
11
|
{
|
|
9
12
|
id: Schema.String.pipe(T.PathParam()),
|
|
10
13
|
},
|
|
11
|
-
).pipe(
|
|
12
|
-
|
|
14
|
+
).pipe(
|
|
15
|
+
T.Http({ method: "DELETE", path: "/v2/users/{id}" }),
|
|
16
|
+
) as unknown as Schema.Codec<RemoveUserFromOrgInput>;
|
|
13
17
|
|
|
14
18
|
// Output Schema
|
|
15
|
-
export
|
|
16
|
-
export
|
|
19
|
+
export type RemoveUserFromOrgOutput = void;
|
|
20
|
+
export const RemoveUserFromOrgOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<RemoveUserFromOrgOutput>;
|
|
17
22
|
|
|
18
23
|
// The operation
|
|
19
24
|
/**
|
|
@@ -4,15 +4,21 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface TrimDatasetInput {
|
|
8
|
+
dataset_id: string;
|
|
9
|
+
maxDuration: string;
|
|
10
|
+
}
|
|
7
11
|
export const TrimDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
12
|
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
13
|
maxDuration: Schema.String,
|
|
10
|
-
}).pipe(
|
|
11
|
-
|
|
14
|
+
}).pipe(
|
|
15
|
+
T.Http({ method: "POST", path: "/v2/datasets/{dataset_id}/trim" }),
|
|
16
|
+
) as unknown as Schema.Codec<TrimDatasetInput>;
|
|
12
17
|
|
|
13
18
|
// Output Schema
|
|
14
|
-
export
|
|
15
|
-
export
|
|
19
|
+
export type TrimDatasetOutput = void;
|
|
20
|
+
export const TrimDatasetOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<TrimDatasetOutput>;
|
|
16
22
|
|
|
17
23
|
// The operation
|
|
18
24
|
/**
|
|
@@ -4,6 +4,16 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { BadRequest, NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface UpdateAnnotationInput {
|
|
8
|
+
id: string;
|
|
9
|
+
datasets?: ReadonlyArray<string>;
|
|
10
|
+
description?: string;
|
|
11
|
+
endTime?: string;
|
|
12
|
+
time?: string;
|
|
13
|
+
title?: string;
|
|
14
|
+
type?: string;
|
|
15
|
+
url?: string;
|
|
16
|
+
}
|
|
7
17
|
export const UpdateAnnotationInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
18
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
19
|
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -13,10 +23,21 @@ export const UpdateAnnotationInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13
23
|
title: Schema.optional(Schema.String),
|
|
14
24
|
type: Schema.optional(Schema.String),
|
|
15
25
|
url: Schema.optional(Schema.String),
|
|
16
|
-
}).pipe(
|
|
17
|
-
|
|
26
|
+
}).pipe(
|
|
27
|
+
T.Http({ method: "PUT", path: "/v2/annotations/{id}" }),
|
|
28
|
+
) as unknown as Schema.Codec<UpdateAnnotationInput>;
|
|
18
29
|
|
|
19
30
|
// Output Schema
|
|
31
|
+
export interface UpdateAnnotationOutput {
|
|
32
|
+
datasets: ReadonlyArray<string>;
|
|
33
|
+
description?: string;
|
|
34
|
+
endTime?: string | null;
|
|
35
|
+
id: string;
|
|
36
|
+
time: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
type: string;
|
|
39
|
+
url?: string;
|
|
40
|
+
}
|
|
20
41
|
export const UpdateAnnotationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
21
42
|
{
|
|
22
43
|
datasets: Schema.Array(Schema.String),
|
|
@@ -28,8 +49,7 @@ export const UpdateAnnotationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
28
49
|
type: Schema.String,
|
|
29
50
|
url: Schema.optional(Schema.String),
|
|
30
51
|
},
|
|
31
|
-
)
|
|
32
|
-
export type UpdateAnnotationOutput = typeof UpdateAnnotationOutput.Type;
|
|
52
|
+
) as unknown as Schema.Codec<UpdateAnnotationOutput>;
|
|
33
53
|
|
|
34
54
|
// The operation
|
|
35
55
|
/**
|
|
@@ -3,14 +3,24 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface UpdateCurrentUserInput {
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
6
9
|
export const UpdateCurrentUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
10
|
{
|
|
8
11
|
name: Schema.String,
|
|
9
12
|
},
|
|
10
|
-
).pipe(
|
|
11
|
-
|
|
13
|
+
).pipe(
|
|
14
|
+
T.Http({ method: "PUT", path: "/v2/user" }),
|
|
15
|
+
) as unknown as Schema.Codec<UpdateCurrentUserInput>;
|
|
12
16
|
|
|
13
17
|
// Output Schema
|
|
18
|
+
export interface UpdateCurrentUserOutput {
|
|
19
|
+
email: string;
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
role?: { id: string; name: string };
|
|
23
|
+
}
|
|
14
24
|
export const UpdateCurrentUserOutput =
|
|
15
25
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16
26
|
email: Schema.String,
|
|
@@ -22,8 +32,7 @@ export const UpdateCurrentUserOutput =
|
|
|
22
32
|
name: Schema.String,
|
|
23
33
|
}),
|
|
24
34
|
),
|
|
25
|
-
})
|
|
26
|
-
export type UpdateCurrentUserOutput = typeof UpdateCurrentUserOutput.Type;
|
|
35
|
+
}) as unknown as Schema.Codec<UpdateCurrentUserOutput>;
|
|
27
36
|
|
|
28
37
|
// The operation
|
|
29
38
|
/**
|