@keystrokehq/new_relic 0.1.2 → 0.1.4
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/dist/actions/add-notification-channels-to-policy.cjs +4 -4
- package/dist/actions/add-notification-channels-to-policy.cjs.map +1 -1
- package/dist/actions/add-notification-channels-to-policy.d.cts +4 -4
- package/dist/actions/add-notification-channels-to-policy.d.mts +4 -4
- package/dist/actions/add-notification-channels-to-policy.mjs +4 -4
- package/dist/actions/add-notification-channels-to-policy.mjs.map +1 -1
- package/dist/actions/add-tags-to-entity.cjs +4 -4
- package/dist/actions/add-tags-to-entity.cjs.map +1 -1
- package/dist/actions/add-tags-to-entity.d.cts +5 -4
- package/dist/actions/add-tags-to-entity.d.mts +5 -4
- package/dist/actions/add-tags-to-entity.mjs +4 -4
- package/dist/actions/add-tags-to-entity.mjs.map +1 -1
- package/dist/actions/add-widgets-to-dashboard-page.cjs +11 -11
- package/dist/actions/add-widgets-to-dashboard-page.cjs.map +1 -1
- package/dist/actions/add-widgets-to-dashboard-page.d.cts +18 -11
- package/dist/actions/add-widgets-to-dashboard-page.d.mts +18 -11
- package/dist/actions/add-widgets-to-dashboard-page.mjs +11 -11
- package/dist/actions/add-widgets-to-dashboard-page.mjs.map +1 -1
- package/dist/actions/configure-cloud-integration.cjs +22 -22
- package/dist/actions/configure-cloud-integration.cjs.map +1 -1
- package/dist/actions/configure-cloud-integration.d.cts +40 -22
- package/dist/actions/configure-cloud-integration.d.mts +40 -22
- package/dist/actions/configure-cloud-integration.mjs +22 -22
- package/dist/actions/configure-cloud-integration.mjs.map +1 -1
- package/dist/actions/create-ai-notifications-channel.cjs +5 -5
- package/dist/actions/create-ai-notifications-channel.cjs.map +1 -1
- package/dist/actions/create-ai-notifications-channel.d.cts +6 -5
- package/dist/actions/create-ai-notifications-channel.d.mts +6 -5
- package/dist/actions/create-ai-notifications-channel.mjs +5 -5
- package/dist/actions/create-ai-notifications-channel.mjs.map +1 -1
- package/dist/actions/create-ai-notifications-destination.cjs +5 -5
- package/dist/actions/create-ai-notifications-destination.cjs.map +1 -1
- package/dist/actions/create-ai-notifications-destination.d.cts +6 -5
- package/dist/actions/create-ai-notifications-destination.d.mts +6 -5
- package/dist/actions/create-ai-notifications-destination.mjs +5 -5
- package/dist/actions/create-ai-notifications-destination.mjs.map +1 -1
- package/dist/actions/create-ai-workflow.cjs +10 -10
- package/dist/actions/create-ai-workflow.cjs.map +1 -1
- package/dist/actions/create-ai-workflow.d.cts +16 -13
- package/dist/actions/create-ai-workflow.d.mts +16 -13
- package/dist/actions/create-ai-workflow.mjs +10 -10
- package/dist/actions/create-ai-workflow.mjs.map +1 -1
- package/dist/actions/create-alert-channel.cjs +3 -3
- package/dist/actions/create-alert-channel.cjs.map +1 -1
- package/dist/actions/create-alert-channel.d.cts +3 -3
- package/dist/actions/create-alert-channel.d.mts +3 -3
- package/dist/actions/create-alert-channel.mjs +3 -3
- package/dist/actions/create-alert-channel.mjs.map +1 -1
- package/dist/actions/create-alert-policy.cjs +3 -3
- package/dist/actions/create-alert-policy.cjs.map +1 -1
- package/dist/actions/create-alert-policy.d.cts +3 -3
- package/dist/actions/create-alert-policy.d.mts +3 -3
- package/dist/actions/create-alert-policy.mjs +3 -3
- package/dist/actions/create-alert-policy.mjs.map +1 -1
- package/dist/actions/create-alerts-nrql-condition-static.cjs +1 -1
- package/dist/actions/create-alerts-nrql-condition-static.cjs.map +1 -1
- package/dist/actions/create-alerts-nrql-condition-static.d.cts +1 -1
- package/dist/actions/create-alerts-nrql-condition-static.d.mts +1 -1
- package/dist/actions/create-alerts-nrql-condition-static.mjs +1 -1
- package/dist/actions/create-alerts-nrql-condition-static.mjs.map +1 -1
- package/dist/actions/create-alerts-policy-graphql.cjs +1 -1
- package/dist/actions/create-alerts-policy-graphql.cjs.map +1 -1
- package/dist/actions/create-alerts-policy-graphql.d.cts +1 -1
- package/dist/actions/create-alerts-policy-graphql.d.mts +1 -1
- package/dist/actions/create-alerts-policy-graphql.mjs +1 -1
- package/dist/actions/create-alerts-policy-graphql.mjs.map +1 -1
- package/dist/actions/create-api-access-keys.cjs +4 -4
- package/dist/actions/create-api-access-keys.cjs.map +1 -1
- package/dist/actions/create-api-access-keys.d.cts +4 -4
- package/dist/actions/create-api-access-keys.d.mts +4 -4
- package/dist/actions/create-api-access-keys.mjs +4 -4
- package/dist/actions/create-api-access-keys.mjs.map +1 -1
- package/dist/actions/create-broken-links-monitor.cjs +3 -3
- package/dist/actions/create-broken-links-monitor.cjs.map +1 -1
- package/dist/actions/create-broken-links-monitor.d.cts +4 -3
- package/dist/actions/create-broken-links-monitor.d.mts +4 -3
- package/dist/actions/create-broken-links-monitor.mjs +3 -3
- package/dist/actions/create-broken-links-monitor.mjs.map +1 -1
- package/dist/actions/create-dashboard-snapshot-url.cjs +5 -5
- package/dist/actions/create-dashboard-snapshot-url.cjs.map +1 -1
- package/dist/actions/create-dashboard-snapshot-url.d.cts +5 -5
- package/dist/actions/create-dashboard-snapshot-url.d.mts +5 -5
- package/dist/actions/create-dashboard-snapshot-url.mjs +5 -5
- package/dist/actions/create-dashboard-snapshot-url.mjs.map +1 -1
- package/dist/actions/create-dashboard.cjs +7 -7
- package/dist/actions/create-dashboard.cjs.map +1 -1
- package/dist/actions/create-dashboard.d.cts +11 -9
- package/dist/actions/create-dashboard.d.cts.map +1 -1
- package/dist/actions/create-dashboard.d.mts +11 -9
- package/dist/actions/create-dashboard.d.mts.map +1 -1
- package/dist/actions/create-dashboard.mjs +7 -7
- package/dist/actions/create-dashboard.mjs.map +1 -1
- package/dist/actions/create-deployment-marker.cjs +3 -3
- package/dist/actions/create-deployment-marker.cjs.map +1 -1
- package/dist/actions/create-deployment-marker.d.cts +3 -3
- package/dist/actions/create-deployment-marker.d.mts +3 -3
- package/dist/actions/create-deployment-marker.mjs +3 -3
- package/dist/actions/create-deployment-marker.mjs.map +1 -1
- package/dist/actions/create-entity-relationship.cjs +2 -2
- package/dist/actions/create-entity-relationship.cjs.map +1 -1
- package/dist/actions/create-entity-relationship.d.cts +4 -4
- package/dist/actions/create-entity-relationship.d.mts +4 -4
- package/dist/actions/create-entity-relationship.mjs +2 -2
- package/dist/actions/create-entity-relationship.mjs.map +1 -1
- package/dist/actions/create-example-browser-application.cjs +3 -3
- package/dist/actions/create-example-browser-application.cjs.map +1 -1
- package/dist/actions/create-example-browser-application.d.cts +3 -3
- package/dist/actions/create-example-browser-application.d.mts +3 -3
- package/dist/actions/create-example-browser-application.mjs +3 -3
- package/dist/actions/create-example-browser-application.mjs.map +1 -1
- package/dist/actions/create-example-mobile-application.cjs +3 -3
- package/dist/actions/create-example-mobile-application.cjs.map +1 -1
- package/dist/actions/create-example-mobile-application.d.cts +3 -3
- package/dist/actions/create-example-mobile-application.d.mts +3 -3
- package/dist/actions/create-example-mobile-application.mjs +3 -3
- package/dist/actions/create-example-mobile-application.mjs.map +1 -1
- package/dist/actions/create-external-service-condition.cjs +4 -4
- package/dist/actions/create-external-service-condition.cjs.map +1 -1
- package/dist/actions/create-external-service-condition.d.cts +5 -4
- package/dist/actions/create-external-service-condition.d.mts +5 -4
- package/dist/actions/create-external-service-condition.mjs +4 -4
- package/dist/actions/create-external-service-condition.mjs.map +1 -1
- package/dist/actions/create-infra-condition.cjs +2 -2
- package/dist/actions/create-infra-condition.cjs.map +1 -1
- package/dist/actions/create-infra-condition.d.cts +2 -2
- package/dist/actions/create-infra-condition.d.mts +2 -2
- package/dist/actions/create-infra-condition.mjs +2 -2
- package/dist/actions/create-infra-condition.mjs.map +1 -1
- package/dist/actions/create-location-failure-condition.cjs +4 -4
- package/dist/actions/create-location-failure-condition.cjs.map +1 -1
- package/dist/actions/create-location-failure-condition.d.cts +5 -4
- package/dist/actions/create-location-failure-condition.d.mts +5 -4
- package/dist/actions/create-location-failure-condition.mjs +4 -4
- package/dist/actions/create-location-failure-condition.mjs.map +1 -1
- package/dist/actions/create-log-data-partition-rule.cjs +3 -3
- package/dist/actions/create-log-data-partition-rule.cjs.map +1 -1
- package/dist/actions/create-log-data-partition-rule.d.cts +3 -3
- package/dist/actions/create-log-data-partition-rule.d.mts +3 -3
- package/dist/actions/create-log-data-partition-rule.mjs +3 -3
- package/dist/actions/create-log-data-partition-rule.mjs.map +1 -1
- package/dist/actions/create-lookup-table.cjs +1 -1
- package/dist/actions/create-lookup-table.cjs.map +1 -1
- package/dist/actions/create-lookup-table.d.cts +1 -1
- package/dist/actions/create-lookup-table.d.mts +1 -1
- package/dist/actions/create-lookup-table.mjs +1 -1
- package/dist/actions/create-lookup-table.mjs.map +1 -1
- package/dist/actions/create-metric-normalization-rule.cjs +3 -3
- package/dist/actions/create-metric-normalization-rule.cjs.map +1 -1
- package/dist/actions/create-metric-normalization-rule.d.cts +3 -3
- package/dist/actions/create-metric-normalization-rule.d.mts +3 -3
- package/dist/actions/create-metric-normalization-rule.mjs +3 -3
- package/dist/actions/create-metric-normalization-rule.mjs.map +1 -1
- package/dist/actions/create-monitor.cjs +1 -1
- package/dist/actions/create-monitor.cjs.map +1 -1
- package/dist/actions/create-monitor.d.cts +1 -1
- package/dist/actions/create-monitor.d.mts +1 -1
- package/dist/actions/create-monitor.mjs +1 -1
- package/dist/actions/create-monitor.mjs.map +1 -1
- package/dist/actions/create-nrql-baseline-condition.cjs +3 -3
- package/dist/actions/create-nrql-baseline-condition.cjs.map +1 -1
- package/dist/actions/create-nrql-baseline-condition.d.cts +4 -3
- package/dist/actions/create-nrql-baseline-condition.d.mts +4 -3
- package/dist/actions/create-nrql-baseline-condition.mjs +3 -3
- package/dist/actions/create-nrql-baseline-condition.mjs.map +1 -1
- package/dist/actions/create-nrql-condition.cjs +5 -5
- package/dist/actions/create-nrql-condition.cjs.map +1 -1
- package/dist/actions/create-nrql-condition.d.cts +6 -5
- package/dist/actions/create-nrql-condition.d.mts +6 -5
- package/dist/actions/create-nrql-condition.mjs +5 -5
- package/dist/actions/create-nrql-condition.mjs.map +1 -1
- package/dist/actions/create-scripted-monitor.cjs +4 -4
- package/dist/actions/create-scripted-monitor.cjs.map +1 -1
- package/dist/actions/create-scripted-monitor.d.cts +5 -5
- package/dist/actions/create-scripted-monitor.d.mts +5 -5
- package/dist/actions/create-scripted-monitor.mjs +4 -4
- package/dist/actions/create-scripted-monitor.mjs.map +1 -1
- package/dist/actions/create-secure-credential.cjs +1 -1
- package/dist/actions/create-secure-credential.cjs.map +1 -1
- package/dist/actions/create-secure-credential.d.cts +1 -1
- package/dist/actions/create-secure-credential.d.mts +1 -1
- package/dist/actions/create-secure-credential.mjs +1 -1
- package/dist/actions/create-secure-credential.mjs.map +1 -1
- package/dist/actions/create-service-level.cjs +2 -2
- package/dist/actions/create-service-level.cjs.map +1 -1
- package/dist/actions/create-service-level.d.cts +3 -2
- package/dist/actions/create-service-level.d.mts +3 -2
- package/dist/actions/create-service-level.mjs +2 -2
- package/dist/actions/create-service-level.mjs.map +1 -1
- package/dist/actions/create-synthetics-alert-condition.cjs +2 -2
- package/dist/actions/create-synthetics-alert-condition.cjs.map +1 -1
- package/dist/actions/create-synthetics-alert-condition.d.cts +2 -2
- package/dist/actions/create-synthetics-alert-condition.d.mts +2 -2
- package/dist/actions/create-synthetics-alert-condition.mjs +2 -2
- package/dist/actions/create-synthetics-alert-condition.mjs.map +1 -1
- package/dist/actions/create-synthetics-private-location.cjs +7 -7
- package/dist/actions/create-synthetics-private-location.cjs.map +1 -1
- package/dist/actions/create-synthetics-private-location.d.cts +7 -7
- package/dist/actions/create-synthetics-private-location.d.mts +7 -7
- package/dist/actions/create-synthetics-private-location.mjs +7 -7
- package/dist/actions/create-synthetics-private-location.mjs.map +1 -1
- package/dist/actions/create-synthetics-secure-credential.cjs +7 -7
- package/dist/actions/create-synthetics-secure-credential.cjs.map +1 -1
- package/dist/actions/create-synthetics-secure-credential.d.cts +7 -7
- package/dist/actions/create-synthetics-secure-credential.d.mts +7 -7
- package/dist/actions/create-synthetics-secure-credential.mjs +7 -7
- package/dist/actions/create-synthetics-secure-credential.mjs.map +1 -1
- package/dist/actions/create-synthetics-simple-monitor.cjs +4 -4
- package/dist/actions/create-synthetics-simple-monitor.cjs.map +1 -1
- package/dist/actions/create-synthetics-simple-monitor.d.cts +5 -5
- package/dist/actions/create-synthetics-simple-monitor.d.mts +5 -5
- package/dist/actions/create-synthetics-simple-monitor.mjs +4 -4
- package/dist/actions/create-synthetics-simple-monitor.mjs.map +1 -1
- package/dist/actions/create-user.cjs +4 -4
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +4 -4
- package/dist/actions/create-user.d.mts +4 -4
- package/dist/actions/create-user.mjs +4 -4
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-agent-application.cjs +1 -1
- package/dist/actions/delete-agent-application.cjs.map +1 -1
- package/dist/actions/delete-agent-application.d.cts +1 -1
- package/dist/actions/delete-agent-application.d.mts +1 -1
- package/dist/actions/delete-agent-application.mjs +1 -1
- package/dist/actions/delete-agent-application.mjs.map +1 -1
- package/dist/actions/delete-ai-notifications-channel.cjs +6 -6
- package/dist/actions/delete-ai-notifications-channel.cjs.map +1 -1
- package/dist/actions/delete-ai-notifications-channel.d.cts +6 -6
- package/dist/actions/delete-ai-notifications-channel.d.mts +6 -6
- package/dist/actions/delete-ai-notifications-channel.mjs +6 -6
- package/dist/actions/delete-ai-notifications-channel.mjs.map +1 -1
- package/dist/actions/delete-ai-notifications-destination.cjs +3 -3
- package/dist/actions/delete-ai-notifications-destination.cjs.map +1 -1
- package/dist/actions/delete-ai-notifications-destination.d.cts +3 -3
- package/dist/actions/delete-ai-notifications-destination.d.mts +3 -3
- package/dist/actions/delete-ai-notifications-destination.mjs +3 -3
- package/dist/actions/delete-ai-notifications-destination.mjs.map +1 -1
- package/dist/actions/delete-alert-channel.cjs +1 -1
- package/dist/actions/delete-alert-channel.cjs.map +1 -1
- package/dist/actions/delete-alert-channel.d.cts +1 -1
- package/dist/actions/delete-alert-channel.d.mts +1 -1
- package/dist/actions/delete-alert-channel.mjs +1 -1
- package/dist/actions/delete-alert-channel.mjs.map +1 -1
- package/dist/actions/delete-alert-policy.cjs +1 -1
- package/dist/actions/delete-alert-policy.cjs.map +1 -1
- package/dist/actions/delete-alert-policy.d.cts +1 -1
- package/dist/actions/delete-alert-policy.d.mts +1 -1
- package/dist/actions/delete-alert-policy.mjs +1 -1
- package/dist/actions/delete-alert-policy.mjs.map +1 -1
- package/dist/actions/delete-alerts-condition.cjs +1 -1
- package/dist/actions/delete-alerts-condition.cjs.map +1 -1
- package/dist/actions/delete-alerts-condition.d.cts +1 -1
- package/dist/actions/delete-alerts-condition.d.mts +1 -1
- package/dist/actions/delete-alerts-condition.mjs +1 -1
- package/dist/actions/delete-alerts-condition.mjs.map +1 -1
- package/dist/actions/delete-alerts-policy-via-graphql.cjs +1 -1
- package/dist/actions/delete-alerts-policy-via-graphql.cjs.map +1 -1
- package/dist/actions/delete-alerts-policy-via-graphql.d.cts +1 -1
- package/dist/actions/delete-alerts-policy-via-graphql.d.mts +1 -1
- package/dist/actions/delete-alerts-policy-via-graphql.mjs +1 -1
- package/dist/actions/delete-alerts-policy-via-graphql.mjs.map +1 -1
- package/dist/actions/delete-api-access-keys.cjs +5 -5
- package/dist/actions/delete-api-access-keys.cjs.map +1 -1
- package/dist/actions/delete-api-access-keys.d.cts +5 -5
- package/dist/actions/delete-api-access-keys.d.mts +5 -5
- package/dist/actions/delete-api-access-keys.mjs +5 -5
- package/dist/actions/delete-api-access-keys.mjs.map +1 -1
- package/dist/actions/delete-dashboard.cjs +4 -4
- package/dist/actions/delete-dashboard.cjs.map +1 -1
- package/dist/actions/delete-dashboard.d.cts +4 -4
- package/dist/actions/delete-dashboard.d.mts +4 -4
- package/dist/actions/delete-dashboard.mjs +4 -4
- package/dist/actions/delete-dashboard.mjs.map +1 -1
- package/dist/actions/delete-data-partition-rule.cjs +2 -2
- package/dist/actions/delete-data-partition-rule.cjs.map +1 -1
- package/dist/actions/delete-data-partition-rule.d.cts +2 -2
- package/dist/actions/delete-data-partition-rule.d.mts +2 -2
- package/dist/actions/delete-data-partition-rule.mjs +2 -2
- package/dist/actions/delete-data-partition-rule.mjs.map +1 -1
- package/dist/actions/delete-entity-relationship-user-defined.cjs +2 -2
- package/dist/actions/delete-entity-relationship-user-defined.cjs.map +1 -1
- package/dist/actions/delete-entity-relationship-user-defined.d.cts +2 -2
- package/dist/actions/delete-entity-relationship-user-defined.d.mts +2 -2
- package/dist/actions/delete-entity-relationship-user-defined.mjs +2 -2
- package/dist/actions/delete-entity-relationship-user-defined.mjs.map +1 -1
- package/dist/actions/delete-entity.cjs +2 -2
- package/dist/actions/delete-entity.cjs.map +1 -1
- package/dist/actions/delete-entity.d.cts +2 -2
- package/dist/actions/delete-entity.d.mts +2 -2
- package/dist/actions/delete-entity.mjs +2 -2
- package/dist/actions/delete-entity.mjs.map +1 -1
- package/dist/actions/delete-external-service-condition.cjs +1 -1
- package/dist/actions/delete-external-service-condition.cjs.map +1 -1
- package/dist/actions/delete-external-service-condition.d.cts +1 -1
- package/dist/actions/delete-external-service-condition.d.mts +1 -1
- package/dist/actions/delete-external-service-condition.mjs +1 -1
- package/dist/actions/delete-external-service-condition.mjs.map +1 -1
- package/dist/actions/delete-infra-condition.cjs +1 -1
- package/dist/actions/delete-infra-condition.cjs.map +1 -1
- package/dist/actions/delete-infra-condition.d.cts +1 -1
- package/dist/actions/delete-infra-condition.d.mts +1 -1
- package/dist/actions/delete-infra-condition.mjs +1 -1
- package/dist/actions/delete-infra-condition.mjs.map +1 -1
- package/dist/actions/delete-location-failure-condition.cjs +1 -1
- package/dist/actions/delete-location-failure-condition.cjs.map +1 -1
- package/dist/actions/delete-location-failure-condition.d.cts +1 -1
- package/dist/actions/delete-location-failure-condition.d.mts +1 -1
- package/dist/actions/delete-location-failure-condition.mjs +1 -1
- package/dist/actions/delete-location-failure-condition.mjs.map +1 -1
- package/dist/actions/delete-lookup-table.cjs +1 -1
- package/dist/actions/delete-lookup-table.cjs.map +1 -1
- package/dist/actions/delete-lookup-table.d.cts +1 -1
- package/dist/actions/delete-lookup-table.d.mts +1 -1
- package/dist/actions/delete-lookup-table.mjs +1 -1
- package/dist/actions/delete-lookup-table.mjs.map +1 -1
- package/dist/actions/delete-monitor.cjs +1 -1
- package/dist/actions/delete-monitor.cjs.map +1 -1
- package/dist/actions/delete-monitor.d.cts +1 -1
- package/dist/actions/delete-monitor.d.mts +1 -1
- package/dist/actions/delete-monitor.mjs +1 -1
- package/dist/actions/delete-monitor.mjs.map +1 -1
- package/dist/actions/delete-nrql-condition.cjs +1 -1
- package/dist/actions/delete-nrql-condition.cjs.map +1 -1
- package/dist/actions/delete-nrql-condition.d.cts +1 -1
- package/dist/actions/delete-nrql-condition.d.mts +1 -1
- package/dist/actions/delete-nrql-condition.mjs +1 -1
- package/dist/actions/delete-nrql-condition.mjs.map +1 -1
- package/dist/actions/delete-policy-channel.cjs +1 -1
- package/dist/actions/delete-policy-channel.cjs.map +1 -1
- package/dist/actions/delete-policy-channel.d.cts +1 -1
- package/dist/actions/delete-policy-channel.d.mts +1 -1
- package/dist/actions/delete-policy-channel.mjs +1 -1
- package/dist/actions/delete-policy-channel.mjs.map +1 -1
- package/dist/actions/delete-secure-credential.cjs +1 -1
- package/dist/actions/delete-secure-credential.cjs.map +1 -1
- package/dist/actions/delete-secure-credential.d.cts +1 -1
- package/dist/actions/delete-secure-credential.d.mts +1 -1
- package/dist/actions/delete-secure-credential.mjs +1 -1
- package/dist/actions/delete-secure-credential.mjs.map +1 -1
- package/dist/actions/delete-synthetics-condition.cjs +1 -1
- package/dist/actions/delete-synthetics-condition.cjs.map +1 -1
- package/dist/actions/delete-synthetics-condition.d.cts +1 -1
- package/dist/actions/delete-synthetics-condition.d.mts +1 -1
- package/dist/actions/delete-synthetics-condition.mjs +1 -1
- package/dist/actions/delete-synthetics-condition.mjs.map +1 -1
- package/dist/actions/delete-synthetics-monitor-graphql.cjs +1 -1
- package/dist/actions/delete-synthetics-monitor-graphql.cjs.map +1 -1
- package/dist/actions/delete-synthetics-monitor-graphql.d.cts +1 -1
- package/dist/actions/delete-synthetics-monitor-graphql.d.mts +1 -1
- package/dist/actions/delete-synthetics-monitor-graphql.mjs +1 -1
- package/dist/actions/delete-synthetics-monitor-graphql.mjs.map +1 -1
- package/dist/actions/delete-synthetics-private-location.cjs +2 -2
- package/dist/actions/delete-synthetics-private-location.cjs.map +1 -1
- package/dist/actions/delete-synthetics-private-location.d.cts +2 -2
- package/dist/actions/delete-synthetics-private-location.d.mts +2 -2
- package/dist/actions/delete-synthetics-private-location.mjs +2 -2
- package/dist/actions/delete-synthetics-private-location.mjs.map +1 -1
- package/dist/actions/delete-synthetics-secure-credential.cjs +4 -4
- package/dist/actions/delete-synthetics-secure-credential.cjs.map +1 -1
- package/dist/actions/delete-synthetics-secure-credential.d.cts +4 -4
- package/dist/actions/delete-synthetics-secure-credential.d.mts +4 -4
- package/dist/actions/delete-synthetics-secure-credential.mjs +4 -4
- package/dist/actions/delete-synthetics-secure-credential.mjs.map +1 -1
- package/dist/actions/delete-tag-values-from-entity.cjs +3 -3
- package/dist/actions/delete-tag-values-from-entity.cjs.map +1 -1
- package/dist/actions/delete-tag-values-from-entity.d.cts +4 -3
- package/dist/actions/delete-tag-values-from-entity.d.mts +4 -3
- package/dist/actions/delete-tag-values-from-entity.mjs +3 -3
- package/dist/actions/delete-tag-values-from-entity.mjs.map +1 -1
- package/dist/actions/delete-user-management-user.cjs +2 -2
- package/dist/actions/delete-user-management-user.cjs.map +1 -1
- package/dist/actions/delete-user-management-user.d.cts +2 -2
- package/dist/actions/delete-user-management-user.d.mts +2 -2
- package/dist/actions/delete-user-management-user.mjs +2 -2
- package/dist/actions/delete-user-management-user.mjs.map +1 -1
- package/dist/actions/delete-workload.cjs +2 -2
- package/dist/actions/delete-workload.cjs.map +1 -1
- package/dist/actions/delete-workload.d.cts +2 -2
- package/dist/actions/delete-workload.d.mts +2 -2
- package/dist/actions/delete-workload.mjs +2 -2
- package/dist/actions/delete-workload.mjs.map +1 -1
- package/dist/actions/disable-cloud-integration.cjs +4 -4
- package/dist/actions/disable-cloud-integration.cjs.map +1 -1
- package/dist/actions/disable-cloud-integration.d.cts +4 -4
- package/dist/actions/disable-cloud-integration.d.mts +4 -4
- package/dist/actions/disable-cloud-integration.mjs +4 -4
- package/dist/actions/disable-cloud-integration.mjs.map +1 -1
- package/dist/actions/disable-metric-normalization-rule.cjs +3 -3
- package/dist/actions/disable-metric-normalization-rule.cjs.map +1 -1
- package/dist/actions/disable-metric-normalization-rule.d.cts +3 -3
- package/dist/actions/disable-metric-normalization-rule.d.mts +3 -3
- package/dist/actions/disable-metric-normalization-rule.mjs +3 -3
- package/dist/actions/disable-metric-normalization-rule.mjs.map +1 -1
- package/dist/actions/duplicate-workload.cjs +1 -1
- package/dist/actions/duplicate-workload.cjs.map +1 -1
- package/dist/actions/duplicate-workload.d.cts +1 -1
- package/dist/actions/duplicate-workload.d.mts +1 -1
- package/dist/actions/duplicate-workload.mjs +1 -1
- package/dist/actions/duplicate-workload.mjs.map +1 -1
- package/dist/actions/edit-metric-normalization-rule.cjs +3 -3
- package/dist/actions/edit-metric-normalization-rule.cjs.map +1 -1
- package/dist/actions/edit-metric-normalization-rule.d.cts +3 -3
- package/dist/actions/edit-metric-normalization-rule.d.mts +3 -3
- package/dist/actions/edit-metric-normalization-rule.mjs +3 -3
- package/dist/actions/edit-metric-normalization-rule.mjs.map +1 -1
- package/dist/actions/enable-metric-normalization-rule.cjs +3 -3
- package/dist/actions/enable-metric-normalization-rule.cjs.map +1 -1
- package/dist/actions/enable-metric-normalization-rule.d.cts +3 -3
- package/dist/actions/enable-metric-normalization-rule.d.mts +3 -3
- package/dist/actions/enable-metric-normalization-rule.mjs +3 -3
- package/dist/actions/enable-metric-normalization-rule.mjs.map +1 -1
- package/dist/actions/execute-nrql-query.cjs +6 -6
- package/dist/actions/execute-nrql-query.cjs.map +1 -1
- package/dist/actions/execute-nrql-query.d.cts +6 -6
- package/dist/actions/execute-nrql-query.d.mts +6 -6
- package/dist/actions/execute-nrql-query.mjs +6 -6
- package/dist/actions/execute-nrql-query.mjs.map +1 -1
- package/dist/actions/fetch-browser-configuration.cjs +9 -9
- package/dist/actions/fetch-browser-configuration.cjs.map +1 -1
- package/dist/actions/fetch-browser-configuration.d.cts +9 -9
- package/dist/actions/fetch-browser-configuration.d.mts +9 -9
- package/dist/actions/fetch-browser-configuration.mjs +9 -9
- package/dist/actions/fetch-browser-configuration.mjs.map +1 -1
- package/dist/actions/fetch-browser-java-script-snippet.cjs +4 -4
- package/dist/actions/fetch-browser-java-script-snippet.cjs.map +1 -1
- package/dist/actions/fetch-browser-java-script-snippet.d.cts +4 -4
- package/dist/actions/fetch-browser-java-script-snippet.d.mts +4 -4
- package/dist/actions/fetch-browser-java-script-snippet.mjs +4 -4
- package/dist/actions/fetch-browser-java-script-snippet.mjs.map +1 -1
- package/dist/actions/fetch-mobile-application-token.cjs +5 -5
- package/dist/actions/fetch-mobile-application-token.cjs.map +1 -1
- package/dist/actions/fetch-mobile-application-token.d.cts +5 -5
- package/dist/actions/fetch-mobile-application-token.d.mts +5 -5
- package/dist/actions/fetch-mobile-application-token.mjs +5 -5
- package/dist/actions/fetch-mobile-application-token.mjs.map +1 -1
- package/dist/actions/fetch-rules-collection.cjs +6 -6
- package/dist/actions/fetch-rules-collection.cjs.map +1 -1
- package/dist/actions/fetch-rules-collection.d.cts +6 -6
- package/dist/actions/fetch-rules-collection.d.mts +6 -6
- package/dist/actions/fetch-rules-collection.mjs +6 -6
- package/dist/actions/fetch-rules-collection.mjs.map +1 -1
- package/dist/actions/fetch-your-org-id.cjs +7 -7
- package/dist/actions/fetch-your-org-id.cjs.map +1 -1
- package/dist/actions/fetch-your-org-id.d.cts +7 -7
- package/dist/actions/fetch-your-org-id.d.mts +7 -7
- package/dist/actions/fetch-your-org-id.mjs +7 -7
- package/dist/actions/fetch-your-org-id.mjs.map +1 -1
- package/dist/actions/get-alert-channels.cjs +3 -3
- package/dist/actions/get-alert-channels.cjs.map +1 -1
- package/dist/actions/get-alert-channels.d.cts +3 -3
- package/dist/actions/get-alert-channels.d.mts +3 -3
- package/dist/actions/get-alert-channels.mjs +3 -3
- package/dist/actions/get-alert-channels.mjs.map +1 -1
- package/dist/actions/get-alert-conditions.cjs +3 -3
- package/dist/actions/get-alert-conditions.cjs.map +1 -1
- package/dist/actions/get-alert-conditions.d.cts +3 -3
- package/dist/actions/get-alert-conditions.d.mts +3 -3
- package/dist/actions/get-alert-conditions.mjs +3 -3
- package/dist/actions/get-alert-conditions.mjs.map +1 -1
- package/dist/actions/get-alert-policies.cjs +2 -2
- package/dist/actions/get-alert-policies.cjs.map +1 -1
- package/dist/actions/get-alert-policies.d.cts +2 -2
- package/dist/actions/get-alert-policies.d.mts +2 -2
- package/dist/actions/get-alert-policies.mjs +2 -2
- package/dist/actions/get-alert-policies.mjs.map +1 -1
- package/dist/actions/get-alerts-violations-json.cjs +3 -3
- package/dist/actions/get-alerts-violations-json.cjs.map +1 -1
- package/dist/actions/get-alerts-violations-json.d.cts +3 -3
- package/dist/actions/get-alerts-violations-json.d.mts +3 -3
- package/dist/actions/get-alerts-violations-json.mjs +3 -3
- package/dist/actions/get-alerts-violations-json.mjs.map +1 -1
- package/dist/actions/get-app-metric-data.cjs +5 -5
- package/dist/actions/get-app-metric-data.cjs.map +1 -1
- package/dist/actions/get-app-metric-data.d.cts +5 -5
- package/dist/actions/get-app-metric-data.d.mts +5 -5
- package/dist/actions/get-app-metric-data.mjs +5 -5
- package/dist/actions/get-app-metric-data.mjs.map +1 -1
- package/dist/actions/get-app-metrics-names.cjs +2 -2
- package/dist/actions/get-app-metrics-names.cjs.map +1 -1
- package/dist/actions/get-app-metrics-names.d.cts +2 -2
- package/dist/actions/get-app-metrics-names.d.mts +2 -2
- package/dist/actions/get-app-metrics-names.mjs +2 -2
- package/dist/actions/get-app-metrics-names.mjs.map +1 -1
- package/dist/actions/get-applications.cjs +6 -6
- package/dist/actions/get-applications.cjs.map +1 -1
- package/dist/actions/get-applications.d.cts +6 -6
- package/dist/actions/get-applications.d.mts +6 -6
- package/dist/actions/get-applications.mjs +6 -6
- package/dist/actions/get-applications.mjs.map +1 -1
- package/dist/actions/get-browser-applications.cjs +3 -3
- package/dist/actions/get-browser-applications.cjs.map +1 -1
- package/dist/actions/get-browser-applications.d.cts +3 -3
- package/dist/actions/get-browser-applications.d.mts +3 -3
- package/dist/actions/get-browser-applications.mjs +3 -3
- package/dist/actions/get-browser-applications.mjs.map +1 -1
- package/dist/actions/get-dashboard-entity-query.cjs +12 -12
- package/dist/actions/get-dashboard-entity-query.cjs.map +1 -1
- package/dist/actions/get-dashboard-entity-query.d.cts +12 -12
- package/dist/actions/get-dashboard-entity-query.d.mts +12 -12
- package/dist/actions/get-dashboard-entity-query.mjs +12 -12
- package/dist/actions/get-dashboard-entity-query.mjs.map +1 -1
- package/dist/actions/get-infra-condition.cjs +4 -4
- package/dist/actions/get-infra-condition.cjs.map +1 -1
- package/dist/actions/get-infra-condition.d.cts +4 -4
- package/dist/actions/get-infra-condition.d.mts +4 -4
- package/dist/actions/get-infra-condition.mjs +4 -4
- package/dist/actions/get-infra-condition.mjs.map +1 -1
- package/dist/actions/get-lookup-table.cjs +2 -2
- package/dist/actions/get-lookup-table.cjs.map +1 -1
- package/dist/actions/get-lookup-table.d.cts +2 -2
- package/dist/actions/get-lookup-table.d.mts +2 -2
- package/dist/actions/get-lookup-table.mjs +2 -2
- package/dist/actions/get-lookup-table.mjs.map +1 -1
- package/dist/actions/get-mobile-application-metrics.cjs +2 -2
- package/dist/actions/get-mobile-application-metrics.cjs.map +1 -1
- package/dist/actions/get-mobile-application-metrics.d.cts +2 -2
- package/dist/actions/get-mobile-application-metrics.d.mts +2 -2
- package/dist/actions/get-mobile-application-metrics.mjs +2 -2
- package/dist/actions/get-mobile-application-metrics.mjs.map +1 -1
- package/dist/actions/get-mobile-application.cjs +4 -4
- package/dist/actions/get-mobile-application.cjs.map +1 -1
- package/dist/actions/get-mobile-application.d.cts +4 -4
- package/dist/actions/get-mobile-application.d.mts +4 -4
- package/dist/actions/get-mobile-application.mjs +4 -4
- package/dist/actions/get-mobile-application.mjs.map +1 -1
- package/dist/actions/get-mobile-metric-data.cjs +4 -4
- package/dist/actions/get-mobile-metric-data.cjs.map +1 -1
- package/dist/actions/get-mobile-metric-data.d.cts +4 -4
- package/dist/actions/get-mobile-metric-data.d.mts +4 -4
- package/dist/actions/get-mobile-metric-data.mjs +4 -4
- package/dist/actions/get-mobile-metric-data.mjs.map +1 -1
- package/dist/actions/get-secure-credential.cjs +1 -1
- package/dist/actions/get-secure-credential.cjs.map +1 -1
- package/dist/actions/get-secure-credential.d.cts +1 -1
- package/dist/actions/get-secure-credential.d.mts +1 -1
- package/dist/actions/get-secure-credential.mjs +1 -1
- package/dist/actions/get-secure-credential.mjs.map +1 -1
- package/dist/actions/get-synth-monitor.cjs +2 -2
- package/dist/actions/get-synth-monitor.cjs.map +1 -1
- package/dist/actions/get-synth-monitor.d.cts +2 -2
- package/dist/actions/get-synth-monitor.d.mts +2 -2
- package/dist/actions/get-synth-monitor.mjs +2 -2
- package/dist/actions/get-synth-monitor.mjs.map +1 -1
- package/dist/actions/link-cloud-account.cjs +10 -10
- package/dist/actions/link-cloud-account.cjs.map +1 -1
- package/dist/actions/link-cloud-account.d.cts +13 -10
- package/dist/actions/link-cloud-account.d.mts +13 -10
- package/dist/actions/link-cloud-account.mjs +10 -10
- package/dist/actions/link-cloud-account.mjs.map +1 -1
- package/dist/actions/list-deployments.cjs +4 -4
- package/dist/actions/list-deployments.cjs.map +1 -1
- package/dist/actions/list-deployments.d.cts +4 -4
- package/dist/actions/list-deployments.d.mts +4 -4
- package/dist/actions/list-deployments.mjs +4 -4
- package/dist/actions/list-deployments.mjs.map +1 -1
- package/dist/actions/list-external-service-conditions.cjs +3 -3
- package/dist/actions/list-external-service-conditions.cjs.map +1 -1
- package/dist/actions/list-external-service-conditions.d.cts +3 -3
- package/dist/actions/list-external-service-conditions.d.mts +3 -3
- package/dist/actions/list-external-service-conditions.mjs +3 -3
- package/dist/actions/list-external-service-conditions.mjs.map +1 -1
- package/dist/actions/list-infra-conditions.cjs +4 -4
- package/dist/actions/list-infra-conditions.cjs.map +1 -1
- package/dist/actions/list-infra-conditions.d.cts +4 -4
- package/dist/actions/list-infra-conditions.d.mts +4 -4
- package/dist/actions/list-infra-conditions.mjs +4 -4
- package/dist/actions/list-infra-conditions.mjs.map +1 -1
- package/dist/actions/list-key-transactions.cjs +7 -7
- package/dist/actions/list-key-transactions.cjs.map +1 -1
- package/dist/actions/list-key-transactions.d.cts +8 -8
- package/dist/actions/list-key-transactions.d.mts +8 -8
- package/dist/actions/list-key-transactions.mjs +7 -7
- package/dist/actions/list-key-transactions.mjs.map +1 -1
- package/dist/actions/list-location-failure-conditions.cjs +3 -3
- package/dist/actions/list-location-failure-conditions.cjs.map +1 -1
- package/dist/actions/list-location-failure-conditions.d.cts +3 -3
- package/dist/actions/list-location-failure-conditions.d.mts +3 -3
- package/dist/actions/list-location-failure-conditions.mjs +3 -3
- package/dist/actions/list-location-failure-conditions.mjs.map +1 -1
- package/dist/actions/list-locations.cjs +2 -2
- package/dist/actions/list-locations.cjs.map +1 -1
- package/dist/actions/list-locations.d.cts +2 -2
- package/dist/actions/list-locations.d.mts +2 -2
- package/dist/actions/list-locations.mjs +2 -2
- package/dist/actions/list-locations.mjs.map +1 -1
- package/dist/actions/list-lookup-tables.cjs +2 -2
- package/dist/actions/list-lookup-tables.cjs.map +1 -1
- package/dist/actions/list-lookup-tables.d.cts +2 -2
- package/dist/actions/list-lookup-tables.d.mts +2 -2
- package/dist/actions/list-lookup-tables.mjs +2 -2
- package/dist/actions/list-lookup-tables.mjs.map +1 -1
- package/dist/actions/list-mobile-applications.cjs +4 -4
- package/dist/actions/list-mobile-applications.cjs.map +1 -1
- package/dist/actions/list-mobile-applications.d.cts +4 -4
- package/dist/actions/list-mobile-applications.d.mts +4 -4
- package/dist/actions/list-mobile-applications.mjs +4 -4
- package/dist/actions/list-mobile-applications.mjs.map +1 -1
- package/dist/actions/list-monitors.cjs +2 -2
- package/dist/actions/list-monitors.cjs.map +1 -1
- package/dist/actions/list-monitors.d.cts +2 -2
- package/dist/actions/list-monitors.d.mts +2 -2
- package/dist/actions/list-monitors.mjs +2 -2
- package/dist/actions/list-monitors.mjs.map +1 -1
- package/dist/actions/list-nrql-conditions.cjs +4 -4
- package/dist/actions/list-nrql-conditions.cjs.map +1 -1
- package/dist/actions/list-nrql-conditions.d.cts +4 -4
- package/dist/actions/list-nrql-conditions.d.mts +4 -4
- package/dist/actions/list-nrql-conditions.mjs +4 -4
- package/dist/actions/list-nrql-conditions.mjs.map +1 -1
- package/dist/actions/list-secure-credentials.cjs +2 -2
- package/dist/actions/list-secure-credentials.cjs.map +1 -1
- package/dist/actions/list-secure-credentials.d.cts +2 -2
- package/dist/actions/list-secure-credentials.d.mts +2 -2
- package/dist/actions/list-secure-credentials.mjs +2 -2
- package/dist/actions/list-secure-credentials.mjs.map +1 -1
- package/dist/actions/list-synthetics-conditions.cjs +2 -2
- package/dist/actions/list-synthetics-conditions.cjs.map +1 -1
- package/dist/actions/list-synthetics-conditions.d.cts +2 -2
- package/dist/actions/list-synthetics-conditions.d.mts +2 -2
- package/dist/actions/list-synthetics-conditions.mjs +2 -2
- package/dist/actions/list-synthetics-conditions.mjs.map +1 -1
- package/dist/actions/override-entity-golden-metrics.cjs +7 -7
- package/dist/actions/override-entity-golden-metrics.cjs.map +1 -1
- package/dist/actions/override-entity-golden-metrics.d.cts +8 -7
- package/dist/actions/override-entity-golden-metrics.d.mts +8 -7
- package/dist/actions/override-entity-golden-metrics.mjs +7 -7
- package/dist/actions/override-entity-golden-metrics.mjs.map +1 -1
- package/dist/actions/override-entity-golden-tags.cjs +8 -8
- package/dist/actions/override-entity-golden-tags.cjs.map +1 -1
- package/dist/actions/override-entity-golden-tags.d.cts +9 -8
- package/dist/actions/override-entity-golden-tags.d.mts +9 -8
- package/dist/actions/override-entity-golden-tags.mjs +8 -8
- package/dist/actions/override-entity-golden-tags.mjs.map +1 -1
- package/dist/actions/patch-monitor.cjs +1 -1
- package/dist/actions/patch-monitor.cjs.map +1 -1
- package/dist/actions/patch-monitor.d.cts +1 -1
- package/dist/actions/patch-monitor.d.mts +1 -1
- package/dist/actions/patch-monitor.mjs +1 -1
- package/dist/actions/patch-monitor.mjs.map +1 -1
- package/dist/actions/query-cloud-providers.cjs +6 -6
- package/dist/actions/query-cloud-providers.cjs.map +1 -1
- package/dist/actions/query-cloud-providers.d.cts +6 -6
- package/dist/actions/query-cloud-providers.d.mts +6 -6
- package/dist/actions/query-cloud-providers.mjs +6 -6
- package/dist/actions/query-cloud-providers.mjs.map +1 -1
- package/dist/actions/query-error.cjs +1 -1
- package/dist/actions/query-error.cjs.map +1 -1
- package/dist/actions/query-error.d.cts +2 -2
- package/dist/actions/query-error.d.mts +2 -2
- package/dist/actions/query-error.mjs +1 -1
- package/dist/actions/query-error.mjs.map +1 -1
- package/dist/actions/query-example-read-query.cjs +6 -6
- package/dist/actions/query-example-read-query.cjs.map +1 -1
- package/dist/actions/query-example-read-query.d.cts +7 -7
- package/dist/actions/query-example-read-query.d.mts +7 -7
- package/dist/actions/query-example-read-query.mjs +6 -6
- package/dist/actions/query-example-read-query.mjs.map +1 -1
- package/dist/actions/remove-entity-condition.cjs +1 -1
- package/dist/actions/remove-entity-condition.cjs.map +1 -1
- package/dist/actions/remove-entity-condition.d.cts +1 -1
- package/dist/actions/remove-entity-condition.d.mts +1 -1
- package/dist/actions/remove-entity-condition.mjs +1 -1
- package/dist/actions/remove-entity-condition.mjs.map +1 -1
- package/dist/actions/remove-notification-channels-from-policy.cjs +5 -5
- package/dist/actions/remove-notification-channels-from-policy.cjs.map +1 -1
- package/dist/actions/remove-notification-channels-from-policy.d.cts +5 -5
- package/dist/actions/remove-notification-channels-from-policy.d.mts +5 -5
- package/dist/actions/remove-notification-channels-from-policy.mjs +5 -5
- package/dist/actions/remove-notification-channels-from-policy.mjs.map +1 -1
- package/dist/actions/rename-cloud-account.cjs +7 -7
- package/dist/actions/rename-cloud-account.cjs.map +1 -1
- package/dist/actions/rename-cloud-account.d.cts +8 -7
- package/dist/actions/rename-cloud-account.d.mts +8 -7
- package/dist/actions/rename-cloud-account.mjs +7 -7
- package/dist/actions/rename-cloud-account.mjs.map +1 -1
- package/dist/actions/replace-tags-on-entity.cjs +4 -4
- package/dist/actions/replace-tags-on-entity.cjs.map +1 -1
- package/dist/actions/replace-tags-on-entity.d.cts +5 -4
- package/dist/actions/replace-tags-on-entity.d.mts +5 -4
- package/dist/actions/replace-tags-on-entity.mjs +4 -4
- package/dist/actions/replace-tags-on-entity.mjs.map +1 -1
- package/dist/actions/reset-entity-golden-metrics.cjs +8 -8
- package/dist/actions/reset-entity-golden-metrics.cjs.map +1 -1
- package/dist/actions/reset-entity-golden-metrics.d.cts +8 -8
- package/dist/actions/reset-entity-golden-metrics.d.mts +8 -8
- package/dist/actions/reset-entity-golden-metrics.mjs +8 -8
- package/dist/actions/reset-entity-golden-metrics.mjs.map +1 -1
- package/dist/actions/reset-entity-golden-tags.cjs +6 -6
- package/dist/actions/reset-entity-golden-tags.cjs.map +1 -1
- package/dist/actions/reset-entity-golden-tags.d.cts +6 -6
- package/dist/actions/reset-entity-golden-tags.d.mts +6 -6
- package/dist/actions/reset-entity-golden-tags.mjs +6 -6
- package/dist/actions/reset-entity-golden-tags.mjs.map +1 -1
- package/dist/actions/revoke-authorization-access.cjs +8 -8
- package/dist/actions/revoke-authorization-access.cjs.map +1 -1
- package/dist/actions/revoke-authorization-access.d.cts +9 -8
- package/dist/actions/revoke-authorization-access.d.mts +9 -8
- package/dist/actions/revoke-authorization-access.mjs +8 -8
- package/dist/actions/revoke-authorization-access.mjs.map +1 -1
- package/dist/actions/search-entities.cjs +5 -5
- package/dist/actions/search-entities.cjs.map +1 -1
- package/dist/actions/search-entities.d.cts +5 -5
- package/dist/actions/search-entities.d.mts +5 -5
- package/dist/actions/search-entities.mjs +5 -5
- package/dist/actions/search-entities.mjs.map +1 -1
- package/dist/actions/send-events.cjs +2 -2
- package/dist/actions/send-events.cjs.map +1 -1
- package/dist/actions/send-events.d.cts +3 -3
- package/dist/actions/send-events.d.mts +3 -3
- package/dist/actions/send-events.mjs +2 -2
- package/dist/actions/send-events.mjs.map +1 -1
- package/dist/actions/send-traces.cjs +3 -3
- package/dist/actions/send-traces.cjs.map +1 -1
- package/dist/actions/send-traces.d.cts +5 -3
- package/dist/actions/send-traces.d.mts +5 -3
- package/dist/actions/send-traces.mjs +3 -3
- package/dist/actions/send-traces.mjs.map +1 -1
- package/dist/actions/test-ai-notification-destination-by-id.cjs +4 -4
- package/dist/actions/test-ai-notification-destination-by-id.cjs.map +1 -1
- package/dist/actions/test-ai-notification-destination-by-id.d.cts +4 -4
- package/dist/actions/test-ai-notification-destination-by-id.d.mts +4 -4
- package/dist/actions/test-ai-notification-destination-by-id.mjs +4 -4
- package/dist/actions/test-ai-notification-destination-by-id.mjs.map +1 -1
- package/dist/actions/test-ai-notifications-channel.cjs +3 -3
- package/dist/actions/test-ai-notifications-channel.cjs.map +1 -1
- package/dist/actions/test-ai-notifications-channel.d.cts +4 -3
- package/dist/actions/test-ai-notifications-channel.d.mts +4 -3
- package/dist/actions/test-ai-notifications-channel.mjs +3 -3
- package/dist/actions/test-ai-notifications-channel.mjs.map +1 -1
- package/dist/actions/test-ai-notifications-destination.cjs +3 -3
- package/dist/actions/test-ai-notifications-destination.cjs.map +1 -1
- package/dist/actions/test-ai-notifications-destination.d.cts +4 -3
- package/dist/actions/test-ai-notifications-destination.d.mts +4 -3
- package/dist/actions/test-ai-notifications-destination.mjs +3 -3
- package/dist/actions/test-ai-notifications-destination.mjs.map +1 -1
- package/dist/actions/test-notification-channel.cjs +2 -2
- package/dist/actions/test-notification-channel.cjs.map +1 -1
- package/dist/actions/test-notification-channel.d.cts +2 -2
- package/dist/actions/test-notification-channel.d.mts +2 -2
- package/dist/actions/test-notification-channel.mjs +2 -2
- package/dist/actions/test-notification-channel.mjs.map +1 -1
- package/dist/actions/undelete-dashboard.cjs +4 -4
- package/dist/actions/undelete-dashboard.cjs.map +1 -1
- package/dist/actions/undelete-dashboard.d.cts +4 -4
- package/dist/actions/undelete-dashboard.d.mts +4 -4
- package/dist/actions/undelete-dashboard.mjs +4 -4
- package/dist/actions/undelete-dashboard.mjs.map +1 -1
- package/dist/actions/update-account.cjs +3 -3
- package/dist/actions/update-account.cjs.map +1 -1
- package/dist/actions/update-account.d.cts +3 -3
- package/dist/actions/update-account.d.mts +3 -3
- package/dist/actions/update-account.mjs +3 -3
- package/dist/actions/update-account.mjs.map +1 -1
- package/dist/actions/update-agent-application-settings.cjs +5 -5
- package/dist/actions/update-agent-application-settings.cjs.map +1 -1
- package/dist/actions/update-agent-application-settings.d.cts +5 -5
- package/dist/actions/update-agent-application-settings.d.mts +5 -5
- package/dist/actions/update-agent-application-settings.mjs +5 -5
- package/dist/actions/update-agent-application-settings.mjs.map +1 -1
- package/dist/actions/update-ai-notifications-channel.cjs +4 -4
- package/dist/actions/update-ai-notifications-channel.cjs.map +1 -1
- package/dist/actions/update-ai-notifications-channel.d.cts +4 -4
- package/dist/actions/update-ai-notifications-channel.d.mts +4 -4
- package/dist/actions/update-ai-notifications-channel.mjs +4 -4
- package/dist/actions/update-ai-notifications-channel.mjs.map +1 -1
- package/dist/actions/update-ai-notifications-destination.cjs +3 -3
- package/dist/actions/update-ai-notifications-destination.cjs.map +1 -1
- package/dist/actions/update-ai-notifications-destination.d.cts +3 -3
- package/dist/actions/update-ai-notifications-destination.d.mts +3 -3
- package/dist/actions/update-ai-notifications-destination.mjs +3 -3
- package/dist/actions/update-ai-notifications-destination.mjs.map +1 -1
- package/dist/actions/update-alert-channel.cjs +3 -3
- package/dist/actions/update-alert-channel.cjs.map +1 -1
- package/dist/actions/update-alert-channel.d.cts +3 -3
- package/dist/actions/update-alert-channel.d.mts +3 -3
- package/dist/actions/update-alert-channel.mjs +3 -3
- package/dist/actions/update-alert-channel.mjs.map +1 -1
- package/dist/actions/update-alert-policy-rest.cjs +3 -3
- package/dist/actions/update-alert-policy-rest.cjs.map +1 -1
- package/dist/actions/update-alert-policy-rest.d.cts +3 -3
- package/dist/actions/update-alert-policy-rest.d.mts +3 -3
- package/dist/actions/update-alert-policy-rest.mjs +3 -3
- package/dist/actions/update-alert-policy-rest.mjs.map +1 -1
- package/dist/actions/update-alert-policy.cjs +3 -3
- package/dist/actions/update-alert-policy.cjs.map +1 -1
- package/dist/actions/update-alert-policy.d.cts +3 -3
- package/dist/actions/update-alert-policy.d.mts +3 -3
- package/dist/actions/update-alert-policy.mjs +3 -3
- package/dist/actions/update-alert-policy.mjs.map +1 -1
- package/dist/actions/update-api-access-keys.cjs +7 -7
- package/dist/actions/update-api-access-keys.cjs.map +1 -1
- package/dist/actions/update-api-access-keys.d.cts +9 -7
- package/dist/actions/update-api-access-keys.d.mts +9 -7
- package/dist/actions/update-api-access-keys.mjs +7 -7
- package/dist/actions/update-api-access-keys.mjs.map +1 -1
- package/dist/actions/update-browser-settings.cjs +7 -7
- package/dist/actions/update-browser-settings.cjs.map +1 -1
- package/dist/actions/update-browser-settings.d.cts +7 -7
- package/dist/actions/update-browser-settings.d.mts +7 -7
- package/dist/actions/update-browser-settings.mjs +7 -7
- package/dist/actions/update-browser-settings.mjs.map +1 -1
- package/dist/actions/update-cross-account-elections.cjs +2 -2
- package/dist/actions/update-cross-account-elections.cjs.map +1 -1
- package/dist/actions/update-cross-account-elections.d.cts +2 -2
- package/dist/actions/update-cross-account-elections.d.mts +2 -2
- package/dist/actions/update-cross-account-elections.mjs +2 -2
- package/dist/actions/update-cross-account-elections.mjs.map +1 -1
- package/dist/actions/update-dashboard-live-url-creation-policies.cjs +2 -2
- package/dist/actions/update-dashboard-live-url-creation-policies.cjs.map +1 -1
- package/dist/actions/update-dashboard-live-url-creation-policies.d.cts +2 -2
- package/dist/actions/update-dashboard-live-url-creation-policies.d.mts +2 -2
- package/dist/actions/update-dashboard-live-url-creation-policies.mjs +2 -2
- package/dist/actions/update-dashboard-live-url-creation-policies.mjs.map +1 -1
- package/dist/actions/update-dashboard-page.cjs +6 -6
- package/dist/actions/update-dashboard-page.cjs.map +1 -1
- package/dist/actions/update-dashboard-page.d.cts +8 -6
- package/dist/actions/update-dashboard-page.d.mts +8 -6
- package/dist/actions/update-dashboard-page.mjs +6 -6
- package/dist/actions/update-dashboard-page.mjs.map +1 -1
- package/dist/actions/update-dashboard-widgets-in-page.cjs +7 -7
- package/dist/actions/update-dashboard-widgets-in-page.cjs.map +1 -1
- package/dist/actions/update-dashboard-widgets-in-page.d.cts +10 -9
- package/dist/actions/update-dashboard-widgets-in-page.d.cts.map +1 -1
- package/dist/actions/update-dashboard-widgets-in-page.d.mts +10 -9
- package/dist/actions/update-dashboard-widgets-in-page.d.mts.map +1 -1
- package/dist/actions/update-dashboard-widgets-in-page.mjs +7 -7
- package/dist/actions/update-dashboard-widgets-in-page.mjs.map +1 -1
- package/dist/actions/update-dashboard.cjs +7 -7
- package/dist/actions/update-dashboard.cjs.map +1 -1
- package/dist/actions/update-dashboard.d.cts +11 -9
- package/dist/actions/update-dashboard.d.cts.map +1 -1
- package/dist/actions/update-dashboard.d.mts +11 -9
- package/dist/actions/update-dashboard.d.mts.map +1 -1
- package/dist/actions/update-dashboard.mjs +7 -7
- package/dist/actions/update-dashboard.mjs.map +1 -1
- package/dist/actions/update-data-partition-rule.cjs +3 -3
- package/dist/actions/update-data-partition-rule.cjs.map +1 -1
- package/dist/actions/update-data-partition-rule.d.cts +3 -3
- package/dist/actions/update-data-partition-rule.d.mts +3 -3
- package/dist/actions/update-data-partition-rule.mjs +3 -3
- package/dist/actions/update-data-partition-rule.mjs.map +1 -1
- package/dist/actions/update-external-service-condition.cjs +4 -4
- package/dist/actions/update-external-service-condition.cjs.map +1 -1
- package/dist/actions/update-external-service-condition.d.cts +5 -4
- package/dist/actions/update-external-service-condition.d.mts +5 -4
- package/dist/actions/update-external-service-condition.mjs +4 -4
- package/dist/actions/update-external-service-condition.mjs.map +1 -1
- package/dist/actions/update-infra-condition.cjs +2 -2
- package/dist/actions/update-infra-condition.cjs.map +1 -1
- package/dist/actions/update-infra-condition.d.cts +2 -2
- package/dist/actions/update-infra-condition.d.mts +2 -2
- package/dist/actions/update-infra-condition.mjs +2 -2
- package/dist/actions/update-infra-condition.mjs.map +1 -1
- package/dist/actions/update-location-failure-condition.cjs +4 -4
- package/dist/actions/update-location-failure-condition.cjs.map +1 -1
- package/dist/actions/update-location-failure-condition.d.cts +5 -4
- package/dist/actions/update-location-failure-condition.d.mts +5 -4
- package/dist/actions/update-location-failure-condition.mjs +4 -4
- package/dist/actions/update-location-failure-condition.mjs.map +1 -1
- package/dist/actions/update-lookup-table.cjs +2 -2
- package/dist/actions/update-lookup-table.cjs.map +1 -1
- package/dist/actions/update-lookup-table.d.cts +2 -2
- package/dist/actions/update-lookup-table.d.mts +2 -2
- package/dist/actions/update-lookup-table.mjs +2 -2
- package/dist/actions/update-lookup-table.mjs.map +1 -1
- package/dist/actions/update-mobile-settings-example.cjs +5 -5
- package/dist/actions/update-mobile-settings-example.cjs.map +1 -1
- package/dist/actions/update-mobile-settings-example.d.cts +5 -5
- package/dist/actions/update-mobile-settings-example.d.mts +5 -5
- package/dist/actions/update-mobile-settings-example.mjs +5 -5
- package/dist/actions/update-mobile-settings-example.mjs.map +1 -1
- package/dist/actions/update-monitor-script.cjs +1 -1
- package/dist/actions/update-monitor-script.cjs.map +1 -1
- package/dist/actions/update-monitor-script.d.cts +1 -1
- package/dist/actions/update-monitor-script.d.mts +1 -1
- package/dist/actions/update-monitor-script.mjs +1 -1
- package/dist/actions/update-monitor-script.mjs.map +1 -1
- package/dist/actions/update-nrql-baseline-condition.cjs +4 -4
- package/dist/actions/update-nrql-baseline-condition.cjs.map +1 -1
- package/dist/actions/update-nrql-baseline-condition.d.cts +5 -4
- package/dist/actions/update-nrql-baseline-condition.d.mts +5 -4
- package/dist/actions/update-nrql-baseline-condition.mjs +4 -4
- package/dist/actions/update-nrql-baseline-condition.mjs.map +1 -1
- package/dist/actions/update-nrql-condition.cjs +5 -5
- package/dist/actions/update-nrql-condition.cjs.map +1 -1
- package/dist/actions/update-nrql-condition.d.cts +6 -5
- package/dist/actions/update-nrql-condition.d.mts +6 -5
- package/dist/actions/update-nrql-condition.mjs +5 -5
- package/dist/actions/update-nrql-condition.mjs.map +1 -1
- package/dist/actions/update-nrql-static-condition.cjs +3 -3
- package/dist/actions/update-nrql-static-condition.cjs.map +1 -1
- package/dist/actions/update-nrql-static-condition.d.cts +4 -3
- package/dist/actions/update-nrql-static-condition.d.mts +4 -3
- package/dist/actions/update-nrql-static-condition.mjs +3 -3
- package/dist/actions/update-nrql-static-condition.mjs.map +1 -1
- package/dist/actions/update-policy-channels.cjs +2 -2
- package/dist/actions/update-policy-channels.cjs.map +1 -1
- package/dist/actions/update-policy-channels.d.cts +2 -2
- package/dist/actions/update-policy-channels.d.mts +2 -2
- package/dist/actions/update-policy-channels.mjs +2 -2
- package/dist/actions/update-policy-channels.mjs.map +1 -1
- package/dist/actions/update-scripted-monitor.cjs +5 -5
- package/dist/actions/update-scripted-monitor.cjs.map +1 -1
- package/dist/actions/update-scripted-monitor.d.cts +5 -5
- package/dist/actions/update-scripted-monitor.d.mts +5 -5
- package/dist/actions/update-scripted-monitor.mjs +5 -5
- package/dist/actions/update-scripted-monitor.mjs.map +1 -1
- package/dist/actions/update-secure-credential.cjs +1 -1
- package/dist/actions/update-secure-credential.cjs.map +1 -1
- package/dist/actions/update-secure-credential.d.cts +1 -1
- package/dist/actions/update-secure-credential.d.mts +1 -1
- package/dist/actions/update-secure-credential.mjs +1 -1
- package/dist/actions/update-secure-credential.mjs.map +1 -1
- package/dist/actions/update-service-level.cjs +7 -7
- package/dist/actions/update-service-level.cjs.map +1 -1
- package/dist/actions/update-service-level.d.cts +10 -9
- package/dist/actions/update-service-level.d.mts +10 -9
- package/dist/actions/update-service-level.mjs +7 -7
- package/dist/actions/update-service-level.mjs.map +1 -1
- package/dist/actions/update-synth-monitor.cjs +1 -1
- package/dist/actions/update-synth-monitor.cjs.map +1 -1
- package/dist/actions/update-synth-monitor.d.cts +1 -1
- package/dist/actions/update-synth-monitor.d.mts +1 -1
- package/dist/actions/update-synth-monitor.mjs +1 -1
- package/dist/actions/update-synth-monitor.mjs.map +1 -1
- package/dist/actions/update-synthetics-alert-condition.cjs +2 -2
- package/dist/actions/update-synthetics-alert-condition.cjs.map +1 -1
- package/dist/actions/update-synthetics-alert-condition.d.cts +2 -2
- package/dist/actions/update-synthetics-alert-condition.d.mts +2 -2
- package/dist/actions/update-synthetics-alert-condition.mjs +2 -2
- package/dist/actions/update-synthetics-alert-condition.mjs.map +1 -1
- package/dist/actions/update-synthetics-simple-monitor.cjs +3 -3
- package/dist/actions/update-synthetics-simple-monitor.cjs.map +1 -1
- package/dist/actions/update-synthetics-simple-monitor.d.cts +4 -3
- package/dist/actions/update-synthetics-simple-monitor.d.mts +4 -3
- package/dist/actions/update-synthetics-simple-monitor.mjs +3 -3
- package/dist/actions/update-synthetics-simple-monitor.mjs.map +1 -1
- package/dist/actions/update-user.cjs +4 -4
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +4 -4
- package/dist/actions/update-user.d.mts +4 -4
- package/dist/actions/update-user.mjs +4 -4
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/update-workflow.cjs +12 -12
- package/dist/actions/update-workflow.cjs.map +1 -1
- package/dist/actions/update-workflow.d.cts +16 -12
- package/dist/actions/update-workflow.d.mts +16 -12
- package/dist/actions/update-workflow.mjs +12 -12
- package/dist/actions/update-workflow.mjs.map +1 -1
- package/dist/actions/update-workload.cjs +4 -4
- package/dist/actions/update-workload.cjs.map +1 -1
- package/dist/actions/update-workload.d.cts +5 -4
- package/dist/actions/update-workload.d.mts +5 -4
- package/dist/actions/update-workload.mjs +4 -4
- package/dist/actions/update-workload.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-example-mobile-application.mjs","names":[],"sources":["../../src/actions/create-example-mobile-application.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateExampleMobileApplicationInput = z.object({\n name: z.string().describe(\"The name for the mobile application. This will be used to identify the mobile app in New Relic monitoring.\"),\n accountId: z.number().int().describe(\"The New Relic account ID where the mobile application will be created.\"),\n});\nconst NewRelicCreateExampleMobileApplication_AgentApplicationCreateMobileSchema = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) for the created mobile application.\").nullable(),\n name: z.string().describe(\"The name of the mobile application.\").nullable(),\n accountId: z.number().int().describe(\"The account ID where the mobile application was created.\").nullable(),\n applicationToken: z.string().describe(\"The application token to be used in the mobile app for authentication and data reporting.\").nullable(),\n});\nconst NewRelicCreateExampleMobileApplication_CreateExampleMobileApplicationResponseDataSchema = z.object({\n agentApplicationCreateMobile: NewRelicCreateExampleMobileApplication_AgentApplicationCreateMobileSchema.nullable(),\n});\nexport const NewRelicCreateExampleMobileApplicationOutput = z.object({\n data: NewRelicCreateExampleMobileApplication_CreateExampleMobileApplicationResponseDataSchema.nullable(),\n});\n\nexport const newRelicCreateExampleMobileApplication = action(\"NEW_RELIC_CREATE_EXAMPLE_MOBILE_APPLICATION\", {\n slug: \"new_relic-create-example-mobile-application\",\n name: \"Create Example Mobile Application\",\n description: \"Tool to create a new example mobile application in New Relic via NerdGraph GraphQL API. Use when you need to set up mobile application monitoring for iOS or Android apps.\",\n input: NewRelicCreateExampleMobileApplicationInput,\n output: NewRelicCreateExampleMobileApplicationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACtI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;AAC/G,CAAC;AACD,MAAM,4EAA4E,EAAE,OAAO;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC9I,CAAC;
|
|
1
|
+
{"version":3,"file":"create-example-mobile-application.mjs","names":[],"sources":["../../src/actions/create-example-mobile-application.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateExampleMobileApplicationInput = z.object({\n name: z.string().describe(\"The name for the mobile application. This will be used to identify the mobile app in New Relic monitoring.\"),\n accountId: z.number().int().describe(\"The New Relic account ID where the mobile application will be created.\"),\n});\nconst NewRelicCreateExampleMobileApplication_AgentApplicationCreateMobileSchema = z.object({\n guid: z.string().describe(\"The unique identifier (GUID) for the created mobile application.\").nullable(),\n name: z.string().describe(\"The name of the mobile application.\").nullable(),\n accountId: z.number().int().describe(\"The account ID where the mobile application was created.\").nullable(),\n applicationToken: z.string().describe(\"The application token to be used in the mobile app for authentication and data reporting.\").nullable(),\n}).passthrough();\nconst NewRelicCreateExampleMobileApplication_CreateExampleMobileApplicationResponseDataSchema = z.object({\n agentApplicationCreateMobile: NewRelicCreateExampleMobileApplication_AgentApplicationCreateMobileSchema.nullable(),\n}).passthrough();\nexport const NewRelicCreateExampleMobileApplicationOutput = z.object({\n data: NewRelicCreateExampleMobileApplication_CreateExampleMobileApplicationResponseDataSchema.nullable(),\n}).passthrough();\n\nexport const newRelicCreateExampleMobileApplication = action(\"NEW_RELIC_CREATE_EXAMPLE_MOBILE_APPLICATION\", {\n slug: \"new_relic-create-example-mobile-application\",\n name: \"Create Example Mobile Application\",\n description: \"Tool to create a new example mobile application in New Relic via NerdGraph GraphQL API. Use when you need to set up mobile application monitoring for iOS or Android apps.\",\n input: NewRelicCreateExampleMobileApplicationInput,\n output: NewRelicCreateExampleMobileApplicationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CACtI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE;AAC/G,CAAC;AACD,MAAM,4EAA4E,EAAE,OAAO;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0FAA0F,EAAE,OAAO,EACvG,8BAA8B,0EAA0E,SAAS,EACnH,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,MAAM,wFAAwF,SAAS,EACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const NewRelicCreateExternalServiceConditionInput = zod.z.object({
|
|
|
14
14
|
priority: zod.z.enum(["critical", "warning"]).describe("Severity level of the alert when triggered (critical or warning)."),
|
|
15
15
|
threshold: zod.z.string().describe("Numeric threshold value that triggers the alert (must be 0 or greater). Specified as a string."),
|
|
16
16
|
time_function: zod.z.enum(["all", "any"]).describe("Time function for threshold evaluation. 'all' means threshold must be breached for entire duration, 'any' means at least once.")
|
|
17
|
-
}).describe("Threshold term configuration for external service conditions.")).describe("Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'."),
|
|
17
|
+
}).passthrough().describe("Threshold term configuration for external service conditions.")).describe("Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'."),
|
|
18
18
|
metric: zod.z.enum([
|
|
19
19
|
"response_time_average",
|
|
20
20
|
"response_time_minimum",
|
|
@@ -33,7 +33,7 @@ const NewRelicCreateExternalServiceCondition_TermResponseSchema = zod.z.object({
|
|
|
33
33
|
priority: zod.z.string().describe("Severity level of the alert.").nullable(),
|
|
34
34
|
threshold: zod.z.string().describe("Threshold value.").nullable(),
|
|
35
35
|
time_function: zod.z.string().describe("Time function for evaluation.").nullable()
|
|
36
|
-
}).describe("Response data for a threshold term.");
|
|
36
|
+
}).passthrough().describe("Response data for a threshold term.");
|
|
37
37
|
const NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema = zod.z.object({
|
|
38
38
|
id: zod.z.number().int().describe("Unique identifier for the created external service condition.").nullable(),
|
|
39
39
|
name: zod.z.string().describe("Name of the external service condition.").nullable(),
|
|
@@ -44,8 +44,8 @@ const NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSch
|
|
|
44
44
|
entities: zod.z.array(zod.z.number().int()).describe("Array of entity IDs monitored by this condition."),
|
|
45
45
|
runbook_url: zod.z.string().describe("URL to runbook documentation.").nullable().optional(),
|
|
46
46
|
external_service_url: zod.z.string().describe("External service URL being monitored.").nullable()
|
|
47
|
-
}).describe("Details of the created external service alert condition.");
|
|
48
|
-
const NewRelicCreateExternalServiceConditionOutput = zod.z.object({ external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable() }).describe("Response wrapper containing the created external service condition.");
|
|
47
|
+
}).passthrough().describe("Details of the created external service alert condition.");
|
|
48
|
+
const NewRelicCreateExternalServiceConditionOutput = zod.z.object({ external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable() }).passthrough().describe("Response wrapper containing the created external service condition.");
|
|
49
49
|
const newRelicCreateExternalServiceCondition = require_action.action("NEW_RELIC_CREATE_EXTERNAL_SERVICE_CONDITION", {
|
|
50
50
|
slug: "new_relic-create-external-service-condition",
|
|
51
51
|
name: "Create External Service Alert Condition",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-external-service-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-external-service-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateExternalServiceConditionInput = z.object({\n name: z.string().describe(\"Name of the external service condition. Must be unique within the policy.\"),\n type: z.enum([\"apm_external_service\"]).describe(\"Type of external service condition. Must be 'apm_external_service'.\"),\n terms: z.array(z.object({\n duration: z.number().int().describe(\"Time period in minutes over which threshold must be breached before alerting.\"),\n operator: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator to evaluate the metric against the threshold.\"),\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Severity level of the alert when triggered (critical or warning).\"),\n threshold: z.string().describe(\"Numeric threshold value that triggers the alert (must be 0 or greater). Specified as a string.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"Time function for threshold evaluation. 'all' means threshold must be breached for entire duration, 'any' means at least once.\"),\n}).describe(\"Threshold term configuration for external service conditions.\")).describe(\"Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'.\"),\n metric: z.enum([\"response_time_average\", \"response_time_minimum\", \"response_time_maximum\", \"throughput\"]).describe(\"Metric to monitor for the external service. Must be one of: response_time_average, response_time_minimum, response_time_maximum, or throughput.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs (application IDs) to monitor with this condition.\"),\n policy_id: z.number().int().describe(\"Alerts policy ID where this condition will be added. The policy must already exist.\"),\n runbook_url: z.string().describe(\"Optional URL to runbook documentation for responding to this alert.\").optional(),\n external_service_url: z.string().describe(\"External service URL to monitor. Specify without protocol (e.g., 'api.example.com', not 'https://api.example.com').\"),\n}).describe(\"Request parameters for creating an external service alert condition.\");\nconst NewRelicCreateExternalServiceCondition_TermResponseSchema = z.object({\n duration: z.number().int().describe(\"Time period in minutes for threshold evaluation.\").nullable(),\n operator: z.string().describe(\"Comparison operator used.\").nullable(),\n priority: z.string().describe(\"Severity level of the alert.\").nullable(),\n threshold: z.string().describe(\"Threshold value.\").nullable(),\n time_function: z.string().describe(\"Time function for evaluation.\").nullable(),\n}).describe(\"Response data for a threshold term.\");\nconst NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created external service condition.\").nullable(),\n name: z.string().describe(\"Name of the external service condition.\").nullable(),\n type: z.string().describe(\"Type of the external service condition.\").nullable(),\n terms: z.array(NewRelicCreateExternalServiceCondition_TermResponseSchema).describe(\"Array of threshold terms for the condition.\"),\n metric: z.string().describe(\"Metric being monitored.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs monitored by this condition.\"),\n runbook_url: z.string().describe(\"URL to runbook documentation.\").nullable().optional(),\n external_service_url: z.string().describe(\"External service URL being monitored.\").nullable(),\n}).describe(\"Details of the created external service alert condition.\");\nexport const NewRelicCreateExternalServiceConditionOutput = z.object({\n external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable(),\n}).describe(\"Response wrapper containing the created external service condition.\");\n\nexport const newRelicCreateExternalServiceCondition = action(\"NEW_RELIC_CREATE_EXTERNAL_SERVICE_CONDITION\", {\n slug: \"new_relic-create-external-service-condition\",\n name: \"Create External Service Alert Condition\",\n description: \"Tool to create an external service alert condition in New Relic. Use when you need to monitor external service calls from your APM applications and alert on metrics like response time, throughput, or error rate.\",\n input: NewRelicCreateExternalServiceConditionInput,\n output: NewRelicCreateExternalServiceConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAMA,IAAAA,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,qEAAqE;CACrH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;EACnH,UAAUA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAS;EAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC1H,UAAUA,IAAAA,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE;EACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC/H,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI;CACjL,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,4JAA4J;
|
|
1
|
+
{"version":3,"file":"create-external-service-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-external-service-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateExternalServiceConditionInput = z.object({\n name: z.string().describe(\"Name of the external service condition. Must be unique within the policy.\"),\n type: z.enum([\"apm_external_service\"]).describe(\"Type of external service condition. Must be 'apm_external_service'.\"),\n terms: z.array(z.object({\n duration: z.number().int().describe(\"Time period in minutes over which threshold must be breached before alerting.\"),\n operator: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator to evaluate the metric against the threshold.\"),\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Severity level of the alert when triggered (critical or warning).\"),\n threshold: z.string().describe(\"Numeric threshold value that triggers the alert (must be 0 or greater). Specified as a string.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"Time function for threshold evaluation. 'all' means threshold must be breached for entire duration, 'any' means at least once.\"),\n}).passthrough().describe(\"Threshold term configuration for external service conditions.\")).describe(\"Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'.\"),\n metric: z.enum([\"response_time_average\", \"response_time_minimum\", \"response_time_maximum\", \"throughput\"]).describe(\"Metric to monitor for the external service. Must be one of: response_time_average, response_time_minimum, response_time_maximum, or throughput.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs (application IDs) to monitor with this condition.\"),\n policy_id: z.number().int().describe(\"Alerts policy ID where this condition will be added. The policy must already exist.\"),\n runbook_url: z.string().describe(\"Optional URL to runbook documentation for responding to this alert.\").optional(),\n external_service_url: z.string().describe(\"External service URL to monitor. Specify without protocol (e.g., 'api.example.com', not 'https://api.example.com').\"),\n}).describe(\"Request parameters for creating an external service alert condition.\");\nconst NewRelicCreateExternalServiceCondition_TermResponseSchema = z.object({\n duration: z.number().int().describe(\"Time period in minutes for threshold evaluation.\").nullable(),\n operator: z.string().describe(\"Comparison operator used.\").nullable(),\n priority: z.string().describe(\"Severity level of the alert.\").nullable(),\n threshold: z.string().describe(\"Threshold value.\").nullable(),\n time_function: z.string().describe(\"Time function for evaluation.\").nullable(),\n}).passthrough().describe(\"Response data for a threshold term.\");\nconst NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created external service condition.\").nullable(),\n name: z.string().describe(\"Name of the external service condition.\").nullable(),\n type: z.string().describe(\"Type of the external service condition.\").nullable(),\n terms: z.array(NewRelicCreateExternalServiceCondition_TermResponseSchema).describe(\"Array of threshold terms for the condition.\"),\n metric: z.string().describe(\"Metric being monitored.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs monitored by this condition.\"),\n runbook_url: z.string().describe(\"URL to runbook documentation.\").nullable().optional(),\n external_service_url: z.string().describe(\"External service URL being monitored.\").nullable(),\n}).passthrough().describe(\"Details of the created external service alert condition.\");\nexport const NewRelicCreateExternalServiceConditionOutput = z.object({\n external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable(),\n}).passthrough().describe(\"Response wrapper containing the created external service condition.\");\n\nexport const newRelicCreateExternalServiceCondition = action(\"NEW_RELIC_CREATE_EXTERNAL_SERVICE_CONDITION\", {\n slug: \"new_relic-create-external-service-condition\",\n name: \"Create External Service Alert Condition\",\n description: \"Tool to create an external service alert condition in New Relic. Use when you need to monitor external service calls from your APM applications and alert on metrics like response time, throughput, or error rate.\",\n input: NewRelicCreateExternalServiceConditionInput,\n output: NewRelicCreateExternalServiceConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAMA,IAAAA,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,qEAAqE;CACrH,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;EACnH,UAAUA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAS;EAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC1H,UAAUA,IAAAA,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE;EACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC/H,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,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Enum<{
|
|
27
27
|
response_time_average: "response_time_average";
|
|
28
28
|
response_time_minimum: "response_time_minimum";
|
|
@@ -46,18 +46,19 @@ declare const NewRelicCreateExternalServiceConditionOutput: z.ZodObject<{
|
|
|
46
46
|
priority: z.ZodNullable<z.ZodString>;
|
|
47
47
|
threshold: z.ZodNullable<z.ZodString>;
|
|
48
48
|
time_function: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
50
|
metric: z.ZodNullable<z.ZodString>;
|
|
51
51
|
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
52
52
|
entities: z.ZodArray<z.ZodNumber>;
|
|
53
53
|
runbook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
external_service_url: z.ZodNullable<z.ZodString>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const newRelicCreateExternalServiceCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
name: string;
|
|
59
59
|
type: "apm_external_service";
|
|
60
60
|
terms: {
|
|
61
|
+
[x: string]: unknown;
|
|
61
62
|
duration: number;
|
|
62
63
|
operator: "above" | "below" | "equal";
|
|
63
64
|
priority: "critical" | "warning";
|
|
@@ -22,7 +22,7 @@ declare const NewRelicCreateExternalServiceConditionInput: z.ZodObject<{
|
|
|
22
22
|
any: "any";
|
|
23
23
|
all: "all";
|
|
24
24
|
}>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
metric: z.ZodEnum<{
|
|
27
27
|
response_time_average: "response_time_average";
|
|
28
28
|
response_time_minimum: "response_time_minimum";
|
|
@@ -46,18 +46,19 @@ declare const NewRelicCreateExternalServiceConditionOutput: z.ZodObject<{
|
|
|
46
46
|
priority: z.ZodNullable<z.ZodString>;
|
|
47
47
|
threshold: z.ZodNullable<z.ZodString>;
|
|
48
48
|
time_function: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
50
|
metric: z.ZodNullable<z.ZodString>;
|
|
51
51
|
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
52
52
|
entities: z.ZodArray<z.ZodNumber>;
|
|
53
53
|
runbook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
external_service_url: z.ZodNullable<z.ZodString>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const newRelicCreateExternalServiceCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
name: string;
|
|
59
59
|
type: "apm_external_service";
|
|
60
60
|
terms: {
|
|
61
|
+
[x: string]: unknown;
|
|
61
62
|
duration: number;
|
|
62
63
|
operator: "above" | "below" | "equal";
|
|
63
64
|
priority: "critical" | "warning";
|
|
@@ -14,7 +14,7 @@ const NewRelicCreateExternalServiceConditionInput = z.object({
|
|
|
14
14
|
priority: z.enum(["critical", "warning"]).describe("Severity level of the alert when triggered (critical or warning)."),
|
|
15
15
|
threshold: z.string().describe("Numeric threshold value that triggers the alert (must be 0 or greater). Specified as a string."),
|
|
16
16
|
time_function: z.enum(["all", "any"]).describe("Time function for threshold evaluation. 'all' means threshold must be breached for entire duration, 'any' means at least once.")
|
|
17
|
-
}).describe("Threshold term configuration for external service conditions.")).describe("Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'."),
|
|
17
|
+
}).passthrough().describe("Threshold term configuration for external service conditions.")).describe("Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'."),
|
|
18
18
|
metric: z.enum([
|
|
19
19
|
"response_time_average",
|
|
20
20
|
"response_time_minimum",
|
|
@@ -33,7 +33,7 @@ const NewRelicCreateExternalServiceCondition_TermResponseSchema = z.object({
|
|
|
33
33
|
priority: z.string().describe("Severity level of the alert.").nullable(),
|
|
34
34
|
threshold: z.string().describe("Threshold value.").nullable(),
|
|
35
35
|
time_function: z.string().describe("Time function for evaluation.").nullable()
|
|
36
|
-
}).describe("Response data for a threshold term.");
|
|
36
|
+
}).passthrough().describe("Response data for a threshold term.");
|
|
37
37
|
const NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema = z.object({
|
|
38
38
|
id: z.number().int().describe("Unique identifier for the created external service condition.").nullable(),
|
|
39
39
|
name: z.string().describe("Name of the external service condition.").nullable(),
|
|
@@ -44,13 +44,13 @@ const NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSch
|
|
|
44
44
|
entities: z.array(z.number().int()).describe("Array of entity IDs monitored by this condition."),
|
|
45
45
|
runbook_url: z.string().describe("URL to runbook documentation.").nullable().optional(),
|
|
46
46
|
external_service_url: z.string().describe("External service URL being monitored.").nullable()
|
|
47
|
-
}).describe("Details of the created external service alert condition.");
|
|
47
|
+
}).passthrough().describe("Details of the created external service alert condition.");
|
|
48
48
|
const newRelicCreateExternalServiceCondition = action("NEW_RELIC_CREATE_EXTERNAL_SERVICE_CONDITION", {
|
|
49
49
|
slug: "new_relic-create-external-service-condition",
|
|
50
50
|
name: "Create External Service Alert Condition",
|
|
51
51
|
description: "Tool to create an external service alert condition in New Relic. Use when you need to monitor external service calls from your APM applications and alert on metrics like response time, throughput, or error rate.",
|
|
52
52
|
input: NewRelicCreateExternalServiceConditionInput,
|
|
53
|
-
output: z.object({ external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable() }).describe("Response wrapper containing the created external service condition.")
|
|
53
|
+
output: z.object({ external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable() }).passthrough().describe("Response wrapper containing the created external service condition.")
|
|
54
54
|
});
|
|
55
55
|
//#endregion
|
|
56
56
|
export { newRelicCreateExternalServiceCondition };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-external-service-condition.mjs","names":[],"sources":["../../src/actions/create-external-service-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateExternalServiceConditionInput = z.object({\n name: z.string().describe(\"Name of the external service condition. Must be unique within the policy.\"),\n type: z.enum([\"apm_external_service\"]).describe(\"Type of external service condition. Must be 'apm_external_service'.\"),\n terms: z.array(z.object({\n duration: z.number().int().describe(\"Time period in minutes over which threshold must be breached before alerting.\"),\n operator: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator to evaluate the metric against the threshold.\"),\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Severity level of the alert when triggered (critical or warning).\"),\n threshold: z.string().describe(\"Numeric threshold value that triggers the alert (must be 0 or greater). Specified as a string.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"Time function for threshold evaluation. 'all' means threshold must be breached for entire duration, 'any' means at least once.\"),\n}).describe(\"Threshold term configuration for external service conditions.\")).describe(\"Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'.\"),\n metric: z.enum([\"response_time_average\", \"response_time_minimum\", \"response_time_maximum\", \"throughput\"]).describe(\"Metric to monitor for the external service. Must be one of: response_time_average, response_time_minimum, response_time_maximum, or throughput.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs (application IDs) to monitor with this condition.\"),\n policy_id: z.number().int().describe(\"Alerts policy ID where this condition will be added. The policy must already exist.\"),\n runbook_url: z.string().describe(\"Optional URL to runbook documentation for responding to this alert.\").optional(),\n external_service_url: z.string().describe(\"External service URL to monitor. Specify without protocol (e.g., 'api.example.com', not 'https://api.example.com').\"),\n}).describe(\"Request parameters for creating an external service alert condition.\");\nconst NewRelicCreateExternalServiceCondition_TermResponseSchema = z.object({\n duration: z.number().int().describe(\"Time period in minutes for threshold evaluation.\").nullable(),\n operator: z.string().describe(\"Comparison operator used.\").nullable(),\n priority: z.string().describe(\"Severity level of the alert.\").nullable(),\n threshold: z.string().describe(\"Threshold value.\").nullable(),\n time_function: z.string().describe(\"Time function for evaluation.\").nullable(),\n}).describe(\"Response data for a threshold term.\");\nconst NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created external service condition.\").nullable(),\n name: z.string().describe(\"Name of the external service condition.\").nullable(),\n type: z.string().describe(\"Type of the external service condition.\").nullable(),\n terms: z.array(NewRelicCreateExternalServiceCondition_TermResponseSchema).describe(\"Array of threshold terms for the condition.\"),\n metric: z.string().describe(\"Metric being monitored.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs monitored by this condition.\"),\n runbook_url: z.string().describe(\"URL to runbook documentation.\").nullable().optional(),\n external_service_url: z.string().describe(\"External service URL being monitored.\").nullable(),\n}).describe(\"Details of the created external service alert condition.\");\nexport const NewRelicCreateExternalServiceConditionOutput = z.object({\n external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable(),\n}).describe(\"Response wrapper containing the created external service condition.\");\n\nexport const newRelicCreateExternalServiceCondition = action(\"NEW_RELIC_CREATE_EXTERNAL_SERVICE_CONDITION\", {\n slug: \"new_relic-create-external-service-condition\",\n name: \"Create External Service Alert Condition\",\n description: \"Tool to create an external service alert condition in New Relic. Use when you need to monitor external service calls from your APM applications and alert on metrics like response time, throughput, or error rate.\",\n input: NewRelicCreateExternalServiceConditionInput,\n output: NewRelicCreateExternalServiceConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAM,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,qEAAqE;CACrH,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;EACnH,UAAU,EAAE,KAAK;GAAC;GAAS;GAAS;EAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC1H,UAAU,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE;EACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC/H,eAAe,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI;CACjL,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,4JAA4J;
|
|
1
|
+
{"version":3,"file":"create-external-service-condition.mjs","names":[],"sources":["../../src/actions/create-external-service-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateExternalServiceConditionInput = z.object({\n name: z.string().describe(\"Name of the external service condition. Must be unique within the policy.\"),\n type: z.enum([\"apm_external_service\"]).describe(\"Type of external service condition. Must be 'apm_external_service'.\"),\n terms: z.array(z.object({\n duration: z.number().int().describe(\"Time period in minutes over which threshold must be breached before alerting.\"),\n operator: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator to evaluate the metric against the threshold.\"),\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Severity level of the alert when triggered (critical or warning).\"),\n threshold: z.string().describe(\"Numeric threshold value that triggers the alert (must be 0 or greater). Specified as a string.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"Time function for threshold evaluation. 'all' means threshold must be breached for entire duration, 'any' means at least once.\"),\n}).passthrough().describe(\"Threshold term configuration for external service conditions.\")).describe(\"Array of threshold terms that define when alerts are triggered. At least one term is required, and at least one term must have priority set to 'critical'.\"),\n metric: z.enum([\"response_time_average\", \"response_time_minimum\", \"response_time_maximum\", \"throughput\"]).describe(\"Metric to monitor for the external service. Must be one of: response_time_average, response_time_minimum, response_time_maximum, or throughput.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs (application IDs) to monitor with this condition.\"),\n policy_id: z.number().int().describe(\"Alerts policy ID where this condition will be added. The policy must already exist.\"),\n runbook_url: z.string().describe(\"Optional URL to runbook documentation for responding to this alert.\").optional(),\n external_service_url: z.string().describe(\"External service URL to monitor. Specify without protocol (e.g., 'api.example.com', not 'https://api.example.com').\"),\n}).describe(\"Request parameters for creating an external service alert condition.\");\nconst NewRelicCreateExternalServiceCondition_TermResponseSchema = z.object({\n duration: z.number().int().describe(\"Time period in minutes for threshold evaluation.\").nullable(),\n operator: z.string().describe(\"Comparison operator used.\").nullable(),\n priority: z.string().describe(\"Severity level of the alert.\").nullable(),\n threshold: z.string().describe(\"Threshold value.\").nullable(),\n time_function: z.string().describe(\"Time function for evaluation.\").nullable(),\n}).passthrough().describe(\"Response data for a threshold term.\");\nconst NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created external service condition.\").nullable(),\n name: z.string().describe(\"Name of the external service condition.\").nullable(),\n type: z.string().describe(\"Type of the external service condition.\").nullable(),\n terms: z.array(NewRelicCreateExternalServiceCondition_TermResponseSchema).describe(\"Array of threshold terms for the condition.\"),\n metric: z.string().describe(\"Metric being monitored.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.number().int()).describe(\"Array of entity IDs monitored by this condition.\"),\n runbook_url: z.string().describe(\"URL to runbook documentation.\").nullable().optional(),\n external_service_url: z.string().describe(\"External service URL being monitored.\").nullable(),\n}).passthrough().describe(\"Details of the created external service alert condition.\");\nexport const NewRelicCreateExternalServiceConditionOutput = z.object({\n external_service_condition: NewRelicCreateExternalServiceCondition_ExternalServiceConditionResponseSchema.nullable(),\n}).passthrough().describe(\"Response wrapper containing the created external service condition.\");\n\nexport const newRelicCreateExternalServiceCondition = action(\"NEW_RELIC_CREATE_EXTERNAL_SERVICE_CONDITION\", {\n slug: \"new_relic-create-external-service-condition\",\n name: \"Create External Service Alert Condition\",\n description: \"Tool to create an external service alert condition in New Relic. Use when you need to monitor external service calls from your APM applications and alert on metrics like response time, throughput, or error rate.\",\n input: NewRelicCreateExternalServiceConditionInput,\n output: NewRelicCreateExternalServiceConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,MAAM,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,qEAAqE;CACrH,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;EACnH,UAAU,EAAE,KAAK;GAAC;GAAS;GAAS;EAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC1H,UAAU,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE;EACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC/H,eAAe,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gIAAgI;CACjL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,4JAA4J;CAC/P,QAAQ,EAAE,KAAK;EAAC;EAAyB;EAAyB;EAAyB;CAAY,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CACpQ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uEAAuE;CACpH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAA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S,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,4BAA4B,8EAA8E,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -39,8 +39,8 @@ const NewRelicCreateInfraCondition_InfraConditionDataSchema = zod.z.object({
|
|
|
39
39
|
policy_id: zod.z.number().int().describe("ID of the alert policy this condition belongs to.").nullable(),
|
|
40
40
|
created_at_epoch_millis: zod.z.number().int().describe("Timestamp when the condition was created (milliseconds since epoch).").nullable().optional(),
|
|
41
41
|
updated_at_epoch_millis: zod.z.number().int().describe("Timestamp when the condition was last updated (milliseconds since epoch).").nullable().optional()
|
|
42
|
-
}).describe("Infrastructure alert condition data returned by the API.");
|
|
43
|
-
const NewRelicCreateInfraConditionOutput = zod.z.object({ data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable() }).describe("Response from creating an infrastructure alert condition.");
|
|
42
|
+
}).passthrough().describe("Infrastructure alert condition data returned by the API.");
|
|
43
|
+
const NewRelicCreateInfraConditionOutput = zod.z.object({ data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable() }).passthrough().describe("Response from creating an infrastructure alert condition.");
|
|
44
44
|
const newRelicCreateInfraCondition = require_action.action("NEW_RELIC_CREATE_INFRA_CONDITION", {
|
|
45
45
|
slug: "new_relic-create-infra-condition",
|
|
46
46
|
name: "Create Infrastructure Alert Condition",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-infra-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-infra-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateInfraConditionInput = z.object({\n name: z.string().describe(\"Name of the infrastructure alert condition. Must be unique within the policy.\"),\n type: z.enum([\"infra_metric\", \"infra_process_running\", \"infra_host_not_reporting\"]).describe(\"Type of infrastructure condition to create.\"),\n enabled: z.boolean().describe(\"Whether the alert condition is enabled and actively monitoring.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this condition to.\"),\n comparison: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator for metric conditions.\").optional(),\n event_type: z.string().describe(\"Event type to monitor for infra_metric conditions (e.g., SystemSample, StorageSample, NetworkSample, ProcessSample). Required for infra_metric type.\").optional(),\n select_value: z.string().describe(\"Metric to monitor for infra_metric conditions (e.g., cpuPercent, diskUsedPercent, memoryUsedPercent). Required for infra_metric type.\").optional(),\n where_clause: z.string().describe(\"Optional WHERE clause to filter which infrastructure entities the condition applies to (e.g., \\\"hostname LIKE 'prod-%'\\\").\").optional(),\n warning_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n critical_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n process_where_clause: z.string().describe(\"Optional WHERE clause for infra_process_running conditions to identify the process (e.g., \\\"commandName = 'java'\\\").\").optional(),\n violation_close_timer: z.number().int().describe(\"Duration in hours after which a violation automatically closes if the condition is no longer met. Must be between 1 and 720 hours.\").optional(),\n}).describe(\"Request parameters for creating an infrastructure alert condition.\");\nconst NewRelicCreateInfraCondition_InfraConditionDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created infrastructure alert condition.\").nullable(),\n name: z.string().describe(\"Name of the alert condition.\").nullable(),\n type: z.string().describe(\"Type of infrastructure condition.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n policy_id: z.number().int().describe(\"ID of the alert policy this condition belongs to.\").nullable(),\n created_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was created (milliseconds since epoch).\").nullable().optional(),\n updated_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was last updated (milliseconds since epoch).\").nullable().optional(),\n}).describe(\"Infrastructure alert condition data returned by the API.\");\nexport const NewRelicCreateInfraConditionOutput = z.object({\n data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable(),\n}).describe(\"Response from creating an infrastructure alert condition.\");\n\nexport const newRelicCreateInfraCondition = action(\"NEW_RELIC_CREATE_INFRA_CONDITION\", {\n slug: \"new_relic-create-infra-condition\",\n name: \"Create Infrastructure Alert Condition\",\n description: \"Tool to create an infrastructure alert condition in New Relic. Use when you need to monitor infrastructure metrics (CPU, memory, disk), detect when processes stop running, or alert when hosts stop reporting. Supports critical and warning thresholds.\",\n input: NewRelicCreateInfraConditionInput,\n output: NewRelicCreateInfraConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACzG,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAgB;EAAyB;CAA0B,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC1I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAS;E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AC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"create-infra-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-infra-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateInfraConditionInput = z.object({\n name: z.string().describe(\"Name of the infrastructure alert condition. Must be unique within the policy.\"),\n type: z.enum([\"infra_metric\", \"infra_process_running\", \"infra_host_not_reporting\"]).describe(\"Type of infrastructure condition to create.\"),\n enabled: z.boolean().describe(\"Whether the alert condition is enabled and actively monitoring.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this condition to.\"),\n comparison: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator for metric conditions.\").optional(),\n event_type: z.string().describe(\"Event type to monitor for infra_metric conditions (e.g., SystemSample, StorageSample, NetworkSample, ProcessSample). Required for infra_metric type.\").optional(),\n select_value: z.string().describe(\"Metric to monitor for infra_metric conditions (e.g., cpuPercent, diskUsedPercent, memoryUsedPercent). Required for infra_metric type.\").optional(),\n where_clause: z.string().describe(\"Optional WHERE clause to filter which infrastructure entities the condition applies to (e.g., \\\"hostname LIKE 'prod-%'\\\").\").optional(),\n warning_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n critical_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n process_where_clause: z.string().describe(\"Optional WHERE clause for infra_process_running conditions to identify the process (e.g., \\\"commandName = 'java'\\\").\").optional(),\n violation_close_timer: z.number().int().describe(\"Duration in hours after which a violation automatically closes if the condition is no longer met. Must be between 1 and 720 hours.\").optional(),\n}).describe(\"Request parameters for creating an infrastructure alert condition.\");\nconst NewRelicCreateInfraCondition_InfraConditionDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created infrastructure alert condition.\").nullable(),\n name: z.string().describe(\"Name of the alert condition.\").nullable(),\n type: z.string().describe(\"Type of infrastructure condition.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n policy_id: z.number().int().describe(\"ID of the alert policy this condition belongs to.\").nullable(),\n created_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was created (milliseconds since epoch).\").nullable().optional(),\n updated_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was last updated (milliseconds since epoch).\").nullable().optional(),\n}).passthrough().describe(\"Infrastructure alert condition data returned by the API.\");\nexport const NewRelicCreateInfraConditionOutput = z.object({\n data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating an infrastructure alert condition.\");\n\nexport const newRelicCreateInfraCondition = action(\"NEW_RELIC_CREATE_INFRA_CONDITION\", {\n slug: \"new_relic-create-infra-condition\",\n name: \"Create Infrastructure Alert Condition\",\n description: \"Tool to create an infrastructure alert condition in New Relic. Use when you need to monitor infrastructure metrics (CPU, memory, disk), detect when processes stop running, or alert when hosts stop reporting. Supports critical and warning thresholds.\",\n input: NewRelicCreateInfraConditionInput,\n output: NewRelicCreateInfraConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACzG,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAgB;EAAyB;CAA0B,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC1I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACjM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACpL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACzK,mBAAmBA,IAAAA,EAAE,OAAO;EAC5B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACzE,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,o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AS,CAAC,CAAC,SAAS;CAC/I,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,sDAAsD,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -46,8 +46,8 @@ declare const NewRelicCreateInfraConditionOutput: z.ZodObject<{
|
|
|
46
46
|
policy_id: z.ZodNullable<z.ZodNumber>;
|
|
47
47
|
created_at_epoch_millis: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
48
|
updated_at_epoch_millis: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const newRelicCreateInfraCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
name: string;
|
|
53
53
|
type: "infra_metric" | "infra_process_running" | "infra_host_not_reporting";
|
|
@@ -46,8 +46,8 @@ declare const NewRelicCreateInfraConditionOutput: z.ZodObject<{
|
|
|
46
46
|
policy_id: z.ZodNullable<z.ZodNumber>;
|
|
47
47
|
created_at_epoch_millis: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
48
|
updated_at_epoch_millis: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
49
|
-
}, z.core.$
|
|
50
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
51
|
declare const newRelicCreateInfraCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
52
52
|
name: string;
|
|
53
53
|
type: "infra_metric" | "infra_process_running" | "infra_host_not_reporting";
|
|
@@ -39,13 +39,13 @@ const NewRelicCreateInfraCondition_InfraConditionDataSchema = z.object({
|
|
|
39
39
|
policy_id: z.number().int().describe("ID of the alert policy this condition belongs to.").nullable(),
|
|
40
40
|
created_at_epoch_millis: z.number().int().describe("Timestamp when the condition was created (milliseconds since epoch).").nullable().optional(),
|
|
41
41
|
updated_at_epoch_millis: z.number().int().describe("Timestamp when the condition was last updated (milliseconds since epoch).").nullable().optional()
|
|
42
|
-
}).describe("Infrastructure alert condition data returned by the API.");
|
|
42
|
+
}).passthrough().describe("Infrastructure alert condition data returned by the API.");
|
|
43
43
|
const newRelicCreateInfraCondition = action("NEW_RELIC_CREATE_INFRA_CONDITION", {
|
|
44
44
|
slug: "new_relic-create-infra-condition",
|
|
45
45
|
name: "Create Infrastructure Alert Condition",
|
|
46
46
|
description: "Tool to create an infrastructure alert condition in New Relic. Use when you need to monitor infrastructure metrics (CPU, memory, disk), detect when processes stop running, or alert when hosts stop reporting. Supports critical and warning thresholds.",
|
|
47
47
|
input: NewRelicCreateInfraConditionInput,
|
|
48
|
-
output: z.object({ data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable() }).describe("Response from creating an infrastructure alert condition.")
|
|
48
|
+
output: z.object({ data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable() }).passthrough().describe("Response from creating an infrastructure alert condition.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { newRelicCreateInfraCondition };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-infra-condition.mjs","names":[],"sources":["../../src/actions/create-infra-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateInfraConditionInput = z.object({\n name: z.string().describe(\"Name of the infrastructure alert condition. Must be unique within the policy.\"),\n type: z.enum([\"infra_metric\", \"infra_process_running\", \"infra_host_not_reporting\"]).describe(\"Type of infrastructure condition to create.\"),\n enabled: z.boolean().describe(\"Whether the alert condition is enabled and actively monitoring.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this condition to.\"),\n comparison: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator for metric conditions.\").optional(),\n event_type: z.string().describe(\"Event type to monitor for infra_metric conditions (e.g., SystemSample, StorageSample, NetworkSample, ProcessSample). Required for infra_metric type.\").optional(),\n select_value: z.string().describe(\"Metric to monitor for infra_metric conditions (e.g., cpuPercent, diskUsedPercent, memoryUsedPercent). Required for infra_metric type.\").optional(),\n where_clause: z.string().describe(\"Optional WHERE clause to filter which infrastructure entities the condition applies to (e.g., \\\"hostname LIKE 'prod-%'\\\").\").optional(),\n warning_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n critical_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n process_where_clause: z.string().describe(\"Optional WHERE clause for infra_process_running conditions to identify the process (e.g., \\\"commandName = 'java'\\\").\").optional(),\n violation_close_timer: z.number().int().describe(\"Duration in hours after which a violation automatically closes if the condition is no longer met. Must be between 1 and 720 hours.\").optional(),\n}).describe(\"Request parameters for creating an infrastructure alert condition.\");\nconst NewRelicCreateInfraCondition_InfraConditionDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created infrastructure alert condition.\").nullable(),\n name: z.string().describe(\"Name of the alert condition.\").nullable(),\n type: z.string().describe(\"Type of infrastructure condition.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n policy_id: z.number().int().describe(\"ID of the alert policy this condition belongs to.\").nullable(),\n created_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was created (milliseconds since epoch).\").nullable().optional(),\n updated_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was last updated (milliseconds since epoch).\").nullable().optional(),\n}).describe(\"Infrastructure alert condition data returned by the API.\");\nexport const NewRelicCreateInfraConditionOutput = z.object({\n data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable(),\n}).describe(\"Response from creating an infrastructure alert condition.\");\n\nexport const newRelicCreateInfraCondition = action(\"NEW_RELIC_CREATE_INFRA_CONDITION\", {\n slug: \"new_relic-create-infra-condition\",\n name: \"Create Infrastructure Alert Condition\",\n description: \"Tool to create an infrastructure alert condition in New Relic. Use when you need to monitor infrastructure metrics (CPU, memory, disk), detect when processes stop running, or alert when hosts stop reporting. Supports critical and warning thresholds.\",\n input: NewRelicCreateInfraConditionInput,\n output: NewRelicCreateInfraConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACzG,MAAM,EAAE,KAAK;EAAC;EAAgB;EAAyB;CAA0B,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC1I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,YAAY,EAAE,KAAK;EAAC;EAAS;EAAS;CAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC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AW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"create-infra-condition.mjs","names":[],"sources":["../../src/actions/create-infra-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateInfraConditionInput = z.object({\n name: z.string().describe(\"Name of the infrastructure alert condition. Must be unique within the policy.\"),\n type: z.enum([\"infra_metric\", \"infra_process_running\", \"infra_host_not_reporting\"]).describe(\"Type of infrastructure condition to create.\"),\n enabled: z.boolean().describe(\"Whether the alert condition is enabled and actively monitoring.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this condition to.\"),\n comparison: z.enum([\"above\", \"below\", \"equal\"]).describe(\"Comparison operator for metric conditions.\").optional(),\n event_type: z.string().describe(\"Event type to monitor for infra_metric conditions (e.g., SystemSample, StorageSample, NetworkSample, ProcessSample). Required for infra_metric type.\").optional(),\n select_value: z.string().describe(\"Metric to monitor for infra_metric conditions (e.g., cpuPercent, diskUsedPercent, memoryUsedPercent). Required for infra_metric type.\").optional(),\n where_clause: z.string().describe(\"Optional WHERE clause to filter which infrastructure entities the condition applies to (e.g., \\\"hostname LIKE 'prod-%'\\\").\").optional(),\n warning_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n critical_threshold: z.object({\n value: z.number().describe(\"The threshold value that triggers the alert.\"),\n time_function: z.enum([\"all\", \"any\"]).describe(\"How to evaluate the threshold over the duration. 'all' means every data point must violate, 'any' means at least one must violate.\"),\n duration_minutes: z.number().int().describe(\"Duration in minutes that the threshold must be violated before triggering an alert.\"),\n}).describe(\"Threshold configuration for alert conditions.\").optional(),\n process_where_clause: z.string().describe(\"Optional WHERE clause for infra_process_running conditions to identify the process (e.g., \\\"commandName = 'java'\\\").\").optional(),\n violation_close_timer: z.number().int().describe(\"Duration in hours after which a violation automatically closes if the condition is no longer met. Must be between 1 and 720 hours.\").optional(),\n}).describe(\"Request parameters for creating an infrastructure alert condition.\");\nconst NewRelicCreateInfraCondition_InfraConditionDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created infrastructure alert condition.\").nullable(),\n name: z.string().describe(\"Name of the alert condition.\").nullable(),\n type: z.string().describe(\"Type of infrastructure condition.\").nullable(),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n policy_id: z.number().int().describe(\"ID of the alert policy this condition belongs to.\").nullable(),\n created_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was created (milliseconds since epoch).\").nullable().optional(),\n updated_at_epoch_millis: z.number().int().describe(\"Timestamp when the condition was last updated (milliseconds since epoch).\").nullable().optional(),\n}).passthrough().describe(\"Infrastructure alert condition data returned by the API.\");\nexport const NewRelicCreateInfraConditionOutput = z.object({\n data: NewRelicCreateInfraCondition_InfraConditionDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating an infrastructure alert condition.\");\n\nexport const newRelicCreateInfraCondition = action(\"NEW_RELIC_CREATE_INFRA_CONDITION\", {\n slug: \"new_relic-create-infra-condition\",\n name: \"Create Infrastructure Alert Condition\",\n description: \"Tool to create an infrastructure alert condition in New Relic. Use when you need to monitor infrastructure metrics (CPU, memory, disk), detect when processes stop running, or alert when hosts stop reporting. Supports critical and warning thres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;CACpE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC3K,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;AAClM,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAKpF,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,sDAAsD,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const NewRelicCreateLocationFailureConditionInput = zod.z.object({
|
|
|
6
6
|
terms: zod.z.array(zod.z.object({
|
|
7
7
|
priority: zod.z.enum(["critical", "warning"]).describe("Alert priority level. Critical alerts require immediate attention, warning alerts are informational."),
|
|
8
8
|
threshold: zod.z.number().int().describe("Number of locations that must fail simultaneously to trigger the alert.")
|
|
9
|
-
}).describe("Threshold configuration for location failure condition.")).describe("Array of threshold objects that define when alerts are triggered based on number of failing locations."),
|
|
9
|
+
}).passthrough().describe("Threshold configuration for location failure condition.")).describe("Array of threshold objects that define when alerts are triggered based on number of failing locations."),
|
|
10
10
|
enabled: zod.z.boolean().default(true).describe("Whether the alert condition is enabled and actively monitoring.").optional(),
|
|
11
11
|
entities: zod.z.array(zod.z.string()).describe("Array of synthetic monitor IDs (UUIDs) that this condition will monitor. Each ID represents a synthetic monitor to watch for location failures."),
|
|
12
12
|
policy_id: zod.z.number().int().describe("The ID of the alert policy to attach this location failure condition to. The policy must exist in your New Relic account."),
|
|
@@ -16,7 +16,7 @@ const NewRelicCreateLocationFailureConditionInput = zod.z.object({
|
|
|
16
16
|
const NewRelicCreateLocationFailureCondition_TermSchema = zod.z.object({
|
|
17
17
|
priority: zod.z.string().describe("Alert priority level.").nullable(),
|
|
18
18
|
threshold: zod.z.number().int().describe("Number of locations that must fail to trigger the alert.").nullable()
|
|
19
|
-
}).describe("Term details in the response.");
|
|
19
|
+
}).passthrough().describe("Term details in the response.");
|
|
20
20
|
const NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = zod.z.object({
|
|
21
21
|
id: zod.z.number().int().describe("Unique identifier for the created location failure condition.").nullable(),
|
|
22
22
|
name: zod.z.string().describe("Name of the location failure condition.").nullable(),
|
|
@@ -25,8 +25,8 @@ const NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = zo
|
|
|
25
25
|
entities: zod.z.array(zod.z.string()).describe("Array of synthetic monitor IDs being monitored."),
|
|
26
26
|
runbook_url: zod.z.string().describe("Optional URL to a runbook for this condition.").nullable().optional(),
|
|
27
27
|
violation_time_limit_seconds: zod.z.number().int().describe("Maximum duration in seconds an incident can remain open.").nullable()
|
|
28
|
-
}).describe("Details of the created location failure condition.");
|
|
29
|
-
const NewRelicCreateLocationFailureConditionOutput = zod.z.object({ location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable() }).describe("Response from creating a location failure alert condition.");
|
|
28
|
+
}).passthrough().describe("Details of the created location failure condition.");
|
|
29
|
+
const NewRelicCreateLocationFailureConditionOutput = zod.z.object({ location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable() }).passthrough().describe("Response from creating a location failure alert condition.");
|
|
30
30
|
const newRelicCreateLocationFailureCondition = require_action.action("NEW_RELIC_CREATE_LOCATION_FAILURE_CONDITION", {
|
|
31
31
|
slug: "new_relic-create-location-failure-condition",
|
|
32
32
|
name: "Create Location Failure Alert Condition",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-location-failure-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-location-failure-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateLocationFailureConditionInput = z.object({\n name: z.string().describe(\"The name of the multi-location failure condition. Must be unique within the policy.\"),\n terms: z.array(z.object({\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Alert priority level. Critical alerts require immediate attention, warning alerts are informational.\"),\n threshold: z.number().int().describe(\"Number of locations that must fail simultaneously to trigger the alert.\"),\n}).describe(\"Threshold configuration for location failure condition.\")).describe(\"Array of threshold objects that define when alerts are triggered based on number of failing locations.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs (UUIDs) that this condition will monitor. Each ID represents a synthetic monitor to watch for location failures.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this location failure condition to. The policy must exist in your New Relic account.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook providing instructions for responding to this alert condition.\").optional(),\n violation_time_limit_seconds: z.number().int().default(86400).describe(\"How long in seconds an incident remains open before automatically closing. Default is 86400 seconds (24 hours).\").optional(),\n}).describe(\"Request parameters for creating a location failure alert condition.\");\nconst NewRelicCreateLocationFailureCondition_TermSchema = z.object({\n priority: z.string().describe(\"Alert priority level.\").nullable(),\n threshold: z.number().int().describe(\"Number of locations that must fail to trigger the alert.\").nullable(),\n}).describe(\"Term details in the response.\");\nconst NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created location failure condition.\").nullable(),\n name: z.string().describe(\"Name of the location failure condition.\").nullable(),\n terms: z.array(NewRelicCreateLocationFailureCondition_TermSchema).describe(\"List of threshold terms for the condition.\"),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs being monitored.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook for this condition.\").nullable().optional(),\n violation_time_limit_seconds: z.number().int().describe(\"Maximum duration in seconds an incident can remain open.\").nullable(),\n}).describe(\"Details of the created location failure condition.\");\nexport const NewRelicCreateLocationFailureConditionOutput = z.object({\n location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable(),\n}).describe(\"Response from creating a location failure alert condition.\");\n\nexport const newRelicCreateLocationFailureCondition = action(\"NEW_RELIC_CREATE_LOCATION_FAILURE_CONDITION\", {\n slug: \"new_relic-create-location-failure-condition\",\n name: \"Create Location Failure Alert Condition\",\n description: \"Tool to create a location failure alert condition in New Relic. Use when you need to monitor synthetic monitors and trigger alerts when multiple locations fail simultaneously.\",\n input: NewRelicCreateLocationFailureConditionInput,\n output: NewRelicCreateLocationFailureConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC/G,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,sGAAsG;EACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAChH,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wGAAwG;
|
|
1
|
+
{"version":3,"file":"create-location-failure-condition.cjs","names":["z","action"],"sources":["../../src/actions/create-location-failure-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateLocationFailureConditionInput = z.object({\n name: z.string().describe(\"The name of the multi-location failure condition. Must be unique within the policy.\"),\n terms: z.array(z.object({\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Alert priority level. Critical alerts require immediate attention, warning alerts are informational.\"),\n threshold: z.number().int().describe(\"Number of locations that must fail simultaneously to trigger the alert.\"),\n}).passthrough().describe(\"Threshold configuration for location failure condition.\")).describe(\"Array of threshold objects that define when alerts are triggered based on number of failing locations.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs (UUIDs) that this condition will monitor. Each ID represents a synthetic monitor to watch for location failures.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this location failure condition to. The policy must exist in your New Relic account.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook providing instructions for responding to this alert condition.\").optional(),\n violation_time_limit_seconds: z.number().int().default(86400).describe(\"How long in seconds an incident remains open before automatically closing. Default is 86400 seconds (24 hours).\").optional(),\n}).describe(\"Request parameters for creating a location failure alert condition.\");\nconst NewRelicCreateLocationFailureCondition_TermSchema = z.object({\n priority: z.string().describe(\"Alert priority level.\").nullable(),\n threshold: z.number().int().describe(\"Number of locations that must fail to trigger the alert.\").nullable(),\n}).passthrough().describe(\"Term details in the response.\");\nconst NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created location failure condition.\").nullable(),\n name: z.string().describe(\"Name of the location failure condition.\").nullable(),\n terms: z.array(NewRelicCreateLocationFailureCondition_TermSchema).describe(\"List of threshold terms for the condition.\"),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs being monitored.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook for this condition.\").nullable().optional(),\n violation_time_limit_seconds: z.number().int().describe(\"Maximum duration in seconds an incident can remain open.\").nullable(),\n}).passthrough().describe(\"Details of the created location failure condition.\");\nexport const NewRelicCreateLocationFailureConditionOutput = z.object({\n location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable(),\n}).passthrough().describe(\"Response from creating a location failure alert condition.\");\n\nexport const newRelicCreateLocationFailureCondition = action(\"NEW_RELIC_CREATE_LOCATION_FAILURE_CONDITION\", {\n slug: \"new_relic-create-location-failure-condition\",\n name: \"Create Location Failure Alert Condition\",\n description: \"Tool to create a location failure alert condition in New Relic. Use when you need to monitor synthetic monitors and trigger alerts when multiple locations fail simultaneously.\",\n input: NewRelicCreateLocationFailureConditionInput,\n output: NewRelicCreateLocationFailureConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC/G,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,UAAUA,IAAAA,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,sGAAsG;EACzJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wGAAwG;CACrM,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,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A,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,4BAA4B,sEAAsE,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const NewRelicCreateLocationFailureConditionInput: z.ZodObject<{
|
|
|
9
9
|
warning: "warning";
|
|
10
10
|
}>;
|
|
11
11
|
threshold: z.ZodNumber;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
14
14
|
entities: z.ZodArray<z.ZodString>;
|
|
15
15
|
policy_id: z.ZodNumber;
|
|
@@ -23,16 +23,17 @@ declare const NewRelicCreateLocationFailureConditionOutput: z.ZodObject<{
|
|
|
23
23
|
terms: z.ZodArray<z.ZodObject<{
|
|
24
24
|
priority: z.ZodNullable<z.ZodString>;
|
|
25
25
|
threshold: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
28
28
|
entities: z.ZodArray<z.ZodString>;
|
|
29
29
|
runbook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
violation_time_limit_seconds: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const newRelicCreateLocationFailureCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
name: string;
|
|
35
35
|
terms: {
|
|
36
|
+
[x: string]: unknown;
|
|
36
37
|
priority: "critical" | "warning";
|
|
37
38
|
threshold: number;
|
|
38
39
|
}[];
|
|
@@ -9,7 +9,7 @@ declare const NewRelicCreateLocationFailureConditionInput: z.ZodObject<{
|
|
|
9
9
|
warning: "warning";
|
|
10
10
|
}>;
|
|
11
11
|
threshold: z.ZodNumber;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
13
|
enabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
14
14
|
entities: z.ZodArray<z.ZodString>;
|
|
15
15
|
policy_id: z.ZodNumber;
|
|
@@ -23,16 +23,17 @@ declare const NewRelicCreateLocationFailureConditionOutput: z.ZodObject<{
|
|
|
23
23
|
terms: z.ZodArray<z.ZodObject<{
|
|
24
24
|
priority: z.ZodNullable<z.ZodString>;
|
|
25
25
|
threshold: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
28
28
|
entities: z.ZodArray<z.ZodString>;
|
|
29
29
|
runbook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
violation_time_limit_seconds: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const newRelicCreateLocationFailureCondition: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
name: string;
|
|
35
35
|
terms: {
|
|
36
|
+
[x: string]: unknown;
|
|
36
37
|
priority: "critical" | "warning";
|
|
37
38
|
threshold: number;
|
|
38
39
|
}[];
|
|
@@ -6,7 +6,7 @@ const NewRelicCreateLocationFailureConditionInput = z.object({
|
|
|
6
6
|
terms: z.array(z.object({
|
|
7
7
|
priority: z.enum(["critical", "warning"]).describe("Alert priority level. Critical alerts require immediate attention, warning alerts are informational."),
|
|
8
8
|
threshold: z.number().int().describe("Number of locations that must fail simultaneously to trigger the alert.")
|
|
9
|
-
}).describe("Threshold configuration for location failure condition.")).describe("Array of threshold objects that define when alerts are triggered based on number of failing locations."),
|
|
9
|
+
}).passthrough().describe("Threshold configuration for location failure condition.")).describe("Array of threshold objects that define when alerts are triggered based on number of failing locations."),
|
|
10
10
|
enabled: z.boolean().default(true).describe("Whether the alert condition is enabled and actively monitoring.").optional(),
|
|
11
11
|
entities: z.array(z.string()).describe("Array of synthetic monitor IDs (UUIDs) that this condition will monitor. Each ID represents a synthetic monitor to watch for location failures."),
|
|
12
12
|
policy_id: z.number().int().describe("The ID of the alert policy to attach this location failure condition to. The policy must exist in your New Relic account."),
|
|
@@ -16,7 +16,7 @@ const NewRelicCreateLocationFailureConditionInput = z.object({
|
|
|
16
16
|
const NewRelicCreateLocationFailureCondition_TermSchema = z.object({
|
|
17
17
|
priority: z.string().describe("Alert priority level.").nullable(),
|
|
18
18
|
threshold: z.number().int().describe("Number of locations that must fail to trigger the alert.").nullable()
|
|
19
|
-
}).describe("Term details in the response.");
|
|
19
|
+
}).passthrough().describe("Term details in the response.");
|
|
20
20
|
const NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = z.object({
|
|
21
21
|
id: z.number().int().describe("Unique identifier for the created location failure condition.").nullable(),
|
|
22
22
|
name: z.string().describe("Name of the location failure condition.").nullable(),
|
|
@@ -25,13 +25,13 @@ const NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = z.
|
|
|
25
25
|
entities: z.array(z.string()).describe("Array of synthetic monitor IDs being monitored."),
|
|
26
26
|
runbook_url: z.string().describe("Optional URL to a runbook for this condition.").nullable().optional(),
|
|
27
27
|
violation_time_limit_seconds: z.number().int().describe("Maximum duration in seconds an incident can remain open.").nullable()
|
|
28
|
-
}).describe("Details of the created location failure condition.");
|
|
28
|
+
}).passthrough().describe("Details of the created location failure condition.");
|
|
29
29
|
const newRelicCreateLocationFailureCondition = action("NEW_RELIC_CREATE_LOCATION_FAILURE_CONDITION", {
|
|
30
30
|
slug: "new_relic-create-location-failure-condition",
|
|
31
31
|
name: "Create Location Failure Alert Condition",
|
|
32
32
|
description: "Tool to create a location failure alert condition in New Relic. Use when you need to monitor synthetic monitors and trigger alerts when multiple locations fail simultaneously.",
|
|
33
33
|
input: NewRelicCreateLocationFailureConditionInput,
|
|
34
|
-
output: z.object({ location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable() }).describe("Response from creating a location failure alert condition.")
|
|
34
|
+
output: z.object({ location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable() }).passthrough().describe("Response from creating a location failure alert condition.")
|
|
35
35
|
});
|
|
36
36
|
//#endregion
|
|
37
37
|
export { newRelicCreateLocationFailureCondition };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-location-failure-condition.mjs","names":[],"sources":["../../src/actions/create-location-failure-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateLocationFailureConditionInput = z.object({\n name: z.string().describe(\"The name of the multi-location failure condition. Must be unique within the policy.\"),\n terms: z.array(z.object({\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Alert priority level. Critical alerts require immediate attention, warning alerts are informational.\"),\n threshold: z.number().int().describe(\"Number of locations that must fail simultaneously to trigger the alert.\"),\n}).describe(\"Threshold configuration for location failure condition.\")).describe(\"Array of threshold objects that define when alerts are triggered based on number of failing locations.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs (UUIDs) that this condition will monitor. Each ID represents a synthetic monitor to watch for location failures.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this location failure condition to. The policy must exist in your New Relic account.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook providing instructions for responding to this alert condition.\").optional(),\n violation_time_limit_seconds: z.number().int().default(86400).describe(\"How long in seconds an incident remains open before automatically closing. Default is 86400 seconds (24 hours).\").optional(),\n}).describe(\"Request parameters for creating a location failure alert condition.\");\nconst NewRelicCreateLocationFailureCondition_TermSchema = z.object({\n priority: z.string().describe(\"Alert priority level.\").nullable(),\n threshold: z.number().int().describe(\"Number of locations that must fail to trigger the alert.\").nullable(),\n}).describe(\"Term details in the response.\");\nconst NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created location failure condition.\").nullable(),\n name: z.string().describe(\"Name of the location failure condition.\").nullable(),\n terms: z.array(NewRelicCreateLocationFailureCondition_TermSchema).describe(\"List of threshold terms for the condition.\"),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs being monitored.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook for this condition.\").nullable().optional(),\n violation_time_limit_seconds: z.number().int().describe(\"Maximum duration in seconds an incident can remain open.\").nullable(),\n}).describe(\"Details of the created location failure condition.\");\nexport const NewRelicCreateLocationFailureConditionOutput = z.object({\n location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable(),\n}).describe(\"Response from creating a location failure alert condition.\");\n\nexport const newRelicCreateLocationFailureCondition = action(\"NEW_RELIC_CREATE_LOCATION_FAILURE_CONDITION\", {\n slug: \"new_relic-create-location-failure-condition\",\n name: \"Create Location Failure Alert Condition\",\n description: \"Tool to create a location failure alert condition in New Relic. Use when you need to monitor synthetic monitors and trigger alerts when multiple locations fail simultaneously.\",\n input: NewRelicCreateLocationFailureConditionInput,\n output: NewRelicCreateLocationFailureConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC/G,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,sGAAsG;EACzJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAChH,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wGAAwG;
|
|
1
|
+
{"version":3,"file":"create-location-failure-condition.mjs","names":[],"sources":["../../src/actions/create-location-failure-condition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateLocationFailureConditionInput = z.object({\n name: z.string().describe(\"The name of the multi-location failure condition. Must be unique within the policy.\"),\n terms: z.array(z.object({\n priority: z.enum([\"critical\", \"warning\"]).describe(\"Alert priority level. Critical alerts require immediate attention, warning alerts are informational.\"),\n threshold: z.number().int().describe(\"Number of locations that must fail simultaneously to trigger the alert.\"),\n}).passthrough().describe(\"Threshold configuration for location failure condition.\")).describe(\"Array of threshold objects that define when alerts are triggered based on number of failing locations.\"),\n enabled: z.boolean().default(true).describe(\"Whether the alert condition is enabled and actively monitoring.\").optional(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs (UUIDs) that this condition will monitor. Each ID represents a synthetic monitor to watch for location failures.\"),\n policy_id: z.number().int().describe(\"The ID of the alert policy to attach this location failure condition to. The policy must exist in your New Relic account.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook providing instructions for responding to this alert condition.\").optional(),\n violation_time_limit_seconds: z.number().int().default(86400).describe(\"How long in seconds an incident remains open before automatically closing. Default is 86400 seconds (24 hours).\").optional(),\n}).describe(\"Request parameters for creating a location failure alert condition.\");\nconst NewRelicCreateLocationFailureCondition_TermSchema = z.object({\n priority: z.string().describe(\"Alert priority level.\").nullable(),\n threshold: z.number().int().describe(\"Number of locations that must fail to trigger the alert.\").nullable(),\n}).passthrough().describe(\"Term details in the response.\");\nconst NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the created location failure condition.\").nullable(),\n name: z.string().describe(\"Name of the location failure condition.\").nullable(),\n terms: z.array(NewRelicCreateLocationFailureCondition_TermSchema).describe(\"List of threshold terms for the condition.\"),\n enabled: z.boolean().describe(\"Whether the condition is enabled.\").nullable(),\n entities: z.array(z.string()).describe(\"Array of synthetic monitor IDs being monitored.\"),\n runbook_url: z.string().describe(\"Optional URL to a runbook for this condition.\").nullable().optional(),\n violation_time_limit_seconds: z.number().int().describe(\"Maximum duration in seconds an incident can remain open.\").nullable(),\n}).passthrough().describe(\"Details of the created location failure condition.\");\nexport const NewRelicCreateLocationFailureConditionOutput = z.object({\n location_failure_condition: NewRelicCreateLocationFailureCondition_LocationFailureConditionSchema.nullable(),\n}).passthrough().describe(\"Response from creating a location failure alert condition.\");\n\nexport const newRelicCreateLocationFailureCondition = action(\"NEW_RELIC_CREATE_LOCATION_FAILURE_CONDITION\", {\n slug: \"new_relic-create-location-failure-condition\",\n name: \"Create Location Failure Alert Condition\",\n description: \"Tool to create a location failure alert condition in New Relic. Use when you need to monitor synthetic monitors and trigger alerts when multiple locations fail simultaneously.\",\n input: NewRelicCreateLocationFailureConditionInput,\n output: NewRelicCreateLocationFailureConditionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC/G,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,UAAU,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,sGAAsG;EACzJ,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wGAAwG;CACrM,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,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CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,4BAA4B,sEAAsE,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -14,15 +14,15 @@ const NewRelicCreateLogDataPartitionRule_CreatedDataPartitionRuleSchema = zod.z.
|
|
|
14
14
|
enabled: zod.z.boolean().describe("Whether the rule is enabled.").nullable(),
|
|
15
15
|
description: zod.z.string().describe("Description of the data partition rule.").nullable(),
|
|
16
16
|
target_data_partition: zod.z.string().describe("Name of the target data partition.").nullable()
|
|
17
|
-
}).describe("Details of the created data partition rule.");
|
|
17
|
+
}).passthrough().describe("Details of the created data partition rule.");
|
|
18
18
|
const NewRelicCreateLogDataPartitionRule_DataPartitionRuleErrorSchema = zod.z.object({
|
|
19
19
|
type: zod.z.string().describe("Type or classification of the error.").nullable(),
|
|
20
20
|
message: zod.z.string().describe("Error message describing what went wrong.").nullable()
|
|
21
|
-
}).describe("Error details from the GraphQL mutation.");
|
|
21
|
+
}).passthrough().describe("Error details from the GraphQL mutation.");
|
|
22
22
|
const NewRelicCreateLogDataPartitionRuleOutput = zod.z.object({
|
|
23
23
|
rule: NewRelicCreateLogDataPartitionRule_CreatedDataPartitionRuleSchema.nullable().optional(),
|
|
24
24
|
errors: zod.z.array(NewRelicCreateLogDataPartitionRule_DataPartitionRuleErrorSchema).describe("List of errors if the mutation encountered issues.").nullable().optional()
|
|
25
|
-
}).describe("Response from creating a log data partition rule via NerdGraph GraphQL API.");
|
|
25
|
+
}).passthrough().describe("Response from creating a log data partition rule via NerdGraph GraphQL API.");
|
|
26
26
|
const newRelicCreateLogDataPartitionRule = require_action.action("NEW_RELIC_CREATE_LOG_DATA_PARTITION_RULE", {
|
|
27
27
|
slug: "new_relic-create-log-data-partition-rule",
|
|
28
28
|
name: "Create Log Data Partition Rule",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-log-data-partition-rule.cjs","names":["z","action"],"sources":["../../src/actions/create-log-data-partition-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateLogDataPartitionRuleInput = z.object({\n nrql: z.string().describe(\"NRQL WHERE clause defining the matching criteria for routing logs to this partition. Do not include the 'WHERE' keyword.\"),\n enabled: z.boolean().describe(\"Whether the data partition rule is active and will route matching logs.\"),\n account_id: z.number().int().describe(\"The New Relic account ID where the data partition rule will be created.\"),\n description: z.string().describe(\"Description explaining the purpose of this data partition rule.\"),\n retention_policy: z.enum([\"STANDARD\", \"SECONDARY\"]).describe(\"Data retention policy. STANDARD: account's default retention based on subscription. SECONDARY: 30-day rolling retention.\"),\n target_data_partition: z.string().describe(\"Name of the target data partition where matching logs will be routed. Must start with 'Log_'.\"),\n}).describe(\"Request parameters for creating a log data partition rule via NerdGraph GraphQL API.\");\nconst NewRelicCreateLogDataPartitionRule_CreatedDataPartitionRuleSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created data partition rule.\").nullable(),\n enabled: z.boolean().describe(\"Whether the rule is enabled.\").nullable(),\n description: z.string().describe(\"Description of the data partition rule.\").nullable(),\n target_data_partition: z.string().describe(\"Name of the target data partition.\").nullable(),\n}).describe(\"Details of the created data partition rule.\");\nconst NewRelicCreateLogDataPartitionRule_DataPartitionRuleErrorSchema = z.object({\n type: z.string().describe(\"Type or classification of the error.\").nullable(),\n message: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n}).describe(\"Error details from the GraphQL mutation.\");\nexport const NewRelicCreateLogDataPartitionRuleOutput = z.object({\n rule: NewRelicCreateLogDataPartitionRule_CreatedDataPartitionRuleSchema.nullable().optional(),\n errors: z.array(NewRelicCreateLogDataPartitionRule_DataPartitionRuleErrorSchema).describe(\"List of errors if the mutation encountered issues.\").nullable().optional(),\n}).describe(\"Response from creating a log data partition rule via NerdGraph GraphQL API.\");\n\nexport const newRelicCreateLogDataPartitionRule = action(\"NEW_RELIC_CREATE_LOG_DATA_PARTITION_RULE\", {\n slug: \"new_relic-create-log-data-partition-rule\",\n name: \"Create Log Data Partition Rule\",\n description: \"Tool to create a log data partition rule using New Relic's NerdGraph GraphQL API. Use when you need to route logs to specific partitions based on matching criteria for better organization and retention management.\",\n input: NewRelicCreateLogDataPartitionRuleInput,\n output: NewRelicCreateLogDataPartitionRuleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACpJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAClG,kBAAkBA,IAAAA,EAAE,KAAK,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC,SAAS,0HAA0H;CACvL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AAC5I,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,6CAA6C;
|
|
1
|
+
{"version":3,"file":"create-log-data-partition-rule.cjs","names":["z","action"],"sources":["../../src/actions/create-log-data-partition-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NewRelicCreateLogDataPartitionRuleInput = z.object({\n nrql: z.string().describe(\"NRQL WHERE clause defining the matching criteria for routing logs to this partition. Do not include the 'WHERE' keyword.\"),\n enabled: z.boolean().describe(\"Whether the data partition rule is active and will route matching logs.\"),\n account_id: z.number().int().describe(\"The New Relic account ID where the data partition rule will be created.\"),\n description: z.string().describe(\"Description explaining the purpose of this data partition rule.\"),\n retention_policy: z.enum([\"STANDARD\", \"SECONDARY\"]).describe(\"Data retention policy. STANDARD: account's default retention based on subscription. SECONDARY: 30-day rolling retention.\"),\n target_data_partition: z.string().describe(\"Name of the target data partition where matching logs will be routed. Must start with 'Log_'.\"),\n}).describe(\"Request parameters for creating a log data partition rule via NerdGraph GraphQL API.\");\nconst NewRelicCreateLogDataPartitionRule_CreatedDataPartitionRuleSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created data partition rule.\").nullable(),\n enabled: z.boolean().describe(\"Whether the rule is enabled.\").nullable(),\n description: z.string().describe(\"Description of the data partition rule.\").nullable(),\n target_data_partition: z.string().describe(\"Name of the target data partition.\").nullable(),\n}).passthrough().describe(\"Details of the created data partition rule.\");\nconst NewRelicCreateLogDataPartitionRule_DataPartitionRuleErrorSchema = z.object({\n type: z.string().describe(\"Type or classification of the error.\").nullable(),\n message: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n}).passthrough().describe(\"Error details from the GraphQL mutation.\");\nexport const NewRelicCreateLogDataPartitionRuleOutput = z.object({\n rule: NewRelicCreateLogDataPartitionRule_CreatedDataPartitionRuleSchema.nullable().optional(),\n errors: z.array(NewRelicCreateLogDataPartitionRule_DataPartitionRuleErrorSchema).describe(\"List of errors if the mutation encountered issues.\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a log data partition rule via NerdGraph GraphQL API.\");\n\nexport const newRelicCreateLogDataPartitionRule = action(\"NEW_RELIC_CREATE_LOG_DATA_PARTITION_RULE\", {\n slug: \"new_relic-create-log-data-partition-rule\",\n name: \"Create Log Data Partition Rule\",\n description: \"Tool to create a log data partition rule using New Relic's NerdGraph GraphQL API. Use when you need to route logs to specific partitions based on matching criteria for better organization and retention management.\",\n input: NewRelicCreateLogDataPartitionRuleInput,\n output: NewRelicCreateLogDataPartitionRuleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACpJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAClG,kBAAkBA,IAAAA,EAAE,KAAK,CAAC,YAAY,WAAW,CAAC,CAAC,CAAC,SAAS,0HAA0H;CACvL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F;AAC5I,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,kEAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CA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