@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,21 @@
|
|
|
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 DeleteStarredInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v2/apl-starred-queries/{id}" }));
|
|
10
|
+
export type DeleteStarredInput = typeof DeleteStarredInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const DeleteStarredOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
14
|
+
export type DeleteStarredOutput = typeof DeleteStarredOutput.Type;
|
|
15
|
+
|
|
16
|
+
// The operation
|
|
17
|
+
export const deleteStarred = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18
|
+
inputSchema: DeleteStarredInput,
|
|
19
|
+
outputSchema: DeleteStarredOutput,
|
|
20
|
+
errors: [NotFound] as const,
|
|
21
|
+
}));
|
|
@@ -0,0 +1,21 @@
|
|
|
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 DeleteViewInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v2/views/{id}" }));
|
|
10
|
+
export type DeleteViewInput = typeof DeleteViewInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const DeleteViewOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
14
|
+
export type DeleteViewOutput = typeof DeleteViewOutput.Type;
|
|
15
|
+
|
|
16
|
+
// The operation
|
|
17
|
+
export const deleteView = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
18
|
+
inputSchema: DeleteViewInput,
|
|
19
|
+
outputSchema: DeleteViewOutput,
|
|
20
|
+
errors: [NotFound] as const,
|
|
21
|
+
}));
|
|
@@ -0,0 +1,22 @@
|
|
|
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 DeleteVirtualFieldInput =
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v2/vfields/{id}" }));
|
|
11
|
+
export type DeleteVirtualFieldInput = typeof DeleteVirtualFieldInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const DeleteVirtualFieldOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
15
|
+
export type DeleteVirtualFieldOutput = typeof DeleteVirtualFieldOutput.Type;
|
|
16
|
+
|
|
17
|
+
// The operation
|
|
18
|
+
export const deleteVirtualField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19
|
+
inputSchema: DeleteVirtualFieldInput,
|
|
20
|
+
outputSchema: DeleteVirtualFieldOutput,
|
|
21
|
+
errors: [NotFound] as const,
|
|
22
|
+
}));
|
|
@@ -0,0 +1,103 @@
|
|
|
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 GetAPITokenInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/tokens/{id}" }));
|
|
10
|
+
export type GetAPITokenInput = typeof GetAPITokenInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetAPITokenOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
datasetCapabilities: Schema.Record(
|
|
15
|
+
Schema.String,
|
|
16
|
+
Schema.Struct({
|
|
17
|
+
data: Schema.optional(Schema.Array(Schema.Literals(["delete"]))),
|
|
18
|
+
ingest: Schema.optional(Schema.Array(Schema.Literals(["create"]))),
|
|
19
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
20
|
+
share: Schema.optional(
|
|
21
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
22
|
+
),
|
|
23
|
+
starredQueries: Schema.optional(
|
|
24
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
25
|
+
),
|
|
26
|
+
trim: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
27
|
+
vacuum: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
28
|
+
virtualFields: Schema.optional(
|
|
29
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
30
|
+
),
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
33
|
+
description: Schema.optional(Schema.String),
|
|
34
|
+
expiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
35
|
+
id: Schema.String,
|
|
36
|
+
name: Schema.String,
|
|
37
|
+
orgCapabilities: Schema.Struct({
|
|
38
|
+
annotations: Schema.optional(
|
|
39
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
40
|
+
),
|
|
41
|
+
apiTokens: Schema.optional(
|
|
42
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
43
|
+
),
|
|
44
|
+
auditLog: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
45
|
+
billing: Schema.optional(Schema.Array(Schema.Literals(["read", "update"]))),
|
|
46
|
+
dashboards: Schema.optional(
|
|
47
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
48
|
+
),
|
|
49
|
+
datasets: Schema.optional(
|
|
50
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
51
|
+
),
|
|
52
|
+
endpoints: Schema.optional(
|
|
53
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
54
|
+
),
|
|
55
|
+
flows: Schema.optional(
|
|
56
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
57
|
+
),
|
|
58
|
+
integrations: Schema.optional(
|
|
59
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
60
|
+
),
|
|
61
|
+
monitors: Schema.optional(
|
|
62
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
63
|
+
),
|
|
64
|
+
notifiers: Schema.optional(
|
|
65
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
66
|
+
),
|
|
67
|
+
rbac: Schema.optional(
|
|
68
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
69
|
+
),
|
|
70
|
+
sharedAccessKeys: Schema.optional(
|
|
71
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
72
|
+
),
|
|
73
|
+
users: Schema.optional(
|
|
74
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
75
|
+
),
|
|
76
|
+
views: Schema.optional(
|
|
77
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
78
|
+
),
|
|
79
|
+
}),
|
|
80
|
+
samlAuthenticated: Schema.optional(Schema.Boolean),
|
|
81
|
+
viewCapabilities: Schema.optional(
|
|
82
|
+
Schema.Record(
|
|
83
|
+
Schema.String,
|
|
84
|
+
Schema.Struct({
|
|
85
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
86
|
+
share: Schema.optional(
|
|
87
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
88
|
+
),
|
|
89
|
+
}),
|
|
90
|
+
),
|
|
91
|
+
),
|
|
92
|
+
});
|
|
93
|
+
export type GetAPITokenOutput = typeof GetAPITokenOutput.Type;
|
|
94
|
+
|
|
95
|
+
// The operation
|
|
96
|
+
/**
|
|
97
|
+
* Get API token by ID
|
|
98
|
+
*/
|
|
99
|
+
export const getAPIToken = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
100
|
+
inputSchema: GetAPITokenInput,
|
|
101
|
+
outputSchema: GetAPITokenOutput,
|
|
102
|
+
errors: [NotFound] as const,
|
|
103
|
+
}));
|
|
@@ -0,0 +1,105 @@
|
|
|
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 GetAPITokensInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{},
|
|
8
|
+
).pipe(T.Http({ method: "GET", path: "/v2/tokens" }));
|
|
9
|
+
export type GetAPITokensInput = typeof GetAPITokensInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetAPITokensOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
datasetCapabilities: Schema.Record(
|
|
15
|
+
Schema.String,
|
|
16
|
+
Schema.Struct({
|
|
17
|
+
data: Schema.optional(Schema.Array(Schema.Literals(["delete"]))),
|
|
18
|
+
ingest: Schema.optional(Schema.Array(Schema.Literals(["create"]))),
|
|
19
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
20
|
+
share: Schema.optional(
|
|
21
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
22
|
+
),
|
|
23
|
+
starredQueries: Schema.optional(
|
|
24
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
25
|
+
),
|
|
26
|
+
trim: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
27
|
+
vacuum: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
28
|
+
virtualFields: Schema.optional(
|
|
29
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
30
|
+
),
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
33
|
+
description: Schema.optional(Schema.String),
|
|
34
|
+
expiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
35
|
+
id: Schema.String,
|
|
36
|
+
name: Schema.String,
|
|
37
|
+
orgCapabilities: Schema.Struct({
|
|
38
|
+
annotations: Schema.optional(
|
|
39
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
40
|
+
),
|
|
41
|
+
apiTokens: Schema.optional(
|
|
42
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
43
|
+
),
|
|
44
|
+
auditLog: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
45
|
+
billing: Schema.optional(
|
|
46
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
47
|
+
),
|
|
48
|
+
dashboards: Schema.optional(
|
|
49
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
50
|
+
),
|
|
51
|
+
datasets: Schema.optional(
|
|
52
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
53
|
+
),
|
|
54
|
+
endpoints: Schema.optional(
|
|
55
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
56
|
+
),
|
|
57
|
+
flows: Schema.optional(
|
|
58
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
59
|
+
),
|
|
60
|
+
integrations: Schema.optional(
|
|
61
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
62
|
+
),
|
|
63
|
+
monitors: Schema.optional(
|
|
64
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
65
|
+
),
|
|
66
|
+
notifiers: Schema.optional(
|
|
67
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
68
|
+
),
|
|
69
|
+
rbac: Schema.optional(
|
|
70
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
71
|
+
),
|
|
72
|
+
sharedAccessKeys: Schema.optional(
|
|
73
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
74
|
+
),
|
|
75
|
+
users: Schema.optional(
|
|
76
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
77
|
+
),
|
|
78
|
+
views: Schema.optional(
|
|
79
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
80
|
+
),
|
|
81
|
+
}),
|
|
82
|
+
samlAuthenticated: Schema.optional(Schema.Boolean),
|
|
83
|
+
viewCapabilities: Schema.optional(
|
|
84
|
+
Schema.Record(
|
|
85
|
+
Schema.String,
|
|
86
|
+
Schema.Struct({
|
|
87
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
88
|
+
share: Schema.optional(
|
|
89
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
90
|
+
),
|
|
91
|
+
}),
|
|
92
|
+
),
|
|
93
|
+
),
|
|
94
|
+
}),
|
|
95
|
+
);
|
|
96
|
+
export type GetAPITokensOutput = typeof GetAPITokensOutput.Type;
|
|
97
|
+
|
|
98
|
+
// The operation
|
|
99
|
+
/**
|
|
100
|
+
* Get API tokens
|
|
101
|
+
*/
|
|
102
|
+
export const getAPITokens = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
103
|
+
inputSchema: GetAPITokensInput,
|
|
104
|
+
outputSchema: GetAPITokensOutput,
|
|
105
|
+
}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { BadRequest, NotFound } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetAnnotationInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/annotations/{id}" }));
|
|
10
|
+
export type GetAnnotationInput = typeof GetAnnotationInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetAnnotationOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
datasets: Schema.Array(Schema.String),
|
|
15
|
+
description: Schema.optional(Schema.String),
|
|
16
|
+
endTime: Schema.optional(Schema.NullOr(Schema.String)),
|
|
17
|
+
id: Schema.String,
|
|
18
|
+
time: Schema.String,
|
|
19
|
+
title: Schema.optional(Schema.String),
|
|
20
|
+
type: Schema.String,
|
|
21
|
+
url: Schema.optional(Schema.String),
|
|
22
|
+
});
|
|
23
|
+
export type GetAnnotationOutput = typeof GetAnnotationOutput.Type;
|
|
24
|
+
|
|
25
|
+
// The operation
|
|
26
|
+
/**
|
|
27
|
+
* Get annotation by ID
|
|
28
|
+
*
|
|
29
|
+
* @param id - Unique ID of the annotation
|
|
30
|
+
*/
|
|
31
|
+
export const getAnnotation = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: GetAnnotationInput,
|
|
33
|
+
outputSchema: GetAnnotationOutput,
|
|
34
|
+
errors: [BadRequest, NotFound] as const,
|
|
35
|
+
}));
|
|
@@ -0,0 +1,39 @@
|
|
|
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 GetAnnotationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
datasets: Schema.optional(Schema.String),
|
|
8
|
+
start: Schema.optional(Schema.String),
|
|
9
|
+
end: Schema.optional(Schema.String),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/annotations" }));
|
|
11
|
+
export type GetAnnotationsInput = typeof GetAnnotationsInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const GetAnnotationsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
15
|
+
Schema.Struct({
|
|
16
|
+
datasets: Schema.Array(Schema.String),
|
|
17
|
+
description: Schema.optional(Schema.String),
|
|
18
|
+
endTime: Schema.optional(Schema.NullOr(Schema.String)),
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
time: Schema.String,
|
|
21
|
+
title: Schema.optional(Schema.String),
|
|
22
|
+
type: Schema.String,
|
|
23
|
+
url: Schema.optional(Schema.String),
|
|
24
|
+
}),
|
|
25
|
+
);
|
|
26
|
+
export type GetAnnotationsOutput = typeof GetAnnotationsOutput.Type;
|
|
27
|
+
|
|
28
|
+
// The operation
|
|
29
|
+
/**
|
|
30
|
+
* Get annotations
|
|
31
|
+
*
|
|
32
|
+
* @param datasets - Optional: Filter for dataset names.
|
|
33
|
+
* @param start - Optional: Filter for events after this date. Use RFC3339 time format.
|
|
34
|
+
* @param end - Optional: Filter for events before this date. Use RFC3339 time format.
|
|
35
|
+
*/
|
|
36
|
+
export const getAnnotations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
37
|
+
inputSchema: GetAnnotationsInput,
|
|
38
|
+
outputSchema: GetAnnotationsOutput,
|
|
39
|
+
}));
|
|
@@ -0,0 +1,32 @@
|
|
|
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 GetCurrentUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
|
+
{},
|
|
8
|
+
).pipe(T.Http({ method: "GET", path: "/v2/user" }));
|
|
9
|
+
export type GetCurrentUserInput = typeof GetCurrentUserInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetCurrentUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
email: Schema.String,
|
|
14
|
+
id: Schema.String,
|
|
15
|
+
name: Schema.String,
|
|
16
|
+
role: Schema.optional(
|
|
17
|
+
Schema.Struct({
|
|
18
|
+
id: Schema.String,
|
|
19
|
+
name: Schema.String,
|
|
20
|
+
}),
|
|
21
|
+
),
|
|
22
|
+
});
|
|
23
|
+
export type GetCurrentUserOutput = typeof GetCurrentUserOutput.Type;
|
|
24
|
+
|
|
25
|
+
// The operation
|
|
26
|
+
/**
|
|
27
|
+
* Get current user
|
|
28
|
+
*/
|
|
29
|
+
export const getCurrentUser = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
30
|
+
inputSchema: GetCurrentUserInput,
|
|
31
|
+
outputSchema: GetCurrentUserOutput,
|
|
32
|
+
}));
|
|
@@ -0,0 +1,77 @@
|
|
|
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 GetDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
uid: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/dashboards/uid/{uid}" }));
|
|
10
|
+
export type GetDashboardInput = typeof GetDashboardInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
createdAt: Schema.String,
|
|
15
|
+
createdBy: Schema.String,
|
|
16
|
+
dashboard: Schema.Struct({
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
owner: Schema.String,
|
|
19
|
+
description: Schema.optional(Schema.String),
|
|
20
|
+
charts: Schema.Array(Schema.Unknown),
|
|
21
|
+
layout: Schema.Array(
|
|
22
|
+
Schema.Struct({
|
|
23
|
+
i: Schema.String,
|
|
24
|
+
x: Schema.Number,
|
|
25
|
+
y: Schema.NullOr(Schema.Number),
|
|
26
|
+
w: Schema.Number,
|
|
27
|
+
h: Schema.Number,
|
|
28
|
+
minW: Schema.optional(Schema.Number),
|
|
29
|
+
minH: Schema.optional(Schema.Number),
|
|
30
|
+
maxW: Schema.optional(Schema.Number),
|
|
31
|
+
maxH: Schema.optional(Schema.Number),
|
|
32
|
+
static: Schema.optional(Schema.Boolean),
|
|
33
|
+
}),
|
|
34
|
+
),
|
|
35
|
+
refreshTime: Schema.Literals([15, 60, 300]),
|
|
36
|
+
schemaVersion: Schema.Literals([2]),
|
|
37
|
+
against: Schema.optional(
|
|
38
|
+
Schema.Literals([
|
|
39
|
+
"-1h",
|
|
40
|
+
"-3h",
|
|
41
|
+
"-6h",
|
|
42
|
+
"-12h",
|
|
43
|
+
"-1d",
|
|
44
|
+
"-3d",
|
|
45
|
+
"-7d",
|
|
46
|
+
"-1w",
|
|
47
|
+
"-2w",
|
|
48
|
+
"-3w",
|
|
49
|
+
"-30d",
|
|
50
|
+
"-60d",
|
|
51
|
+
"-90d",
|
|
52
|
+
]),
|
|
53
|
+
),
|
|
54
|
+
againstTimestamp: Schema.optional(Schema.String),
|
|
55
|
+
timeWindowStart: Schema.String,
|
|
56
|
+
timeWindowEnd: Schema.String,
|
|
57
|
+
uid: Schema.optional(Schema.String),
|
|
58
|
+
}),
|
|
59
|
+
id: Schema.String,
|
|
60
|
+
uid: Schema.String,
|
|
61
|
+
updatedAt: Schema.String,
|
|
62
|
+
updatedBy: Schema.String,
|
|
63
|
+
version: Schema.Unknown,
|
|
64
|
+
});
|
|
65
|
+
export type GetDashboardOutput = typeof GetDashboardOutput.Type;
|
|
66
|
+
|
|
67
|
+
// The operation
|
|
68
|
+
/**
|
|
69
|
+
* Get dashboard
|
|
70
|
+
*
|
|
71
|
+
* Get a dashboard by UID.
|
|
72
|
+
*/
|
|
73
|
+
export const getDashboard = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
74
|
+
inputSchema: GetDashboardInput,
|
|
75
|
+
outputSchema: GetDashboardOutput,
|
|
76
|
+
errors: [NotFound] as const,
|
|
77
|
+
}));
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}" }));
|
|
10
|
+
export type GetDatasetInput = typeof GetDatasetInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
canWrite: Schema.optional(Schema.Boolean),
|
|
15
|
+
created: Schema.String,
|
|
16
|
+
description: Schema.String,
|
|
17
|
+
edgeDeployment: Schema.optional(Schema.String),
|
|
18
|
+
id: Schema.String,
|
|
19
|
+
kind: Schema.Literals([
|
|
20
|
+
"otel:metrics:v1",
|
|
21
|
+
"otel:traces:v1",
|
|
22
|
+
"otel:logs:v1",
|
|
23
|
+
"axiom:events:v1",
|
|
24
|
+
]),
|
|
25
|
+
mapFields: Schema.optional(Schema.Array(Schema.String)),
|
|
26
|
+
name: Schema.String,
|
|
27
|
+
retentionDays: Schema.optional(Schema.Number),
|
|
28
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
29
|
+
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
30
|
+
who: Schema.String,
|
|
31
|
+
});
|
|
32
|
+
export type GetDatasetOutput = typeof GetDatasetOutput.Type;
|
|
33
|
+
|
|
34
|
+
// The operation
|
|
35
|
+
/**
|
|
36
|
+
* Get dataset by ID
|
|
37
|
+
*/
|
|
38
|
+
export const getDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
39
|
+
inputSchema: GetDatasetInput,
|
|
40
|
+
outputSchema: GetDatasetOutput,
|
|
41
|
+
errors: [Forbidden, NotFound] as const,
|
|
42
|
+
}));
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { Forbidden } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetDatasetsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
|
+
{},
|
|
9
|
+
).pipe(T.Http({ method: "GET", path: "/v2/datasets" }));
|
|
10
|
+
export type GetDatasetsInput = typeof GetDatasetsInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetDatasetsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
|
+
Schema.Struct({
|
|
15
|
+
canWrite: Schema.optional(Schema.Boolean),
|
|
16
|
+
created: Schema.String,
|
|
17
|
+
description: Schema.String,
|
|
18
|
+
edgeDeployment: Schema.optional(Schema.String),
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
kind: Schema.Literals([
|
|
21
|
+
"otel:metrics:v1",
|
|
22
|
+
"otel:traces:v1",
|
|
23
|
+
"otel:logs:v1",
|
|
24
|
+
"axiom:events:v1",
|
|
25
|
+
]),
|
|
26
|
+
mapFields: Schema.optional(Schema.Array(Schema.String)),
|
|
27
|
+
name: Schema.String,
|
|
28
|
+
retentionDays: Schema.optional(Schema.Number),
|
|
29
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
30
|
+
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
31
|
+
who: Schema.String,
|
|
32
|
+
}),
|
|
33
|
+
);
|
|
34
|
+
export type GetDatasetsOutput = typeof GetDatasetsOutput.Type;
|
|
35
|
+
|
|
36
|
+
// The operation
|
|
37
|
+
/**
|
|
38
|
+
* Get list of datasets
|
|
39
|
+
*/
|
|
40
|
+
export const getDatasets = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
41
|
+
inputSchema: GetDatasetsInput,
|
|
42
|
+
outputSchema: GetDatasetsOutput,
|
|
43
|
+
errors: [Forbidden] as const,
|
|
44
|
+
}));
|
|
@@ -0,0 +1,35 @@
|
|
|
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 GetFieldForDatasetInput =
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
field_id: Schema.String.pipe(T.PathParam()),
|
|
11
|
+
}).pipe(
|
|
12
|
+
T.Http({
|
|
13
|
+
method: "GET",
|
|
14
|
+
path: "/v2/datasets/{dataset_id}/fields/{field_id}",
|
|
15
|
+
}),
|
|
16
|
+
);
|
|
17
|
+
export type GetFieldForDatasetInput = typeof GetFieldForDatasetInput.Type;
|
|
18
|
+
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const GetFieldForDatasetOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
description: Schema.optional(Schema.String),
|
|
23
|
+
hidden: Schema.optional(Schema.Boolean),
|
|
24
|
+
name: Schema.String,
|
|
25
|
+
type: Schema.String,
|
|
26
|
+
unit: Schema.optional(Schema.String),
|
|
27
|
+
});
|
|
28
|
+
export type GetFieldForDatasetOutput = typeof GetFieldForDatasetOutput.Type;
|
|
29
|
+
|
|
30
|
+
// The operation
|
|
31
|
+
export const getFieldForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: GetFieldForDatasetInput,
|
|
33
|
+
outputSchema: GetFieldForDatasetOutput,
|
|
34
|
+
errors: [NotFound] as const,
|
|
35
|
+
}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { Forbidden, NotFound } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const GetFieldsForDatasetInput =
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/fields" }));
|
|
11
|
+
export type GetFieldsForDatasetInput = typeof GetFieldsForDatasetInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const GetFieldsForDatasetOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
16
|
+
Schema.Struct({
|
|
17
|
+
description: Schema.optional(Schema.String),
|
|
18
|
+
hidden: Schema.optional(Schema.Boolean),
|
|
19
|
+
name: Schema.String,
|
|
20
|
+
type: Schema.String,
|
|
21
|
+
unit: Schema.optional(Schema.String),
|
|
22
|
+
}),
|
|
23
|
+
);
|
|
24
|
+
export type GetFieldsForDatasetOutput = typeof GetFieldsForDatasetOutput.Type;
|
|
25
|
+
|
|
26
|
+
// The operation
|
|
27
|
+
export const getFieldsForDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
28
|
+
inputSchema: GetFieldsForDatasetInput,
|
|
29
|
+
outputSchema: GetFieldsForDatasetOutput,
|
|
30
|
+
errors: [Forbidden, NotFound] as const,
|
|
31
|
+
}));
|
|
@@ -0,0 +1,35 @@
|
|
|
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 GetGroupByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/rbac/groups/{id}" }));
|
|
10
|
+
export type GetGroupByIdInput = typeof GetGroupByIdInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetGroupByIdOutput = /*@__PURE__*/ /*#__PURE__*/ 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
|
+
export type GetGroupByIdOutput = typeof GetGroupByIdOutput.Type;
|
|
22
|
+
|
|
23
|
+
// The operation
|
|
24
|
+
/**
|
|
25
|
+
* Get group by ID
|
|
26
|
+
*
|
|
27
|
+
* Retrieves detailed information about a specific group by its unique identifier.
|
|
28
|
+
*
|
|
29
|
+
* @param id - Unique identifier of the group to retrieve
|
|
30
|
+
*/
|
|
31
|
+
export const getGroupById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: GetGroupByIdInput,
|
|
33
|
+
outputSchema: GetGroupByIdOutput,
|
|
34
|
+
errors: [NotFound] as const,
|
|
35
|
+
}));
|
|
@@ -0,0 +1,23 @@
|
|
|
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 GetMapFieldsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/mapfields" }));
|
|
10
|
+
export type GetMapFieldsInput = typeof GetMapFieldsInput.Type;
|
|
11
|
+
|
|
12
|
+
// Output Schema
|
|
13
|
+
export const GetMapFieldsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
|
+
Schema.String,
|
|
15
|
+
);
|
|
16
|
+
export type GetMapFieldsOutput = typeof GetMapFieldsOutput.Type;
|
|
17
|
+
|
|
18
|
+
// The operation
|
|
19
|
+
export const getMapFields = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
20
|
+
inputSchema: GetMapFieldsInput,
|
|
21
|
+
outputSchema: GetMapFieldsOutput,
|
|
22
|
+
errors: [NotFound] as const,
|
|
23
|
+
}));
|