@distilled.cloud/axiom 0.30.3 → 1.0.0-rc.10
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/LICENSE +201 -0
- package/lib/credentials.d.ts +7 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +21 -5
- 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 +9 -6
- 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 +64 -0
- package/lib/services/edge_ingest.d.ts.map +1 -0
- package/lib/services/edge_ingest.js +60 -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 +2813 -0
- package/lib/services/v2.d.ts.map +1 -0
- package/lib/services/v2.js +2502 -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 +43 -46
- package/src/credentials.ts +31 -6
- package/src/edge-ingest.ts +6 -1
- package/src/edge-query.ts +6 -1
- package/src/errors.ts +9 -6
- package/src/index.ts +33 -11
- package/src/protocol.ts +111 -0
- package/src/retry.ts +3 -4
- package/src/services/edge_ingest.ts +122 -0
- package/src/services/edge_query.ts +197 -0
- package/src/services/index.ts +4 -0
- package/src/services/v2.ts +6692 -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,35 +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 GetViewsInput {}
|
|
7
|
-
export const GetViewsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
-
T.Http({ method: "GET", path: "/v2/views" }),
|
|
9
|
-
) as unknown as Schema.Codec<GetViewsInput>;
|
|
10
|
-
|
|
11
|
-
// Output Schema
|
|
12
|
-
export type GetViewsOutput = ReadonlyArray<{
|
|
13
|
-
aplQuery: string;
|
|
14
|
-
datasets?: ReadonlyArray<string>;
|
|
15
|
-
description?: string;
|
|
16
|
-
name: string;
|
|
17
|
-
sharedByOrg?: string;
|
|
18
|
-
sharedByOrgName?: string;
|
|
19
|
-
}>;
|
|
20
|
-
export const GetViewsOutput = /*@__PURE__*/ Schema.Array(
|
|
21
|
-
Schema.Struct({
|
|
22
|
-
aplQuery: Schema.String,
|
|
23
|
-
datasets: Schema.optional(Schema.Array(Schema.String)),
|
|
24
|
-
description: Schema.optional(Schema.String),
|
|
25
|
-
name: Schema.String,
|
|
26
|
-
sharedByOrg: Schema.optional(Schema.String),
|
|
27
|
-
sharedByOrgName: Schema.optional(Schema.String),
|
|
28
|
-
}),
|
|
29
|
-
) as unknown as Schema.Codec<GetViewsOutput>;
|
|
30
|
-
|
|
31
|
-
// The operation
|
|
32
|
-
export const getViews = /*@__PURE__*/ API.make(() => ({
|
|
33
|
-
inputSchema: GetViewsInput,
|
|
34
|
-
outputSchema: GetViewsOutput,
|
|
35
|
-
}));
|
|
@@ -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 { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface GetVirtualFieldInput {
|
|
8
|
-
id: string;
|
|
9
|
-
}
|
|
10
|
-
export const GetVirtualFieldInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
12
|
-
}).pipe(
|
|
13
|
-
T.Http({ method: "GET", path: "/v2/vfields/{id}" }),
|
|
14
|
-
) as unknown as Schema.Codec<GetVirtualFieldInput>;
|
|
15
|
-
|
|
16
|
-
// Output Schema
|
|
17
|
-
export interface GetVirtualFieldOutput {
|
|
18
|
-
dataset: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
expression: string;
|
|
21
|
-
name: string;
|
|
22
|
-
type?: string;
|
|
23
|
-
unit?: string;
|
|
24
|
-
id: string;
|
|
25
|
-
}
|
|
26
|
-
export const GetVirtualFieldOutput = /*@__PURE__*/ Schema.Struct({
|
|
27
|
-
dataset: Schema.String,
|
|
28
|
-
description: Schema.optional(Schema.String),
|
|
29
|
-
expression: Schema.String,
|
|
30
|
-
name: Schema.String,
|
|
31
|
-
type: Schema.optional(Schema.String),
|
|
32
|
-
unit: Schema.optional(Schema.String),
|
|
33
|
-
id: Schema.String,
|
|
34
|
-
}) as unknown as Schema.Codec<GetVirtualFieldOutput>;
|
|
35
|
-
|
|
36
|
-
// The operation
|
|
37
|
-
export const getVirtualField = /*@__PURE__*/ API.make(() => ({
|
|
38
|
-
inputSchema: GetVirtualFieldInput,
|
|
39
|
-
outputSchema: GetVirtualFieldOutput,
|
|
40
|
-
errors: [NotFound] as const,
|
|
41
|
-
}));
|
|
@@ -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
|
-
|
|
5
|
-
// Input Schema
|
|
6
|
-
export interface GetVirtualFieldsInput {
|
|
7
|
-
dataset: string;
|
|
8
|
-
}
|
|
9
|
-
export const GetVirtualFieldsInput = /*@__PURE__*/ Schema.Struct({
|
|
10
|
-
dataset: Schema.String,
|
|
11
|
-
}).pipe(
|
|
12
|
-
T.Http({ method: "GET", path: "/v2/vfields" }),
|
|
13
|
-
) as unknown as Schema.Codec<GetVirtualFieldsInput>;
|
|
14
|
-
|
|
15
|
-
// Output Schema
|
|
16
|
-
export type GetVirtualFieldsOutput = ReadonlyArray<{
|
|
17
|
-
dataset: string;
|
|
18
|
-
description?: string;
|
|
19
|
-
expression: string;
|
|
20
|
-
name: string;
|
|
21
|
-
type?: string;
|
|
22
|
-
unit?: string;
|
|
23
|
-
id: string;
|
|
24
|
-
}>;
|
|
25
|
-
export const GetVirtualFieldsOutput = /*@__PURE__*/ Schema.Array(
|
|
26
|
-
Schema.Struct({
|
|
27
|
-
dataset: Schema.String,
|
|
28
|
-
description: Schema.optional(Schema.String),
|
|
29
|
-
expression: Schema.String,
|
|
30
|
-
name: Schema.String,
|
|
31
|
-
type: Schema.optional(Schema.String),
|
|
32
|
-
unit: Schema.optional(Schema.String),
|
|
33
|
-
id: Schema.String,
|
|
34
|
-
}),
|
|
35
|
-
) as unknown as Schema.Codec<GetVirtualFieldsOutput>;
|
|
36
|
-
|
|
37
|
-
// The operation
|
|
38
|
-
export const getVirtualFields = /*@__PURE__*/ API.make(() => ({
|
|
39
|
-
inputSchema: GetVirtualFieldsInput,
|
|
40
|
-
outputSchema: GetVirtualFieldsOutput,
|
|
41
|
-
}));
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export * from "./getAnnotations.ts";
|
|
2
|
-
export * from "./createAnnotation.ts";
|
|
3
|
-
export * from "./getAnnotation.ts";
|
|
4
|
-
export * from "./updateAnnotation.ts";
|
|
5
|
-
export * from "./deleteAnnotation.ts";
|
|
6
|
-
export * from "./getDatasets.ts";
|
|
7
|
-
export * from "./createDataset.ts";
|
|
8
|
-
export * from "./getDataset.ts";
|
|
9
|
-
export * from "./updateDataset.ts";
|
|
10
|
-
export * from "./deleteDataset.ts";
|
|
11
|
-
export * from "./trimDataset.ts";
|
|
12
|
-
export * from "./vacuumDataset.ts";
|
|
13
|
-
export * from "./getFieldsForDataset.ts";
|
|
14
|
-
export * from "./getFieldForDataset.ts";
|
|
15
|
-
export * from "./updateFieldForDataset.ts";
|
|
16
|
-
export * from "./getMapFields.ts";
|
|
17
|
-
export * from "./createMapField.ts";
|
|
18
|
-
export * from "./updateMapFields.ts";
|
|
19
|
-
export * from "./deleteMapField.ts";
|
|
20
|
-
export * from "./getMonitors.ts";
|
|
21
|
-
export * from "./createMonitor.ts";
|
|
22
|
-
export * from "./getMonitor.ts";
|
|
23
|
-
export * from "./updateMonitor.ts";
|
|
24
|
-
export * from "./deleteMonitor.ts";
|
|
25
|
-
export * from "./getMonitorHistory.ts";
|
|
26
|
-
export * from "./getNotifiers.ts";
|
|
27
|
-
export * from "./createNotifier.ts";
|
|
28
|
-
export * from "./getNotifier.ts";
|
|
29
|
-
export * from "./updateNotifier.ts";
|
|
30
|
-
export * from "./deleteNotifier.ts";
|
|
31
|
-
export * from "./getOrgs.ts";
|
|
32
|
-
export * from "./createOrg.ts";
|
|
33
|
-
export * from "./getOrg.ts";
|
|
34
|
-
export * from "./updateOrg.ts";
|
|
35
|
-
export * from "./listRoles.ts";
|
|
36
|
-
export * from "./createRole.ts";
|
|
37
|
-
export * from "./getRoleById.ts";
|
|
38
|
-
export * from "./updateRole.ts";
|
|
39
|
-
export * from "./deleteRole.ts";
|
|
40
|
-
export * from "./listGroups.ts";
|
|
41
|
-
export * from "./createGroup.ts";
|
|
42
|
-
export * from "./getGroupById.ts";
|
|
43
|
-
export * from "./updateGroup.ts";
|
|
44
|
-
export * from "./deleteGroup.ts";
|
|
45
|
-
export * from "./getStarredQueries.ts";
|
|
46
|
-
export * from "./createStarred.ts";
|
|
47
|
-
export * from "./getStarred.ts";
|
|
48
|
-
export * from "./updateStarred.ts";
|
|
49
|
-
export * from "./deleteStarred.ts";
|
|
50
|
-
export * from "./getAPITokens.ts";
|
|
51
|
-
export * from "./createAPIToken.ts";
|
|
52
|
-
export * from "./getAPIToken.ts";
|
|
53
|
-
export * from "./deleteAPIToken.ts";
|
|
54
|
-
export * from "./regenerateAPIToken.ts";
|
|
55
|
-
export * from "./getCurrentUser.ts";
|
|
56
|
-
export * from "./updateCurrentUser.ts";
|
|
57
|
-
export * from "./getUsers.ts";
|
|
58
|
-
export * from "./createUser.ts";
|
|
59
|
-
export * from "./getUser.ts";
|
|
60
|
-
export * from "./removeUserFromOrg.ts";
|
|
61
|
-
export * from "./updateUserRole.ts";
|
|
62
|
-
export * from "./getVirtualFields.ts";
|
|
63
|
-
export * from "./createVirtualField.ts";
|
|
64
|
-
export * from "./getVirtualField.ts";
|
|
65
|
-
export * from "./updateVirtualField.ts";
|
|
66
|
-
export * from "./deleteVirtualField.ts";
|
|
67
|
-
export * from "./getViews.ts";
|
|
68
|
-
export * from "./createView.ts";
|
|
69
|
-
export * from "./getView.ts";
|
|
70
|
-
export * from "./updateView.ts";
|
|
71
|
-
export * from "./deleteView.ts";
|
|
72
|
-
export * from "./listDashboards.ts";
|
|
73
|
-
export * from "./createDashboard.ts";
|
|
74
|
-
export * from "./getDashboard.ts";
|
|
75
|
-
export * from "./updateDashboard.ts";
|
|
76
|
-
export * from "./deleteDashboard.ts";
|
|
77
|
-
export * from "./patchDashboardChart.ts";
|
|
@@ -1,254 +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 ListDashboardsInput {
|
|
7
|
-
limit?: number;
|
|
8
|
-
offset?: number;
|
|
9
|
-
}
|
|
10
|
-
export const ListDashboardsInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
limit: Schema.optional(Schema.Number),
|
|
12
|
-
offset: Schema.optional(Schema.Number),
|
|
13
|
-
}).pipe(
|
|
14
|
-
T.Http({ method: "GET", path: "/v2/dashboards" }),
|
|
15
|
-
) as unknown as Schema.Codec<ListDashboardsInput>;
|
|
16
|
-
|
|
17
|
-
// Output Schema
|
|
18
|
-
export type ListDashboardsOutput = ReadonlyArray<{
|
|
19
|
-
createdAt: string;
|
|
20
|
-
createdBy: string;
|
|
21
|
-
dashboard: {
|
|
22
|
-
name: string;
|
|
23
|
-
owner: string;
|
|
24
|
-
description?: string;
|
|
25
|
-
charts: ReadonlyArray<
|
|
26
|
-
| { id: string; type: "TimeSeries"; name?: string; query: unknown }
|
|
27
|
-
| { id: string; type: "Heatmap"; name?: string; query: unknown }
|
|
28
|
-
| {
|
|
29
|
-
id: string;
|
|
30
|
-
type: "LogStream";
|
|
31
|
-
name?: string;
|
|
32
|
-
query: unknown;
|
|
33
|
-
tableSettings?: {
|
|
34
|
-
columns?: ReadonlyArray<unknown>;
|
|
35
|
-
settings?: {
|
|
36
|
-
fontSize?: string;
|
|
37
|
-
highlightSeverity?: boolean;
|
|
38
|
-
showRaw?: boolean;
|
|
39
|
-
showEvent?: boolean;
|
|
40
|
-
showTimestamp?: boolean;
|
|
41
|
-
wrapLines?: boolean;
|
|
42
|
-
hideNulls?: boolean;
|
|
43
|
-
fitColumns?: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
| { id: string; type: "Pie"; name?: string; query: unknown }
|
|
48
|
-
| { id: string; type: "Scatter"; name?: string; query: unknown }
|
|
49
|
-
| {
|
|
50
|
-
id: string;
|
|
51
|
-
type: "Table";
|
|
52
|
-
name?: string;
|
|
53
|
-
query: unknown;
|
|
54
|
-
tableSettings?: {
|
|
55
|
-
columns?: ReadonlyArray<unknown>;
|
|
56
|
-
settings?: {
|
|
57
|
-
fontSize?: string;
|
|
58
|
-
highlightSeverity?: boolean;
|
|
59
|
-
showRaw?: boolean;
|
|
60
|
-
showEvent?: boolean;
|
|
61
|
-
showTimestamp?: boolean;
|
|
62
|
-
wrapLines?: boolean;
|
|
63
|
-
hideNulls?: boolean;
|
|
64
|
-
fitColumns?: boolean;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
| { id: string; type: "TopK"; name?: string; query: unknown }
|
|
69
|
-
| {
|
|
70
|
-
id: string;
|
|
71
|
-
type: "Statistic";
|
|
72
|
-
name?: string;
|
|
73
|
-
query: unknown;
|
|
74
|
-
colorScheme?:
|
|
75
|
-
| "Blue"
|
|
76
|
-
| "Orange"
|
|
77
|
-
| "Red"
|
|
78
|
-
| "Purple"
|
|
79
|
-
| "Teal"
|
|
80
|
-
| "Yellow"
|
|
81
|
-
| "Green"
|
|
82
|
-
| "Pink"
|
|
83
|
-
| "Grey"
|
|
84
|
-
| "Brown";
|
|
85
|
-
customUnits?: string;
|
|
86
|
-
showChart?: boolean | string;
|
|
87
|
-
hideValue?: boolean;
|
|
88
|
-
chartHeight?: string | number;
|
|
89
|
-
errorThreshold?:
|
|
90
|
-
| "Above"
|
|
91
|
-
| "AboveOrEqual"
|
|
92
|
-
| "Below"
|
|
93
|
-
| "BelowOrEqual"
|
|
94
|
-
| "AboveOrBelow";
|
|
95
|
-
errorThresholdValue?: string;
|
|
96
|
-
warningThreshold?:
|
|
97
|
-
| "Above"
|
|
98
|
-
| "AboveOrEqual"
|
|
99
|
-
| "Below"
|
|
100
|
-
| "BelowOrEqual"
|
|
101
|
-
| "AboveOrBelow";
|
|
102
|
-
warningThresholdValue?: string;
|
|
103
|
-
invertTheme?: boolean;
|
|
104
|
-
background?: string;
|
|
105
|
-
textColor?: string;
|
|
106
|
-
labelColor?: string;
|
|
107
|
-
chartFillColor?: string;
|
|
108
|
-
okColorProps?: {
|
|
109
|
-
background?: string;
|
|
110
|
-
chartFillColor?: string;
|
|
111
|
-
labelColor?: string;
|
|
112
|
-
textColor?: string;
|
|
113
|
-
};
|
|
114
|
-
warningColorProps?: {
|
|
115
|
-
background?: string;
|
|
116
|
-
chartFillColor?: string;
|
|
117
|
-
labelColor?: string;
|
|
118
|
-
textColor?: string;
|
|
119
|
-
};
|
|
120
|
-
errorColorProps?: {
|
|
121
|
-
background?: string;
|
|
122
|
-
chartFillColor?: string;
|
|
123
|
-
labelColor?: string;
|
|
124
|
-
textColor?: string;
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
| { id: string; type: "Note"; text: string; variant?: "default" }
|
|
128
|
-
| {
|
|
129
|
-
id: string;
|
|
130
|
-
type: "MonitorList";
|
|
131
|
-
name?: string;
|
|
132
|
-
selectedMonitors: ReadonlyArray<string>;
|
|
133
|
-
columns: {
|
|
134
|
-
status: boolean;
|
|
135
|
-
history: boolean;
|
|
136
|
-
dataset: boolean;
|
|
137
|
-
type: boolean;
|
|
138
|
-
notifiers: boolean;
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
| {
|
|
142
|
-
id: string;
|
|
143
|
-
type: "SmartFilter";
|
|
144
|
-
name?: string;
|
|
145
|
-
filters: ReadonlyArray<unknown>;
|
|
146
|
-
logo?: string;
|
|
147
|
-
logoDark?: string;
|
|
148
|
-
}
|
|
149
|
-
| { id: string; type: "Spacer"; name?: string }
|
|
150
|
-
>;
|
|
151
|
-
layout: ReadonlyArray<{
|
|
152
|
-
i: string;
|
|
153
|
-
x: number;
|
|
154
|
-
y: number | null;
|
|
155
|
-
w: number;
|
|
156
|
-
h: number;
|
|
157
|
-
minW?: number;
|
|
158
|
-
minH?: number;
|
|
159
|
-
maxW?: number;
|
|
160
|
-
maxH?: number;
|
|
161
|
-
static?: boolean;
|
|
162
|
-
}>;
|
|
163
|
-
refreshTime: 15 | 60 | 300;
|
|
164
|
-
schemaVersion: 2;
|
|
165
|
-
against?:
|
|
166
|
-
| "-1h"
|
|
167
|
-
| "-3h"
|
|
168
|
-
| "-6h"
|
|
169
|
-
| "-12h"
|
|
170
|
-
| "-1d"
|
|
171
|
-
| "-3d"
|
|
172
|
-
| "-7d"
|
|
173
|
-
| "-1w"
|
|
174
|
-
| "-2w"
|
|
175
|
-
| "-3w"
|
|
176
|
-
| "-30d"
|
|
177
|
-
| "-60d"
|
|
178
|
-
| "-90d";
|
|
179
|
-
againstTimestamp?: string;
|
|
180
|
-
timeWindowStart: string;
|
|
181
|
-
timeWindowEnd: string;
|
|
182
|
-
uid?: string;
|
|
183
|
-
};
|
|
184
|
-
id: string;
|
|
185
|
-
uid: string;
|
|
186
|
-
updatedAt: string;
|
|
187
|
-
updatedBy: string;
|
|
188
|
-
version: string | number;
|
|
189
|
-
}>;
|
|
190
|
-
export const ListDashboardsOutput = /*@__PURE__*/ Schema.Array(
|
|
191
|
-
Schema.Struct({
|
|
192
|
-
createdAt: Schema.String,
|
|
193
|
-
createdBy: Schema.String,
|
|
194
|
-
dashboard: Schema.Struct({
|
|
195
|
-
name: Schema.String,
|
|
196
|
-
owner: Schema.String,
|
|
197
|
-
description: Schema.optional(Schema.String),
|
|
198
|
-
charts: Schema.Array(Schema.Unknown),
|
|
199
|
-
layout: Schema.Array(
|
|
200
|
-
Schema.Struct({
|
|
201
|
-
i: Schema.String,
|
|
202
|
-
x: Schema.Number,
|
|
203
|
-
y: Schema.NullOr(Schema.Number),
|
|
204
|
-
w: Schema.Number,
|
|
205
|
-
h: Schema.Number,
|
|
206
|
-
minW: Schema.optional(Schema.Number),
|
|
207
|
-
minH: Schema.optional(Schema.Number),
|
|
208
|
-
maxW: Schema.optional(Schema.Number),
|
|
209
|
-
maxH: Schema.optional(Schema.Number),
|
|
210
|
-
static: Schema.optional(Schema.Boolean),
|
|
211
|
-
}),
|
|
212
|
-
),
|
|
213
|
-
refreshTime: Schema.Literals([15, 60, 300]),
|
|
214
|
-
schemaVersion: Schema.Literals([2]),
|
|
215
|
-
against: Schema.optional(
|
|
216
|
-
Schema.Literals([
|
|
217
|
-
"-1h",
|
|
218
|
-
"-3h",
|
|
219
|
-
"-6h",
|
|
220
|
-
"-12h",
|
|
221
|
-
"-1d",
|
|
222
|
-
"-3d",
|
|
223
|
-
"-7d",
|
|
224
|
-
"-1w",
|
|
225
|
-
"-2w",
|
|
226
|
-
"-3w",
|
|
227
|
-
"-30d",
|
|
228
|
-
"-60d",
|
|
229
|
-
"-90d",
|
|
230
|
-
]),
|
|
231
|
-
),
|
|
232
|
-
againstTimestamp: Schema.optional(Schema.String),
|
|
233
|
-
timeWindowStart: Schema.String,
|
|
234
|
-
timeWindowEnd: Schema.String,
|
|
235
|
-
uid: Schema.optional(Schema.String),
|
|
236
|
-
}),
|
|
237
|
-
id: Schema.String,
|
|
238
|
-
uid: Schema.String,
|
|
239
|
-
updatedAt: Schema.String,
|
|
240
|
-
updatedBy: Schema.String,
|
|
241
|
-
version: Schema.Union([Schema.String, Schema.Number]),
|
|
242
|
-
}),
|
|
243
|
-
) as unknown as Schema.Codec<ListDashboardsOutput>;
|
|
244
|
-
|
|
245
|
-
// The operation
|
|
246
|
-
/**
|
|
247
|
-
* List dashboards
|
|
248
|
-
*
|
|
249
|
-
* List dashboards visible to the caller.
|
|
250
|
-
*/
|
|
251
|
-
export const listDashboards = /*@__PURE__*/ API.make(() => ({
|
|
252
|
-
inputSchema: ListDashboardsInput,
|
|
253
|
-
outputSchema: ListDashboardsOutput,
|
|
254
|
-
}));
|
|
@@ -1,40 +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 ListGroupsInput {}
|
|
7
|
-
export const ListGroupsInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
-
T.Http({ method: "GET", path: "/v2/rbac/groups" }),
|
|
9
|
-
) as unknown as Schema.Codec<ListGroupsInput>;
|
|
10
|
-
|
|
11
|
-
// Output Schema
|
|
12
|
-
export type ListGroupsOutput = ReadonlyArray<{
|
|
13
|
-
description?: string;
|
|
14
|
-
isManaged?: boolean;
|
|
15
|
-
members?: ReadonlyArray<string>;
|
|
16
|
-
name: string;
|
|
17
|
-
roles?: ReadonlyArray<string>;
|
|
18
|
-
id: string;
|
|
19
|
-
}>;
|
|
20
|
-
export const ListGroupsOutput = /*@__PURE__*/ Schema.Array(
|
|
21
|
-
Schema.Struct({
|
|
22
|
-
description: Schema.optional(Schema.String),
|
|
23
|
-
isManaged: Schema.optional(Schema.Boolean),
|
|
24
|
-
members: Schema.optional(Schema.Array(Schema.String)),
|
|
25
|
-
name: Schema.String,
|
|
26
|
-
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
27
|
-
id: Schema.String,
|
|
28
|
-
}),
|
|
29
|
-
) as unknown as Schema.Codec<ListGroupsOutput>;
|
|
30
|
-
|
|
31
|
-
// The operation
|
|
32
|
-
/**
|
|
33
|
-
* List all groups
|
|
34
|
-
*
|
|
35
|
-
* Retrieves all groups in the organization.
|
|
36
|
-
*/
|
|
37
|
-
export const listGroups = /*@__PURE__*/ API.make(() => ({
|
|
38
|
-
inputSchema: ListGroupsInput,
|
|
39
|
-
outputSchema: ListGroupsOutput,
|
|
40
|
-
}));
|
|
@@ -1,156 +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 ListRolesInput {}
|
|
7
|
-
export const ListRolesInput = /*@__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
-
T.Http({ method: "GET", path: "/v2/rbac/roles" }),
|
|
9
|
-
) as unknown as Schema.Codec<ListRolesInput>;
|
|
10
|
-
|
|
11
|
-
// Output Schema
|
|
12
|
-
export type ListRolesOutput = ReadonlyArray<{
|
|
13
|
-
datasetCapabilities?: Record<
|
|
14
|
-
string,
|
|
15
|
-
{
|
|
16
|
-
data?: ReadonlyArray<"delete">;
|
|
17
|
-
ingest?: ReadonlyArray<"create">;
|
|
18
|
-
query?: ReadonlyArray<"read">;
|
|
19
|
-
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
20
|
-
starredQueries?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
21
|
-
trim?: ReadonlyArray<"update">;
|
|
22
|
-
vacuum?: ReadonlyArray<"update">;
|
|
23
|
-
virtualFields?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
24
|
-
}
|
|
25
|
-
>;
|
|
26
|
-
description?: string;
|
|
27
|
-
members?: ReadonlyArray<string>;
|
|
28
|
-
name: string;
|
|
29
|
-
orgCapabilities?: {
|
|
30
|
-
annotations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
31
|
-
apiTokens?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
32
|
-
auditLog?: ReadonlyArray<"read">;
|
|
33
|
-
billing?: ReadonlyArray<"read" | "update">;
|
|
34
|
-
dashboards?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
35
|
-
datasets?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
36
|
-
endpoints?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
37
|
-
flows?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
38
|
-
integrations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
39
|
-
monitors?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
40
|
-
notifiers?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
41
|
-
rbac?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
42
|
-
sharedAccessKeys?: ReadonlyArray<"read" | "update">;
|
|
43
|
-
users?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
44
|
-
views?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
45
|
-
};
|
|
46
|
-
viewCapabilities?: Record<
|
|
47
|
-
string,
|
|
48
|
-
{
|
|
49
|
-
query?: ReadonlyArray<"read">;
|
|
50
|
-
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
51
|
-
}
|
|
52
|
-
>;
|
|
53
|
-
id: string;
|
|
54
|
-
}>;
|
|
55
|
-
export const ListRolesOutput = /*@__PURE__*/ Schema.Array(
|
|
56
|
-
Schema.Struct({
|
|
57
|
-
datasetCapabilities: Schema.optional(
|
|
58
|
-
Schema.Record(
|
|
59
|
-
Schema.String,
|
|
60
|
-
Schema.Struct({
|
|
61
|
-
data: Schema.optional(Schema.Array(Schema.Literals(["delete"]))),
|
|
62
|
-
ingest: Schema.optional(Schema.Array(Schema.Literals(["create"]))),
|
|
63
|
-
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
64
|
-
share: Schema.optional(
|
|
65
|
-
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
66
|
-
),
|
|
67
|
-
starredQueries: Schema.optional(
|
|
68
|
-
Schema.Array(
|
|
69
|
-
Schema.Literals(["create", "read", "update", "delete"]),
|
|
70
|
-
),
|
|
71
|
-
),
|
|
72
|
-
trim: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
73
|
-
vacuum: Schema.optional(Schema.Array(Schema.Literals(["update"]))),
|
|
74
|
-
virtualFields: Schema.optional(
|
|
75
|
-
Schema.Array(
|
|
76
|
-
Schema.Literals(["create", "read", "update", "delete"]),
|
|
77
|
-
),
|
|
78
|
-
),
|
|
79
|
-
}),
|
|
80
|
-
),
|
|
81
|
-
),
|
|
82
|
-
description: Schema.optional(Schema.String),
|
|
83
|
-
members: Schema.optional(Schema.Array(Schema.String)),
|
|
84
|
-
name: Schema.String,
|
|
85
|
-
orgCapabilities: Schema.optional(
|
|
86
|
-
Schema.Struct({
|
|
87
|
-
annotations: Schema.optional(
|
|
88
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
89
|
-
),
|
|
90
|
-
apiTokens: Schema.optional(
|
|
91
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
92
|
-
),
|
|
93
|
-
auditLog: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
94
|
-
billing: Schema.optional(
|
|
95
|
-
Schema.Array(Schema.Literals(["read", "update"])),
|
|
96
|
-
),
|
|
97
|
-
dashboards: Schema.optional(
|
|
98
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
99
|
-
),
|
|
100
|
-
datasets: Schema.optional(
|
|
101
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
102
|
-
),
|
|
103
|
-
endpoints: Schema.optional(
|
|
104
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
105
|
-
),
|
|
106
|
-
flows: Schema.optional(
|
|
107
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
108
|
-
),
|
|
109
|
-
integrations: Schema.optional(
|
|
110
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
111
|
-
),
|
|
112
|
-
monitors: Schema.optional(
|
|
113
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
114
|
-
),
|
|
115
|
-
notifiers: Schema.optional(
|
|
116
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
117
|
-
),
|
|
118
|
-
rbac: Schema.optional(
|
|
119
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
120
|
-
),
|
|
121
|
-
sharedAccessKeys: Schema.optional(
|
|
122
|
-
Schema.Array(Schema.Literals(["read", "update"])),
|
|
123
|
-
),
|
|
124
|
-
users: Schema.optional(
|
|
125
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
126
|
-
),
|
|
127
|
-
views: Schema.optional(
|
|
128
|
-
Schema.Array(Schema.Literals(["create", "read", "update", "delete"])),
|
|
129
|
-
),
|
|
130
|
-
}),
|
|
131
|
-
),
|
|
132
|
-
viewCapabilities: Schema.optional(
|
|
133
|
-
Schema.Record(
|
|
134
|
-
Schema.String,
|
|
135
|
-
Schema.Struct({
|
|
136
|
-
query: Schema.optional(Schema.Array(Schema.Literals(["read"]))),
|
|
137
|
-
share: Schema.optional(
|
|
138
|
-
Schema.Array(Schema.Literals(["create", "read", "delete"])),
|
|
139
|
-
),
|
|
140
|
-
}),
|
|
141
|
-
),
|
|
142
|
-
),
|
|
143
|
-
id: Schema.String,
|
|
144
|
-
}),
|
|
145
|
-
) as unknown as Schema.Codec<ListRolesOutput>;
|
|
146
|
-
|
|
147
|
-
// The operation
|
|
148
|
-
/**
|
|
149
|
-
* List all roles
|
|
150
|
-
*
|
|
151
|
-
* Retrieves all roles in the organization with their associated permissions and members.
|
|
152
|
-
*/
|
|
153
|
-
export const listRoles = /*@__PURE__*/ API.make(() => ({
|
|
154
|
-
inputSchema: ListRolesInput,
|
|
155
|
-
outputSchema: ListRolesOutput,
|
|
156
|
-
}));
|