@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,147 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { BadRequest, Conflict } from "../../errors";
|
|
3
|
+
export declare const CreateDashboardInput: Schema.Struct<{
|
|
4
|
+
readonly dashboard: Schema.Struct<{
|
|
5
|
+
readonly name: Schema.String;
|
|
6
|
+
readonly owner: Schema.String;
|
|
7
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8
|
+
readonly charts: Schema.$Array<Schema.Unknown>;
|
|
9
|
+
readonly layout: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly i: Schema.String;
|
|
11
|
+
readonly x: Schema.Number;
|
|
12
|
+
readonly y: Schema.NullOr<Schema.Number>;
|
|
13
|
+
readonly w: Schema.Number;
|
|
14
|
+
readonly h: Schema.Number;
|
|
15
|
+
readonly minW: Schema.optional<Schema.Number>;
|
|
16
|
+
readonly minH: Schema.optional<Schema.Number>;
|
|
17
|
+
readonly maxW: Schema.optional<Schema.Number>;
|
|
18
|
+
readonly maxH: Schema.optional<Schema.Number>;
|
|
19
|
+
readonly static: Schema.optional<Schema.Boolean>;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly refreshTime: Schema.Literals<readonly [15, 60, 300]>;
|
|
22
|
+
readonly schemaVersion: Schema.Literals<readonly [2]>;
|
|
23
|
+
readonly against: Schema.optional<Schema.Literals<readonly ["-1h", "-3h", "-6h", "-12h", "-1d", "-3d", "-7d", "-1w", "-2w", "-3w", "-30d", "-60d", "-90d"]>>;
|
|
24
|
+
readonly againstTimestamp: Schema.optional<Schema.String>;
|
|
25
|
+
readonly timeWindowStart: Schema.String;
|
|
26
|
+
readonly timeWindowEnd: Schema.String;
|
|
27
|
+
readonly uid: Schema.optional<Schema.String>;
|
|
28
|
+
}>;
|
|
29
|
+
readonly message: Schema.optional<Schema.String>;
|
|
30
|
+
readonly overwrite: Schema.optional<Schema.Boolean>;
|
|
31
|
+
readonly uid: Schema.optional<Schema.String>;
|
|
32
|
+
readonly version: Schema.optional<Schema.Unknown>;
|
|
33
|
+
}>;
|
|
34
|
+
export type CreateDashboardInput = typeof CreateDashboardInput.Type;
|
|
35
|
+
export declare const CreateDashboardOutput: Schema.Struct<{
|
|
36
|
+
readonly dashboard: Schema.Struct<{
|
|
37
|
+
readonly createdAt: Schema.String;
|
|
38
|
+
readonly createdBy: Schema.String;
|
|
39
|
+
readonly dashboard: Schema.Struct<{
|
|
40
|
+
readonly name: Schema.String;
|
|
41
|
+
readonly owner: Schema.String;
|
|
42
|
+
readonly description: Schema.optional<Schema.String>;
|
|
43
|
+
readonly charts: Schema.$Array<Schema.Unknown>;
|
|
44
|
+
readonly layout: Schema.$Array<Schema.Struct<{
|
|
45
|
+
readonly i: Schema.String;
|
|
46
|
+
readonly x: Schema.Number;
|
|
47
|
+
readonly y: Schema.NullOr<Schema.Number>;
|
|
48
|
+
readonly w: Schema.Number;
|
|
49
|
+
readonly h: Schema.Number;
|
|
50
|
+
readonly minW: Schema.optional<Schema.Number>;
|
|
51
|
+
readonly minH: Schema.optional<Schema.Number>;
|
|
52
|
+
readonly maxW: Schema.optional<Schema.Number>;
|
|
53
|
+
readonly maxH: Schema.optional<Schema.Number>;
|
|
54
|
+
readonly static: Schema.optional<Schema.Boolean>;
|
|
55
|
+
}>>;
|
|
56
|
+
readonly refreshTime: Schema.Literals<readonly [15, 60, 300]>;
|
|
57
|
+
readonly schemaVersion: Schema.Literals<readonly [2]>;
|
|
58
|
+
readonly against: Schema.optional<Schema.Literals<readonly ["-1h", "-3h", "-6h", "-12h", "-1d", "-3d", "-7d", "-1w", "-2w", "-3w", "-30d", "-60d", "-90d"]>>;
|
|
59
|
+
readonly againstTimestamp: Schema.optional<Schema.String>;
|
|
60
|
+
readonly timeWindowStart: Schema.String;
|
|
61
|
+
readonly timeWindowEnd: Schema.String;
|
|
62
|
+
readonly uid: Schema.optional<Schema.String>;
|
|
63
|
+
}>;
|
|
64
|
+
readonly id: Schema.String;
|
|
65
|
+
readonly uid: Schema.String;
|
|
66
|
+
readonly updatedAt: Schema.String;
|
|
67
|
+
readonly updatedBy: Schema.String;
|
|
68
|
+
readonly version: Schema.Unknown;
|
|
69
|
+
}>;
|
|
70
|
+
readonly overwritten: Schema.optional<Schema.Boolean>;
|
|
71
|
+
readonly status: Schema.Literals<readonly ["created", "updated"]>;
|
|
72
|
+
}>;
|
|
73
|
+
export type CreateDashboardOutput = typeof CreateDashboardOutput.Type;
|
|
74
|
+
/**
|
|
75
|
+
* Create dashboard
|
|
76
|
+
*
|
|
77
|
+
* Create a dashboard from a dashboard document payload.
|
|
78
|
+
*/
|
|
79
|
+
export declare const createDashboard: import("@distilled.cloud/core/client").OperationMethod<{
|
|
80
|
+
readonly dashboard: {
|
|
81
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
82
|
+
readonly againstTimestamp?: string | undefined;
|
|
83
|
+
readonly charts: readonly unknown[];
|
|
84
|
+
readonly description?: string | undefined;
|
|
85
|
+
readonly layout: readonly {
|
|
86
|
+
readonly h: number;
|
|
87
|
+
readonly i: string;
|
|
88
|
+
readonly maxH?: number | undefined;
|
|
89
|
+
readonly maxW?: number | undefined;
|
|
90
|
+
readonly minH?: number | undefined;
|
|
91
|
+
readonly minW?: number | undefined;
|
|
92
|
+
readonly static?: boolean | undefined;
|
|
93
|
+
readonly w: number;
|
|
94
|
+
readonly x: number;
|
|
95
|
+
readonly y: number | null;
|
|
96
|
+
}[];
|
|
97
|
+
readonly name: string;
|
|
98
|
+
readonly owner: string;
|
|
99
|
+
readonly refreshTime: 15 | 60 | 300;
|
|
100
|
+
readonly schemaVersion: 2;
|
|
101
|
+
readonly timeWindowEnd: string;
|
|
102
|
+
readonly timeWindowStart: string;
|
|
103
|
+
readonly uid?: string | undefined;
|
|
104
|
+
};
|
|
105
|
+
readonly message?: string | undefined;
|
|
106
|
+
readonly overwrite?: boolean | undefined;
|
|
107
|
+
readonly uid?: string | undefined;
|
|
108
|
+
readonly version?: unknown;
|
|
109
|
+
}, {
|
|
110
|
+
readonly dashboard: {
|
|
111
|
+
readonly createdAt: string;
|
|
112
|
+
readonly createdBy: string;
|
|
113
|
+
readonly dashboard: {
|
|
114
|
+
readonly against?: "-12h" | "-1d" | "-1h" | "-1w" | "-2w" | "-30d" | "-3d" | "-3h" | "-3w" | "-60d" | "-6h" | "-7d" | "-90d" | undefined;
|
|
115
|
+
readonly againstTimestamp?: string | undefined;
|
|
116
|
+
readonly charts: readonly unknown[];
|
|
117
|
+
readonly description?: string | undefined;
|
|
118
|
+
readonly layout: readonly {
|
|
119
|
+
readonly h: number;
|
|
120
|
+
readonly i: string;
|
|
121
|
+
readonly maxH?: number | undefined;
|
|
122
|
+
readonly maxW?: number | undefined;
|
|
123
|
+
readonly minH?: number | undefined;
|
|
124
|
+
readonly minW?: number | undefined;
|
|
125
|
+
readonly static?: boolean | undefined;
|
|
126
|
+
readonly w: number;
|
|
127
|
+
readonly x: number;
|
|
128
|
+
readonly y: number | null;
|
|
129
|
+
}[];
|
|
130
|
+
readonly name: string;
|
|
131
|
+
readonly owner: string;
|
|
132
|
+
readonly refreshTime: 15 | 60 | 300;
|
|
133
|
+
readonly schemaVersion: 2;
|
|
134
|
+
readonly timeWindowEnd: string;
|
|
135
|
+
readonly timeWindowStart: string;
|
|
136
|
+
readonly uid?: string | undefined;
|
|
137
|
+
};
|
|
138
|
+
readonly id: string;
|
|
139
|
+
readonly uid: string;
|
|
140
|
+
readonly updatedAt: string;
|
|
141
|
+
readonly updatedBy: string;
|
|
142
|
+
readonly version: unknown;
|
|
143
|
+
};
|
|
144
|
+
readonly overwritten?: boolean | undefined;
|
|
145
|
+
readonly status: "created" | "updated";
|
|
146
|
+
}, BadRequest | Conflict, any>;
|
|
147
|
+
//# sourceMappingURL=createDashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDashboard.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/createDashboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGpD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgD0B,CAAC;AAC5D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAIzB,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { BadRequest, Conflict } from "../../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateDashboardInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
dashboard: Schema.Struct({
|
|
8
|
+
name: Schema.String,
|
|
9
|
+
owner: Schema.String,
|
|
10
|
+
description: Schema.optional(Schema.String),
|
|
11
|
+
charts: Schema.Array(Schema.Unknown),
|
|
12
|
+
layout: Schema.Array(Schema.Struct({
|
|
13
|
+
i: Schema.String,
|
|
14
|
+
x: Schema.Number,
|
|
15
|
+
y: Schema.NullOr(Schema.Number),
|
|
16
|
+
w: Schema.Number,
|
|
17
|
+
h: Schema.Number,
|
|
18
|
+
minW: Schema.optional(Schema.Number),
|
|
19
|
+
minH: Schema.optional(Schema.Number),
|
|
20
|
+
maxW: Schema.optional(Schema.Number),
|
|
21
|
+
maxH: Schema.optional(Schema.Number),
|
|
22
|
+
static: Schema.optional(Schema.Boolean),
|
|
23
|
+
})),
|
|
24
|
+
refreshTime: Schema.Literals([15, 60, 300]),
|
|
25
|
+
schemaVersion: Schema.Literals([2]),
|
|
26
|
+
against: Schema.optional(Schema.Literals([
|
|
27
|
+
"-1h",
|
|
28
|
+
"-3h",
|
|
29
|
+
"-6h",
|
|
30
|
+
"-12h",
|
|
31
|
+
"-1d",
|
|
32
|
+
"-3d",
|
|
33
|
+
"-7d",
|
|
34
|
+
"-1w",
|
|
35
|
+
"-2w",
|
|
36
|
+
"-3w",
|
|
37
|
+
"-30d",
|
|
38
|
+
"-60d",
|
|
39
|
+
"-90d",
|
|
40
|
+
])),
|
|
41
|
+
againstTimestamp: Schema.optional(Schema.String),
|
|
42
|
+
timeWindowStart: Schema.String,
|
|
43
|
+
timeWindowEnd: Schema.String,
|
|
44
|
+
uid: Schema.optional(Schema.String),
|
|
45
|
+
}),
|
|
46
|
+
message: Schema.optional(Schema.String),
|
|
47
|
+
overwrite: Schema.optional(Schema.Boolean),
|
|
48
|
+
uid: Schema.optional(Schema.String),
|
|
49
|
+
version: Schema.optional(Schema.Unknown),
|
|
50
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/dashboards" }));
|
|
51
|
+
// Output Schema
|
|
52
|
+
export const CreateDashboardOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
53
|
+
dashboard: Schema.Struct({
|
|
54
|
+
createdAt: Schema.String,
|
|
55
|
+
createdBy: Schema.String,
|
|
56
|
+
dashboard: Schema.Struct({
|
|
57
|
+
name: Schema.String,
|
|
58
|
+
owner: Schema.String,
|
|
59
|
+
description: Schema.optional(Schema.String),
|
|
60
|
+
charts: Schema.Array(Schema.Unknown),
|
|
61
|
+
layout: Schema.Array(Schema.Struct({
|
|
62
|
+
i: Schema.String,
|
|
63
|
+
x: Schema.Number,
|
|
64
|
+
y: Schema.NullOr(Schema.Number),
|
|
65
|
+
w: Schema.Number,
|
|
66
|
+
h: Schema.Number,
|
|
67
|
+
minW: Schema.optional(Schema.Number),
|
|
68
|
+
minH: Schema.optional(Schema.Number),
|
|
69
|
+
maxW: Schema.optional(Schema.Number),
|
|
70
|
+
maxH: Schema.optional(Schema.Number),
|
|
71
|
+
static: Schema.optional(Schema.Boolean),
|
|
72
|
+
})),
|
|
73
|
+
refreshTime: Schema.Literals([15, 60, 300]),
|
|
74
|
+
schemaVersion: Schema.Literals([2]),
|
|
75
|
+
against: Schema.optional(Schema.Literals([
|
|
76
|
+
"-1h",
|
|
77
|
+
"-3h",
|
|
78
|
+
"-6h",
|
|
79
|
+
"-12h",
|
|
80
|
+
"-1d",
|
|
81
|
+
"-3d",
|
|
82
|
+
"-7d",
|
|
83
|
+
"-1w",
|
|
84
|
+
"-2w",
|
|
85
|
+
"-3w",
|
|
86
|
+
"-30d",
|
|
87
|
+
"-60d",
|
|
88
|
+
"-90d",
|
|
89
|
+
])),
|
|
90
|
+
againstTimestamp: Schema.optional(Schema.String),
|
|
91
|
+
timeWindowStart: Schema.String,
|
|
92
|
+
timeWindowEnd: Schema.String,
|
|
93
|
+
uid: Schema.optional(Schema.String),
|
|
94
|
+
}),
|
|
95
|
+
id: Schema.String,
|
|
96
|
+
uid: Schema.String,
|
|
97
|
+
updatedAt: Schema.String,
|
|
98
|
+
updatedBy: Schema.String,
|
|
99
|
+
version: Schema.Unknown,
|
|
100
|
+
}),
|
|
101
|
+
overwritten: Schema.optional(Schema.Boolean),
|
|
102
|
+
status: Schema.Literals(["created", "updated"]),
|
|
103
|
+
});
|
|
104
|
+
// The operation
|
|
105
|
+
/**
|
|
106
|
+
* Create dashboard
|
|
107
|
+
*
|
|
108
|
+
* Create a dashboard from a dashboard document payload.
|
|
109
|
+
*/
|
|
110
|
+
export const createDashboard = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
111
|
+
inputSchema: CreateDashboardInput,
|
|
112
|
+
outputSchema: CreateDashboardOutput,
|
|
113
|
+
errors: [BadRequest, Conflict],
|
|
114
|
+
}));
|
|
115
|
+
//# sourceMappingURL=createDashboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDashbo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gBACL,MAAM;gBACN,MAAM;gBACN,MAAM;aACP,CAAC,CACH;YACD,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;YAChD,eAAe,EAAE,MAAM,CAAC,MAAM;YAC9B,aAAa,EAAE,MAAM,CAAC,MAAM;YAC5B,GAAG,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;SACpC,CAAC;QACF,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC5C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CAChD,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzE,WAAW,EAAE,oBAAoB;IACjC,YAAY,EAAE,qBAAqB;IACnC,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAU;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { BadRequest, Forbidden, UnprocessableEntity } from "../../errors";
|
|
3
|
+
export declare const CreateDatasetInput: Schema.Struct<{
|
|
4
|
+
readonly referrer: Schema.optional<Schema.String>;
|
|
5
|
+
readonly description: Schema.optional<Schema.String>;
|
|
6
|
+
readonly edgeDeployment: Schema.optional<Schema.String>;
|
|
7
|
+
readonly kind: Schema.optional<Schema.Literals<readonly ["otel:metrics:v1", "otel:traces:v1", "otel:logs:v1", "axiom:events:v1"]>>;
|
|
8
|
+
readonly name: Schema.String;
|
|
9
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
10
|
+
readonly useRetentionPeriod: Schema.optional<Schema.Boolean>;
|
|
11
|
+
}>;
|
|
12
|
+
export type CreateDatasetInput = typeof CreateDatasetInput.Type;
|
|
13
|
+
export declare const CreateDatasetOutput: Schema.Struct<{
|
|
14
|
+
readonly canWrite: Schema.optional<Schema.Boolean>;
|
|
15
|
+
readonly created: Schema.String;
|
|
16
|
+
readonly description: Schema.String;
|
|
17
|
+
readonly edgeDeployment: Schema.optional<Schema.String>;
|
|
18
|
+
readonly id: Schema.String;
|
|
19
|
+
readonly kind: Schema.Literals<readonly ["otel:metrics:v1", "otel:traces:v1", "otel:logs:v1", "axiom:events:v1"]>;
|
|
20
|
+
readonly mapFields: Schema.optional<Schema.$Array<Schema.String>>;
|
|
21
|
+
readonly name: Schema.String;
|
|
22
|
+
readonly retentionDays: Schema.optional<Schema.Number>;
|
|
23
|
+
readonly sharedByOrg: Schema.optional<Schema.String>;
|
|
24
|
+
readonly useRetentionPeriod: Schema.optional<Schema.Boolean>;
|
|
25
|
+
readonly who: Schema.String;
|
|
26
|
+
}>;
|
|
27
|
+
export type CreateDatasetOutput = typeof CreateDatasetOutput.Type;
|
|
28
|
+
/**
|
|
29
|
+
* Create dataset
|
|
30
|
+
*
|
|
31
|
+
* @param referrer - Referrer slug
|
|
32
|
+
*/
|
|
33
|
+
export declare const createDataset: import("@distilled.cloud/core/client").OperationMethod<{
|
|
34
|
+
readonly description?: string | undefined;
|
|
35
|
+
readonly edgeDeployment?: string | undefined;
|
|
36
|
+
readonly kind?: "axiom:events:v1" | "otel:logs:v1" | "otel:metrics:v1" | "otel:traces:v1" | undefined;
|
|
37
|
+
readonly name: string;
|
|
38
|
+
readonly referrer?: string | undefined;
|
|
39
|
+
readonly retentionDays?: number | undefined;
|
|
40
|
+
readonly useRetentionPeriod?: boolean | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
readonly canWrite?: boolean | undefined;
|
|
43
|
+
readonly created: string;
|
|
44
|
+
readonly description: string;
|
|
45
|
+
readonly edgeDeployment?: string | undefined;
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly kind: "axiom:events:v1" | "otel:logs:v1" | "otel:metrics:v1" | "otel:traces:v1";
|
|
48
|
+
readonly mapFields?: readonly string[] | undefined;
|
|
49
|
+
readonly name: string;
|
|
50
|
+
readonly retentionDays?: number | undefined;
|
|
51
|
+
readonly sharedByOrg?: string | undefined;
|
|
52
|
+
readonly useRetentionPeriod?: boolean | undefined;
|
|
53
|
+
readonly who: string;
|
|
54
|
+
}, BadRequest | Forbidden | UnprocessableEntity, any>;
|
|
55
|
+
//# sourceMappingURL=createDataset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDataset.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/createDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAG1E,eAAO,MAAM,kBAAkB;;;;;;;;EAe0B,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;EAkB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;qDAIvB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { BadRequest, Forbidden, UnprocessableEntity } from "../../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
referrer: Schema.optional(Schema.String),
|
|
8
|
+
description: Schema.optional(Schema.String),
|
|
9
|
+
edgeDeployment: Schema.optional(Schema.String),
|
|
10
|
+
kind: Schema.optional(Schema.Literals([
|
|
11
|
+
"otel:metrics:v1",
|
|
12
|
+
"otel:traces:v1",
|
|
13
|
+
"otel:logs:v1",
|
|
14
|
+
"axiom:events:v1",
|
|
15
|
+
])),
|
|
16
|
+
name: Schema.String,
|
|
17
|
+
retentionDays: Schema.optional(Schema.Number),
|
|
18
|
+
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
19
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/datasets" }));
|
|
20
|
+
// Output Schema
|
|
21
|
+
export const CreateDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
canWrite: Schema.optional(Schema.Boolean),
|
|
23
|
+
created: Schema.String,
|
|
24
|
+
description: Schema.String,
|
|
25
|
+
edgeDeployment: Schema.optional(Schema.String),
|
|
26
|
+
id: Schema.String,
|
|
27
|
+
kind: Schema.Literals([
|
|
28
|
+
"otel:metrics:v1",
|
|
29
|
+
"otel:traces:v1",
|
|
30
|
+
"otel:logs:v1",
|
|
31
|
+
"axiom:events:v1",
|
|
32
|
+
]),
|
|
33
|
+
mapFields: Schema.optional(Schema.Array(Schema.String)),
|
|
34
|
+
name: Schema.String,
|
|
35
|
+
retentionDays: Schema.optional(Schema.Number),
|
|
36
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
37
|
+
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
38
|
+
who: Schema.String,
|
|
39
|
+
});
|
|
40
|
+
// The operation
|
|
41
|
+
/**
|
|
42
|
+
* Create dataset
|
|
43
|
+
*
|
|
44
|
+
* @param referrer - Referrer slug
|
|
45
|
+
*/
|
|
46
|
+
export const createDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
47
|
+
inputSchema: CreateDatasetInput,
|
|
48
|
+
outputSchema: CreateDatasetOutput,
|
|
49
|
+
errors: [BadRequest, Forbidden, UnprocessableEntity],
|
|
50
|
+
}));
|
|
51
|
+
//# sourceMappingURL=createDataset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDataset.js","sourceRoot":"","sources":["../../../src/operations/v2/createDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE1E,eAAe;AACf,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC,QAAQ,CACnB,MAAM,CAAC,QAAQ,CAAC;QACd,iBAAiB;QACjB,gBAAgB;QAChB,cAAc;QACd,iBAAiB;KAClB,CAAC,CACH;IACD,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7C,kBAAkB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CACpD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAG1D,gB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declare const CreateGroupInput: Schema.Struct<{
|
|
4
|
+
readonly description: Schema.optional<Schema.String>;
|
|
5
|
+
readonly isManaged: Schema.optional<Schema.Boolean>;
|
|
6
|
+
readonly members: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7
|
+
readonly name: Schema.String;
|
|
8
|
+
readonly roles: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9
|
+
}>;
|
|
10
|
+
export type CreateGroupInput = typeof CreateGroupInput.Type;
|
|
11
|
+
export declare const CreateGroupOutput: Schema.Struct<{
|
|
12
|
+
readonly description: Schema.optional<Schema.String>;
|
|
13
|
+
readonly isManaged: Schema.optional<Schema.Boolean>;
|
|
14
|
+
readonly members: Schema.optional<Schema.$Array<Schema.String>>;
|
|
15
|
+
readonly name: Schema.String;
|
|
16
|
+
readonly roles: Schema.optional<Schema.$Array<Schema.String>>;
|
|
17
|
+
readonly id: Schema.String;
|
|
18
|
+
}>;
|
|
19
|
+
export type CreateGroupOutput = typeof CreateGroupOutput.Type;
|
|
20
|
+
/**
|
|
21
|
+
* Create group
|
|
22
|
+
*
|
|
23
|
+
* Creates a new group in the organization.
|
|
24
|
+
*/
|
|
25
|
+
export declare const createGroup: import("@distilled.cloud/core/client").OperationMethod<{
|
|
26
|
+
readonly description?: string | undefined;
|
|
27
|
+
readonly isManaged?: boolean | undefined;
|
|
28
|
+
readonly members?: readonly string[] | undefined;
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly roles?: readonly string[] | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
readonly description?: string | undefined;
|
|
33
|
+
readonly id: string;
|
|
34
|
+
readonly isManaged?: boolean | undefined;
|
|
35
|
+
readonly members?: readonly string[] | undefined;
|
|
36
|
+
readonly name: string;
|
|
37
|
+
readonly roles?: readonly string[] | undefined;
|
|
38
|
+
}, UnprocessableEntity, any>;
|
|
39
|
+
//# sourceMappingURL=createGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createGroup.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/createGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,gBAAgB;;;;;;EAM+B,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,OAAO,gBAAgB,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;EAO5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;4BAIrB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { UnprocessableEntity } from "../../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateGroupInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
description: Schema.optional(Schema.String),
|
|
8
|
+
isManaged: Schema.optional(Schema.Boolean),
|
|
9
|
+
members: Schema.optional(Schema.Array(Schema.String)),
|
|
10
|
+
name: Schema.String,
|
|
11
|
+
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
12
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/rbac/groups" }));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const CreateGroupOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
description: Schema.optional(Schema.String),
|
|
16
|
+
isManaged: Schema.optional(Schema.Boolean),
|
|
17
|
+
members: Schema.optional(Schema.Array(Schema.String)),
|
|
18
|
+
name: Schema.String,
|
|
19
|
+
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
20
|
+
id: Schema.String,
|
|
21
|
+
});
|
|
22
|
+
// The operation
|
|
23
|
+
/**
|
|
24
|
+
* Create group
|
|
25
|
+
*
|
|
26
|
+
* Creates a new group in the organization.
|
|
27
|
+
*/
|
|
28
|
+
export const createGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
29
|
+
inputSchema: CreateGroupInput,
|
|
30
|
+
outputSchema: CreateGroupOutput,
|
|
31
|
+
errors: [UnprocessableEntity],
|
|
32
|
+
}));
|
|
33
|
+
//# sourceMappingURL=createGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createGroup.js","sourceRoot":"","sources":["../../../src/operations/v2/createGroup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,eAAe;AACf,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;CACpD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC;AAG7D,gBAAgB;AAChB,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;IAC1C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrD,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnD,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACrE,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,mBAAmB,CAAU;CACvC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { NotFound, UnprocessableEntity } from "../../errors";
|
|
3
|
+
export declare const CreateMapFieldInput: Schema.Struct<{
|
|
4
|
+
readonly dataset_id: Schema.String;
|
|
5
|
+
readonly name: Schema.String;
|
|
6
|
+
}>;
|
|
7
|
+
export type CreateMapFieldInput = typeof CreateMapFieldInput.Type;
|
|
8
|
+
export declare const CreateMapFieldOutput: Schema.Struct<{
|
|
9
|
+
readonly name: Schema.String;
|
|
10
|
+
}>;
|
|
11
|
+
export type CreateMapFieldOutput = typeof CreateMapFieldOutput.Type;
|
|
12
|
+
export declare const createMapField: import("@distilled.cloud/core/client").OperationMethod<{
|
|
13
|
+
readonly dataset_id: string;
|
|
14
|
+
readonly name: string;
|
|
15
|
+
}, {
|
|
16
|
+
readonly name: string;
|
|
17
|
+
}, NotFound | UnprocessableEntity, any>;
|
|
18
|
+
//# sourceMappingURL=createMapField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createMapField.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/createMapField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,mBAAmB;;;EAK/B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;EAE/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,cAAc;;;;;uCAIxB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { NotFound, UnprocessableEntity } from "../../errors";
|
|
5
|
+
// Input Schema
|
|
6
|
+
export const CreateMapFieldInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
name: Schema.String,
|
|
9
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/datasets/{dataset_id}/mapfields" }));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const CreateMapFieldOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
name: Schema.String,
|
|
13
|
+
});
|
|
14
|
+
// The operation
|
|
15
|
+
export const createMapField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
16
|
+
inputSchema: CreateMapFieldInput,
|
|
17
|
+
outputSchema: CreateMapFieldOutput,
|
|
18
|
+
errors: [NotFound, UnprocessableEntity],
|
|
19
|
+
}));
|
|
20
|
+
//# sourceMappingURL=createMapField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createMapField.js","sourceRoot":"","sources":["../../../src/operations/v2/createMapField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE7D,eAAe;AACf,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC,MAAM;CACpB,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,qCAAqC,EAAE,CAAC,CACxE,CAAC;AAGF,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5E,IAAI,EAAE,MAAM,CAAC,MAAM;CACpB,CAAC,CAAC;AAGH,gBAAgB;AAChB,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;IAClC,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { UnprocessableEntity } from "../../errors";
|
|
3
|
+
export declare const CreateMonitorInput: Schema.Struct<{
|
|
4
|
+
readonly alertOnNoData: Schema.optional<Schema.Boolean>;
|
|
5
|
+
readonly aplQuery: Schema.optional<Schema.String>;
|
|
6
|
+
readonly columnName: Schema.optional<Schema.String>;
|
|
7
|
+
readonly compareDays: Schema.optional<Schema.Number>;
|
|
8
|
+
readonly createdAt: Schema.optional<Schema.String>;
|
|
9
|
+
readonly createdBy: Schema.optional<Schema.String>;
|
|
10
|
+
readonly description: Schema.optional<Schema.String>;
|
|
11
|
+
readonly disabled: Schema.optional<Schema.Boolean>;
|
|
12
|
+
readonly disabledUntil: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
13
|
+
readonly intervalMinutes: Schema.optional<Schema.Number>;
|
|
14
|
+
readonly mplQuery: Schema.optional<Schema.String>;
|
|
15
|
+
readonly name: Schema.String;
|
|
16
|
+
readonly notifierIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
17
|
+
readonly notifyByGroup: Schema.optional<Schema.Boolean>;
|
|
18
|
+
readonly notifyEveryRun: Schema.optional<Schema.Boolean>;
|
|
19
|
+
readonly operator: Schema.optional<Schema.Literals<readonly ["Below", "BelowOrEqual", "Above", "AboveOrEqual", "AboveOrBelow"]>>;
|
|
20
|
+
readonly rangeMinutes: Schema.optional<Schema.Number>;
|
|
21
|
+
readonly resolvable: Schema.optional<Schema.Boolean>;
|
|
22
|
+
readonly secondDelay: Schema.optional<Schema.Number>;
|
|
23
|
+
readonly skipResolved: Schema.optional<Schema.Boolean>;
|
|
24
|
+
readonly threshold: Schema.optional<Schema.Number>;
|
|
25
|
+
readonly tolerance: Schema.optional<Schema.Number>;
|
|
26
|
+
readonly triggerAfterNPositiveResults: Schema.optional<Schema.Number>;
|
|
27
|
+
readonly triggerFromNRuns: Schema.optional<Schema.Number>;
|
|
28
|
+
readonly type: Schema.Literals<readonly ["Threshold", "MatchEvent", "AnomalyDetection"]>;
|
|
29
|
+
}>;
|
|
30
|
+
export type CreateMonitorInput = typeof CreateMonitorInput.Type;
|
|
31
|
+
export declare const CreateMonitorOutput: Schema.Struct<{
|
|
32
|
+
readonly alertOnNoData: Schema.optional<Schema.Boolean>;
|
|
33
|
+
readonly aplQuery: Schema.optional<Schema.String>;
|
|
34
|
+
readonly columnName: Schema.optional<Schema.String>;
|
|
35
|
+
readonly compareDays: Schema.optional<Schema.Number>;
|
|
36
|
+
readonly createdAt: Schema.optional<Schema.String>;
|
|
37
|
+
readonly createdBy: Schema.optional<Schema.String>;
|
|
38
|
+
readonly description: Schema.optional<Schema.String>;
|
|
39
|
+
readonly disabled: Schema.optional<Schema.Boolean>;
|
|
40
|
+
readonly disabledUntil: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
41
|
+
readonly intervalMinutes: Schema.optional<Schema.Number>;
|
|
42
|
+
readonly mplQuery: Schema.optional<Schema.String>;
|
|
43
|
+
readonly name: Schema.String;
|
|
44
|
+
readonly notifierIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
45
|
+
readonly notifyByGroup: Schema.optional<Schema.Boolean>;
|
|
46
|
+
readonly notifyEveryRun: Schema.optional<Schema.Boolean>;
|
|
47
|
+
readonly operator: Schema.optional<Schema.Literals<readonly ["Below", "BelowOrEqual", "Above", "AboveOrEqual", "AboveOrBelow"]>>;
|
|
48
|
+
readonly rangeMinutes: Schema.optional<Schema.Number>;
|
|
49
|
+
readonly resolvable: Schema.optional<Schema.Boolean>;
|
|
50
|
+
readonly secondDelay: Schema.optional<Schema.Number>;
|
|
51
|
+
readonly skipResolved: Schema.optional<Schema.Boolean>;
|
|
52
|
+
readonly threshold: Schema.optional<Schema.Number>;
|
|
53
|
+
readonly tolerance: Schema.optional<Schema.Number>;
|
|
54
|
+
readonly triggerAfterNPositiveResults: Schema.optional<Schema.Number>;
|
|
55
|
+
readonly triggerFromNRuns: Schema.optional<Schema.Number>;
|
|
56
|
+
readonly type: Schema.Literals<readonly ["Threshold", "MatchEvent", "AnomalyDetection"]>;
|
|
57
|
+
readonly id: Schema.String;
|
|
58
|
+
}>;
|
|
59
|
+
export type CreateMonitorOutput = typeof CreateMonitorOutput.Type;
|
|
60
|
+
/**
|
|
61
|
+
* Create monitor
|
|
62
|
+
*/
|
|
63
|
+
export declare const createMonitor: import("@distilled.cloud/core/client").OperationMethod<{
|
|
64
|
+
readonly alertOnNoData?: boolean | undefined;
|
|
65
|
+
readonly aplQuery?: string | undefined;
|
|
66
|
+
readonly columnName?: string | undefined;
|
|
67
|
+
readonly compareDays?: number | undefined;
|
|
68
|
+
readonly createdAt?: string | undefined;
|
|
69
|
+
readonly createdBy?: string | undefined;
|
|
70
|
+
readonly description?: string | undefined;
|
|
71
|
+
readonly disabled?: boolean | undefined;
|
|
72
|
+
readonly disabledUntil?: string | null | undefined;
|
|
73
|
+
readonly intervalMinutes?: number | undefined;
|
|
74
|
+
readonly mplQuery?: string | undefined;
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly notifierIds?: readonly string[] | undefined;
|
|
77
|
+
readonly notifyByGroup?: boolean | undefined;
|
|
78
|
+
readonly notifyEveryRun?: boolean | undefined;
|
|
79
|
+
readonly operator?: "Above" | "AboveOrBelow" | "AboveOrEqual" | "Below" | "BelowOrEqual" | undefined;
|
|
80
|
+
readonly rangeMinutes?: number | undefined;
|
|
81
|
+
readonly resolvable?: boolean | undefined;
|
|
82
|
+
readonly secondDelay?: number | undefined;
|
|
83
|
+
readonly skipResolved?: boolean | undefined;
|
|
84
|
+
readonly threshold?: number | undefined;
|
|
85
|
+
readonly tolerance?: number | undefined;
|
|
86
|
+
readonly triggerAfterNPositiveResults?: number | undefined;
|
|
87
|
+
readonly triggerFromNRuns?: number | undefined;
|
|
88
|
+
readonly type: "AnomalyDetection" | "MatchEvent" | "Threshold";
|
|
89
|
+
}, {
|
|
90
|
+
readonly alertOnNoData?: boolean | undefined;
|
|
91
|
+
readonly aplQuery?: string | undefined;
|
|
92
|
+
readonly columnName?: string | undefined;
|
|
93
|
+
readonly compareDays?: number | undefined;
|
|
94
|
+
readonly createdAt?: string | undefined;
|
|
95
|
+
readonly createdBy?: string | undefined;
|
|
96
|
+
readonly description?: string | undefined;
|
|
97
|
+
readonly disabled?: boolean | undefined;
|
|
98
|
+
readonly disabledUntil?: string | null | undefined;
|
|
99
|
+
readonly id: string;
|
|
100
|
+
readonly intervalMinutes?: number | undefined;
|
|
101
|
+
readonly mplQuery?: string | undefined;
|
|
102
|
+
readonly name: string;
|
|
103
|
+
readonly notifierIds?: readonly string[] | undefined;
|
|
104
|
+
readonly notifyByGroup?: boolean | undefined;
|
|
105
|
+
readonly notifyEveryRun?: boolean | undefined;
|
|
106
|
+
readonly operator?: "Above" | "AboveOrBelow" | "AboveOrEqual" | "Below" | "BelowOrEqual" | undefined;
|
|
107
|
+
readonly rangeMinutes?: number | undefined;
|
|
108
|
+
readonly resolvable?: boolean | undefined;
|
|
109
|
+
readonly secondDelay?: number | undefined;
|
|
110
|
+
readonly skipResolved?: boolean | undefined;
|
|
111
|
+
readonly threshold?: number | undefined;
|
|
112
|
+
readonly tolerance?: number | undefined;
|
|
113
|
+
readonly triggerAfterNPositiveResults?: number | undefined;
|
|
114
|
+
readonly triggerFromNRuns?: number | undefined;
|
|
115
|
+
readonly type: "AnomalyDetection" | "MatchEvent" | "Threshold";
|
|
116
|
+
}, UnprocessableEntity, any>;
|
|
117
|
+
//# sourceMappingURL=createMonitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createMonitor.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/createMonitor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGnD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC0B,CAAC;AAC1D,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAIvB,CAAC"}
|