@distilled.cloud/axiom 0.30.3 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +7 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +17 -1
- package/lib/credentials.js.map +1 -1
- package/lib/edge-ingest.d.ts +6 -1
- package/lib/edge-ingest.d.ts.map +1 -1
- package/lib/edge-ingest.js +6 -1
- package/lib/edge-ingest.js.map +1 -1
- package/lib/edge-query.d.ts +6 -1
- package/lib/edge-query.d.ts.map +1 -1
- package/lib/edge-query.js +6 -1
- package/lib/edge-query.js.map +1 -1
- package/lib/errors.d.ts +7 -2
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +7 -4
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +18 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +22 -11
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +28 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +86 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +3 -4
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +3 -4
- package/lib/retry.js.map +1 -1
- package/lib/services/edge_ingest.d.ts +52 -0
- package/lib/services/edge_ingest.d.ts.map +1 -0
- package/lib/services/edge_ingest.js +59 -0
- package/lib/services/edge_ingest.js.map +1 -0
- package/lib/services/edge_query.d.ts +93 -0
- package/lib/services/edge_query.d.ts.map +1 -0
- package/lib/services/edge_query.js +81 -0
- package/lib/services/edge_query.js.map +1 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +5 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/v2.d.ts +2772 -0
- package/lib/services/v2.d.ts.map +1 -0
- package/lib/services/v2.js +2494 -0
- package/lib/services/v2.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +37 -42
- package/src/credentials.ts +27 -2
- package/src/edge-ingest.ts +6 -1
- package/src/edge-query.ts +6 -1
- package/src/errors.ts +7 -4
- package/src/index.ts +33 -11
- package/src/protocol.ts +111 -0
- package/src/retry.ts +3 -4
- package/src/services/edge_ingest.ts +124 -0
- package/src/services/edge_query.ts +197 -0
- package/src/services/index.ts +4 -0
- package/src/services/v2.ts +6647 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -70
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -108
- package/lib/client.js.map +0 -1
- package/lib/operations/index.d.ts +0 -2
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -2
- package/lib/operations/index.js.map +0 -1
- package/lib/operations/v1-edge-ingest/index.d.ts +0 -2
- package/lib/operations/v1-edge-ingest/index.d.ts.map +0 -1
- package/lib/operations/v1-edge-ingest/index.js +0 -2
- package/lib/operations/v1-edge-ingest/index.js.map +0 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +0 -31
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +0 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.js +0 -36
- package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +0 -1
- package/lib/operations/v1-edge-query/index.d.ts +0 -2
- package/lib/operations/v1-edge-query/index.d.ts.map +0 -1
- package/lib/operations/v1-edge-query/index.js +0 -2
- package/lib/operations/v1-edge-query/index.js.map +0 -1
- package/lib/operations/v1-edge-query/queryApl.d.ts +0 -66
- package/lib/operations/v1-edge-query/queryApl.d.ts.map +0 -1
- package/lib/operations/v1-edge-query/queryApl.js +0 -71
- package/lib/operations/v1-edge-query/queryApl.js.map +0 -1
- package/lib/operations/v2/createAPIToken.d.ts +0 -84
- package/lib/operations/v2/createAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/createAPIToken.js +0 -89
- package/lib/operations/v2/createAPIToken.js.map +0 -1
- package/lib/operations/v2/createAnnotation.d.ts +0 -28
- package/lib/operations/v2/createAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/createAnnotation.js +0 -33
- package/lib/operations/v2/createAnnotation.js.map +0 -1
- package/lib/operations/v2/createDashboard.d.ts +0 -332
- package/lib/operations/v2/createDashboard.d.ts.map +0 -1
- package/lib/operations/v2/createDashboard.js +0 -113
- package/lib/operations/v2/createDashboard.js.map +0 -1
- package/lib/operations/v2/createDataset.d.ts +0 -36
- package/lib/operations/v2/createDataset.d.ts.map +0 -1
- package/lib/operations/v2/createDataset.js +0 -51
- package/lib/operations/v2/createDataset.js.map +0 -1
- package/lib/operations/v2/createGroup.d.ts +0 -26
- package/lib/operations/v2/createGroup.d.ts.map +0 -1
- package/lib/operations/v2/createGroup.js +0 -31
- package/lib/operations/v2/createGroup.js.map +0 -1
- package/lib/operations/v2/createMapField.d.ts +0 -13
- package/lib/operations/v2/createMapField.d.ts.map +0 -1
- package/lib/operations/v2/createMapField.js +0 -18
- package/lib/operations/v2/createMapField.js.map +0 -1
- package/lib/operations/v2/createMonitor.d.ts +0 -66
- package/lib/operations/v2/createMonitor.d.ts.map +0 -1
- package/lib/operations/v2/createMonitor.js +0 -83
- package/lib/operations/v2/createMonitor.js.map +0 -1
- package/lib/operations/v2/createNotifier.d.ts +0 -95
- package/lib/operations/v2/createNotifier.d.ts.map +0 -1
- package/lib/operations/v2/createNotifier.js +0 -101
- package/lib/operations/v2/createNotifier.js.map +0 -1
- package/lib/operations/v2/createOrg.d.ts +0 -50
- package/lib/operations/v2/createOrg.d.ts.map +0 -1
- package/lib/operations/v2/createOrg.js +0 -70
- package/lib/operations/v2/createOrg.js.map +0 -1
- package/lib/operations/v2/createRole.d.ts +0 -84
- package/lib/operations/v2/createRole.d.ts.map +0 -1
- package/lib/operations/v2/createRole.js +0 -89
- package/lib/operations/v2/createRole.js.map +0 -1
- package/lib/operations/v2/createStarred.d.ts +0 -85
- package/lib/operations/v2/createStarred.d.ts.map +0 -1
- package/lib/operations/v2/createStarred.js +0 -100
- package/lib/operations/v2/createStarred.js.map +0 -1
- package/lib/operations/v2/createUser.d.ts +0 -23
- package/lib/operations/v2/createUser.d.ts.map +0 -1
- package/lib/operations/v2/createUser.js +0 -28
- package/lib/operations/v2/createUser.js.map +0 -1
- package/lib/operations/v2/createView.d.ts +0 -22
- package/lib/operations/v2/createView.d.ts.map +0 -1
- package/lib/operations/v2/createView.js +0 -27
- package/lib/operations/v2/createView.js.map +0 -1
- package/lib/operations/v2/createVirtualField.d.ts +0 -23
- package/lib/operations/v2/createVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/createVirtualField.js +0 -30
- package/lib/operations/v2/createVirtualField.js.map +0 -1
- package/lib/operations/v2/deleteAPIToken.d.ts +0 -13
- package/lib/operations/v2/deleteAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/deleteAPIToken.js +0 -19
- package/lib/operations/v2/deleteAPIToken.js.map +0 -1
- package/lib/operations/v2/deleteAnnotation.d.ts +0 -15
- package/lib/operations/v2/deleteAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/deleteAnnotation.js +0 -21
- package/lib/operations/v2/deleteAnnotation.js.map +0 -1
- package/lib/operations/v2/deleteDashboard.d.ts +0 -15
- package/lib/operations/v2/deleteDashboard.d.ts.map +0 -1
- package/lib/operations/v2/deleteDashboard.js +0 -21
- package/lib/operations/v2/deleteDashboard.js.map +0 -1
- package/lib/operations/v2/deleteDataset.d.ts +0 -13
- package/lib/operations/v2/deleteDataset.d.ts.map +0 -1
- package/lib/operations/v2/deleteDataset.js +0 -19
- package/lib/operations/v2/deleteDataset.js.map +0 -1
- package/lib/operations/v2/deleteGroup.d.ts +0 -17
- package/lib/operations/v2/deleteGroup.d.ts.map +0 -1
- package/lib/operations/v2/deleteGroup.js +0 -23
- package/lib/operations/v2/deleteGroup.js.map +0 -1
- package/lib/operations/v2/deleteMapField.d.ts +0 -11
- package/lib/operations/v2/deleteMapField.d.ts.map +0 -1
- package/lib/operations/v2/deleteMapField.js +0 -20
- package/lib/operations/v2/deleteMapField.js.map +0 -1
- package/lib/operations/v2/deleteMonitor.d.ts +0 -13
- package/lib/operations/v2/deleteMonitor.d.ts.map +0 -1
- package/lib/operations/v2/deleteMonitor.js +0 -19
- package/lib/operations/v2/deleteMonitor.js.map +0 -1
- package/lib/operations/v2/deleteNotifier.d.ts +0 -13
- package/lib/operations/v2/deleteNotifier.d.ts.map +0 -1
- package/lib/operations/v2/deleteNotifier.js +0 -19
- package/lib/operations/v2/deleteNotifier.js.map +0 -1
- package/lib/operations/v2/deleteRole.d.ts +0 -17
- package/lib/operations/v2/deleteRole.d.ts.map +0 -1
- package/lib/operations/v2/deleteRole.js +0 -23
- package/lib/operations/v2/deleteRole.js.map +0 -1
- package/lib/operations/v2/deleteStarred.d.ts +0 -10
- package/lib/operations/v2/deleteStarred.d.ts.map +0 -1
- package/lib/operations/v2/deleteStarred.js +0 -16
- package/lib/operations/v2/deleteStarred.js.map +0 -1
- package/lib/operations/v2/deleteView.d.ts +0 -10
- package/lib/operations/v2/deleteView.d.ts.map +0 -1
- package/lib/operations/v2/deleteView.js +0 -16
- package/lib/operations/v2/deleteView.js.map +0 -1
- package/lib/operations/v2/deleteVirtualField.d.ts +0 -10
- package/lib/operations/v2/deleteVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/deleteVirtualField.js +0 -17
- package/lib/operations/v2/deleteVirtualField.js.map +0 -1
- package/lib/operations/v2/getAPIToken.d.ts +0 -50
- package/lib/operations/v2/getAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/getAPIToken.js +0 -55
- package/lib/operations/v2/getAPIToken.js.map +0 -1
- package/lib/operations/v2/getAPITokens.d.ts +0 -48
- package/lib/operations/v2/getAPITokens.d.ts.map +0 -1
- package/lib/operations/v2/getAPITokens.js +0 -51
- package/lib/operations/v2/getAPITokens.js.map +0 -1
- package/lib/operations/v2/getAnnotation.d.ts +0 -24
- package/lib/operations/v2/getAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/getAnnotation.js +0 -29
- package/lib/operations/v2/getAnnotation.js.map +0 -1
- package/lib/operations/v2/getAnnotations.d.ts +0 -27
- package/lib/operations/v2/getAnnotations.d.ts.map +0 -1
- package/lib/operations/v2/getAnnotations.js +0 -31
- package/lib/operations/v2/getAnnotations.js.map +0 -1
- package/lib/operations/v2/getCurrentUser.d.ts +0 -19
- package/lib/operations/v2/getCurrentUser.d.ts.map +0 -1
- package/lib/operations/v2/getCurrentUser.js +0 -22
- package/lib/operations/v2/getCurrentUser.js.map +0 -1
- package/lib/operations/v2/getDashboard.d.ts +0 -174
- package/lib/operations/v2/getDashboard.d.ts.map +0 -1
- package/lib/operations/v2/getDashboard.js +0 -67
- package/lib/operations/v2/getDashboard.js.map +0 -1
- package/lib/operations/v2/getDataset.d.ts +0 -28
- package/lib/operations/v2/getDataset.d.ts.map +0 -1
- package/lib/operations/v2/getDataset.js +0 -38
- package/lib/operations/v2/getDataset.js.map +0 -1
- package/lib/operations/v2/getDatasets.d.ts +0 -27
- package/lib/operations/v2/getDatasets.d.ts.map +0 -1
- package/lib/operations/v2/getDatasets.js +0 -36
- package/lib/operations/v2/getDatasets.js.map +0 -1
- package/lib/operations/v2/getFieldForDataset.d.ts +0 -17
- package/lib/operations/v2/getFieldForDataset.d.ts.map +0 -1
- package/lib/operations/v2/getFieldForDataset.js +0 -27
- package/lib/operations/v2/getFieldForDataset.js.map +0 -1
- package/lib/operations/v2/getFieldsForDataset.d.ts +0 -16
- package/lib/operations/v2/getFieldsForDataset.d.ts.map +0 -1
- package/lib/operations/v2/getFieldsForDataset.js +0 -23
- package/lib/operations/v2/getFieldsForDataset.js.map +0 -1
- package/lib/operations/v2/getGroupById.d.ts +0 -24
- package/lib/operations/v2/getGroupById.d.ts.map +0 -1
- package/lib/operations/v2/getGroupById.js +0 -29
- package/lib/operations/v2/getGroupById.js.map +0 -1
- package/lib/operations/v2/getMapFields.d.ts +0 -10
- package/lib/operations/v2/getMapFields.d.ts.map +0 -1
- package/lib/operations/v2/getMapFields.js +0 -15
- package/lib/operations/v2/getMapFields.js.map +0 -1
- package/lib/operations/v2/getMonitor.d.ts +0 -43
- package/lib/operations/v2/getMonitor.d.ts.map +0 -1
- package/lib/operations/v2/getMonitor.js +0 -54
- package/lib/operations/v2/getMonitor.js.map +0 -1
- package/lib/operations/v2/getMonitorHistory.d.ts +0 -23
- package/lib/operations/v2/getMonitorHistory.d.ts.map +0 -1
- package/lib/operations/v2/getMonitorHistory.js +0 -28
- package/lib/operations/v2/getMonitorHistory.js.map +0 -1
- package/lib/operations/v2/getMonitors.d.ts +0 -39
- package/lib/operations/v2/getMonitors.d.ts.map +0 -1
- package/lib/operations/v2/getMonitors.js +0 -48
- package/lib/operations/v2/getMonitors.js.map +0 -1
- package/lib/operations/v2/getNotifier.d.ts +0 -58
- package/lib/operations/v2/getNotifier.d.ts.map +0 -1
- package/lib/operations/v2/getNotifier.js +0 -64
- package/lib/operations/v2/getNotifier.js.map +0 -1
- package/lib/operations/v2/getNotifiers.d.ts +0 -54
- package/lib/operations/v2/getNotifiers.d.ts.map +0 -1
- package/lib/operations/v2/getNotifiers.js +0 -58
- package/lib/operations/v2/getNotifiers.js.map +0 -1
- package/lib/operations/v2/getOrg.d.ts +0 -50
- package/lib/operations/v2/getOrg.d.ts.map +0 -1
- package/lib/operations/v2/getOrg.js +0 -71
- package/lib/operations/v2/getOrg.js.map +0 -1
- package/lib/operations/v2/getOrgs.d.ts +0 -48
- package/lib/operations/v2/getOrgs.d.ts.map +0 -1
- package/lib/operations/v2/getOrgs.js +0 -67
- package/lib/operations/v2/getOrgs.js.map +0 -1
- package/lib/operations/v2/getRoleById.d.ts +0 -53
- package/lib/operations/v2/getRoleById.d.ts.map +0 -1
- package/lib/operations/v2/getRoleById.js +0 -58
- package/lib/operations/v2/getRoleById.js.map +0 -1
- package/lib/operations/v2/getStarred.d.ts +0 -49
- package/lib/operations/v2/getStarred.d.ts.map +0 -1
- package/lib/operations/v2/getStarred.js +0 -59
- package/lib/operations/v2/getStarred.js.map +0 -1
- package/lib/operations/v2/getStarredQueries.d.ts +0 -59
- package/lib/operations/v2/getStarredQueries.d.ts.map +0 -1
- package/lib/operations/v2/getStarredQueries.js +0 -68
- package/lib/operations/v2/getStarredQueries.js.map +0 -1
- package/lib/operations/v2/getUser.d.ts +0 -21
- package/lib/operations/v2/getUser.d.ts.map +0 -1
- package/lib/operations/v2/getUser.js +0 -26
- package/lib/operations/v2/getUser.js.map +0 -1
- package/lib/operations/v2/getUsers.d.ts +0 -19
- package/lib/operations/v2/getUsers.d.ts.map +0 -1
- package/lib/operations/v2/getUsers.js +0 -22
- package/lib/operations/v2/getUsers.js.map +0 -1
- package/lib/operations/v2/getView.d.ts +0 -17
- package/lib/operations/v2/getView.d.ts.map +0 -1
- package/lib/operations/v2/getView.js +0 -22
- package/lib/operations/v2/getView.js.map +0 -1
- package/lib/operations/v2/getViews.d.ts +0 -15
- package/lib/operations/v2/getViews.d.ts.map +0 -1
- package/lib/operations/v2/getViews.js +0 -18
- package/lib/operations/v2/getViews.js.map +0 -1
- package/lib/operations/v2/getVirtualField.d.ts +0 -18
- package/lib/operations/v2/getVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/getVirtualField.js +0 -23
- package/lib/operations/v2/getVirtualField.js.map +0 -1
- package/lib/operations/v2/getVirtualFields.d.ts +0 -17
- package/lib/operations/v2/getVirtualFields.d.ts.map +0 -1
- package/lib/operations/v2/getVirtualFields.js +0 -21
- package/lib/operations/v2/getVirtualFields.js.map +0 -1
- package/lib/operations/v2/index.d.ts +0 -78
- package/lib/operations/v2/index.d.ts.map +0 -1
- package/lib/operations/v2/index.js +0 -78
- package/lib/operations/v2/index.js.map +0 -1
- package/lib/operations/v2/listDashboards.d.ts +0 -174
- package/lib/operations/v2/listDashboards.d.ts.map +0 -1
- package/lib/operations/v2/listDashboards.js +0 -66
- package/lib/operations/v2/listDashboards.js.map +0 -1
- package/lib/operations/v2/listGroups.d.ts +0 -20
- package/lib/operations/v2/listGroups.d.ts.map +0 -1
- package/lib/operations/v2/listGroups.js +0 -23
- package/lib/operations/v2/listGroups.js.map +0 -1
- package/lib/operations/v2/listRoles.d.ts +0 -49
- package/lib/operations/v2/listRoles.d.ts.map +0 -1
- package/lib/operations/v2/listRoles.js +0 -52
- package/lib/operations/v2/listRoles.js.map +0 -1
- package/lib/operations/v2/patchDashboardChart.d.ts +0 -183
- package/lib/operations/v2/patchDashboardChart.d.ts.map +0 -1
- package/lib/operations/v2/patchDashboardChart.js +0 -81
- package/lib/operations/v2/patchDashboardChart.js.map +0 -1
- package/lib/operations/v2/regenerateAPIToken.d.ts +0 -89
- package/lib/operations/v2/regenerateAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/regenerateAPIToken.js +0 -96
- package/lib/operations/v2/regenerateAPIToken.js.map +0 -1
- package/lib/operations/v2/removeUserFromOrg.d.ts +0 -13
- package/lib/operations/v2/removeUserFromOrg.d.ts.map +0 -1
- package/lib/operations/v2/removeUserFromOrg.js +0 -19
- package/lib/operations/v2/removeUserFromOrg.js.map +0 -1
- package/lib/operations/v2/trimDataset.d.ts +0 -16
- package/lib/operations/v2/trimDataset.d.ts.map +0 -1
- package/lib/operations/v2/trimDataset.js +0 -22
- package/lib/operations/v2/trimDataset.js.map +0 -1
- package/lib/operations/v2/updateAnnotation.d.ts +0 -31
- package/lib/operations/v2/updateAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/updateAnnotation.js +0 -36
- package/lib/operations/v2/updateAnnotation.js.map +0 -1
- package/lib/operations/v2/updateCurrentUser.d.ts +0 -20
- package/lib/operations/v2/updateCurrentUser.d.ts.map +0 -1
- package/lib/operations/v2/updateCurrentUser.js +0 -25
- package/lib/operations/v2/updateCurrentUser.js.map +0 -1
- package/lib/operations/v2/updateDashboard.d.ts +0 -332
- package/lib/operations/v2/updateDashboard.d.ts.map +0 -1
- package/lib/operations/v2/updateDashboard.js +0 -113
- package/lib/operations/v2/updateDashboard.js.map +0 -1
- package/lib/operations/v2/updateDataset.d.ts +0 -31
- package/lib/operations/v2/updateDataset.d.ts.map +0 -1
- package/lib/operations/v2/updateDataset.js +0 -41
- package/lib/operations/v2/updateDataset.js.map +0 -1
- package/lib/operations/v2/updateFieldForDataset.d.ts +0 -22
- package/lib/operations/v2/updateFieldForDataset.d.ts.map +0 -1
- package/lib/operations/v2/updateFieldForDataset.js +0 -32
- package/lib/operations/v2/updateFieldForDataset.js.map +0 -1
- package/lib/operations/v2/updateGroup.d.ts +0 -29
- package/lib/operations/v2/updateGroup.d.ts.map +0 -1
- package/lib/operations/v2/updateGroup.js +0 -34
- package/lib/operations/v2/updateGroup.js.map +0 -1
- package/lib/operations/v2/updateMapFields.d.ts +0 -10
- package/lib/operations/v2/updateMapFields.d.ts.map +0 -1
- package/lib/operations/v2/updateMapFields.js +0 -15
- package/lib/operations/v2/updateMapFields.js.map +0 -1
- package/lib/operations/v2/updateMonitor.d.ts +0 -67
- package/lib/operations/v2/updateMonitor.d.ts.map +0 -1
- package/lib/operations/v2/updateMonitor.js +0 -84
- package/lib/operations/v2/updateMonitor.js.map +0 -1
- package/lib/operations/v2/updateNotifier.d.ts +0 -96
- package/lib/operations/v2/updateNotifier.d.ts.map +0 -1
- package/lib/operations/v2/updateNotifier.js +0 -102
- package/lib/operations/v2/updateNotifier.js.map +0 -1
- package/lib/operations/v2/updateOrg.d.ts +0 -51
- package/lib/operations/v2/updateOrg.d.ts.map +0 -1
- package/lib/operations/v2/updateOrg.js +0 -72
- package/lib/operations/v2/updateOrg.js.map +0 -1
- package/lib/operations/v2/updateRole.d.ts +0 -87
- package/lib/operations/v2/updateRole.d.ts.map +0 -1
- package/lib/operations/v2/updateRole.js +0 -92
- package/lib/operations/v2/updateRole.js.map +0 -1
- package/lib/operations/v2/updateStarred.d.ts +0 -86
- package/lib/operations/v2/updateStarred.d.ts.map +0 -1
- package/lib/operations/v2/updateStarred.js +0 -101
- package/lib/operations/v2/updateStarred.js.map +0 -1
- package/lib/operations/v2/updateUserRole.d.ts +0 -22
- package/lib/operations/v2/updateUserRole.d.ts.map +0 -1
- package/lib/operations/v2/updateUserRole.js +0 -27
- package/lib/operations/v2/updateUserRole.js.map +0 -1
- package/lib/operations/v2/updateView.d.ts +0 -23
- package/lib/operations/v2/updateView.d.ts.map +0 -1
- package/lib/operations/v2/updateView.js +0 -28
- package/lib/operations/v2/updateView.js.map +0 -1
- package/lib/operations/v2/updateVirtualField.d.ts +0 -24
- package/lib/operations/v2/updateVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/updateVirtualField.js +0 -31
- package/lib/operations/v2/updateVirtualField.js.map +0 -1
- package/lib/operations/v2/vacuumDataset.d.ts +0 -9
- package/lib/operations/v2/vacuumDataset.d.ts.map +0 -1
- package/lib/operations/v2/vacuumDataset.js +0 -14
- package/lib/operations/v2/vacuumDataset.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -122
- package/src/operations/index.ts +0 -1
- package/src/operations/v1-edge-ingest/index.ts +0 -1
- package/src/operations/v1-edge-ingest/ingestToDataset.ts +0 -60
- package/src/operations/v1-edge-query/index.ts +0 -1
- package/src/operations/v1-edge-query/queryApl.ts +0 -134
- package/src/operations/v2/createAPIToken.ts +0 -272
- package/src/operations/v2/createAnnotation.ts +0 -58
- package/src/operations/v2/createDashboard.ts +0 -472
- package/src/operations/v2/createDataset.ts +0 -92
- package/src/operations/v2/createGroup.ts +0 -52
- package/src/operations/v2/createMapField.ts +0 -31
- package/src/operations/v2/createMonitor.ts +0 -160
- package/src/operations/v2/createNotifier.ts +0 -194
- package/src/operations/v2/createOrg.ts +0 -135
- package/src/operations/v2/createRole.ts +0 -276
- package/src/operations/v2/createStarred.ts +0 -203
- package/src/operations/v2/createUser.ts +0 -47
- package/src/operations/v2/createView.ts +0 -49
- package/src/operations/v2/createVirtualField.ts +0 -53
- package/src/operations/v2/deleteAPIToken.ts +0 -29
- package/src/operations/v2/deleteAnnotation.ts +0 -31
- package/src/operations/v2/deleteDashboard.ts +0 -31
- package/src/operations/v2/deleteDataset.ts +0 -29
- package/src/operations/v2/deleteGroup.ts +0 -33
- package/src/operations/v2/deleteMapField.ts +0 -31
- package/src/operations/v2/deleteMonitor.ts +0 -29
- package/src/operations/v2/deleteNotifier.ts +0 -29
- package/src/operations/v2/deleteRole.ts +0 -33
- package/src/operations/v2/deleteStarred.ts +0 -26
- package/src/operations/v2/deleteView.ts +0 -26
- package/src/operations/v2/deleteVirtualField.ts +0 -27
- package/src/operations/v2/getAPIToken.ts +0 -150
- package/src/operations/v2/getAPITokens.ts +0 -148
- package/src/operations/v2/getAnnotation.ts +0 -48
- package/src/operations/v2/getAnnotations.ts +0 -54
- package/src/operations/v2/getCurrentUser.ts +0 -37
- package/src/operations/v2/getDashboard.ts +0 -252
- package/src/operations/v2/getDataset.ts +0 -67
- package/src/operations/v2/getDatasets.ts +0 -65
- package/src/operations/v2/getFieldForDataset.ts +0 -44
- package/src/operations/v2/getFieldsForDataset.ts +0 -41
- package/src/operations/v2/getGroupById.ts +0 -46
- package/src/operations/v2/getMapFields.ts +0 -27
- package/src/operations/v2/getMonitor.ts +0 -99
- package/src/operations/v2/getMonitorHistory.ts +0 -47
- package/src/operations/v2/getMonitors.ts +0 -93
- package/src/operations/v2/getNotifier.ts +0 -117
- package/src/operations/v2/getNotifiers.ts +0 -111
- package/src/operations/v2/getOrg.ts +0 -135
- package/src/operations/v2/getOrgs.ts +0 -131
- package/src/operations/v2/getRoleById.ts +0 -158
- package/src/operations/v2/getStarred.ts +0 -117
- package/src/operations/v2/getStarredQueries.ts +0 -134
- package/src/operations/v2/getUser.ts +0 -43
- package/src/operations/v2/getUsers.ts +0 -39
- package/src/operations/v2/getView.ts +0 -39
- package/src/operations/v2/getViews.ts +0 -35
- package/src/operations/v2/getVirtualField.ts +0 -41
- package/src/operations/v2/getVirtualFields.ts +0 -41
- package/src/operations/v2/index.ts +0 -77
- package/src/operations/v2/listDashboards.ts +0 -254
- package/src/operations/v2/listGroups.ts +0 -40
- package/src/operations/v2/listRoles.ts +0 -156
- package/src/operations/v2/patchDashboardChart.ts +0 -275
- package/src/operations/v2/regenerateAPIToken.ts +0 -320
- package/src/operations/v2/removeUserFromOrg.ts +0 -29
- package/src/operations/v2/trimDataset.ts +0 -33
- package/src/operations/v2/updateAnnotation.ts +0 -62
- package/src/operations/v2/updateCurrentUser.ts +0 -42
- package/src/operations/v2/updateDashboard.ts +0 -472
- package/src/operations/v2/updateDataset.ts +0 -73
- package/src/operations/v2/updateFieldForDataset.ts +0 -54
- package/src/operations/v2/updateGroup.ts +0 -56
- package/src/operations/v2/updateMapFields.ts +0 -27
- package/src/operations/v2/updateMonitor.ts +0 -162
- package/src/operations/v2/updateNotifier.ts +0 -196
- package/src/operations/v2/updateOrg.ts +0 -137
- package/src/operations/v2/updateRole.ts +0 -280
- package/src/operations/v2/updateStarred.ts +0 -205
- package/src/operations/v2/updateUserRole.ts +0 -45
- package/src/operations/v2/updateView.ts +0 -51
- package/src/operations/v2/updateVirtualField.ts +0 -55
- package/src/operations/v2/vacuumDataset.ts +0 -24
- package/src/sensitive.ts +0 -4
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
3
|
-
export interface UpdateViewInput {
|
|
4
|
-
id: string;
|
|
5
|
-
aplQuery: string;
|
|
6
|
-
datasets?: ReadonlyArray<string>;
|
|
7
|
-
description?: string;
|
|
8
|
-
name: string;
|
|
9
|
-
sharedByOrg?: string;
|
|
10
|
-
sharedByOrgName?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const UpdateViewInput: Schema.Codec<UpdateViewInput>;
|
|
13
|
-
export interface UpdateViewOutput {
|
|
14
|
-
aplQuery: string;
|
|
15
|
-
datasets?: ReadonlyArray<string>;
|
|
16
|
-
description?: string;
|
|
17
|
-
name: string;
|
|
18
|
-
sharedByOrg?: string;
|
|
19
|
-
sharedByOrgName?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const UpdateViewOutput: Schema.Codec<UpdateViewOutput>;
|
|
22
|
-
export declare const updateView: import("@distilled.cloud/core/client").OperationMethod<UpdateViewInput, UpdateViewOutput, NotFound | UnprocessableEntity, import("../../credentials.ts").Credentials, never>;
|
|
23
|
-
//# sourceMappingURL=updateView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateView.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/updateView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD,eAAO,MAAM,eAAe,EAUZ,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AAG9C,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD,eAAO,MAAM,gBAAgB,EAOZ,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AAGhD,eAAO,MAAM,UAAU,8KAIpB,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.js";
|
|
3
|
-
import * as T from "../../traits.js";
|
|
4
|
-
import { NotFound, UnprocessableEntity } from "../../errors.js";
|
|
5
|
-
export const UpdateViewInput = /*@__PURE__*/ Schema.Struct({
|
|
6
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
7
|
-
aplQuery: Schema.String,
|
|
8
|
-
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
9
|
-
description: Schema.optional(Schema.String),
|
|
10
|
-
name: Schema.String,
|
|
11
|
-
sharedByOrg: Schema.optional(Schema.String),
|
|
12
|
-
sharedByOrgName: Schema.optional(Schema.String),
|
|
13
|
-
}).pipe(T.Http({ method: "PUT", path: "/v2/views/{id}" }));
|
|
14
|
-
export const UpdateViewOutput = /*@__PURE__*/ Schema.Struct({
|
|
15
|
-
aplQuery: Schema.String,
|
|
16
|
-
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
17
|
-
description: Schema.optional(Schema.String),
|
|
18
|
-
name: Schema.String,
|
|
19
|
-
sharedByOrg: Schema.optional(Schema.String),
|
|
20
|
-
sharedByOrgName: Schema.optional(Schema.String),
|
|
21
|
-
});
|
|
22
|
-
// The operation
|
|
23
|
-
export const updateView = /*@__PURE__*/ API.make(() => ({
|
|
24
|
-
inputSchema: UpdateViewInput,
|
|
25
|
-
outputSchema: UpdateViewOutput,
|
|
26
|
-
errors: [NotFound, UnprocessableEntity],
|
|
27
|
-
}));
|
|
28
|
-
//# sourceMappingURL=updateView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateView.js","sourceRoot":"","sources":["../../../src/operations/v2/updateView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAYhE,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzD,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC,MAAM;IACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAChD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CACN,CAAC;AAW9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1D,QAAQ,EAAE,MAAM,CAAC,MAAM;IACvB,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAChD,CAA8C,CAAC;AAEhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtD,WAAW,EAAE,eAAe;IAC5B,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CAAC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
3
|
-
export interface UpdateVirtualFieldInput {
|
|
4
|
-
id: string;
|
|
5
|
-
dataset: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
expression: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type?: string;
|
|
10
|
-
unit?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const UpdateVirtualFieldInput: Schema.Codec<UpdateVirtualFieldInput>;
|
|
13
|
-
export interface UpdateVirtualFieldOutput {
|
|
14
|
-
dataset: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
expression: string;
|
|
17
|
-
name: string;
|
|
18
|
-
type?: string;
|
|
19
|
-
unit?: string;
|
|
20
|
-
id: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const UpdateVirtualFieldOutput: Schema.Codec<UpdateVirtualFieldOutput>;
|
|
23
|
-
export declare const updateVirtualField: import("@distilled.cloud/core/client").OperationMethod<UpdateVirtualFieldInput, UpdateVirtualFieldOutput, NotFound | UnprocessableEntity, import("../../credentials.ts").Credentials, never>;
|
|
24
|
-
//# sourceMappingURL=updateVirtualField.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateVirtualField.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/updateVirtualField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAGhE,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AACD,eAAO,MAAM,uBAAuB,EAWlB,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;AAGxD,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,wBAAwB,EASlB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAG1D,eAAO,MAAM,kBAAkB,8LAI5B,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.js";
|
|
3
|
-
import * as T from "../../traits.js";
|
|
4
|
-
import { NotFound, UnprocessableEntity } from "../../errors.js";
|
|
5
|
-
export const UpdateVirtualFieldInput =
|
|
6
|
-
/*@__PURE__*/ Schema.Struct({
|
|
7
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
8
|
-
dataset: Schema.String,
|
|
9
|
-
description: Schema.optional(Schema.String),
|
|
10
|
-
expression: Schema.String,
|
|
11
|
-
name: Schema.String,
|
|
12
|
-
type: Schema.optional(Schema.String),
|
|
13
|
-
unit: Schema.optional(Schema.String),
|
|
14
|
-
}).pipe(T.Http({ method: "PUT", path: "/v2/vfields/{id}" }));
|
|
15
|
-
export const UpdateVirtualFieldOutput =
|
|
16
|
-
/*@__PURE__*/ Schema.Struct({
|
|
17
|
-
dataset: Schema.String,
|
|
18
|
-
description: Schema.optional(Schema.String),
|
|
19
|
-
expression: Schema.String,
|
|
20
|
-
name: Schema.String,
|
|
21
|
-
type: Schema.optional(Schema.String),
|
|
22
|
-
unit: Schema.optional(Schema.String),
|
|
23
|
-
id: Schema.String,
|
|
24
|
-
});
|
|
25
|
-
// The operation
|
|
26
|
-
export const updateVirtualField = /*@__PURE__*/ API.make(() => ({
|
|
27
|
-
inputSchema: UpdateVirtualFieldInput,
|
|
28
|
-
outputSchema: UpdateVirtualFieldOutput,
|
|
29
|
-
errors: [NotFound, UnprocessableEntity],
|
|
30
|
-
}));
|
|
31
|
-
//# sourceMappingURL=updateVirtualField.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateVirtualField.js","sourceRoot":"","sources":["../../../src/operations/v2/updateVirtualField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAYhE,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CACA,CAAC;AAYxD,MAAM,CAAC,MAAM,wBAAwB;AACnC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,EAAE,EAAE,MAAM,CAAC,MAAM;CAClB,CAAsD,CAAC;AAE1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9D,WAAW,EAAE,uBAAuB;IACpC,YAAY,EAAE,wBAAwB;IACtC,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
export interface VacuumDatasetInput {
|
|
3
|
-
dataset_id: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const VacuumDatasetInput: Schema.Codec<VacuumDatasetInput>;
|
|
6
|
-
export type VacuumDatasetOutput = void;
|
|
7
|
-
export declare const VacuumDatasetOutput: Schema.Codec<VacuumDatasetOutput>;
|
|
8
|
-
export declare const vacuumDataset: import("@distilled.cloud/core/client").OperationMethod<VacuumDatasetInput, void, never, import("../../credentials.ts").Credentials, never>;
|
|
9
|
-
//# sourceMappingURL=vacuumDataset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vacuumDataset.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/vacuumDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC;CACpB;AACD,eAAO,MAAM,kBAAkB,EAIf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC;AACvC,eAAO,MAAM,mBAAmB,EACU,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAG5E,eAAO,MAAM,aAAa,4IAGvB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.js";
|
|
3
|
-
import * as T from "../../traits.js";
|
|
4
|
-
export const VacuumDatasetInput = /*@__PURE__*/ Schema.Struct({
|
|
5
|
-
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
6
|
-
}).pipe(T.Http({ method: "POST", path: "/v2/datasets/{dataset_id}/vacuum" }));
|
|
7
|
-
export const VacuumDatasetOutput =
|
|
8
|
-
/*@__PURE__*/ Schema.Void;
|
|
9
|
-
// The operation
|
|
10
|
-
export const vacuumDataset = /*@__PURE__*/ API.make(() => ({
|
|
11
|
-
inputSchema: VacuumDatasetInput,
|
|
12
|
-
outputSchema: VacuumDatasetOutput,
|
|
13
|
-
}));
|
|
14
|
-
//# sourceMappingURL=vacuumDataset.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vacuumDataset.js","sourceRoot":"","sources":["../../../src/operations/v2/vacuumDataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AAMrC,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC5D,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,kCAAkC,EAAE,CAAC,CACtB,CAAC;AAIjD,MAAM,CAAC,MAAM,mBAAmB;AAC9B,aAAa,CAAC,MAAM,CAAC,IAAoD,CAAC;AAE5E,gBAAgB;AAChB,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACzD,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
|
package/lib/sensitive.d.ts
DELETED
package/lib/sensitive.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sensitive.d.ts","sourceRoot":"","sources":["../src/sensitive.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,iCAAiC,CAAC"}
|
package/lib/sensitive.js
DELETED
package/lib/sensitive.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sensitive.js","sourceRoot":"","sources":["../src/sensitive.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,iCAAiC,CAAC"}
|
package/src/category.ts
DELETED
package/src/client.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Axiom API Client.
|
|
3
|
-
*
|
|
4
|
-
* Wraps the shared REST client from sdk-core with Axiom-specific
|
|
5
|
-
* error matching and credential handling.
|
|
6
|
-
*/
|
|
7
|
-
import * as Effect from "effect/Effect";
|
|
8
|
-
import * as Redacted from "effect/Redacted";
|
|
9
|
-
import * as Schema from "effect/Schema";
|
|
10
|
-
import { makeAPI } from "@distilled.cloud/core/client";
|
|
11
|
-
import { parseRetryAfterForStatus } from "@distilled.cloud/core/retry-after";
|
|
12
|
-
import { Retry } from "./retry.ts";
|
|
13
|
-
import {
|
|
14
|
-
HTTP_STATUS_MAP,
|
|
15
|
-
UnknownAxiomError,
|
|
16
|
-
AxiomParseError,
|
|
17
|
-
} from "./errors.ts";
|
|
18
|
-
|
|
19
|
-
// Re-export for backwards compatibility
|
|
20
|
-
export { UnknownAxiomError } from "./errors.ts";
|
|
21
|
-
import { Credentials } from "./credentials.ts";
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Axiom returns two error envelope shapes:
|
|
25
|
-
* - control-plane / edge-ingest: `{ "code": "...", "message": "..." }`
|
|
26
|
-
* - edge-query: `{ "error": "...", "message": "..." }`
|
|
27
|
-
* Plus some endpoints return plain `{ message: "..." }`.
|
|
28
|
-
* We accept all of them and extract a unified `message`/`code` pair.
|
|
29
|
-
*/
|
|
30
|
-
const ApiErrorResponse = Schema.Struct({
|
|
31
|
-
code: Schema.optional(Schema.Union([Schema.String, Schema.Number])),
|
|
32
|
-
error: Schema.optional(Schema.String),
|
|
33
|
-
message: Schema.optional(Schema.String),
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Match an Axiom API error response to the appropriate error class based on
|
|
38
|
-
* HTTP status.
|
|
39
|
-
*
|
|
40
|
-
* Strategy: HTTP status is the authoritative signal. We always try status-based
|
|
41
|
-
* matching first, then enrich with a message parsed from the body if we can.
|
|
42
|
-
* Non-JSON responses (plain text "Forbidden", empty bodies, HTML error pages)
|
|
43
|
-
* still map to the correct typed error via status code.
|
|
44
|
-
*/
|
|
45
|
-
const matchError = (
|
|
46
|
-
status: number,
|
|
47
|
-
errorBody: unknown,
|
|
48
|
-
_errors?: readonly unknown[],
|
|
49
|
-
headers?: Record<string, string | undefined>,
|
|
50
|
-
): Effect.Effect<never, unknown> => {
|
|
51
|
-
const ErrorClass = (HTTP_STATUS_MAP as any)[status];
|
|
52
|
-
let message = "";
|
|
53
|
-
let code: string | number | undefined;
|
|
54
|
-
try {
|
|
55
|
-
const parsed = Schema.decodeUnknownSync(ApiErrorResponse)(errorBody);
|
|
56
|
-
message = parsed.message ?? parsed.error ?? "";
|
|
57
|
-
code = parsed.code ?? parsed.error;
|
|
58
|
-
} catch {
|
|
59
|
-
if (typeof errorBody === "string") {
|
|
60
|
-
message = errorBody;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
if (ErrorClass) {
|
|
64
|
-
return Effect.fail(
|
|
65
|
-
new ErrorClass({
|
|
66
|
-
message,
|
|
67
|
-
retryAfter: parseRetryAfterForStatus(status, headers),
|
|
68
|
-
}),
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
return Effect.fail(
|
|
72
|
-
new UnknownAxiomError({
|
|
73
|
-
code: typeof code === "number" ? String(code) : code,
|
|
74
|
-
message,
|
|
75
|
-
body: errorBody,
|
|
76
|
-
}),
|
|
77
|
-
);
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Axiom's backend (Go) serializes nil slices and omitted optional fields as
|
|
82
|
-
* JSON `null`. The generated output schemas model these as `Schema.optional(…)`
|
|
83
|
-
* which accepts only the value or `undefined`, so `null` trips decoding.
|
|
84
|
-
*
|
|
85
|
-
* Recursively drop explicit `null` properties before decoding so optional
|
|
86
|
-
* fields simply get treated as absent. Keys that are genuinely nullable in
|
|
87
|
-
* the API should be patched to `Schema.NullOr(…)` in the spec — this hook
|
|
88
|
-
* exists for the far more common "Go nil slice" case.
|
|
89
|
-
*/
|
|
90
|
-
const stripNulls = (value: unknown): unknown => {
|
|
91
|
-
if (Array.isArray(value)) return value.map(stripNulls);
|
|
92
|
-
if (value && typeof value === "object") {
|
|
93
|
-
const out: Record<string, unknown> = {};
|
|
94
|
-
for (const [k, v] of Object.entries(value as Record<string, unknown>)) {
|
|
95
|
-
if (v === null) continue;
|
|
96
|
-
out[k] = stripNulls(v);
|
|
97
|
-
}
|
|
98
|
-
return out;
|
|
99
|
-
}
|
|
100
|
-
return value;
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Axiom API client.
|
|
105
|
-
*/
|
|
106
|
-
export const API = makeAPI<Credentials>({
|
|
107
|
-
credentials: Credentials as any,
|
|
108
|
-
getBaseUrl: (creds: any) => creds.apiBaseUrl,
|
|
109
|
-
getAuthHeaders: (creds: any) => {
|
|
110
|
-
const headers: Record<string, string> = {
|
|
111
|
-
Authorization: `Bearer ${Redacted.value(creds.apiKey)}`,
|
|
112
|
-
};
|
|
113
|
-
if (creds.orgId) {
|
|
114
|
-
headers["X-Axiom-Org-ID"] = creds.orgId;
|
|
115
|
-
}
|
|
116
|
-
return headers;
|
|
117
|
-
},
|
|
118
|
-
matchError,
|
|
119
|
-
ParseError: AxiomParseError as any,
|
|
120
|
-
retry: Retry as any,
|
|
121
|
-
transformResponse: stripNulls,
|
|
122
|
-
});
|
package/src/operations/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./v2/index.ts";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ingestToDataset.ts";
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { BadRequest, NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface IngestToDatasetInput {
|
|
8
|
-
"dataset-id": string;
|
|
9
|
-
"timestamp-field"?: string;
|
|
10
|
-
"timestamp-format"?: string;
|
|
11
|
-
"csv-delimiter"?: string;
|
|
12
|
-
}
|
|
13
|
-
export const IngestToDatasetInput = /*@__PURE__*/ Schema.Struct({
|
|
14
|
-
"dataset-id": Schema.String.pipe(T.PathParam()),
|
|
15
|
-
"timestamp-field": Schema.optional(Schema.String),
|
|
16
|
-
"timestamp-format": Schema.optional(Schema.String),
|
|
17
|
-
"csv-delimiter": Schema.optional(Schema.String),
|
|
18
|
-
}).pipe(
|
|
19
|
-
T.Http({ method: "POST", path: "/v1/datasets/{dataset-id}/ingest" }),
|
|
20
|
-
) as unknown as Schema.Codec<IngestToDatasetInput>;
|
|
21
|
-
|
|
22
|
-
// Output Schema
|
|
23
|
-
export interface IngestToDatasetOutput {
|
|
24
|
-
blocksCreated: number;
|
|
25
|
-
failed: number;
|
|
26
|
-
failures?: ReadonlyArray<{ error: string; timestamp: string }>;
|
|
27
|
-
ingested: number;
|
|
28
|
-
processedBytes: number;
|
|
29
|
-
walLength: number;
|
|
30
|
-
}
|
|
31
|
-
export const IngestToDatasetOutput = /*@__PURE__*/ Schema.Struct({
|
|
32
|
-
blocksCreated: Schema.Number,
|
|
33
|
-
failed: Schema.Number,
|
|
34
|
-
failures: Schema.optional(
|
|
35
|
-
Schema.Array(
|
|
36
|
-
Schema.Struct({
|
|
37
|
-
error: Schema.String,
|
|
38
|
-
timestamp: Schema.String,
|
|
39
|
-
}),
|
|
40
|
-
),
|
|
41
|
-
),
|
|
42
|
-
ingested: Schema.Number,
|
|
43
|
-
processedBytes: Schema.Number,
|
|
44
|
-
walLength: Schema.Number,
|
|
45
|
-
}) as unknown as Schema.Codec<IngestToDatasetOutput>;
|
|
46
|
-
|
|
47
|
-
// The operation
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @param timestamp-field - The name of the field to use as the timestamp. If not specified, the timestamp will be the time the event was received by Axiom.
|
|
51
|
-
* @param timestamp-format - The date-time format of the timestamp field. The reference time is `Mon Jan 2 15:04:05 -0700 MST 2006`, as specified in https://pkg.go.dev/time/?tab=doc#Parse
|
|
52
|
-
* @param csv-delimiter - The delimiter to use when parsing CSV data. If not specified, the default delimiter is `,`.
|
|
53
|
-
* @param X-Axiom-CSV-Fields - A list of optional comma separated fields to use for CSV ingestion. If not specified, the first line of the CSV will be used as the field names.
|
|
54
|
-
* @param X-Axiom-Event-Labels - An optional JSON encoded object with additional labels to add to all events in the request
|
|
55
|
-
*/
|
|
56
|
-
export const ingestToDataset = /*@__PURE__*/ API.make(() => ({
|
|
57
|
-
inputSchema: IngestToDatasetInput,
|
|
58
|
-
outputSchema: IngestToDatasetOutput,
|
|
59
|
-
errors: [BadRequest, NotFound, UnprocessableEntity] as const,
|
|
60
|
-
}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./queryApl.ts";
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
|
|
5
|
-
// Input Schema
|
|
6
|
-
export interface QueryAplInput {
|
|
7
|
-
format: "legacy" | "tabular" | "tabular-rows";
|
|
8
|
-
nocache?: boolean;
|
|
9
|
-
saveAsKind?: string;
|
|
10
|
-
id?: string;
|
|
11
|
-
"streaming-duration"?: string;
|
|
12
|
-
"apl-source"?: string;
|
|
13
|
-
"apl-source-id"?: string;
|
|
14
|
-
totals?: boolean;
|
|
15
|
-
apl: string;
|
|
16
|
-
cursor?: string;
|
|
17
|
-
defaultLimit?: number;
|
|
18
|
-
defaultOrder?: ReadonlyArray<{ desc?: boolean; field?: string }>;
|
|
19
|
-
endTime?: string;
|
|
20
|
-
includeCursor?: boolean;
|
|
21
|
-
includeCursorField?: boolean;
|
|
22
|
-
libraries?: ReadonlyArray<string>;
|
|
23
|
-
maxBinAutoGroups?: number;
|
|
24
|
-
queryOptions?: {
|
|
25
|
-
against?: string;
|
|
26
|
-
againstStart?: string;
|
|
27
|
-
againstTimestamp?: string;
|
|
28
|
-
aggChartOpts?: string;
|
|
29
|
-
caseSensitive?: string;
|
|
30
|
-
containsTimeFilter?: string;
|
|
31
|
-
datasets?: string;
|
|
32
|
-
displayNull?: string;
|
|
33
|
-
editorContent?: string;
|
|
34
|
-
endColumn?: string;
|
|
35
|
-
endLineNumber?: string;
|
|
36
|
-
endTime?: string;
|
|
37
|
-
integrationsFilter?: string;
|
|
38
|
-
nanosecondPrecision?: string;
|
|
39
|
-
openIntervals?: string;
|
|
40
|
-
overlayCharts?: string;
|
|
41
|
-
queryObject?: string;
|
|
42
|
-
quickRange?: string;
|
|
43
|
-
resolution?: string;
|
|
44
|
-
resultsHistogram?: string;
|
|
45
|
-
selection?: string;
|
|
46
|
-
shownColumns?: string;
|
|
47
|
-
startColumn?: string;
|
|
48
|
-
startLineNumber?: string;
|
|
49
|
-
startTime?: string;
|
|
50
|
-
timeSeriesVariant?: string;
|
|
51
|
-
timeSeriesView?: string;
|
|
52
|
-
};
|
|
53
|
-
startTime?: string;
|
|
54
|
-
variables?: Record<string, unknown>;
|
|
55
|
-
}
|
|
56
|
-
export const QueryAplInput = /*@__PURE__*/ Schema.Struct({
|
|
57
|
-
format: Schema.Literals(["legacy", "tabular", "tabular-rows"]),
|
|
58
|
-
nocache: Schema.optional(Schema.Boolean),
|
|
59
|
-
saveAsKind: Schema.optional(Schema.String),
|
|
60
|
-
id: Schema.optional(Schema.String),
|
|
61
|
-
"streaming-duration": Schema.optional(Schema.String),
|
|
62
|
-
"apl-source": Schema.optional(Schema.String),
|
|
63
|
-
"apl-source-id": Schema.optional(Schema.String),
|
|
64
|
-
totals: Schema.optional(Schema.Boolean),
|
|
65
|
-
apl: Schema.String,
|
|
66
|
-
cursor: Schema.optional(Schema.String),
|
|
67
|
-
defaultLimit: Schema.optional(Schema.Number),
|
|
68
|
-
defaultOrder: Schema.optional(
|
|
69
|
-
Schema.Array(
|
|
70
|
-
Schema.Struct({
|
|
71
|
-
desc: Schema.optional(Schema.Boolean),
|
|
72
|
-
field: Schema.optional(Schema.String),
|
|
73
|
-
}),
|
|
74
|
-
),
|
|
75
|
-
),
|
|
76
|
-
endTime: Schema.optional(Schema.String),
|
|
77
|
-
includeCursor: Schema.optional(Schema.Boolean),
|
|
78
|
-
includeCursorField: Schema.optional(Schema.Boolean),
|
|
79
|
-
libraries: Schema.optional(Schema.Array(Schema.String)),
|
|
80
|
-
maxBinAutoGroups: Schema.optional(Schema.Number),
|
|
81
|
-
queryOptions: Schema.optional(
|
|
82
|
-
Schema.Struct({
|
|
83
|
-
against: Schema.optional(Schema.String),
|
|
84
|
-
againstStart: Schema.optional(Schema.String),
|
|
85
|
-
againstTimestamp: Schema.optional(Schema.String),
|
|
86
|
-
aggChartOpts: Schema.optional(Schema.String),
|
|
87
|
-
caseSensitive: Schema.optional(Schema.String),
|
|
88
|
-
containsTimeFilter: Schema.optional(Schema.String),
|
|
89
|
-
datasets: Schema.optional(Schema.String),
|
|
90
|
-
displayNull: Schema.optional(Schema.String),
|
|
91
|
-
editorContent: Schema.optional(Schema.String),
|
|
92
|
-
endColumn: Schema.optional(Schema.String),
|
|
93
|
-
endLineNumber: Schema.optional(Schema.String),
|
|
94
|
-
endTime: Schema.optional(Schema.String),
|
|
95
|
-
integrationsFilter: Schema.optional(Schema.String),
|
|
96
|
-
nanosecondPrecision: Schema.optional(Schema.String),
|
|
97
|
-
openIntervals: Schema.optional(Schema.String),
|
|
98
|
-
overlayCharts: Schema.optional(Schema.String),
|
|
99
|
-
queryObject: Schema.optional(Schema.String),
|
|
100
|
-
quickRange: Schema.optional(Schema.String),
|
|
101
|
-
resolution: Schema.optional(Schema.String),
|
|
102
|
-
resultsHistogram: Schema.optional(Schema.String),
|
|
103
|
-
selection: Schema.optional(Schema.String),
|
|
104
|
-
shownColumns: Schema.optional(Schema.String),
|
|
105
|
-
startColumn: Schema.optional(Schema.String),
|
|
106
|
-
startLineNumber: Schema.optional(Schema.String),
|
|
107
|
-
startTime: Schema.optional(Schema.String),
|
|
108
|
-
timeSeriesVariant: Schema.optional(Schema.String),
|
|
109
|
-
timeSeriesView: Schema.optional(Schema.String),
|
|
110
|
-
}),
|
|
111
|
-
),
|
|
112
|
-
startTime: Schema.optional(Schema.String),
|
|
113
|
-
variables: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
|
|
114
|
-
}).pipe(
|
|
115
|
-
T.Http({ method: "POST", path: "/v1/datasets/_apl?format=tabular" }),
|
|
116
|
-
) as unknown as Schema.Codec<QueryAplInput>;
|
|
117
|
-
|
|
118
|
-
// Output Schema
|
|
119
|
-
export type QueryAplOutput = unknown;
|
|
120
|
-
export const QueryAplOutput =
|
|
121
|
-
/*@__PURE__*/ Schema.Unknown as unknown as Schema.Codec<QueryAplOutput>;
|
|
122
|
-
|
|
123
|
-
// The operation
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @param id - when saveAsKind is true, this parameter indicates the id of the associated dataset
|
|
127
|
-
* @param apl-source - contains the source of the APL query (for example console, dashboard, etc.)
|
|
128
|
-
* @param apl-source-id - contains the id of the source, for example dashboard_id
|
|
129
|
-
* @param totals - Include a totals table (only supported in MetricsDB)
|
|
130
|
-
*/
|
|
131
|
-
export const queryApl = /*@__PURE__*/ API.make(() => ({
|
|
132
|
-
inputSchema: QueryAplInput,
|
|
133
|
-
outputSchema: QueryAplOutput,
|
|
134
|
-
}));
|