@distilled.cloud/axiom 0.0.0 → 0.13.0
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/edge-ingest.d.ts +2 -0
- package/lib/edge-ingest.d.ts.map +1 -0
- package/lib/edge-ingest.js +2 -0
- package/lib/edge-ingest.js.map +1 -0
- package/lib/edge-query.d.ts +2 -0
- package/lib/edge-query.d.ts.map +1 -0
- package/lib/edge-query.js +2 -0
- package/lib/edge-query.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 +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/index.d.ts +2 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +2 -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 +85 -7
- package/src/category.ts +4 -0
- package/src/client.ts +112 -0
- package/src/credentials.ts +51 -0
- package/src/edge-ingest.ts +1 -0
- package/src/edge-query.ts +1 -0
- package/src/errors.ts +47 -0
- package/src/index.ts +21 -0
- package/src/operations/index.ts +1 -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,194 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const UpdateRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
datasetCapabilities: Schema.optional(
|
|
10
|
+
Schema.Record(
|
|
11
|
+
Schema.String,
|
|
12
|
+
Schema.Struct({
|
|
13
|
+
data: Schema.optional(Schema.Array(Schema.Literals(["delete"]))),
|
|
14
|
+
ingest: Schema.optional(Schema.Array(Schema.Literals(["create"]))),
|
|
15
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
16
|
+
share: Schema.optional(
|
|
17
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
18
|
+
),
|
|
19
|
+
starredQueries: Schema.optional(
|
|
20
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
21
|
+
),
|
|
22
|
+
trim: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
23
|
+
vacuum: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
24
|
+
virtualFields: Schema.optional(
|
|
25
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
26
|
+
),
|
|
27
|
+
}),
|
|
28
|
+
),
|
|
29
|
+
),
|
|
30
|
+
description: Schema.optional(Schema.String),
|
|
31
|
+
members: Schema.optional(Schema.Array(Schema.String)),
|
|
32
|
+
name: Schema.String,
|
|
33
|
+
orgCapabilities: Schema.optional(
|
|
34
|
+
Schema.Struct({
|
|
35
|
+
annotations: Schema.optional(
|
|
36
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
37
|
+
),
|
|
38
|
+
apiTokens: Schema.optional(
|
|
39
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
40
|
+
),
|
|
41
|
+
auditLog: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
42
|
+
billing: Schema.optional(
|
|
43
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
44
|
+
),
|
|
45
|
+
dashboards: Schema.optional(
|
|
46
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
47
|
+
),
|
|
48
|
+
datasets: Schema.optional(
|
|
49
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
50
|
+
),
|
|
51
|
+
endpoints: Schema.optional(
|
|
52
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
53
|
+
),
|
|
54
|
+
flows: Schema.optional(
|
|
55
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
56
|
+
),
|
|
57
|
+
integrations: Schema.optional(
|
|
58
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
59
|
+
),
|
|
60
|
+
monitors: Schema.optional(
|
|
61
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
62
|
+
),
|
|
63
|
+
notifiers: Schema.optional(
|
|
64
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
65
|
+
),
|
|
66
|
+
rbac: Schema.optional(
|
|
67
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
68
|
+
),
|
|
69
|
+
sharedAccessKeys: Schema.optional(
|
|
70
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
71
|
+
),
|
|
72
|
+
users: Schema.optional(
|
|
73
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
74
|
+
),
|
|
75
|
+
views: Schema.optional(
|
|
76
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
77
|
+
),
|
|
78
|
+
}),
|
|
79
|
+
),
|
|
80
|
+
viewCapabilities: Schema.optional(
|
|
81
|
+
Schema.Record(
|
|
82
|
+
Schema.String,
|
|
83
|
+
Schema.Struct({
|
|
84
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
85
|
+
share: Schema.optional(
|
|
86
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
87
|
+
),
|
|
88
|
+
}),
|
|
89
|
+
),
|
|
90
|
+
),
|
|
91
|
+
}).pipe(T.Http({ method: "PUT", path: "/v2/rbac/roles/{id}" }));
|
|
92
|
+
export type UpdateRoleInput = typeof UpdateRoleInput.Type;
|
|
93
|
+
|
|
94
|
+
// Output Schema
|
|
95
|
+
export const UpdateRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
96
|
+
datasetCapabilities: Schema.optional(
|
|
97
|
+
Schema.Record(
|
|
98
|
+
Schema.String,
|
|
99
|
+
Schema.Struct({
|
|
100
|
+
data: Schema.optional(Schema.Array(Schema.Literals(["delete"]))),
|
|
101
|
+
ingest: Schema.optional(Schema.Array(Schema.Literals(["create"]))),
|
|
102
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
103
|
+
share: Schema.optional(
|
|
104
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
105
|
+
),
|
|
106
|
+
starredQueries: Schema.optional(
|
|
107
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
108
|
+
),
|
|
109
|
+
trim: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
110
|
+
vacuum: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
111
|
+
virtualFields: Schema.optional(
|
|
112
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
113
|
+
),
|
|
114
|
+
}),
|
|
115
|
+
),
|
|
116
|
+
),
|
|
117
|
+
description: Schema.optional(Schema.String),
|
|
118
|
+
members: Schema.optional(Schema.Array(Schema.String)),
|
|
119
|
+
name: Schema.String,
|
|
120
|
+
orgCapabilities: Schema.optional(
|
|
121
|
+
Schema.Struct({
|
|
122
|
+
annotations: Schema.optional(
|
|
123
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
124
|
+
),
|
|
125
|
+
apiTokens: Schema.optional(
|
|
126
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
127
|
+
),
|
|
128
|
+
auditLog: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
129
|
+
billing: Schema.optional(
|
|
130
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
131
|
+
),
|
|
132
|
+
dashboards: Schema.optional(
|
|
133
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
134
|
+
),
|
|
135
|
+
datasets: Schema.optional(
|
|
136
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
137
|
+
),
|
|
138
|
+
endpoints: Schema.optional(
|
|
139
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
140
|
+
),
|
|
141
|
+
flows: Schema.optional(
|
|
142
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
143
|
+
),
|
|
144
|
+
integrations: Schema.optional(
|
|
145
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
146
|
+
),
|
|
147
|
+
monitors: Schema.optional(
|
|
148
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
149
|
+
),
|
|
150
|
+
notifiers: Schema.optional(
|
|
151
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
152
|
+
),
|
|
153
|
+
rbac: Schema.optional(
|
|
154
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
155
|
+
),
|
|
156
|
+
sharedAccessKeys: Schema.optional(
|
|
157
|
+
Schema.Array(Schema.Literals(["read", "update"])),
|
|
158
|
+
),
|
|
159
|
+
users: Schema.optional(
|
|
160
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
161
|
+
),
|
|
162
|
+
views: Schema.optional(
|
|
163
|
+
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
164
|
+
),
|
|
165
|
+
}),
|
|
166
|
+
),
|
|
167
|
+
viewCapabilities: Schema.optional(
|
|
168
|
+
Schema.Record(
|
|
169
|
+
Schema.String,
|
|
170
|
+
Schema.Struct({
|
|
171
|
+
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
172
|
+
share: Schema.optional(
|
|
173
|
+
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
174
|
+
),
|
|
175
|
+
}),
|
|
176
|
+
),
|
|
177
|
+
),
|
|
178
|
+
id: Schema.String,
|
|
179
|
+
});
|
|
180
|
+
export type UpdateRoleOutput = typeof UpdateRoleOutput.Type;
|
|
181
|
+
|
|
182
|
+
// The operation
|
|
183
|
+
/**
|
|
184
|
+
* Update role
|
|
185
|
+
*
|
|
186
|
+
* Updates an existing role's configuration including its permissions and member assignments.
|
|
187
|
+
*
|
|
188
|
+
* @param id - Unique identifier of the role to update
|
|
189
|
+
*/
|
|
190
|
+
export const updateRole = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
191
|
+
inputSchema: UpdateRoleInput,
|
|
192
|
+
outputSchema: UpdateRoleOutput,
|
|
193
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
194
|
+
}));
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const UpdateStarredInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
dataset: Schema.optional(Schema.String),
|
|
10
|
+
kind: Schema.Literals(["apl"]),
|
|
11
|
+
metadata: Schema.Record(Schema.String, Schema.String),
|
|
12
|
+
name: Schema.String,
|
|
13
|
+
query: Schema.Struct({
|
|
14
|
+
apl: Schema.String,
|
|
15
|
+
cursor: Schema.optional(Schema.String),
|
|
16
|
+
defaultLimit: Schema.optional(Schema.Number),
|
|
17
|
+
defaultOrder: Schema.optional(
|
|
18
|
+
Schema.Array(
|
|
19
|
+
Schema.Struct({
|
|
20
|
+
desc: Schema.optional(Schema.Boolean),
|
|
21
|
+
field: Schema.optional(Schema.String),
|
|
22
|
+
}),
|
|
23
|
+
),
|
|
24
|
+
),
|
|
25
|
+
endTime: Schema.optional(Schema.String),
|
|
26
|
+
includeCursor: Schema.optional(Schema.Boolean),
|
|
27
|
+
includeCursorField: Schema.optional(Schema.Boolean),
|
|
28
|
+
libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
29
|
+
queryOptions: Schema.optional(
|
|
30
|
+
Schema.Struct({
|
|
31
|
+
disableCache: Schema.optional(Schema.Boolean),
|
|
32
|
+
disableStats: Schema.optional(Schema.Boolean),
|
|
33
|
+
disableTrace: Schema.optional(Schema.Boolean),
|
|
34
|
+
maxDataPoints: Schema.optional(Schema.Number),
|
|
35
|
+
maxSeries: Schema.optional(Schema.Number),
|
|
36
|
+
noAggregation: Schema.optional(Schema.Boolean),
|
|
37
|
+
noFill: Schema.optional(Schema.Boolean),
|
|
38
|
+
noInterpolation: Schema.optional(Schema.Boolean),
|
|
39
|
+
priority: Schema.optional(Schema.Literals(["low", "medium", "high"])),
|
|
40
|
+
resolution: Schema.optional(Schema.String),
|
|
41
|
+
displayNull: Schema.optional(
|
|
42
|
+
Schema.Literals(["auto", "null", "span", "zero", ""]),
|
|
43
|
+
),
|
|
44
|
+
overlayCharts: Schema.optional(Schema.Literals(["true", "false", ""])),
|
|
45
|
+
shownColumns: Schema.optional(Schema.String),
|
|
46
|
+
timeSeriesVariant: Schema.optional(
|
|
47
|
+
Schema.Literals(["area", "bars", "line", "lines", ""]),
|
|
48
|
+
),
|
|
49
|
+
timeSeriesView: Schema.optional(
|
|
50
|
+
Schema.Literals([
|
|
51
|
+
"charts",
|
|
52
|
+
"resultsTable",
|
|
53
|
+
"charts|resultsTable",
|
|
54
|
+
"",
|
|
55
|
+
]),
|
|
56
|
+
),
|
|
57
|
+
}),
|
|
58
|
+
),
|
|
59
|
+
startTime: Schema.optional(Schema.String),
|
|
60
|
+
variables: Schema.optional(Schema.Unknown),
|
|
61
|
+
}),
|
|
62
|
+
who: Schema.String,
|
|
63
|
+
}).pipe(T.Http({ method: "PUT", path: "/v2/apl-starred-queries/{id}" }));
|
|
64
|
+
export type UpdateStarredInput = typeof UpdateStarredInput.Type;
|
|
65
|
+
|
|
66
|
+
// Output Schema
|
|
67
|
+
export const UpdateStarredOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
68
|
+
dataset: Schema.optional(Schema.String),
|
|
69
|
+
kind: Schema.Literals(["apl"]),
|
|
70
|
+
metadata: Schema.Record(Schema.String, Schema.String),
|
|
71
|
+
name: Schema.String,
|
|
72
|
+
query: Schema.Struct({
|
|
73
|
+
apl: Schema.String,
|
|
74
|
+
cursor: Schema.optional(Schema.String),
|
|
75
|
+
defaultLimit: Schema.optional(Schema.Number),
|
|
76
|
+
defaultOrder: Schema.optional(
|
|
77
|
+
Schema.Array(
|
|
78
|
+
Schema.Struct({
|
|
79
|
+
desc: Schema.optional(Schema.Boolean),
|
|
80
|
+
field: Schema.optional(Schema.String),
|
|
81
|
+
}),
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
endTime: Schema.optional(Schema.String),
|
|
85
|
+
includeCursor: Schema.optional(Schema.Boolean),
|
|
86
|
+
includeCursorField: Schema.optional(Schema.Boolean),
|
|
87
|
+
libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
88
|
+
queryOptions: Schema.optional(
|
|
89
|
+
Schema.Struct({
|
|
90
|
+
disableCache: Schema.optional(Schema.Boolean),
|
|
91
|
+
disableStats: Schema.optional(Schema.Boolean),
|
|
92
|
+
disableTrace: Schema.optional(Schema.Boolean),
|
|
93
|
+
maxDataPoints: Schema.optional(Schema.Number),
|
|
94
|
+
maxSeries: Schema.optional(Schema.Number),
|
|
95
|
+
noAggregation: Schema.optional(Schema.Boolean),
|
|
96
|
+
noFill: Schema.optional(Schema.Boolean),
|
|
97
|
+
noInterpolation: Schema.optional(Schema.Boolean),
|
|
98
|
+
priority: Schema.optional(Schema.Literals(["low", "medium", "high"])),
|
|
99
|
+
resolution: Schema.optional(Schema.String),
|
|
100
|
+
displayNull: Schema.optional(
|
|
101
|
+
Schema.Literals(["auto", "null", "span", "zero", ""]),
|
|
102
|
+
),
|
|
103
|
+
overlayCharts: Schema.optional(Schema.Literals(["true", "false", ""])),
|
|
104
|
+
shownColumns: Schema.optional(Schema.String),
|
|
105
|
+
timeSeriesVariant: Schema.optional(
|
|
106
|
+
Schema.Literals(["area", "bars", "line", "lines", ""]),
|
|
107
|
+
),
|
|
108
|
+
timeSeriesView: Schema.optional(
|
|
109
|
+
Schema.Literals([
|
|
110
|
+
"charts",
|
|
111
|
+
"resultsTable",
|
|
112
|
+
"charts|resultsTable",
|
|
113
|
+
"",
|
|
114
|
+
]),
|
|
115
|
+
),
|
|
116
|
+
}),
|
|
117
|
+
),
|
|
118
|
+
startTime: Schema.optional(Schema.String),
|
|
119
|
+
variables: Schema.optional(Schema.Unknown),
|
|
120
|
+
}),
|
|
121
|
+
who: Schema.String,
|
|
122
|
+
id: Schema.String,
|
|
123
|
+
});
|
|
124
|
+
export type UpdateStarredOutput = typeof UpdateStarredOutput.Type;
|
|
125
|
+
|
|
126
|
+
// The operation
|
|
127
|
+
export const updateStarred = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
128
|
+
inputSchema: UpdateStarredInput,
|
|
129
|
+
outputSchema: UpdateStarredOutput,
|
|
130
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
131
|
+
}));
|
|
@@ -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, UnprocessableEntity } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const UpdateUserRoleInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
role: Schema.String,
|
|
10
|
+
}).pipe(T.Http({ method: "PUT", path: "/v2/users/{id}/role" }));
|
|
11
|
+
export type UpdateUserRoleInput = typeof UpdateUserRoleInput.Type;
|
|
12
|
+
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const UpdateUserRoleOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
|
+
email: Schema.String,
|
|
16
|
+
id: Schema.String,
|
|
17
|
+
name: Schema.String,
|
|
18
|
+
role: Schema.optional(
|
|
19
|
+
Schema.Struct({
|
|
20
|
+
id: Schema.String,
|
|
21
|
+
name: Schema.String,
|
|
22
|
+
}),
|
|
23
|
+
),
|
|
24
|
+
});
|
|
25
|
+
export type UpdateUserRoleOutput = typeof UpdateUserRoleOutput.Type;
|
|
26
|
+
|
|
27
|
+
// The operation
|
|
28
|
+
/**
|
|
29
|
+
* Update user role
|
|
30
|
+
*/
|
|
31
|
+
export const updateUserRole = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: UpdateUserRoleInput,
|
|
33
|
+
outputSchema: UpdateUserRoleOutput,
|
|
34
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
35
|
+
}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../../client";
|
|
3
|
+
import * as T from "../../traits";
|
|
4
|
+
import { NotFound, UnprocessableEntity } from "../../errors";
|
|
5
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const UpdateViewInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
aplQuery: Schema.String,
|
|
10
|
+
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
11
|
+
description: Schema.optional(Schema.String),
|
|
12
|
+
name: Schema.String,
|
|
13
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
14
|
+
sharedByOrgName: Schema.optional(Schema.String),
|
|
15
|
+
}).pipe(T.Http({ method: "PUT", path: "/v2/views/{id}" }));
|
|
16
|
+
export type UpdateViewInput = typeof UpdateViewInput.Type;
|
|
17
|
+
|
|
18
|
+
// Output Schema
|
|
19
|
+
export const UpdateViewOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
20
|
+
aplQuery: Schema.String,
|
|
21
|
+
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
22
|
+
description: Schema.optional(Schema.String),
|
|
23
|
+
name: Schema.String,
|
|
24
|
+
sharedByOrg: Schema.optional(Schema.String),
|
|
25
|
+
sharedByOrgName: Schema.optional(Schema.String),
|
|
26
|
+
});
|
|
27
|
+
export type UpdateViewOutput = typeof UpdateViewOutput.Type;
|
|
28
|
+
|
|
29
|
+
// The operation
|
|
30
|
+
export const updateView = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
31
|
+
inputSchema: UpdateViewInput,
|
|
32
|
+
outputSchema: UpdateViewOutput,
|
|
33
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
34
|
+
}));
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
|
|
6
|
+
// Input Schema
|
|
7
|
+
export const UpdateVirtualFieldInput =
|
|
8
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
10
|
+
dataset: Schema.String,
|
|
11
|
+
description: Schema.optional(Schema.String),
|
|
12
|
+
expression: Schema.String,
|
|
13
|
+
name: Schema.String,
|
|
14
|
+
type: Schema.optional(Schema.String),
|
|
15
|
+
unit: Schema.optional(Schema.String),
|
|
16
|
+
}).pipe(T.Http({ method: "PUT", path: "/v2/vfields/{id}" }));
|
|
17
|
+
export type UpdateVirtualFieldInput = typeof UpdateVirtualFieldInput.Type;
|
|
18
|
+
|
|
19
|
+
// Output Schema
|
|
20
|
+
export const UpdateVirtualFieldOutput =
|
|
21
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
22
|
+
dataset: Schema.String,
|
|
23
|
+
description: Schema.optional(Schema.String),
|
|
24
|
+
expression: Schema.String,
|
|
25
|
+
name: Schema.String,
|
|
26
|
+
type: Schema.optional(Schema.String),
|
|
27
|
+
unit: Schema.optional(Schema.String),
|
|
28
|
+
id: Schema.String,
|
|
29
|
+
});
|
|
30
|
+
export type UpdateVirtualFieldOutput = typeof UpdateVirtualFieldOutput.Type;
|
|
31
|
+
|
|
32
|
+
// The operation
|
|
33
|
+
export const updateVirtualField = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
34
|
+
inputSchema: UpdateVirtualFieldInput,
|
|
35
|
+
outputSchema: UpdateVirtualFieldOutput,
|
|
36
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
37
|
+
}));
|
|
@@ -0,0 +1,19 @@
|
|
|
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 VacuumDatasetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "POST", path: "/v2/datasets/{dataset_id}/vacuum" }));
|
|
9
|
+
export type VacuumDatasetInput = typeof VacuumDatasetInput.Type;
|
|
10
|
+
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const VacuumDatasetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
13
|
+
export type VacuumDatasetOutput = typeof VacuumDatasetOutput.Type;
|
|
14
|
+
|
|
15
|
+
// The operation
|
|
16
|
+
export const vacuumDataset = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
17
|
+
inputSchema: VacuumDatasetInput,
|
|
18
|
+
outputSchema: VacuumDatasetOutput,
|
|
19
|
+
}));
|
package/src/retry.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Axiom retry configuration.
|
|
3
|
+
*/
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import * as Layer from "effect/Layer";
|
|
6
|
+
import * as Context from "effect/Context";
|
|
7
|
+
export {
|
|
8
|
+
type Options,
|
|
9
|
+
type Factory,
|
|
10
|
+
type Policy,
|
|
11
|
+
makeDefault,
|
|
12
|
+
jittered,
|
|
13
|
+
capped,
|
|
14
|
+
throttlingOptions,
|
|
15
|
+
transientOptions,
|
|
16
|
+
} from "@distilled.cloud/core/retry";
|
|
17
|
+
import type { Policy } from "@distilled.cloud/core/retry";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Context tag for configuring retry behavior of Axiom API calls.
|
|
21
|
+
*/
|
|
22
|
+
export class Retry extends Context.Service<Retry, Policy>()("AxiomRetry") {}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Provides a custom retry policy to all Axiom API calls.
|
|
26
|
+
*/
|
|
27
|
+
export const policy = (optionsOrFactory: Policy) =>
|
|
28
|
+
Effect.provide(Layer.succeed(Retry, optionsOrFactory));
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Disables all automatic retries.
|
|
32
|
+
*/
|
|
33
|
+
export const none = Effect.provide(
|
|
34
|
+
Layer.succeed(Retry, { while: () => false }),
|
|
35
|
+
);
|
package/src/sensitive.ts
ADDED
package/src/traits.ts
ADDED
package/bun.lock
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lockfileVersion": 1,
|
|
3
|
-
"configVersion": 1,
|
|
4
|
-
"workspaces": {
|
|
5
|
-
"": {
|
|
6
|
-
"name": "tesst",
|
|
7
|
-
"devDependencies": {
|
|
8
|
-
"@types/bun": "latest",
|
|
9
|
-
},
|
|
10
|
-
"peerDependencies": {
|
|
11
|
-
"typescript": "^5",
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
"packages": {
|
|
16
|
-
"@types/bun": ["@types/bun@1.3.10", "", { "dependencies": { "bun-types": "1.3.10" } }, "sha512-0+rlrUrOrTSskibryHbvQkDOWRJwJZqZlxrUs1u4oOoTln8+WIXBPmAuCF35SWB2z4Zl3E84Nl/D0P7803nigQ=="],
|
|
17
|
-
|
|
18
|
-
"@types/node": ["@types/node@25.4.0", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-9wLpoeWuBlcbBpOY3XmzSTG3oscB6xjBEEtn+pYXTfhyXhIxC5FsBer2KTopBlvKEiW9l13po9fq+SJY/5lkhw=="],
|
|
19
|
-
|
|
20
|
-
"bun-types": ["bun-types@1.3.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-tcpfCCl6XWo6nCVnpcVrxQ+9AYN1iqMIzgrSKYMB/fjLtV2eyAVEg7AxQJuCq/26R6HpKWykQXuSOq/21RYcbg=="],
|
|
21
|
-
|
|
22
|
-
"typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
|
|
23
|
-
|
|
24
|
-
"undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="],
|
|
25
|
-
}
|
|
26
|
-
}
|
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("Hello via Bun!");
|
package/tsconfig.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "Preserve",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
|
|
11
|
-
// Bundler mode
|
|
12
|
-
"moduleResolution": "bundler",
|
|
13
|
-
"allowImportingTsExtensions": true,
|
|
14
|
-
"verbatimModuleSyntax": true,
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
|
|
17
|
-
// Best practices
|
|
18
|
-
"strict": true,
|
|
19
|
-
"skipLibCheck": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"noUncheckedIndexedAccess": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
|
|
24
|
-
// Some stricter flags (disabled by default)
|
|
25
|
-
"noUnusedLocals": false,
|
|
26
|
-
"noUnusedParameters": false,
|
|
27
|
-
"noPropertyAccessFromIndexSignature": false
|
|
28
|
-
}
|
|
29
|
-
}
|