@datadog/datadog-api-client 1.48.0 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/dist/packages/datadog-api-client-common/configuration.js +6 -9
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-common/servers.js +14 -0
- package/dist/packages/datadog-api-client-common/servers.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.d.ts +4 -3
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +2 -2
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +3 -1
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +2 -0
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/index.d.ts +3 -0
- package/dist/packages/datadog-api-client-v1/index.js +16 -12
- package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricSemanticMode.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricSemanticMode.js +11 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricSemanticMode.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.d.ts +2 -3
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetDefinitionView.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.d.ts +15 -0
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js +12 -0
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js.map +1 -1
- package/dist/packages/{datadog-api-client-v2/models/DORAListResponse.d.ts → datadog-api-client-v1/models/GeomapWidgetRequestStyle.d.ts} +4 -5
- package/dist/packages/{datadog-api-client-v2/models/DORAEvent.js → datadog-api-client-v1/models/GeomapWidgetRequestStyle.js} +9 -17
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequestStyle.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.d.ts +4 -1
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js +5 -2
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorSearchResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorSearchResponse.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.d.ts +7 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js +10 -4
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.d.ts +24 -0
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js +30 -0
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +14 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsListTestsResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetails.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetailsWithoutSteps.d.ts +88 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetailsWithoutSteps.js +75 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestDetailsWithoutSteps.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +16 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +20 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +16 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +20 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +16 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +20 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/APMApi.d.ts +27 -0
- package/dist/packages/datadog-api-client-v2/apis/APMApi.js +102 -0
- package/dist/packages/datadog-api-client-v2/apis/APMApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.d.ts +12 -10
- package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.js +8 -8
- package/dist/packages/datadog-api-client-v2/apis/DORAMetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/DeploymentGatesApi.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/apis/DeploymentGatesApi.js +102 -0
- package/dist/packages/datadog-api-client-v2/apis/DeploymentGatesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.d.ts +84 -27
- package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js +211 -45
- package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/OnCallApi.d.ts +248 -0
- package/dist/packages/datadog-api-client-v2/apis/OnCallApi.js +837 -73
- package/dist/packages/datadog-api-client-v2/apis/OnCallApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ProductAnalyticsApi.d.ts +63 -0
- package/dist/packages/datadog-api-client-v2/apis/ProductAnalyticsApi.js +146 -0
- package/dist/packages/datadog-api-client-v2/apis/ProductAnalyticsApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +50 -8
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +106 -8
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.d.ts +12 -2
- package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.js +12 -6
- package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.d.ts +35 -0
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js +92 -0
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/TeamsApi.d.ts +132 -0
- package/dist/packages/datadog-api-client-v2/apis/TeamsApi.js +415 -20
- package/dist/packages/datadog-api-client-v2/apis/TeamsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +138 -32
- package/dist/packages/datadog-api-client-v2/index.js +263 -91
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AWSAccountCreateRequestAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAccountCreateRequestAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAccountCreateRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AWSAccountResponseAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAccountResponseAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAccountResponseAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AWSAccountUpdateRequestAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAccountUpdateRequestAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAccountUpdateRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AWSCCMConfig.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCCMConfig.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCCMConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachCaseRequestData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestData.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestData.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AttachJiraIssueRequestDataAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/Attachment.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/{DORAFetchResponse.js → Attachment.js} +11 -10
- package/dist/packages/datadog-api-client-v2/models/Attachment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentArray.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentArray.js +32 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentArray.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentData.d.ts +39 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentData.js → AttachmentData.js} +8 -11
- package/dist/packages/datadog-api-client-v2/models/AttachmentData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestDataAttributesFields.d.ts → AttachmentDataAttributes.d.ts} +6 -5
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributesAttachment.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttributesAttachmentObject.js → AttachmentDataAttributesAttachment.js} +6 -11
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributesAttachment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentAttachmentType.d.ts → AttachmentDataAttributesAttachmentType.d.ts} +2 -5
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentAttachmentType.js → AttachmentDataAttributesAttachmentType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataAttributesAttachmentType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationships.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationships.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUser.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUser.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUserData.d.ts +35 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUserData.js +33 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentDataRelationshipsLastModifiedByUserData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AttachmentIncluded.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentAttributes.js → AttachmentIncluded.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/AttachmentIncluded.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CaseCreateAttributes.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/CaseCreateAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/CaseCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CaseInsightsItems.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/CaseManagementProjectData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentPolicyVersion.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.d.ts +3 -4
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleAction.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{DORAFetchResponse.d.ts → CloudWorkloadSecurityAgentRuleActionHash.d.ts} +4 -5
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionHash.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionHash.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSet.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSet.js +1 -6
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSet.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttachmentType.d.ts → CloudWorkloadSecurityAgentRuleActionSetValue.d.ts} +2 -3
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttachmentType.js → CloudWorkloadSecurityAgentRuleActionSetValue.js} +1 -3
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleActionSetValue.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequest.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequest.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentUpdateData.d.ts → CreateAttachmentRequestData.d.ts} +3 -12
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentUpdateData.js → CreateAttachmentRequestData.js} +7 -10
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributes.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributesAttachment.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsPostmortemAttributesAttachmentObject.js → CreateAttachmentRequestDataAttributesAttachment.js} +6 -11
- package/dist/packages/datadog-api-client-v2/models/CreateAttachmentRequestDataAttributesAttachment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestData.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestData.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateCaseRequestDataAttributes.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttributes.d.ts → CreateEmailNotificationChannelConfig.d.ts} +10 -10
- package/dist/packages/datadog-api-client-v2/models/CreateEmailNotificationChannelConfig.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CreateEmailNotificationChannelConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArray.d.ts +0 -2
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArray.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArray.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestData.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestData.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributes.d.ts +20 -2
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributes.js +17 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationships.d.ts +8 -3
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationships.js +8 -3
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationships.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestDataRelationshipsCase.d.ts → CreateNotificationChannelAttributes.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelAttributes.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelConfig.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentUpdateAttributes.js → CreateNotificationChannelConfig.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsResponse.d.ts → CreateNotificationChannelData.d.ts} +8 -8
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationChannelData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequestData.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequestData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/CreateOnCallNotificationRuleRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePhoneNotificationChannelConfig.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePhoneNotificationChannelConfig.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CreatePhoneNotificationChannelConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateUserNotificationChannelRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateUserNotificationChannelRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateUserNotificationChannelRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomAttributeType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/CustomAttributeType.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/CustomAttributeType.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentRelationships.d.ts → DORADeploymentFetchResponse.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentFetchResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentFetchResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentObject.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentObject.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentObject.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentObjectAttributes.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentObjectAttributes.js +63 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentObjectAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentsListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentsListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentsListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORAFailureFetchResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DORAFailureFetchResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/DORAFailureFetchResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORAFailureRequestAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/DORAFailuresListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DORAFailuresListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/DORAFailuresListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentObject.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentObject.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentObject.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentObjectAttributes.d.ts +73 -0
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentObjectAttributes.js +69 -0
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentObjectAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DataExportConfig.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/DataExportConfig.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/DataExportConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DeploymentGateRulesResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DeploymentGateRulesResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/DeploymentGateRulesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DetachCaseRequestData.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/DetachCaseRequestData.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/DetachCaseRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventPayload.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/EventPayload.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/EventPayload.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/FindingCaseResponseData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/FindingData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/FindingJiraIssue.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/FindingJiraIssueResult.d.ts +4 -4
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetSuppressionVersionHistoryResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequest.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestData.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestData.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestDataAttributes.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestDataAttributes.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableJsonPatchType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsResponseIncludedItem.d.ts → GlobalVariableType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentPostmortemAttachmentType.js → GlobalVariableType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/GlobalVariableType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentResponseIncludedItem.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/JsonPatchOperation.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/JsonPatchOperation.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/JsonPatchOperation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/JsonPatchOperationOp.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/JsonPatchOperationOp.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/JsonPatchOperationOp.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Library.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/Library.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/Library.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRuleResponseData.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRuleResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRuleResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesResponseDataAttributes.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesResponseDataAttributes.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/ListDeploymentRulesResponseDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListNotificationChannelsResponse.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListNotificationChannelsResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ListNotificationChannelsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListOnCallNotificationRulesResponse.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ListOnCallNotificationRulesResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListOnCallNotificationRulesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannel.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannel.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelAttributes.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelConfig.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestArrayIncluded.js → NotificationChannelConfig.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentPostmortemAttributes.d.ts → NotificationChannelEmailConfig.d.ts} +12 -8
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfig.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentPostmortemAttachmentType.d.ts → NotificationChannelEmailConfigType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailFormatType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailFormatType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelEmailFormatType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfig.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfig.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPhoneConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfig.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfig.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelPushConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationChannelType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +258 -56
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddEnvVarsProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineAddFieldsProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfig.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigProcessorGroup.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.js +0 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCustomProcessorRemap.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDatadogTagsProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineDedupeProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineEnrichmentTableProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineFilterProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.d.ts +10 -6
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.js +9 -7
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineGenerateMetricsProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineOcsfMapperProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseGrokProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineParseJSONProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.d.ts +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.js +8 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineQuotaProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineReduceProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRemoveFieldsProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineRenameFieldsProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSampleProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineSensitiveDataScannerProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.d.ts +8 -4
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.js +9 -5
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineThrottleProcessor.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRule.d.ts +39 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRule.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRule.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleAttributes.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleAttributes.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleCategory.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleCategory.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleCategory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationship.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationship.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationship.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationshipData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationshipData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelRelationshipData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelSettings.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsResponseIncludedItem.js → OnCallNotificationRuleChannelSettings.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleChannelSettings.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleData.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRelationships.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRelationships.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentData.d.ts → OnCallNotificationRuleRequestAttributes.d.ts} +10 -15
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRequestAttributes.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRuleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRulesIncluded.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRulesIncluded.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallNotificationRulesIncluded.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleMethod.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleMethod.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleMethod.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleSettings.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleSettings.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/OnCallPhoneNotificationRuleSettings.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequest.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequest.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestData.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributes.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributes.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributesAttachment.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributesAttachment.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/PatchAttachmentRequestDataAttributesAttachment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DORAEvent.d.ts → ProductAnalyticsServerSideEventError.d.ts} +8 -8
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventError.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventErrors.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventErrors.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventErrors.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItem.d.ts +62 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItem.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{CreateJiraIssueRequestDataRelationshipsCaseData.d.ts → ProductAnalyticsServerSideEventItemAccount.d.ts} +4 -6
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemAccount.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemAccount.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemApplication.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemApplication.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemApplication.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemEvent.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemEvent.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemEvent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemSession.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemSession.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemSession.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemUsr.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemUsr.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ProductAnalyticsServerSideEventItemUsr.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersions.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/RuleVersions.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/RuleVersions.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptions.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptions.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsBucketDuration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsDetectionTolerance.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration.js +16 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleAnomalyDetectionOptionsLearningDuration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ServiceList.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/{DORAListResponse.js → ServiceList.js} +7 -10
- package/dist/packages/datadog-api-client-v2/models/ServiceList.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListData.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributes.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributesMetadataItems.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributesMetadataItems.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataAttributesMetadataItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceListDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SuppressionVersionHistory.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/SuppressionVersionHistory.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SuppressionVersionHistory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SuppressionVersions.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SuppressionVersions.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SuppressionVersions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariable.d.ts +75 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariable.js +70 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariable.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableAttributes.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableOptions.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableOptions.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptions.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptions.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptionsType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptionsType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParseTestOptionsType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParserType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParserType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableParserType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentsPostmortemAttributesAttachmentObject.d.ts → SyntheticsGlobalVariableTOTPParameters.d.ts} +6 -6
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableTOTPParameters.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableTOTPParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableValue.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableValue.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsGlobalVariableValue.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsVariableParser.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsVariableParser.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsVariableParser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRule.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRule.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRule.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributes.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributes.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesEmail.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesEmail.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesEmail.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesMsTeams.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesMsTeams.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesMsTeams.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesPagerduty.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesPagerduty.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesPagerduty.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentLinkAttributesAttachmentObject.d.ts → TeamNotificationRuleAttributesSlack.d.ts} +6 -6
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesSlack.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleAttributesSlack.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRuleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMeta.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMetaPage.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMetaPage.js +70 -0
- package/dist/packages/datadog-api-client-v2/models/TeamNotificationRulesResponseMetaPage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestAttributes.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestAttributes.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestData.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateOnCallNotificationRuleRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/User140420082644000.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/User140420082644000.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/User140420082644000.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentRelatedObject.d.ts → UserType.d.ts} +2 -2
- package/dist/packages/datadog-api-client-v2/models/{IncidentAttachmentRelatedObject.js → UserType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/UserType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdate.d.ts → VersionHistoryUpdate.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdate.js → VersionHistoryUpdate.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/VersionHistoryUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdateType.d.ts → VersionHistoryUpdateType.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{RuleVersionUpdateType.js → VersionHistoryUpdateType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/VersionHistoryUpdateType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.d.ts +7 -2
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.js +7 -2
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArrayIncluded.d.ts +0 -13
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestArrayIncluded.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributesFields.js +0 -35
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataAttributesFields.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCase.js +0 -31
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCase.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCaseData.js +0 -36
- package/dist/packages/datadog-api-client-v2/models/CreateJiraIssueRequestDataRelationshipsCaseData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DORAEvent.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DORAFetchResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DORAListResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentAttachmentType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentAttributes.d.ts +0 -12
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttachmentType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.js +0 -41
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentLinkAttributesAttachmentObject.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttachmentType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.js +0 -36
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentPostmortemAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentRelatedObject.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentRelationships.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateAttributes.d.ts +0 -12
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.d.ts +0 -40
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.js +0 -31
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateRequest.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.d.ts +0 -43
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.js +0 -35
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentUpdateResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsPostmortemAttributesAttachmentObject.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.js +0 -35
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentAttachmentsResponseIncludedItem.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdate.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdateType.js.map +0 -1
|
@@ -87,6 +87,76 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
87
87
|
return requestContext;
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
|
+
createUserNotificationChannel(userId, body, _options) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const _config = _options || this.configuration;
|
|
93
|
+
// verify required parameter 'userId' is not null or undefined
|
|
94
|
+
if (userId === null || userId === undefined) {
|
|
95
|
+
throw new baseapi_1.RequiredError("userId", "createUserNotificationChannel");
|
|
96
|
+
}
|
|
97
|
+
// verify required parameter 'body' is not null or undefined
|
|
98
|
+
if (body === null || body === undefined) {
|
|
99
|
+
throw new baseapi_1.RequiredError("body", "createUserNotificationChannel");
|
|
100
|
+
}
|
|
101
|
+
// Path Params
|
|
102
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels".replace("{user_id}", encodeURIComponent(String(userId)));
|
|
103
|
+
// Make Request Context
|
|
104
|
+
const requestContext = _config
|
|
105
|
+
.getServer("v2.OnCallApi.createUserNotificationChannel")
|
|
106
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
107
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
108
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
109
|
+
// Body Params
|
|
110
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
111
|
+
"application/json",
|
|
112
|
+
]);
|
|
113
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
114
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateUserNotificationChannelRequest", ""), contentType);
|
|
115
|
+
requestContext.setBody(serializedBody);
|
|
116
|
+
// Apply auth methods
|
|
117
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
118
|
+
"apiKeyAuth",
|
|
119
|
+
"appKeyAuth",
|
|
120
|
+
"AuthZ",
|
|
121
|
+
]);
|
|
122
|
+
return requestContext;
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
createUserNotificationRule(userId, body, _options) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
const _config = _options || this.configuration;
|
|
128
|
+
// verify required parameter 'userId' is not null or undefined
|
|
129
|
+
if (userId === null || userId === undefined) {
|
|
130
|
+
throw new baseapi_1.RequiredError("userId", "createUserNotificationRule");
|
|
131
|
+
}
|
|
132
|
+
// verify required parameter 'body' is not null or undefined
|
|
133
|
+
if (body === null || body === undefined) {
|
|
134
|
+
throw new baseapi_1.RequiredError("body", "createUserNotificationRule");
|
|
135
|
+
}
|
|
136
|
+
// Path Params
|
|
137
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules".replace("{user_id}", encodeURIComponent(String(userId)));
|
|
138
|
+
// Make Request Context
|
|
139
|
+
const requestContext = _config
|
|
140
|
+
.getServer("v2.OnCallApi.createUserNotificationRule")
|
|
141
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
142
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
143
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
144
|
+
// Body Params
|
|
145
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
146
|
+
"application/json",
|
|
147
|
+
]);
|
|
148
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
149
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateOnCallNotificationRuleRequest", ""), contentType);
|
|
150
|
+
requestContext.setBody(serializedBody);
|
|
151
|
+
// Apply auth methods
|
|
152
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
153
|
+
"apiKeyAuth",
|
|
154
|
+
"appKeyAuth",
|
|
155
|
+
"AuthZ",
|
|
156
|
+
]);
|
|
157
|
+
return requestContext;
|
|
158
|
+
});
|
|
159
|
+
}
|
|
90
160
|
deleteOnCallEscalationPolicy(policyId, _options) {
|
|
91
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
162
|
const _config = _options || this.configuration;
|
|
@@ -135,6 +205,66 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
135
205
|
return requestContext;
|
|
136
206
|
});
|
|
137
207
|
}
|
|
208
|
+
deleteUserNotificationChannel(userId, channelId, _options) {
|
|
209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
const _config = _options || this.configuration;
|
|
211
|
+
// verify required parameter 'userId' is not null or undefined
|
|
212
|
+
if (userId === null || userId === undefined) {
|
|
213
|
+
throw new baseapi_1.RequiredError("userId", "deleteUserNotificationChannel");
|
|
214
|
+
}
|
|
215
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
216
|
+
if (channelId === null || channelId === undefined) {
|
|
217
|
+
throw new baseapi_1.RequiredError("channelId", "deleteUserNotificationChannel");
|
|
218
|
+
}
|
|
219
|
+
// Path Params
|
|
220
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels/{channel_id}"
|
|
221
|
+
.replace("{user_id}", encodeURIComponent(String(userId)))
|
|
222
|
+
.replace("{channel_id}", encodeURIComponent(String(channelId)));
|
|
223
|
+
// Make Request Context
|
|
224
|
+
const requestContext = _config
|
|
225
|
+
.getServer("v2.OnCallApi.deleteUserNotificationChannel")
|
|
226
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
227
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
228
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
229
|
+
// Apply auth methods
|
|
230
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
231
|
+
"apiKeyAuth",
|
|
232
|
+
"appKeyAuth",
|
|
233
|
+
"AuthZ",
|
|
234
|
+
]);
|
|
235
|
+
return requestContext;
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
deleteUserNotificationRule(userId, ruleId, _options) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
const _config = _options || this.configuration;
|
|
241
|
+
// verify required parameter 'userId' is not null or undefined
|
|
242
|
+
if (userId === null || userId === undefined) {
|
|
243
|
+
throw new baseapi_1.RequiredError("userId", "deleteUserNotificationRule");
|
|
244
|
+
}
|
|
245
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
246
|
+
if (ruleId === null || ruleId === undefined) {
|
|
247
|
+
throw new baseapi_1.RequiredError("ruleId", "deleteUserNotificationRule");
|
|
248
|
+
}
|
|
249
|
+
// Path Params
|
|
250
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules/{rule_id}"
|
|
251
|
+
.replace("{user_id}", encodeURIComponent(String(userId)))
|
|
252
|
+
.replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
253
|
+
// Make Request Context
|
|
254
|
+
const requestContext = _config
|
|
255
|
+
.getServer("v2.OnCallApi.deleteUserNotificationRule")
|
|
256
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
257
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
258
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
259
|
+
// Apply auth methods
|
|
260
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
261
|
+
"apiKeyAuth",
|
|
262
|
+
"appKeyAuth",
|
|
263
|
+
"AuthZ",
|
|
264
|
+
]);
|
|
265
|
+
return requestContext;
|
|
266
|
+
});
|
|
267
|
+
}
|
|
138
268
|
getOnCallEscalationPolicy(policyId, include, _options) {
|
|
139
269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
140
270
|
const _config = _options || this.configuration;
|
|
@@ -278,6 +408,122 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
278
408
|
return requestContext;
|
|
279
409
|
});
|
|
280
410
|
}
|
|
411
|
+
getUserNotificationChannel(userId, channelId, _options) {
|
|
412
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
413
|
+
const _config = _options || this.configuration;
|
|
414
|
+
// verify required parameter 'userId' is not null or undefined
|
|
415
|
+
if (userId === null || userId === undefined) {
|
|
416
|
+
throw new baseapi_1.RequiredError("userId", "getUserNotificationChannel");
|
|
417
|
+
}
|
|
418
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
419
|
+
if (channelId === null || channelId === undefined) {
|
|
420
|
+
throw new baseapi_1.RequiredError("channelId", "getUserNotificationChannel");
|
|
421
|
+
}
|
|
422
|
+
// Path Params
|
|
423
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels/{channel_id}"
|
|
424
|
+
.replace("{user_id}", encodeURIComponent(String(userId)))
|
|
425
|
+
.replace("{channel_id}", encodeURIComponent(String(channelId)));
|
|
426
|
+
// Make Request Context
|
|
427
|
+
const requestContext = _config
|
|
428
|
+
.getServer("v2.OnCallApi.getUserNotificationChannel")
|
|
429
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
430
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
431
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
432
|
+
// Apply auth methods
|
|
433
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
434
|
+
"apiKeyAuth",
|
|
435
|
+
"appKeyAuth",
|
|
436
|
+
"AuthZ",
|
|
437
|
+
]);
|
|
438
|
+
return requestContext;
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
getUserNotificationRule(userId, ruleId, include, _options) {
|
|
442
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
443
|
+
const _config = _options || this.configuration;
|
|
444
|
+
// verify required parameter 'userId' is not null or undefined
|
|
445
|
+
if (userId === null || userId === undefined) {
|
|
446
|
+
throw new baseapi_1.RequiredError("userId", "getUserNotificationRule");
|
|
447
|
+
}
|
|
448
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
449
|
+
if (ruleId === null || ruleId === undefined) {
|
|
450
|
+
throw new baseapi_1.RequiredError("ruleId", "getUserNotificationRule");
|
|
451
|
+
}
|
|
452
|
+
// Path Params
|
|
453
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules/{rule_id}"
|
|
454
|
+
.replace("{user_id}", encodeURIComponent(String(userId)))
|
|
455
|
+
.replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
456
|
+
// Make Request Context
|
|
457
|
+
const requestContext = _config
|
|
458
|
+
.getServer("v2.OnCallApi.getUserNotificationRule")
|
|
459
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
460
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
461
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
462
|
+
// Query Params
|
|
463
|
+
if (include !== undefined) {
|
|
464
|
+
requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
|
|
465
|
+
}
|
|
466
|
+
// Apply auth methods
|
|
467
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
468
|
+
"apiKeyAuth",
|
|
469
|
+
"appKeyAuth",
|
|
470
|
+
"AuthZ",
|
|
471
|
+
]);
|
|
472
|
+
return requestContext;
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
listUserNotificationChannels(userId, _options) {
|
|
476
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
477
|
+
const _config = _options || this.configuration;
|
|
478
|
+
// verify required parameter 'userId' is not null or undefined
|
|
479
|
+
if (userId === null || userId === undefined) {
|
|
480
|
+
throw new baseapi_1.RequiredError("userId", "listUserNotificationChannels");
|
|
481
|
+
}
|
|
482
|
+
// Path Params
|
|
483
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-channels".replace("{user_id}", encodeURIComponent(String(userId)));
|
|
484
|
+
// Make Request Context
|
|
485
|
+
const requestContext = _config
|
|
486
|
+
.getServer("v2.OnCallApi.listUserNotificationChannels")
|
|
487
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
488
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
489
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
490
|
+
// Apply auth methods
|
|
491
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
492
|
+
"apiKeyAuth",
|
|
493
|
+
"appKeyAuth",
|
|
494
|
+
"AuthZ",
|
|
495
|
+
]);
|
|
496
|
+
return requestContext;
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
listUserNotificationRules(userId, include, _options) {
|
|
500
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
501
|
+
const _config = _options || this.configuration;
|
|
502
|
+
// verify required parameter 'userId' is not null or undefined
|
|
503
|
+
if (userId === null || userId === undefined) {
|
|
504
|
+
throw new baseapi_1.RequiredError("userId", "listUserNotificationRules");
|
|
505
|
+
}
|
|
506
|
+
// Path Params
|
|
507
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules".replace("{user_id}", encodeURIComponent(String(userId)));
|
|
508
|
+
// Make Request Context
|
|
509
|
+
const requestContext = _config
|
|
510
|
+
.getServer("v2.OnCallApi.listUserNotificationRules")
|
|
511
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
512
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
513
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
514
|
+
// Query Params
|
|
515
|
+
if (include !== undefined) {
|
|
516
|
+
requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
|
|
517
|
+
}
|
|
518
|
+
// Apply auth methods
|
|
519
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
520
|
+
"apiKeyAuth",
|
|
521
|
+
"appKeyAuth",
|
|
522
|
+
"AuthZ",
|
|
523
|
+
]);
|
|
524
|
+
return requestContext;
|
|
525
|
+
});
|
|
526
|
+
}
|
|
281
527
|
setOnCallTeamRoutingRules(teamId, body, include, _options) {
|
|
282
528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
283
529
|
const _config = _options || this.configuration;
|
|
@@ -367,54 +613,400 @@ class OnCallApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
|
367
613
|
if (body === null || body === undefined) {
|
|
368
614
|
throw new baseapi_1.RequiredError("body", "updateOnCallSchedule");
|
|
369
615
|
}
|
|
370
|
-
// Path Params
|
|
371
|
-
const localVarPath = "/api/v2/on-call/schedules/{schedule_id}".replace("{schedule_id}", encodeURIComponent(String(scheduleId)));
|
|
372
|
-
// Make Request Context
|
|
373
|
-
const requestContext = _config
|
|
374
|
-
.getServer("v2.OnCallApi.updateOnCallSchedule")
|
|
375
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
376
|
-
requestContext.setHeaderParam("Accept", "application/json");
|
|
377
|
-
requestContext.setHttpConfig(_config.httpConfig);
|
|
378
|
-
// Query Params
|
|
379
|
-
if (include !== undefined) {
|
|
380
|
-
requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
|
|
616
|
+
// Path Params
|
|
617
|
+
const localVarPath = "/api/v2/on-call/schedules/{schedule_id}".replace("{schedule_id}", encodeURIComponent(String(scheduleId)));
|
|
618
|
+
// Make Request Context
|
|
619
|
+
const requestContext = _config
|
|
620
|
+
.getServer("v2.OnCallApi.updateOnCallSchedule")
|
|
621
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
622
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
623
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
624
|
+
// Query Params
|
|
625
|
+
if (include !== undefined) {
|
|
626
|
+
requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
|
|
627
|
+
}
|
|
628
|
+
// Body Params
|
|
629
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
630
|
+
"application/json",
|
|
631
|
+
]);
|
|
632
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
633
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "ScheduleUpdateRequest", ""), contentType);
|
|
634
|
+
requestContext.setBody(serializedBody);
|
|
635
|
+
// Apply auth methods
|
|
636
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
637
|
+
"apiKeyAuth",
|
|
638
|
+
"appKeyAuth",
|
|
639
|
+
"AuthZ",
|
|
640
|
+
]);
|
|
641
|
+
return requestContext;
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
updateUserNotificationRule(userId, ruleId, body, include, _options) {
|
|
645
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
646
|
+
const _config = _options || this.configuration;
|
|
647
|
+
// verify required parameter 'userId' is not null or undefined
|
|
648
|
+
if (userId === null || userId === undefined) {
|
|
649
|
+
throw new baseapi_1.RequiredError("userId", "updateUserNotificationRule");
|
|
650
|
+
}
|
|
651
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
652
|
+
if (ruleId === null || ruleId === undefined) {
|
|
653
|
+
throw new baseapi_1.RequiredError("ruleId", "updateUserNotificationRule");
|
|
654
|
+
}
|
|
655
|
+
// verify required parameter 'body' is not null or undefined
|
|
656
|
+
if (body === null || body === undefined) {
|
|
657
|
+
throw new baseapi_1.RequiredError("body", "updateUserNotificationRule");
|
|
658
|
+
}
|
|
659
|
+
// Path Params
|
|
660
|
+
const localVarPath = "/api/v2/on-call/users/{user_id}/notification-rules/{rule_id}"
|
|
661
|
+
.replace("{user_id}", encodeURIComponent(String(userId)))
|
|
662
|
+
.replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
663
|
+
// Make Request Context
|
|
664
|
+
const requestContext = _config
|
|
665
|
+
.getServer("v2.OnCallApi.updateUserNotificationRule")
|
|
666
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
667
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
668
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
669
|
+
// Query Params
|
|
670
|
+
if (include !== undefined) {
|
|
671
|
+
requestContext.setQueryParam("include", ObjectSerializer_1.ObjectSerializer.serialize(include, "string", ""), "");
|
|
672
|
+
}
|
|
673
|
+
// Body Params
|
|
674
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
675
|
+
"application/json",
|
|
676
|
+
]);
|
|
677
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
678
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "UpdateOnCallNotificationRuleRequest", ""), contentType);
|
|
679
|
+
requestContext.setBody(serializedBody);
|
|
680
|
+
// Apply auth methods
|
|
681
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
682
|
+
"apiKeyAuth",
|
|
683
|
+
"appKeyAuth",
|
|
684
|
+
"AuthZ",
|
|
685
|
+
]);
|
|
686
|
+
return requestContext;
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
exports.OnCallApiRequestFactory = OnCallApiRequestFactory;
|
|
691
|
+
class OnCallApiResponseProcessor {
|
|
692
|
+
/**
|
|
693
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
694
|
+
* to the expected objects
|
|
695
|
+
*
|
|
696
|
+
* @params response Response returned by the server for a request to createOnCallEscalationPolicy
|
|
697
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
698
|
+
*/
|
|
699
|
+
createOnCallEscalationPolicy(response) {
|
|
700
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
701
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
702
|
+
if (response.httpStatusCode === 201) {
|
|
703
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy");
|
|
704
|
+
return body;
|
|
705
|
+
}
|
|
706
|
+
if (response.httpStatusCode === 400 ||
|
|
707
|
+
response.httpStatusCode === 401 ||
|
|
708
|
+
response.httpStatusCode === 403 ||
|
|
709
|
+
response.httpStatusCode === 429) {
|
|
710
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
711
|
+
let body;
|
|
712
|
+
try {
|
|
713
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
714
|
+
}
|
|
715
|
+
catch (error) {
|
|
716
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
717
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
718
|
+
}
|
|
719
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
720
|
+
}
|
|
721
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
722
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
723
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy", "");
|
|
724
|
+
return body;
|
|
725
|
+
}
|
|
726
|
+
const body = (yield response.body.text()) || "";
|
|
727
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
728
|
+
});
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
732
|
+
* to the expected objects
|
|
733
|
+
*
|
|
734
|
+
* @params response Response returned by the server for a request to createOnCallSchedule
|
|
735
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
736
|
+
*/
|
|
737
|
+
createOnCallSchedule(response) {
|
|
738
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
739
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
740
|
+
if (response.httpStatusCode === 201) {
|
|
741
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule");
|
|
742
|
+
return body;
|
|
743
|
+
}
|
|
744
|
+
if (response.httpStatusCode === 400 ||
|
|
745
|
+
response.httpStatusCode === 401 ||
|
|
746
|
+
response.httpStatusCode === 403 ||
|
|
747
|
+
response.httpStatusCode === 429) {
|
|
748
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
749
|
+
let body;
|
|
750
|
+
try {
|
|
751
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
752
|
+
}
|
|
753
|
+
catch (error) {
|
|
754
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
755
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
756
|
+
}
|
|
757
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
758
|
+
}
|
|
759
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
760
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
761
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule", "");
|
|
762
|
+
return body;
|
|
763
|
+
}
|
|
764
|
+
const body = (yield response.body.text()) || "";
|
|
765
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
770
|
+
* to the expected objects
|
|
771
|
+
*
|
|
772
|
+
* @params response Response returned by the server for a request to createUserNotificationChannel
|
|
773
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
774
|
+
*/
|
|
775
|
+
createUserNotificationChannel(response) {
|
|
776
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
777
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
778
|
+
if (response.httpStatusCode === 201) {
|
|
779
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel");
|
|
780
|
+
return body;
|
|
781
|
+
}
|
|
782
|
+
if (response.httpStatusCode === 400 ||
|
|
783
|
+
response.httpStatusCode === 401 ||
|
|
784
|
+
response.httpStatusCode === 403 ||
|
|
785
|
+
response.httpStatusCode === 404 ||
|
|
786
|
+
response.httpStatusCode === 429) {
|
|
787
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
788
|
+
let body;
|
|
789
|
+
try {
|
|
790
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
791
|
+
}
|
|
792
|
+
catch (error) {
|
|
793
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
794
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
795
|
+
}
|
|
796
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
797
|
+
}
|
|
798
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
799
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
800
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel", "");
|
|
801
|
+
return body;
|
|
802
|
+
}
|
|
803
|
+
const body = (yield response.body.text()) || "";
|
|
804
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
809
|
+
* to the expected objects
|
|
810
|
+
*
|
|
811
|
+
* @params response Response returned by the server for a request to createUserNotificationRule
|
|
812
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
813
|
+
*/
|
|
814
|
+
createUserNotificationRule(response) {
|
|
815
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
816
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
817
|
+
if (response.httpStatusCode === 201) {
|
|
818
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule");
|
|
819
|
+
return body;
|
|
820
|
+
}
|
|
821
|
+
if (response.httpStatusCode === 400 ||
|
|
822
|
+
response.httpStatusCode === 401 ||
|
|
823
|
+
response.httpStatusCode === 403 ||
|
|
824
|
+
response.httpStatusCode === 404 ||
|
|
825
|
+
response.httpStatusCode === 429) {
|
|
826
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
827
|
+
let body;
|
|
828
|
+
try {
|
|
829
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
830
|
+
}
|
|
831
|
+
catch (error) {
|
|
832
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
833
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
834
|
+
}
|
|
835
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
836
|
+
}
|
|
837
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
838
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
839
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule", "");
|
|
840
|
+
return body;
|
|
841
|
+
}
|
|
842
|
+
const body = (yield response.body.text()) || "";
|
|
843
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
848
|
+
* to the expected objects
|
|
849
|
+
*
|
|
850
|
+
* @params response Response returned by the server for a request to deleteOnCallEscalationPolicy
|
|
851
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
852
|
+
*/
|
|
853
|
+
deleteOnCallEscalationPolicy(response) {
|
|
854
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
855
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
856
|
+
if (response.httpStatusCode === 204) {
|
|
857
|
+
return;
|
|
858
|
+
}
|
|
859
|
+
if (response.httpStatusCode === 401 ||
|
|
860
|
+
response.httpStatusCode === 403 ||
|
|
861
|
+
response.httpStatusCode === 404 ||
|
|
862
|
+
response.httpStatusCode === 429) {
|
|
863
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
864
|
+
let body;
|
|
865
|
+
try {
|
|
866
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
867
|
+
}
|
|
868
|
+
catch (error) {
|
|
869
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
870
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
871
|
+
}
|
|
872
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
873
|
+
}
|
|
874
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
875
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
876
|
+
return;
|
|
877
|
+
}
|
|
878
|
+
const body = (yield response.body.text()) || "";
|
|
879
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
884
|
+
* to the expected objects
|
|
885
|
+
*
|
|
886
|
+
* @params response Response returned by the server for a request to deleteOnCallSchedule
|
|
887
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
888
|
+
*/
|
|
889
|
+
deleteOnCallSchedule(response) {
|
|
890
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
891
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
892
|
+
if (response.httpStatusCode === 204) {
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
if (response.httpStatusCode === 401 ||
|
|
896
|
+
response.httpStatusCode === 403 ||
|
|
897
|
+
response.httpStatusCode === 404 ||
|
|
898
|
+
response.httpStatusCode === 429) {
|
|
899
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
900
|
+
let body;
|
|
901
|
+
try {
|
|
902
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
903
|
+
}
|
|
904
|
+
catch (error) {
|
|
905
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
906
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
907
|
+
}
|
|
908
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
909
|
+
}
|
|
910
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
911
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
912
|
+
return;
|
|
913
|
+
}
|
|
914
|
+
const body = (yield response.body.text()) || "";
|
|
915
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
920
|
+
* to the expected objects
|
|
921
|
+
*
|
|
922
|
+
* @params response Response returned by the server for a request to deleteUserNotificationChannel
|
|
923
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
924
|
+
*/
|
|
925
|
+
deleteUserNotificationChannel(response) {
|
|
926
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
927
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
928
|
+
if (response.httpStatusCode === 204) {
|
|
929
|
+
return;
|
|
930
|
+
}
|
|
931
|
+
if (response.httpStatusCode === 400 ||
|
|
932
|
+
response.httpStatusCode === 401 ||
|
|
933
|
+
response.httpStatusCode === 403 ||
|
|
934
|
+
response.httpStatusCode === 404 ||
|
|
935
|
+
response.httpStatusCode === 429) {
|
|
936
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
937
|
+
let body;
|
|
938
|
+
try {
|
|
939
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
940
|
+
}
|
|
941
|
+
catch (error) {
|
|
942
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
943
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
944
|
+
}
|
|
945
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
946
|
+
}
|
|
947
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
948
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
949
|
+
return;
|
|
950
|
+
}
|
|
951
|
+
const body = (yield response.body.text()) || "";
|
|
952
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
953
|
+
});
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
957
|
+
* to the expected objects
|
|
958
|
+
*
|
|
959
|
+
* @params response Response returned by the server for a request to deleteUserNotificationRule
|
|
960
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
961
|
+
*/
|
|
962
|
+
deleteUserNotificationRule(response) {
|
|
963
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
964
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
965
|
+
if (response.httpStatusCode === 204) {
|
|
966
|
+
return;
|
|
967
|
+
}
|
|
968
|
+
if (response.httpStatusCode === 400 ||
|
|
969
|
+
response.httpStatusCode === 401 ||
|
|
970
|
+
response.httpStatusCode === 403 ||
|
|
971
|
+
response.httpStatusCode === 404 ||
|
|
972
|
+
response.httpStatusCode === 429) {
|
|
973
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
974
|
+
let body;
|
|
975
|
+
try {
|
|
976
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
977
|
+
}
|
|
978
|
+
catch (error) {
|
|
979
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
980
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
981
|
+
}
|
|
982
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
381
983
|
}
|
|
382
|
-
//
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
requestContext.setBody(serializedBody);
|
|
389
|
-
// Apply auth methods
|
|
390
|
-
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
391
|
-
"apiKeyAuth",
|
|
392
|
-
"appKeyAuth",
|
|
393
|
-
"AuthZ",
|
|
394
|
-
]);
|
|
395
|
-
return requestContext;
|
|
984
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
985
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
986
|
+
return;
|
|
987
|
+
}
|
|
988
|
+
const body = (yield response.body.text()) || "";
|
|
989
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
396
990
|
});
|
|
397
991
|
}
|
|
398
|
-
}
|
|
399
|
-
exports.OnCallApiRequestFactory = OnCallApiRequestFactory;
|
|
400
|
-
class OnCallApiResponseProcessor {
|
|
401
992
|
/**
|
|
402
993
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
403
994
|
* to the expected objects
|
|
404
995
|
*
|
|
405
|
-
* @params response Response returned by the server for a request to
|
|
996
|
+
* @params response Response returned by the server for a request to getOnCallEscalationPolicy
|
|
406
997
|
* @throws ApiException if the response code was not in [200, 299]
|
|
407
998
|
*/
|
|
408
|
-
|
|
999
|
+
getOnCallEscalationPolicy(response) {
|
|
409
1000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
410
1001
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
411
|
-
if (response.httpStatusCode ===
|
|
1002
|
+
if (response.httpStatusCode === 200) {
|
|
412
1003
|
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "EscalationPolicy");
|
|
413
1004
|
return body;
|
|
414
1005
|
}
|
|
415
1006
|
if (response.httpStatusCode === 400 ||
|
|
416
1007
|
response.httpStatusCode === 401 ||
|
|
417
1008
|
response.httpStatusCode === 403 ||
|
|
1009
|
+
response.httpStatusCode === 404 ||
|
|
418
1010
|
response.httpStatusCode === 429) {
|
|
419
1011
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
420
1012
|
let body;
|
|
@@ -440,19 +1032,19 @@ class OnCallApiResponseProcessor {
|
|
|
440
1032
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
441
1033
|
* to the expected objects
|
|
442
1034
|
*
|
|
443
|
-
* @params response Response returned by the server for a request to
|
|
1035
|
+
* @params response Response returned by the server for a request to getOnCallSchedule
|
|
444
1036
|
* @throws ApiException if the response code was not in [200, 299]
|
|
445
1037
|
*/
|
|
446
|
-
|
|
1038
|
+
getOnCallSchedule(response) {
|
|
447
1039
|
return __awaiter(this, void 0, void 0, function* () {
|
|
448
1040
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
449
|
-
if (response.httpStatusCode ===
|
|
1041
|
+
if (response.httpStatusCode === 200) {
|
|
450
1042
|
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Schedule");
|
|
451
1043
|
return body;
|
|
452
1044
|
}
|
|
453
|
-
if (response.httpStatusCode ===
|
|
454
|
-
response.httpStatusCode === 401 ||
|
|
1045
|
+
if (response.httpStatusCode === 401 ||
|
|
455
1046
|
response.httpStatusCode === 403 ||
|
|
1047
|
+
response.httpStatusCode === 404 ||
|
|
456
1048
|
response.httpStatusCode === 429) {
|
|
457
1049
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
458
1050
|
let body;
|
|
@@ -478,19 +1070,17 @@ class OnCallApiResponseProcessor {
|
|
|
478
1070
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
479
1071
|
* to the expected objects
|
|
480
1072
|
*
|
|
481
|
-
* @params response Response returned by the server for a request to
|
|
1073
|
+
* @params response Response returned by the server for a request to getOnCallTeamRoutingRules
|
|
482
1074
|
* @throws ApiException if the response code was not in [200, 299]
|
|
483
1075
|
*/
|
|
484
|
-
|
|
1076
|
+
getOnCallTeamRoutingRules(response) {
|
|
485
1077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
486
1078
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
487
|
-
if (response.httpStatusCode ===
|
|
488
|
-
|
|
1079
|
+
if (response.httpStatusCode === 200) {
|
|
1080
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamRoutingRules");
|
|
1081
|
+
return body;
|
|
489
1082
|
}
|
|
490
|
-
if (response.httpStatusCode ===
|
|
491
|
-
response.httpStatusCode === 403 ||
|
|
492
|
-
response.httpStatusCode === 404 ||
|
|
493
|
-
response.httpStatusCode === 429) {
|
|
1083
|
+
if (response.httpStatusCode === 429) {
|
|
494
1084
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
495
1085
|
let body;
|
|
496
1086
|
try {
|
|
@@ -504,7 +1094,8 @@ class OnCallApiResponseProcessor {
|
|
|
504
1094
|
}
|
|
505
1095
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
506
1096
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
507
|
-
|
|
1097
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamRoutingRules", "");
|
|
1098
|
+
return body;
|
|
508
1099
|
}
|
|
509
1100
|
const body = (yield response.body.text()) || "";
|
|
510
1101
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -514,16 +1105,18 @@ class OnCallApiResponseProcessor {
|
|
|
514
1105
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
515
1106
|
* to the expected objects
|
|
516
1107
|
*
|
|
517
|
-
* @params response Response returned by the server for a request to
|
|
1108
|
+
* @params response Response returned by the server for a request to getScheduleOnCallUser
|
|
518
1109
|
* @throws ApiException if the response code was not in [200, 299]
|
|
519
1110
|
*/
|
|
520
|
-
|
|
1111
|
+
getScheduleOnCallUser(response) {
|
|
521
1112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
522
1113
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
523
|
-
if (response.httpStatusCode ===
|
|
524
|
-
|
|
1114
|
+
if (response.httpStatusCode === 200) {
|
|
1115
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Shift");
|
|
1116
|
+
return body;
|
|
525
1117
|
}
|
|
526
|
-
if (response.httpStatusCode ===
|
|
1118
|
+
if (response.httpStatusCode === 400 ||
|
|
1119
|
+
response.httpStatusCode === 401 ||
|
|
527
1120
|
response.httpStatusCode === 403 ||
|
|
528
1121
|
response.httpStatusCode === 404 ||
|
|
529
1122
|
response.httpStatusCode === 429) {
|
|
@@ -540,7 +1133,8 @@ class OnCallApiResponseProcessor {
|
|
|
540
1133
|
}
|
|
541
1134
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
542
1135
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
543
|
-
|
|
1136
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "Shift", "");
|
|
1137
|
+
return body;
|
|
544
1138
|
}
|
|
545
1139
|
const body = (yield response.body.text()) || "";
|
|
546
1140
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -550,14 +1144,14 @@ class OnCallApiResponseProcessor {
|
|
|
550
1144
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
551
1145
|
* to the expected objects
|
|
552
1146
|
*
|
|
553
|
-
* @params response Response returned by the server for a request to
|
|
1147
|
+
* @params response Response returned by the server for a request to getTeamOnCallUsers
|
|
554
1148
|
* @throws ApiException if the response code was not in [200, 299]
|
|
555
1149
|
*/
|
|
556
|
-
|
|
1150
|
+
getTeamOnCallUsers(response) {
|
|
557
1151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
558
1152
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
559
1153
|
if (response.httpStatusCode === 200) {
|
|
560
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1154
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamOnCallResponders");
|
|
561
1155
|
return body;
|
|
562
1156
|
}
|
|
563
1157
|
if (response.httpStatusCode === 400 ||
|
|
@@ -578,7 +1172,7 @@ class OnCallApiResponseProcessor {
|
|
|
578
1172
|
}
|
|
579
1173
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
580
1174
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
581
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1175
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TeamOnCallResponders", "");
|
|
582
1176
|
return body;
|
|
583
1177
|
}
|
|
584
1178
|
const body = (yield response.body.text()) || "";
|
|
@@ -589,17 +1183,18 @@ class OnCallApiResponseProcessor {
|
|
|
589
1183
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
590
1184
|
* to the expected objects
|
|
591
1185
|
*
|
|
592
|
-
* @params response Response returned by the server for a request to
|
|
1186
|
+
* @params response Response returned by the server for a request to getUserNotificationChannel
|
|
593
1187
|
* @throws ApiException if the response code was not in [200, 299]
|
|
594
1188
|
*/
|
|
595
|
-
|
|
1189
|
+
getUserNotificationChannel(response) {
|
|
596
1190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
597
1191
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
598
1192
|
if (response.httpStatusCode === 200) {
|
|
599
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1193
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel");
|
|
600
1194
|
return body;
|
|
601
1195
|
}
|
|
602
|
-
if (response.httpStatusCode ===
|
|
1196
|
+
if (response.httpStatusCode === 400 ||
|
|
1197
|
+
response.httpStatusCode === 401 ||
|
|
603
1198
|
response.httpStatusCode === 403 ||
|
|
604
1199
|
response.httpStatusCode === 404 ||
|
|
605
1200
|
response.httpStatusCode === 429) {
|
|
@@ -616,7 +1211,7 @@ class OnCallApiResponseProcessor {
|
|
|
616
1211
|
}
|
|
617
1212
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
618
1213
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
619
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1214
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationChannel", "");
|
|
620
1215
|
return body;
|
|
621
1216
|
}
|
|
622
1217
|
const body = (yield response.body.text()) || "";
|
|
@@ -627,17 +1222,21 @@ class OnCallApiResponseProcessor {
|
|
|
627
1222
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
628
1223
|
* to the expected objects
|
|
629
1224
|
*
|
|
630
|
-
* @params response Response returned by the server for a request to
|
|
1225
|
+
* @params response Response returned by the server for a request to getUserNotificationRule
|
|
631
1226
|
* @throws ApiException if the response code was not in [200, 299]
|
|
632
1227
|
*/
|
|
633
|
-
|
|
1228
|
+
getUserNotificationRule(response) {
|
|
634
1229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
635
1230
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
636
1231
|
if (response.httpStatusCode === 200) {
|
|
637
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1232
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule");
|
|
638
1233
|
return body;
|
|
639
1234
|
}
|
|
640
|
-
if (response.httpStatusCode ===
|
|
1235
|
+
if (response.httpStatusCode === 400 ||
|
|
1236
|
+
response.httpStatusCode === 401 ||
|
|
1237
|
+
response.httpStatusCode === 403 ||
|
|
1238
|
+
response.httpStatusCode === 404 ||
|
|
1239
|
+
response.httpStatusCode === 429) {
|
|
641
1240
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
642
1241
|
let body;
|
|
643
1242
|
try {
|
|
@@ -651,7 +1250,7 @@ class OnCallApiResponseProcessor {
|
|
|
651
1250
|
}
|
|
652
1251
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
653
1252
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
654
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1253
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule", "");
|
|
655
1254
|
return body;
|
|
656
1255
|
}
|
|
657
1256
|
const body = (yield response.body.text()) || "";
|
|
@@ -662,14 +1261,14 @@ class OnCallApiResponseProcessor {
|
|
|
662
1261
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
663
1262
|
* to the expected objects
|
|
664
1263
|
*
|
|
665
|
-
* @params response Response returned by the server for a request to
|
|
1264
|
+
* @params response Response returned by the server for a request to listUserNotificationChannels
|
|
666
1265
|
* @throws ApiException if the response code was not in [200, 299]
|
|
667
1266
|
*/
|
|
668
|
-
|
|
1267
|
+
listUserNotificationChannels(response) {
|
|
669
1268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
670
1269
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
671
1270
|
if (response.httpStatusCode === 200) {
|
|
672
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1271
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListNotificationChannelsResponse");
|
|
673
1272
|
return body;
|
|
674
1273
|
}
|
|
675
1274
|
if (response.httpStatusCode === 400 ||
|
|
@@ -690,7 +1289,7 @@ class OnCallApiResponseProcessor {
|
|
|
690
1289
|
}
|
|
691
1290
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
692
1291
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
693
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1292
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListNotificationChannelsResponse", "");
|
|
694
1293
|
return body;
|
|
695
1294
|
}
|
|
696
1295
|
const body = (yield response.body.text()) || "";
|
|
@@ -701,14 +1300,14 @@ class OnCallApiResponseProcessor {
|
|
|
701
1300
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
702
1301
|
* to the expected objects
|
|
703
1302
|
*
|
|
704
|
-
* @params response Response returned by the server for a request to
|
|
1303
|
+
* @params response Response returned by the server for a request to listUserNotificationRules
|
|
705
1304
|
* @throws ApiException if the response code was not in [200, 299]
|
|
706
1305
|
*/
|
|
707
|
-
|
|
1306
|
+
listUserNotificationRules(response) {
|
|
708
1307
|
return __awaiter(this, void 0, void 0, function* () {
|
|
709
1308
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
710
1309
|
if (response.httpStatusCode === 200) {
|
|
711
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1310
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListOnCallNotificationRulesResponse");
|
|
712
1311
|
return body;
|
|
713
1312
|
}
|
|
714
1313
|
if (response.httpStatusCode === 400 ||
|
|
@@ -729,7 +1328,7 @@ class OnCallApiResponseProcessor {
|
|
|
729
1328
|
}
|
|
730
1329
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
731
1330
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
732
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
1331
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListOnCallNotificationRulesResponse", "");
|
|
733
1332
|
return body;
|
|
734
1333
|
}
|
|
735
1334
|
const body = (yield response.body.text()) || "";
|
|
@@ -849,6 +1448,45 @@ class OnCallApiResponseProcessor {
|
|
|
849
1448
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
850
1449
|
});
|
|
851
1450
|
}
|
|
1451
|
+
/**
|
|
1452
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1453
|
+
* to the expected objects
|
|
1454
|
+
*
|
|
1455
|
+
* @params response Response returned by the server for a request to updateUserNotificationRule
|
|
1456
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1457
|
+
*/
|
|
1458
|
+
updateUserNotificationRule(response) {
|
|
1459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1460
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1461
|
+
if (response.httpStatusCode === 200) {
|
|
1462
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule");
|
|
1463
|
+
return body;
|
|
1464
|
+
}
|
|
1465
|
+
if (response.httpStatusCode === 400 ||
|
|
1466
|
+
response.httpStatusCode === 401 ||
|
|
1467
|
+
response.httpStatusCode === 403 ||
|
|
1468
|
+
response.httpStatusCode === 404 ||
|
|
1469
|
+
response.httpStatusCode === 429) {
|
|
1470
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1471
|
+
let body;
|
|
1472
|
+
try {
|
|
1473
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1474
|
+
}
|
|
1475
|
+
catch (error) {
|
|
1476
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1477
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1478
|
+
}
|
|
1479
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1480
|
+
}
|
|
1481
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1482
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1483
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "OnCallNotificationRule", "");
|
|
1484
|
+
return body;
|
|
1485
|
+
}
|
|
1486
|
+
const body = (yield response.body.text()) || "";
|
|
1487
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
852
1490
|
}
|
|
853
1491
|
exports.OnCallApiResponseProcessor = OnCallApiResponseProcessor;
|
|
854
1492
|
class OnCallApi {
|
|
@@ -887,6 +1525,34 @@ class OnCallApi {
|
|
|
887
1525
|
});
|
|
888
1526
|
});
|
|
889
1527
|
}
|
|
1528
|
+
/**
|
|
1529
|
+
* Create a new notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1530
|
+
* @param param The request object
|
|
1531
|
+
*/
|
|
1532
|
+
createUserNotificationChannel(param, options) {
|
|
1533
|
+
const requestContextPromise = this.requestFactory.createUserNotificationChannel(param.userId, param.body, options);
|
|
1534
|
+
return requestContextPromise.then((requestContext) => {
|
|
1535
|
+
return this.configuration.httpApi
|
|
1536
|
+
.send(requestContext)
|
|
1537
|
+
.then((responseContext) => {
|
|
1538
|
+
return this.responseProcessor.createUserNotificationChannel(responseContext);
|
|
1539
|
+
});
|
|
1540
|
+
});
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* Create a new notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1544
|
+
* @param param The request object
|
|
1545
|
+
*/
|
|
1546
|
+
createUserNotificationRule(param, options) {
|
|
1547
|
+
const requestContextPromise = this.requestFactory.createUserNotificationRule(param.userId, param.body, options);
|
|
1548
|
+
return requestContextPromise.then((requestContext) => {
|
|
1549
|
+
return this.configuration.httpApi
|
|
1550
|
+
.send(requestContext)
|
|
1551
|
+
.then((responseContext) => {
|
|
1552
|
+
return this.responseProcessor.createUserNotificationRule(responseContext);
|
|
1553
|
+
});
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
890
1556
|
/**
|
|
891
1557
|
* Delete an On-Call escalation policy
|
|
892
1558
|
* @param param The request object
|
|
@@ -915,6 +1581,34 @@ class OnCallApi {
|
|
|
915
1581
|
});
|
|
916
1582
|
});
|
|
917
1583
|
}
|
|
1584
|
+
/**
|
|
1585
|
+
* Delete a notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1586
|
+
* @param param The request object
|
|
1587
|
+
*/
|
|
1588
|
+
deleteUserNotificationChannel(param, options) {
|
|
1589
|
+
const requestContextPromise = this.requestFactory.deleteUserNotificationChannel(param.userId, param.channelId, options);
|
|
1590
|
+
return requestContextPromise.then((requestContext) => {
|
|
1591
|
+
return this.configuration.httpApi
|
|
1592
|
+
.send(requestContext)
|
|
1593
|
+
.then((responseContext) => {
|
|
1594
|
+
return this.responseProcessor.deleteUserNotificationChannel(responseContext);
|
|
1595
|
+
});
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* Delete a notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1600
|
+
* @param param The request object
|
|
1601
|
+
*/
|
|
1602
|
+
deleteUserNotificationRule(param, options) {
|
|
1603
|
+
const requestContextPromise = this.requestFactory.deleteUserNotificationRule(param.userId, param.ruleId, options);
|
|
1604
|
+
return requestContextPromise.then((requestContext) => {
|
|
1605
|
+
return this.configuration.httpApi
|
|
1606
|
+
.send(requestContext)
|
|
1607
|
+
.then((responseContext) => {
|
|
1608
|
+
return this.responseProcessor.deleteUserNotificationRule(responseContext);
|
|
1609
|
+
});
|
|
1610
|
+
});
|
|
1611
|
+
}
|
|
918
1612
|
/**
|
|
919
1613
|
* Get an On-Call escalation policy
|
|
920
1614
|
* @param param The request object
|
|
@@ -985,6 +1679,62 @@ class OnCallApi {
|
|
|
985
1679
|
});
|
|
986
1680
|
});
|
|
987
1681
|
}
|
|
1682
|
+
/**
|
|
1683
|
+
* Get a notification channel for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1684
|
+
* @param param The request object
|
|
1685
|
+
*/
|
|
1686
|
+
getUserNotificationChannel(param, options) {
|
|
1687
|
+
const requestContextPromise = this.requestFactory.getUserNotificationChannel(param.userId, param.channelId, options);
|
|
1688
|
+
return requestContextPromise.then((requestContext) => {
|
|
1689
|
+
return this.configuration.httpApi
|
|
1690
|
+
.send(requestContext)
|
|
1691
|
+
.then((responseContext) => {
|
|
1692
|
+
return this.responseProcessor.getUserNotificationChannel(responseContext);
|
|
1693
|
+
});
|
|
1694
|
+
});
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* Get a notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1698
|
+
* @param param The request object
|
|
1699
|
+
*/
|
|
1700
|
+
getUserNotificationRule(param, options) {
|
|
1701
|
+
const requestContextPromise = this.requestFactory.getUserNotificationRule(param.userId, param.ruleId, param.include, options);
|
|
1702
|
+
return requestContextPromise.then((requestContext) => {
|
|
1703
|
+
return this.configuration.httpApi
|
|
1704
|
+
.send(requestContext)
|
|
1705
|
+
.then((responseContext) => {
|
|
1706
|
+
return this.responseProcessor.getUserNotificationRule(responseContext);
|
|
1707
|
+
});
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* List the notification channels for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1712
|
+
* @param param The request object
|
|
1713
|
+
*/
|
|
1714
|
+
listUserNotificationChannels(param, options) {
|
|
1715
|
+
const requestContextPromise = this.requestFactory.listUserNotificationChannels(param.userId, options);
|
|
1716
|
+
return requestContextPromise.then((requestContext) => {
|
|
1717
|
+
return this.configuration.httpApi
|
|
1718
|
+
.send(requestContext)
|
|
1719
|
+
.then((responseContext) => {
|
|
1720
|
+
return this.responseProcessor.listUserNotificationChannels(responseContext);
|
|
1721
|
+
});
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
* List the notification rules for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1726
|
+
* @param param The request object
|
|
1727
|
+
*/
|
|
1728
|
+
listUserNotificationRules(param, options) {
|
|
1729
|
+
const requestContextPromise = this.requestFactory.listUserNotificationRules(param.userId, param.include, options);
|
|
1730
|
+
return requestContextPromise.then((requestContext) => {
|
|
1731
|
+
return this.configuration.httpApi
|
|
1732
|
+
.send(requestContext)
|
|
1733
|
+
.then((responseContext) => {
|
|
1734
|
+
return this.responseProcessor.listUserNotificationRules(responseContext);
|
|
1735
|
+
});
|
|
1736
|
+
});
|
|
1737
|
+
}
|
|
988
1738
|
/**
|
|
989
1739
|
* Set a team's On-Call routing rules
|
|
990
1740
|
* @param param The request object
|
|
@@ -1027,6 +1777,20 @@ class OnCallApi {
|
|
|
1027
1777
|
});
|
|
1028
1778
|
});
|
|
1029
1779
|
}
|
|
1780
|
+
/**
|
|
1781
|
+
* Update a notification rule for a user. The authenticated user must be the target user or have the `on_call_admin` permission
|
|
1782
|
+
* @param param The request object
|
|
1783
|
+
*/
|
|
1784
|
+
updateUserNotificationRule(param, options) {
|
|
1785
|
+
const requestContextPromise = this.requestFactory.updateUserNotificationRule(param.userId, param.ruleId, param.body, param.include, options);
|
|
1786
|
+
return requestContextPromise.then((requestContext) => {
|
|
1787
|
+
return this.configuration.httpApi
|
|
1788
|
+
.send(requestContext)
|
|
1789
|
+
.then((responseContext) => {
|
|
1790
|
+
return this.responseProcessor.updateUserNotificationRule(responseContext);
|
|
1791
|
+
});
|
|
1792
|
+
});
|
|
1793
|
+
}
|
|
1030
1794
|
}
|
|
1031
1795
|
exports.OnCallApi = OnCallApi;
|
|
1032
1796
|
//# sourceMappingURL=OnCallApi.js.map
|