@distilled.cloud/axiom 0.30.3 → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +7 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +17 -1
- package/lib/credentials.js.map +1 -1
- package/lib/edge-ingest.d.ts +6 -1
- package/lib/edge-ingest.d.ts.map +1 -1
- package/lib/edge-ingest.js +6 -1
- package/lib/edge-ingest.js.map +1 -1
- package/lib/edge-query.d.ts +6 -1
- package/lib/edge-query.d.ts.map +1 -1
- package/lib/edge-query.js +6 -1
- package/lib/edge-query.js.map +1 -1
- package/lib/errors.d.ts +7 -2
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +7 -4
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +18 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +22 -11
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +28 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +86 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +3 -4
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +3 -4
- package/lib/retry.js.map +1 -1
- package/lib/services/edge_ingest.d.ts +52 -0
- package/lib/services/edge_ingest.d.ts.map +1 -0
- package/lib/services/edge_ingest.js +59 -0
- package/lib/services/edge_ingest.js.map +1 -0
- package/lib/services/edge_query.d.ts +93 -0
- package/lib/services/edge_query.d.ts.map +1 -0
- package/lib/services/edge_query.js +81 -0
- package/lib/services/edge_query.js.map +1 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +5 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/v2.d.ts +2772 -0
- package/lib/services/v2.d.ts.map +1 -0
- package/lib/services/v2.js +2494 -0
- package/lib/services/v2.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +37 -42
- package/src/credentials.ts +27 -2
- package/src/edge-ingest.ts +6 -1
- package/src/edge-query.ts +6 -1
- package/src/errors.ts +7 -4
- package/src/index.ts +33 -11
- package/src/protocol.ts +111 -0
- package/src/retry.ts +3 -4
- package/src/services/edge_ingest.ts +124 -0
- package/src/services/edge_query.ts +197 -0
- package/src/services/index.ts +4 -0
- package/src/services/v2.ts +6647 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -70
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -108
- package/lib/client.js.map +0 -1
- package/lib/operations/index.d.ts +0 -2
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -2
- package/lib/operations/index.js.map +0 -1
- package/lib/operations/v1-edge-ingest/index.d.ts +0 -2
- package/lib/operations/v1-edge-ingest/index.d.ts.map +0 -1
- package/lib/operations/v1-edge-ingest/index.js +0 -2
- package/lib/operations/v1-edge-ingest/index.js.map +0 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts +0 -31
- package/lib/operations/v1-edge-ingest/ingestToDataset.d.ts.map +0 -1
- package/lib/operations/v1-edge-ingest/ingestToDataset.js +0 -36
- package/lib/operations/v1-edge-ingest/ingestToDataset.js.map +0 -1
- package/lib/operations/v1-edge-query/index.d.ts +0 -2
- package/lib/operations/v1-edge-query/index.d.ts.map +0 -1
- package/lib/operations/v1-edge-query/index.js +0 -2
- package/lib/operations/v1-edge-query/index.js.map +0 -1
- package/lib/operations/v1-edge-query/queryApl.d.ts +0 -66
- package/lib/operations/v1-edge-query/queryApl.d.ts.map +0 -1
- package/lib/operations/v1-edge-query/queryApl.js +0 -71
- package/lib/operations/v1-edge-query/queryApl.js.map +0 -1
- package/lib/operations/v2/createAPIToken.d.ts +0 -84
- package/lib/operations/v2/createAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/createAPIToken.js +0 -89
- package/lib/operations/v2/createAPIToken.js.map +0 -1
- package/lib/operations/v2/createAnnotation.d.ts +0 -28
- package/lib/operations/v2/createAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/createAnnotation.js +0 -33
- package/lib/operations/v2/createAnnotation.js.map +0 -1
- package/lib/operations/v2/createDashboard.d.ts +0 -332
- package/lib/operations/v2/createDashboard.d.ts.map +0 -1
- package/lib/operations/v2/createDashboard.js +0 -113
- package/lib/operations/v2/createDashboard.js.map +0 -1
- package/lib/operations/v2/createDataset.d.ts +0 -36
- package/lib/operations/v2/createDataset.d.ts.map +0 -1
- package/lib/operations/v2/createDataset.js +0 -51
- package/lib/operations/v2/createDataset.js.map +0 -1
- package/lib/operations/v2/createGroup.d.ts +0 -26
- package/lib/operations/v2/createGroup.d.ts.map +0 -1
- package/lib/operations/v2/createGroup.js +0 -31
- package/lib/operations/v2/createGroup.js.map +0 -1
- package/lib/operations/v2/createMapField.d.ts +0 -13
- package/lib/operations/v2/createMapField.d.ts.map +0 -1
- package/lib/operations/v2/createMapField.js +0 -18
- package/lib/operations/v2/createMapField.js.map +0 -1
- package/lib/operations/v2/createMonitor.d.ts +0 -66
- package/lib/operations/v2/createMonitor.d.ts.map +0 -1
- package/lib/operations/v2/createMonitor.js +0 -83
- package/lib/operations/v2/createMonitor.js.map +0 -1
- package/lib/operations/v2/createNotifier.d.ts +0 -95
- package/lib/operations/v2/createNotifier.d.ts.map +0 -1
- package/lib/operations/v2/createNotifier.js +0 -101
- package/lib/operations/v2/createNotifier.js.map +0 -1
- package/lib/operations/v2/createOrg.d.ts +0 -50
- package/lib/operations/v2/createOrg.d.ts.map +0 -1
- package/lib/operations/v2/createOrg.js +0 -70
- package/lib/operations/v2/createOrg.js.map +0 -1
- package/lib/operations/v2/createRole.d.ts +0 -84
- package/lib/operations/v2/createRole.d.ts.map +0 -1
- package/lib/operations/v2/createRole.js +0 -89
- package/lib/operations/v2/createRole.js.map +0 -1
- package/lib/operations/v2/createStarred.d.ts +0 -85
- package/lib/operations/v2/createStarred.d.ts.map +0 -1
- package/lib/operations/v2/createStarred.js +0 -100
- package/lib/operations/v2/createStarred.js.map +0 -1
- package/lib/operations/v2/createUser.d.ts +0 -23
- package/lib/operations/v2/createUser.d.ts.map +0 -1
- package/lib/operations/v2/createUser.js +0 -28
- package/lib/operations/v2/createUser.js.map +0 -1
- package/lib/operations/v2/createView.d.ts +0 -22
- package/lib/operations/v2/createView.d.ts.map +0 -1
- package/lib/operations/v2/createView.js +0 -27
- package/lib/operations/v2/createView.js.map +0 -1
- package/lib/operations/v2/createVirtualField.d.ts +0 -23
- package/lib/operations/v2/createVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/createVirtualField.js +0 -30
- package/lib/operations/v2/createVirtualField.js.map +0 -1
- package/lib/operations/v2/deleteAPIToken.d.ts +0 -13
- package/lib/operations/v2/deleteAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/deleteAPIToken.js +0 -19
- package/lib/operations/v2/deleteAPIToken.js.map +0 -1
- package/lib/operations/v2/deleteAnnotation.d.ts +0 -15
- package/lib/operations/v2/deleteAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/deleteAnnotation.js +0 -21
- package/lib/operations/v2/deleteAnnotation.js.map +0 -1
- package/lib/operations/v2/deleteDashboard.d.ts +0 -15
- package/lib/operations/v2/deleteDashboard.d.ts.map +0 -1
- package/lib/operations/v2/deleteDashboard.js +0 -21
- package/lib/operations/v2/deleteDashboard.js.map +0 -1
- package/lib/operations/v2/deleteDataset.d.ts +0 -13
- package/lib/operations/v2/deleteDataset.d.ts.map +0 -1
- package/lib/operations/v2/deleteDataset.js +0 -19
- package/lib/operations/v2/deleteDataset.js.map +0 -1
- package/lib/operations/v2/deleteGroup.d.ts +0 -17
- package/lib/operations/v2/deleteGroup.d.ts.map +0 -1
- package/lib/operations/v2/deleteGroup.js +0 -23
- package/lib/operations/v2/deleteGroup.js.map +0 -1
- package/lib/operations/v2/deleteMapField.d.ts +0 -11
- package/lib/operations/v2/deleteMapField.d.ts.map +0 -1
- package/lib/operations/v2/deleteMapField.js +0 -20
- package/lib/operations/v2/deleteMapField.js.map +0 -1
- package/lib/operations/v2/deleteMonitor.d.ts +0 -13
- package/lib/operations/v2/deleteMonitor.d.ts.map +0 -1
- package/lib/operations/v2/deleteMonitor.js +0 -19
- package/lib/operations/v2/deleteMonitor.js.map +0 -1
- package/lib/operations/v2/deleteNotifier.d.ts +0 -13
- package/lib/operations/v2/deleteNotifier.d.ts.map +0 -1
- package/lib/operations/v2/deleteNotifier.js +0 -19
- package/lib/operations/v2/deleteNotifier.js.map +0 -1
- package/lib/operations/v2/deleteRole.d.ts +0 -17
- package/lib/operations/v2/deleteRole.d.ts.map +0 -1
- package/lib/operations/v2/deleteRole.js +0 -23
- package/lib/operations/v2/deleteRole.js.map +0 -1
- package/lib/operations/v2/deleteStarred.d.ts +0 -10
- package/lib/operations/v2/deleteStarred.d.ts.map +0 -1
- package/lib/operations/v2/deleteStarred.js +0 -16
- package/lib/operations/v2/deleteStarred.js.map +0 -1
- package/lib/operations/v2/deleteView.d.ts +0 -10
- package/lib/operations/v2/deleteView.d.ts.map +0 -1
- package/lib/operations/v2/deleteView.js +0 -16
- package/lib/operations/v2/deleteView.js.map +0 -1
- package/lib/operations/v2/deleteVirtualField.d.ts +0 -10
- package/lib/operations/v2/deleteVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/deleteVirtualField.js +0 -17
- package/lib/operations/v2/deleteVirtualField.js.map +0 -1
- package/lib/operations/v2/getAPIToken.d.ts +0 -50
- package/lib/operations/v2/getAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/getAPIToken.js +0 -55
- package/lib/operations/v2/getAPIToken.js.map +0 -1
- package/lib/operations/v2/getAPITokens.d.ts +0 -48
- package/lib/operations/v2/getAPITokens.d.ts.map +0 -1
- package/lib/operations/v2/getAPITokens.js +0 -51
- package/lib/operations/v2/getAPITokens.js.map +0 -1
- package/lib/operations/v2/getAnnotation.d.ts +0 -24
- package/lib/operations/v2/getAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/getAnnotation.js +0 -29
- package/lib/operations/v2/getAnnotation.js.map +0 -1
- package/lib/operations/v2/getAnnotations.d.ts +0 -27
- package/lib/operations/v2/getAnnotations.d.ts.map +0 -1
- package/lib/operations/v2/getAnnotations.js +0 -31
- package/lib/operations/v2/getAnnotations.js.map +0 -1
- package/lib/operations/v2/getCurrentUser.d.ts +0 -19
- package/lib/operations/v2/getCurrentUser.d.ts.map +0 -1
- package/lib/operations/v2/getCurrentUser.js +0 -22
- package/lib/operations/v2/getCurrentUser.js.map +0 -1
- package/lib/operations/v2/getDashboard.d.ts +0 -174
- package/lib/operations/v2/getDashboard.d.ts.map +0 -1
- package/lib/operations/v2/getDashboard.js +0 -67
- package/lib/operations/v2/getDashboard.js.map +0 -1
- package/lib/operations/v2/getDataset.d.ts +0 -28
- package/lib/operations/v2/getDataset.d.ts.map +0 -1
- package/lib/operations/v2/getDataset.js +0 -38
- package/lib/operations/v2/getDataset.js.map +0 -1
- package/lib/operations/v2/getDatasets.d.ts +0 -27
- package/lib/operations/v2/getDatasets.d.ts.map +0 -1
- package/lib/operations/v2/getDatasets.js +0 -36
- package/lib/operations/v2/getDatasets.js.map +0 -1
- package/lib/operations/v2/getFieldForDataset.d.ts +0 -17
- package/lib/operations/v2/getFieldForDataset.d.ts.map +0 -1
- package/lib/operations/v2/getFieldForDataset.js +0 -27
- package/lib/operations/v2/getFieldForDataset.js.map +0 -1
- package/lib/operations/v2/getFieldsForDataset.d.ts +0 -16
- package/lib/operations/v2/getFieldsForDataset.d.ts.map +0 -1
- package/lib/operations/v2/getFieldsForDataset.js +0 -23
- package/lib/operations/v2/getFieldsForDataset.js.map +0 -1
- package/lib/operations/v2/getGroupById.d.ts +0 -24
- package/lib/operations/v2/getGroupById.d.ts.map +0 -1
- package/lib/operations/v2/getGroupById.js +0 -29
- package/lib/operations/v2/getGroupById.js.map +0 -1
- package/lib/operations/v2/getMapFields.d.ts +0 -10
- package/lib/operations/v2/getMapFields.d.ts.map +0 -1
- package/lib/operations/v2/getMapFields.js +0 -15
- package/lib/operations/v2/getMapFields.js.map +0 -1
- package/lib/operations/v2/getMonitor.d.ts +0 -43
- package/lib/operations/v2/getMonitor.d.ts.map +0 -1
- package/lib/operations/v2/getMonitor.js +0 -54
- package/lib/operations/v2/getMonitor.js.map +0 -1
- package/lib/operations/v2/getMonitorHistory.d.ts +0 -23
- package/lib/operations/v2/getMonitorHistory.d.ts.map +0 -1
- package/lib/operations/v2/getMonitorHistory.js +0 -28
- package/lib/operations/v2/getMonitorHistory.js.map +0 -1
- package/lib/operations/v2/getMonitors.d.ts +0 -39
- package/lib/operations/v2/getMonitors.d.ts.map +0 -1
- package/lib/operations/v2/getMonitors.js +0 -48
- package/lib/operations/v2/getMonitors.js.map +0 -1
- package/lib/operations/v2/getNotifier.d.ts +0 -58
- package/lib/operations/v2/getNotifier.d.ts.map +0 -1
- package/lib/operations/v2/getNotifier.js +0 -64
- package/lib/operations/v2/getNotifier.js.map +0 -1
- package/lib/operations/v2/getNotifiers.d.ts +0 -54
- package/lib/operations/v2/getNotifiers.d.ts.map +0 -1
- package/lib/operations/v2/getNotifiers.js +0 -58
- package/lib/operations/v2/getNotifiers.js.map +0 -1
- package/lib/operations/v2/getOrg.d.ts +0 -50
- package/lib/operations/v2/getOrg.d.ts.map +0 -1
- package/lib/operations/v2/getOrg.js +0 -71
- package/lib/operations/v2/getOrg.js.map +0 -1
- package/lib/operations/v2/getOrgs.d.ts +0 -48
- package/lib/operations/v2/getOrgs.d.ts.map +0 -1
- package/lib/operations/v2/getOrgs.js +0 -67
- package/lib/operations/v2/getOrgs.js.map +0 -1
- package/lib/operations/v2/getRoleById.d.ts +0 -53
- package/lib/operations/v2/getRoleById.d.ts.map +0 -1
- package/lib/operations/v2/getRoleById.js +0 -58
- package/lib/operations/v2/getRoleById.js.map +0 -1
- package/lib/operations/v2/getStarred.d.ts +0 -49
- package/lib/operations/v2/getStarred.d.ts.map +0 -1
- package/lib/operations/v2/getStarred.js +0 -59
- package/lib/operations/v2/getStarred.js.map +0 -1
- package/lib/operations/v2/getStarredQueries.d.ts +0 -59
- package/lib/operations/v2/getStarredQueries.d.ts.map +0 -1
- package/lib/operations/v2/getStarredQueries.js +0 -68
- package/lib/operations/v2/getStarredQueries.js.map +0 -1
- package/lib/operations/v2/getUser.d.ts +0 -21
- package/lib/operations/v2/getUser.d.ts.map +0 -1
- package/lib/operations/v2/getUser.js +0 -26
- package/lib/operations/v2/getUser.js.map +0 -1
- package/lib/operations/v2/getUsers.d.ts +0 -19
- package/lib/operations/v2/getUsers.d.ts.map +0 -1
- package/lib/operations/v2/getUsers.js +0 -22
- package/lib/operations/v2/getUsers.js.map +0 -1
- package/lib/operations/v2/getView.d.ts +0 -17
- package/lib/operations/v2/getView.d.ts.map +0 -1
- package/lib/operations/v2/getView.js +0 -22
- package/lib/operations/v2/getView.js.map +0 -1
- package/lib/operations/v2/getViews.d.ts +0 -15
- package/lib/operations/v2/getViews.d.ts.map +0 -1
- package/lib/operations/v2/getViews.js +0 -18
- package/lib/operations/v2/getViews.js.map +0 -1
- package/lib/operations/v2/getVirtualField.d.ts +0 -18
- package/lib/operations/v2/getVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/getVirtualField.js +0 -23
- package/lib/operations/v2/getVirtualField.js.map +0 -1
- package/lib/operations/v2/getVirtualFields.d.ts +0 -17
- package/lib/operations/v2/getVirtualFields.d.ts.map +0 -1
- package/lib/operations/v2/getVirtualFields.js +0 -21
- package/lib/operations/v2/getVirtualFields.js.map +0 -1
- package/lib/operations/v2/index.d.ts +0 -78
- package/lib/operations/v2/index.d.ts.map +0 -1
- package/lib/operations/v2/index.js +0 -78
- package/lib/operations/v2/index.js.map +0 -1
- package/lib/operations/v2/listDashboards.d.ts +0 -174
- package/lib/operations/v2/listDashboards.d.ts.map +0 -1
- package/lib/operations/v2/listDashboards.js +0 -66
- package/lib/operations/v2/listDashboards.js.map +0 -1
- package/lib/operations/v2/listGroups.d.ts +0 -20
- package/lib/operations/v2/listGroups.d.ts.map +0 -1
- package/lib/operations/v2/listGroups.js +0 -23
- package/lib/operations/v2/listGroups.js.map +0 -1
- package/lib/operations/v2/listRoles.d.ts +0 -49
- package/lib/operations/v2/listRoles.d.ts.map +0 -1
- package/lib/operations/v2/listRoles.js +0 -52
- package/lib/operations/v2/listRoles.js.map +0 -1
- package/lib/operations/v2/patchDashboardChart.d.ts +0 -183
- package/lib/operations/v2/patchDashboardChart.d.ts.map +0 -1
- package/lib/operations/v2/patchDashboardChart.js +0 -81
- package/lib/operations/v2/patchDashboardChart.js.map +0 -1
- package/lib/operations/v2/regenerateAPIToken.d.ts +0 -89
- package/lib/operations/v2/regenerateAPIToken.d.ts.map +0 -1
- package/lib/operations/v2/regenerateAPIToken.js +0 -96
- package/lib/operations/v2/regenerateAPIToken.js.map +0 -1
- package/lib/operations/v2/removeUserFromOrg.d.ts +0 -13
- package/lib/operations/v2/removeUserFromOrg.d.ts.map +0 -1
- package/lib/operations/v2/removeUserFromOrg.js +0 -19
- package/lib/operations/v2/removeUserFromOrg.js.map +0 -1
- package/lib/operations/v2/trimDataset.d.ts +0 -16
- package/lib/operations/v2/trimDataset.d.ts.map +0 -1
- package/lib/operations/v2/trimDataset.js +0 -22
- package/lib/operations/v2/trimDataset.js.map +0 -1
- package/lib/operations/v2/updateAnnotation.d.ts +0 -31
- package/lib/operations/v2/updateAnnotation.d.ts.map +0 -1
- package/lib/operations/v2/updateAnnotation.js +0 -36
- package/lib/operations/v2/updateAnnotation.js.map +0 -1
- package/lib/operations/v2/updateCurrentUser.d.ts +0 -20
- package/lib/operations/v2/updateCurrentUser.d.ts.map +0 -1
- package/lib/operations/v2/updateCurrentUser.js +0 -25
- package/lib/operations/v2/updateCurrentUser.js.map +0 -1
- package/lib/operations/v2/updateDashboard.d.ts +0 -332
- package/lib/operations/v2/updateDashboard.d.ts.map +0 -1
- package/lib/operations/v2/updateDashboard.js +0 -113
- package/lib/operations/v2/updateDashboard.js.map +0 -1
- package/lib/operations/v2/updateDataset.d.ts +0 -31
- package/lib/operations/v2/updateDataset.d.ts.map +0 -1
- package/lib/operations/v2/updateDataset.js +0 -41
- package/lib/operations/v2/updateDataset.js.map +0 -1
- package/lib/operations/v2/updateFieldForDataset.d.ts +0 -22
- package/lib/operations/v2/updateFieldForDataset.d.ts.map +0 -1
- package/lib/operations/v2/updateFieldForDataset.js +0 -32
- package/lib/operations/v2/updateFieldForDataset.js.map +0 -1
- package/lib/operations/v2/updateGroup.d.ts +0 -29
- package/lib/operations/v2/updateGroup.d.ts.map +0 -1
- package/lib/operations/v2/updateGroup.js +0 -34
- package/lib/operations/v2/updateGroup.js.map +0 -1
- package/lib/operations/v2/updateMapFields.d.ts +0 -10
- package/lib/operations/v2/updateMapFields.d.ts.map +0 -1
- package/lib/operations/v2/updateMapFields.js +0 -15
- package/lib/operations/v2/updateMapFields.js.map +0 -1
- package/lib/operations/v2/updateMonitor.d.ts +0 -67
- package/lib/operations/v2/updateMonitor.d.ts.map +0 -1
- package/lib/operations/v2/updateMonitor.js +0 -84
- package/lib/operations/v2/updateMonitor.js.map +0 -1
- package/lib/operations/v2/updateNotifier.d.ts +0 -96
- package/lib/operations/v2/updateNotifier.d.ts.map +0 -1
- package/lib/operations/v2/updateNotifier.js +0 -102
- package/lib/operations/v2/updateNotifier.js.map +0 -1
- package/lib/operations/v2/updateOrg.d.ts +0 -51
- package/lib/operations/v2/updateOrg.d.ts.map +0 -1
- package/lib/operations/v2/updateOrg.js +0 -72
- package/lib/operations/v2/updateOrg.js.map +0 -1
- package/lib/operations/v2/updateRole.d.ts +0 -87
- package/lib/operations/v2/updateRole.d.ts.map +0 -1
- package/lib/operations/v2/updateRole.js +0 -92
- package/lib/operations/v2/updateRole.js.map +0 -1
- package/lib/operations/v2/updateStarred.d.ts +0 -86
- package/lib/operations/v2/updateStarred.d.ts.map +0 -1
- package/lib/operations/v2/updateStarred.js +0 -101
- package/lib/operations/v2/updateStarred.js.map +0 -1
- package/lib/operations/v2/updateUserRole.d.ts +0 -22
- package/lib/operations/v2/updateUserRole.d.ts.map +0 -1
- package/lib/operations/v2/updateUserRole.js +0 -27
- package/lib/operations/v2/updateUserRole.js.map +0 -1
- package/lib/operations/v2/updateView.d.ts +0 -23
- package/lib/operations/v2/updateView.d.ts.map +0 -1
- package/lib/operations/v2/updateView.js +0 -28
- package/lib/operations/v2/updateView.js.map +0 -1
- package/lib/operations/v2/updateVirtualField.d.ts +0 -24
- package/lib/operations/v2/updateVirtualField.d.ts.map +0 -1
- package/lib/operations/v2/updateVirtualField.js +0 -31
- package/lib/operations/v2/updateVirtualField.js.map +0 -1
- package/lib/operations/v2/vacuumDataset.d.ts +0 -9
- package/lib/operations/v2/vacuumDataset.d.ts.map +0 -1
- package/lib/operations/v2/vacuumDataset.js +0 -14
- package/lib/operations/v2/vacuumDataset.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -122
- package/src/operations/index.ts +0 -1
- package/src/operations/v1-edge-ingest/index.ts +0 -1
- package/src/operations/v1-edge-ingest/ingestToDataset.ts +0 -60
- package/src/operations/v1-edge-query/index.ts +0 -1
- package/src/operations/v1-edge-query/queryApl.ts +0 -134
- package/src/operations/v2/createAPIToken.ts +0 -272
- package/src/operations/v2/createAnnotation.ts +0 -58
- package/src/operations/v2/createDashboard.ts +0 -472
- package/src/operations/v2/createDataset.ts +0 -92
- package/src/operations/v2/createGroup.ts +0 -52
- package/src/operations/v2/createMapField.ts +0 -31
- package/src/operations/v2/createMonitor.ts +0 -160
- package/src/operations/v2/createNotifier.ts +0 -194
- package/src/operations/v2/createOrg.ts +0 -135
- package/src/operations/v2/createRole.ts +0 -276
- package/src/operations/v2/createStarred.ts +0 -203
- package/src/operations/v2/createUser.ts +0 -47
- package/src/operations/v2/createView.ts +0 -49
- package/src/operations/v2/createVirtualField.ts +0 -53
- package/src/operations/v2/deleteAPIToken.ts +0 -29
- package/src/operations/v2/deleteAnnotation.ts +0 -31
- package/src/operations/v2/deleteDashboard.ts +0 -31
- package/src/operations/v2/deleteDataset.ts +0 -29
- package/src/operations/v2/deleteGroup.ts +0 -33
- package/src/operations/v2/deleteMapField.ts +0 -31
- package/src/operations/v2/deleteMonitor.ts +0 -29
- package/src/operations/v2/deleteNotifier.ts +0 -29
- package/src/operations/v2/deleteRole.ts +0 -33
- package/src/operations/v2/deleteStarred.ts +0 -26
- package/src/operations/v2/deleteView.ts +0 -26
- package/src/operations/v2/deleteVirtualField.ts +0 -27
- package/src/operations/v2/getAPIToken.ts +0 -150
- package/src/operations/v2/getAPITokens.ts +0 -148
- package/src/operations/v2/getAnnotation.ts +0 -48
- package/src/operations/v2/getAnnotations.ts +0 -54
- package/src/operations/v2/getCurrentUser.ts +0 -37
- package/src/operations/v2/getDashboard.ts +0 -252
- package/src/operations/v2/getDataset.ts +0 -67
- package/src/operations/v2/getDatasets.ts +0 -65
- package/src/operations/v2/getFieldForDataset.ts +0 -44
- package/src/operations/v2/getFieldsForDataset.ts +0 -41
- package/src/operations/v2/getGroupById.ts +0 -46
- package/src/operations/v2/getMapFields.ts +0 -27
- package/src/operations/v2/getMonitor.ts +0 -99
- package/src/operations/v2/getMonitorHistory.ts +0 -47
- package/src/operations/v2/getMonitors.ts +0 -93
- package/src/operations/v2/getNotifier.ts +0 -117
- package/src/operations/v2/getNotifiers.ts +0 -111
- package/src/operations/v2/getOrg.ts +0 -135
- package/src/operations/v2/getOrgs.ts +0 -131
- package/src/operations/v2/getRoleById.ts +0 -158
- package/src/operations/v2/getStarred.ts +0 -117
- package/src/operations/v2/getStarredQueries.ts +0 -134
- package/src/operations/v2/getUser.ts +0 -43
- package/src/operations/v2/getUsers.ts +0 -39
- package/src/operations/v2/getView.ts +0 -39
- package/src/operations/v2/getViews.ts +0 -35
- package/src/operations/v2/getVirtualField.ts +0 -41
- package/src/operations/v2/getVirtualFields.ts +0 -41
- package/src/operations/v2/index.ts +0 -77
- package/src/operations/v2/listDashboards.ts +0 -254
- package/src/operations/v2/listGroups.ts +0 -40
- package/src/operations/v2/listRoles.ts +0 -156
- package/src/operations/v2/patchDashboardChart.ts +0 -275
- package/src/operations/v2/regenerateAPIToken.ts +0 -320
- package/src/operations/v2/removeUserFromOrg.ts +0 -29
- package/src/operations/v2/trimDataset.ts +0 -33
- package/src/operations/v2/updateAnnotation.ts +0 -62
- package/src/operations/v2/updateCurrentUser.ts +0 -42
- package/src/operations/v2/updateDashboard.ts +0 -472
- package/src/operations/v2/updateDataset.ts +0 -73
- package/src/operations/v2/updateFieldForDataset.ts +0 -54
- package/src/operations/v2/updateGroup.ts +0 -56
- package/src/operations/v2/updateMapFields.ts +0 -27
- package/src/operations/v2/updateMonitor.ts +0 -162
- package/src/operations/v2/updateNotifier.ts +0 -196
- package/src/operations/v2/updateOrg.ts +0 -137
- package/src/operations/v2/updateRole.ts +0 -280
- package/src/operations/v2/updateStarred.ts +0 -205
- package/src/operations/v2/updateUserRole.ts +0 -45
- package/src/operations/v2/updateView.ts +0 -51
- package/src/operations/v2/updateVirtualField.ts +0 -55
- package/src/operations/v2/vacuumDataset.ts +0 -24
- package/src/sensitive.ts +0 -4
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface UpdateGroupInput {
|
|
8
|
-
id: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
isManaged?: boolean;
|
|
11
|
-
members?: ReadonlyArray<string>;
|
|
12
|
-
name: string;
|
|
13
|
-
roles?: ReadonlyArray<string>;
|
|
14
|
-
}
|
|
15
|
-
export const UpdateGroupInput = /*@__PURE__*/ Schema.Struct({
|
|
16
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
17
|
-
description: Schema.optional(Schema.String),
|
|
18
|
-
isManaged: Schema.optional(Schema.Boolean),
|
|
19
|
-
members: Schema.optional(Schema.Array(Schema.String)),
|
|
20
|
-
name: Schema.String,
|
|
21
|
-
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
22
|
-
}).pipe(
|
|
23
|
-
T.Http({ method: "PUT", path: "/v2/rbac/groups/{id}" }),
|
|
24
|
-
) as unknown as Schema.Codec<UpdateGroupInput>;
|
|
25
|
-
|
|
26
|
-
// Output Schema
|
|
27
|
-
export interface UpdateGroupOutput {
|
|
28
|
-
description?: string;
|
|
29
|
-
isManaged?: boolean;
|
|
30
|
-
members?: ReadonlyArray<string>;
|
|
31
|
-
name: string;
|
|
32
|
-
roles?: ReadonlyArray<string>;
|
|
33
|
-
id: string;
|
|
34
|
-
}
|
|
35
|
-
export const UpdateGroupOutput = /*@__PURE__*/ Schema.Struct({
|
|
36
|
-
description: Schema.optional(Schema.String),
|
|
37
|
-
isManaged: Schema.optional(Schema.Boolean),
|
|
38
|
-
members: Schema.optional(Schema.Array(Schema.String)),
|
|
39
|
-
name: Schema.String,
|
|
40
|
-
roles: Schema.optional(Schema.Array(Schema.String)),
|
|
41
|
-
id: Schema.String,
|
|
42
|
-
}) as unknown as Schema.Codec<UpdateGroupOutput>;
|
|
43
|
-
|
|
44
|
-
// The operation
|
|
45
|
-
/**
|
|
46
|
-
* Update group
|
|
47
|
-
*
|
|
48
|
-
* Updates an existing group's configuration.
|
|
49
|
-
*
|
|
50
|
-
* @param id - Unique identifier of the group to update
|
|
51
|
-
*/
|
|
52
|
-
export const updateGroup = /*@__PURE__*/ API.make(() => ({
|
|
53
|
-
inputSchema: UpdateGroupInput,
|
|
54
|
-
outputSchema: UpdateGroupOutput,
|
|
55
|
-
errors: [NotFound, UnprocessableEntity] as const,
|
|
56
|
-
}));
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface UpdateMapFieldsInput {
|
|
8
|
-
dataset_id: string;
|
|
9
|
-
}
|
|
10
|
-
export const UpdateMapFieldsInput = /*@__PURE__*/ Schema.Struct({
|
|
11
|
-
dataset_id: Schema.String.pipe(T.PathParam()),
|
|
12
|
-
}).pipe(
|
|
13
|
-
T.Http({ method: "PUT", path: "/v2/datasets/{dataset_id}/mapfields" }),
|
|
14
|
-
) as unknown as Schema.Codec<UpdateMapFieldsInput>;
|
|
15
|
-
|
|
16
|
-
// Output Schema
|
|
17
|
-
export type UpdateMapFieldsOutput = ReadonlyArray<string>;
|
|
18
|
-
export const UpdateMapFieldsOutput = /*@__PURE__*/ Schema.Array(
|
|
19
|
-
Schema.String,
|
|
20
|
-
) as unknown as Schema.Codec<UpdateMapFieldsOutput>;
|
|
21
|
-
|
|
22
|
-
// The operation
|
|
23
|
-
export const updateMapFields = /*@__PURE__*/ API.make(() => ({
|
|
24
|
-
inputSchema: UpdateMapFieldsInput,
|
|
25
|
-
outputSchema: UpdateMapFieldsOutput,
|
|
26
|
-
errors: [NotFound] as const,
|
|
27
|
-
}));
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface UpdateMonitorInput {
|
|
8
|
-
id: string;
|
|
9
|
-
alertOnNoData?: boolean;
|
|
10
|
-
aplQuery?: string;
|
|
11
|
-
columnName?: string;
|
|
12
|
-
compareDays?: number;
|
|
13
|
-
createdAt?: string;
|
|
14
|
-
createdBy?: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
disabledUntil?: string | null;
|
|
18
|
-
intervalMinutes?: number;
|
|
19
|
-
mplQuery?: string;
|
|
20
|
-
name: string;
|
|
21
|
-
notifierIds?: ReadonlyArray<string>;
|
|
22
|
-
notifyByGroup?: boolean;
|
|
23
|
-
notifyEveryRun?: boolean;
|
|
24
|
-
operator?:
|
|
25
|
-
| "Below"
|
|
26
|
-
| "BelowOrEqual"
|
|
27
|
-
| "Above"
|
|
28
|
-
| "AboveOrEqual"
|
|
29
|
-
| "AboveOrBelow";
|
|
30
|
-
rangeMinutes?: number;
|
|
31
|
-
resolvable?: boolean;
|
|
32
|
-
secondDelay?: number;
|
|
33
|
-
skipResolved?: boolean;
|
|
34
|
-
threshold?: number;
|
|
35
|
-
tolerance?: number;
|
|
36
|
-
triggerAfterNPositiveResults?: number;
|
|
37
|
-
triggerFromNRuns?: number;
|
|
38
|
-
type: "Threshold" | "MatchEvent" | "AnomalyDetection";
|
|
39
|
-
updatedAt?: string;
|
|
40
|
-
}
|
|
41
|
-
export const UpdateMonitorInput = /*@__PURE__*/ Schema.Struct({
|
|
42
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
43
|
-
alertOnNoData: Schema.optional(Schema.Boolean),
|
|
44
|
-
aplQuery: Schema.optional(Schema.String),
|
|
45
|
-
columnName: Schema.optional(Schema.String),
|
|
46
|
-
compareDays: Schema.optional(Schema.Number),
|
|
47
|
-
createdAt: Schema.optional(Schema.String),
|
|
48
|
-
createdBy: Schema.optional(Schema.String),
|
|
49
|
-
description: Schema.optional(Schema.String),
|
|
50
|
-
disabled: Schema.optional(Schema.Boolean),
|
|
51
|
-
disabledUntil: Schema.optional(Schema.NullOr(Schema.String)),
|
|
52
|
-
intervalMinutes: Schema.optional(Schema.Number),
|
|
53
|
-
mplQuery: Schema.optional(Schema.String),
|
|
54
|
-
name: Schema.String,
|
|
55
|
-
notifierIds: Schema.optional(Schema.Array(Schema.String)),
|
|
56
|
-
notifyByGroup: Schema.optional(Schema.Boolean),
|
|
57
|
-
notifyEveryRun: Schema.optional(Schema.Boolean),
|
|
58
|
-
operator: Schema.optional(
|
|
59
|
-
Schema.Literals([
|
|
60
|
-
"Below",
|
|
61
|
-
"BelowOrEqual",
|
|
62
|
-
"Above",
|
|
63
|
-
"AboveOrEqual",
|
|
64
|
-
"AboveOrBelow",
|
|
65
|
-
]),
|
|
66
|
-
),
|
|
67
|
-
rangeMinutes: Schema.optional(Schema.Number),
|
|
68
|
-
resolvable: Schema.optional(Schema.Boolean),
|
|
69
|
-
secondDelay: Schema.optional(Schema.Number),
|
|
70
|
-
skipResolved: Schema.optional(Schema.Boolean),
|
|
71
|
-
threshold: Schema.optional(Schema.Number),
|
|
72
|
-
tolerance: Schema.optional(Schema.Number),
|
|
73
|
-
triggerAfterNPositiveResults: Schema.optional(Schema.Number),
|
|
74
|
-
triggerFromNRuns: Schema.optional(Schema.Number),
|
|
75
|
-
type: Schema.Literals(["Threshold", "MatchEvent", "AnomalyDetection"]),
|
|
76
|
-
updatedAt: Schema.optional(Schema.String),
|
|
77
|
-
}).pipe(
|
|
78
|
-
T.Http({ method: "PUT", path: "/v2/monitors/{id}" }),
|
|
79
|
-
) as unknown as Schema.Codec<UpdateMonitorInput>;
|
|
80
|
-
|
|
81
|
-
// Output Schema
|
|
82
|
-
export interface UpdateMonitorOutput {
|
|
83
|
-
alertOnNoData?: boolean;
|
|
84
|
-
aplQuery?: string;
|
|
85
|
-
columnName?: string;
|
|
86
|
-
compareDays?: number;
|
|
87
|
-
createdAt?: string;
|
|
88
|
-
createdBy?: string;
|
|
89
|
-
description?: string;
|
|
90
|
-
disabled?: boolean;
|
|
91
|
-
disabledUntil?: string | null;
|
|
92
|
-
intervalMinutes?: number;
|
|
93
|
-
mplQuery?: string;
|
|
94
|
-
name: string;
|
|
95
|
-
notifierIds?: ReadonlyArray<string>;
|
|
96
|
-
notifyByGroup?: boolean;
|
|
97
|
-
notifyEveryRun?: boolean;
|
|
98
|
-
operator?:
|
|
99
|
-
| "Below"
|
|
100
|
-
| "BelowOrEqual"
|
|
101
|
-
| "Above"
|
|
102
|
-
| "AboveOrEqual"
|
|
103
|
-
| "AboveOrBelow";
|
|
104
|
-
rangeMinutes?: number;
|
|
105
|
-
resolvable?: boolean;
|
|
106
|
-
secondDelay?: number;
|
|
107
|
-
skipResolved?: boolean;
|
|
108
|
-
threshold?: number;
|
|
109
|
-
tolerance?: number;
|
|
110
|
-
triggerAfterNPositiveResults?: number;
|
|
111
|
-
triggerFromNRuns?: number;
|
|
112
|
-
type: "Threshold" | "MatchEvent" | "AnomalyDetection";
|
|
113
|
-
updatedAt?: string;
|
|
114
|
-
id: string;
|
|
115
|
-
}
|
|
116
|
-
export const UpdateMonitorOutput = /*@__PURE__*/ Schema.Struct({
|
|
117
|
-
alertOnNoData: Schema.optional(Schema.Boolean),
|
|
118
|
-
aplQuery: Schema.optional(Schema.String),
|
|
119
|
-
columnName: Schema.optional(Schema.String),
|
|
120
|
-
compareDays: Schema.optional(Schema.Number),
|
|
121
|
-
createdAt: Schema.optional(Schema.String),
|
|
122
|
-
createdBy: Schema.optional(Schema.String),
|
|
123
|
-
description: Schema.optional(Schema.String),
|
|
124
|
-
disabled: Schema.optional(Schema.Boolean),
|
|
125
|
-
disabledUntil: Schema.optional(Schema.NullOr(Schema.String)),
|
|
126
|
-
intervalMinutes: Schema.optional(Schema.Number),
|
|
127
|
-
mplQuery: Schema.optional(Schema.String),
|
|
128
|
-
name: Schema.String,
|
|
129
|
-
notifierIds: Schema.optional(Schema.Array(Schema.String)),
|
|
130
|
-
notifyByGroup: Schema.optional(Schema.Boolean),
|
|
131
|
-
notifyEveryRun: Schema.optional(Schema.Boolean),
|
|
132
|
-
operator: Schema.optional(
|
|
133
|
-
Schema.Literals([
|
|
134
|
-
"Below",
|
|
135
|
-
"BelowOrEqual",
|
|
136
|
-
"Above",
|
|
137
|
-
"AboveOrEqual",
|
|
138
|
-
"AboveOrBelow",
|
|
139
|
-
]),
|
|
140
|
-
),
|
|
141
|
-
rangeMinutes: Schema.optional(Schema.Number),
|
|
142
|
-
resolvable: Schema.optional(Schema.Boolean),
|
|
143
|
-
secondDelay: Schema.optional(Schema.Number),
|
|
144
|
-
skipResolved: Schema.optional(Schema.Boolean),
|
|
145
|
-
threshold: Schema.optional(Schema.Number),
|
|
146
|
-
tolerance: Schema.optional(Schema.Number),
|
|
147
|
-
triggerAfterNPositiveResults: Schema.optional(Schema.Number),
|
|
148
|
-
triggerFromNRuns: Schema.optional(Schema.Number),
|
|
149
|
-
type: Schema.Literals(["Threshold", "MatchEvent", "AnomalyDetection"]),
|
|
150
|
-
updatedAt: Schema.optional(Schema.String),
|
|
151
|
-
id: Schema.String,
|
|
152
|
-
}) as unknown as Schema.Codec<UpdateMonitorOutput>;
|
|
153
|
-
|
|
154
|
-
// The operation
|
|
155
|
-
/**
|
|
156
|
-
* Update monitor
|
|
157
|
-
*/
|
|
158
|
-
export const updateMonitor = /*@__PURE__*/ API.make(() => ({
|
|
159
|
-
inputSchema: UpdateMonitorInput,
|
|
160
|
-
outputSchema: UpdateMonitorOutput,
|
|
161
|
-
errors: [NotFound, UnprocessableEntity] as const,
|
|
162
|
-
}));
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound, UnprocessableEntity } from "../../errors.ts";
|
|
5
|
-
import { SensitiveString, SensitiveOutputString } from "../../sensitive.ts";
|
|
6
|
-
import * as Redacted from "effect/Redacted";
|
|
7
|
-
|
|
8
|
-
// Input Schema
|
|
9
|
-
export interface UpdateNotifierInput {
|
|
10
|
-
id: string;
|
|
11
|
-
createdAt?: string;
|
|
12
|
-
createdBy?: string;
|
|
13
|
-
disabledUntil?: string;
|
|
14
|
-
name: string;
|
|
15
|
-
properties: {
|
|
16
|
-
customWebhook?: {
|
|
17
|
-
body: string;
|
|
18
|
-
headers?: Record<string, string>;
|
|
19
|
-
secretHeaders?: Record<string, string>;
|
|
20
|
-
url: string;
|
|
21
|
-
};
|
|
22
|
-
discord?: { discordChannel?: string; discordToken?: string };
|
|
23
|
-
discordWebhook?: { discordWebhookUrl?: string };
|
|
24
|
-
email?: { emails?: ReadonlyArray<string> };
|
|
25
|
-
microsoftTeams?: { microsoftTeamsUrl?: string };
|
|
26
|
-
opsgenie?: { apiKey?: string | Redacted.Redacted<string>; isEU?: boolean };
|
|
27
|
-
pagerduty?: { routingKey?: string; token?: string };
|
|
28
|
-
slack?: { slackUrl?: string };
|
|
29
|
-
webhook?: { url?: string };
|
|
30
|
-
};
|
|
31
|
-
updatedAt?: string;
|
|
32
|
-
}
|
|
33
|
-
export const UpdateNotifierInput = /*@__PURE__*/ Schema.Struct({
|
|
34
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
35
|
-
createdAt: Schema.optional(Schema.String),
|
|
36
|
-
createdBy: Schema.optional(Schema.String),
|
|
37
|
-
disabledUntil: Schema.optional(Schema.String),
|
|
38
|
-
name: Schema.String,
|
|
39
|
-
properties: Schema.Struct({
|
|
40
|
-
customWebhook: Schema.optional(
|
|
41
|
-
Schema.Struct({
|
|
42
|
-
body: Schema.String,
|
|
43
|
-
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
44
|
-
secretHeaders: Schema.optional(
|
|
45
|
-
Schema.Record(Schema.String, Schema.String),
|
|
46
|
-
),
|
|
47
|
-
url: Schema.String,
|
|
48
|
-
}),
|
|
49
|
-
),
|
|
50
|
-
discord: Schema.optional(
|
|
51
|
-
Schema.Struct({
|
|
52
|
-
discordChannel: Schema.optional(Schema.String),
|
|
53
|
-
discordToken: Schema.optional(Schema.String),
|
|
54
|
-
}),
|
|
55
|
-
),
|
|
56
|
-
discordWebhook: Schema.optional(
|
|
57
|
-
Schema.Struct({
|
|
58
|
-
discordWebhookUrl: Schema.optional(Schema.String),
|
|
59
|
-
}),
|
|
60
|
-
),
|
|
61
|
-
email: Schema.optional(
|
|
62
|
-
Schema.Struct({
|
|
63
|
-
emails: Schema.optional(Schema.Array(Schema.String)),
|
|
64
|
-
}),
|
|
65
|
-
),
|
|
66
|
-
microsoftTeams: Schema.optional(
|
|
67
|
-
Schema.Struct({
|
|
68
|
-
microsoftTeamsUrl: Schema.optional(Schema.String),
|
|
69
|
-
}),
|
|
70
|
-
),
|
|
71
|
-
opsgenie: Schema.optional(
|
|
72
|
-
Schema.Struct({
|
|
73
|
-
apiKey: Schema.optional(SensitiveString),
|
|
74
|
-
isEU: Schema.optional(Schema.Boolean),
|
|
75
|
-
}),
|
|
76
|
-
),
|
|
77
|
-
pagerduty: Schema.optional(
|
|
78
|
-
Schema.Struct({
|
|
79
|
-
routingKey: Schema.optional(Schema.String),
|
|
80
|
-
token: Schema.optional(Schema.String),
|
|
81
|
-
}),
|
|
82
|
-
),
|
|
83
|
-
slack: Schema.optional(
|
|
84
|
-
Schema.Struct({
|
|
85
|
-
slackUrl: Schema.optional(Schema.String),
|
|
86
|
-
}),
|
|
87
|
-
),
|
|
88
|
-
webhook: Schema.optional(
|
|
89
|
-
Schema.Struct({
|
|
90
|
-
url: Schema.optional(Schema.String),
|
|
91
|
-
}),
|
|
92
|
-
),
|
|
93
|
-
}),
|
|
94
|
-
updatedAt: Schema.optional(Schema.String),
|
|
95
|
-
}).pipe(
|
|
96
|
-
T.Http({ method: "PUT", path: "/v2/notifiers/{id}" }),
|
|
97
|
-
) as unknown as Schema.Codec<UpdateNotifierInput>;
|
|
98
|
-
|
|
99
|
-
// Output Schema
|
|
100
|
-
export interface UpdateNotifierOutput {
|
|
101
|
-
createdAt?: string;
|
|
102
|
-
createdBy?: string;
|
|
103
|
-
disabledUntil?: string;
|
|
104
|
-
name: string;
|
|
105
|
-
properties: {
|
|
106
|
-
customWebhook?: {
|
|
107
|
-
body: string;
|
|
108
|
-
headers?: Record<string, string>;
|
|
109
|
-
secretHeaders?: Record<string, string>;
|
|
110
|
-
url: string;
|
|
111
|
-
};
|
|
112
|
-
discord?: { discordChannel?: string; discordToken?: string };
|
|
113
|
-
discordWebhook?: { discordWebhookUrl?: string };
|
|
114
|
-
email?: { emails?: ReadonlyArray<string> };
|
|
115
|
-
microsoftTeams?: { microsoftTeamsUrl?: string };
|
|
116
|
-
opsgenie?: { apiKey?: Redacted.Redacted<string>; isEU?: boolean };
|
|
117
|
-
pagerduty?: { routingKey?: string; token?: string };
|
|
118
|
-
slack?: { slackUrl?: string };
|
|
119
|
-
webhook?: { url?: string };
|
|
120
|
-
};
|
|
121
|
-
updatedAt?: string;
|
|
122
|
-
id?: string;
|
|
123
|
-
}
|
|
124
|
-
export const UpdateNotifierOutput = /*@__PURE__*/ Schema.Struct({
|
|
125
|
-
createdAt: Schema.optional(Schema.String),
|
|
126
|
-
createdBy: Schema.optional(Schema.String),
|
|
127
|
-
disabledUntil: Schema.optional(Schema.String),
|
|
128
|
-
name: Schema.String,
|
|
129
|
-
properties: Schema.Struct({
|
|
130
|
-
customWebhook: Schema.optional(
|
|
131
|
-
Schema.Struct({
|
|
132
|
-
body: Schema.String,
|
|
133
|
-
headers: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
134
|
-
secretHeaders: Schema.optional(
|
|
135
|
-
Schema.Record(Schema.String, Schema.String),
|
|
136
|
-
),
|
|
137
|
-
url: Schema.String,
|
|
138
|
-
}),
|
|
139
|
-
),
|
|
140
|
-
discord: Schema.optional(
|
|
141
|
-
Schema.Struct({
|
|
142
|
-
discordChannel: Schema.optional(Schema.String),
|
|
143
|
-
discordToken: Schema.optional(Schema.String),
|
|
144
|
-
}),
|
|
145
|
-
),
|
|
146
|
-
discordWebhook: Schema.optional(
|
|
147
|
-
Schema.Struct({
|
|
148
|
-
discordWebhookUrl: Schema.optional(Schema.String),
|
|
149
|
-
}),
|
|
150
|
-
),
|
|
151
|
-
email: Schema.optional(
|
|
152
|
-
Schema.Struct({
|
|
153
|
-
emails: Schema.optional(Schema.Array(Schema.String)),
|
|
154
|
-
}),
|
|
155
|
-
),
|
|
156
|
-
microsoftTeams: Schema.optional(
|
|
157
|
-
Schema.Struct({
|
|
158
|
-
microsoftTeamsUrl: Schema.optional(Schema.String),
|
|
159
|
-
}),
|
|
160
|
-
),
|
|
161
|
-
opsgenie: Schema.optional(
|
|
162
|
-
Schema.Struct({
|
|
163
|
-
apiKey: Schema.optional(SensitiveOutputString),
|
|
164
|
-
isEU: Schema.optional(Schema.Boolean),
|
|
165
|
-
}),
|
|
166
|
-
),
|
|
167
|
-
pagerduty: Schema.optional(
|
|
168
|
-
Schema.Struct({
|
|
169
|
-
routingKey: Schema.optional(Schema.String),
|
|
170
|
-
token: Schema.optional(Schema.String),
|
|
171
|
-
}),
|
|
172
|
-
),
|
|
173
|
-
slack: Schema.optional(
|
|
174
|
-
Schema.Struct({
|
|
175
|
-
slackUrl: Schema.optional(Schema.String),
|
|
176
|
-
}),
|
|
177
|
-
),
|
|
178
|
-
webhook: Schema.optional(
|
|
179
|
-
Schema.Struct({
|
|
180
|
-
url: Schema.optional(Schema.String),
|
|
181
|
-
}),
|
|
182
|
-
),
|
|
183
|
-
}),
|
|
184
|
-
updatedAt: Schema.optional(Schema.String),
|
|
185
|
-
id: Schema.optional(Schema.String),
|
|
186
|
-
}) as unknown as Schema.Codec<UpdateNotifierOutput>;
|
|
187
|
-
|
|
188
|
-
// The operation
|
|
189
|
-
/**
|
|
190
|
-
* Update notifier
|
|
191
|
-
*/
|
|
192
|
-
export const updateNotifier = /*@__PURE__*/ API.make(() => ({
|
|
193
|
-
inputSchema: UpdateNotifierInput,
|
|
194
|
-
outputSchema: UpdateNotifierOutput,
|
|
195
|
-
errors: [NotFound, UnprocessableEntity] as const,
|
|
196
|
-
}));
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import * as Schema from "effect/Schema";
|
|
2
|
-
import { API } from "../../client.ts";
|
|
3
|
-
import * as T from "../../traits.ts";
|
|
4
|
-
import { NotFound } from "../../errors.ts";
|
|
5
|
-
|
|
6
|
-
// Input Schema
|
|
7
|
-
export interface UpdateOrgInput {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
}
|
|
11
|
-
export const UpdateOrgInput = /*@__PURE__*/ Schema.Struct({
|
|
12
|
-
id: Schema.String.pipe(T.PathParam()),
|
|
13
|
-
name: Schema.String,
|
|
14
|
-
}).pipe(
|
|
15
|
-
T.Http({ method: "PUT", path: "/v2/orgs/{id}" }),
|
|
16
|
-
) as unknown as Schema.Codec<UpdateOrgInput>;
|
|
17
|
-
|
|
18
|
-
// Output Schema
|
|
19
|
-
export interface UpdateOrgOutput {
|
|
20
|
-
defaultEdgeDeployment?: string;
|
|
21
|
-
firstFailedPayment?: string;
|
|
22
|
-
id: string;
|
|
23
|
-
lastUsageSync: string;
|
|
24
|
-
license: {
|
|
25
|
-
apiRateLimitPerSecond?: number;
|
|
26
|
-
billingPeriodEnd?: string;
|
|
27
|
-
billingPeriodStart?: string;
|
|
28
|
-
defaultEdgeDeployment?: string;
|
|
29
|
-
edgeDeployments?: ReadonlyArray<string>;
|
|
30
|
-
expiresAt?: string | null;
|
|
31
|
-
features?: Record<string, boolean>;
|
|
32
|
-
id: string;
|
|
33
|
-
issuedAt?: string;
|
|
34
|
-
issuedTo?: string;
|
|
35
|
-
issuer?: string;
|
|
36
|
-
maxAuditWindowSeconds?: number;
|
|
37
|
-
maxDatasets?: number;
|
|
38
|
-
maxEndpoints?: number;
|
|
39
|
-
maxFields?: number;
|
|
40
|
-
maxMonitors?: number;
|
|
41
|
-
maxQueryWindowSeconds?: number;
|
|
42
|
-
maxUsers?: number;
|
|
43
|
-
monthlyIngestGb?: number;
|
|
44
|
-
monthlyQueryGbHours?: number;
|
|
45
|
-
storageAllowanceGB?: number;
|
|
46
|
-
tier:
|
|
47
|
-
| "personal"
|
|
48
|
-
| "teamMonthlyAws"
|
|
49
|
-
| "axiomCloud"
|
|
50
|
-
| "teamPlus"
|
|
51
|
-
| "enterprise"
|
|
52
|
-
| "comped"
|
|
53
|
-
| "accelerator";
|
|
54
|
-
validFrom?: string;
|
|
55
|
-
withAuths?: ReadonlyArray<string>;
|
|
56
|
-
};
|
|
57
|
-
metaCreated?: string;
|
|
58
|
-
metaModified?: string;
|
|
59
|
-
metaVersion?: string;
|
|
60
|
-
name: string;
|
|
61
|
-
paymentStatus: "na" | "failed" | "success" | "blocked";
|
|
62
|
-
plan:
|
|
63
|
-
| "personal"
|
|
64
|
-
| "teamMonthlyAws"
|
|
65
|
-
| "axiomCloud"
|
|
66
|
-
| "teamPlus"
|
|
67
|
-
| "enterprise"
|
|
68
|
-
| "comped"
|
|
69
|
-
| "accelerator";
|
|
70
|
-
planCreated: string;
|
|
71
|
-
primaryEmail: string;
|
|
72
|
-
role?: string;
|
|
73
|
-
}
|
|
74
|
-
export const UpdateOrgOutput = /*@__PURE__*/ Schema.Struct({
|
|
75
|
-
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
76
|
-
firstFailedPayment: Schema.optional(Schema.String),
|
|
77
|
-
id: Schema.String,
|
|
78
|
-
lastUsageSync: Schema.String,
|
|
79
|
-
license: Schema.Struct({
|
|
80
|
-
apiRateLimitPerSecond: Schema.optional(Schema.Number),
|
|
81
|
-
billingPeriodEnd: Schema.optional(Schema.String),
|
|
82
|
-
billingPeriodStart: Schema.optional(Schema.String),
|
|
83
|
-
defaultEdgeDeployment: Schema.optional(Schema.String),
|
|
84
|
-
edgeDeployments: Schema.optional(Schema.Array(Schema.String)),
|
|
85
|
-
expiresAt: Schema.optional(Schema.NullOr(Schema.String)),
|
|
86
|
-
features: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
87
|
-
id: Schema.String,
|
|
88
|
-
issuedAt: Schema.optional(Schema.String),
|
|
89
|
-
issuedTo: Schema.optional(Schema.String),
|
|
90
|
-
issuer: Schema.optional(Schema.String),
|
|
91
|
-
maxAuditWindowSeconds: Schema.optional(Schema.Number),
|
|
92
|
-
maxDatasets: Schema.optional(Schema.Number),
|
|
93
|
-
maxEndpoints: Schema.optional(Schema.Number),
|
|
94
|
-
maxFields: Schema.optional(Schema.Number),
|
|
95
|
-
maxMonitors: Schema.optional(Schema.Number),
|
|
96
|
-
maxQueryWindowSeconds: Schema.optional(Schema.Number),
|
|
97
|
-
maxUsers: Schema.optional(Schema.Number),
|
|
98
|
-
monthlyIngestGb: Schema.optional(Schema.Number),
|
|
99
|
-
monthlyQueryGbHours: Schema.optional(Schema.Number),
|
|
100
|
-
storageAllowanceGB: Schema.optional(Schema.Number),
|
|
101
|
-
tier: Schema.Literals([
|
|
102
|
-
"personal",
|
|
103
|
-
"teamMonthlyAws",
|
|
104
|
-
"axiomCloud",
|
|
105
|
-
"teamPlus",
|
|
106
|
-
"enterprise",
|
|
107
|
-
"comped",
|
|
108
|
-
"accelerator",
|
|
109
|
-
]),
|
|
110
|
-
validFrom: Schema.optional(Schema.String),
|
|
111
|
-
withAuths: Schema.optional(Schema.Array(Schema.String)),
|
|
112
|
-
}),
|
|
113
|
-
metaCreated: Schema.optional(Schema.String),
|
|
114
|
-
metaModified: Schema.optional(Schema.String),
|
|
115
|
-
metaVersion: Schema.optional(Schema.String),
|
|
116
|
-
name: Schema.String,
|
|
117
|
-
paymentStatus: Schema.Literals(["na", "failed", "success", "blocked"]),
|
|
118
|
-
plan: Schema.Literals([
|
|
119
|
-
"personal",
|
|
120
|
-
"teamMonthlyAws",
|
|
121
|
-
"axiomCloud",
|
|
122
|
-
"teamPlus",
|
|
123
|
-
"enterprise",
|
|
124
|
-
"comped",
|
|
125
|
-
"accelerator",
|
|
126
|
-
]),
|
|
127
|
-
planCreated: Schema.String,
|
|
128
|
-
primaryEmail: Schema.String,
|
|
129
|
-
role: Schema.optional(Schema.String),
|
|
130
|
-
}) as unknown as Schema.Codec<UpdateOrgOutput>;
|
|
131
|
-
|
|
132
|
-
// The operation
|
|
133
|
-
export const updateOrg = /*@__PURE__*/ API.make(() => ({
|
|
134
|
-
inputSchema: UpdateOrgInput,
|
|
135
|
-
outputSchema: UpdateOrgOutput,
|
|
136
|
-
errors: [NotFound] as const,
|
|
137
|
-
}));
|