@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
|
@@ -1,103 +1,58 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { NotFound } from "../../errors.ts";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
export interface GetNotifierInput {
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const GetNotifierInput: Schema.Codec<GetNotifierInput>;
|
|
8
|
+
export interface GetNotifierOutput {
|
|
9
|
+
createdAt?: string;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
disabledUntil?: string;
|
|
12
|
+
name: string;
|
|
13
|
+
properties: {
|
|
14
|
+
customWebhook?: {
|
|
15
|
+
body: string;
|
|
16
|
+
headers?: Record<string, string>;
|
|
17
|
+
secretHeaders?: Record<string, string>;
|
|
18
|
+
url: string;
|
|
19
|
+
};
|
|
20
|
+
discord?: {
|
|
21
|
+
discordChannel?: string;
|
|
22
|
+
discordToken?: string;
|
|
23
|
+
};
|
|
24
|
+
discordWebhook?: {
|
|
25
|
+
discordWebhookUrl?: string;
|
|
26
|
+
};
|
|
27
|
+
email?: {
|
|
28
|
+
emails?: ReadonlyArray<string>;
|
|
29
|
+
};
|
|
30
|
+
microsoftTeams?: {
|
|
31
|
+
microsoftTeamsUrl?: string;
|
|
32
|
+
};
|
|
33
|
+
opsgenie?: {
|
|
34
|
+
apiKey?: Redacted.Redacted<string>;
|
|
35
|
+
isEU?: boolean;
|
|
36
|
+
};
|
|
37
|
+
pagerduty?: {
|
|
38
|
+
routingKey?: string;
|
|
39
|
+
token?: string;
|
|
40
|
+
};
|
|
41
|
+
slack?: {
|
|
42
|
+
slackUrl?: string;
|
|
43
|
+
};
|
|
44
|
+
webhook?: {
|
|
45
|
+
url?: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
updatedAt?: string;
|
|
49
|
+
id?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare const GetNotifierOutput: Schema.Codec<GetNotifierOutput>;
|
|
50
52
|
/**
|
|
51
53
|
* Retrieves detailed configuration for a specific notifier by its unique identifier
|
|
52
54
|
*
|
|
53
55
|
* @param id - Unique identifier of the notifier (format: notify_*)
|
|
54
56
|
*/
|
|
55
|
-
export declare const getNotifier: import("@distilled.cloud/core/client").OperationMethod<
|
|
56
|
-
readonly id: string;
|
|
57
|
-
}, {
|
|
58
|
-
readonly createdAt?: string | undefined;
|
|
59
|
-
readonly createdBy?: string | undefined;
|
|
60
|
-
readonly disabledUntil?: string | undefined;
|
|
61
|
-
readonly name: string;
|
|
62
|
-
readonly properties: {
|
|
63
|
-
readonly customWebhook?: {
|
|
64
|
-
readonly body: string;
|
|
65
|
-
readonly headers?: {
|
|
66
|
-
readonly [x: string]: string;
|
|
67
|
-
} | undefined;
|
|
68
|
-
readonly secretHeaders?: {
|
|
69
|
-
readonly [x: string]: string;
|
|
70
|
-
} | undefined;
|
|
71
|
-
readonly url: string;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly discord?: {
|
|
74
|
-
readonly discordChannel?: string | undefined;
|
|
75
|
-
readonly discordToken?: string | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
readonly discordWebhook?: {
|
|
78
|
-
readonly discordWebhookUrl?: string | undefined;
|
|
79
|
-
} | undefined;
|
|
80
|
-
readonly email?: {
|
|
81
|
-
readonly emails?: readonly string[] | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
readonly microsoftTeams?: {
|
|
84
|
-
readonly microsoftTeamsUrl?: string | undefined;
|
|
85
|
-
} | undefined;
|
|
86
|
-
readonly opsgenie?: {
|
|
87
|
-
readonly apiKey?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
88
|
-
readonly isEU?: boolean | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly pagerduty?: {
|
|
91
|
-
readonly routingKey?: string | undefined;
|
|
92
|
-
readonly token?: string | undefined;
|
|
93
|
-
} | undefined;
|
|
94
|
-
readonly slack?: {
|
|
95
|
-
readonly slackUrl?: string | undefined;
|
|
96
|
-
} | undefined;
|
|
97
|
-
readonly webhook?: {
|
|
98
|
-
readonly url?: string | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
};
|
|
101
|
-
readonly id?: string | undefined;
|
|
102
|
-
}, NotFound, import("~/credentials.ts").Credentials, never>;
|
|
57
|
+
export declare const getNotifier: import("@distilled.cloud/core/client").OperationMethod<GetNotifierInput, GetNotifierOutput, NotFound, import("../../credentials.ts").Credentials, never>;
|
|
103
58
|
//# sourceMappingURL=getNotifier.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotifier.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getNotifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"getNotifier.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getNotifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAG5C,MAAM,WAAW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,GAAG,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KAC5B,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AACD,eAAO,MAAM,iBAAiB,EA8Db,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGjD;;;;GAIG;AACH,eAAO,MAAM,WAAW,0JAIrB,CAAC"}
|
|
@@ -2,12 +2,11 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../../client.js";
|
|
3
3
|
import * as T from "../../traits.js";
|
|
4
4
|
import { NotFound } from "../../errors.js";
|
|
5
|
-
import {
|
|
6
|
-
|
|
5
|
+
import { SensitiveOutputString } from "../../sensitive.js";
|
|
6
|
+
import * as Redacted from "effect/Redacted";
|
|
7
7
|
export const GetNotifierInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
id: Schema.String.pipe(T.PathParam()),
|
|
9
9
|
}).pipe(T.Http({ method: "GET", path: "/v2/notifiers/{id}" }));
|
|
10
|
-
// Output Schema
|
|
11
10
|
export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
11
|
createdAt: Schema.optional(Schema.String),
|
|
13
12
|
createdBy: Schema.optional(Schema.String),
|
|
@@ -34,7 +33,7 @@ export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
34
33
|
microsoftTeamsUrl: Schema.optional(Schema.String),
|
|
35
34
|
})),
|
|
36
35
|
opsgenie: Schema.optional(Schema.Struct({
|
|
37
|
-
apiKey: Schema.optional(
|
|
36
|
+
apiKey: Schema.optional(SensitiveOutputString),
|
|
38
37
|
isEU: Schema.optional(Schema.Boolean),
|
|
39
38
|
})),
|
|
40
39
|
pagerduty: Schema.optional(Schema.Struct({
|
|
@@ -48,6 +47,7 @@ export const GetNotifierOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
48
47
|
url: Schema.optional(Schema.String),
|
|
49
48
|
})),
|
|
50
49
|
}),
|
|
50
|
+
updatedAt: Schema.optional(Schema.String),
|
|
51
51
|
id: Schema.optional(Schema.String),
|
|
52
52
|
});
|
|
53
53
|
// The operation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotifier.js","sourceRoot":"","sources":["../../../src/operations/v2/getNotifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getNotifier.js","sourceRoot":"","sources":["../../../src/operations/v2/getNotifier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAM5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxE,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CACT,CAAC;AA2B/C,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAA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7B,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE,CAAC,QAAQ,CAAU;CAC5B,CAAC,CAAC,CAAC"}
|
|
@@ -1,96 +1,54 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
2
|
+
import * as Redacted from "effect/Redacted";
|
|
3
|
+
export interface GetNotifiersInput {
|
|
4
|
+
}
|
|
5
|
+
export declare const GetNotifiersInput: Schema.Codec<GetNotifiersInput>;
|
|
6
|
+
export type GetNotifiersOutput = ReadonlyArray<{
|
|
7
|
+
createdAt?: string;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
disabledUntil?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
properties: {
|
|
12
|
+
customWebhook?: {
|
|
13
|
+
body: string;
|
|
14
|
+
headers?: Record<string, string>;
|
|
15
|
+
secretHeaders?: Record<string, string>;
|
|
16
|
+
url: string;
|
|
17
|
+
};
|
|
18
|
+
discord?: {
|
|
19
|
+
discordChannel?: string;
|
|
20
|
+
discordToken?: string;
|
|
21
|
+
};
|
|
22
|
+
discordWebhook?: {
|
|
23
|
+
discordWebhookUrl?: string;
|
|
24
|
+
};
|
|
25
|
+
email?: {
|
|
26
|
+
emails?: ReadonlyArray<string>;
|
|
27
|
+
};
|
|
28
|
+
microsoftTeams?: {
|
|
29
|
+
microsoftTeamsUrl?: string;
|
|
30
|
+
};
|
|
31
|
+
opsgenie?: {
|
|
32
|
+
apiKey?: Redacted.Redacted<string>;
|
|
33
|
+
isEU?: boolean;
|
|
34
|
+
};
|
|
35
|
+
pagerduty?: {
|
|
36
|
+
routingKey?: string;
|
|
37
|
+
token?: string;
|
|
38
|
+
};
|
|
39
|
+
slack?: {
|
|
40
|
+
slackUrl?: string;
|
|
41
|
+
};
|
|
42
|
+
webhook?: {
|
|
43
|
+
url?: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
updatedAt?: string;
|
|
47
|
+
id?: string;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const GetNotifiersOutput: Schema.Codec<GetNotifiersOutput>;
|
|
47
50
|
/**
|
|
48
51
|
* Lists all configured notifiers. Returns an array of notification configurations including their IDs and current status.
|
|
49
52
|
*/
|
|
50
|
-
export declare const getNotifiers: import("@distilled.cloud/core/client").OperationMethod<
|
|
51
|
-
readonly createdAt?: string | undefined;
|
|
52
|
-
readonly createdBy?: string | undefined;
|
|
53
|
-
readonly disabledUntil?: string | undefined;
|
|
54
|
-
readonly name: string;
|
|
55
|
-
readonly properties: {
|
|
56
|
-
readonly customWebhook?: {
|
|
57
|
-
readonly body: string;
|
|
58
|
-
readonly headers?: {
|
|
59
|
-
readonly [x: string]: string;
|
|
60
|
-
} | undefined;
|
|
61
|
-
readonly secretHeaders?: {
|
|
62
|
-
readonly [x: string]: string;
|
|
63
|
-
} | undefined;
|
|
64
|
-
readonly url: string;
|
|
65
|
-
} | undefined;
|
|
66
|
-
readonly discord?: {
|
|
67
|
-
readonly discordChannel?: string | undefined;
|
|
68
|
-
readonly discordToken?: string | undefined;
|
|
69
|
-
} | undefined;
|
|
70
|
-
readonly discordWebhook?: {
|
|
71
|
-
readonly discordWebhookUrl?: string | undefined;
|
|
72
|
-
} | undefined;
|
|
73
|
-
readonly email?: {
|
|
74
|
-
readonly emails?: readonly string[] | undefined;
|
|
75
|
-
} | undefined;
|
|
76
|
-
readonly microsoftTeams?: {
|
|
77
|
-
readonly microsoftTeamsUrl?: string | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
readonly opsgenie?: {
|
|
80
|
-
readonly apiKey?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
81
|
-
readonly isEU?: boolean | undefined;
|
|
82
|
-
} | undefined;
|
|
83
|
-
readonly pagerduty?: {
|
|
84
|
-
readonly routingKey?: string | undefined;
|
|
85
|
-
readonly token?: string | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
readonly slack?: {
|
|
88
|
-
readonly slackUrl?: string | undefined;
|
|
89
|
-
} | undefined;
|
|
90
|
-
readonly webhook?: {
|
|
91
|
-
readonly url?: string | undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
-
};
|
|
94
|
-
readonly id?: string | undefined;
|
|
95
|
-
}[], never, import("~/credentials.ts").Credentials, never>;
|
|
53
|
+
export declare const getNotifiers: import("@distilled.cloud/core/client").OperationMethod<GetNotifiersInput, GetNotifiersOutput, never, import("../../credentials.ts").Credentials, never>;
|
|
96
54
|
//# sourceMappingURL=getNotifiers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotifiers.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getNotifiers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getNotifiers.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getNotifiers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAG5C,MAAM,WAAW,iBAAiB;CAAG;AACrC,eAAO,MAAM,iBAAiB,E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;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC,CAAC;AACH,eAAO,MAAM,kBAAkB,EAgEf,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGjD;;GAEG;AACH,eAAO,MAAM,YAAY,yJAGtB,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../../client.js";
|
|
3
3
|
import * as T from "../../traits.js";
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { SensitiveOutputString } from "../../sensitive.js";
|
|
5
|
+
import * as Redacted from "effect/Redacted";
|
|
6
6
|
export const GetNotifiersInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({ method: "GET", path: "/v2/notifiers" }));
|
|
7
|
-
// Output Schema
|
|
8
7
|
export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schema.Struct({
|
|
9
8
|
createdAt: Schema.optional(Schema.String),
|
|
10
9
|
createdBy: Schema.optional(Schema.String),
|
|
@@ -31,7 +30,7 @@ export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schem
|
|
|
31
30
|
microsoftTeamsUrl: Schema.optional(Schema.String),
|
|
32
31
|
})),
|
|
33
32
|
opsgenie: Schema.optional(Schema.Struct({
|
|
34
|
-
apiKey: Schema.optional(
|
|
33
|
+
apiKey: Schema.optional(SensitiveOutputString),
|
|
35
34
|
isEU: Schema.optional(Schema.Boolean),
|
|
36
35
|
})),
|
|
37
36
|
pagerduty: Schema.optional(Schema.Struct({
|
|
@@ -45,6 +44,7 @@ export const GetNotifiersOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(Schem
|
|
|
45
44
|
url: Schema.optional(Schema.String),
|
|
46
45
|
})),
|
|
47
46
|
}),
|
|
47
|
+
updatedAt: Schema.optional(Schema.String),
|
|
48
48
|
id: Schema.optional(Schema.String),
|
|
49
49
|
}));
|
|
50
50
|
// The operation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNotifiers.js","sourceRoot":"","sources":["../../../src/operations/v2/getNotifiers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"getNotifiers.js","sourceRoot":"","sources":["../../../src/operations/v2/getNotifiers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,KAAK,CAAC,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAI5C,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CACxE,EAAE,CACH,CAAC,IAAI,CACJ,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CACH,CAAC;AA2BhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CACxE,MAAM,CAAC,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,aAAa,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC,MAAM;IACnB,UAAU,EAAE,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|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
readonly tier: Schema.Literals<readonly ["personal", "basicDirect", "teamMonthlyDirect", "teamMonthlyAws", "axiomCloud", "teamPlus", "enterprise", "comped"]>;
|
|
38
|
-
readonly validFrom: Schema.optional<Schema.String>;
|
|
39
|
-
readonly withAuths: Schema.optional<Schema.$Array<Schema.String>>;
|
|
40
|
-
}>;
|
|
41
|
-
readonly metaCreated: Schema.optional<Schema.String>;
|
|
42
|
-
readonly metaModified: Schema.optional<Schema.String>;
|
|
43
|
-
readonly metaVersion: Schema.optional<Schema.String>;
|
|
44
|
-
readonly name: Schema.String;
|
|
45
|
-
readonly paymentStatus: Schema.Literals<readonly ["na", "failed", "success", "blocked"]>;
|
|
46
|
-
readonly plan: Schema.Literals<readonly ["personal", "basicDirect", "teamMonthlyDirect", "teamMonthlyAws", "axiomCloud", "teamPlus", "enterprise", "comped"]>;
|
|
47
|
-
readonly planCreated: Schema.String;
|
|
48
|
-
readonly primaryEmail: Schema.String;
|
|
49
|
-
readonly role: Schema.optional<Schema.String>;
|
|
50
|
-
}>;
|
|
51
|
-
export type GetOrgOutput = typeof GetOrgOutput.Type;
|
|
52
|
-
export declare const getOrg: import("@distilled.cloud/core/client").OperationMethod<{
|
|
53
|
-
readonly id: string;
|
|
54
|
-
}, {
|
|
55
|
-
readonly defaultEdgeDeployment?: string | undefined;
|
|
56
|
-
readonly defaultRegion?: string | undefined;
|
|
57
|
-
readonly firstFailedPayment?: string | undefined;
|
|
58
|
-
readonly id: string;
|
|
59
|
-
readonly lastUsageSync: string;
|
|
60
|
-
readonly license: {
|
|
61
|
-
readonly apiRateLimitPerSecond?: number | undefined;
|
|
62
|
-
readonly billingPeriodEnd?: string | undefined;
|
|
63
|
-
readonly billingPeriodStart?: string | undefined;
|
|
64
|
-
readonly defaultEdgeDeployment?: string | undefined;
|
|
65
|
-
readonly defaultRegion?: string | undefined;
|
|
66
|
-
readonly edgeDeployments?: readonly string[] | undefined;
|
|
67
|
-
readonly expiresAt?: string | null | undefined;
|
|
68
|
-
readonly features?: {
|
|
69
|
-
readonly [x: string]: boolean;
|
|
70
|
-
} | undefined;
|
|
71
|
-
readonly id: string;
|
|
72
|
-
readonly issuedAt?: string | undefined;
|
|
73
|
-
readonly issuedTo?: string | undefined;
|
|
74
|
-
readonly issuer?: string | undefined;
|
|
75
|
-
readonly maxAuditWindowSeconds?: number | undefined;
|
|
76
|
-
readonly maxDatasets?: number | undefined;
|
|
77
|
-
readonly maxEndpoints?: number | undefined;
|
|
78
|
-
readonly maxFields?: number | undefined;
|
|
79
|
-
readonly maxMonitors?: number | undefined;
|
|
80
|
-
readonly maxQueryWindowSeconds?: number | undefined;
|
|
81
|
-
readonly maxUsers?: number | undefined;
|
|
82
|
-
readonly monthlyIngestGb?: number | undefined;
|
|
83
|
-
readonly monthlyQueryGbHours?: number | undefined;
|
|
84
|
-
readonly regions?: readonly string[] | undefined;
|
|
85
|
-
readonly storageAllowanceGB?: number | undefined;
|
|
86
|
-
readonly tier: "axiomCloud" | "basicDirect" | "comped" | "enterprise" | "personal" | "teamMonthlyAws" | "teamMonthlyDirect" | "teamPlus";
|
|
87
|
-
readonly validFrom?: string | undefined;
|
|
88
|
-
readonly withAuths?: readonly string[] | undefined;
|
|
3
|
+
export interface GetOrgInput {
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const GetOrgInput: Schema.Codec<GetOrgInput>;
|
|
7
|
+
export interface GetOrgOutput {
|
|
8
|
+
defaultEdgeDeployment?: string;
|
|
9
|
+
firstFailedPayment?: string;
|
|
10
|
+
id: string;
|
|
11
|
+
lastUsageSync: string;
|
|
12
|
+
license: {
|
|
13
|
+
apiRateLimitPerSecond?: number;
|
|
14
|
+
billingPeriodEnd?: string;
|
|
15
|
+
billingPeriodStart?: string;
|
|
16
|
+
defaultEdgeDeployment?: string;
|
|
17
|
+
edgeDeployments?: ReadonlyArray<string>;
|
|
18
|
+
expiresAt?: string | null;
|
|
19
|
+
features?: Record<string, boolean>;
|
|
20
|
+
id: string;
|
|
21
|
+
issuedAt?: string;
|
|
22
|
+
issuedTo?: string;
|
|
23
|
+
issuer?: string;
|
|
24
|
+
maxAuditWindowSeconds?: number;
|
|
25
|
+
maxDatasets?: number;
|
|
26
|
+
maxEndpoints?: number;
|
|
27
|
+
maxFields?: number;
|
|
28
|
+
maxMonitors?: number;
|
|
29
|
+
maxQueryWindowSeconds?: number;
|
|
30
|
+
maxUsers?: number;
|
|
31
|
+
monthlyIngestGb?: number;
|
|
32
|
+
monthlyQueryGbHours?: number;
|
|
33
|
+
storageAllowanceGB?: number;
|
|
34
|
+
tier: "personal" | "teamMonthlyAws" | "axiomCloud" | "teamPlus" | "enterprise" | "comped" | "accelerator";
|
|
35
|
+
validFrom?: string;
|
|
36
|
+
withAuths?: ReadonlyArray<string>;
|
|
89
37
|
};
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
38
|
+
metaCreated?: string;
|
|
39
|
+
metaModified?: string;
|
|
40
|
+
metaVersion?: string;
|
|
41
|
+
name: string;
|
|
42
|
+
paymentStatus: "na" | "failed" | "success" | "blocked";
|
|
43
|
+
plan: "personal" | "teamMonthlyAws" | "axiomCloud" | "teamPlus" | "enterprise" | "comped" | "accelerator";
|
|
44
|
+
planCreated: string;
|
|
45
|
+
primaryEmail: string;
|
|
46
|
+
role?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare const GetOrgOutput: Schema.Codec<GetOrgOutput>;
|
|
49
|
+
export declare const getOrg: import("@distilled.cloud/core/client").OperationMethod<GetOrgInput, GetOrgOutput, NotFound, import("../../credentials.ts").Credentials, never>;
|
|
100
50
|
//# sourceMappingURL=getOrg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrg.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getOrg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"getOrg.d.ts","sourceRoot":"","sources":["../../../src/operations/v2/getOrg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG3C,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,WAAW,EAIR,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;AAG1C,MAAM,WAAW,YAAY;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE;QACP,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,eAAe,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;QACxC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAA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,CAAC"}
|
|
@@ -2,14 +2,11 @@ import * as Schema from "effect/Schema";
|
|
|
2
2
|
import { API } from "../../client.js";
|
|
3
3
|
import * as T from "../../traits.js";
|
|
4
4
|
import { NotFound } from "../../errors.js";
|
|
5
|
-
// Input Schema
|
|
6
5
|
export const GetOrgInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
id: Schema.String.pipe(T.PathParam()),
|
|
8
7
|
}).pipe(T.Http({ method: "GET", path: "/v2/orgs/{id}" }));
|
|
9
|
-
// Output Schema
|
|
10
8
|
export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11
9
|
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
12
|
-
defaultRegion: Schema.optional(Schema.String),
|
|
13
10
|
firstFailedPayment: Schema.optional(Schema.String),
|
|
14
11
|
id: Schema.String,
|
|
15
12
|
lastUsageSync: Schema.String,
|
|
@@ -18,7 +15,6 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
18
15
|
billingPeriodEnd: Schema.optional(Schema.String),
|
|
19
16
|
billingPeriodStart: Schema.optional(Schema.String),
|
|
20
17
|
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
21
|
-
defaultRegion: Schema.optional(Schema.String),
|
|
22
18
|
edgeDeployments: Schema.optional(Schema.Array(Schema.String)),
|
|
23
19
|
expiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
24
20
|
features: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
@@ -35,17 +31,15 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
35
31
|
maxUsers: Schema.optional(Schema.Number),
|
|
36
32
|
monthlyIngestGb: Schema.optional(Schema.Number),
|
|
37
33
|
monthlyQueryGbHours: Schema.optional(Schema.Number),
|
|
38
|
-
regions: Schema.optional(Schema.Array(Schema.String)),
|
|
39
34
|
storageAllowanceGB: Schema.optional(Schema.Number),
|
|
40
35
|
tier: Schema.Literals([
|
|
41
36
|
"personal",
|
|
42
|
-
"basicDirect",
|
|
43
|
-
"teamMonthlyDirect",
|
|
44
37
|
"teamMonthlyAws",
|
|
45
38
|
"axiomCloud",
|
|
46
39
|
"teamPlus",
|
|
47
40
|
"enterprise",
|
|
48
41
|
"comped",
|
|
42
|
+
"accelerator",
|
|
49
43
|
]),
|
|
50
44
|
validFrom: Schema.optional(Schema.String),
|
|
51
45
|
withAuths: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -57,13 +51,12 @@ export const GetOrgOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
57
51
|
paymentStatus: Schema.Literals(["na", "failed", "success", "blocked"]),
|
|
58
52
|
plan: Schema.Literals([
|
|
59
53
|
"personal",
|
|
60
|
-
"basicDirect",
|
|
61
|
-
"teamMonthlyDirect",
|
|
62
54
|
"teamMonthlyAws",
|
|
63
55
|
"axiomCloud",
|
|
64
56
|
"teamPlus",
|
|
65
57
|
"enterprise",
|
|
66
58
|
"comped",
|
|
59
|
+
"accelerator",
|
|
67
60
|
]),
|
|
68
61
|
planCreated: Schema.String,
|
|
69
62
|
primaryEmail: Schema.String,
|