newscatcher-catchall-sdk 2.0.0 → 3.0.0
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/README.md +1 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +10 -0
- package/dist/cjs/api/resources/datasets/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/datasets/client/Client.js +4 -2
- package/dist/cjs/api/resources/datasets/client/requests/ListDatasetsRequest.d.ts +4 -1
- package/dist/cjs/api/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/index.js +6 -1
- package/dist/cjs/api/resources/jobs/client/Client.d.ts +21 -1
- package/dist/cjs/api/resources/jobs/client/Client.js +63 -2
- package/dist/cjs/api/resources/jobs/client/requests/GetUserJobsRequest.d.ts +5 -1
- package/dist/cjs/api/resources/jobs/client/requests/SubmitRequestDto.d.ts +4 -0
- package/dist/cjs/api/resources/jobs/client/requests/ValidateQueryRequestDto.d.ts +10 -0
- package/dist/cjs/api/resources/jobs/client/requests/ValidateQueryRequestDto.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/monitors/client/Client.d.ts +5 -15
- package/dist/cjs/api/resources/monitors/client/Client.js +7 -16
- package/dist/cjs/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.ts +10 -10
- package/dist/cjs/api/resources/monitors/client/requests/ListMonitorsRequest.d.ts +5 -1
- package/dist/cjs/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.ts +7 -10
- package/dist/cjs/api/resources/monitors/types/DisableMonitorResponse.d.ts +1 -1
- package/dist/cjs/api/resources/monitors/types/EnableMonitorResponse.d.ts +1 -1
- package/dist/cjs/api/resources/projects/client/Client.d.ts +178 -0
- package/dist/cjs/api/resources/projects/client/Client.js +626 -0
- package/dist/cjs/api/resources/projects/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/projects/client/index.js +17 -0
- package/dist/cjs/api/resources/projects/client/requests/AddResourceRequestDto.d.ts +17 -0
- package/dist/cjs/api/resources/projects/client/requests/AddResourceRequestDto.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/CreateProjectRequestDto.d.ts +13 -0
- package/dist/cjs/api/resources/projects/client/requests/CreateProjectRequestDto.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/DeleteProjectRequest.d.ts +12 -0
- package/dist/cjs/api/resources/projects/client/requests/DeleteProjectRequest.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/GetProjectOverviewRequest.d.ts +10 -0
- package/dist/cjs/api/resources/projects/client/requests/GetProjectOverviewRequest.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/GetProjectRequest.d.ts +10 -0
- package/dist/cjs/api/resources/projects/client/requests/GetProjectRequest.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/ListProjectResourcesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/projects/client/requests/ListProjectResourcesRequest.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/ListProjectsRequest.d.ts +16 -0
- package/dist/cjs/api/resources/projects/client/requests/ListProjectsRequest.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.d.ts +16 -0
- package/dist/cjs/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequestDto.d.ts +15 -0
- package/dist/cjs/api/resources/projects/client/requests/UpdateProjectRequestDto.js +3 -0
- package/dist/cjs/api/resources/projects/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/projects/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/projects/exports.d.ts +2 -0
- package/dist/cjs/api/resources/projects/exports.js +21 -0
- package/dist/cjs/api/resources/projects/index.d.ts +1 -0
- package/dist/cjs/api/resources/projects/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +231 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +779 -0
- package/dist/cjs/api/resources/webhooks/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.d.ts +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequestDto.d.ts +42 -0
- package/dist/cjs/api/resources/webhooks/client/requests/CreateWebhookRequestDto.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhookRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhookRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.d.ts +18 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookRequest.d.ts +10 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.d.ts +16 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.d.ts +19 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +12 -0
- package/dist/cjs/api/resources/webhooks/client/requests/ListWebhooksRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.d.ts +16 -0
- package/dist/cjs/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequestDto.d.ts +19 -0
- package/dist/cjs/api/resources/webhooks/client/requests/TestWebhookRequestDto.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.d.ts +30 -0
- package/dist/cjs/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.js +3 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +11 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/exports.js +21 -0
- package/dist/cjs/api/resources/webhooks/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/index.js +18 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.d.ts +19 -0
- package/dist/cjs/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.d.ts +16 -0
- package/dist/cjs/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.js +3 -0
- package/dist/cjs/api/resources/webhooks/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/types/index.js +18 -0
- package/dist/cjs/api/types/AddResourceResponseDto.d.ts +9 -0
- package/dist/cjs/api/types/AddResourceResponseDto.js +3 -0
- package/dist/cjs/api/types/ApiKeyAuthDto.d.ts +6 -0
- package/dist/cjs/api/types/ApiKeyAuthDto.js +3 -0
- package/dist/cjs/api/types/AssignWebhookResourceResponseDto.d.ts +11 -0
- package/dist/cjs/api/types/AssignWebhookResourceResponseDto.js +3 -0
- package/dist/cjs/api/types/BasicAuthDto.d.ts +6 -0
- package/dist/cjs/api/types/BasicAuthDto.js +3 -0
- package/dist/cjs/api/types/BearerAuthDto.d.ts +4 -0
- package/dist/cjs/api/types/BearerAuthDto.js +3 -0
- package/dist/cjs/api/types/ConnectedEntity.d.ts +1 -1
- package/dist/cjs/api/types/CreateProjectResponseDto.d.ts +10 -0
- package/dist/cjs/api/types/CreateProjectResponseDto.js +3 -0
- package/dist/cjs/api/types/CreateWebhookResponseDto.d.ts +9 -0
- package/dist/cjs/api/types/CreateWebhookResponseDto.js +3 -0
- package/dist/cjs/api/types/DeleteJobResponseDto.d.ts +1 -1
- package/dist/cjs/api/types/DeleteMonitorResponseDto.d.ts +1 -1
- package/dist/cjs/api/types/DeliveryHistoryItemDto.d.ts +25 -0
- package/dist/cjs/api/types/DeliveryHistoryItemDto.js +3 -0
- package/dist/cjs/api/types/DeliveryHistoryResponseDto.d.ts +17 -0
- package/dist/cjs/api/types/DeliveryHistoryResponseDto.js +3 -0
- package/dist/cjs/api/types/DeliveryMode.d.ts +11 -0
- package/dist/cjs/api/types/DeliveryMode.js +14 -0
- package/dist/cjs/api/types/DeliveryStatus.d.ts +6 -0
- package/dist/cjs/api/types/DeliveryStatus.js +9 -0
- package/dist/cjs/api/types/GetWebhookResponseDto.d.ts +9 -0
- package/dist/cjs/api/types/GetWebhookResponseDto.js +3 -0
- package/dist/cjs/api/types/HttpMethod.d.ts +9 -0
- package/dist/cjs/api/types/HttpMethod.js +12 -0
- package/dist/cjs/api/types/IssueType.d.ts +25 -0
- package/dist/cjs/api/types/IssueType.js +28 -0
- package/dist/cjs/api/types/JobStep.d.ts +1 -1
- package/dist/cjs/api/types/ListWebhookResourcesResponseDto.d.ts +13 -0
- package/dist/cjs/api/types/ListWebhookResourcesResponseDto.js +3 -0
- package/dist/cjs/api/types/ListWebhooksResponseDto.d.ts +13 -0
- package/dist/cjs/api/types/ListWebhooksResponseDto.js +3 -0
- package/dist/cjs/api/types/MappableResourceType.d.ts +7 -0
- package/dist/cjs/api/types/MappableResourceType.js +10 -0
- package/dist/cjs/api/types/MonitorListItemDto.d.ts +1 -1
- package/dist/cjs/api/types/MonitorStatusHistoryResponseDto.d.ts +1 -1
- package/dist/cjs/api/types/ProjectListResponseDto.d.ts +13 -0
- package/dist/cjs/api/types/ProjectListResponseDto.js +3 -0
- package/dist/cjs/api/types/ProjectOverviewCountsDto.d.ts +4 -0
- package/dist/cjs/api/types/ProjectOverviewCountsDto.js +3 -0
- package/dist/cjs/api/types/ProjectOverviewResponseDto.d.ts +18 -0
- package/dist/cjs/api/types/ProjectOverviewResponseDto.js +3 -0
- package/dist/cjs/api/types/ProjectResourceDto.d.ts +18 -0
- package/dist/cjs/api/types/ProjectResourceDto.js +3 -0
- package/dist/cjs/api/types/ProjectResourceListResponseDto.d.ts +13 -0
- package/dist/cjs/api/types/ProjectResourceListResponseDto.js +3 -0
- package/dist/cjs/api/types/ProjectResourceType.d.ts +8 -0
- package/dist/cjs/api/types/ProjectResourceType.js +11 -0
- package/dist/cjs/api/types/ProjectResponseDto.d.ts +18 -0
- package/dist/cjs/api/types/ProjectResponseDto.js +3 -0
- package/dist/cjs/api/types/ProjectSummaryDto.d.ts +17 -0
- package/dist/cjs/api/types/ProjectSummaryDto.js +3 -0
- package/dist/cjs/api/types/QueryStatus.d.ts +13 -0
- package/dist/cjs/api/types/QueryStatus.js +16 -0
- package/dist/cjs/api/types/RemoveResourceResponseDto.d.ts +6 -0
- package/dist/cjs/api/types/RemoveResourceResponseDto.js +3 -0
- package/dist/cjs/api/types/ResourceItemDto.d.ts +6 -0
- package/dist/cjs/api/types/ResourceItemDto.js +3 -0
- package/dist/cjs/api/types/ResourceResultDto.d.ts +12 -0
- package/dist/cjs/api/types/ResourceResultDto.js +3 -0
- package/dist/cjs/api/types/Suggestion.d.ts +12 -0
- package/dist/cjs/api/types/Suggestion.js +3 -0
- package/dist/cjs/api/types/TestWebhookResponseDto.d.ts +10 -0
- package/dist/cjs/api/types/TestWebhookResponseDto.js +3 -0
- package/dist/cjs/api/types/UpdateProjectResponseDto.d.ts +8 -0
- package/dist/cjs/api/types/UpdateProjectResponseDto.js +3 -0
- package/dist/cjs/api/types/UpdateWebhookResponseDto.d.ts +9 -0
- package/dist/cjs/api/types/UpdateWebhookResponseDto.js +3 -0
- package/dist/cjs/api/types/ValidateQueryResponseDto.d.ts +18 -0
- package/dist/cjs/api/types/ValidateQueryResponseDto.js +3 -0
- package/dist/cjs/api/types/WebhookResourceMappingResponseDto.d.ts +12 -0
- package/dist/cjs/api/types/WebhookResourceMappingResponseDto.js +3 -0
- package/dist/cjs/api/types/WebhookResponseDto.d.ts +28 -0
- package/dist/cjs/api/types/WebhookResponseDto.js +3 -0
- package/dist/cjs/api/types/WebhookType.d.ts +17 -0
- package/dist/cjs/api/types/WebhookType.js +20 -0
- package/dist/cjs/api/types/index.d.ts +37 -0
- package/dist/cjs/api/types/index.js +37 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +10 -0
- package/dist/esm/api/resources/datasets/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/datasets/client/Client.mjs +4 -2
- package/dist/esm/api/resources/datasets/client/requests/ListDatasetsRequest.d.mts +4 -1
- package/dist/esm/api/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/index.mjs +5 -0
- package/dist/esm/api/resources/jobs/client/Client.d.mts +21 -1
- package/dist/esm/api/resources/jobs/client/Client.mjs +63 -2
- package/dist/esm/api/resources/jobs/client/requests/GetUserJobsRequest.d.mts +5 -1
- package/dist/esm/api/resources/jobs/client/requests/SubmitRequestDto.d.mts +4 -0
- package/dist/esm/api/resources/jobs/client/requests/ValidateQueryRequestDto.d.mts +10 -0
- package/dist/esm/api/resources/jobs/client/requests/ValidateQueryRequestDto.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/monitors/client/Client.d.mts +5 -15
- package/dist/esm/api/resources/monitors/client/Client.mjs +7 -16
- package/dist/esm/api/resources/monitors/client/requests/CreateMonitorRequestDto.d.mts +10 -10
- package/dist/esm/api/resources/monitors/client/requests/ListMonitorsRequest.d.mts +5 -1
- package/dist/esm/api/resources/monitors/client/requests/UpdateMonitorRequestDto.d.mts +7 -10
- package/dist/esm/api/resources/monitors/types/DisableMonitorResponse.d.mts +1 -1
- package/dist/esm/api/resources/monitors/types/EnableMonitorResponse.d.mts +1 -1
- package/dist/esm/api/resources/projects/client/Client.d.mts +178 -0
- package/dist/esm/api/resources/projects/client/Client.mjs +589 -0
- package/dist/esm/api/resources/projects/client/index.d.mts +1 -0
- package/dist/esm/api/resources/projects/client/index.mjs +1 -0
- package/dist/esm/api/resources/projects/client/requests/AddResourceRequestDto.d.mts +17 -0
- package/dist/esm/api/resources/projects/client/requests/AddResourceRequestDto.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/CreateProjectRequestDto.d.mts +13 -0
- package/dist/esm/api/resources/projects/client/requests/CreateProjectRequestDto.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/DeleteProjectRequest.d.mts +12 -0
- package/dist/esm/api/resources/projects/client/requests/DeleteProjectRequest.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/GetProjectOverviewRequest.d.mts +10 -0
- package/dist/esm/api/resources/projects/client/requests/GetProjectOverviewRequest.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/GetProjectRequest.d.mts +10 -0
- package/dist/esm/api/resources/projects/client/requests/GetProjectRequest.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/ListProjectResourcesRequest.d.mts +16 -0
- package/dist/esm/api/resources/projects/client/requests/ListProjectResourcesRequest.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/ListProjectsRequest.d.mts +16 -0
- package/dist/esm/api/resources/projects/client/requests/ListProjectsRequest.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.d.mts +16 -0
- package/dist/esm/api/resources/projects/client/requests/RemoveResourceFromProjectRequest.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequestDto.d.mts +15 -0
- package/dist/esm/api/resources/projects/client/requests/UpdateProjectRequestDto.mjs +2 -0
- package/dist/esm/api/resources/projects/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/projects/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/projects/exports.d.mts +2 -0
- package/dist/esm/api/resources/projects/exports.mjs +3 -0
- package/dist/esm/api/resources/projects/index.d.mts +1 -0
- package/dist/esm/api/resources/projects/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +231 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +742 -0
- package/dist/esm/api/resources/webhooks/client/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.d.mts +17 -0
- package/dist/esm/api/resources/webhooks/client/requests/AssignWebhookResourceRequestDto.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequestDto.d.mts +42 -0
- package/dist/esm/api/resources/webhooks/client/requests/CreateWebhookRequestDto.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhookRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhookRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.d.mts +18 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhookDeliveryHistoryRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhookRequest.d.mts +10 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhookRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.d.mts +16 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhookResourcesRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.d.mts +19 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksForResourceRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.d.mts +12 -0
- package/dist/esm/api/resources/webhooks/client/requests/ListWebhooksRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.d.mts +16 -0
- package/dist/esm/api/resources/webhooks/client/requests/RemoveWebhookResourceRequest.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequestDto.d.mts +19 -0
- package/dist/esm/api/resources/webhooks/client/requests/TestWebhookRequestDto.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.d.mts +30 -0
- package/dist/esm/api/resources/webhooks/client/requests/UpdateWebhookRequestDto.mjs +2 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +11 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/exports.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/exports.mjs +3 -0
- package/dist/esm/api/resources/webhooks/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/index.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.d.mts +19 -0
- package/dist/esm/api/resources/webhooks/types/CreateWebhookRequestDtoAuth.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.d.mts +16 -0
- package/dist/esm/api/resources/webhooks/types/UpdateWebhookRequestDtoAuth.mjs +2 -0
- package/dist/esm/api/resources/webhooks/types/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/types/index.mjs +2 -0
- package/dist/esm/api/types/AddResourceResponseDto.d.mts +9 -0
- package/dist/esm/api/types/AddResourceResponseDto.mjs +2 -0
- package/dist/esm/api/types/ApiKeyAuthDto.d.mts +6 -0
- package/dist/esm/api/types/ApiKeyAuthDto.mjs +2 -0
- package/dist/esm/api/types/AssignWebhookResourceResponseDto.d.mts +11 -0
- package/dist/esm/api/types/AssignWebhookResourceResponseDto.mjs +2 -0
- package/dist/esm/api/types/BasicAuthDto.d.mts +6 -0
- package/dist/esm/api/types/BasicAuthDto.mjs +2 -0
- package/dist/esm/api/types/BearerAuthDto.d.mts +4 -0
- package/dist/esm/api/types/BearerAuthDto.mjs +2 -0
- package/dist/esm/api/types/ConnectedEntity.d.mts +1 -1
- package/dist/esm/api/types/CreateProjectResponseDto.d.mts +10 -0
- package/dist/esm/api/types/CreateProjectResponseDto.mjs +2 -0
- package/dist/esm/api/types/CreateWebhookResponseDto.d.mts +9 -0
- package/dist/esm/api/types/CreateWebhookResponseDto.mjs +2 -0
- package/dist/esm/api/types/DeleteJobResponseDto.d.mts +1 -1
- package/dist/esm/api/types/DeleteMonitorResponseDto.d.mts +1 -1
- package/dist/esm/api/types/DeliveryHistoryItemDto.d.mts +25 -0
- package/dist/esm/api/types/DeliveryHistoryItemDto.mjs +2 -0
- package/dist/esm/api/types/DeliveryHistoryResponseDto.d.mts +17 -0
- package/dist/esm/api/types/DeliveryHistoryResponseDto.mjs +2 -0
- package/dist/esm/api/types/DeliveryMode.d.mts +11 -0
- package/dist/esm/api/types/DeliveryMode.mjs +11 -0
- package/dist/esm/api/types/DeliveryStatus.d.mts +6 -0
- package/dist/esm/api/types/DeliveryStatus.mjs +6 -0
- package/dist/esm/api/types/GetWebhookResponseDto.d.mts +9 -0
- package/dist/esm/api/types/GetWebhookResponseDto.mjs +2 -0
- package/dist/esm/api/types/HttpMethod.d.mts +9 -0
- package/dist/esm/api/types/HttpMethod.mjs +9 -0
- package/dist/esm/api/types/IssueType.d.mts +25 -0
- package/dist/esm/api/types/IssueType.mjs +25 -0
- package/dist/esm/api/types/JobStep.d.mts +1 -1
- package/dist/esm/api/types/ListWebhookResourcesResponseDto.d.mts +13 -0
- package/dist/esm/api/types/ListWebhookResourcesResponseDto.mjs +2 -0
- package/dist/esm/api/types/ListWebhooksResponseDto.d.mts +13 -0
- package/dist/esm/api/types/ListWebhooksResponseDto.mjs +2 -0
- package/dist/esm/api/types/MappableResourceType.d.mts +7 -0
- package/dist/esm/api/types/MappableResourceType.mjs +7 -0
- package/dist/esm/api/types/MonitorListItemDto.d.mts +1 -1
- package/dist/esm/api/types/MonitorStatusHistoryResponseDto.d.mts +1 -1
- package/dist/esm/api/types/ProjectListResponseDto.d.mts +13 -0
- package/dist/esm/api/types/ProjectListResponseDto.mjs +2 -0
- package/dist/esm/api/types/ProjectOverviewCountsDto.d.mts +4 -0
- package/dist/esm/api/types/ProjectOverviewCountsDto.mjs +2 -0
- package/dist/esm/api/types/ProjectOverviewResponseDto.d.mts +18 -0
- package/dist/esm/api/types/ProjectOverviewResponseDto.mjs +2 -0
- package/dist/esm/api/types/ProjectResourceDto.d.mts +18 -0
- package/dist/esm/api/types/ProjectResourceDto.mjs +2 -0
- package/dist/esm/api/types/ProjectResourceListResponseDto.d.mts +13 -0
- package/dist/esm/api/types/ProjectResourceListResponseDto.mjs +2 -0
- package/dist/esm/api/types/ProjectResourceType.d.mts +8 -0
- package/dist/esm/api/types/ProjectResourceType.mjs +8 -0
- package/dist/esm/api/types/ProjectResponseDto.d.mts +18 -0
- package/dist/esm/api/types/ProjectResponseDto.mjs +2 -0
- package/dist/esm/api/types/ProjectSummaryDto.d.mts +17 -0
- package/dist/esm/api/types/ProjectSummaryDto.mjs +2 -0
- package/dist/esm/api/types/QueryStatus.d.mts +13 -0
- package/dist/esm/api/types/QueryStatus.mjs +13 -0
- package/dist/esm/api/types/RemoveResourceResponseDto.d.mts +6 -0
- package/dist/esm/api/types/RemoveResourceResponseDto.mjs +2 -0
- package/dist/esm/api/types/ResourceItemDto.d.mts +6 -0
- package/dist/esm/api/types/ResourceItemDto.mjs +2 -0
- package/dist/esm/api/types/ResourceResultDto.d.mts +12 -0
- package/dist/esm/api/types/ResourceResultDto.mjs +2 -0
- package/dist/esm/api/types/Suggestion.d.mts +12 -0
- package/dist/esm/api/types/Suggestion.mjs +2 -0
- package/dist/esm/api/types/TestWebhookResponseDto.d.mts +10 -0
- package/dist/esm/api/types/TestWebhookResponseDto.mjs +2 -0
- package/dist/esm/api/types/UpdateProjectResponseDto.d.mts +8 -0
- package/dist/esm/api/types/UpdateProjectResponseDto.mjs +2 -0
- package/dist/esm/api/types/UpdateWebhookResponseDto.d.mts +9 -0
- package/dist/esm/api/types/UpdateWebhookResponseDto.mjs +2 -0
- package/dist/esm/api/types/ValidateQueryResponseDto.d.mts +18 -0
- package/dist/esm/api/types/ValidateQueryResponseDto.mjs +2 -0
- package/dist/esm/api/types/WebhookResourceMappingResponseDto.d.mts +12 -0
- package/dist/esm/api/types/WebhookResourceMappingResponseDto.mjs +2 -0
- package/dist/esm/api/types/WebhookResponseDto.d.mts +28 -0
- package/dist/esm/api/types/WebhookResponseDto.mjs +2 -0
- package/dist/esm/api/types/WebhookType.d.mts +17 -0
- package/dist/esm/api/types/WebhookType.mjs +17 -0
- package/dist/esm/api/types/index.d.mts +37 -0
- package/dist/esm/api/types/index.mjs +37 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +23 -1
- package/reference.md +1599 -201
|
@@ -43,7 +43,9 @@ export class MonitorsClient {
|
|
|
43
43
|
* @throws {@link CatchAllApi.UnprocessableEntityError}
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* await client.monitors.listMonitors(
|
|
46
|
+
* await client.monitors.listMonitors({
|
|
47
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
|
|
48
|
+
* })
|
|
47
49
|
*/
|
|
48
50
|
listMonitors(request = {}, requestOptions) {
|
|
49
51
|
return core.HttpResponsePromise.fromPromise(this.__listMonitors(request, requestOptions));
|
|
@@ -51,12 +53,13 @@ export class MonitorsClient {
|
|
|
51
53
|
__listMonitors() {
|
|
52
54
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
53
55
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
54
|
-
const { page, page_size: pageSize, search, ownership } = request;
|
|
56
|
+
const { page, page_size: pageSize, search, ownership, project_id: projectId } = request;
|
|
55
57
|
const _queryParams = {
|
|
56
58
|
page,
|
|
57
59
|
page_size: pageSize,
|
|
58
60
|
search,
|
|
59
61
|
ownership: ownership != null ? ownership : undefined,
|
|
62
|
+
project_id: projectId,
|
|
60
63
|
};
|
|
61
64
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
62
65
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -108,13 +111,7 @@ export class MonitorsClient {
|
|
|
108
111
|
* reference_job_id: "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c",
|
|
109
112
|
* schedule: "every day at 12 PM",
|
|
110
113
|
* timezone: "UTC",
|
|
111
|
-
*
|
|
112
|
-
* url: "https://your-endpoint.com/webhook",
|
|
113
|
-
* method: "POST",
|
|
114
|
-
* headers: {
|
|
115
|
-
* "Authorization": "Bearer your_token_here"
|
|
116
|
-
* }
|
|
117
|
-
* },
|
|
114
|
+
* webhook_ids: ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],
|
|
118
115
|
* limit: 10,
|
|
119
116
|
* backfill: true
|
|
120
117
|
* })
|
|
@@ -523,13 +520,7 @@ export class MonitorsClient {
|
|
|
523
520
|
* @example
|
|
524
521
|
* await client.monitors.updateMonitor({
|
|
525
522
|
* monitor_id: "monitor_id",
|
|
526
|
-
*
|
|
527
|
-
* url: "https://new-endpoint.com/webhook",
|
|
528
|
-
* method: "POST",
|
|
529
|
-
* headers: {
|
|
530
|
-
* "Authorization": "Bearer new_token_xyz"
|
|
531
|
-
* }
|
|
532
|
-
* }
|
|
523
|
+
* webhook_ids: ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]
|
|
533
524
|
* })
|
|
534
525
|
*/
|
|
535
526
|
updateMonitor(request, requestOptions) {
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import type * as CatchAllApi from "../../../../index.mjs";
|
|
2
1
|
/**
|
|
3
2
|
* @example
|
|
4
3
|
* {
|
|
5
4
|
* reference_job_id: "5f0c9087-85cb-4917-b3c7-e5a5eff73a0c",
|
|
6
5
|
* schedule: "every day at 12 PM",
|
|
7
6
|
* timezone: "UTC",
|
|
8
|
-
*
|
|
9
|
-
* url: "https://your-endpoint.com/webhook",
|
|
10
|
-
* method: "POST",
|
|
11
|
-
* headers: {
|
|
12
|
-
* "Authorization": "Bearer your_token_here"
|
|
13
|
-
* }
|
|
14
|
-
* },
|
|
7
|
+
* webhook_ids: ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"],
|
|
15
8
|
* limit: 10,
|
|
16
9
|
* backfill: true
|
|
17
10
|
* }
|
|
@@ -31,8 +24,13 @@ export interface CreateMonitorRequestDto {
|
|
|
31
24
|
* If the schedule includes a timezone abbreviation (for example, `"every day at 9am EST"`), the parsed timezone takes priority and this value is ignored.
|
|
32
25
|
*/
|
|
33
26
|
timezone?: string;
|
|
34
|
-
/**
|
|
35
|
-
|
|
27
|
+
/**
|
|
28
|
+
* IDs of centralized webhooks to notify on each run completion.
|
|
29
|
+
* Passing IDs here is equivalent to calling
|
|
30
|
+
* `POST /catchAll/webhooks/{webhook_id}/resources` for each ID after creation.
|
|
31
|
+
* Maximum 5 per monitor.
|
|
32
|
+
*/
|
|
33
|
+
webhook_ids?: string[];
|
|
36
34
|
/** Maximum number of records per monitor run. If not provided, defaults to the plan limit. */
|
|
37
35
|
limit?: number;
|
|
38
36
|
/**
|
|
@@ -41,4 +39,6 @@ export interface CreateMonitorRequestDto {
|
|
|
41
39
|
* If false, no gap filling occurs and the first run uses the current cron window only — the reference job's age does not matter.
|
|
42
40
|
*/
|
|
43
41
|
backfill?: boolean;
|
|
42
|
+
/** Project to assign this monitor to. The monitor appears in the project's resource list after creation. */
|
|
43
|
+
project_id?: string;
|
|
44
44
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type * as CatchAllApi from "../../../../index.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
|
-
* {
|
|
4
|
+
* {
|
|
5
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
|
|
6
|
+
* }
|
|
5
7
|
*/
|
|
6
8
|
export interface ListMonitorsRequest {
|
|
7
9
|
/** Page number to retrieve. */
|
|
@@ -11,4 +13,6 @@ export interface ListMonitorsRequest {
|
|
|
11
13
|
/** Filter results by text (case-insensitive substring match). */
|
|
12
14
|
search?: string;
|
|
13
15
|
ownership?: CatchAllApi.OwnershipFilter;
|
|
16
|
+
/** Filter results to resources belonging to this project. */
|
|
17
|
+
project_id?: string;
|
|
14
18
|
}
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import type * as CatchAllApi from "../../../../index.mjs";
|
|
2
1
|
/**
|
|
3
2
|
* @example
|
|
4
3
|
* {
|
|
5
4
|
* monitor_id: "monitor_id",
|
|
6
|
-
*
|
|
7
|
-
* url: "https://new-endpoint.com/webhook",
|
|
8
|
-
* method: "POST",
|
|
9
|
-
* headers: {
|
|
10
|
-
* "Authorization": "Bearer new_token_xyz"
|
|
11
|
-
* }
|
|
12
|
-
* }
|
|
5
|
+
* webhook_ids: ["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]
|
|
13
6
|
* }
|
|
14
7
|
*/
|
|
15
8
|
export interface UpdateMonitorRequestDto {
|
|
16
9
|
/** Monitor identifier. */
|
|
17
10
|
monitor_id: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Updated list of centralized webhook IDs for this monitor.
|
|
13
|
+
*
|
|
14
|
+
* Replaces all existing webhook assignments. Pass an empty array `[]` to clear all assignments. Omit to leave existing assignments unchanged.
|
|
15
|
+
*/
|
|
16
|
+
webhook_ids?: string[];
|
|
20
17
|
/** Updated maximum number of records per monitor run. */
|
|
21
18
|
limit?: number;
|
|
22
19
|
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../core/index.mjs";
|
|
4
|
+
import * as CatchAllApi from "../../../index.mjs";
|
|
5
|
+
export declare namespace ProjectsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Operations to create, organize, and manage projects.
|
|
12
|
+
*
|
|
13
|
+
* A project is a named container for jobs, monitors, and datasets. Group
|
|
14
|
+
* related resources by use case, team, or client, and share them with
|
|
15
|
+
* teammates. Resources can be assigned at creation time or post-hoc.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ProjectsClient {
|
|
18
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<ProjectsClient.Options>;
|
|
19
|
+
constructor(options?: ProjectsClient.Options);
|
|
20
|
+
/**
|
|
21
|
+
* Returns all projects visible to the authenticated user.
|
|
22
|
+
*
|
|
23
|
+
* @param {CatchAllApi.ListProjectsRequest} request
|
|
24
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
|
+
*
|
|
26
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
27
|
+
* @throws {@link CatchAllApi.UnprocessableEntityError}
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* await client.projects.listProjects({
|
|
31
|
+
* search: "M&A"
|
|
32
|
+
* })
|
|
33
|
+
*/
|
|
34
|
+
listProjects(request?: CatchAllApi.ListProjectsRequest, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ProjectListResponseDto>;
|
|
35
|
+
private __listProjects;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a new project.
|
|
38
|
+
*
|
|
39
|
+
* @param {CatchAllApi.CreateProjectRequestDto} request
|
|
40
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
43
|
+
* @throws {@link CatchAllApi.UnprocessableEntityError}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.projects.createProject({
|
|
47
|
+
* name: "AI M&A Tracking",
|
|
48
|
+
* description: "Tracks AI-related M&A activity for our investment team."
|
|
49
|
+
* })
|
|
50
|
+
*/
|
|
51
|
+
createProject(request: CatchAllApi.CreateProjectRequestDto, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.CreateProjectResponseDto>;
|
|
52
|
+
private __createProject;
|
|
53
|
+
/**
|
|
54
|
+
* Returns a single project by ID.
|
|
55
|
+
*
|
|
56
|
+
* @param {CatchAllApi.GetProjectRequest} request
|
|
57
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
60
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* await client.projects.getProject({
|
|
64
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
|
|
65
|
+
* })
|
|
66
|
+
*/
|
|
67
|
+
getProject(request: CatchAllApi.GetProjectRequest, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ProjectResponseDto>;
|
|
68
|
+
private __getProject;
|
|
69
|
+
/**
|
|
70
|
+
* Deletes a project. By default, assigned resources are unassigned but not deleted.
|
|
71
|
+
*
|
|
72
|
+
* @param {CatchAllApi.DeleteProjectRequest} request
|
|
73
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
76
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.projects.deleteProject({
|
|
80
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
|
|
81
|
+
* })
|
|
82
|
+
*/
|
|
83
|
+
deleteProject(request: CatchAllApi.DeleteProjectRequest, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
84
|
+
private __deleteProject;
|
|
85
|
+
/**
|
|
86
|
+
* Updates the name or description of an existing project.
|
|
87
|
+
*
|
|
88
|
+
* @param {CatchAllApi.UpdateProjectRequestDto} request
|
|
89
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
92
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
93
|
+
* @throws {@link CatchAllApi.UnprocessableEntityError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.projects.updateProject({
|
|
97
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04",
|
|
98
|
+
* name: "AI M&A Tracking (Q2 2026)"
|
|
99
|
+
* })
|
|
100
|
+
*/
|
|
101
|
+
updateProject(request: CatchAllApi.UpdateProjectRequestDto, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.UpdateProjectResponseDto>;
|
|
102
|
+
private __updateProject;
|
|
103
|
+
/**
|
|
104
|
+
* Returns resource counts for a project, grouped by type and status.
|
|
105
|
+
*
|
|
106
|
+
* For `jobs` and `monitors`, counts are broken down by status (for example, `completed`, `failed`). For `datasets` and `monitor_groups`, only a `total` count is returned.
|
|
107
|
+
*
|
|
108
|
+
* @param {CatchAllApi.GetProjectOverviewRequest} request
|
|
109
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
112
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* await client.projects.getProjectOverview({
|
|
116
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
|
|
117
|
+
* })
|
|
118
|
+
*/
|
|
119
|
+
getProjectOverview(request: CatchAllApi.GetProjectOverviewRequest, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ProjectOverviewResponseDto>;
|
|
120
|
+
private __getProjectOverview;
|
|
121
|
+
/**
|
|
122
|
+
* Returns all resources assigned to a project, with optional filtering by type.
|
|
123
|
+
*
|
|
124
|
+
* @param {CatchAllApi.ListProjectResourcesRequest} request
|
|
125
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
128
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
129
|
+
* @throws {@link CatchAllApi.UnprocessableEntityError}
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* await client.projects.listProjectResources({
|
|
133
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04"
|
|
134
|
+
* })
|
|
135
|
+
*/
|
|
136
|
+
listProjectResources(request: CatchAllApi.ListProjectResourcesRequest, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.ProjectResourceListResponseDto>;
|
|
137
|
+
private __listProjectResources;
|
|
138
|
+
/**
|
|
139
|
+
* Assigns one or more existing resources to a project in a single request.
|
|
140
|
+
*
|
|
141
|
+
* @param {CatchAllApi.AddResourceRequestDto} request
|
|
142
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link CatchAllApi.BadRequestError}
|
|
145
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
146
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* await client.projects.addResourceToProject({
|
|
150
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04",
|
|
151
|
+
* resources: [{
|
|
152
|
+
* resource_type: "job",
|
|
153
|
+
* resource_id: "48421e16-1f50-4048-b62c-d3bc0789d30d"
|
|
154
|
+
* }]
|
|
155
|
+
* })
|
|
156
|
+
*/
|
|
157
|
+
addResourceToProject(request: CatchAllApi.AddResourceRequestDto, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.AddResourceResponseDto>;
|
|
158
|
+
private __addResourceToProject;
|
|
159
|
+
/**
|
|
160
|
+
* Removes a resource from a project. The resource itself is not
|
|
161
|
+
* deleted — it becomes unassigned and continues to exist.
|
|
162
|
+
*
|
|
163
|
+
* @param {CatchAllApi.RemoveResourceFromProjectRequest} request
|
|
164
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link CatchAllApi.ForbiddenError}
|
|
167
|
+
* @throws {@link CatchAllApi.NotFoundError}
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* await client.projects.removeResourceFromProject({
|
|
171
|
+
* project_id: "60a85db4-78ec-4b78-876a-bc7d9cdadd04",
|
|
172
|
+
* resource_type: "job",
|
|
173
|
+
* resource_id: "48421e16-1f50-4048-b62c-d3bc0789d30d"
|
|
174
|
+
* })
|
|
175
|
+
*/
|
|
176
|
+
removeResourceFromProject(request: CatchAllApi.RemoveResourceFromProjectRequest, requestOptions?: ProjectsClient.RequestOptions): core.HttpResponsePromise<CatchAllApi.RemoveResourceResponseDto>;
|
|
177
|
+
private __removeResourceFromProject;
|
|
178
|
+
}
|