@datadog/datadog-api-client 1.4.0 → 1.5.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 +18 -0
- package/README.md +0 -2
- package/dist/packages/datadog-api-client-common/exception.js +3 -0
- package/dist/packages/datadog-api-client-common/exception.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/AWSIntegrationApi.js +9 -18
- package/dist/packages/datadog-api-client-v1/apis/AWSIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js +7 -14
- package/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/AuthenticationApi.js +1 -2
- package/dist/packages/datadog-api-client-v1/apis/AuthenticationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/AzureIntegrationApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/AzureIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/DashboardListsApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/DashboardListsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/DashboardsApi.js +7 -14
- package/dist/packages/datadog-api-client-v1/apis/DashboardsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/DowntimesApi.js +7 -14
- package/dist/packages/datadog-api-client-v1/apis/DowntimesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/EventsApi.js +3 -6
- package/dist/packages/datadog-api-client-v1/apis/EventsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.js +4 -8
- package/dist/packages/datadog-api-client-v1/apis/GCPIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/HostsApi.js +4 -8
- package/dist/packages/datadog-api-client-v1/apis/HostsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/IPRangesApi.js +1 -2
- package/dist/packages/datadog-api-client-v1/apis/IPRangesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/KeyManagementApi.js +10 -20
- package/dist/packages/datadog-api-client-v1/apis/KeyManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/LogsApi.js +4 -8
- package/dist/packages/datadog-api-client-v1/apis/LogsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js +10 -20
- package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/LogsPipelinesApi.js +12 -24
- package/dist/packages/datadog-api-client-v1/apis/LogsPipelinesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/MetricsApi.js +7 -14
- package/dist/packages/datadog-api-client-v1/apis/MetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js +10 -20
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/NotebooksApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/NotebooksApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/OrganizationsApi.js +6 -12
- package/dist/packages/datadog-api-client-v1/apis/OrganizationsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.js +4 -8
- package/dist/packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.js +3 -6
- package/dist/packages/datadog-api-client-v1/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/ServiceChecksApi.js +1 -2
- package/dist/packages/datadog-api-client-v1/apis/ServiceChecksApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectiveCorrectionsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.js +10 -20
- package/dist/packages/datadog-api-client-v1/apis/ServiceLevelObjectivesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SlackIntegrationApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/SlackIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SnapshotsApi.js +1 -2
- package/dist/packages/datadog-api-client-v1/apis/SnapshotsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +27 -54
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/TagsApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/TagsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +39 -77
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/UsersApi.js +5 -10
- package/dist/packages/datadog-api-client-v1/apis/UsersApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.js +8 -16
- package/dist/packages/datadog-api-client-v1/apis/WebhooksIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorOptions.d.ts +9 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorOptions.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserTest.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/UsageCIVisibilityHour.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.js +1 -0
- package/dist/packages/datadog-api-client-v1/models/UsageOnlineArchiveHour.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/AuditApi.js +2 -4
- package/dist/packages/datadog-api-client-v2/apis/AuditApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js +5 -10
- package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.js +6 -12
- package/dist/packages/datadog-api-client-v2/apis/CloudWorkloadSecurityApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.d.ts +253 -0
- package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.js +1064 -0
- package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/DashboardListsApi.js +4 -8
- package/dist/packages/datadog-api-client-v2/apis/DashboardListsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/EventsApi.js +2 -4
- package/dist/packages/datadog-api-client-v2/apis/EventsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentServicesApi.js +5 -10
- package/dist/packages/datadog-api-client-v2/apis/IncidentServicesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js +5 -10
- package/dist/packages/datadog-api-client-v2/apis/IncidentTeamsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js +7 -14
- package/dist/packages/datadog-api-client-v2/apis/IncidentsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js +14 -28
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/LogsApi.js +4 -8
- package/dist/packages/datadog-api-client-v2/apis/LogsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/LogsArchivesApi.js +10 -20
- package/dist/packages/datadog-api-client-v2/apis/LogsArchivesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/LogsMetricsApi.js +5 -10
- package/dist/packages/datadog-api-client-v2/apis/LogsMetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +16 -28
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.js +5 -10
- package/dist/packages/datadog-api-client-v2/apis/OpsgenieIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js +1 -2
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ProcessesApi.js +1 -2
- package/dist/packages/datadog-api-client-v2/apis/ProcessesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/RUMApi.js +8 -16
- package/dist/packages/datadog-api-client-v2/apis/RUMApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/RolesApi.js +13 -26
- package/dist/packages/datadog-api-client-v2/apis/RolesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +16 -32
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js +5 -10
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.d.ts +94 -0
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.js +456 -0
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js +7 -14
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.js +10 -20
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/index.js +92 -9
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.js +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountCreateRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResourceAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountType.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.js +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountUpdateRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentAccountsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequest.js +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceType.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ConfluentResourcesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Event.js +1 -0
- package/dist/packages/datadog-api-client-v2/models/Event.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventAttributes.js +2 -0
- package/dist/packages/datadog-api-client-v2/models/EventAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/HTTPLogItem.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/IncidentResponseAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.js +0 -5
- package/dist/packages/datadog-api-client-v2/models/IncidentUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MonitorType.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorType.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +113 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleQuery.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponseQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleQuery.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionCreateResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionData.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionData.js +32 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.js +32 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionGetResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchema.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchema.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchema.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Contact.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Info.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.d.ts +28 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.js +33 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Integrations.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Org.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Resource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1ResourceType.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1ResourceType.js +18 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1ResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Version.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Version.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV1Version.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2.d.ts +76 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2.js +70 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Contact.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Contact.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Contact.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Doc.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Email.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2EmailType.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2EmailType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2EmailType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.js +32 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Integrations.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Link.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2LinkType.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2LinkType.js +18 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2LinkType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.js +33 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Opsgenie.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2OpsgenieRegion.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2OpsgenieRegion.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2OpsgenieRegion.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Repo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Slack.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2SlackType.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2SlackType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2SlackType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Version.d.ts +7 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Version.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionV2Version.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsCreateRequest.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsCreateRequest.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.js +28 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionsListResponse.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1296,13 +1296,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1296
1296
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1297
1297
|
try {
|
|
1298
1298
|
body_2 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1299
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_2);
|
|
1300
1299
|
}
|
|
1301
1300
|
catch (error) {
|
|
1302
1301
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1303
1302
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1304
1303
|
}
|
|
1305
|
-
|
|
1304
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_2);
|
|
1306
1305
|
case 4:
|
|
1307
1306
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1308
1307
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1351,13 +1350,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1351
1350
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1352
1351
|
try {
|
|
1353
1352
|
body_5 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1354
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_5);
|
|
1355
1353
|
}
|
|
1356
1354
|
catch (error) {
|
|
1357
1355
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1358
1356
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1359
1357
|
}
|
|
1360
|
-
|
|
1358
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_5);
|
|
1361
1359
|
case 4:
|
|
1362
1360
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1363
1361
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1408,13 +1406,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1408
1406
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1409
1407
|
try {
|
|
1410
1408
|
body_8 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1411
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_8);
|
|
1412
1409
|
}
|
|
1413
1410
|
catch (error) {
|
|
1414
1411
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1415
1412
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1416
1413
|
}
|
|
1417
|
-
|
|
1414
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_8);
|
|
1418
1415
|
case 4:
|
|
1419
1416
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1420
1417
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1465,13 +1462,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1465
1462
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1466
1463
|
try {
|
|
1467
1464
|
body_11 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1468
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_11);
|
|
1469
1465
|
}
|
|
1470
1466
|
catch (error) {
|
|
1471
1467
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1472
1468
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1473
1469
|
}
|
|
1474
|
-
|
|
1470
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_11);
|
|
1475
1471
|
case 4:
|
|
1476
1472
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1477
1473
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1520,13 +1516,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1520
1516
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1521
1517
|
try {
|
|
1522
1518
|
body_14 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1523
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_14);
|
|
1524
1519
|
}
|
|
1525
1520
|
catch (error) {
|
|
1526
1521
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1527
1522
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1528
1523
|
}
|
|
1529
|
-
|
|
1524
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_14);
|
|
1530
1525
|
case 4:
|
|
1531
1526
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1532
1527
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1575,13 +1570,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1575
1570
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1576
1571
|
try {
|
|
1577
1572
|
body_17 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1578
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_17);
|
|
1579
1573
|
}
|
|
1580
1574
|
catch (error) {
|
|
1581
1575
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1582
1576
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1583
1577
|
}
|
|
1584
|
-
|
|
1578
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_17);
|
|
1585
1579
|
case 4:
|
|
1586
1580
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1587
1581
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1632,13 +1626,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1632
1626
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1633
1627
|
try {
|
|
1634
1628
|
body_20 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1635
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_20);
|
|
1636
1629
|
}
|
|
1637
1630
|
catch (error) {
|
|
1638
1631
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1639
1632
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1640
1633
|
}
|
|
1641
|
-
|
|
1634
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_20);
|
|
1642
1635
|
case 4:
|
|
1643
1636
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1644
1637
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1690,13 +1683,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1690
1683
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1691
1684
|
try {
|
|
1692
1685
|
body_23 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1693
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_23);
|
|
1694
1686
|
}
|
|
1695
1687
|
catch (error) {
|
|
1696
1688
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1697
1689
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1698
1690
|
}
|
|
1699
|
-
|
|
1691
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_23);
|
|
1700
1692
|
case 4:
|
|
1701
1693
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1702
1694
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1747,13 +1739,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1747
1739
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1748
1740
|
try {
|
|
1749
1741
|
body_26 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1750
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_26);
|
|
1751
1742
|
}
|
|
1752
1743
|
catch (error) {
|
|
1753
1744
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1754
1745
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1755
1746
|
}
|
|
1756
|
-
|
|
1747
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_26);
|
|
1757
1748
|
case 4:
|
|
1758
1749
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1759
1750
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1802,13 +1793,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1802
1793
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1803
1794
|
try {
|
|
1804
1795
|
body_29 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1805
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_29);
|
|
1806
1796
|
}
|
|
1807
1797
|
catch (error) {
|
|
1808
1798
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1809
1799
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1810
1800
|
}
|
|
1811
|
-
|
|
1801
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_29);
|
|
1812
1802
|
case 4:
|
|
1813
1803
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1814
1804
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1859,13 +1849,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1859
1849
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1860
1850
|
try {
|
|
1861
1851
|
body_32 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1862
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_32);
|
|
1863
1852
|
}
|
|
1864
1853
|
catch (error) {
|
|
1865
1854
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1866
1855
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1867
1856
|
}
|
|
1868
|
-
|
|
1857
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_32);
|
|
1869
1858
|
case 4:
|
|
1870
1859
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1871
1860
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1916,13 +1905,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1916
1905
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1917
1906
|
try {
|
|
1918
1907
|
body_35 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1919
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_35);
|
|
1920
1908
|
}
|
|
1921
1909
|
catch (error) {
|
|
1922
1910
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1923
1911
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1924
1912
|
}
|
|
1925
|
-
|
|
1913
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_35);
|
|
1926
1914
|
case 4:
|
|
1927
1915
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1928
1916
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -1973,13 +1961,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
1973
1961
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
1974
1962
|
try {
|
|
1975
1963
|
body_38 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1976
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_38);
|
|
1977
1964
|
}
|
|
1978
1965
|
catch (error) {
|
|
1979
1966
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
1980
1967
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1981
1968
|
}
|
|
1982
|
-
|
|
1969
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_38);
|
|
1983
1970
|
case 4:
|
|
1984
1971
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
1985
1972
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2030,13 +2017,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2030
2017
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2031
2018
|
try {
|
|
2032
2019
|
body_41 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2033
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_41);
|
|
2034
2020
|
}
|
|
2035
2021
|
catch (error) {
|
|
2036
2022
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2037
2023
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2038
2024
|
}
|
|
2039
|
-
|
|
2025
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_41);
|
|
2040
2026
|
case 4:
|
|
2041
2027
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2042
2028
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2087,13 +2073,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2087
2073
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2088
2074
|
try {
|
|
2089
2075
|
body_44 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2090
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_44);
|
|
2091
2076
|
}
|
|
2092
2077
|
catch (error) {
|
|
2093
2078
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2094
2079
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2095
2080
|
}
|
|
2096
|
-
|
|
2081
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_44);
|
|
2097
2082
|
case 4:
|
|
2098
2083
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2099
2084
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2144,13 +2129,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2144
2129
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2145
2130
|
try {
|
|
2146
2131
|
body_47 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2147
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_47);
|
|
2148
2132
|
}
|
|
2149
2133
|
catch (error) {
|
|
2150
2134
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2151
2135
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2152
2136
|
}
|
|
2153
|
-
|
|
2137
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_47);
|
|
2154
2138
|
case 4:
|
|
2155
2139
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2156
2140
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2201,13 +2185,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2201
2185
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2202
2186
|
try {
|
|
2203
2187
|
body_50 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2204
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_50);
|
|
2205
2188
|
}
|
|
2206
2189
|
catch (error) {
|
|
2207
2190
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2208
2191
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2209
2192
|
}
|
|
2210
|
-
|
|
2193
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_50);
|
|
2211
2194
|
case 4:
|
|
2212
2195
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2213
2196
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2258,13 +2241,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2258
2241
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2259
2242
|
try {
|
|
2260
2243
|
body_53 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2261
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_53);
|
|
2262
2244
|
}
|
|
2263
2245
|
catch (error) {
|
|
2264
2246
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2265
2247
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2266
2248
|
}
|
|
2267
|
-
|
|
2249
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_53);
|
|
2268
2250
|
case 4:
|
|
2269
2251
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2270
2252
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2315,13 +2297,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2315
2297
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2316
2298
|
try {
|
|
2317
2299
|
body_56 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2318
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_56);
|
|
2319
2300
|
}
|
|
2320
2301
|
catch (error) {
|
|
2321
2302
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2322
2303
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2323
2304
|
}
|
|
2324
|
-
|
|
2305
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_56);
|
|
2325
2306
|
case 4:
|
|
2326
2307
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2327
2308
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2372,13 +2353,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2372
2353
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2373
2354
|
try {
|
|
2374
2355
|
body_59 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2375
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_59);
|
|
2376
2356
|
}
|
|
2377
2357
|
catch (error) {
|
|
2378
2358
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2379
2359
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2380
2360
|
}
|
|
2381
|
-
|
|
2361
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_59);
|
|
2382
2362
|
case 4:
|
|
2383
2363
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2384
2364
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2429,13 +2409,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2429
2409
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2430
2410
|
try {
|
|
2431
2411
|
body_62 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2432
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_62);
|
|
2433
2412
|
}
|
|
2434
2413
|
catch (error) {
|
|
2435
2414
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2436
2415
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2437
2416
|
}
|
|
2438
|
-
|
|
2417
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_62);
|
|
2439
2418
|
case 4:
|
|
2440
2419
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2441
2420
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2486,13 +2465,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2486
2465
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2487
2466
|
try {
|
|
2488
2467
|
body_65 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2489
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_65);
|
|
2490
2468
|
}
|
|
2491
2469
|
catch (error) {
|
|
2492
2470
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2493
2471
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2494
2472
|
}
|
|
2495
|
-
|
|
2473
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_65);
|
|
2496
2474
|
case 4:
|
|
2497
2475
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2498
2476
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2543,13 +2521,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2543
2521
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2544
2522
|
try {
|
|
2545
2523
|
body_68 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2546
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_68);
|
|
2547
2524
|
}
|
|
2548
2525
|
catch (error) {
|
|
2549
2526
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2550
2527
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2551
2528
|
}
|
|
2552
|
-
|
|
2529
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_68);
|
|
2553
2530
|
case 4:
|
|
2554
2531
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2555
2532
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2600,13 +2577,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2600
2577
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2601
2578
|
try {
|
|
2602
2579
|
body_71 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2603
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_71);
|
|
2604
2580
|
}
|
|
2605
2581
|
catch (error) {
|
|
2606
2582
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2607
2583
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2608
2584
|
}
|
|
2609
|
-
|
|
2585
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_71);
|
|
2610
2586
|
case 4:
|
|
2611
2587
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2612
2588
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2657,13 +2633,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2657
2633
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2658
2634
|
try {
|
|
2659
2635
|
body_74 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2660
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_74);
|
|
2661
2636
|
}
|
|
2662
2637
|
catch (error) {
|
|
2663
2638
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2664
2639
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2665
2640
|
}
|
|
2666
|
-
|
|
2641
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_74);
|
|
2667
2642
|
case 4:
|
|
2668
2643
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2669
2644
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2714,13 +2689,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2714
2689
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2715
2690
|
try {
|
|
2716
2691
|
body_77 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2717
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_77);
|
|
2718
2692
|
}
|
|
2719
2693
|
catch (error) {
|
|
2720
2694
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2721
2695
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2722
2696
|
}
|
|
2723
|
-
|
|
2697
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_77);
|
|
2724
2698
|
case 4:
|
|
2725
2699
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2726
2700
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2771,13 +2745,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2771
2745
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2772
2746
|
try {
|
|
2773
2747
|
body_80 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2774
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_80);
|
|
2775
2748
|
}
|
|
2776
2749
|
catch (error) {
|
|
2777
2750
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2778
2751
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2779
2752
|
}
|
|
2780
|
-
|
|
2753
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_80);
|
|
2781
2754
|
case 4:
|
|
2782
2755
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2783
2756
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2828,13 +2801,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2828
2801
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2829
2802
|
try {
|
|
2830
2803
|
body_83 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2831
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_83);
|
|
2832
2804
|
}
|
|
2833
2805
|
catch (error) {
|
|
2834
2806
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2835
2807
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2836
2808
|
}
|
|
2837
|
-
|
|
2809
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_83);
|
|
2838
2810
|
case 4:
|
|
2839
2811
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2840
2812
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2885,13 +2857,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2885
2857
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2886
2858
|
try {
|
|
2887
2859
|
body_86 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2888
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_86);
|
|
2889
2860
|
}
|
|
2890
2861
|
catch (error) {
|
|
2891
2862
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2892
2863
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2893
2864
|
}
|
|
2894
|
-
|
|
2865
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_86);
|
|
2895
2866
|
case 4:
|
|
2896
2867
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2897
2868
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2942,13 +2913,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2942
2913
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
2943
2914
|
try {
|
|
2944
2915
|
body_89 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2945
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_89);
|
|
2946
2916
|
}
|
|
2947
2917
|
catch (error) {
|
|
2948
2918
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
2949
2919
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2950
2920
|
}
|
|
2951
|
-
|
|
2921
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_89);
|
|
2952
2922
|
case 4:
|
|
2953
2923
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
2954
2924
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -2999,13 +2969,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
2999
2969
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3000
2970
|
try {
|
|
3001
2971
|
body_92 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3002
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_92);
|
|
3003
2972
|
}
|
|
3004
2973
|
catch (error) {
|
|
3005
2974
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3006
2975
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3007
2976
|
}
|
|
3008
|
-
|
|
2977
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_92);
|
|
3009
2978
|
case 4:
|
|
3010
2979
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3011
2980
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3056,13 +3025,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3056
3025
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3057
3026
|
try {
|
|
3058
3027
|
body_95 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3059
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_95);
|
|
3060
3028
|
}
|
|
3061
3029
|
catch (error) {
|
|
3062
3030
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3063
3031
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3064
3032
|
}
|
|
3065
|
-
|
|
3033
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_95);
|
|
3066
3034
|
case 4:
|
|
3067
3035
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3068
3036
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3113,13 +3081,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3113
3081
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3114
3082
|
try {
|
|
3115
3083
|
body_98 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3116
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_98);
|
|
3117
3084
|
}
|
|
3118
3085
|
catch (error) {
|
|
3119
3086
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3120
3087
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3121
3088
|
}
|
|
3122
|
-
|
|
3089
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_98);
|
|
3123
3090
|
case 4:
|
|
3124
3091
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3125
3092
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3170,13 +3137,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3170
3137
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3171
3138
|
try {
|
|
3172
3139
|
body_101 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3173
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_101);
|
|
3174
3140
|
}
|
|
3175
3141
|
catch (error) {
|
|
3176
3142
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3177
3143
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3178
3144
|
}
|
|
3179
|
-
|
|
3145
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_101);
|
|
3180
3146
|
case 4:
|
|
3181
3147
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3182
3148
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3227,13 +3193,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3227
3193
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3228
3194
|
try {
|
|
3229
3195
|
body_104 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3230
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_104);
|
|
3231
3196
|
}
|
|
3232
3197
|
catch (error) {
|
|
3233
3198
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3234
3199
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3235
3200
|
}
|
|
3236
|
-
|
|
3201
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_104);
|
|
3237
3202
|
case 4:
|
|
3238
3203
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3239
3204
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3284,13 +3249,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3284
3249
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3285
3250
|
try {
|
|
3286
3251
|
body_107 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3287
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_107);
|
|
3288
3252
|
}
|
|
3289
3253
|
catch (error) {
|
|
3290
3254
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3291
3255
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3292
3256
|
}
|
|
3293
|
-
|
|
3257
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_107);
|
|
3294
3258
|
case 4:
|
|
3295
3259
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3296
3260
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3341,13 +3305,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3341
3305
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3342
3306
|
try {
|
|
3343
3307
|
body_110 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3344
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_110);
|
|
3345
3308
|
}
|
|
3346
3309
|
catch (error) {
|
|
3347
3310
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3348
3311
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3349
3312
|
}
|
|
3350
|
-
|
|
3313
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_110);
|
|
3351
3314
|
case 4:
|
|
3352
3315
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3353
3316
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3398,13 +3361,12 @@ var UsageMeteringApiResponseProcessor = /** @class */ (function () {
|
|
|
3398
3361
|
bodyText = _f.apply(_e, [_l.sent(), contentType]);
|
|
3399
3362
|
try {
|
|
3400
3363
|
body_113 = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3401
|
-
throw new exception_1.ApiException(response.httpStatusCode, body_113);
|
|
3402
3364
|
}
|
|
3403
3365
|
catch (error) {
|
|
3404
3366
|
logger_1.logger.info("Got error deserializing error: ".concat(error));
|
|
3405
3367
|
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3406
3368
|
}
|
|
3407
|
-
|
|
3369
|
+
throw new exception_1.ApiException(response.httpStatusCode, body_113);
|
|
3408
3370
|
case 4:
|
|
3409
3371
|
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3 /*break*/, 6];
|
|
3410
3372
|
_h = (_g = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
@@ -3979,7 +3941,7 @@ var UsageMeteringApi = /** @class */ (function () {
|
|
|
3979
3941
|
});
|
|
3980
3942
|
};
|
|
3981
3943
|
/**
|
|
3982
|
-
* Get usage across your
|
|
3944
|
+
* Get all usage across your account.
|
|
3983
3945
|
* @param param The request object
|
|
3984
3946
|
*/
|
|
3985
3947
|
UsageMeteringApi.prototype.getUsageSummary = function (param, options) {
|