@distilled.cloud/axiom 0.0.0 → 0.12.7
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/README.md +61 -6
- package/lib/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +10 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +102 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +30 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +31 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +31 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +23 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/index.d.ts +4 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +4 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/v1-edge-ingest/index.d.ts +2 -0
- package/lib/operations/v1-edge-ingest/index.d.ts.map +1 -0
- package/lib/operations/v1-edge-ingest/index.js +2 -0
- package/lib/operations/v1-edge-ingest/index.js.map +1 -0
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +46 -0
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +1 -0
- package/lib/operations/v1-edge-ingest/ingestToDataset.js +38 -0
- package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +1 -0
- package/lib/operations/v1-edge-query/index.d.ts +2 -0
- package/lib/operations/v1-edge-query/index.d.ts.map +1 -0
- package/lib/operations/v1-edge-query/index.js +2 -0
- package/lib/operations/v1-edge-query/index.js.map +1 -0
- package/lib/operations/v1-edge-query/queryApl.d.ts +124 -0
- package/lib/operations/v1-edge-query/queryApl.d.ts.map +1 -0
- package/lib/operations/v1-edge-query/queryApl.js +74 -0
- package/lib/operations/v1-edge-query/queryApl.js.map +1 -0
- package/lib/operations/v2/createAPIToken.d.ts +165 -0
- package/lib/operations/v2/createAPIToken.d.ts.map +1 -0
- package/lib/operations/v2/createAPIToken.js +91 -0
- package/lib/operations/v2/createAPIToken.js.map +1 -0
- package/lib/operations/v2/createAnnotation.d.ts +45 -0
- package/lib/operations/v2/createAnnotation.d.ts.map +1 -0
- package/lib/operations/v2/createAnnotation.js +35 -0
- package/lib/operations/v2/createAnnotation.js.map +1 -0
- package/lib/operations/v2/createDashboard.d.ts +147 -0
- package/lib/operations/v2/createDashboard.d.ts.map +1 -0
- package/lib/operations/v2/createDashboard.js +115 -0
- package/lib/operations/v2/createDashboard.js.map +1 -0
- package/lib/operations/v2/createDataset.d.ts +55 -0
- package/lib/operations/v2/createDataset.d.ts.map +1 -0
- package/lib/operations/v2/createDataset.js +51 -0
- package/lib/operations/v2/createDataset.js.map +1 -0
- package/lib/operations/v2/createGroup.d.ts +39 -0
- package/lib/operations/v2/createGroup.d.ts.map +1 -0
- package/lib/operations/v2/createGroup.js +33 -0
- package/lib/operations/v2/createGroup.js.map +1 -0
- package/lib/operations/v2/createMapField.d.ts +18 -0
- package/lib/operations/v2/createMapField.d.ts.map +1 -0
- package/lib/operations/v2/createMapField.js +20 -0
- package/lib/operations/v2/createMapField.js.map +1 -0
- package/lib/operations/v2/createMonitor.d.ts +117 -0
- package/lib/operations/v2/createMonitor.d.ts.map +1 -0
- package/lib/operations/v2/createMonitor.js +83 -0
- package/lib/operations/v2/createMonitor.js.map +1 -0
- package/lib/operations/v2/createNotifier.d.ts +181 -0
- package/lib/operations/v2/createNotifier.d.ts.map +1 -0
- package/lib/operations/v2/createNotifier.js +100 -0
- package/lib/operations/v2/createNotifier.js.map +1 -0
- package/lib/operations/v2/createOrg.d.ts +101 -0
- package/lib/operations/v2/createOrg.d.ts.map +1 -0
- package/lib/operations/v2/createOrg.js +77 -0
- package/lib/operations/v2/createOrg.js.map +1 -0
- package/lib/operations/v2/createRole.d.ts +163 -0
- package/lib/operations/v2/createRole.d.ts.map +1 -0
- package/lib/operations/v2/createRole.js +91 -0
- package/lib/operations/v2/createRole.js.map +1 -0
- package/lib/operations/v2/createStarred.d.ts +166 -0
- package/lib/operations/v2/createStarred.d.ts.map +1 -0
- package/lib/operations/v2/createStarred.js +102 -0
- package/lib/operations/v2/createStarred.js.map +1 -0
- package/lib/operations/v2/createUser.d.ts +35 -0
- package/lib/operations/v2/createUser.d.ts.map +1 -0
- package/lib/operations/v2/createUser.js +30 -0
- package/lib/operations/v2/createUser.js.map +1 -0
- package/lib/operations/v2/createView.d.ts +36 -0
- package/lib/operations/v2/createView.d.ts.map +1 -0
- package/lib/operations/v2/createView.js +29 -0
- package/lib/operations/v2/createView.js.map +1 -0
- package/lib/operations/v2/createVirtualField.d.ts +38 -0
- package/lib/operations/v2/createVirtualField.d.ts.map +1 -0
- package/lib/operations/v2/createVirtualField.js +32 -0
- package/lib/operations/v2/createVirtualField.js.map +1 -0
- package/lib/operations/v2/deleteAPIToken.d.ts +15 -0
- package/lib/operations/v2/deleteAPIToken.d.ts.map +1 -0
- package/lib/operations/v2/deleteAPIToken.js +20 -0
- package/lib/operations/v2/deleteAPIToken.js.map +1 -0
- package/lib/operations/v2/deleteAnnotation.d.ts +17 -0
- package/lib/operations/v2/deleteAnnotation.d.ts.map +1 -0
- package/lib/operations/v2/deleteAnnotation.js +22 -0
- package/lib/operations/v2/deleteAnnotation.js.map +1 -0
- package/lib/operations/v2/deleteDashboard.d.ts +17 -0
- package/lib/operations/v2/deleteDashboard.d.ts.map +1 -0
- package/lib/operations/v2/deleteDashboard.js +22 -0
- package/lib/operations/v2/deleteDashboard.js.map +1 -0
- package/lib/operations/v2/deleteDataset.d.ts +15 -0
- package/lib/operations/v2/deleteDataset.d.ts.map +1 -0
- package/lib/operations/v2/deleteDataset.js +20 -0
- package/lib/operations/v2/deleteDataset.js.map +1 -0
- package/lib/operations/v2/deleteGroup.d.ts +19 -0
- package/lib/operations/v2/deleteGroup.d.ts.map +1 -0
- package/lib/operations/v2/deleteGroup.js +24 -0
- package/lib/operations/v2/deleteGroup.js.map +1 -0
- package/lib/operations/v2/deleteMapField.d.ts +14 -0
- package/lib/operations/v2/deleteMapField.d.ts.map +1 -0
- package/lib/operations/v2/deleteMapField.js +21 -0
- package/lib/operations/v2/deleteMapField.js.map +1 -0
- package/lib/operations/v2/deleteMonitor.d.ts +15 -0
- package/lib/operations/v2/deleteMonitor.d.ts.map +1 -0
- package/lib/operations/v2/deleteMonitor.js +20 -0
- package/lib/operations/v2/deleteMonitor.js.map +1 -0
- package/lib/operations/v2/deleteNotifier.d.ts +15 -0
- package/lib/operations/v2/deleteNotifier.d.ts.map +1 -0
- package/lib/operations/v2/deleteNotifier.js +20 -0
- package/lib/operations/v2/deleteNotifier.js.map +1 -0
- package/lib/operations/v2/deleteRole.d.ts +19 -0
- package/lib/operations/v2/deleteRole.d.ts.map +1 -0
- package/lib/operations/v2/deleteRole.js +24 -0
- package/lib/operations/v2/deleteRole.js.map +1 -0
- package/lib/operations/v2/deleteStarred.d.ts +12 -0
- package/lib/operations/v2/deleteStarred.d.ts.map +1 -0
- package/lib/operations/v2/deleteStarred.js +17 -0
- package/lib/operations/v2/deleteStarred.js.map +1 -0
- package/lib/operations/v2/deleteView.d.ts +12 -0
- package/lib/operations/v2/deleteView.d.ts.map +1 -0
- package/lib/operations/v2/deleteView.js +17 -0
- package/lib/operations/v2/deleteView.js.map +1 -0
- package/lib/operations/v2/deleteVirtualField.d.ts +12 -0
- package/lib/operations/v2/deleteVirtualField.d.ts.map +1 -0
- package/lib/operations/v2/deleteVirtualField.js +18 -0
- package/lib/operations/v2/deleteVirtualField.js.map +1 -0
- package/lib/operations/v2/getAPIToken.d.ts +93 -0
- package/lib/operations/v2/getAPIToken.d.ts.map +1 -0
- package/lib/operations/v2/getAPIToken.js +57 -0
- package/lib/operations/v2/getAPIToken.js.map +1 -0
- package/lib/operations/v2/getAPITokens.d.ts +88 -0
- package/lib/operations/v2/getAPITokens.d.ts.map +1 -0
- package/lib/operations/v2/getAPITokens.js +53 -0
- package/lib/operations/v2/getAPITokens.js.map +1 -0
- package/lib/operations/v2/getAnnotation.d.ts +35 -0
- package/lib/operations/v2/getAnnotation.d.ts.map +1 -0
- package/lib/operations/v2/getAnnotation.js +31 -0
- package/lib/operations/v2/getAnnotation.js.map +1 -0
- package/lib/operations/v2/getAnnotations.d.ts +40 -0
- package/lib/operations/v2/getAnnotations.d.ts.map +1 -0
- package/lib/operations/v2/getAnnotations.js +33 -0
- package/lib/operations/v2/getAnnotations.js.map +1 -0
- package/lib/operations/v2/getCurrentUser.d.ts +26 -0
- package/lib/operations/v2/getCurrentUser.d.ts.map +1 -0
- package/lib/operations/v2/getCurrentUser.js +24 -0
- package/lib/operations/v2/getCurrentUser.js.map +1 -0
- package/lib/operations/v2/getDashboard.d.ts +83 -0
- package/lib/operations/v2/getDashboard.d.ts.map +1 -0
- package/lib/operations/v2/getDashboard.js +69 -0
- package/lib/operations/v2/getDashboard.js.map +1 -0
- package/lib/operations/v2/getDataset.d.ts +41 -0
- package/lib/operations/v2/getDataset.d.ts.map +1 -0
- package/lib/operations/v2/getDataset.js +38 -0
- package/lib/operations/v2/getDataset.js.map +1 -0
- package/lib/operations/v2/getDatasets.d.ts +37 -0
- package/lib/operations/v2/getDatasets.d.ts.map +1 -0
- package/lib/operations/v2/getDatasets.js +36 -0
- package/lib/operations/v2/getDatasets.js.map +1 -0
- package/lib/operations/v2/getFieldForDataset.d.ts +26 -0
- package/lib/operations/v2/getFieldForDataset.d.ts.map +1 -0
- package/lib/operations/v2/getFieldForDataset.js +29 -0
- package/lib/operations/v2/getFieldForDataset.js.map +1 -0
- package/lib/operations/v2/getFieldsForDataset.d.ts +24 -0
- package/lib/operations/v2/getFieldsForDataset.d.ts.map +1 -0
- package/lib/operations/v2/getFieldsForDataset.js +25 -0
- package/lib/operations/v2/getFieldsForDataset.js.map +1 -0
- package/lib/operations/v2/getGroupById.d.ts +33 -0
- package/lib/operations/v2/getGroupById.d.ts.map +1 -0
- package/lib/operations/v2/getGroupById.js +31 -0
- package/lib/operations/v2/getGroupById.js.map +1 -0
- package/lib/operations/v2/getMapFields.d.ts +12 -0
- package/lib/operations/v2/getMapFields.d.ts.map +1 -0
- package/lib/operations/v2/getMapFields.js +17 -0
- package/lib/operations/v2/getMapFields.js.map +1 -0
- package/lib/operations/v2/getMonitor.d.ts +71 -0
- package/lib/operations/v2/getMonitor.d.ts.map +1 -0
- package/lib/operations/v2/getMonitor.js +55 -0
- package/lib/operations/v2/getMonitor.js.map +1 -0
- package/lib/operations/v2/getMonitorHistory.d.ts +32 -0
- package/lib/operations/v2/getMonitorHistory.d.ts.map +1 -0
- package/lib/operations/v2/getMonitorHistory.js +30 -0
- package/lib/operations/v2/getMonitorHistory.js.map +1 -0
- package/lib/operations/v2/getMonitors.d.ts +64 -0
- package/lib/operations/v2/getMonitors.d.ts.map +1 -0
- package/lib/operations/v2/getMonitors.js +49 -0
- package/lib/operations/v2/getMonitors.js.map +1 -0
- package/lib/operations/v2/getNotifier.d.ts +103 -0
- package/lib/operations/v2/getNotifier.d.ts.map +1 -0
- package/lib/operations/v2/getNotifier.js +64 -0
- package/lib/operations/v2/getNotifier.js.map +1 -0
- package/lib/operations/v2/getNotifiers.d.ts +96 -0
- package/lib/operations/v2/getNotifiers.d.ts.map +1 -0
- package/lib/operations/v2/getNotifiers.js +58 -0
- package/lib/operations/v2/getNotifiers.js.map +1 -0
- package/lib/operations/v2/getOrg.d.ts +100 -0
- package/lib/operations/v2/getOrg.d.ts.map +1 -0
- package/lib/operations/v2/getOrg.js +78 -0
- package/lib/operations/v2/getOrg.js.map +1 -0
- package/lib/operations/v2/getOrgs.d.ts +95 -0
- package/lib/operations/v2/getOrgs.d.ts.map +1 -0
- package/lib/operations/v2/getOrgs.js +74 -0
- package/lib/operations/v2/getOrgs.js.map +1 -0
- package/lib/operations/v2/getRoleById.d.ts +95 -0
- package/lib/operations/v2/getRoleById.d.ts.map +1 -0
- package/lib/operations/v2/getRoleById.js +60 -0
- package/lib/operations/v2/getRoleById.js.map +1 -0
- package/lib/operations/v2/getStarred.d.ts +92 -0
- package/lib/operations/v2/getStarred.d.ts.map +1 -0
- package/lib/operations/v2/getStarred.js +61 -0
- package/lib/operations/v2/getStarred.js.map +1 -0
- package/lib/operations/v2/getStarredQueries.d.ts +106 -0
- package/lib/operations/v2/getStarredQueries.d.ts.map +1 -0
- package/lib/operations/v2/getStarredQueries.js +70 -0
- package/lib/operations/v2/getStarredQueries.js.map +1 -0
- package/lib/operations/v2/getUser.d.ts +31 -0
- package/lib/operations/v2/getUser.d.ts.map +1 -0
- package/lib/operations/v2/getUser.js +28 -0
- package/lib/operations/v2/getUser.js.map +1 -0
- package/lib/operations/v2/getUsers.d.ts +26 -0
- package/lib/operations/v2/getUsers.d.ts.map +1 -0
- package/lib/operations/v2/getUsers.js +24 -0
- package/lib/operations/v2/getUsers.js.map +1 -0
- package/lib/operations/v2/getView.d.ts +26 -0
- package/lib/operations/v2/getView.d.ts.map +1 -0
- package/lib/operations/v2/getView.js +24 -0
- package/lib/operations/v2/getView.js.map +1 -0
- package/lib/operations/v2/getViews.d.ts +21 -0
- package/lib/operations/v2/getViews.d.ts.map +1 -0
- package/lib/operations/v2/getViews.js +20 -0
- package/lib/operations/v2/getViews.js.map +1 -0
- package/lib/operations/v2/getVirtualField.d.ts +28 -0
- package/lib/operations/v2/getVirtualField.d.ts.map +1 -0
- package/lib/operations/v2/getVirtualField.js +25 -0
- package/lib/operations/v2/getVirtualField.js.map +1 -0
- package/lib/operations/v2/getVirtualFields.d.ts +27 -0
- package/lib/operations/v2/getVirtualFields.d.ts.map +1 -0
- package/lib/operations/v2/getVirtualFields.js +23 -0
- package/lib/operations/v2/getVirtualFields.js.map +1 -0
- package/lib/operations/v2/index.d.ts +77 -0
- package/lib/operations/v2/index.d.ts.map +1 -0
- package/lib/operations/v2/index.js +77 -0
- package/lib/operations/v2/index.js.map +1 -0
- package/lib/operations/v2/listDashboards.d.ts +84 -0
- package/lib/operations/v2/listDashboards.d.ts.map +1 -0
- package/lib/operations/v2/listDashboards.js +68 -0
- package/lib/operations/v2/listDashboards.js.map +1 -0
- package/lib/operations/v2/listGroups.d.ts +26 -0
- package/lib/operations/v2/listGroups.d.ts.map +1 -0
- package/lib/operations/v2/listGroups.js +25 -0
- package/lib/operations/v2/listGroups.js.map +1 -0
- package/lib/operations/v2/listRoles.d.ts +88 -0
- package/lib/operations/v2/listRoles.d.ts.map +1 -0
- package/lib/operations/v2/listRoles.js +54 -0
- package/lib/operations/v2/listRoles.js.map +1 -0
- package/lib/operations/v2/regenerateAPIToken.d.ts +175 -0
- package/lib/operations/v2/regenerateAPIToken.d.ts.map +1 -0
- package/lib/operations/v2/regenerateAPIToken.js +98 -0
- package/lib/operations/v2/regenerateAPIToken.js.map +1 -0
- package/lib/operations/v2/removeUserFromOrg.d.ts +15 -0
- package/lib/operations/v2/removeUserFromOrg.d.ts.map +1 -0
- package/lib/operations/v2/removeUserFromOrg.js +20 -0
- package/lib/operations/v2/removeUserFromOrg.js.map +1 -0
- package/lib/operations/v2/trimDataset.d.ts +19 -0
- package/lib/operations/v2/trimDataset.d.ts.map +1 -0
- package/lib/operations/v2/trimDataset.js +23 -0
- package/lib/operations/v2/trimDataset.js.map +1 -0
- package/lib/operations/v2/updateAnnotation.d.ts +49 -0
- package/lib/operations/v2/updateAnnotation.d.ts.map +1 -0
- package/lib/operations/v2/updateAnnotation.js +38 -0
- package/lib/operations/v2/updateAnnotation.js.map +1 -0
- package/lib/operations/v2/updateCurrentUser.d.ts +30 -0
- package/lib/operations/v2/updateCurrentUser.d.ts.map +1 -0
- package/lib/operations/v2/updateCurrentUser.js +27 -0
- package/lib/operations/v2/updateCurrentUser.js.map +1 -0
- package/lib/operations/v2/updateDashboard.d.ts +147 -0
- package/lib/operations/v2/updateDashboard.d.ts.map +1 -0
- package/lib/operations/v2/updateDashboard.js +115 -0
- package/lib/operations/v2/updateDashboard.js.map +1 -0
- package/lib/operations/v2/updateDataset.d.ts +47 -0
- package/lib/operations/v2/updateDataset.d.ts.map +1 -0
- package/lib/operations/v2/updateDataset.js +41 -0
- package/lib/operations/v2/updateDataset.js.map +1 -0
- package/lib/operations/v2/updateFieldForDataset.d.ts +36 -0
- package/lib/operations/v2/updateFieldForDataset.d.ts.map +1 -0
- package/lib/operations/v2/updateFieldForDataset.js +34 -0
- package/lib/operations/v2/updateFieldForDataset.js.map +1 -0
- package/lib/operations/v2/updateGroup.d.ts +43 -0
- package/lib/operations/v2/updateGroup.d.ts.map +1 -0
- package/lib/operations/v2/updateGroup.js +36 -0
- package/lib/operations/v2/updateGroup.js.map +1 -0
- package/lib/operations/v2/updateMapFields.d.ts +12 -0
- package/lib/operations/v2/updateMapFields.d.ts.map +1 -0
- package/lib/operations/v2/updateMapFields.js +17 -0
- package/lib/operations/v2/updateMapFields.js.map +1 -0
- package/lib/operations/v2/updateMonitor.d.ts +119 -0
- package/lib/operations/v2/updateMonitor.d.ts.map +1 -0
- package/lib/operations/v2/updateMonitor.js +84 -0
- package/lib/operations/v2/updateMonitor.js.map +1 -0
- package/lib/operations/v2/updateNotifier.d.ts +183 -0
- package/lib/operations/v2/updateNotifier.d.ts.map +1 -0
- package/lib/operations/v2/updateNotifier.js +101 -0
- package/lib/operations/v2/updateNotifier.js.map +1 -0
- package/lib/operations/v2/updateOrg.d.ts +102 -0
- package/lib/operations/v2/updateOrg.d.ts.map +1 -0
- package/lib/operations/v2/updateOrg.js +79 -0
- package/lib/operations/v2/updateOrg.js.map +1 -0
- package/lib/operations/v2/updateRole.d.ts +167 -0
- package/lib/operations/v2/updateRole.d.ts.map +1 -0
- package/lib/operations/v2/updateRole.js +94 -0
- package/lib/operations/v2/updateRole.js.map +1 -0
- package/lib/operations/v2/updateStarred.d.ts +168 -0
- package/lib/operations/v2/updateStarred.d.ts.map +1 -0
- package/lib/operations/v2/updateStarred.js +103 -0
- package/lib/operations/v2/updateStarred.js.map +1 -0
- package/lib/operations/v2/updateUserRole.d.ts +33 -0
- package/lib/operations/v2/updateUserRole.d.ts.map +1 -0
- package/lib/operations/v2/updateUserRole.js +29 -0
- package/lib/operations/v2/updateUserRole.js.map +1 -0
- package/lib/operations/v2/updateView.d.ts +38 -0
- package/lib/operations/v2/updateView.d.ts.map +1 -0
- package/lib/operations/v2/updateView.js +30 -0
- package/lib/operations/v2/updateView.js.map +1 -0
- package/lib/operations/v2/updateVirtualField.d.ts +40 -0
- package/lib/operations/v2/updateVirtualField.d.ts.map +1 -0
- package/lib/operations/v2/updateVirtualField.js +33 -0
- package/lib/operations/v2/updateVirtualField.js.map +1 -0
- package/lib/operations/v2/vacuumDataset.d.ts +11 -0
- package/lib/operations/v2/vacuumDataset.d.ts.map +1 -0
- package/lib/operations/v2/vacuumDataset.js +15 -0
- package/lib/operations/v2/vacuumDataset.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +80 -7
- package/src/category.ts +4 -0
- package/src/client.ts +112 -0
- package/src/credentials.ts +51 -0
- package/src/errors.ts +47 -0
- package/src/index.ts +15 -0
- package/src/operations/index.ts +3 -0
- package/src/operations/v1-edge-ingest/index.ts +1 -0
- package/src/operations/v1-edge-ingest/ingestToDataset.ts +46 -0
- package/src/operations/v1-edge-query/index.ts +1 -0
- package/src/operations/v1-edge-query/queryApl.ts +84 -0
- package/src/operations/v2/createAPIToken.ts +185 -0
- package/src/operations/v2/createAnnotation.ts +41 -0
- package/src/operations/v2/createDashboard.ts +127 -0
- package/src/operations/v2/createDataset.ts +57 -0
- package/src/operations/v2/createGroup.ts +37 -0
- package/src/operations/v2/createMapField.ts +26 -0
- package/src/operations/v2/createMonitor.ts +91 -0
- package/src/operations/v2/createNotifier.ts +144 -0
- package/src/operations/v2/createOrg.ts +81 -0
- package/src/operations/v2/createRole.ts +191 -0
- package/src/operations/v2/createStarred.ts +130 -0
- package/src/operations/v2/createUser.ts +36 -0
- package/src/operations/v2/createView.ts +33 -0
- package/src/operations/v2/createVirtualField.ts +36 -0
- package/src/operations/v2/deleteAPIToken.ts +24 -0
- package/src/operations/v2/deleteAnnotation.ts +26 -0
- package/src/operations/v2/deleteDashboard.ts +26 -0
- package/src/operations/v2/deleteDataset.ts +24 -0
- package/src/operations/v2/deleteGroup.ts +28 -0
- package/src/operations/v2/deleteMapField.ts +27 -0
- package/src/operations/v2/deleteMonitor.ts +24 -0
- package/src/operations/v2/deleteNotifier.ts +24 -0
- package/src/operations/v2/deleteRole.ts +28 -0
- package/src/operations/v2/deleteStarred.ts +21 -0
- package/src/operations/v2/deleteView.ts +21 -0
- package/src/operations/v2/deleteVirtualField.ts +22 -0
- package/src/operations/v2/getAPIToken.ts +103 -0
- package/src/operations/v2/getAPITokens.ts +105 -0
- package/src/operations/v2/getAnnotation.ts +35 -0
- package/src/operations/v2/getAnnotations.ts +39 -0
- package/src/operations/v2/getCurrentUser.ts +32 -0
- package/src/operations/v2/getDashboard.ts +77 -0
- package/src/operations/v2/getDataset.ts +42 -0
- package/src/operations/v2/getDatasets.ts +44 -0
- package/src/operations/v2/getFieldForDataset.ts +35 -0
- package/src/operations/v2/getFieldsForDataset.ts +31 -0
- package/src/operations/v2/getGroupById.ts +35 -0
- package/src/operations/v2/getMapFields.ts +23 -0
- package/src/operations/v2/getMonitor.ts +61 -0
- package/src/operations/v2/getMonitorHistory.ts +38 -0
- package/src/operations/v2/getMonitors.ts +59 -0
- package/src/operations/v2/getNotifier.ts +88 -0
- package/src/operations/v2/getNotifiers.ts +86 -0
- package/src/operations/v2/getOrg.ts +82 -0
- package/src/operations/v2/getOrgs.ts +82 -0
- package/src/operations/v2/getRoleById.ts +112 -0
- package/src/operations/v2/getStarred.ts +77 -0
- package/src/operations/v2/getStarredQueries.ts +92 -0
- package/src/operations/v2/getUser.ts +34 -0
- package/src/operations/v2/getUsers.ts +34 -0
- package/src/operations/v2/getView.ts +28 -0
- package/src/operations/v2/getViews.ts +28 -0
- package/src/operations/v2/getVirtualField.ts +29 -0
- package/src/operations/v2/getVirtualFields.ts +29 -0
- package/src/operations/v2/index.ts +76 -0
- package/src/operations/v2/listDashboards.ts +78 -0
- package/src/operations/v2/listGroups.ts +33 -0
- package/src/operations/v2/listRoles.ts +114 -0
- package/src/operations/v2/regenerateAPIToken.ts +228 -0
- package/src/operations/v2/removeUserFromOrg.ts +26 -0
- package/src/operations/v2/trimDataset.ts +27 -0
- package/src/operations/v2/updateAnnotation.ts +44 -0
- package/src/operations/v2/updateCurrentUser.ts +35 -0
- package/src/operations/v2/updateDashboard.ts +127 -0
- package/src/operations/v2/updateDataset.ts +45 -0
- package/src/operations/v2/updateFieldForDataset.ts +43 -0
- package/src/operations/v2/updateGroup.ts +40 -0
- package/src/operations/v2/updateMapFields.ts +23 -0
- package/src/operations/v2/updateMonitor.ts +92 -0
- package/src/operations/v2/updateNotifier.ts +145 -0
- package/src/operations/v2/updateOrg.ts +83 -0
- package/src/operations/v2/updateRole.ts +194 -0
- package/src/operations/v2/updateStarred.ts +131 -0
- package/src/operations/v2/updateUserRole.ts +35 -0
- package/src/operations/v2/updateView.ts +34 -0
- package/src/operations/v2/updateVirtualField.ts +37 -0
- package/src/operations/v2/vacuumDataset.ts +19 -0
- package/src/retry.ts +35 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const GetStarredQueriesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{
|
|
8
|
+
limit: Schema.optional(Schema.Number),
|
|
9
|
+
offset: Schema.optional(Schema.Number),
|
|
10
|
+
dataset: Schema.optional(Schema.String),
|
|
11
|
+
who: Schema.optional(Schema.String),
|
|
12
|
+
qs: Schema.optional(Schema.String),
|
|
13
|
+
},
|
|
14
|
+
).pipe(T.Http({ method: "GET", path: "/v2/apl-starred-queries" }));
|
|
15
|
+
export type GetStarredQueriesInput = typeof GetStarredQueriesInput.Type;
|
|
16
|
+
|
|
17
|
+
// Output Schema
|
|
18
|
+
export const GetStarredQueriesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
19
|
+
Schema.Struct({
|
|
20
|
+
dataset: Schema.optional(Schema.String),
|
|
21
|
+
kind: Schema.Literals(["apl"]),
|
|
22
|
+
metadata: Schema.Record(Schema.String, Schema.String),
|
|
23
|
+
name: Schema.String,
|
|
24
|
+
query: Schema.Struct({
|
|
25
|
+
apl: Schema.String,
|
|
26
|
+
cursor: Schema.optional(Schema.String),
|
|
27
|
+
defaultLimit: Schema.optional(Schema.Number),
|
|
28
|
+
defaultOrder: Schema.optional(
|
|
29
|
+
Schema.Array(
|
|
30
|
+
Schema.Struct({
|
|
31
|
+
desc: Schema.optional(Schema.Boolean),
|
|
32
|
+
field: Schema.optional(Schema.String),
|
|
33
|
+
}),
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
endTime: Schema.optional(Schema.String),
|
|
37
|
+
includeCursor: Schema.optional(Schema.Boolean),
|
|
38
|
+
includeCursorField: Schema.optional(Schema.Boolean),
|
|
39
|
+
libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
40
|
+
queryOptions: Schema.optional(
|
|
41
|
+
Schema.Struct({
|
|
42
|
+
disableCache: Schema.optional(Schema.Boolean),
|
|
43
|
+
disableStats: Schema.optional(Schema.Boolean),
|
|
44
|
+
disableTrace: Schema.optional(Schema.Boolean),
|
|
45
|
+
maxDataPoints: Schema.optional(Schema.Number),
|
|
46
|
+
maxSeries: Schema.optional(Schema.Number),
|
|
47
|
+
noAggregation: Schema.optional(Schema.Boolean),
|
|
48
|
+
noFill: Schema.optional(Schema.Boolean),
|
|
49
|
+
noInterpolation: Schema.optional(Schema.Boolean),
|
|
50
|
+
priority: Schema.optional(Schema.Literals(["low", "medium", "high"])),
|
|
51
|
+
resolution: Schema.optional(Schema.String),
|
|
52
|
+
displayNull: Schema.optional(
|
|
53
|
+
Schema.Literals(["auto", "null", "span", "zero", ""]),
|
|
54
|
+
),
|
|
55
|
+
overlayCharts: Schema.optional(
|
|
56
|
+
Schema.Literals(["true", "false", ""]),
|
|
57
|
+
),
|
|
58
|
+
shownColumns: Schema.optional(Schema.String),
|
|
59
|
+
timeSeriesVariant: Schema.optional(
|
|
60
|
+
Schema.Literals(["area", "bars", "line", "lines", ""]),
|
|
61
|
+
),
|
|
62
|
+
timeSeriesView: Schema.optional(
|
|
63
|
+
Schema.Literals([
|
|
64
|
+
"charts",
|
|
65
|
+
"resultsTable",
|
|
66
|
+
"charts|resultsTable",
|
|
67
|
+
"",
|
|
68
|
+
]),
|
|
69
|
+
),
|
|
70
|
+
}),
|
|
71
|
+
),
|
|
72
|
+
startTime: Schema.optional(Schema.String),
|
|
73
|
+
variables: Schema.optional(Schema.Unknown),
|
|
74
|
+
}),
|
|
75
|
+
who: Schema.String,
|
|
76
|
+
id: Schema.String,
|
|
77
|
+
}),
|
|
78
|
+
);
|
|
79
|
+
export type GetStarredQueriesOutput = typeof GetStarredQueriesOutput.Type;
|
|
80
|
+
|
|
81
|
+
// The operation
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @param who - - If the value of `who` is undefined, the request returns queries starred by the authenticated user.
|
|
85
|
+
- If the value of `who` is a user ID, the request returns queries starred by the user with this ID (this request requires elevated privileges). For example, `&who='abc123'`.
|
|
86
|
+
- If the value of `who` is `team`, the request returns queries starred by the team apart from the authenticated user.For example, `&who=team`.
|
|
87
|
+
- If the value of `who` is `all`, the request returns queries starred by all users in the team, including the authenticated user. For example, `&who=all`.
|
|
88
|
+
*/
|
|
89
|
+
export const getStarredQueries = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
90
|
+
inputSchema: GetStarredQueriesInput,
|
|
91
|
+
outputSchema: GetStarredQueriesOutput,
|
|
92
|
+
}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { NotFound } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/users/{id}" }));
|
|
10
|
+
export type GetUserInput = typeof GetUserInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
email: Schema.String,
|
|
15
|
+
id: Schema.String,
|
|
16
|
+
name: Schema.String,
|
|
17
|
+
role: Schema.optional(
|
|
18
|
+
Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
name: Schema.String,
|
|
21
|
+
}),
|
|
22
|
+
),
|
|
23
|
+
});
|
|
24
|
+
export type GetUserOutput = typeof GetUserOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
/**
|
|
28
|
+
* Get user by ID
|
|
29
|
+
*/
|
|
30
|
+
export const getUser = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
|
+
inputSchema: GetUserInput,
|
|
32
|
+
outputSchema: GetUserOutput,
|
|
33
|
+
errors: [NotFound] as const,
|
|
34
|
+
}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const GetUsersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
7
|
+
T.Http({ method: "GET", path: "/v2/users" }),
|
|
8
|
+
);
|
|
9
|
+
export type GetUsersInput = typeof GetUsersInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
email: Schema.String,
|
|
15
|
+
id: Schema.String,
|
|
16
|
+
name: Schema.String,
|
|
17
|
+
role: Schema.optional(
|
|
18
|
+
Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
name: Schema.String,
|
|
21
|
+
}),
|
|
22
|
+
),
|
|
23
|
+
}),
|
|
24
|
+
);
|
|
25
|
+
export type GetUsersOutput = typeof GetUsersOutput.Type;
|
|
26
|
+
|
|
27
|
+
// The operation
|
|
28
|
+
/**
|
|
29
|
+
* Get users
|
|
30
|
+
*/
|
|
31
|
+
export const getUsers = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: GetUsersInput,
|
|
33
|
+
outputSchema: GetUsersOutput,
|
|
34
|
+
}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { NotFound } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetViewInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/views/{id}" }));
|
|
10
|
+
export type GetViewInput = typeof GetViewInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetViewOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
aplQuery: Schema.String,
|
|
15
|
+
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
16
|
+
description: Schema.optional(Schema.String),
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
19
|
+
sharedByOrgName: Schema.optional(Schema.String),
|
|
20
|
+
});
|
|
21
|
+
export type GetViewOutput = typeof GetViewOutput.Type;
|
|
22
|
+
|
|
23
|
+
// The operation
|
|
24
|
+
export const getView = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
25
|
+
inputSchema: GetViewInput,
|
|
26
|
+
outputSchema: GetViewOutput,
|
|
27
|
+
errors: [NotFound] as const,
|
|
28
|
+
}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const GetViewsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
7
|
+
T.Http({ method: "GET", path: "/v2/views" }),
|
|
8
|
+
);
|
|
9
|
+
export type GetViewsInput = typeof GetViewsInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetViewsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
aplQuery: Schema.String,
|
|
15
|
+
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
16
|
+
description: Schema.optional(Schema.String),
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
19
|
+
sharedByOrgName: Schema.optional(Schema.String),
|
|
20
|
+
}),
|
|
21
|
+
);
|
|
22
|
+
export type GetViewsOutput = typeof GetViewsOutput.Type;
|
|
23
|
+
|
|
24
|
+
// The operation
|
|
25
|
+
export const getViews = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26
|
+
inputSchema: GetViewsInput,
|
|
27
|
+
outputSchema: GetViewsOutput,
|
|
28
|
+
}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { NotFound } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetVirtualFieldInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/vfields/{id}" }));
|
|
10
|
+
export type GetVirtualFieldInput = typeof GetVirtualFieldInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetVirtualFieldOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
dataset: Schema.String,
|
|
15
|
+
description: Schema.optional(Schema.String),
|
|
16
|
+
expression: Schema.String,
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
type: Schema.optional(Schema.String),
|
|
19
|
+
unit: Schema.optional(Schema.String),
|
|
20
|
+
id: Schema.String,
|
|
21
|
+
});
|
|
22
|
+
export type GetVirtualFieldOutput = typeof GetVirtualFieldOutput.Type;
|
|
23
|
+
|
|
24
|
+
// The operation
|
|
25
|
+
export const getVirtualField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
26
|
+
inputSchema: GetVirtualFieldInput,
|
|
27
|
+
outputSchema: GetVirtualFieldOutput,
|
|
28
|
+
errors: [NotFound] as const,
|
|
29
|
+
}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const GetVirtualFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
dataset: Schema.String,
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/vfields" }));
|
|
9
|
+
export type GetVirtualFieldsInput = typeof GetVirtualFieldsInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetVirtualFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
dataset: Schema.String,
|
|
15
|
+
description: Schema.optional(Schema.String),
|
|
16
|
+
expression: Schema.String,
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
type: Schema.optional(Schema.String),
|
|
19
|
+
unit: Schema.optional(Schema.String),
|
|
20
|
+
id: Schema.String,
|
|
21
|
+
}),
|
|
22
|
+
);
|
|
23
|
+
export type GetVirtualFieldsOutput = typeof GetVirtualFieldsOutput.Type;
|
|
24
|
+
|
|
25
|
+
// The operation
|
|
26
|
+
export const getVirtualFields = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
27
|
+
inputSchema: GetVirtualFieldsInput,
|
|
28
|
+
outputSchema: GetVirtualFieldsOutput,
|
|
29
|
+
}));
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export * from "./getAnnotations";
|
|
2
|
+
export * from "./createAnnotation";
|
|
3
|
+
export * from "./getAnnotation";
|
|
4
|
+
export * from "./updateAnnotation";
|
|
5
|
+
export * from "./deleteAnnotation";
|
|
6
|
+
export * from "./getDatasets";
|
|
7
|
+
export * from "./createDataset";
|
|
8
|
+
export * from "./getDataset";
|
|
9
|
+
export * from "./updateDataset";
|
|
10
|
+
export * from "./deleteDataset";
|
|
11
|
+
export * from "./trimDataset";
|
|
12
|
+
export * from "./vacuumDataset";
|
|
13
|
+
export * from "./getFieldsForDataset";
|
|
14
|
+
export * from "./getFieldForDataset";
|
|
15
|
+
export * from "./updateFieldForDataset";
|
|
16
|
+
export * from "./getMapFields";
|
|
17
|
+
export * from "./createMapField";
|
|
18
|
+
export * from "./updateMapFields";
|
|
19
|
+
export * from "./deleteMapField";
|
|
20
|
+
export * from "./getMonitors";
|
|
21
|
+
export * from "./createMonitor";
|
|
22
|
+
export * from "./getMonitor";
|
|
23
|
+
export * from "./updateMonitor";
|
|
24
|
+
export * from "./deleteMonitor";
|
|
25
|
+
export * from "./getMonitorHistory";
|
|
26
|
+
export * from "./getNotifiers";
|
|
27
|
+
export * from "./createNotifier";
|
|
28
|
+
export * from "./getNotifier";
|
|
29
|
+
export * from "./updateNotifier";
|
|
30
|
+
export * from "./deleteNotifier";
|
|
31
|
+
export * from "./getOrgs";
|
|
32
|
+
export * from "./createOrg";
|
|
33
|
+
export * from "./getOrg";
|
|
34
|
+
export * from "./updateOrg";
|
|
35
|
+
export * from "./listRoles";
|
|
36
|
+
export * from "./createRole";
|
|
37
|
+
export * from "./getRoleById";
|
|
38
|
+
export * from "./updateRole";
|
|
39
|
+
export * from "./deleteRole";
|
|
40
|
+
export * from "./listGroups";
|
|
41
|
+
export * from "./createGroup";
|
|
42
|
+
export * from "./getGroupById";
|
|
43
|
+
export * from "./updateGroup";
|
|
44
|
+
export * from "./deleteGroup";
|
|
45
|
+
export * from "./getStarredQueries";
|
|
46
|
+
export * from "./createStarred";
|
|
47
|
+
export * from "./getStarred";
|
|
48
|
+
export * from "./updateStarred";
|
|
49
|
+
export * from "./deleteStarred";
|
|
50
|
+
export * from "./getAPITokens";
|
|
51
|
+
export * from "./createAPIToken";
|
|
52
|
+
export * from "./getAPIToken";
|
|
53
|
+
export * from "./deleteAPIToken";
|
|
54
|
+
export * from "./regenerateAPIToken";
|
|
55
|
+
export * from "./getCurrentUser";
|
|
56
|
+
export * from "./updateCurrentUser";
|
|
57
|
+
export * from "./getUsers";
|
|
58
|
+
export * from "./createUser";
|
|
59
|
+
export * from "./getUser";
|
|
60
|
+
export * from "./removeUserFromOrg";
|
|
61
|
+
export * from "./updateUserRole";
|
|
62
|
+
export * from "./getVirtualFields";
|
|
63
|
+
export * from "./createVirtualField";
|
|
64
|
+
export * from "./getVirtualField";
|
|
65
|
+
export * from "./updateVirtualField";
|
|
66
|
+
export * from "./deleteVirtualField";
|
|
67
|
+
export * from "./getViews";
|
|
68
|
+
export * from "./createView";
|
|
69
|
+
export * from "./getView";
|
|
70
|
+
export * from "./updateView";
|
|
71
|
+
export * from "./deleteView";
|
|
72
|
+
export * from "./listDashboards";
|
|
73
|
+
export * from "./createDashboard";
|
|
74
|
+
export * from "./getDashboard";
|
|
75
|
+
export * from "./updateDashboard";
|
|
76
|
+
export * from "./deleteDashboard";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const ListDashboardsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
limit: Schema.optional(Schema.Number),
|
|
8
|
+
offset: Schema.optional(Schema.Number),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/dashboards" }));
|
|
10
|
+
export type ListDashboardsInput = typeof ListDashboardsInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const ListDashboardsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
|
+
Schema.Struct({
|
|
15
|
+
createdAt: Schema.String,
|
|
16
|
+
createdBy: Schema.String,
|
|
17
|
+
dashboard: Schema.Struct({
|
|
18
|
+
name: Schema.String,
|
|
19
|
+
owner: Schema.String,
|
|
20
|
+
description: Schema.optional(Schema.String),
|
|
21
|
+
charts: Schema.Array(Schema.Unknown),
|
|
22
|
+
layout: Schema.Array(
|
|
23
|
+
Schema.Struct({
|
|
24
|
+
i: Schema.String,
|
|
25
|
+
x: Schema.Number,
|
|
26
|
+
y: Schema.NullOr(Schema.Number),
|
|
27
|
+
w: Schema.Number,
|
|
28
|
+
h: Schema.Number,
|
|
29
|
+
minW: Schema.optional(Schema.Number),
|
|
30
|
+
minH: Schema.optional(Schema.Number),
|
|
31
|
+
maxW: Schema.optional(Schema.Number),
|
|
32
|
+
maxH: Schema.optional(Schema.Number),
|
|
33
|
+
static: Schema.optional(Schema.Boolean),
|
|
34
|
+
}),
|
|
35
|
+
),
|
|
36
|
+
refreshTime: Schema.Literals([15, 60, 300]),
|
|
37
|
+
schemaVersion: Schema.Literals([2]),
|
|
38
|
+
against: Schema.optional(
|
|
39
|
+
Schema.Literals([
|
|
40
|
+
"-1h",
|
|
41
|
+
"-3h",
|
|
42
|
+
"-6h",
|
|
43
|
+
"-12h",
|
|
44
|
+
"-1d",
|
|
45
|
+
"-3d",
|
|
46
|
+
"-7d",
|
|
47
|
+
"-1w",
|
|
48
|
+
"-2w",
|
|
49
|
+
"-3w",
|
|
50
|
+
"-30d",
|
|
51
|
+
"-60d",
|
|
52
|
+
"-90d",
|
|
53
|
+
]),
|
|
54
|
+
),
|
|
55
|
+
againstTimestamp: Schema.optional(Schema.String),
|
|
56
|
+
timeWindowStart: Schema.String,
|
|
57
|
+
timeWindowEnd: Schema.String,
|
|
58
|
+
uid: Schema.optional(Schema.String),
|
|
59
|
+
}),
|
|
60
|
+
id: Schema.String,
|
|
61
|
+
uid: Schema.String,
|
|
62
|
+
updatedAt: Schema.String,
|
|
63
|
+
updatedBy: Schema.String,
|
|
64
|
+
version: Schema.Unknown,
|
|
65
|
+
}),
|
|
66
|
+
);
|
|
67
|
+
export type ListDashboardsOutput = typeof ListDashboardsOutput.Type;
|
|
68
|
+
|
|
69
|
+
// The operation
|
|
70
|
+
/**
|
|
71
|
+
* List dashboards
|
|
72
|
+
*
|
|
73
|
+
* List dashboards visible to the caller.
|
|
74
|
+
*/
|
|
75
|
+
export const listDashboards = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
76
|
+
inputSchema: ListDashboardsInput,
|
|
77
|
+
outputSchema: ListDashboardsOutput,
|
|
78
|
+
}));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const ListGroupsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{},
|
|
8
|
+
).pipe(T.Http({ method: "GET", path: "/v2/rbac/groups" }));
|
|
9
|
+
export type ListGroupsInput = typeof ListGroupsInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const ListGroupsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
description: Schema.optional(Schema.String),
|
|
15
|
+
isManaged: Schema.optional(Schema.Boolean),
|
|
16
|
+
members: Schema.optional(Schema.Array(Schema.String)),
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
}),
|
|
21
|
+
);
|
|
22
|
+
export type ListGroupsOutput = typeof ListGroupsOutput.Type;
|
|
23
|
+
|
|
24
|
+
// The operation
|
|
25
|
+
/**
|
|
26
|
+
* List all groups
|
|
27
|
+
*
|
|
28
|
+
* Retrieves all groups in the organization.
|
|
29
|
+
*/
|
|
30
|
+
export const listGroups = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
|
+
inputSchema: ListGroupsInput,
|
|
32
|
+
outputSchema: ListGroupsOutput,
|
|
33
|
+
}));
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const ListRolesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{},
|
|
8
|
+
).pipe(T.Http({ method: "GET", path: "/v2/rbac/roles" }));
|
|
9
|
+
export type ListRolesInput = typeof ListRolesInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const ListRolesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
datasetCapabilities: Schema.optional(
|
|
15
|
+
Schema.Record(
|
|
16
|
+
Schema.String,
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
data: Schema.optional(Schema.Array(Schema.Literals(["delete"]))),
|
|
19
|
+
ingest: Schema.optional(Schema.Array(Schema.Literals(["create"]))),
|
|
20
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
21
|
+
share: Schema.optional(
|
|
22
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
23
|
+
),
|
|
24
|
+
starredQueries: Schema.optional(
|
|
25
|
+
Schema.Array(
|
|
26
|
+
Schema.Literals(["create", "read", "update", "delete"]),
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
trim: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
30
|
+
vacuum: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
31
|
+
virtualFields: Schema.optional(
|
|
32
|
+
Schema.Array(
|
|
33
|
+
Schema.Literals(["create", "read", "update", "delete"]),
|
|
34
|
+
),
|
|
35
|
+
),
|
|
36
|
+
}),
|
|
37
|
+
),
|
|
38
|
+
),
|
|
39
|
+
description: Schema.optional(Schema.String),
|
|
40
|
+
members: Schema.optional(Schema.Array(Schema.String)),
|
|
41
|
+
name: Schema.String,
|
|
42
|
+
orgCapabilities: Schema.optional(
|
|
43
|
+
Schema.Struct({
|
|
44
|
+
annotations: Schema.optional(
|
|
45
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
46
|
+
),
|
|
47
|
+
apiTokens: Schema.optional(
|
|
48
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
49
|
+
),
|
|
50
|
+
auditLog: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
51
|
+
billing: Schema.optional(
|
|
52
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
53
|
+
),
|
|
54
|
+
dashboards: Schema.optional(
|
|
55
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
56
|
+
),
|
|
57
|
+
datasets: Schema.optional(
|
|
58
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
59
|
+
),
|
|
60
|
+
endpoints: Schema.optional(
|
|
61
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
62
|
+
),
|
|
63
|
+
flows: Schema.optional(
|
|
64
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
65
|
+
),
|
|
66
|
+
integrations: Schema.optional(
|
|
67
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
68
|
+
),
|
|
69
|
+
monitors: Schema.optional(
|
|
70
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
71
|
+
),
|
|
72
|
+
notifiers: Schema.optional(
|
|
73
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
74
|
+
),
|
|
75
|
+
rbac: Schema.optional(
|
|
76
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
77
|
+
),
|
|
78
|
+
sharedAccessKeys: Schema.optional(
|
|
79
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
80
|
+
),
|
|
81
|
+
users: Schema.optional(
|
|
82
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
83
|
+
),
|
|
84
|
+
views: Schema.optional(
|
|
85
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
86
|
+
),
|
|
87
|
+
}),
|
|
88
|
+
),
|
|
89
|
+
viewCapabilities: Schema.optional(
|
|
90
|
+
Schema.Record(
|
|
91
|
+
Schema.String,
|
|
92
|
+
Schema.Struct({
|
|
93
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
94
|
+
share: Schema.optional(
|
|
95
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
96
|
+
),
|
|
97
|
+
}),
|
|
98
|
+
),
|
|
99
|
+
),
|
|
100
|
+
id: Schema.String,
|
|
101
|
+
}),
|
|
102
|
+
);
|
|
103
|
+
export type ListRolesOutput = typeof ListRolesOutput.Type;
|
|
104
|
+
|
|
105
|
+
// The operation
|
|
106
|
+
/**
|
|
107
|
+
* List all roles
|
|
108
|
+
*
|
|
109
|
+
* Retrieves all roles in the organization with their associated permissions and members.
|
|
110
|
+
*/
|
|
111
|
+
export const listRoles = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
112
|
+
inputSchema: ListRolesInput,
|
|
113
|
+
outputSchema: ListRolesOutput,
|
|
114
|
+
}));
|