@distilled.cloud/axiom 0.30.3 → 1.0.0-rc.1
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/package.json +37 -43
- 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/credentials.d.ts +0 -30
- package/lib/credentials.d.ts.map +0 -1
- package/lib/credentials.js +0 -43
- package/lib/credentials.js.map +0 -1
- package/lib/edge-ingest.d.ts +0 -2
- package/lib/edge-ingest.d.ts.map +0 -1
- package/lib/edge-ingest.js +0 -2
- package/lib/edge-ingest.js.map +0 -1
- package/lib/edge-query.d.ts +0 -2
- package/lib/edge-query.d.ts.map +0 -1
- package/lib/edge-query.js +0 -2
- package/lib/edge-query.js.map +0 -1
- package/lib/errors.d.ts +0 -31
- package/lib/errors.d.ts.map +0 -1
- package/lib/errors.js +0 -23
- package/lib/errors.js.map +0 -1
- package/lib/index.d.ts +0 -22
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -22
- package/lib/index.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/retry.d.ts +0 -33
- package/lib/retry.d.ts.map +0 -1
- package/lib/retry.js +0 -33
- package/lib/retry.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/lib/traits.d.ts +0 -5
- package/lib/traits.d.ts.map +0 -1
- package/lib/traits.js +0 -5
- package/lib/traits.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,54 +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 GetAnnotationsInput {
|
|
7
|
-
datasets?: string;
|
|
8
|
-
start?: string;
|
|
9
|
-
end?: string;
|
|
10
|
-
}
|
|
11
|
-
export const GetAnnotationsInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
datasets: Schema.optional(Schema.String),
|
|
13
|
-
start: Schema.optional(Schema.String),
|
|
14
|
-
end: Schema.optional(Schema.String),
|
|
15
|
-
}).pipe(
|
|
16
|
-
T.Http({ method: "GET", path: "/v2/annotations" }),
|
|
17
|
-
) as unknown as Schema.Codec<GetAnnotationsInput>;
|
|
18
|
-
|
|
19
|
-
// Output Schema
|
|
20
|
-
export type GetAnnotationsOutput = ReadonlyArray<{
|
|
21
|
-
datasets: ReadonlyArray<string>;
|
|
22
|
-
description?: string;
|
|
23
|
-
endTime?: string | null;
|
|
24
|
-
id: string;
|
|
25
|
-
time: string;
|
|
26
|
-
title?: string;
|
|
27
|
-
type: string;
|
|
28
|
-
url?: string;
|
|
29
|
-
}>;
|
|
30
|
-
export const GetAnnotationsOutput = /*@__PURE__*/ Schema.Array(
|
|
31
|
-
Schema.Struct({
|
|
32
|
-
datasets: Schema.Array(Schema.String),
|
|
33
|
-
description: Schema.optional(Schema.String),
|
|
34
|
-
endTime: Schema.optional(Schema.NullOr(Schema.String)),
|
|
35
|
-
id: Schema.String,
|
|
36
|
-
time: Schema.String,
|
|
37
|
-
title: Schema.optional(Schema.String),
|
|
38
|
-
type: Schema.String,
|
|
39
|
-
url: Schema.optional(Schema.String),
|
|
40
|
-
}),
|
|
41
|
-
) as unknown as Schema.Codec<GetAnnotationsOutput>;
|
|
42
|
-
|
|
43
|
-
// The operation
|
|
44
|
-
/**
|
|
45
|
-
* Get annotations
|
|
46
|
-
*
|
|
47
|
-
* @param datasets - Optional: Filter for dataset names.
|
|
48
|
-
* @param start - Optional: Filter for events after this date. Use RFC3339 time format.
|
|
49
|
-
* @param end - Optional: Filter for events before this date. Use RFC3339 time format.
|
|
50
|
-
*/
|
|
51
|
-
export const getAnnotations = /*@__PURE__*/ API.make(() => ({
|
|
52
|
-
inputSchema: GetAnnotationsInput,
|
|
53
|
-
outputSchema: GetAnnotationsOutput,
|
|
54
|
-
}));
|
|
@@ -1,37 +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 GetCurrentUserInput {}
|
|
7
|
-
export const GetCurrentUserInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
-
T.Http({ method: "GET", path: "/v2/user" }),
|
|
9
|
-
) as unknown as Schema.Codec<GetCurrentUserInput>;
|
|
10
|
-
|
|
11
|
-
// Output Schema
|
|
12
|
-
export interface GetCurrentUserOutput {
|
|
13
|
-
email: string;
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
role?: { id: string; name: string };
|
|
17
|
-
}
|
|
18
|
-
export const GetCurrentUserOutput = /*@__PURE__*/ Schema.Struct({
|
|
19
|
-
email: Schema.String,
|
|
20
|
-
id: Schema.String,
|
|
21
|
-
name: Schema.String,
|
|
22
|
-
role: Schema.optional(
|
|
23
|
-
Schema.Struct({
|
|
24
|
-
id: Schema.String,
|
|
25
|
-
name: Schema.String,
|
|
26
|
-
}),
|
|
27
|
-
),
|
|
28
|
-
}) as unknown as Schema.Codec<GetCurrentUserOutput>;
|
|
29
|
-
|
|
30
|
-
// The operation
|
|
31
|
-
/**
|
|
32
|
-
* Get current user
|
|
33
|
-
*/
|
|
34
|
-
export const getCurrentUser = /*@__PURE__*/ API.make(() => ({
|
|
35
|
-
inputSchema: GetCurrentUserInput,
|
|
36
|
-
outputSchema: GetCurrentUserOutput,
|
|
37
|
-
}));
|
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetDashboardInput {
|
|
8
|
-
uid: string;
|
|
9
|
-
}
|
|
10
|
-
export const GetDashboardInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
uid: Schema.String.pipe(T.PathParam()),
|
|
12
|
-
}).pipe(
|
|
13
|
-
T.Http({ method: "GET", path: "/v2/dashboards/uid/{uid}" }),
|
|
14
|
-
) as unknown as Schema.Codec<GetDashboardInput>;
|
|
15
|
-
|
|
16
|
-
// Output Schema
|
|
17
|
-
export interface GetDashboardOutput {
|
|
18
|
-
createdAt: string;
|
|
19
|
-
createdBy: string;
|
|
20
|
-
dashboard: {
|
|
21
|
-
name: string;
|
|
22
|
-
owner: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
charts: ReadonlyArray<
|
|
25
|
-
| { id: string; type: "TimeSeries"; name?: string; query: unknown }
|
|
26
|
-
| { id: string; type: "Heatmap"; name?: string; query: unknown }
|
|
27
|
-
| {
|
|
28
|
-
id: string;
|
|
29
|
-
type: "LogStream";
|
|
30
|
-
name?: string;
|
|
31
|
-
query: unknown;
|
|
32
|
-
tableSettings?: {
|
|
33
|
-
columns?: ReadonlyArray<unknown>;
|
|
34
|
-
settings?: {
|
|
35
|
-
fontSize?: string;
|
|
36
|
-
highlightSeverity?: boolean;
|
|
37
|
-
showRaw?: boolean;
|
|
38
|
-
showEvent?: boolean;
|
|
39
|
-
showTimestamp?: boolean;
|
|
40
|
-
wrapLines?: boolean;
|
|
41
|
-
hideNulls?: boolean;
|
|
42
|
-
fitColumns?: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
| { id: string; type: "Pie"; name?: string; query: unknown }
|
|
47
|
-
| { id: string; type: "Scatter"; name?: string; query: unknown }
|
|
48
|
-
| {
|
|
49
|
-
id: string;
|
|
50
|
-
type: "Table";
|
|
51
|
-
name?: string;
|
|
52
|
-
query: unknown;
|
|
53
|
-
tableSettings?: {
|
|
54
|
-
columns?: ReadonlyArray<unknown>;
|
|
55
|
-
settings?: {
|
|
56
|
-
fontSize?: string;
|
|
57
|
-
highlightSeverity?: boolean;
|
|
58
|
-
showRaw?: boolean;
|
|
59
|
-
showEvent?: boolean;
|
|
60
|
-
showTimestamp?: boolean;
|
|
61
|
-
wrapLines?: boolean;
|
|
62
|
-
hideNulls?: boolean;
|
|
63
|
-
fitColumns?: boolean;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
| { id: string; type: "TopK"; name?: string; query: unknown }
|
|
68
|
-
| {
|
|
69
|
-
id: string;
|
|
70
|
-
type: "Statistic";
|
|
71
|
-
name?: string;
|
|
72
|
-
query: unknown;
|
|
73
|
-
colorScheme?:
|
|
74
|
-
| "Blue"
|
|
75
|
-
| "Orange"
|
|
76
|
-
| "Red"
|
|
77
|
-
| "Purple"
|
|
78
|
-
| "Teal"
|
|
79
|
-
| "Yellow"
|
|
80
|
-
| "Green"
|
|
81
|
-
| "Pink"
|
|
82
|
-
| "Grey"
|
|
83
|
-
| "Brown";
|
|
84
|
-
customUnits?: string;
|
|
85
|
-
showChart?: boolean | string;
|
|
86
|
-
hideValue?: boolean;
|
|
87
|
-
chartHeight?: string | number;
|
|
88
|
-
errorThreshold?:
|
|
89
|
-
| "Above"
|
|
90
|
-
| "AboveOrEqual"
|
|
91
|
-
| "Below"
|
|
92
|
-
| "BelowOrEqual"
|
|
93
|
-
| "AboveOrBelow";
|
|
94
|
-
errorThresholdValue?: string;
|
|
95
|
-
warningThreshold?:
|
|
96
|
-
| "Above"
|
|
97
|
-
| "AboveOrEqual"
|
|
98
|
-
| "Below"
|
|
99
|
-
| "BelowOrEqual"
|
|
100
|
-
| "AboveOrBelow";
|
|
101
|
-
warningThresholdValue?: string;
|
|
102
|
-
invertTheme?: boolean;
|
|
103
|
-
background?: string;
|
|
104
|
-
textColor?: string;
|
|
105
|
-
labelColor?: string;
|
|
106
|
-
chartFillColor?: string;
|
|
107
|
-
okColorProps?: {
|
|
108
|
-
background?: string;
|
|
109
|
-
chartFillColor?: string;
|
|
110
|
-
labelColor?: string;
|
|
111
|
-
textColor?: string;
|
|
112
|
-
};
|
|
113
|
-
warningColorProps?: {
|
|
114
|
-
background?: string;
|
|
115
|
-
chartFillColor?: string;
|
|
116
|
-
labelColor?: string;
|
|
117
|
-
textColor?: string;
|
|
118
|
-
};
|
|
119
|
-
errorColorProps?: {
|
|
120
|
-
background?: string;
|
|
121
|
-
chartFillColor?: string;
|
|
122
|
-
labelColor?: string;
|
|
123
|
-
textColor?: string;
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
| { id: string; type: "Note"; text: string; variant?: "default" }
|
|
127
|
-
| {
|
|
128
|
-
id: string;
|
|
129
|
-
type: "MonitorList";
|
|
130
|
-
name?: string;
|
|
131
|
-
selectedMonitors: ReadonlyArray<string>;
|
|
132
|
-
columns: {
|
|
133
|
-
status: boolean;
|
|
134
|
-
history: boolean;
|
|
135
|
-
dataset: boolean;
|
|
136
|
-
type: boolean;
|
|
137
|
-
notifiers: boolean;
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
| {
|
|
141
|
-
id: string;
|
|
142
|
-
type: "SmartFilter";
|
|
143
|
-
name?: string;
|
|
144
|
-
filters: ReadonlyArray<unknown>;
|
|
145
|
-
logo?: string;
|
|
146
|
-
logoDark?: string;
|
|
147
|
-
}
|
|
148
|
-
| { id: string; type: "Spacer"; name?: string }
|
|
149
|
-
>;
|
|
150
|
-
layout: ReadonlyArray<{
|
|
151
|
-
i: string;
|
|
152
|
-
x: number;
|
|
153
|
-
y: number | null;
|
|
154
|
-
w: number;
|
|
155
|
-
h: number;
|
|
156
|
-
minW?: number;
|
|
157
|
-
minH?: number;
|
|
158
|
-
maxW?: number;
|
|
159
|
-
maxH?: number;
|
|
160
|
-
static?: boolean;
|
|
161
|
-
}>;
|
|
162
|
-
refreshTime: 15 | 60 | 300;
|
|
163
|
-
schemaVersion: 2;
|
|
164
|
-
against?:
|
|
165
|
-
| "-1h"
|
|
166
|
-
| "-3h"
|
|
167
|
-
| "-6h"
|
|
168
|
-
| "-12h"
|
|
169
|
-
| "-1d"
|
|
170
|
-
| "-3d"
|
|
171
|
-
| "-7d"
|
|
172
|
-
| "-1w"
|
|
173
|
-
| "-2w"
|
|
174
|
-
| "-3w"
|
|
175
|
-
| "-30d"
|
|
176
|
-
| "-60d"
|
|
177
|
-
| "-90d";
|
|
178
|
-
againstTimestamp?: string;
|
|
179
|
-
timeWindowStart: string;
|
|
180
|
-
timeWindowEnd: string;
|
|
181
|
-
uid?: string;
|
|
182
|
-
};
|
|
183
|
-
id: string;
|
|
184
|
-
uid: string;
|
|
185
|
-
updatedAt: string;
|
|
186
|
-
updatedBy: string;
|
|
187
|
-
version: string | number;
|
|
188
|
-
}
|
|
189
|
-
export const GetDashboardOutput = /*@__PURE__*/ Schema.Struct({
|
|
190
|
-
createdAt: Schema.String,
|
|
191
|
-
createdBy: Schema.String,
|
|
192
|
-
dashboard: Schema.Struct({
|
|
193
|
-
name: Schema.String,
|
|
194
|
-
owner: Schema.String,
|
|
195
|
-
description: Schema.optional(Schema.String),
|
|
196
|
-
charts: Schema.Array(Schema.Unknown),
|
|
197
|
-
layout: Schema.Array(
|
|
198
|
-
Schema.Struct({
|
|
199
|
-
i: Schema.String,
|
|
200
|
-
x: Schema.Number,
|
|
201
|
-
y: Schema.NullOr(Schema.Number),
|
|
202
|
-
w: Schema.Number,
|
|
203
|
-
h: Schema.Number,
|
|
204
|
-
minW: Schema.optional(Schema.Number),
|
|
205
|
-
minH: Schema.optional(Schema.Number),
|
|
206
|
-
maxW: Schema.optional(Schema.Number),
|
|
207
|
-
maxH: Schema.optional(Schema.Number),
|
|
208
|
-
static: Schema.optional(Schema.Boolean),
|
|
209
|
-
}),
|
|
210
|
-
),
|
|
211
|
-
refreshTime: Schema.Literals([15, 60, 300]),
|
|
212
|
-
schemaVersion: Schema.Literals([2]),
|
|
213
|
-
against: Schema.optional(
|
|
214
|
-
Schema.Literals([
|
|
215
|
-
"-1h",
|
|
216
|
-
"-3h",
|
|
217
|
-
"-6h",
|
|
218
|
-
"-12h",
|
|
219
|
-
"-1d",
|
|
220
|
-
"-3d",
|
|
221
|
-
"-7d",
|
|
222
|
-
"-1w",
|
|
223
|
-
"-2w",
|
|
224
|
-
"-3w",
|
|
225
|
-
"-30d",
|
|
226
|
-
"-60d",
|
|
227
|
-
"-90d",
|
|
228
|
-
]),
|
|
229
|
-
),
|
|
230
|
-
againstTimestamp: Schema.optional(Schema.String),
|
|
231
|
-
timeWindowStart: Schema.String,
|
|
232
|
-
timeWindowEnd: Schema.String,
|
|
233
|
-
uid: Schema.optional(Schema.String),
|
|
234
|
-
}),
|
|
235
|
-
id: Schema.String,
|
|
236
|
-
uid: Schema.String,
|
|
237
|
-
updatedAt: Schema.String,
|
|
238
|
-
updatedBy: Schema.String,
|
|
239
|
-
version: Schema.Union([Schema.String, Schema.Number]),
|
|
240
|
-
}) as unknown as Schema.Codec<GetDashboardOutput>;
|
|
241
|
-
|
|
242
|
-
// The operation
|
|
243
|
-
/**
|
|
244
|
-
* Get dashboard
|
|
245
|
-
*
|
|
246
|
-
* Get a dashboard by UID.
|
|
247
|
-
*/
|
|
248
|
-
export const getDashboard = /*@__PURE__*/ API.make(() => ({
|
|
249
|
-
inputSchema: GetDashboardInput,
|
|
250
|
-
outputSchema: GetDashboardOutput,
|
|
251
|
-
errors: [NotFound] as const,
|
|
252
|
-
}));
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetDatasetInput {
|
|
8
|
-
dataset_id: string;
|
|
9
|
-
}
|
|
10
|
-
export const GetDatasetInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
12
|
-
}).pipe(
|
|
13
|
-
T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}" }),
|
|
14
|
-
) as unknown as Schema.Codec<GetDatasetInput>;
|
|
15
|
-
|
|
16
|
-
// Output Schema
|
|
17
|
-
export interface GetDatasetOutput {
|
|
18
|
-
canWrite?: boolean;
|
|
19
|
-
created: string;
|
|
20
|
-
description: string;
|
|
21
|
-
edgeDeployment?: string;
|
|
22
|
-
edgeDeploymentUrl?: string;
|
|
23
|
-
id: string;
|
|
24
|
-
kind:
|
|
25
|
-
| "otel:metrics:v1"
|
|
26
|
-
| "otel:traces:v1"
|
|
27
|
-
| "otel:logs:v1"
|
|
28
|
-
| "axiom:events:v1";
|
|
29
|
-
mapFields?: ReadonlyArray<string>;
|
|
30
|
-
name: string;
|
|
31
|
-
retentionDays?: number;
|
|
32
|
-
sharedByOrg?: string;
|
|
33
|
-
updatedAt: string;
|
|
34
|
-
useRetentionPeriod?: boolean;
|
|
35
|
-
who: string;
|
|
36
|
-
}
|
|
37
|
-
export const GetDatasetOutput = /*@__PURE__*/ Schema.Struct({
|
|
38
|
-
canWrite: Schema.optional(Schema.Boolean),
|
|
39
|
-
created: Schema.String,
|
|
40
|
-
description: Schema.String,
|
|
41
|
-
edgeDeployment: Schema.optional(Schema.String),
|
|
42
|
-
edgeDeploymentUrl: Schema.optional(Schema.String),
|
|
43
|
-
id: Schema.String,
|
|
44
|
-
kind: Schema.Literals([
|
|
45
|
-
"otel:metrics:v1",
|
|
46
|
-
"otel:traces:v1",
|
|
47
|
-
"otel:logs:v1",
|
|
48
|
-
"axiom:events:v1",
|
|
49
|
-
]),
|
|
50
|
-
mapFields: Schema.optional(Schema.Array(Schema.String)),
|
|
51
|
-
name: Schema.String,
|
|
52
|
-
retentionDays: Schema.optional(Schema.Number),
|
|
53
|
-
sharedByOrg: Schema.optional(Schema.String),
|
|
54
|
-
updatedAt: Schema.String,
|
|
55
|
-
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
56
|
-
who: Schema.String,
|
|
57
|
-
}) as unknown as Schema.Codec<GetDatasetOutput>;
|
|
58
|
-
|
|
59
|
-
// The operation
|
|
60
|
-
/**
|
|
61
|
-
* Get dataset by ID
|
|
62
|
-
*/
|
|
63
|
-
export const getDataset = /*@__PURE__*/ API.make(() => ({
|
|
64
|
-
inputSchema: GetDatasetInput,
|
|
65
|
-
outputSchema: GetDatasetOutput,
|
|
66
|
-
errors: [Forbidden, NotFound] as const,
|
|
67
|
-
}));
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { Forbidden } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetDatasetsInput {}
|
|
8
|
-
export const GetDatasetsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
9
|
-
T.Http({ method: "GET", path: "/v2/datasets" }),
|
|
10
|
-
) as unknown as Schema.Codec<GetDatasetsInput>;
|
|
11
|
-
|
|
12
|
-
// Output Schema
|
|
13
|
-
export type GetDatasetsOutput = ReadonlyArray<{
|
|
14
|
-
canWrite?: boolean;
|
|
15
|
-
created: string;
|
|
16
|
-
description: string;
|
|
17
|
-
edgeDeployment?: string;
|
|
18
|
-
edgeDeploymentUrl?: string;
|
|
19
|
-
id: string;
|
|
20
|
-
kind:
|
|
21
|
-
| "otel:metrics:v1"
|
|
22
|
-
| "otel:traces:v1"
|
|
23
|
-
| "otel:logs:v1"
|
|
24
|
-
| "axiom:events:v1";
|
|
25
|
-
mapFields?: ReadonlyArray<string>;
|
|
26
|
-
name: string;
|
|
27
|
-
retentionDays?: number;
|
|
28
|
-
sharedByOrg?: string;
|
|
29
|
-
updatedAt: string;
|
|
30
|
-
useRetentionPeriod?: boolean;
|
|
31
|
-
who: string;
|
|
32
|
-
}>;
|
|
33
|
-
export const GetDatasetsOutput = /*@__PURE__*/ Schema.Array(
|
|
34
|
-
Schema.Struct({
|
|
35
|
-
canWrite: Schema.optional(Schema.Boolean),
|
|
36
|
-
created: Schema.String,
|
|
37
|
-
description: Schema.String,
|
|
38
|
-
edgeDeployment: Schema.optional(Schema.String),
|
|
39
|
-
edgeDeploymentUrl: Schema.optional(Schema.String),
|
|
40
|
-
id: Schema.String,
|
|
41
|
-
kind: Schema.Literals([
|
|
42
|
-
"otel:metrics:v1",
|
|
43
|
-
"otel:traces:v1",
|
|
44
|
-
"otel:logs:v1",
|
|
45
|
-
"axiom:events:v1",
|
|
46
|
-
]),
|
|
47
|
-
mapFields: Schema.optional(Schema.Array(Schema.String)),
|
|
48
|
-
name: Schema.String,
|
|
49
|
-
retentionDays: Schema.optional(Schema.Number),
|
|
50
|
-
sharedByOrg: Schema.optional(Schema.String),
|
|
51
|
-
updatedAt: Schema.String,
|
|
52
|
-
useRetentionPeriod: Schema.optional(Schema.Boolean),
|
|
53
|
-
who: Schema.String,
|
|
54
|
-
}),
|
|
55
|
-
) as unknown as Schema.Codec<GetDatasetsOutput>;
|
|
56
|
-
|
|
57
|
-
// The operation
|
|
58
|
-
/**
|
|
59
|
-
* Get list of datasets
|
|
60
|
-
*/
|
|
61
|
-
export const getDatasets = /*@__PURE__*/ API.make(() => ({
|
|
62
|
-
inputSchema: GetDatasetsInput,
|
|
63
|
-
outputSchema: GetDatasetsOutput,
|
|
64
|
-
errors: [Forbidden] as const,
|
|
65
|
-
}));
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetFieldForDatasetInput {
|
|
8
|
-
dataset_id: string;
|
|
9
|
-
field_id: string;
|
|
10
|
-
}
|
|
11
|
-
export const GetFieldForDatasetInput =
|
|
12
|
-
/*@__PURE__*/ Schema.Struct({
|
|
13
|
-
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
14
|
-
field_id: Schema.String.pipe(T.PathParam()),
|
|
15
|
-
}).pipe(
|
|
16
|
-
T.Http({
|
|
17
|
-
method: "GET",
|
|
18
|
-
path: "/v2/datasets/{dataset_id}/fields/{field_id}",
|
|
19
|
-
}),
|
|
20
|
-
) as unknown as Schema.Codec<GetFieldForDatasetInput>;
|
|
21
|
-
|
|
22
|
-
// Output Schema
|
|
23
|
-
export interface GetFieldForDatasetOutput {
|
|
24
|
-
description?: string;
|
|
25
|
-
hidden?: boolean;
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
unit?: string;
|
|
29
|
-
}
|
|
30
|
-
export const GetFieldForDatasetOutput =
|
|
31
|
-
/*@__PURE__*/ Schema.Struct({
|
|
32
|
-
description: Schema.optional(Schema.String),
|
|
33
|
-
hidden: Schema.optional(Schema.Boolean),
|
|
34
|
-
name: Schema.String,
|
|
35
|
-
type: Schema.String,
|
|
36
|
-
unit: Schema.optional(Schema.String),
|
|
37
|
-
}) as unknown as Schema.Codec<GetFieldForDatasetOutput>;
|
|
38
|
-
|
|
39
|
-
// The operation
|
|
40
|
-
export const getFieldForDataset = /*@__PURE__*/ API.make(() => ({
|
|
41
|
-
inputSchema: GetFieldForDatasetInput,
|
|
42
|
-
outputSchema: GetFieldForDatasetOutput,
|
|
43
|
-
errors: [NotFound] as const,
|
|
44
|
-
}));
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { Forbidden, NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetFieldsForDatasetInput {
|
|
8
|
-
dataset_id: string;
|
|
9
|
-
}
|
|
10
|
-
export const GetFieldsForDatasetInput =
|
|
11
|
-
/*@__PURE__*/ Schema.Struct({
|
|
12
|
-
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
}).pipe(
|
|
14
|
-
T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/fields" }),
|
|
15
|
-
) as unknown as Schema.Codec<GetFieldsForDatasetInput>;
|
|
16
|
-
|
|
17
|
-
// Output Schema
|
|
18
|
-
export type GetFieldsForDatasetOutput = ReadonlyArray<{
|
|
19
|
-
description?: string;
|
|
20
|
-
hidden?: boolean;
|
|
21
|
-
name: string;
|
|
22
|
-
type: string;
|
|
23
|
-
unit?: string;
|
|
24
|
-
}>;
|
|
25
|
-
export const GetFieldsForDatasetOutput =
|
|
26
|
-
/*@__PURE__*/ Schema.Array(
|
|
27
|
-
Schema.Struct({
|
|
28
|
-
description: Schema.optional(Schema.String),
|
|
29
|
-
hidden: Schema.optional(Schema.Boolean),
|
|
30
|
-
name: Schema.String,
|
|
31
|
-
type: Schema.String,
|
|
32
|
-
unit: Schema.optional(Schema.String),
|
|
33
|
-
}),
|
|
34
|
-
) as unknown as Schema.Codec<GetFieldsForDatasetOutput>;
|
|
35
|
-
|
|
36
|
-
// The operation
|
|
37
|
-
export const getFieldsForDataset = /*@__PURE__*/ API.make(() => ({
|
|
38
|
-
inputSchema: GetFieldsForDatasetInput,
|
|
39
|
-
outputSchema: GetFieldsForDatasetOutput,
|
|
40
|
-
errors: [Forbidden, NotFound] as const,
|
|
41
|
-
}));
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetGroupByIdInput {
|
|
8
|
-
id: string;
|
|
9
|
-
}
|
|
10
|
-
export const GetGroupByIdInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
12
|
-
}).pipe(
|
|
13
|
-
T.Http({ method: "GET", path: "/v2/rbac/groups/{id}" }),
|
|
14
|
-
) as unknown as Schema.Codec<GetGroupByIdInput>;
|
|
15
|
-
|
|
16
|
-
// Output Schema
|
|
17
|
-
export interface GetGroupByIdOutput {
|
|
18
|
-
description?: string;
|
|
19
|
-
isManaged?: boolean;
|
|
20
|
-
members?: ReadonlyArray<string>;
|
|
21
|
-
name: string;
|
|
22
|
-
roles?: ReadonlyArray<string>;
|
|
23
|
-
id: string;
|
|
24
|
-
}
|
|
25
|
-
export const GetGroupByIdOutput = /*@__PURE__*/ Schema.Struct({
|
|
26
|
-
description: Schema.optional(Schema.String),
|
|
27
|
-
isManaged: Schema.optional(Schema.Boolean),
|
|
28
|
-
members: Schema.optional(Schema.Array(Schema.String)),
|
|
29
|
-
name: Schema.String,
|
|
30
|
-
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
31
|
-
id: Schema.String,
|
|
32
|
-
}) as unknown as Schema.Codec<GetGroupByIdOutput>;
|
|
33
|
-
|
|
34
|
-
// The operation
|
|
35
|
-
/**
|
|
36
|
-
* Get group by ID
|
|
37
|
-
*
|
|
38
|
-
* Retrieves detailed information about a specific group by its unique identifier.
|
|
39
|
-
*
|
|
40
|
-
* @param id - Unique identifier of the group to retrieve
|
|
41
|
-
*/
|
|
42
|
-
export const getGroupById = /*@__PURE__*/ API.make(() => ({
|
|
43
|
-
inputSchema: GetGroupByIdInput,
|
|
44
|
-
outputSchema: GetGroupByIdOutput,
|
|
45
|
-
errors: [NotFound] as const,
|
|
46
|
-
}));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetMapFieldsInput {
|
|
8
|
-
dataset_id: string;
|
|
9
|
-
}
|
|
10
|
-
export const GetMapFieldsInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
12
|
-
}).pipe(
|
|
13
|
-
T.Http({ method: "GET", path: "/v2/datasets/{dataset_id}/mapfields" }),
|
|
14
|
-
) as unknown as Schema.Codec<GetMapFieldsInput>;
|
|
15
|
-
|
|
16
|
-
// Output Schema
|
|
17
|
-
export type GetMapFieldsOutput = ReadonlyArray<string>;
|
|
18
|
-
export const GetMapFieldsOutput = /*@__PURE__*/ Schema.Array(
|
|
19
|
-
Schema.String,
|
|
20
|
-
) as unknown as Schema.Codec<GetMapFieldsOutput>;
|
|
21
|
-
|
|
22
|
-
// The operation
|
|
23
|
-
export const getMapFields = /*@__PURE__*/ API.make(() => ({
|
|
24
|
-
inputSchema: GetMapFieldsInput,
|
|
25
|
-
outputSchema: GetMapFieldsOutput,
|
|
26
|
-
errors: [NotFound] as const,
|
|
27
|
-
}));
|