@distilled.cloud/axiom 0.27.0 → 0.28.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/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +20 -35
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +1 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.js +0 -2
- package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +1 -1
- package/lib/operations/v1-edge-query/queryApl.d.ts +57 -115
- package/lib/operations/v1-edge-query/queryApl.d.ts.map +1 -1
- package/lib/operations/v1-edge-query/queryApl.js +2 -5
- package/lib/operations/v1-edge-query/queryApl.js.map +1 -1
- package/lib/operations/v2/createAPIToken.d.ts +77 -158
- package/lib/operations/v2/createAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/createAPIToken.js +0 -2
- package/lib/operations/v2/createAPIToken.js.map +1 -1
- package/lib/operations/v2/createAnnotation.d.ts +22 -39
- package/lib/operations/v2/createAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/createAnnotation.js +0 -2
- package/lib/operations/v2/createAnnotation.js.map +1 -1
- package/lib/operations/v2/createDashboard.d.ts +323 -138
- package/lib/operations/v2/createDashboard.d.ts.map +1 -1
- package/lib/operations/v2/createDashboard.js +2 -4
- package/lib/operations/v2/createDashboard.js.map +1 -1
- package/lib/operations/v2/createDataset.d.ts +28 -47
- package/lib/operations/v2/createDataset.d.ts.map +1 -1
- package/lib/operations/v2/createDataset.js +2 -2
- package/lib/operations/v2/createDataset.js.map +1 -1
- package/lib/operations/v2/createGroup.d.ts +18 -31
- package/lib/operations/v2/createGroup.d.ts.map +1 -1
- package/lib/operations/v2/createGroup.js +0 -2
- package/lib/operations/v2/createGroup.js.map +1 -1
- package/lib/operations/v2/createMapField.d.ts +10 -15
- package/lib/operations/v2/createMapField.d.ts.map +1 -1
- package/lib/operations/v2/createMapField.js +0 -2
- package/lib/operations/v2/createMapField.js.map +1 -1
- package/lib/operations/v2/createMonitor.d.ts +60 -111
- package/lib/operations/v2/createMonitor.d.ts.map +1 -1
- package/lib/operations/v2/createMonitor.js +2 -2
- package/lib/operations/v2/createMonitor.js.map +1 -1
- package/lib/operations/v2/createNotifier.d.ts +89 -175
- package/lib/operations/v2/createNotifier.d.ts.map +1 -1
- package/lib/operations/v2/createNotifier.js +5 -4
- package/lib/operations/v2/createNotifier.js.map +1 -1
- package/lib/operations/v2/createOrg.d.ts +47 -98
- package/lib/operations/v2/createOrg.d.ts.map +1 -1
- package/lib/operations/v2/createOrg.js +2 -9
- package/lib/operations/v2/createOrg.js.map +1 -1
- package/lib/operations/v2/createRole.d.ts +76 -155
- package/lib/operations/v2/createRole.d.ts.map +1 -1
- package/lib/operations/v2/createRole.js +0 -2
- package/lib/operations/v2/createRole.js.map +1 -1
- package/lib/operations/v2/createStarred.d.ts +80 -161
- package/lib/operations/v2/createStarred.d.ts.map +1 -1
- package/lib/operations/v2/createStarred.js +0 -2
- package/lib/operations/v2/createStarred.js.map +1 -1
- package/lib/operations/v2/createUser.d.ts +17 -29
- package/lib/operations/v2/createUser.d.ts.map +1 -1
- package/lib/operations/v2/createUser.js +0 -2
- package/lib/operations/v2/createUser.js.map +1 -1
- package/lib/operations/v2/createView.d.ts +19 -33
- package/lib/operations/v2/createView.d.ts.map +1 -1
- package/lib/operations/v2/createView.js +0 -2
- package/lib/operations/v2/createView.js.map +1 -1
- package/lib/operations/v2/createVirtualField.d.ts +20 -35
- package/lib/operations/v2/createVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/createVirtualField.js +0 -2
- package/lib/operations/v2/createVirtualField.js.map +1 -1
- package/lib/operations/v2/deleteAPIToken.d.ts +7 -9
- package/lib/operations/v2/deleteAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/deleteAPIToken.js +2 -3
- package/lib/operations/v2/deleteAPIToken.js.map +1 -1
- package/lib/operations/v2/deleteAnnotation.d.ts +7 -9
- package/lib/operations/v2/deleteAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/deleteAnnotation.js +2 -3
- package/lib/operations/v2/deleteAnnotation.js.map +1 -1
- package/lib/operations/v2/deleteDashboard.d.ts +7 -9
- package/lib/operations/v2/deleteDashboard.d.ts.map +1 -1
- package/lib/operations/v2/deleteDashboard.js +2 -3
- package/lib/operations/v2/deleteDashboard.js.map +1 -1
- package/lib/operations/v2/deleteDataset.d.ts +7 -9
- package/lib/operations/v2/deleteDataset.d.ts.map +1 -1
- package/lib/operations/v2/deleteDataset.js +2 -3
- package/lib/operations/v2/deleteDataset.js.map +1 -1
- package/lib/operations/v2/deleteGroup.d.ts +7 -9
- package/lib/operations/v2/deleteGroup.d.ts.map +1 -1
- package/lib/operations/v2/deleteGroup.js +2 -3
- package/lib/operations/v2/deleteGroup.js.map +1 -1
- package/lib/operations/v2/deleteMapField.d.ts +8 -11
- package/lib/operations/v2/deleteMapField.d.ts.map +1 -1
- package/lib/operations/v2/deleteMapField.js +2 -3
- package/lib/operations/v2/deleteMapField.js.map +1 -1
- package/lib/operations/v2/deleteMonitor.d.ts +7 -9
- package/lib/operations/v2/deleteMonitor.d.ts.map +1 -1
- package/lib/operations/v2/deleteMonitor.js +2 -3
- package/lib/operations/v2/deleteMonitor.js.map +1 -1
- package/lib/operations/v2/deleteNotifier.d.ts +7 -9
- package/lib/operations/v2/deleteNotifier.d.ts.map +1 -1
- package/lib/operations/v2/deleteNotifier.js +2 -3
- package/lib/operations/v2/deleteNotifier.js.map +1 -1
- package/lib/operations/v2/deleteRole.d.ts +7 -9
- package/lib/operations/v2/deleteRole.d.ts.map +1 -1
- package/lib/operations/v2/deleteRole.js +2 -3
- package/lib/operations/v2/deleteRole.js.map +1 -1
- package/lib/operations/v2/deleteStarred.d.ts +7 -9
- package/lib/operations/v2/deleteStarred.d.ts.map +1 -1
- package/lib/operations/v2/deleteStarred.js +2 -3
- package/lib/operations/v2/deleteStarred.js.map +1 -1
- package/lib/operations/v2/deleteView.d.ts +7 -9
- package/lib/operations/v2/deleteView.d.ts.map +1 -1
- package/lib/operations/v2/deleteView.js +2 -3
- package/lib/operations/v2/deleteView.js.map +1 -1
- package/lib/operations/v2/deleteVirtualField.d.ts +7 -9
- package/lib/operations/v2/deleteVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/deleteVirtualField.js +2 -3
- package/lib/operations/v2/deleteVirtualField.js.map +1 -1
- package/lib/operations/v2/getAPIToken.d.ts +43 -86
- package/lib/operations/v2/getAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/getAPIToken.js +0 -2
- package/lib/operations/v2/getAPIToken.js.map +1 -1
- package/lib/operations/v2/getAPITokens.d.ts +42 -82
- package/lib/operations/v2/getAPITokens.d.ts.map +1 -1
- package/lib/operations/v2/getAPITokens.js +0 -2
- package/lib/operations/v2/getAPITokens.js.map +1 -1
- package/lib/operations/v2/getAnnotation.d.ts +16 -27
- package/lib/operations/v2/getAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/getAnnotation.js +0 -2
- package/lib/operations/v2/getAnnotation.js.map +1 -1
- package/lib/operations/v2/getAnnotations.d.ts +17 -30
- package/lib/operations/v2/getAnnotations.d.ts.map +1 -1
- package/lib/operations/v2/getAnnotations.js +0 -2
- package/lib/operations/v2/getAnnotations.js.map +1 -1
- package/lib/operations/v2/getCurrentUser.d.ts +14 -21
- package/lib/operations/v2/getCurrentUser.d.ts.map +1 -1
- package/lib/operations/v2/getCurrentUser.js +0 -2
- package/lib/operations/v2/getCurrentUser.js.map +1 -1
- package/lib/operations/v2/getDashboard.d.ts +166 -75
- package/lib/operations/v2/getDashboard.d.ts.map +1 -1
- package/lib/operations/v2/getDashboard.js +1 -3
- package/lib/operations/v2/getDashboard.js.map +1 -1
- package/lib/operations/v2/getDataset.d.ts +22 -35
- package/lib/operations/v2/getDataset.d.ts.map +1 -1
- package/lib/operations/v2/getDataset.js +2 -2
- package/lib/operations/v2/getDataset.js.map +1 -1
- package/lib/operations/v2/getDatasets.d.ts +21 -31
- package/lib/operations/v2/getDatasets.d.ts.map +1 -1
- package/lib/operations/v2/getDatasets.js +2 -2
- package/lib/operations/v2/getDatasets.js.map +1 -1
- package/lib/operations/v2/getFieldForDataset.d.ts +14 -23
- package/lib/operations/v2/getFieldForDataset.d.ts.map +1 -1
- package/lib/operations/v2/getFieldForDataset.js +0 -2
- package/lib/operations/v2/getFieldForDataset.js.map +1 -1
- package/lib/operations/v2/getFieldsForDataset.d.ts +12 -20
- package/lib/operations/v2/getFieldsForDataset.d.ts.map +1 -1
- package/lib/operations/v2/getFieldsForDataset.js +0 -2
- package/lib/operations/v2/getFieldsForDataset.js.map +1 -1
- package/lib/operations/v2/getGroupById.d.ts +14 -23
- package/lib/operations/v2/getGroupById.d.ts.map +1 -1
- package/lib/operations/v2/getGroupById.js +0 -2
- package/lib/operations/v2/getGroupById.js.map +1 -1
- package/lib/operations/v2/getMapFields.d.ts +7 -9
- package/lib/operations/v2/getMapFields.d.ts.map +1 -1
- package/lib/operations/v2/getMapFields.js +0 -2
- package/lib/operations/v2/getMapFields.js.map +1 -1
- package/lib/operations/v2/getMonitor.d.ts +35 -63
- package/lib/operations/v2/getMonitor.d.ts.map +1 -1
- package/lib/operations/v2/getMonitor.js +1 -2
- package/lib/operations/v2/getMonitor.js.map +1 -1
- package/lib/operations/v2/getMonitorHistory.d.ts +13 -22
- package/lib/operations/v2/getMonitorHistory.d.ts.map +1 -1
- package/lib/operations/v2/getMonitorHistory.js +0 -2
- package/lib/operations/v2/getMonitorHistory.js.map +1 -1
- package/lib/operations/v2/getMonitors.d.ts +34 -59
- package/lib/operations/v2/getMonitors.d.ts.map +1 -1
- package/lib/operations/v2/getMonitors.js +1 -2
- package/lib/operations/v2/getMonitors.js.map +1 -1
- package/lib/operations/v2/getNotifier.d.ts +50 -95
- package/lib/operations/v2/getNotifier.d.ts.map +1 -1
- package/lib/operations/v2/getNotifier.js +4 -4
- package/lib/operations/v2/getNotifier.js.map +1 -1
- package/lib/operations/v2/getNotifiers.d.ts +49 -91
- package/lib/operations/v2/getNotifiers.d.ts.map +1 -1
- package/lib/operations/v2/getNotifiers.js +4 -4
- package/lib/operations/v2/getNotifiers.js.map +1 -1
- package/lib/operations/v2/getOrg.d.ts +46 -96
- package/lib/operations/v2/getOrg.d.ts.map +1 -1
- package/lib/operations/v2/getOrg.js +2 -9
- package/lib/operations/v2/getOrg.js.map +1 -1
- package/lib/operations/v2/getOrgs.d.ts +45 -92
- package/lib/operations/v2/getOrgs.d.ts.map +1 -1
- package/lib/operations/v2/getOrgs.js +2 -9
- package/lib/operations/v2/getOrgs.js.map +1 -1
- package/lib/operations/v2/getRoleById.d.ts +43 -85
- package/lib/operations/v2/getRoleById.d.ts.map +1 -1
- package/lib/operations/v2/getRoleById.js +0 -2
- package/lib/operations/v2/getRoleById.js.map +1 -1
- package/lib/operations/v2/getStarred.d.ts +45 -88
- package/lib/operations/v2/getStarred.d.ts.map +1 -1
- package/lib/operations/v2/getStarred.js +0 -2
- package/lib/operations/v2/getStarred.js.map +1 -1
- package/lib/operations/v2/getStarredQueries.d.ts +49 -96
- package/lib/operations/v2/getStarredQueries.d.ts.map +1 -1
- package/lib/operations/v2/getStarredQueries.js +0 -2
- package/lib/operations/v2/getStarredQueries.js.map +1 -1
- package/lib/operations/v2/getUser.d.ts +15 -25
- package/lib/operations/v2/getUser.d.ts.map +1 -1
- package/lib/operations/v2/getUser.js +0 -2
- package/lib/operations/v2/getUser.js.map +1 -1
- package/lib/operations/v2/getUsers.d.ts +14 -21
- package/lib/operations/v2/getUsers.d.ts.map +1 -1
- package/lib/operations/v2/getUsers.js +0 -2
- package/lib/operations/v2/getUsers.js.map +1 -1
- package/lib/operations/v2/getView.d.ts +14 -23
- package/lib/operations/v2/getView.d.ts.map +1 -1
- package/lib/operations/v2/getView.js +0 -2
- package/lib/operations/v2/getView.js.map +1 -1
- package/lib/operations/v2/getViews.d.ts +13 -19
- package/lib/operations/v2/getViews.d.ts.map +1 -1
- package/lib/operations/v2/getViews.js +0 -2
- package/lib/operations/v2/getViews.js.map +1 -1
- package/lib/operations/v2/getVirtualField.d.ts +15 -25
- package/lib/operations/v2/getVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/getVirtualField.js +0 -2
- package/lib/operations/v2/getVirtualField.js.map +1 -1
- package/lib/operations/v2/getVirtualFields.d.ts +14 -24
- package/lib/operations/v2/getVirtualFields.d.ts.map +1 -1
- package/lib/operations/v2/getVirtualFields.js +0 -2
- package/lib/operations/v2/getVirtualFields.js.map +1 -1
- package/lib/operations/v2/index.d.ts +1 -0
- package/lib/operations/v2/index.d.ts.map +1 -1
- package/lib/operations/v2/index.js +1 -0
- package/lib/operations/v2/index.js.map +1 -1
- package/lib/operations/v2/listDashboards.d.ts +166 -76
- package/lib/operations/v2/listDashboards.d.ts.map +1 -1
- package/lib/operations/v2/listDashboards.js +1 -3
- package/lib/operations/v2/listDashboards.js.map +1 -1
- package/lib/operations/v2/listGroups.d.ts +13 -19
- package/lib/operations/v2/listGroups.d.ts.map +1 -1
- package/lib/operations/v2/listGroups.js +0 -2
- package/lib/operations/v2/listGroups.js.map +1 -1
- package/lib/operations/v2/listRoles.d.ts +42 -81
- package/lib/operations/v2/listRoles.d.ts.map +1 -1
- package/lib/operations/v2/listRoles.js +0 -2
- package/lib/operations/v2/listRoles.js.map +1 -1
- package/lib/operations/v2/patchDashboardChart.d.ts +183 -0
- package/lib/operations/v2/patchDashboardChart.d.ts.map +1 -0
- package/lib/operations/v2/patchDashboardChart.js +81 -0
- package/lib/operations/v2/patchDashboardChart.js.map +1 -0
- package/lib/operations/v2/regenerateAPIToken.d.ts +82 -168
- package/lib/operations/v2/regenerateAPIToken.d.ts.map +1 -1
- package/lib/operations/v2/regenerateAPIToken.js +0 -2
- package/lib/operations/v2/regenerateAPIToken.js.map +1 -1
- package/lib/operations/v2/removeUserFromOrg.d.ts +7 -9
- package/lib/operations/v2/removeUserFromOrg.d.ts.map +1 -1
- package/lib/operations/v2/removeUserFromOrg.js +2 -3
- package/lib/operations/v2/removeUserFromOrg.js.map +1 -1
- package/lib/operations/v2/trimDataset.d.ts +8 -11
- package/lib/operations/v2/trimDataset.d.ts.map +1 -1
- package/lib/operations/v2/trimDataset.js +2 -3
- package/lib/operations/v2/trimDataset.js.map +1 -1
- package/lib/operations/v2/updateAnnotation.d.ts +23 -41
- package/lib/operations/v2/updateAnnotation.d.ts.map +1 -1
- package/lib/operations/v2/updateAnnotation.js +0 -2
- package/lib/operations/v2/updateAnnotation.js.map +1 -1
- package/lib/operations/v2/updateCurrentUser.d.ts +15 -25
- package/lib/operations/v2/updateCurrentUser.d.ts.map +1 -1
- package/lib/operations/v2/updateCurrentUser.js +0 -2
- package/lib/operations/v2/updateCurrentUser.js.map +1 -1
- package/lib/operations/v2/updateDashboard.d.ts +323 -138
- package/lib/operations/v2/updateDashboard.d.ts.map +1 -1
- package/lib/operations/v2/updateDashboard.js +2 -4
- package/lib/operations/v2/updateDashboard.js.map +1 -1
- package/lib/operations/v2/updateDataset.d.ts +25 -41
- package/lib/operations/v2/updateDataset.d.ts.map +1 -1
- package/lib/operations/v2/updateDataset.js +2 -2
- package/lib/operations/v2/updateDataset.js.map +1 -1
- package/lib/operations/v2/updateFieldForDataset.d.ts +19 -33
- package/lib/operations/v2/updateFieldForDataset.d.ts.map +1 -1
- package/lib/operations/v2/updateFieldForDataset.js +0 -2
- package/lib/operations/v2/updateFieldForDataset.js.map +1 -1
- package/lib/operations/v2/updateGroup.d.ts +19 -33
- package/lib/operations/v2/updateGroup.d.ts.map +1 -1
- package/lib/operations/v2/updateGroup.js +0 -2
- package/lib/operations/v2/updateGroup.js.map +1 -1
- package/lib/operations/v2/updateMapFields.d.ts +7 -9
- package/lib/operations/v2/updateMapFields.d.ts.map +1 -1
- package/lib/operations/v2/updateMapFields.js +0 -2
- package/lib/operations/v2/updateMapFields.js.map +1 -1
- package/lib/operations/v2/updateMonitor.d.ts +61 -113
- package/lib/operations/v2/updateMonitor.d.ts.map +1 -1
- package/lib/operations/v2/updateMonitor.js +2 -2
- package/lib/operations/v2/updateMonitor.js.map +1 -1
- package/lib/operations/v2/updateNotifier.d.ts +90 -177
- package/lib/operations/v2/updateNotifier.d.ts.map +1 -1
- package/lib/operations/v2/updateNotifier.js +5 -4
- package/lib/operations/v2/updateNotifier.js.map +1 -1
- package/lib/operations/v2/updateOrg.d.ts +47 -98
- package/lib/operations/v2/updateOrg.d.ts.map +1 -1
- package/lib/operations/v2/updateOrg.js +2 -9
- package/lib/operations/v2/updateOrg.js.map +1 -1
- package/lib/operations/v2/updateRole.d.ts +77 -157
- package/lib/operations/v2/updateRole.d.ts.map +1 -1
- package/lib/operations/v2/updateRole.js +0 -2
- package/lib/operations/v2/updateRole.js.map +1 -1
- package/lib/operations/v2/updateStarred.d.ts +81 -163
- package/lib/operations/v2/updateStarred.d.ts.map +1 -1
- package/lib/operations/v2/updateStarred.js +0 -2
- package/lib/operations/v2/updateStarred.js.map +1 -1
- package/lib/operations/v2/updateUserRole.d.ts +16 -27
- package/lib/operations/v2/updateUserRole.d.ts.map +1 -1
- package/lib/operations/v2/updateUserRole.js +0 -2
- package/lib/operations/v2/updateUserRole.js.map +1 -1
- package/lib/operations/v2/updateView.d.ts +20 -35
- package/lib/operations/v2/updateView.d.ts.map +1 -1
- package/lib/operations/v2/updateView.js +0 -2
- package/lib/operations/v2/updateView.js.map +1 -1
- package/lib/operations/v2/updateVirtualField.d.ts +21 -37
- package/lib/operations/v2/updateVirtualField.d.ts.map +1 -1
- package/lib/operations/v2/updateVirtualField.js +0 -2
- package/lib/operations/v2/updateVirtualField.js.map +1 -1
- package/lib/operations/v2/vacuumDataset.d.ts +7 -9
- package/lib/operations/v2/vacuumDataset.d.ts.map +1 -1
- package/lib/operations/v2/vacuumDataset.js +2 -3
- package/lib/operations/v2/vacuumDataset.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/v1-edge-ingest/ingestToDataset.ts +18 -4
- package/src/operations/v1-edge-query/queryApl.ts +56 -6
- package/src/operations/v2/createAPIToken.ts +91 -4
- package/src/operations/v2/createAnnotation.ts +23 -4
- package/src/operations/v2/createDashboard.ts +351 -6
- package/src/operations/v2/createDataset.ts +39 -4
- package/src/operations/v2/createGroup.ts +19 -4
- package/src/operations/v2/createMapField.ts +9 -4
- package/src/operations/v2/createMonitor.ts +73 -4
- package/src/operations/v2/createNotifier.ts +56 -6
- package/src/operations/v2/createOrg.ts +65 -11
- package/src/operations/v2/createRole.ts +89 -4
- package/src/operations/v2/createStarred.ts +77 -4
- package/src/operations/v2/createUser.ts +15 -4
- package/src/operations/v2/createView.ts +20 -4
- package/src/operations/v2/createVirtualField.ts +21 -4
- package/src/operations/v2/deleteAPIToken.ts +9 -4
- package/src/operations/v2/deleteAnnotation.ts +9 -4
- package/src/operations/v2/deleteDashboard.ts +9 -4
- package/src/operations/v2/deleteDataset.ts +9 -4
- package/src/operations/v2/deleteGroup.ts +9 -4
- package/src/operations/v2/deleteMapField.ts +8 -4
- package/src/operations/v2/deleteMonitor.ts +9 -4
- package/src/operations/v2/deleteNotifier.ts +9 -4
- package/src/operations/v2/deleteRole.ts +9 -4
- package/src/operations/v2/deleteStarred.ts +9 -4
- package/src/operations/v2/deleteView.ts +9 -4
- package/src/operations/v2/deleteVirtualField.ts +9 -4
- package/src/operations/v2/getAPIToken.ts +51 -4
- package/src/operations/v2/getAPITokens.ts +49 -4
- package/src/operations/v2/getAnnotation.ts +17 -4
- package/src/operations/v2/getAnnotations.ts +19 -4
- package/src/operations/v2/getCurrentUser.ts +11 -4
- package/src/operations/v2/getDashboard.ts +180 -5
- package/src/operations/v2/getDataset.ts +29 -4
- package/src/operations/v2/getDatasets.ts +27 -4
- package/src/operations/v2/getFieldForDataset.ts +13 -4
- package/src/operations/v2/getFieldsForDataset.ts +14 -4
- package/src/operations/v2/getGroupById.ts +15 -4
- package/src/operations/v2/getMapFields.ts +8 -4
- package/src/operations/v2/getMonitor.ts +42 -4
- package/src/operations/v2/getMonitorHistory.ts +15 -4
- package/src/operations/v2/getMonitors.ts +40 -4
- package/src/operations/v2/getNotifier.ts +35 -6
- package/src/operations/v2/getNotifiers.ts +33 -6
- package/src/operations/v2/getOrg.ts +64 -11
- package/src/operations/v2/getOrgs.ts +60 -11
- package/src/operations/v2/getRoleById.ts +50 -4
- package/src/operations/v2/getStarred.ts +44 -4
- package/src/operations/v2/getStarredQueries.ts +48 -4
- package/src/operations/v2/getUser.ts +13 -4
- package/src/operations/v2/getUsers.ts +9 -4
- package/src/operations/v2/getView.ts +15 -4
- package/src/operations/v2/getViews.ts +11 -4
- package/src/operations/v2/getVirtualField.ts +16 -4
- package/src/operations/v2/getVirtualFields.ts +16 -4
- package/src/operations/v2/index.ts +1 -0
- package/src/operations/v2/listDashboards.ts +181 -5
- package/src/operations/v2/listGroups.ts +13 -4
- package/src/operations/v2/listRoles.ts +48 -4
- package/src/operations/v2/patchDashboardChart.ts +275 -0
- package/src/operations/v2/regenerateAPIToken.ts +96 -4
- package/src/operations/v2/removeUserFromOrg.ts +9 -4
- package/src/operations/v2/trimDataset.ts +10 -4
- package/src/operations/v2/updateAnnotation.ts +24 -4
- package/src/operations/v2/updateCurrentUser.ts +13 -4
- package/src/operations/v2/updateDashboard.ts +351 -6
- package/src/operations/v2/updateDataset.ts +32 -4
- package/src/operations/v2/updateFieldForDataset.ts +18 -5
- package/src/operations/v2/updateGroup.ts +20 -4
- package/src/operations/v2/updateMapFields.ts +8 -4
- package/src/operations/v2/updateMonitor.ts +74 -4
- package/src/operations/v2/updateNotifier.ts +57 -6
- package/src/operations/v2/updateOrg.ts +65 -11
- package/src/operations/v2/updateRole.ts +90 -4
- package/src/operations/v2/updateStarred.ts +78 -4
- package/src/operations/v2/updateUserRole.ts +14 -4
- package/src/operations/v2/updateView.ts +21 -4
- package/src/operations/v2/updateVirtualField.ts +22 -4
- package/src/operations/v2/vacuumDataset.ts +9 -4
|
@@ -2,15 +2,44 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../../client.ts";
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
|
-
import {
|
|
5
|
+
import { SensitiveOutputString } from "../../sensitive.ts";
|
|
6
|
+
import * as Redacted from "effect/Redacted";
|
|
6
7
|
|
|
7
8
|
// Input Schema
|
|
9
|
+
export interface GetNotifierInput {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
8
12
|
export const GetNotifierInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
13
|
id: Schema.String.pipe(T.PathParam()),
|
|
10
|
-
}).pipe(
|
|
11
|
-
|
|
14
|
+
}).pipe(
|
|
15
|
+
T.Http({ method: "GET", path: "/v2/notifiers/{id}" }),
|
|
16
|
+
) as unknown as Schema.Codec<GetNotifierInput>;
|
|
12
17
|
|
|
13
18
|
// Output Schema
|
|
19
|
+
export interface GetNotifierOutput {
|
|
20
|
+
createdAt?: string;
|
|
21
|
+
createdBy?: string;
|
|
22
|
+
disabledUntil?: string;
|
|
23
|
+
name: string;
|
|
24
|
+
properties: {
|
|
25
|
+
customWebhook?: {
|
|
26
|
+
body: string;
|
|
27
|
+
headers?: Record<string, string>;
|
|
28
|
+
secretHeaders?: Record<string, string>;
|
|
29
|
+
url: string;
|
|
30
|
+
};
|
|
31
|
+
discord?: { discordChannel?: string; discordToken?: string };
|
|
32
|
+
discordWebhook?: { discordWebhookUrl?: string };
|
|
33
|
+
email?: { emails?: ReadonlyArray<string> };
|
|
34
|
+
microsoftTeams?: { microsoftTeamsUrl?: string };
|
|
35
|
+
opsgenie?: { apiKey?: Redacted.Redacted<string>; isEU?: boolean };
|
|
36
|
+
pagerduty?: { routingKey?: string; token?: string };
|
|
37
|
+
slack?: { slackUrl?: string };
|
|
38
|
+
webhook?: { url?: string };
|
|
39
|
+
};
|
|
40
|
+
updatedAt?: string;
|
|
41
|
+
id?: string;
|
|
42
|
+
}
|
|
14
43
|
export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
15
44
|
createdAt: Schema.optional(Schema.String),
|
|
16
45
|
createdBy: Schema.optional(Schema.String),
|
|
@@ -50,7 +79,7 @@ export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
50
79
|
),
|
|
51
80
|
opsgenie: Schema.optional(
|
|
52
81
|
Schema.Struct({
|
|
53
|
-
apiKey: Schema.optional(
|
|
82
|
+
apiKey: Schema.optional(SensitiveOutputString),
|
|
54
83
|
isEU: Schema.optional(Schema.Boolean),
|
|
55
84
|
}),
|
|
56
85
|
),
|
|
@@ -71,9 +100,9 @@ export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
71
100
|
}),
|
|
72
101
|
),
|
|
73
102
|
}),
|
|
103
|
+
updatedAt: Schema.optional(Schema.String),
|
|
74
104
|
id: Schema.optional(Schema.String),
|
|
75
|
-
})
|
|
76
|
-
export type GetNotifierOutput = typeof GetNotifierOutput.Type;
|
|
105
|
+
}) as unknown as Schema.Codec<GetNotifierOutput>;
|
|
77
106
|
|
|
78
107
|
// The operation
|
|
79
108
|
/**
|
|
@@ -1,15 +1,42 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../../client.ts";
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
|
-
import {
|
|
4
|
+
import { SensitiveOutputString } from "../../sensitive.ts";
|
|
5
|
+
import * as Redacted from "effect/Redacted";
|
|
5
6
|
|
|
6
7
|
// Input Schema
|
|
8
|
+
export interface GetNotifiersInput {}
|
|
7
9
|
export const GetNotifiersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
10
|
{},
|
|
9
|
-
).pipe(
|
|
10
|
-
|
|
11
|
+
).pipe(
|
|
12
|
+
T.Http({ method: "GET", path: "/v2/notifiers" }),
|
|
13
|
+
) as unknown as Schema.Codec<GetNotifiersInput>;
|
|
11
14
|
|
|
12
15
|
// Output Schema
|
|
16
|
+
export type GetNotifiersOutput = ReadonlyArray<{
|
|
17
|
+
createdAt?: string;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
disabledUntil?: string;
|
|
20
|
+
name: string;
|
|
21
|
+
properties: {
|
|
22
|
+
customWebhook?: {
|
|
23
|
+
body: string;
|
|
24
|
+
headers?: Record<string, string>;
|
|
25
|
+
secretHeaders?: Record<string, string>;
|
|
26
|
+
url: string;
|
|
27
|
+
};
|
|
28
|
+
discord?: { discordChannel?: string; discordToken?: string };
|
|
29
|
+
discordWebhook?: { discordWebhookUrl?: string };
|
|
30
|
+
email?: { emails?: ReadonlyArray<string> };
|
|
31
|
+
microsoftTeams?: { microsoftTeamsUrl?: string };
|
|
32
|
+
opsgenie?: { apiKey?: Redacted.Redacted<string>; isEU?: boolean };
|
|
33
|
+
pagerduty?: { routingKey?: string; token?: string };
|
|
34
|
+
slack?: { slackUrl?: string };
|
|
35
|
+
webhook?: { url?: string };
|
|
36
|
+
};
|
|
37
|
+
updatedAt?: string;
|
|
38
|
+
id?: string;
|
|
39
|
+
}>;
|
|
13
40
|
export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
14
41
|
Schema.Struct({
|
|
15
42
|
createdAt: Schema.optional(Schema.String),
|
|
@@ -50,7 +77,7 @@ export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
50
77
|
),
|
|
51
78
|
opsgenie: Schema.optional(
|
|
52
79
|
Schema.Struct({
|
|
53
|
-
apiKey: Schema.optional(
|
|
80
|
+
apiKey: Schema.optional(SensitiveOutputString),
|
|
54
81
|
isEU: Schema.optional(Schema.Boolean),
|
|
55
82
|
}),
|
|
56
83
|
),
|
|
@@ -71,10 +98,10 @@ export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
71
98
|
}),
|
|
72
99
|
),
|
|
73
100
|
}),
|
|
101
|
+
updatedAt: Schema.optional(Schema.String),
|
|
74
102
|
id: Schema.optional(Schema.String),
|
|
75
103
|
}),
|
|
76
|
-
)
|
|
77
|
-
export type GetNotifiersOutput = typeof GetNotifiersOutput.Type;
|
|
104
|
+
) as unknown as Schema.Codec<GetNotifiersOutput>;
|
|
78
105
|
|
|
79
106
|
// The operation
|
|
80
107
|
/**
|
|
@@ -4,15 +4,73 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetOrgInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetOrgInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/orgs/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetOrgInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetOrgOutput {
|
|
18
|
+
defaultEdgeDeployment?: string;
|
|
19
|
+
firstFailedPayment?: string;
|
|
20
|
+
id: string;
|
|
21
|
+
lastUsageSync: string;
|
|
22
|
+
license: {
|
|
23
|
+
apiRateLimitPerSecond?: number;
|
|
24
|
+
billingPeriodEnd?: string;
|
|
25
|
+
billingPeriodStart?: string;
|
|
26
|
+
defaultEdgeDeployment?: string;
|
|
27
|
+
edgeDeployments?: ReadonlyArray<string>;
|
|
28
|
+
expiresAt?: string | null;
|
|
29
|
+
features?: Record<string, boolean>;
|
|
30
|
+
id: string;
|
|
31
|
+
issuedAt?: string;
|
|
32
|
+
issuedTo?: string;
|
|
33
|
+
issuer?: string;
|
|
34
|
+
maxAuditWindowSeconds?: number;
|
|
35
|
+
maxDatasets?: number;
|
|
36
|
+
maxEndpoints?: number;
|
|
37
|
+
maxFields?: number;
|
|
38
|
+
maxMonitors?: number;
|
|
39
|
+
maxQueryWindowSeconds?: number;
|
|
40
|
+
maxUsers?: number;
|
|
41
|
+
monthlyIngestGb?: number;
|
|
42
|
+
monthlyQueryGbHours?: number;
|
|
43
|
+
storageAllowanceGB?: number;
|
|
44
|
+
tier:
|
|
45
|
+
| "personal"
|
|
46
|
+
| "teamMonthlyAws"
|
|
47
|
+
| "axiomCloud"
|
|
48
|
+
| "teamPlus"
|
|
49
|
+
| "enterprise"
|
|
50
|
+
| "comped"
|
|
51
|
+
| "accelerator";
|
|
52
|
+
validFrom?: string;
|
|
53
|
+
withAuths?: ReadonlyArray<string>;
|
|
54
|
+
};
|
|
55
|
+
metaCreated?: string;
|
|
56
|
+
metaModified?: string;
|
|
57
|
+
metaVersion?: string;
|
|
58
|
+
name: string;
|
|
59
|
+
paymentStatus: "na" | "failed" | "success" | "blocked";
|
|
60
|
+
plan:
|
|
61
|
+
| "personal"
|
|
62
|
+
| "teamMonthlyAws"
|
|
63
|
+
| "axiomCloud"
|
|
64
|
+
| "teamPlus"
|
|
65
|
+
| "enterprise"
|
|
66
|
+
| "comped"
|
|
67
|
+
| "accelerator";
|
|
68
|
+
planCreated: string;
|
|
69
|
+
primaryEmail: string;
|
|
70
|
+
role?: string;
|
|
71
|
+
}
|
|
13
72
|
export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
73
|
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
15
|
-
defaultRegion: Schema.optional(Schema.String),
|
|
16
74
|
firstFailedPayment: Schema.optional(Schema.String),
|
|
17
75
|
id: Schema.String,
|
|
18
76
|
lastUsageSync: Schema.String,
|
|
@@ -21,7 +79,6 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
21
79
|
billingPeriodEnd: Schema.optional(Schema.String),
|
|
22
80
|
billingPeriodStart: Schema.optional(Schema.String),
|
|
23
81
|
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
24
|
-
defaultRegion: Schema.optional(Schema.String),
|
|
25
82
|
edgeDeployments: Schema.optional(Schema.Array(Schema.String)),
|
|
26
83
|
expiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
27
84
|
features: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
@@ -38,17 +95,15 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
38
95
|
maxUsers: Schema.optional(Schema.Number),
|
|
39
96
|
monthlyIngestGb: Schema.optional(Schema.Number),
|
|
40
97
|
monthlyQueryGbHours: Schema.optional(Schema.Number),
|
|
41
|
-
regions: Schema.optional(Schema.Array(Schema.String)),
|
|
42
98
|
storageAllowanceGB: Schema.optional(Schema.Number),
|
|
43
99
|
tier: Schema.Literals([
|
|
44
100
|
"personal",
|
|
45
|
-
"basicDirect",
|
|
46
|
-
"teamMonthlyDirect",
|
|
47
101
|
"teamMonthlyAws",
|
|
48
102
|
"axiomCloud",
|
|
49
103
|
"teamPlus",
|
|
50
104
|
"enterprise",
|
|
51
105
|
"comped",
|
|
106
|
+
"accelerator",
|
|
52
107
|
]),
|
|
53
108
|
validFrom: Schema.optional(Schema.String),
|
|
54
109
|
withAuths: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -60,19 +115,17 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
60
115
|
paymentStatus: Schema.Literals(["na", "failed", "success", "blocked"]),
|
|
61
116
|
plan: Schema.Literals([
|
|
62
117
|
"personal",
|
|
63
|
-
"basicDirect",
|
|
64
|
-
"teamMonthlyDirect",
|
|
65
118
|
"teamMonthlyAws",
|
|
66
119
|
"axiomCloud",
|
|
67
120
|
"teamPlus",
|
|
68
121
|
"enterprise",
|
|
69
122
|
"comped",
|
|
123
|
+
"accelerator",
|
|
70
124
|
]),
|
|
71
125
|
planCreated: Schema.String,
|
|
72
126
|
primaryEmail: Schema.String,
|
|
73
127
|
role: Schema.optional(Schema.String),
|
|
74
|
-
})
|
|
75
|
-
export type GetOrgOutput = typeof GetOrgOutput.Type;
|
|
128
|
+
}) as unknown as Schema.Codec<GetOrgOutput>;
|
|
76
129
|
|
|
77
130
|
// The operation
|
|
78
131
|
export const getOrg = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -3,16 +3,70 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetOrgsInput {}
|
|
6
7
|
export const GetOrgsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
7
8
|
T.Http({ method: "GET", path: "/v2/orgs" }),
|
|
8
|
-
)
|
|
9
|
-
export type GetOrgsInput = typeof GetOrgsInput.Type;
|
|
9
|
+
) as unknown as Schema.Codec<GetOrgsInput>;
|
|
10
10
|
|
|
11
11
|
// Output Schema
|
|
12
|
+
export type GetOrgsOutput = ReadonlyArray<{
|
|
13
|
+
defaultEdgeDeployment?: string;
|
|
14
|
+
firstFailedPayment?: string;
|
|
15
|
+
id: string;
|
|
16
|
+
lastUsageSync: string;
|
|
17
|
+
license: {
|
|
18
|
+
apiRateLimitPerSecond?: number;
|
|
19
|
+
billingPeriodEnd?: string;
|
|
20
|
+
billingPeriodStart?: string;
|
|
21
|
+
defaultEdgeDeployment?: string;
|
|
22
|
+
edgeDeployments?: ReadonlyArray<string>;
|
|
23
|
+
expiresAt?: string | null;
|
|
24
|
+
features?: Record<string, boolean>;
|
|
25
|
+
id: string;
|
|
26
|
+
issuedAt?: string;
|
|
27
|
+
issuedTo?: string;
|
|
28
|
+
issuer?: string;
|
|
29
|
+
maxAuditWindowSeconds?: number;
|
|
30
|
+
maxDatasets?: number;
|
|
31
|
+
maxEndpoints?: number;
|
|
32
|
+
maxFields?: number;
|
|
33
|
+
maxMonitors?: number;
|
|
34
|
+
maxQueryWindowSeconds?: number;
|
|
35
|
+
maxUsers?: number;
|
|
36
|
+
monthlyIngestGb?: number;
|
|
37
|
+
monthlyQueryGbHours?: number;
|
|
38
|
+
storageAllowanceGB?: number;
|
|
39
|
+
tier:
|
|
40
|
+
| "personal"
|
|
41
|
+
| "teamMonthlyAws"
|
|
42
|
+
| "axiomCloud"
|
|
43
|
+
| "teamPlus"
|
|
44
|
+
| "enterprise"
|
|
45
|
+
| "comped"
|
|
46
|
+
| "accelerator";
|
|
47
|
+
validFrom?: string;
|
|
48
|
+
withAuths?: ReadonlyArray<string>;
|
|
49
|
+
};
|
|
50
|
+
metaCreated?: string;
|
|
51
|
+
metaModified?: string;
|
|
52
|
+
metaVersion?: string;
|
|
53
|
+
name: string;
|
|
54
|
+
paymentStatus: "na" | "failed" | "success" | "blocked";
|
|
55
|
+
plan:
|
|
56
|
+
| "personal"
|
|
57
|
+
| "teamMonthlyAws"
|
|
58
|
+
| "axiomCloud"
|
|
59
|
+
| "teamPlus"
|
|
60
|
+
| "enterprise"
|
|
61
|
+
| "comped"
|
|
62
|
+
| "accelerator";
|
|
63
|
+
planCreated: string;
|
|
64
|
+
primaryEmail: string;
|
|
65
|
+
role?: string;
|
|
66
|
+
}>;
|
|
12
67
|
export const GetOrgsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
68
|
Schema.Struct({
|
|
14
69
|
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
15
|
-
defaultRegion: Schema.optional(Schema.String),
|
|
16
70
|
firstFailedPayment: Schema.optional(Schema.String),
|
|
17
71
|
id: Schema.String,
|
|
18
72
|
lastUsageSync: Schema.String,
|
|
@@ -21,7 +75,6 @@ export const GetOrgsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
21
75
|
billingPeriodEnd: Schema.optional(Schema.String),
|
|
22
76
|
billingPeriodStart: Schema.optional(Schema.String),
|
|
23
77
|
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
24
|
-
defaultRegion: Schema.optional(Schema.String),
|
|
25
78
|
edgeDeployments: Schema.optional(Schema.Array(Schema.String)),
|
|
26
79
|
expiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
27
80
|
features: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
@@ -38,17 +91,15 @@ export const GetOrgsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
38
91
|
maxUsers: Schema.optional(Schema.Number),
|
|
39
92
|
monthlyIngestGb: Schema.optional(Schema.Number),
|
|
40
93
|
monthlyQueryGbHours: Schema.optional(Schema.Number),
|
|
41
|
-
regions: Schema.optional(Schema.Array(Schema.String)),
|
|
42
94
|
storageAllowanceGB: Schema.optional(Schema.Number),
|
|
43
95
|
tier: Schema.Literals([
|
|
44
96
|
"personal",
|
|
45
|
-
"basicDirect",
|
|
46
|
-
"teamMonthlyDirect",
|
|
47
97
|
"teamMonthlyAws",
|
|
48
98
|
"axiomCloud",
|
|
49
99
|
"teamPlus",
|
|
50
100
|
"enterprise",
|
|
51
101
|
"comped",
|
|
102
|
+
"accelerator",
|
|
52
103
|
]),
|
|
53
104
|
validFrom: Schema.optional(Schema.String),
|
|
54
105
|
withAuths: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -60,20 +111,18 @@ export const GetOrgsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
60
111
|
paymentStatus: Schema.Literals(["na", "failed", "success", "blocked"]),
|
|
61
112
|
plan: Schema.Literals([
|
|
62
113
|
"personal",
|
|
63
|
-
"basicDirect",
|
|
64
|
-
"teamMonthlyDirect",
|
|
65
114
|
"teamMonthlyAws",
|
|
66
115
|
"axiomCloud",
|
|
67
116
|
"teamPlus",
|
|
68
117
|
"enterprise",
|
|
69
118
|
"comped",
|
|
119
|
+
"accelerator",
|
|
70
120
|
]),
|
|
71
121
|
planCreated: Schema.String,
|
|
72
122
|
primaryEmail: Schema.String,
|
|
73
123
|
role: Schema.optional(Schema.String),
|
|
74
124
|
}),
|
|
75
|
-
)
|
|
76
|
-
export type GetOrgsOutput = typeof GetOrgsOutput.Type;
|
|
125
|
+
) as unknown as Schema.Codec<GetOrgsOutput>;
|
|
77
126
|
|
|
78
127
|
// The operation
|
|
79
128
|
export const getOrgs = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -4,12 +4,59 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetRoleByIdInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetRoleByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/rbac/roles/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetRoleByIdInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetRoleByIdOutput {
|
|
18
|
+
datasetCapabilities?: Record<
|
|
19
|
+
string,
|
|
20
|
+
{
|
|
21
|
+
data?: ReadonlyArray<"delete">;
|
|
22
|
+
ingest?: ReadonlyArray<"create">;
|
|
23
|
+
query?: ReadonlyArray<"read">;
|
|
24
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
25
|
+
starredQueries?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
26
|
+
trim?: ReadonlyArray<"update">;
|
|
27
|
+
vacuum?: ReadonlyArray<"update">;
|
|
28
|
+
virtualFields?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
29
|
+
}
|
|
30
|
+
>;
|
|
31
|
+
description?: string;
|
|
32
|
+
members?: ReadonlyArray<string>;
|
|
33
|
+
name: string;
|
|
34
|
+
orgCapabilities?: {
|
|
35
|
+
annotations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
36
|
+
apiTokens?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
37
|
+
auditLog?: ReadonlyArray<"read">;
|
|
38
|
+
billing?: ReadonlyArray<"read" | "update">;
|
|
39
|
+
dashboards?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
40
|
+
datasets?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
41
|
+
endpoints?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
42
|
+
flows?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
43
|
+
integrations?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
44
|
+
monitors?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
45
|
+
notifiers?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
46
|
+
rbac?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
47
|
+
sharedAccessKeys?: ReadonlyArray<"read" | "update">;
|
|
48
|
+
users?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
49
|
+
views?: ReadonlyArray<"create" | "read" | "update" | "delete">;
|
|
50
|
+
};
|
|
51
|
+
viewCapabilities?: Record<
|
|
52
|
+
string,
|
|
53
|
+
{
|
|
54
|
+
query?: ReadonlyArray<"read">;
|
|
55
|
+
share?: ReadonlyArray<"create" | "read" | "delete">;
|
|
56
|
+
}
|
|
57
|
+
>;
|
|
58
|
+
id: string;
|
|
59
|
+
}
|
|
13
60
|
export const GetRoleByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
61
|
datasetCapabilities: Schema.optional(
|
|
15
62
|
Schema.Record(
|
|
@@ -94,8 +141,7 @@ export const GetRoleByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
94
141
|
),
|
|
95
142
|
),
|
|
96
143
|
id: Schema.String,
|
|
97
|
-
})
|
|
98
|
-
export type GetRoleByIdOutput = typeof GetRoleByIdOutput.Type;
|
|
144
|
+
}) as unknown as Schema.Codec<GetRoleByIdOutput>;
|
|
99
145
|
|
|
100
146
|
// The operation
|
|
101
147
|
/**
|
|
@@ -4,12 +4,53 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetStarredInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetStarredInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/apl-starred-queries/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetStarredInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetStarredOutput {
|
|
18
|
+
dataset?: string;
|
|
19
|
+
kind: "apl";
|
|
20
|
+
metadata: Record<string, string>;
|
|
21
|
+
name: string;
|
|
22
|
+
query: {
|
|
23
|
+
apl: string;
|
|
24
|
+
cursor?: string;
|
|
25
|
+
defaultLimit?: number;
|
|
26
|
+
defaultOrder?: ReadonlyArray<{ desc?: boolean; field?: string }>;
|
|
27
|
+
endTime?: string;
|
|
28
|
+
includeCursor?: boolean;
|
|
29
|
+
includeCursorField?: boolean;
|
|
30
|
+
libraries?: ReadonlyArray<string>;
|
|
31
|
+
queryOptions?: {
|
|
32
|
+
disableCache?: boolean;
|
|
33
|
+
disableStats?: boolean;
|
|
34
|
+
disableTrace?: boolean;
|
|
35
|
+
maxDataPoints?: number;
|
|
36
|
+
maxSeries?: number;
|
|
37
|
+
noAggregation?: boolean;
|
|
38
|
+
noFill?: boolean;
|
|
39
|
+
noInterpolation?: boolean;
|
|
40
|
+
priority?: "low" | "medium" | "high";
|
|
41
|
+
resolution?: string;
|
|
42
|
+
displayNull?: "auto" | "null" | "span" | "zero" | "";
|
|
43
|
+
overlayCharts?: "true" | "false" | "";
|
|
44
|
+
shownColumns?: string;
|
|
45
|
+
timeSeriesVariant?: "area" | "bars" | "line" | "lines" | "";
|
|
46
|
+
timeSeriesView?: "charts" | "resultsTable" | "charts|resultsTable" | "";
|
|
47
|
+
};
|
|
48
|
+
startTime?: string;
|
|
49
|
+
variables?: unknown;
|
|
50
|
+
};
|
|
51
|
+
who: string;
|
|
52
|
+
id: string;
|
|
53
|
+
}
|
|
13
54
|
export const GetStarredOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
55
|
dataset: Schema.optional(Schema.String),
|
|
15
56
|
kind: Schema.Literals(["apl"]),
|
|
@@ -66,8 +107,7 @@ export const GetStarredOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
66
107
|
}),
|
|
67
108
|
who: Schema.String,
|
|
68
109
|
id: Schema.String,
|
|
69
|
-
})
|
|
70
|
-
export type GetStarredOutput = typeof GetStarredOutput.Type;
|
|
110
|
+
}) as unknown as Schema.Codec<GetStarredOutput>;
|
|
71
111
|
|
|
72
112
|
// The operation
|
|
73
113
|
export const getStarred = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -3,6 +3,13 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetStarredQueriesInput {
|
|
7
|
+
limit?: number;
|
|
8
|
+
offset?: number;
|
|
9
|
+
dataset?: string;
|
|
10
|
+
who?: string;
|
|
11
|
+
qs?: string;
|
|
12
|
+
}
|
|
6
13
|
export const GetStarredQueriesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
7
14
|
{
|
|
8
15
|
limit: Schema.optional(Schema.Number),
|
|
@@ -11,10 +18,48 @@ export const GetStarredQueriesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
11
18
|
who: Schema.optional(Schema.String),
|
|
12
19
|
qs: Schema.optional(Schema.String),
|
|
13
20
|
},
|
|
14
|
-
).pipe(
|
|
15
|
-
|
|
21
|
+
).pipe(
|
|
22
|
+
T.Http({ method: "GET", path: "/v2/apl-starred-queries" }),
|
|
23
|
+
) as unknown as Schema.Codec<GetStarredQueriesInput>;
|
|
16
24
|
|
|
17
25
|
// Output Schema
|
|
26
|
+
export type GetStarredQueriesOutput = ReadonlyArray<{
|
|
27
|
+
dataset?: string;
|
|
28
|
+
kind: "apl";
|
|
29
|
+
metadata: Record<string, string>;
|
|
30
|
+
name: string;
|
|
31
|
+
query: {
|
|
32
|
+
apl: string;
|
|
33
|
+
cursor?: string;
|
|
34
|
+
defaultLimit?: number;
|
|
35
|
+
defaultOrder?: ReadonlyArray<{ desc?: boolean; field?: string }>;
|
|
36
|
+
endTime?: string;
|
|
37
|
+
includeCursor?: boolean;
|
|
38
|
+
includeCursorField?: boolean;
|
|
39
|
+
libraries?: ReadonlyArray<string>;
|
|
40
|
+
queryOptions?: {
|
|
41
|
+
disableCache?: boolean;
|
|
42
|
+
disableStats?: boolean;
|
|
43
|
+
disableTrace?: boolean;
|
|
44
|
+
maxDataPoints?: number;
|
|
45
|
+
maxSeries?: number;
|
|
46
|
+
noAggregation?: boolean;
|
|
47
|
+
noFill?: boolean;
|
|
48
|
+
noInterpolation?: boolean;
|
|
49
|
+
priority?: "low" | "medium" | "high";
|
|
50
|
+
resolution?: string;
|
|
51
|
+
displayNull?: "auto" | "null" | "span" | "zero" | "";
|
|
52
|
+
overlayCharts?: "true" | "false" | "";
|
|
53
|
+
shownColumns?: string;
|
|
54
|
+
timeSeriesVariant?: "area" | "bars" | "line" | "lines" | "";
|
|
55
|
+
timeSeriesView?: "charts" | "resultsTable" | "charts|resultsTable" | "";
|
|
56
|
+
};
|
|
57
|
+
startTime?: string;
|
|
58
|
+
variables?: unknown;
|
|
59
|
+
};
|
|
60
|
+
who: string;
|
|
61
|
+
id: string;
|
|
62
|
+
}>;
|
|
18
63
|
export const GetStarredQueriesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
19
64
|
Schema.Struct({
|
|
20
65
|
dataset: Schema.optional(Schema.String),
|
|
@@ -75,8 +120,7 @@ export const GetStarredQueriesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
75
120
|
who: Schema.String,
|
|
76
121
|
id: Schema.String,
|
|
77
122
|
}),
|
|
78
|
-
)
|
|
79
|
-
export type GetStarredQueriesOutput = typeof GetStarredQueriesOutput.Type;
|
|
123
|
+
) as unknown as Schema.Codec<GetStarredQueriesOutput>;
|
|
80
124
|
|
|
81
125
|
// The operation
|
|
82
126
|
/**
|
|
@@ -4,12 +4,22 @@ import * as T from "../../traits.ts";
|
|
|
4
4
|
import { NotFound } from "../../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface GetUserInput {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
7
10
|
export const GetUserInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
11
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
|
-
}).pipe(
|
|
10
|
-
|
|
12
|
+
}).pipe(
|
|
13
|
+
T.Http({ method: "GET", path: "/v2/users/{id}" }),
|
|
14
|
+
) as unknown as Schema.Codec<GetUserInput>;
|
|
11
15
|
|
|
12
16
|
// Output Schema
|
|
17
|
+
export interface GetUserOutput {
|
|
18
|
+
email: string;
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
role?: { id: string; name: string };
|
|
22
|
+
}
|
|
13
23
|
export const GetUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
24
|
email: Schema.String,
|
|
15
25
|
id: Schema.String,
|
|
@@ -20,8 +30,7 @@ export const GetUserOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
20
30
|
name: Schema.String,
|
|
21
31
|
}),
|
|
22
32
|
),
|
|
23
|
-
})
|
|
24
|
-
export type GetUserOutput = typeof GetUserOutput.Type;
|
|
33
|
+
}) as unknown as Schema.Codec<GetUserOutput>;
|
|
25
34
|
|
|
26
35
|
// The operation
|
|
27
36
|
/**
|
|
@@ -3,12 +3,18 @@ import { API } from "../../client.ts";
|
|
|
3
3
|
import * as T from "../../traits.ts";
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
|
+
export interface GetUsersInput {}
|
|
6
7
|
export const GetUsersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
7
8
|
T.Http({ method: "GET", path: "/v2/users" }),
|
|
8
|
-
)
|
|
9
|
-
export type GetUsersInput = typeof GetUsersInput.Type;
|
|
9
|
+
) as unknown as Schema.Codec<GetUsersInput>;
|
|
10
10
|
|
|
11
11
|
// Output Schema
|
|
12
|
+
export type GetUsersOutput = ReadonlyArray<{
|
|
13
|
+
email: string;
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
role?: { id: string; name: string };
|
|
17
|
+
}>;
|
|
12
18
|
export const GetUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
13
19
|
Schema.Struct({
|
|
14
20
|
email: Schema.String,
|
|
@@ -21,8 +27,7 @@ export const GetUsersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
21
27
|
}),
|
|
22
28
|
),
|
|
23
29
|
}),
|
|
24
|
-
)
|
|
25
|
-
export type GetUsersOutput = typeof GetUsersOutput.Type;
|
|
30
|
+
) as unknown as Schema.Codec<GetUsersOutput>;
|
|
26
31
|
|
|
27
32
|
// The operation
|
|
28
33
|
/**
|