diff --git a/.generated-info b/.generated-info index ffcca4c8dcc6..324d7aa79c54 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "c3b2b7d", - "generated": "2025-08-25 10:17:47.852" + "spec_repo_commit": "397f8fc", + "generated": "2025-08-25 12:53:58.114" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 123b5ff15617..553b70ed3468 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -200,6 +200,22 @@ components: required: true schema: type: string + CaseCustomAttributeIDPathParameter: + description: Case Custom attribute's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de505 + in: path + name: custom_attribute_id + required: true + schema: + type: string + CaseCustomAttributeKeyPathParameter: + description: Case Custom attribute's key + example: aws_region + in: path + name: custom_attribute_key + required: true + schema: + type: string CaseIDPathParameter: description: Case's UUID or key example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504 @@ -215,6 +231,22 @@ components: required: false schema: $ref: '#/components/schemas/CaseSortableField' + CaseTypeIDPathParameter: + description: Case type's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de505 + in: path + name: case_type_id + required: true + schema: + type: string + CellIDPathParameter: + description: Timeline cell's UUID + example: f98a5a5b-e0ff-45d4-b2f5-afe6e74de504 + in: path + name: cell_id + required: true + schema: + type: string CloudAccountID: description: Cloud Account id. in: path @@ -7246,6 +7278,11 @@ components: format: date-time readOnly: true type: string + custom_attributes: + additionalProperties: + $ref: '#/components/schemas/CustomAttributeValue' + description: Case custom attributes + type: object description: description: Description type: string @@ -7273,6 +7310,39 @@ components: type: string type: $ref: '#/components/schemas/CaseType' + type_id: + description: Case type UUID + example: 3b010bde-09ce-4449-b745-71dd5f861963 + type: string + type: object + CaseComment: + description: Case comment + properties: + attributes: + $ref: '#/components/schemas/CaseCommentAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseCommentAttributes: + description: Case comment attributes + properties: + comment: + description: The `CaseCommentAttributes` `message`. + example: This is my comment ! + type: string + required: + - comment + type: object + CaseCommentRequest: + description: Case comment request + properties: + data: + $ref: '#/components/schemas/CaseComment' + required: + - data type: object CaseCreate: description: Case creation data @@ -7299,11 +7369,13 @@ components: description: Title example: Security breach investigation type: string - type: - $ref: '#/components/schemas/CaseType' + type_id: + description: Case type UUID + example: 3b010bde-09ce-4449-b745-71dd5f861963 + type: string required: - title - - type + - type_id type: object CaseCreateRelationships: description: Relationships formed with the case on creation @@ -7434,13 +7506,96 @@ components: - caseTrigger type: object CaseType: + deprecated: true description: Case type enum: - STANDARD + - TUNKNOWN example: STANDARD type: string x-enum-varnames: - STANDARD + - TUNKNOWN + CaseTypeCreate: + description: Case type + properties: + attributes: + $ref: '#/components/schemas/CaseTypeResourceAttributes' + type: + $ref: '#/components/schemas/CaseTypeResourceType' + required: + - attributes + - type + type: object + CaseTypeCreateRequest: + description: Case type create request + properties: + data: + $ref: '#/components/schemas/CaseTypeCreate' + required: + - data + type: object + CaseTypeResource: + description: The definition of `CaseType` object. + properties: + attributes: + $ref: '#/components/schemas/CaseTypeResourceAttributes' + id: + description: Case type's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/CaseTypeResourceType' + type: object + CaseTypeResourceAttributes: + description: Case Type resource attributes + properties: + deleted_at: + description: Timestamp of when the case type was deleted + format: date-time + nullable: true + readOnly: true + type: string + description: + description: Case type description. + example: Investigations done in case management + type: string + emoji: + description: Case type emoji. + example: "\U0001F575\U0001F3FB\u200D\u2642\uFE0F" + type: string + name: + description: Case type name. + example: Investigation + type: string + required: + - name + - emoji + type: object + CaseTypeResourceType: + default: case_type + description: Case type resource type + enum: + - case_type + example: case_type + type: string + x-enum-varnames: + - CASE_TYPE + CaseTypeResponse: + description: Case type response + properties: + data: + $ref: '#/components/schemas/CaseTypeResource' + type: object + CaseTypesResponse: + description: Case types response. + properties: + data: + description: List of case types + items: + $ref: '#/components/schemas/CaseTypeResource' + type: array + type: object CaseUpdateAttributes: description: Case update attributes properties: @@ -7468,6 +7623,54 @@ components: required: - data type: object + CaseUpdateCustomAttribute: + description: Case update custom attribute + properties: + attributes: + $ref: '#/components/schemas/CustomAttributeValue' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateCustomAttributeRequest: + description: Case update custom attribute request + properties: + data: + $ref: '#/components/schemas/CaseUpdateCustomAttribute' + required: + - data + type: object + CaseUpdateDescription: + description: Case update description + properties: + attributes: + $ref: '#/components/schemas/CaseUpdateDescriptionAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateDescriptionAttributes: + description: Case update description attributes + properties: + description: + description: Case new description + example: Seeing some weird memory increase... We shouldn't ignore this + type: string + required: + - description + type: object + CaseUpdateDescriptionRequest: + description: Case update description request + properties: + data: + $ref: '#/components/schemas/CaseUpdateDescription' + required: + - data + type: object CaseUpdatePriority: description: Case priority status properties: @@ -7522,6 +7725,35 @@ components: required: - data type: object + CaseUpdateTitle: + description: Case update title + properties: + attributes: + $ref: '#/components/schemas/CaseUpdateTitleAttributes' + type: + $ref: '#/components/schemas/CaseResourceType' + required: + - attributes + - type + type: object + CaseUpdateTitleAttributes: + description: Case update title attributes + properties: + title: + description: Case new title + example: Memory leak investigation on API + type: string + required: + - title + type: object + CaseUpdateTitleRequest: + description: Case update title request + properties: + data: + $ref: '#/components/schemas/CaseUpdateTitle' + required: + - data + type: object CasesResponse: description: Response with cases properties: @@ -11227,6 +11459,177 @@ components: data: $ref: '#/components/schemas/CsmServerlessCoverageAnalysisData' type: object + CustomAttributeConfig: + description: The definition of `CustomAttributeConfig` object. + properties: + attributes: + $ref: '#/components/schemas/CustomAttributeConfigResourceAttributes' + id: + description: Custom attribute configs identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/CustomAttributeConfigResourceType' + type: object + CustomAttributeConfigAttributesCreate: + description: Custom attribute config resource attributes + properties: + description: + description: Custom attribute description. + example: AWS Region, must be a valid region supported by AWS + type: string + display_name: + description: Custom attribute name. + example: AWS Region + type: string + is_multi: + description: Whether multiple values can be set + example: true + type: boolean + key: + description: Custom attribute key. This will be the value use to search + on this custom attribute + example: aws_region + type: string + type: + $ref: '#/components/schemas/CustomAttributeType' + required: + - display_name + - key + - type + - is_multi + type: object + CustomAttributeConfigCreate: + description: Custom attribute config + properties: + attributes: + $ref: '#/components/schemas/CustomAttributeConfigAttributesCreate' + type: + $ref: '#/components/schemas/CustomAttributeConfigResourceType' + required: + - attributes + - type + type: object + CustomAttributeConfigCreateRequest: + description: Custom attribute config create request + properties: + data: + $ref: '#/components/schemas/CustomAttributeConfigCreate' + required: + - data + type: object + CustomAttributeConfigResourceAttributes: + description: Custom attribute resource attributes + properties: + case_type_id: + description: Custom attribute config identifier. + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + description: + description: Custom attribute description. + example: AWS Region, must be a valid region supported by AWS + type: string + display_name: + description: Custom attribute name. + example: AWS Region + type: string + is_multi: + description: Whether multiple values can be set + example: true + type: boolean + key: + description: Custom attribute key. This will be the value use to search + on this custom attribute + example: aws_region + type: string + type: + $ref: '#/components/schemas/CustomAttributeType' + required: + - case_type_id + - display_name + - key + - type + - is_multi + type: object + CustomAttributeConfigResourceType: + default: custom_attribute + description: Custom attributes config JSON:API resource type + enum: + - custom_attribute + example: custom_attribute + type: string + x-enum-varnames: + - CUSTOM_ATTRIBUTE + CustomAttributeConfigResponse: + description: Custom attribute config response. + properties: + data: + $ref: '#/components/schemas/CustomAttributeConfig' + type: object + CustomAttributeConfigsResponse: + description: Custom attribute configs response. + properties: + data: + description: List of custom attribute configs of case type + items: + $ref: '#/components/schemas/CustomAttributeConfig' + type: array + type: object + CustomAttributeMultiNumberValue: + description: Values of multi NUMBER custom attribute + items: + description: NUMBER value + format: double + type: number + type: array + CustomAttributeMultiStringValue: + description: Value of multi TEXT/URL custom attribute + items: + description: TEXT/URL Value + type: string + type: array + CustomAttributeNumberValue: + description: Value of NUMBER custom attribute + format: double + type: number + CustomAttributeStringValue: + description: Value of TEXT/URL custom attribute + type: string + CustomAttributeType: + description: Custom attributes type + enum: + - URL + - TEXT + - NUMBER + example: NUMBER + type: string + x-enum-varnames: + - URL + - TEXT + - NUMBER + CustomAttributeValue: + description: Custom attribute values + properties: + is_multi: + description: If true, value must be an array + example: false + type: boolean + type: + $ref: '#/components/schemas/CustomAttributeType' + value: + $ref: '#/components/schemas/CustomAttributeValuesUnion' + required: + - type + - is_multi + - value + type: object + CustomAttributeValuesUnion: + description: Union of supported value for a custom attribute + oneOf: + - $ref: '#/components/schemas/CustomAttributeStringValue' + - $ref: '#/components/schemas/CustomAttributeMultiStringValue' + - $ref: '#/components/schemas/CustomAttributeNumberValue' + - $ref: '#/components/schemas/CustomAttributeMultiNumberValue' CustomConnection: description: A custom connection used by an app. properties: @@ -43332,6 +43735,120 @@ components: - time_zone - restrictions type: object + TimelineCell: + description: timeline cell + properties: + author: + $ref: '#/components/schemas/TimelineCellAuthor' + cell_content: + $ref: '#/components/schemas/TimelineCellContent' + created_at: + description: Timestamp of when the cell was created + format: date-time + readOnly: true + type: string + deleted_at: + description: Timestamp of when the cell was deleted + format: date-time + readOnly: true + type: string + modified_at: + description: Timestamp of when the cell was last modified + format: date-time + readOnly: true + type: string + type: + $ref: '#/components/schemas/TimelineCellType' + type: object + TimelineCellAuthor: + description: author of the timeline cell + oneOf: + - $ref: '#/components/schemas/TimelineCellAuthorUser' + TimelineCellAuthorUser: + description: timeline cell user author + properties: + content: + $ref: '#/components/schemas/TimelineCellAuthorUserContent' + type: + $ref: '#/components/schemas/TimelineCellAuthorUserType' + type: object + TimelineCellAuthorUserContent: + description: user author content. + properties: + email: + description: user email + type: string + handle: + description: user handle + type: string + id: + description: user UUID + type: string + name: + description: user name + type: string + type: object + TimelineCellAuthorUserType: + description: user author type. + enum: + - USER + example: USER + type: string + x-enum-varnames: + - USER + TimelineCellContent: + description: timeline cell content + oneOf: + - $ref: '#/components/schemas/TimelineCellContentComment' + TimelineCellContentComment: + description: comment content + properties: + message: + description: comment message + type: string + type: object + TimelineCellResource: + description: Timeline cell JSON:API resource + properties: + attributes: + $ref: '#/components/schemas/TimelineCell' + id: + description: Timeline cell's identifier + example: aeadc05e-98a8-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: '#/components/schemas/TimelineCellResourceType' + required: + - id + - type + - attributes + type: object + TimelineCellResourceType: + default: timeline_cell + description: Timeline cell JSON:API resource type + enum: + - timeline_cell + example: timeline_cell + type: string + x-enum-varnames: + - TIMELINE_CELL + TimelineCellType: + description: Timeline cell content type + enum: + - COMMENT + example: COMMENT + type: string + x-enum-varnames: + - COMMENT + TimelineResponse: + description: Timeline response + properties: + data: + description: The `TimelineResponse` `data`. + items: + $ref: '#/components/schemas/TimelineCellResource' + type: array + type: object TimeseriesFormulaQueryRequest: description: A request wrapper around a single timeseries query to be executed. properties: @@ -48219,6 +48736,169 @@ paths: summary: Get the details of a project tags: - Case Management + /api/v2/cases/types: + get: + description: Get all case types + operationId: GetAllCaseTypes + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseTypesResponse' + description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all case types + tags: + - Case Management Type + post: + description: Create a Case Type + operationId: CreateCaseType + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseTypeCreateRequest' + description: Case type payload + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseTypeResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Create a case type + tags: + - Case Management Type + /api/v2/cases/types/custom_attributes: + get: + description: Get all custom attributes + operationId: GetAllCustomAttributes + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigsResponse' + description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all custom attributes + tags: + - Case Management Attribute + /api/v2/cases/types/{case_type_id}: + delete: + description: Delete a case type + operationId: DeleteCaseType + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + responses: + '204': + description: No Content + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete a case type + tags: + - Case Management Type + /api/v2/cases/types/{case_type_id}/custom_attributes: + get: + description: Get all custom attribute config of case type + operationId: GetAllCustomAttributeConfigsByCaseType + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigsResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Get all custom attributes config of case type + tags: + - Case Management Attribute + post: + description: Create custom attribute config for a case type + operationId: CreateCustomAttributeConfig + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigCreateRequest' + description: Custom attribute config payload + required: true + responses: + '201': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomAttributeConfigResponse' + description: CREATED + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Create custom attribute config for a case type + tags: + - Case Management Attribute + /api/v2/cases/types/{case_type_id}/custom_attributes/{custom_attribute_id}: + delete: + description: Delete custom attribute config + operationId: DeleteCustomAttributeConfig + parameters: + - $ref: '#/components/parameters/CaseTypeIDPathParameter' + - $ref: '#/components/parameters/CaseCustomAttributeIDPathParameter' + responses: + '204': + description: No Content + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete custom attributes config + tags: + - Case Management Attribute /api/v2/cases/{case_id}: get: description: Get the details of case by `case_id` @@ -48364,6 +49044,168 @@ paths: summary: Update case attributes tags: - Case Management + /api/v2/cases/{case_id}/comment: + post: + description: Comment case + operationId: CommentCase + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseCommentRequest' + description: Case comment payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/TimelineResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Comment case + tags: + - Case Management + /api/v2/cases/{case_id}/comment/{cell_id}: + delete: + description: Delete case comment + operationId: DeleteCaseComment + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + - $ref: '#/components/parameters/CellIDPathParameter' + responses: + '204': + description: No Content + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + summary: Delete case comment + tags: + - Case Management + /api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}: + delete: + description: Delete custom attribute from case + operationId: DeleteCaseCustomAttribute + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + - $ref: '#/components/parameters/CaseCustomAttributeKeyPathParameter' + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Delete custom attribute from case + tags: + - Case Management + post: + description: Update case custom attribute + operationId: UpdateCaseCustomAttribute + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + - $ref: '#/components/parameters/CaseCustomAttributeKeyPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateCustomAttributeRequest' + description: Update case custom attribute payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case custom attribute + tags: + - Case Management + /api/v2/cases/{case_id}/description: + post: + description: Update case description + operationId: UpdateCaseDescription + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateDescriptionRequest' + description: Case description update payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case description + tags: + - Case Management /api/v2/cases/{case_id}/priority: post: description: Update case priority @@ -48440,6 +49282,44 @@ paths: summary: Update case status tags: - Case Management + /api/v2/cases/{case_id}/title: + post: + description: Update case title + operationId: UpdateCaseTitle + parameters: + - $ref: '#/components/parameters/CaseIDPathParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CaseUpdateTitleRequest' + description: Case title update payload + required: true + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/CaseResponse' + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '401': + $ref: '#/components/responses/UnauthorizedResponse' + '403': + $ref: '#/components/responses/ForbiddenResponse' + '404': + $ref: '#/components/responses/NotFoundResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - cases_write + summary: Update case title + tags: + - Case Management /api/v2/cases/{case_id}/unarchive: post: description: Unarchive case @@ -68952,6 +69832,14 @@ tags: [Case Management page](https://docs.datadoghq.com/service_management/case_management/) for more information. name: Case Management +- description: View and configure custom attributes within Case Management. See the + [Case Management page](https://docs.datadoghq.com/service_management/case_management/) + for more information. + name: Case Management Attribute +- description: View and configure case types within Case Management. See the [Case + Management page](https://docs.datadoghq.com/service_management/case_management/) + for more information. + name: Case Management Type - description: The Cloud Cost Management API allows you to set up, edit, and delete Cloud Cost Management accounts for AWS, Azure, and GCP. You can query your cost data by using the [Metrics endpoint](https://docs.datadoghq.com/api/latest/metrics/#query-timeseries-data-across-multiple-products) diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response_3121292786/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response_3121292786/frozen.json new file mode 100644 index 000000000000..96db9c9123c9 --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response_3121292786/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:42.531Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response_3121292786/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response_3121292786/recording.har new file mode 100644 index 000000000000..bf1b9b44f860 --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Bad-Request-response_3121292786/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Create custom attribute config for a case type returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"869f4c88-f545-4aa1-a03f-152bb52186bf\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:42.537Z", + "time": 390 + }, + { + "_id": "e21beb2016cc5a40f210714659eeb2f3", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 179, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"display_name\":\"AWS Region 17557801-0000-0000-0000-175578010200\",\"is_multi\":true,\"key\":\"region_a9c736ee59b5f856\",\"type\":\"FLOAT\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/869f4c88-f545-4aa1-a03f-152bb52186bf/custom_attributes" + }, + "response": { + "bodySize": 51, + "content": { + "mimeType": "application/vnd.api+json", + "size": 51, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:41:42.935Z", + "time": 388 + }, + { + "_id": "41943aaf23f782e7c11dcbec8e2c46ef", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/869f4c88-f545-4aa1-a03f-152bb52186bf" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:41:43.328Z", + "time": 383 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response_3050737976/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response_3050737976/frozen.json new file mode 100644 index 000000000000..23684899ff23 --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response_3050737976/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:43.718Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response_3050737976/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response_3050737976/recording.har new file mode 100644 index 000000000000..700f6d34122f --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-CREATED-response_3050737976/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Create custom attribute config for a case type returns \"CREATED\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"c19925d5-97c0-4e0e-a49e-fef562db5519\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:43.720Z", + "time": 386 + }, + { + "_id": "b84bcdfeaaadad5a39015ade99a63a13", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 180, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"display_name\":\"AWS Region 17557801-0000-0000-0000-175578010300\",\"is_multi\":true,\"key\":\"region_ba6c2c263864f56d\",\"type\":\"NUMBER\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/c19925d5-97c0-4e0e-a49e-fef562db5519/custom_attributes" + }, + "response": { + "bodySize": 301, + "content": { + "mimeType": "application/vnd.api+json", + "size": 301, + "text": "{\"data\":{\"id\":\"63f3f34c-5ec2-4d90-ba8e-63431a6a7010\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"c19925d5-97c0-4e0e-a49e-fef562db5519\",\"display_name\":\"AWS Region 17557801-0000-0000-0000-175578010300\",\"is_multi\":true,\"key\":\"region_ba6c2c263864f56d\",\"type\":\"NUMBER\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:44.110Z", + "time": 428 + }, + { + "_id": "04f6d461121d1f3decb27b9f6f5daabd", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/c19925d5-97c0-4e0e-a49e-fef562db5519" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:41:44.544Z", + "time": 376 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response_1680034465/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response_1680034465/frozen.json new file mode 100644 index 000000000000..6eefa7168f41 --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response_1680034465/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:44.923Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response_1680034465/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response_1680034465/recording.har new file mode 100644 index 000000000000..e4342a4bf055 --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Create-custom-attribute-config-for-a-case-type-returns-Not-Found-response_1680034465/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Create custom attribute config for a case type returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "bea2b487c62ec54fd332fda98f1a1d07", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 180, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"display_name\":\"AWS Region 17557801-0000-0000-0000-175578010400\",\"is_multi\":true,\"key\":\"region_6308950d19b5ef21\",\"type\":\"NUMBER\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/9fd476d7-a955-454a-851d-980c655c02d3/custom_attributes" + }, + "response": { + "bodySize": 72, + "content": { + "mimeType": "application/vnd.api+json", + "size": 72, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case_type not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:41:44.925Z", + "time": 379 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-Bad-Request-response_1275460984/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-Bad-Request-response_1275460984/frozen.json new file mode 100644 index 000000000000..ce57afbd440c --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-Bad-Request-response_1275460984/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:45.309Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-Bad-Request-response_1275460984/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-Bad-Request-response_1275460984/recording.har new file mode 100644 index 000000000000..1243900b5bf0 --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-Bad-Request-response_1275460984/recording.har @@ -0,0 +1,147 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Delete custom attributes config returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"1f787bd5-127a-4005-85df-6d24eb8955c1\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:45.312Z", + "time": 422 + }, + { + "_id": "8c05e22d02f30d936b1002094f3f0c17", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 576, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/1f787bd5-127a-4005-85df-6d24eb8955c1/custom_attributes/not-an-uuid" + }, + "response": { + "bodySize": 144, + "content": { + "mimeType": "application/vnd.api+json", + "size": 144, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Invalid Parameter\",\"detail\":\"invalid parameter \\\"CustomAttributeId\\\" in \\\"path\\\"; expected type \\\"uuid\\\"\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:41:45.740Z", + "time": 392 + }, + { + "_id": "112de674cad2e5fe7ca43eef8d52bf81", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/1f787bd5-127a-4005-85df-6d24eb8955c1" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:41:46.137Z", + "time": 391 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-No-Content-response_2111044902/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-No-Content-response_2111044902/frozen.json new file mode 100644 index 000000000000..8b8eb709b3ad --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-No-Content-response_2111044902/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:46.533Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-No-Content-response_2111044902/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-No-Content-response_2111044902/recording.har new file mode 100644 index 000000000000..315537cb6c9a --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Delete-custom-attributes-config-returns-No-Content-response_2111044902/recording.har @@ -0,0 +1,194 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Delete custom attributes config returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"fdf93265-be3d-4a97-ae0d-540b049f7753\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:46.537Z", + "time": 387 + }, + { + "_id": "28e26c7b944dae65c47f1824e35eae3f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557801-0000-0000-0000-175578010600\",\"is_multi\":true,\"key\":\"attribute_a058b510f096c932\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753/custom_attributes" + }, + "response": { + "bodySize": 347, + "content": { + "mimeType": "application/vnd.api+json", + "size": 347, + "text": "{\"data\":{\"id\":\"7ce13520-94b7-4391-bb64-c45776011f05\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"fdf93265-be3d-4a97-ae0d-540b049f7753\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557801-0000-0000-0000-175578010600\",\"is_multi\":true,\"key\":\"attribute_a058b510f096c932\",\"type\":\"TEXT\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:46.930Z", + "time": 396 + }, + { + "_id": "c59c44850c64b61a4b2d2e78befb86b4", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 601, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753/custom_attributes/7ce13520-94b7-4391-bb64-c45776011f05" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:41:47.332Z", + "time": 399 + }, + { + "_id": "b7827c1572349f0355e3feef612afa7c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/fdf93265-be3d-4a97-ae0d-540b049f7753" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:41:47.738Z", + "time": 390 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-config-of-case-type-returns-OK-response_3273320965/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-config-of-case-type-returns-OK-response_3273320965/frozen.json new file mode 100644 index 000000000000..e4b3805eed1a --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-config-of-case-type-returns-OK-response_3273320965/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:48.135Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-config-of-case-type-returns-OK-response_3273320965/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-config-of-case-type-returns-OK-response_3273320965/recording.har new file mode 100644 index 000000000000..f303bffaa8dd --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-config-of-case-type-returns-OK-response_3273320965/recording.har @@ -0,0 +1,147 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Get all custom attributes config of case type returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"f69a1398-c8b2-47bf-a624-4374634b4cf6\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:41:48.137Z", + "time": 378 + }, + { + "_id": "857862972d800144dcf72fdde4e987f2", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 585, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/f69a1398-c8b2-47bf-a624-4374634b4cf6/custom_attributes" + }, + "response": { + "bodySize": 11, + "content": { + "mimeType": "application/vnd.api+json", + "size": 11, + "text": "{\"data\":[]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:41:48.519Z", + "time": 440 + }, + { + "_id": "c7e47f850427f949af5600d915aa48fe", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/f69a1398-c8b2-47bf-a624-4374634b4cf6" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:41:48.964Z", + "time": 409 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-returns-OK-response_3120075986/frozen.json b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-returns-OK-response_3120075986/frozen.json new file mode 100644 index 000000000000..ace1bf55750c --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-returns-OK-response_3120075986/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:41:49.382Z" diff --git a/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-returns-OK-response_3120075986/recording.har b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-returns-OK-response_3120075986/recording.har new file mode 100644 index 000000000000..aa283808c29d --- /dev/null +++ b/cassettes/v2/Case-Management-Attribute_4234170376/Get-all-custom-attributes-returns-OK-response_3120075986/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Case Management Attribute/Get all custom attributes returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "2a69ff63a582b23fc2e6dc1b92404b23", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 532, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/custom_attributes" + }, + "response": { + "bodySize": 20472, + "content": { + "mimeType": "application/vnd.api+json", + "size": 20472, + "text": "{\"data\":[{\"id\":\"bda504ee-c9d9-45d9-bb48-e08f41452e42\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"d9a99e7c-255c-4328-b29c-249bbbce55d5\",\"display_name\":\"AWS Region\",\"is_multi\":true,\"key\":\"aws_region\",\"type\":\"NUMBER\"}},{\"id\":\"e2b302ff-22de-4c4b-a1e0-6c485e4d5475\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"a8f6af82-7364-4fa2-be63-f9d82d49f126\",\"display_name\":\"AWS Region 17556340-0000-0000-0000-175563402000\",\"is_multi\":true,\"key\":\"region_0ee45d926ae1e848\",\"type\":\"NUMBER\"}},{\"id\":\"1333cfaf-56fd-4be3-83b0-5404920deb21\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"d3f2e924-efb4-4fea-858a-b0a104de58f1\",\"display_name\":\"AWS Region 17556346-0000-0000-0000-175563460700\",\"is_multi\":true,\"key\":\"region_77c0e57a87ea0c59\",\"type\":\"NUMBER\"}},{\"id\":\"71559a35-48cf-4bca-bc26-a58227513098\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"6fc2e97b-4d59-48ee-8a00-039b07f147e4\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556889-0000-0000-0000-175568896700\",\"is_multi\":true,\"key\":\"attribute_f083308d73cf8fb6\",\"type\":\"TEXT\"}},{\"id\":\"9a9dfa93-5247-4b9c-8016-e941bf7b90be\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"387f5315-b404-40f6-9005-cccac8ef06fa\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556889-0000-0000-0000-175568897500\",\"is_multi\":true,\"key\":\"attribute_9ba0031081800ba4\",\"type\":\"TEXT\"}},{\"id\":\"48376b02-6ce2-4933-84cb-901f326acb3f\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"37ab3980-5401-4a6f-ae3d-f0f428310448\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556889-0000-0000-0000-175568897800\",\"is_multi\":true,\"key\":\"attribute_c34388c70e9fcf0d\",\"type\":\"TEXT\"}},{\"id\":\"25e06f7e-2d3e-4ec0-8b27-7b4405a06bcd\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"9b42bc58-728f-4ea3-8ab9-d6194ef6e6a8\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556903-0000-0000-0000-175569039900\",\"is_multi\":true,\"key\":\"attribute_8378b7e8181b8c7e\",\"type\":\"TEXT\"}},{\"id\":\"3e191a3a-2ff3-413c-a90f-6209de01d780\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"d3f86d4c-876b-4ebd-9c71-050d5d60aacb\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556904-0000-0000-0000-175569040700\",\"is_multi\":true,\"key\":\"attribute_4a060a293658c6f4\",\"type\":\"TEXT\"}},{\"id\":\"aa4bccbc-7e9b-4b07-8ca2-df7143363aa7\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"644f21a0-a650-410c-a8ec-c7ceadeaa28d\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556904-0000-0000-0000-175569040900\",\"is_multi\":true,\"key\":\"attribute_523da46ac3093bf6\",\"type\":\"TEXT\"}},{\"id\":\"1462324f-dc66-431f-a947-c9388be48a24\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"14b8f6a9-3bd9-4fad-b66e-68dac1bf547a\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556911-0000-0000-0000-175569114600\",\"is_multi\":true,\"key\":\"attribute_814788f737a0ef11\",\"type\":\"TEXT\"}},{\"id\":\"3f8875d3-35bb-44ef-9fd0-fbab1df96f12\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"6c66be3b-c6d1-45b0-b1c4-473c04f3dc39\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556911-0000-0000-0000-175569115400\",\"is_multi\":true,\"key\":\"attribute_a98069ab218fcfe9\",\"type\":\"TEXT\"}},{\"id\":\"b2cd82c7-8be8-4463-8e8d-9401835f7522\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"fbd65d3f-0fd5-4898-958d-f1e4ded98164\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556911-0000-0000-0000-175569115700\",\"is_multi\":true,\"key\":\"attribute_d46a2098b9ee266f\",\"type\":\"TEXT\"}},{\"id\":\"a9230c4e-044b-4484-906d-6fa58695a811\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"581c81f2-968c-4f23-bc35-e5a4f76246e6\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556924-0000-0000-0000-175569240200\",\"is_multi\":true,\"key\":\"attribute_8859075b7a20193b\",\"type\":\"TEXT\"}},{\"id\":\"b4524398-8030-4efb-8a62-b756bd5a805e\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"2cf3b0ea-aced-42f8-af92-252b294fb478\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556924-0000-0000-0000-175569241100\",\"is_multi\":true,\"key\":\"attribute_86c4dfcf527d6e57\",\"type\":\"TEXT\"}},{\"id\":\"39317cd6-883f-44d6-9bed-5483d0159755\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"e2d429a0-5dc2-4e7d-aafc-07588da368b2\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556924-0000-0000-0000-175569241300\",\"is_multi\":true,\"key\":\"attribute_a134bb4fb8e28721\",\"type\":\"TEXT\"}},{\"id\":\"61982db9-3df8-4812-bb05-0e0653b9850c\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"cfbe7974-89c8-4198-ab82-8a184607d214\",\"display_name\":\"AWS Region 17556946-0000-0000-0000-175569462000\",\"is_multi\":true,\"key\":\"region_775cb03d363e3098\",\"type\":\"NUMBER\"}},{\"id\":\"59398b5f-7790-49ee-8788-7ff04cc6a9dc\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"d34c57fb-54a6-4f6c-a86e-3a73de621e2d\",\"display_name\":\"AWS Region 17556948-0000-0000-0000-175569483000\",\"is_multi\":true,\"key\":\"region_b52c3b58c2bf7600\",\"type\":\"NUMBER\"}},{\"id\":\"a7a2d485-b59a-48c2-a656-01118748e67a\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"70214597-0ebf-470d-a7c8-6c596d786ba2\",\"display_name\":\"AWS Region 17556949-0000-0000-0000-175569494400\",\"is_multi\":true,\"key\":\"region_b7851408833202a0\",\"type\":\"NUMBER\"}},{\"id\":\"52605ddf-9fac-40fe-aed9-0dacb93d9faf\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"eefd1896-506b-4035-9b60-110ac28e1814\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556952-0000-0000-0000-175569523900\",\"is_multi\":true,\"key\":\"attribute_5c0b319faa816705\",\"type\":\"TEXT\"}},{\"id\":\"688a583a-c76c-466a-97ef-835efb9411d6\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"c351af96-9af2-4847-a0c8-11b201b1ae5f\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556952-0000-0000-0000-175569524700\",\"is_multi\":true,\"key\":\"attribute_7d75ff84c4e2bc37\",\"type\":\"TEXT\"}},{\"id\":\"a33fb20d-794d-465e-a46c-be7976a3eecc\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"0c16ab5a-ac15-49a0-ad03-aef57d4d42e8\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556952-0000-0000-0000-175569524900\",\"is_multi\":true,\"key\":\"attribute_178cc47942e4b613\",\"type\":\"TEXT\"}},{\"id\":\"481e660d-e54a-4431-9eb6-aa3eafbba793\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"5ee6243b-b005-4bd4-a5f2-fe8c4ff2ddfe\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556955-0000-0000-0000-175569559100\",\"is_multi\":true,\"key\":\"attribute_ce39a90e4dbff5b2\",\"type\":\"TEXT\"}},{\"id\":\"d57330bb-2e36-4f85-a181-de5b407c0784\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"7f70d4a0-d06d-49f5-928f-c2ca73aeb862\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556955-0000-0000-0000-175569559900\",\"is_multi\":true,\"key\":\"attribute_5028395cf6855c3c\",\"type\":\"TEXT\"}},{\"id\":\"686b5832-2ea3-49a8-b56c-19209626b503\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"1387ec4d-f40a-4b31-8d0f-bc161326e588\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556956-0000-0000-0000-175569560200\",\"is_multi\":true,\"key\":\"attribute_30e2ba5485ed5459\",\"type\":\"TEXT\"}},{\"id\":\"3404866e-32d7-4f50-854c-a06e8f12e39a\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"02323717-20b8-4ecf-8c34-ef7dd1841f46\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556962-0000-0000-0000-175569621700\",\"is_multi\":true,\"key\":\"attribute_7d1796807c0cb52e\",\"type\":\"TEXT\"}},{\"id\":\"23ae2400-0dee-4f38-bb01-bef603a5a6ce\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"8ba67013-03d9-47e6-b0fc-746ce6587cef\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556962-0000-0000-0000-175569622600\",\"is_multi\":true,\"key\":\"attribute_749357e183774ae6\",\"type\":\"TEXT\"}},{\"id\":\"5c06455e-72c8-422e-9ef8-3c2dcbd74bdb\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"7615e5a7-d95b-41b2-a082-47bf7ac815b9\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556962-0000-0000-0000-175569622800\",\"is_multi\":true,\"key\":\"attribute_a4e4d3ba3d31a1ef\",\"type\":\"TEXT\"}},{\"id\":\"79120912-9860-42f0-9ba6-e42ee7aacaaf\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"b9e753b2-d41d-40d6-8c1c-3e8522b9cfd5\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556964-0000-0000-0000-175569640700\",\"is_multi\":true,\"key\":\"attribute_e265f65dbcb73e83\",\"type\":\"TEXT\"}},{\"id\":\"9763ab6a-4c89-403d-95d5-3fe4313f0d6b\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"ba86214d-a2f3-4067-b507-77d75ad9db7d\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556964-0000-0000-0000-175569641600\",\"is_multi\":true,\"key\":\"attribute_3964549f8b8f9c18\",\"type\":\"TEXT\"}},{\"id\":\"ee11612f-2bc5-4d4b-8c6c-6ab3661ae7d6\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"7a256076-d73a-4581-a955-c036ca560fd3\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556964-0000-0000-0000-175569641900\",\"is_multi\":true,\"key\":\"attribute_7566d967ae17a843\",\"type\":\"TEXT\"}},{\"id\":\"599f166e-e3cc-4884-8bae-815313734aee\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"ca5baeb1-1abf-4983-8761-922382085818\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556964-0000-0000-0000-175569649000\",\"is_multi\":true,\"key\":\"attribute_60c26d0a25bc30d4\",\"type\":\"TEXT\"}},{\"id\":\"1bdfa747-cf2e-4e0c-8b41-06d8d5d55c04\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"a080a4f4-8f02-47b0-854f-b96d06d137e8\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556964-0000-0000-0000-175569649800\",\"is_multi\":true,\"key\":\"attribute_77453b443abcee52\",\"type\":\"TEXT\"}},{\"id\":\"a8822151-6c4b-45a5-9259-e881b235503f\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"220d930b-828d-4b57-a38f-f09ced11d439\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556965-0000-0000-0000-175569650100\",\"is_multi\":true,\"key\":\"attribute_1915854b20a2258d\",\"type\":\"TEXT\"}},{\"id\":\"6fc1b29c-338d-4ab1-bf7e-6a0467a32c76\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"7eb35cdb-4622-4a60-beb1-d292387b0314\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556967-0000-0000-0000-175569673400\",\"is_multi\":true,\"key\":\"attribute_6f914c880f7b16f5\",\"type\":\"TEXT\"}},{\"id\":\"85c0c697-fe36-4118-9d0e-01fa549f42ca\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"bb399fc7-2ae4-4b9c-a645-b46f50b01347\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556967-0000-0000-0000-175569674300\",\"is_multi\":true,\"key\":\"attribute_db02e2104de4b2ff\",\"type\":\"TEXT\"}},{\"id\":\"97ffb8a9-75b7-40cb-a086-2e20954d0b00\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"2402c3fb-d0a2-4460-bd62-da434e3dff7c\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556967-0000-0000-0000-175569674500\",\"is_multi\":true,\"key\":\"attribute_5a41c02f06567fd0\",\"type\":\"TEXT\"}},{\"id\":\"c4dbb6c6-5f3a-4d91-a105-58717ae692ba\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"b300e2b4-5084-443b-b8f2-d1d3611be8d6\",\"display_name\":\"AWS Region 17556983-0000-0000-0000-175569839300\",\"is_multi\":true,\"key\":\"region_fa9fe2cc487703c1\",\"type\":\"NUMBER\"}},{\"id\":\"14cc89ac-6ce2-4f75-a761-bf724ef1fc4a\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"c8338d5b-1e0b-4d0e-a404-35ca2f47ff0d\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556984-0000-0000-0000-175569843800\",\"is_multi\":true,\"key\":\"attribute_5aa6271564fed657\",\"type\":\"TEXT\"}},{\"id\":\"cafa5687-2248-4f06-8d99-4afbcaa902c8\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"3879f548-5eec-4c3f-8d7b-b0b2671fd522\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556984-0000-0000-0000-175569844700\",\"is_multi\":true,\"key\":\"attribute_af26a7482e81c29e\",\"type\":\"TEXT\"}},{\"id\":\"13f4bfa6-aa37-47c1-95c5-187f47944a3b\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"6e04d185-29aa-4770-b14d-fd2741f049cc\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17556984-0000-0000-0000-175569845000\",\"is_multi\":true,\"key\":\"attribute_988ac85e509c81a6\",\"type\":\"TEXT\"}},{\"id\":\"c9a3bb56-eb9e-4b4b-9283-db8f1dc68605\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"895b0b2c-98de-482b-b315-195ca654cfd0\",\"display_name\":\"AWS Region 17557048-0000-0000-0000-175570480500\",\"is_multi\":true,\"key\":\"region_0bc4f8f70481eb5f\",\"type\":\"NUMBER\"}},{\"id\":\"a1d3eb0e-c8c5-4fcc-bb7b-a9e630d9b394\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"f66b10ec-73f2-420c-8c2e-b2264cb5577a\",\"display_name\":\"AWS Region 17557050-0000-0000-0000-175570501300\",\"is_multi\":true,\"key\":\"region_63d115f6f026a1ba\",\"type\":\"NUMBER\"}},{\"id\":\"f4a4bf9a-c1e0-4f10-8429-45754b878c21\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"a9a925b3-6198-4ad1-8fb7-1d6e2691ed4f\",\"display_name\":\"AWS Region 17557748-0000-0000-0000-175577488500\",\"is_multi\":true,\"key\":\"region_8264a16ae84e0888\",\"type\":\"NUMBER\"}},{\"id\":\"00011772-5eb7-4ef7-a517-bbb81c349119\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"b93415ca-0644-47d6-9547-f1af159ebe69\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557749-0000-0000-0000-175577495000\",\"is_multi\":true,\"key\":\"attribute_84def13b217a3016\",\"type\":\"TEXT\"}},{\"id\":\"72c3cc35-62ef-49e8-b6c6-0e92d379d824\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"e9e97b17-30cf-4068-8c5a-657b509b56bf\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557749-0000-0000-0000-175577495900\",\"is_multi\":true,\"key\":\"attribute_58502fb5f71ba03c\",\"type\":\"TEXT\"}},{\"id\":\"f69cc9b7-d422-4b17-916d-d37702882a43\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"56855740-86fc-42c5-9ed3-82bed933cfa3\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557749-0000-0000-0000-175577496200\",\"is_multi\":true,\"key\":\"attribute_11aa72538cbc80b0\",\"type\":\"TEXT\"}},{\"id\":\"a7162904-b251-4be6-9122-7e7063f26cfa\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"21779b8e-c1e1-4886-94e9-1b5b18d21366\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557756-0000-0000-0000-175577565600\",\"is_multi\":true,\"key\":\"attribute_da8b014dc613e74e\",\"type\":\"TEXT\"}},{\"id\":\"6f9ac272-9f08-47d4-b6d9-e2213a8c67e9\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"dd9805ac-43e8-447d-a521-25bbddf47f8a\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557756-0000-0000-0000-175577566500\",\"is_multi\":true,\"key\":\"attribute_7d7558fef3d3f18a\",\"type\":\"TEXT\"}},{\"id\":\"d489ec89-c7d9-4777-ae78-94327a9761d7\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"1295370d-69c2-43d1-899f-71e9d67e5474\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557756-0000-0000-0000-175577566800\",\"is_multi\":true,\"key\":\"attribute_cea115a7c56274af\",\"type\":\"TEXT\"}},{\"id\":\"b8472f11-c928-4600-bf66-57e4ef0ac2ac\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"b7b7e66e-e6a4-451f-95a1-ad427e83da19\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557766-0000-0000-0000-175577664100\",\"is_multi\":true,\"key\":\"attribute_b1e51c15e5eb4c95\",\"type\":\"TEXT\"}},{\"id\":\"f72172a1-50c2-404a-81cd-4b79c7dc6cfd\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"615f2510-83f5-46ba-b244-012ced51027a\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557766-0000-0000-0000-175577664900\",\"is_multi\":true,\"key\":\"attribute_87f0debab731bcf4\",\"type\":\"TEXT\"}},{\"id\":\"93911656-ee55-4269-a8a0-640cd2292eae\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"6010ef55-cf69-4e91-959d-a6f14a6384ee\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557766-0000-0000-0000-175577665200\",\"is_multi\":true,\"key\":\"attribute_d97d47c4d1519f5d\",\"type\":\"TEXT\"}},{\"id\":\"680b2451-2eaa-445e-8a60-73c114e0e10a\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"e4641157-ebc4-4e6d-b785-84fc8f0347f3\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557769-0000-0000-0000-175577694200\",\"is_multi\":true,\"key\":\"attribute_f462946738b6f280\",\"type\":\"TEXT\"}},{\"id\":\"1fa53572-5ba9-441c-8280-c0e1421569ea\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"602b0512-58e4-4fa5-a004-dccd954b7ab8\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557769-0000-0000-0000-175577695100\",\"is_multi\":true,\"key\":\"attribute_7f2c794a40953354\",\"type\":\"TEXT\"}},{\"id\":\"1458f000-f648-4f8a-910d-faf267187405\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"0295702b-41e6-4a9e-8681-a237d11b5843\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557769-0000-0000-0000-175577695300\",\"is_multi\":true,\"key\":\"attribute_fb1043dd816c6a32\",\"type\":\"TEXT\"}},{\"id\":\"65a48561-437a-4f26-9eab-69de97482927\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"bfa696f1-341e-4216-ba15-81ac431d6419\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557777-0000-0000-0000-175577775000\",\"is_multi\":true,\"key\":\"attribute_4b505c18f8fde726\",\"type\":\"TEXT\"}},{\"id\":\"9679710e-1710-4b81-9fdc-a8aefdc5181c\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"54997fa0-0c3f-43cb-9e84-39f5f5ce3f09\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557777-0000-0000-0000-175577775800\",\"is_multi\":true,\"key\":\"attribute_f6b3b818b9e7896f\",\"type\":\"TEXT\"}},{\"id\":\"812ca37d-f3e8-4f12-9f38-a7f72321b7fc\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"1e036814-3134-4bc5-8e97-1f14ba77fac3\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557777-0000-0000-0000-175577776000\",\"is_multi\":true,\"key\":\"attribute_48ad4b2bdda0532c\",\"type\":\"TEXT\"}},{\"id\":\"c18c3669-9507-4293-ac56-08711b1e16a6\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"3dd78296-b989-466d-97ef-428517d851ee\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577890200\",\"is_multi\":true,\"key\":\"attribute_08d279361f9bcdbb\",\"type\":\"TEXT\"}},{\"id\":\"49cb8cff-1ff0-4476-b0c9-042e08935cb9\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891000\",\"is_multi\":true,\"key\":\"attribute_1d2a4f8f9b39a284\",\"type\":\"TEXT\"}},{\"id\":\"df10a213-93aa-4406-98a7-f9a7c5dccefd\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891300\",\"is_multi\":true,\"key\":\"attribute_661efcf8a00203e4\",\"type\":\"TEXT\"}},{\"id\":\"63f3f34c-5ec2-4d90-ba8e-63431a6a7010\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"c19925d5-97c0-4e0e-a49e-fef562db5519\",\"display_name\":\"AWS Region 17557801-0000-0000-0000-175578010300\",\"is_multi\":true,\"key\":\"region_ba6c2c263864f56d\",\"type\":\"NUMBER\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:41:49.384Z", + "time": 460 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-Bad-Request-response_1282628130/frozen.json b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-Bad-Request-response_1282628130/frozen.json new file mode 100644 index 000000000000..5a35fcb53c21 --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-Bad-Request-response_1282628130/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:42:16.724Z" diff --git a/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-Bad-Request-response_1282628130/recording.har b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-Bad-Request-response_1282628130/recording.har new file mode 100644 index 000000000000..c0e022f392ce --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-Bad-Request-response_1282628130/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management Type/Create a case type returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "5bab3f9566b1499da89cb11b6fdd5570", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 143, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"notanemoji\",\"name\":\"Investigation\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 51, + "content": { + "mimeType": "application/vnd.api+json", + "size": 51, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:42:16.732Z", + "time": 373 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-CREATED-response_620906248/frozen.json b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-CREATED-response_620906248/frozen.json new file mode 100644 index 000000000000..ae456e5f457a --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-CREATED-response_620906248/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:42:17.112Z" diff --git a/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-CREATED-response_620906248/recording.har b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-CREATED-response_620906248/recording.har new file mode 100644 index 000000000000..20644581264c --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Create-a-case-type-returns-CREATED-response_620906248/recording.har @@ -0,0 +1,104 @@ +{ + "log": { + "_recordingName": "Case Management Type/Create a case type returns \"CREATED\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "28a9041b1142bed5dadfea904b8411ae", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 137, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 181, + "content": { + "mimeType": "application/vnd.api+json", + "size": 181, + "text": "{\"data\":{\"id\":\"5ec976bf-2f12-43c4-be20-542518b5906e\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:42:17.114Z", + "time": 397 + }, + { + "_id": "4a76bf89e2fc8ee5e900e05c8ff74eb4", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/5ec976bf-2f12-43c4-be20-542518b5906e" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:42:17.516Z", + "time": 378 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-NotContent-response_374999211/frozen.json b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-NotContent-response_374999211/frozen.json new file mode 100644 index 000000000000..7f46faf1b84c --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-NotContent-response_374999211/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:42:17.902Z" diff --git a/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-NotContent-response_374999211/recording.har b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-NotContent-response_374999211/recording.har new file mode 100644 index 000000000000..edb7dfa34f2b --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-NotContent-response_374999211/recording.har @@ -0,0 +1,141 @@ +{ + "log": { + "_recordingName": "Case Management Type/Delete a case type returns \"NotContent\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"c0bff0de-fe8f-4edd-83c5-b07e1480ca5f\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:42:17.905Z", + "time": 383 + }, + { + "_id": "6658743858897e8520bdf880a4b5dd1c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/c0bff0de-fe8f-4edd-83c5-b07e1480ca5f" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:42:18.292Z", + "time": 370 + }, + { + "_id": "6658743858897e8520bdf880a4b5dd1c", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/c0bff0de-fe8f-4edd-83c5-b07e1480ca5f" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:42:18.669Z", + "time": 397 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-OK-response_2594830727/frozen.json b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-OK-response_2594830727/frozen.json new file mode 100644 index 000000000000..0f67654f3fd4 --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-OK-response_2594830727/frozen.json @@ -0,0 +1 @@ +"2025-08-19T18:29:15.696Z" diff --git a/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-OK-response_2594830727/recording.har b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-OK-response_2594830727/recording.har new file mode 100644 index 000000000000..535496010ad5 --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Delete-a-case-type-returns-OK-response_2594830727/recording.har @@ -0,0 +1,141 @@ +{ + "log": { + "_recordingName": "Case Management Type/Delete a case type returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"08c89b77-5c9d-4f4f-8d0f-fe6d36351539\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-19T18:29:15.698Z", + "time": 431 + }, + { + "_id": "e1d14add9dc11a58dd348b8718d53f2f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/08c89b77-5c9d-4f4f-8d0f-fe6d36351539" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-19T18:29:16.133Z", + "time": 424 + }, + { + "_id": "e1d14add9dc11a58dd348b8718d53f2f", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/08c89b77-5c9d-4f4f-8d0f-fe6d36351539" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-19T18:29:16.562Z", + "time": 418 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management-Type_547522336/Get-all-case-types-returns-OK-response_593753823/frozen.json b/cassettes/v2/Case-Management-Type_547522336/Get-all-case-types-returns-OK-response_593753823/frozen.json new file mode 100644 index 000000000000..934ada6c93bc --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Get-all-case-types-returns-OK-response_593753823/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:42:19.085Z" diff --git a/cassettes/v2/Case-Management-Type_547522336/Get-all-case-types-returns-OK-response_593753823/recording.har b/cassettes/v2/Case-Management-Type_547522336/Get-all-case-types-returns-OK-response_593753823/recording.har new file mode 100644 index 000000000000..b10462f666d4 --- /dev/null +++ b/cassettes/v2/Case-Management-Type_547522336/Get-all-case-types-returns-OK-response_593753823/recording.har @@ -0,0 +1,57 @@ +{ + "log": { + "_recordingName": "Case Management Type/Get all case types returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "ef27994a81ec33072212e9c5048936b8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 507, + "httpVersion": "HTTP/1.1", + "method": "GET", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 33655, + "content": { + "mimeType": "application/vnd.api+json", + "size": 33655, + "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000001\",\"type\":\"case_type\",\"attributes\":{\"description\":\"General tasks and investigations\",\"emoji\":\"\",\"name\":\"Standard\"}},{\"id\":\"00000000-0000-0000-0000-000000000002\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Triage and investigate correlated alerts and events\",\"emoji\":\"\",\"name\":\"Event Management\"}},{\"id\":\"00000000-0000-0000-0000-000000000003\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Used By Datadog Security products and for general security workflows\",\"emoji\":\"\",\"name\":\"Security\"}},{\"id\":\"00000000-0000-0000-0000-000000000004\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Request and track approvals\",\"emoji\":\"\",\"name\":\"Change Request\"}},{\"id\":\"00000000-0000-0000-0000-000000000005\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Triage and investigate errors\",\"emoji\":\"\",\"name\":\"Error Tracking\"}},{\"id\":\"38d28f4f-7ce8-4fbd-ae42-326edf758eb8\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"b2304cb7-a65c-4f71-bb17-0800b4badb16\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"95802802-1241-4825-835b-1c0322a7ef97\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"1855fd31-e717-4af4-85d0-698c652ea0b6\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"0cab85fe-12ee-423e-a86e-2363d0e6f5ac\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"5755912a-fb4b-4597-b118-1b0b40f7bb85\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:09:06.196109Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7ab3b17d-a929-465f-80fa-ada92a865000\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"7c4b1f31-e48a-49c3-bd41-4646baa16649\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:13:20.969149Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"09c05ec2-311a-4c36-a813-f72a4a85ec45\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"ecea0a37-7f91-4e88-9b16-6f25cd4bdef3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:15:45.46212Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"5458e2b8-7362-4b38-85b3-1ab1ea73e08f\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"9daa0418-d01c-498a-96d2-7cfe1b2158d5\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:17:15.497537Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1e2c240d-168c-4b12-aa9b-92376f59f633\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:18:31.367268Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"af272a35-fa50-4619-b3df-1ee540b8586a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:18:32.54125Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e7717df7-6d36-4cf0-9e07-e58a5fac1cde\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:22:35.514966Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"c0da0f83-128b-434c-a535-b1414efab20b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T09:22:36.72Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a6029ab5-177f-437c-97cb-764b2dc80cb6\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:24:37.254566Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"933b2876-4617-4674-8ac1-64fa9fa56b87\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:24:38.561424Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"20303a04-10d7-4a67-8afb-cecfb6783004\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:29:15.253583Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"08c89b77-5c9d-4f4f-8d0f-fe6d36351539\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:29:16.570705Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"0aec1cee-fa44-468c-86ff-3afab2292f30\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:34:51.437054Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"dd0ca022-0166-4012-8179-dab74b6e4946\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T18:34:52.380136Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"581f9946-2777-4ca2-98f5-839a8583507b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:12:42.070634Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"d9a99e7c-255c-4328-b29c-249bbbce55d5\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:12:43.427514Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"05978c06-ac0e-480b-a7d5-e1a8f8fe8005\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:12:45.680688Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"ce6e2d21-6719-46d8-8639-f8a196f42678\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:25:30.303213Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3d9d8463-80fa-4434-a9e4-5dc4f3669c4e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:25:31.642643Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"fa261a4c-91f2-4d06-972f-a35bee0543f3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:25:33.792069Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1de6d896-26ac-4349-9b00-6acfe4879fda\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:37:44.971336Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f2578542-b2b9-4180-81cf-2eec21b94af1\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:37:46.300977Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e3c1d47a-e3ae-43ab-8181-334c3bba197e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:37:48.496084Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3d603ba5-4391-425b-b12c-cb6dcecc44d6\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:43:19.932314Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"29174d43-f800-4e6f-8756-bf632cd6de41\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:43:22.335462Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f997d450-7912-4801-a26b-dde8e5ee077e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:44:00.498935Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"94df43bd-6d07-4187-9a0a-0b8fdee7d1cc\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:44:02.704517Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b53a3523-4a91-4a29-8634-7d10457d7922\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:46:02.69294Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"2ce0cf3d-c48e-40a2-a3c1-bd5790617e48\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:46:04.026799Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f86f0afb-4e9d-4cd3-b72a-c62befbee6f1\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:46:05.838903Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3d86fef6-9e70-4167-b067-4136058dac19\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:07.463675Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"55be152c-d505-406f-b1b6-e3ea735cbf5b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:08.784736Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b108c666-e8e9-4c4e-b912-2c12b00f4f32\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:10.569418Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a706b5ab-f74e-4a11-b3a2-02eb6879241d\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:50.869037Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"921b1edd-bbd8-4130-8fb6-417d0be654bd\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:52.205117Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"27f02f54-745d-4398-a1a5-ca77708df7e1\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:49:53.955522Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1e002aff-0037-49f2-b266-4929032860be\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:52:04.296502Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"d9c649e3-92d5-4149-8f1b-e512c466a16d\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:52:05.632924Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"07eb5ad1-bac7-4eab-9341-8edb850f1b74\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:52:07.394803Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f15cae28-3df0-4c46-ba06-2bd1570a7f68\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:57:00.706851Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"4a252863-46c5-474a-acef-dfd42982ed68\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:57:02.039005Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"9e32b021-edaf-408e-8659-c2b850a1abf3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:57:03.353195Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"c229eb1e-e333-4f9b-937e-5aeb78d9069f\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:58:47.224259Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"0f4d4aed-e1d3-4fec-88db-f932656653dd\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:58:48.558757Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"c5065726-f32f-4554-a819-de0362e5a773\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T19:58:50.336027Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e2018774-4cfa-4ad6-8bd0-366479b8de8e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:03:19.632702Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a46e33f1-d290-4aa8-a192-b4f58e063330\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:03:20.945982Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e935a49b-d4cf-45f3-a63d-5fc857237fbe\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:03:22.683799Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"cb091c10-d4b9-4d93-be90-3b8c1166c4e4\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:05:50.137825Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"12b06e26-8f8f-45d0-be5d-0a3c1046ebb8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:05:51.471366Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"ada38cc4-4191-484d-bfea-604c921839f5\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:05:53.224893Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"ce15011e-b4ea-41e6-8628-4131f2773ae4\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:07:00.572959Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a8f6af82-7364-4fa2-be63-f9d82d49f126\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:07:01.933445Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"2f08290c-c478-4c47-9f00-36973b7b021a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:07:03.713436Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6bdcc12d-4f8f-4b9f-b33a-645b1c1fac78\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:16:47.195594Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"d3f2e924-efb4-4fea-858a-b0a104de58f1\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:16:48.531005Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6e204166-35d3-4150-85c9-2b3f1d6a85c5\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-19T20:16:50.266373Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3024568e-3252-40be-b2c5-ecc1898ad815\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T09:16:27.084779Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"2b8488a4-bdab-482c-8a9c-d2a571da65a9\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T09:17:37.421421Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f0e8ea33-8b30-47de-b9fe-f77b651381a7\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T09:20:12.422783Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"127dd6ad-3a98-4fc6-9e51-edb38b509385\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T09:20:13.955239Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e7773938-e80d-4bbc-874f-7c655daadee8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T10:57:28.035038Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"c8e6f6e7-19e3-433e-bba9-73a013527105\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T10:57:35.415978Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3feeec2b-a582-42a2-a4a2-b6ea50dc5876\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T10:57:36.981262Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1c08bb63-9e9e-4a0d-bc5a-b90dabe3c95d\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:19:10.000286Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"fe1f962c-99bd-4de2-90c2-0d685a383ce1\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:19:17.329016Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"45efdca9-7cde-4363-888c-c6ffc37000fc\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:19:19.242715Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6fc2e97b-4d59-48ee-8a00-039b07f147e4\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:22:49.696501Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"387f5315-b404-40f6-9005-cccac8ef06fa\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:22:57.691398Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"37ab3980-5401-4a6f-ae3d-f0f428310448\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:23:00.351616Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"9b42bc58-728f-4ea3-8ab9-d6194ef6e6a8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:46:41.280003Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"d3f86d4c-876b-4ebd-9c71-050d5d60aacb\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:46:49.368221Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"644f21a0-a650-410c-a8ec-c7ceadeaa28d\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:46:51.227809Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"14b8f6a9-3bd9-4fad-b66e-68dac1bf547a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:59:08.635193Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6c66be3b-c6d1-45b0-b1c4-473c04f3dc39\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:59:16.615113Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"fbd65d3f-0fd5-4898-958d-f1e4ded98164\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T11:59:19.279382Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"581c81f2-968c-4f23-bc35-e5a4f76246e6\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:20:04.568041Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"2cf3b0ea-aced-42f8-af92-252b294fb478\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:20:12.864796Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e2d429a0-5dc2-4e7d-aafc-07588da368b2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:20:15.558827Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7a657b5f-8683-451e-a006-57ea6976073f\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:57:00.687594Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"cfbe7974-89c8-4198-ab82-8a184607d214\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6915e7c1-3e5e-40fb-b7c8-6bc23b427d20\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:57:03.107095Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"71f640f9-7639-4531-93a7-de3fb2ca12a0\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"96dd3710-e051-49f3-b26a-e8dd9a51f87f\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T12:57:05.538619Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"4d130488-a5f8-4f0a-a738-91dbf1fbf3a6\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:00:30.252878Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"d34c57fb-54a6-4f6c-a86e-3a73de621e2d\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"184c9894-a9a3-49cf-a6cc-489e6842a3dd\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:00:32.655453Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"032f775d-3a79-426c-bcb7-6b42d3be7ac7\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"fb17bf17-f0bb-4722-b4e5-32445e7f5527\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:00:35.022904Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7f184906-a942-4917-a4e0-e8e2fa74b990\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:24.873029Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"70214597-0ebf-470d-a7c8-6c596d786ba2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:26.060226Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e7b57afc-4e28-4c57-9d17-42b1c48eebd9\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:27.638116Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"289574f3-de0e-47f0-81c7-06ae80937f31\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:29.214104Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"897c1c2e-5f52-46be-9abd-e7a01d3420f4\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:02:30.403304Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"eefd1896-506b-4035-9b60-110ac28e1814\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:07:20.994716Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"c351af96-9af2-4847-a0c8-11b201b1ae5f\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:07:29.127227Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"0c16ab5a-ac15-49a0-ad03-aef57d4d42e8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:07:31.878967Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"5ee6243b-b005-4bd4-a5f2-fe8c4ff2ddfe\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:13:13.116651Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7f70d4a0-d06d-49f5-928f-c2ca73aeb862\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:13:21.344841Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1387ec4d-f40a-4b31-8d0f-bc161326e588\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:13:24.125802Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"02323717-20b8-4ecf-8c34-ef7dd1841f46\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:23:39.707537Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"8ba67013-03d9-47e6-b0fc-746ce6587cef\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:23:48.028828Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7615e5a7-d95b-41b2-a082-47bf7ac815b9\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:23:50.74861Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b9e753b2-d41d-40d6-8c1c-3e8522b9cfd5\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:26:49.560438Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"ba86214d-a2f3-4067-b507-77d75ad9db7d\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:26:58.639584Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7a256076-d73a-4581-a955-c036ca560fd3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:27:01.335547Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"ca5baeb1-1abf-4983-8761-922382085818\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:28:12.129245Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a080a4f4-8f02-47b0-854f-b96d06d137e8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:28:20.260597Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"220d930b-828d-4b57-a38f-f09ced11d439\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:28:23.005866Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"7eb35cdb-4622-4a60-beb1-d292387b0314\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:32:16.836893Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"bb399fc7-2ae4-4b9c-a645-b46f50b01347\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:32:24.852829Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"2402c3fb-d0a2-4460-bd62-da434e3dff7c\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:32:27.626252Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"14c085b7-3e9b-4dfd-9dc0-3adc9e2aaef8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:31.577893Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"ebfc643b-bf3e-4dab-bff0-8c297d1773f3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:32.398071Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"dc882f3b-36c2-4488-bb32-60367b473df2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:53.449498Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b300e2b4-5084-443b-b8f2-d1d3611be8d6\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:54.609448Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"adc74163-422f-4667-a3a6-9c361863333e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:56.196341Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"25acc483-052f-412f-92a5-00ef2c22fbbb\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:57.745023Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"ffa14c93-06d0-4cc2-bcce-f41901be46df\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T13:59:58.908354Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"c8338d5b-1e0b-4d0e-a404-35ca2f47ff0d\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T14:00:40.051477Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3879f548-5eec-4c3f-8d7b-b0b2671fd522\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T14:00:49.182953Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6e04d185-29aa-4770-b14d-fd2741f049cc\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T14:00:52.010409Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"02f6995d-1ce3-4890-b797-e00b3761eafc\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:45.09765Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"895b0b2c-98de-482b-b315-195ca654cfd0\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:46.298225Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1debd831-4fa0-40af-b9ca-58e1a718ecb3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:47.832594Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"fe5f13b0-63d5-4a2a-8396-08a2a4e831ab\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:49.386532Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"34c76089-ee0c-4f48-bf98-6b9d4e792544\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:46:50.530716Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a7168617-45a8-4fa1-9657-b6c18f4b4a1b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:47:09.132674Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"b7459998-1c94-4840-a0ab-3d030f5d582b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:47:09.896859Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"9adc531f-1c5f-4140-b833-32f35e8dbee2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:13.125537Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f66b10ec-73f2-420c-8c2e-b2264cb5577a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:14.31455Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"da768aba-f8c0-473c-bd1c-e4ea9d9f682b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:15.939157Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"4937b115-31fa-4b14-b03b-774a978cbe86\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:17.533068Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"887f07b4-8b57-4949-880d-12fb460c9b37\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-20T15:50:18.74212Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"559cfd8c-3fb3-4a1c-b0f1-bb36cde9634a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:45.824907Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"a9a925b3-6198-4ad1-8fb7-1d6e2691ed4f\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:46.984977Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e5e19e07-79a9-42d1-b8b7-72d4290648eb\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:48.524998Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1ceaf193-152c-481f-8eb0-08e9470f6d8b\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:50.414457Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6cef1f4c-7201-4e60-b7a1-7843a82835d2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:14:51.834989Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6d142c7f-6ab3-4d54-8cdf-f600ddb40ea2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:15:15.232477Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"d6cc97e5-830f-467f-9d7e-d44fe9376cb2\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:15:16.048802Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b93415ca-0644-47d6-9547-f1af159ebe69\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:15:52.950749Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e9e97b17-30cf-4068-8c5a-657b509b56bf\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:16:01.620133Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"56855740-86fc-42c5-9ed3-82bed933cfa3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:16:04.310919Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"21779b8e-c1e1-4886-94e9-1b5b18d21366\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:27:38.520987Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"dd9805ac-43e8-447d-a521-25bbddf47f8a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:27:47.342964Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1295370d-69c2-43d1-899f-71e9d67e5474\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:27:50.106242Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b7b7e66e-e6a4-451f-95a1-ad427e83da19\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:44:03.293497Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"615f2510-83f5-46ba-b244-012ced51027a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:44:11.483169Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"6010ef55-cf69-4e91-959d-a6f14a6384ee\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:44:14.154381Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"e4641157-ebc4-4e6d-b785-84fc8f0347f3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:49:04.540305Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"602b0512-58e4-4fa5-a004-dccd954b7ab8\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:49:12.994315Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"0295702b-41e6-4a9e-8681-a237d11b5843\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T11:49:15.713764Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"bfa696f1-341e-4216-ba15-81ac431d6419\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:02:32.063175Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"54997fa0-0c3f-43cb-9e84-39f5f5ce3f09\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:02:40.160052Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1e036814-3134-4bc5-8e97-1f14ba77fac3\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:02:42.899008Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"3dd78296-b989-466d-97ef-428517d851ee\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:21:44.554387Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:21:52.745427Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:21:55.422802Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"869f4c88-f545-4aa1-a03f-152bb52186bf\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:43.69428Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"c19925d5-97c0-4e0e-a49e-fef562db5519\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:44.899197Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"1f787bd5-127a-4005-85df-6d24eb8955c1\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:46.505589Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"fdf93265-be3d-4a97-ae0d-540b049f7753\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:48.1106Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"f69a1398-c8b2-47bf-a624-4374634b4cf6\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:41:49.337557Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}},{\"id\":\"5ec976bf-2f12-43c4-be20-542518b5906e\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:42:17.873694Z\",\"description\":\"Investigations done in case management\",\"emoji\":\"\ud83d\udc51\",\"name\":\"Investigation\"}},{\"id\":\"c0bff0de-fe8f-4edd-83c5-b07e1480ca5f\",\"type\":\"case_type\",\"attributes\":{\"deleted_at\":\"2025-08-21T12:42:18.644537Z\",\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 671, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:42:19.094Z", + "time": 519 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json index 2430585c88f6..60d00368e58e 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:40.919Z" +"2025-08-21T12:21:27.652Z" diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har index 5b7370fafe06..46bfd8dd578d 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Bad-Request-response_3307115673/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 838, + "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", - "size": 838, - "text": "{\"data\":{\"id\":\"6706fe66-cabd-4b22-b4c5-dd478bba421a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:41.25066Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6706fe66-cabd-4b22-b4c5-dd478bba421a\",\"key\":\"DDFC-72317\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72377\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 839, + "text": "{\"data\":{\"id\":\"74cc2130-e95a-41d4-8a12-e94f03d8e84a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:27.993539Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"74cc2130-e95a-41d4-8a12-e94f03d8e84a\",\"key\":\"DDFC-77675\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77757\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:40.926Z", - "time": 397 + "startedDateTime": "2025-08-21T12:21:27.657Z", + "time": 394 }, { - "_id": "75643134d0d3233903bf06a1fd35338d", + "_id": "69f2598dd593ac1f08c55da7e03c9dfb", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/6706fe66-cabd-4b22-b4c5-dd478bba421a/archive" + "url": "https://api.datadoghq.com/api/v2/cases/74cc2130-e95a-41d4-8a12-e94f03d8e84a/archive" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:41.332Z", - "time": 372 + "startedDateTime": "2025-08-21T12:21:28.060Z", + "time": 403 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json index 463177057157..7a9ace09a317 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:41.730Z" +"2025-08-21T12:21:28.471Z" diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har index 588478b62ca7..f3fb041c1a2e 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-Not-Found-response_3250820290/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:41.735Z", - "time": 392 + "startedDateTime": "2025-08-21T12:21:28.473Z", + "time": 402 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json index 6f1fa9a84828..1b34918d5299 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:42.155Z" +"2025-08-21T12:21:28.882Z" diff --git a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har index edf74e49698e..10ff711d1ce3 100644 --- a/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Archive-case-returns-OK-response_1644289173/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 838, + "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", - "size": 838, - "text": "{\"data\":{\"id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:42.51392Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"key\":\"DDFC-72318\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72378\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 839, + "text": "{\"data\":{\"id\":\"ebf39a42-7726-4b1e-a21a-0e42933aeb4b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:29.220105Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"ebf39a42-7726-4b1e-a21a-0e42933aeb4b\",\"key\":\"DDFC-77676\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77758\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:42.177Z", - "time": 412 + "startedDateTime": "2025-08-21T12:21:28.885Z", + "time": 389 }, { - "_id": "f102e9889a3b0592a1d5f6e9c4d2deb8", + "_id": "9aa3cb2a3a0855ca85318b7848d2214c", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/b074b409-24f8-42ae-b545-b1486429630d/archive" + "url": "https://api.datadoghq.com/api/v2/cases/ebf39a42-7726-4b1e-a21a-0e42933aeb4b/archive" }, "response": { - "bodySize": 1012, + "bodySize": 1013, "content": { "mimeType": "application/vnd.api+json", - "size": 1012, - "text": "{\"data\":{\"id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2025-07-21T13:52:42.933945716Z\",\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:42.51392Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b074b409-24f8-42ae-b545-b1486429630d\",\"key\":\"DDFC-72318\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:42.933946Z\",\"priority\":\"P4\",\"public_id\":\"72378\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 1013, + "text": "{\"data\":{\"id\":\"ebf39a42-7726-4b1e-a21a-0e42933aeb4b\",\"type\":\"case\",\"attributes\":{\"archived_at\":\"2025-08-21T12:21:29.628037323Z\",\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:29.220105Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"ebf39a42-7726-4b1e-a21a-0e42933aeb4b\",\"key\":\"DDFC-77676\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:21:29.628037Z\",\"priority\":\"P4\",\"public_id\":\"77758\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:42.597Z", - "time": 412 + "startedDateTime": "2025-08-21T12:21:29.283Z", + "time": 408 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json index 81e746e2c780..c21c88f11859 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:43.015Z" +"2025-08-21T12:21:29.698Z" diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har index 879c3f1e497d..1b9227d50190 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Bad-Request-response_1562814608/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"510b0121-1477-43c0-8986-78f011016d48\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:43.335245Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"510b0121-1477-43c0-8986-78f011016d48\",\"key\":\"DDFC-72319\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72379\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"58c097c1-b44a-4eca-8e92-ec2598a6ca04\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:30.034351Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"58c097c1-b44a-4eca-8e92-ec2598a6ca04\",\"key\":\"DDFC-77677\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77759\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:43.017Z", - "time": 384 + "startedDateTime": "2025-08-21T12:21:29.701Z", + "time": 386 }, { - "_id": "389b3a16ce3121bf75a0da30a1d8d867", + "_id": "69396f948aef63e34c060e103ff88479", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"invalid-uuid\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/510b0121-1477-43c0-8986-78f011016d48/assign" + "url": "https://api.datadoghq.com/api/v2/cases/58c097c1-b44a-4eca-8e92-ec2598a6ca04/assign" }, "response": { "bodySize": 51, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:43.407Z", - "time": 399 + "startedDateTime": "2025-08-21T12:21:30.092Z", + "time": 405 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json index 9113f8468596..59b81f2bc80c 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:43.820Z" +"2025-08-21T12:21:30.504Z" diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har index dea343054521..d58fa15dba2b 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-Not-Found-response_3693775655/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "3a6509b8912e674e1435d921d51c7b19", + "_id": "fd7b6b2249046a8a4be70f9be6c65e38", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1753105963@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_Not_Found_response-1755778890@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 681, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fa033cd0-6639-11f0-b658-96290b93dbfc\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1753105963@datadoghq.com\",\"created_at\":\"2025-07-21T13:52:44.217086+00:00\",\"modified_at\":\"2025-07-21T13:52:44.217086+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1753105963@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/de9eda912656e39d585005ddc0880775?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"5e7df5cb-7e89-11f0-b3e2-2ee8b0ead543\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_not_found_response-1755778890@datadoghq.com\",\"created_at\":\"2025-08-21T12:21:30.941829+00:00\",\"modified_at\":\"2025-08-21T12:21:30.941829+00:00\",\"email\":\"test-assign_case_returns_not_found_response-1755778890@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/64a43b3e8bfc89456f8304f2382a6ca6?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:43.831Z", - "time": 471 + "startedDateTime": "2025-08-21T12:21:30.507Z", + "time": 511 }, { - "_id": "2fc59d7830abc6f23dfdfc7e3227a10f", + "_id": "8570efed164b70fe5d7ae49541cccad7", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"fa033cd0-6639-11f0-b658-96290b93dbfc\"},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"5e7df5cb-7e89-11f0-b3e2-2ee8b0ead543\"},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/assign" @@ -110,11 +110,11 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:44.313Z", - "time": 392 + "startedDateTime": "2025-08-21T12:21:31.026Z", + "time": 410 }, { - "_id": "13e04c013bdd39314e4a143c5dc2c240", + "_id": "8c2f22d15a9d73cd2cc83010d9262d93", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fa033cd0-6639-11f0-b658-96290b93dbfc" + "url": "https://api.datadoghq.com/api/v2/users/5e7df5cb-7e89-11f0-b3e2-2ee8b0ead543" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-21T13:52:44.713Z", - "time": 581 + "startedDateTime": "2025-08-21T12:21:31.443Z", + "time": 591 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json index be46aaf666a0..60f03e981c35 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:45.309Z" +"2025-08-21T12:21:32.041Z" diff --git a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har index a0838b9e4dfe..e315f007bd59 100644 --- a/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Assign-case-returns-OK-response_198940254/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:45.654592Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"key\":\"DDFC-72320\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72380\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"518b7916-d7f6-437b-9d53-fd1171a34e36\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:32.399774Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"518b7916-d7f6-437b-9d53-fd1171a34e36\",\"key\":\"DDFC-77678\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77760\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:45.314Z", - "time": 405 + "startedDateTime": "2025-08-21T12:21:32.044Z", + "time": 410 }, { - "_id": "1c46448e7d25abe927a6cc18e2daee88", + "_id": "19d07b49a797c1b8de30b423a6600039", "_order": 0, "cache": {}, "request": { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1753105965@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Assign_case_returns_OK_response-1755778892@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/json", "size": 667, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"created_at\":\"2025-07-21T13:52:46.093451+00:00\",\"modified_at\":\"2025-07-21T13:52:46.093451+00:00\",\"email\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/a6015cb53f5ee1693a8a69c8f6904fae?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"5fa2dcfc-7e89-11f0-b48f-b232d3abeaee\",\"attributes\":{\"name\":null,\"handle\":\"test-assign_case_returns_ok_response-1755778892@datadoghq.com\",\"created_at\":\"2025-08-21T12:21:32.861393+00:00\",\"modified_at\":\"2025-08-21T12:21:32.861393+00:00\",\"email\":\"test-assign_case_returns_ok_response-1755778892@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/535bf423901f0d3afd616c55201a53b7?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:45.725Z", - "time": 451 + "startedDateTime": "2025-08-21T12:21:32.466Z", + "time": 474 }, { - "_id": "4ccb70fc741d3b01ad3fa75043756876", + "_id": "7398a8fefe419abf0d519d8e4619e236", "_order": 0, "cache": {}, "request": { @@ -138,17 +138,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\"},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"assignee_id\":\"5fa2dcfc-7e89-11f0-b48f-b232d3abeaee\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/fd1228dc-d475-4a0b-8677-7a9ce3b50b3d/assign" + "url": "https://api.datadoghq.com/api/v2/cases/518b7916-d7f6-437b-9d53-fd1171a34e36/assign" }, "response": { - "bodySize": 1290, + "bodySize": 1291, "content": { "mimeType": "application/vnd.api+json", - "size": 1290, - "text": "{\"data\":{\"id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:45.654592Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"fd1228dc-d475-4a0b-8677-7a9ce3b50b3d\",\"key\":\"DDFC-72320\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:46.52116Z\",\"priority\":\"P4\",\"public_id\":\"72380\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}},{\"id\":\"fb218c6d-6639-11f0-a2d3-1a819e56f795\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1753105965@datadoghq.com\",\"name\":\"\"}}]}" + "size": 1291, + "text": "{\"data\":{\"id\":\"518b7916-d7f6-437b-9d53-fd1171a34e36\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:32.399774Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"518b7916-d7f6-437b-9d53-fd1171a34e36\",\"key\":\"DDFC-77678\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:21:33.288617Z\",\"priority\":\"P4\",\"public_id\":\"77760\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"5fa2dcfc-7e89-11f0-b48f-b232d3abeaee\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}},{\"id\":\"5fa2dcfc-7e89-11f0-b48f-b232d3abeaee\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-assign_case_returns_ok_response-1755778892@datadoghq.com\",\"handle\":\"test-assign_case_returns_ok_response-1755778892@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -163,11 +163,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:46.181Z", - "time": 422 + "startedDateTime": "2025-08-21T12:21:32.949Z", + "time": 412 }, { - "_id": "e845491baa68cb5940d86d0133e35e2a", + "_id": "f25c2aef7d6674559f79f8b824b39e3b", "_order": 0, "cache": {}, "request": { @@ -184,7 +184,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fb218c6d-6639-11f0-a2d3-1a819e56f795" + "url": "https://api.datadoghq.com/api/v2/users/5fa2dcfc-7e89-11f0-b48f-b232d3abeaee" }, "response": { "bodySize": 0, @@ -200,8 +200,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-21T13:52:46.614Z", - "time": 536 + "startedDateTime": "2025-08-21T12:21:33.370Z", + "time": 529 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/frozen.json b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/frozen.json new file mode 100644 index 000000000000..b3ee2718489a --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:33.905Z" diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/recording.har b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/recording.har new file mode 100644 index 000000000000..11e5cb264ee0 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Bad-Request-response_77675610/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Comment case returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"abf22995-c1a1-4052-a28a-9ff104bd3996\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:34.272688Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"abf22995-c1a1-4052-a28a-9ff104bd3996\",\"key\":\"DDFC-77679\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77761\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:33.907Z", + "time": 429 + }, + { + "_id": "f59379fa432d7a880666ce2e353cc83f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 52, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/abf22995-c1a1-4052-a28a-9ff104bd3996/comment" + }, + "response": { + "bodySize": 51, + "content": { + "mimeType": "application/vnd.api+json", + "size": 51, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:21:34.344Z", + "time": 380 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/frozen.json b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/frozen.json new file mode 100644 index 000000000000..eb6ccd74d98a --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:34.728Z" diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/recording.har b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/recording.har new file mode 100644 index 000000000000..7c591ed55e30 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-Not-Found-response_740758345/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management/Comment case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "880d2358dcbdddea2416553756adc9c8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 65, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"Hello world !\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/67d80aa3-36ff-44b9-a694-c501a7591737/comment" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:34.729Z", + "time": 379 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/frozen.json b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/frozen.json new file mode 100644 index 000000000000..41748f01be63 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:35.118Z" diff --git a/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/recording.har b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/recording.har new file mode 100644 index 000000000000..7db836943f41 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Comment-case-returns-OK-response_3372004392/recording.har @@ -0,0 +1,157 @@ +{ + "log": { + "_recordingName": "Case Management/Comment case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"a5d60060-c004-4eaa-932a-8107847feda4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:35.460989Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"a5d60060-c004-4eaa-932a-8107847feda4\",\"key\":\"DDFC-77680\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77762\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:35.121Z", + "time": 390 + }, + { + "_id": "e7e13e632e1356bce3a15f2fbea4d1c8", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 65, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"Hello World !\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/a5d60060-c004-4eaa-932a-8107847feda4/comment" + }, + "response": { + "bodySize": 412, + "content": { + "mimeType": "application/vnd.api+json", + "size": 412, + "text": "{\"data\":[{\"id\":\"ea039a22-2da2-43fe-b2ec-71b7c4091459\",\"type\":\"timeline_cell\",\"attributes\":{\"author\":{\"type\":\"USER\",\"content\":{\"ID\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"frog\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"active\":true}},\"cell_content\":{\"message\":\"Hello World !\"},\"content\":\"{\\\"message\\\":\\\"Hello World !\\\"}\",\"created_at\":\"2025-08-21T12:21:35.873104965Z\",\"type\":\"COMMENT\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:21:35.517Z", + "time": 413 + }, + { + "_id": "191f1b2a973ded136fb37d0dbc2ea8f5", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 575, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/a5d60060-c004-4eaa-932a-8107847feda4/comment/ea039a22-2da2-43fe-b2ec-71b7c4091459" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 603, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:21:35.937Z", + "time": 431 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json index 4641c9ca96f3..f571efacba97 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:47.155Z" +"2025-08-21T12:21:36.374Z" diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har index 6a296b4517d4..0e5f56a554ca 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Bad-Request-response_1348998798/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "c53a0d9163086fd6b142d95814505a59", + "_id": "b714f7be4f02fd0bca99211aecb702f1", "_order": 0, "cache": {}, "request": { - "bodySize": 303, + "bodySize": 334, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"userx\"}},\"project\":{\"data\":{\"id\":\"e555e290-ed65-49bd-ae18-8acbfcf18db7\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"userx\"}},\"project\":{\"data\":{\"id\":\"e555e290-ed65-49bd-ae18-8acbfcf18db7\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -57,8 +57,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:47.158Z", - "time": 363 + "startedDateTime": "2025-08-21T12:21:36.376Z", + "time": 360 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json index 13675cce053d..1b4ca4565348 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:47.527Z" +"2025-08-21T12:21:36.744Z" diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har index 52eb74c60377..ecbd96bb5b06 100644 --- a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-CREATED-response_3810133052/recording.har @@ -8,7 +8,7 @@ }, "entries": [ { - "_id": "c041f86fbb92fed5164f2b8e519f13ab", + "_id": "4083d43ce038dc72302e65b55cb1b462", "_order": 0, "cache": {}, "request": { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1753105967@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" + "text": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_a_case_returns_CREATED_response-1755778896@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/users" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/json", "size": 681, - "text": "{\"data\":{\"type\":\"users\",\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"created_at\":\"2025-07-21T13:52:47.902815+00:00\",\"modified_at\":\"2025-07-21T13:52:47.902815+00:00\",\"email\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/600ad64c52b4a9b6a9f2a46d8fa9ec0a?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" + "text": "{\"data\":{\"type\":\"users\",\"id\":\"62317a89-7e89-11f0-9461-ce4f97735c1f\",\"attributes\":{\"name\":null,\"handle\":\"test-create_a_case_returns_created_response-1755778896@datadoghq.com\",\"created_at\":\"2025-08-21T12:21:37.151481+00:00\",\"modified_at\":\"2025-08-21T12:21:37.151481+00:00\",\"email\":\"test-create_a_case_returns_created_response-1755778896@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/4f1bc8c54bac47b85df020d44f88b368?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n" }, "cookies": [], "headers": [ @@ -57,15 +57,15 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:47.529Z", - "time": 454 + "startedDateTime": "2025-08-21T12:21:36.746Z", + "time": 486 }, { - "_id": "cd1eb429036658517b6b147e02d981e7", + "_id": "2706b35437662bb373c8a5fbcb940d42", "_order": 0, "cache": {}, "request": { - "bodySize": 322, + "bodySize": 353, "cookies": [], "headers": [ { @@ -85,7 +85,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in 20df485fb3942e6f\",\"type\":\"STANDARD\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation in bcacd973748e4428\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"62317a89-7e89-11f0-9461-ce4f97735c1f\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -95,7 +95,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 1225, - "text": "{\"data\":{\"id\":\"2275ce7b-781b-4539-b0f3-2cc1b2140565\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:48.320633Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"2275ce7b-781b-4539-b0f3-2cc1b2140565\",\"key\":\"DDFC-72321\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"72381\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in 20df485fb3942e6f\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}},{\"id\":\"fc35a29f-6639-11f0-8bee-a24ce66fd256\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1753105967@datadoghq.com\",\"name\":\"\"}}]}" + "text": "{\"data\":{\"id\":\"137da184-00bd-4491-90e8-f6e8e5a371db\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:37.576237Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"137da184-00bd-4491-90e8-f6e8e5a371db\",\"key\":\"DDFC-77681\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"NOT_DEFINED\",\"public_id\":\"77763\",\"status\":\"OPEN\",\"title\":\"Security breach investigation in bcacd973748e4428\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"62317a89-7e89-11f0-9461-ce4f97735c1f\",\"type\":\"user\"}},\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}},{\"id\":\"62317a89-7e89-11f0-9461-ce4f97735c1f\",\"type\":\"user\",\"attributes\":{\"active\":false,\"email\":\"test-create_a_case_returns_created_response-1755778896@datadoghq.com\",\"handle\":\"test-create_a_case_returns_created_response-1755778896@datadoghq.com\",\"name\":\"\"}}]}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:47.987Z", - "time": 400 + "startedDateTime": "2025-08-21T12:21:37.247Z", + "time": 378 }, { - "_id": "84e4fedac559f349d1771d8c606e81fb", + "_id": "e0bbc303bec42af52f0c3f6ec672b810", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/users/fc35a29f-6639-11f0-8bee-a24ce66fd256" + "url": "https://api.datadoghq.com/api/v2/users/62317a89-7e89-11f0-9461-ce4f97735c1f" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-07-21T13:52:48.392Z", - "time": 555 + "startedDateTime": "2025-08-21T12:21:37.629Z", + "time": 646 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Not-Found-response_3213086197/frozen.json b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Not-Found-response_3213086197/frozen.json new file mode 100644 index 000000000000..e42a7c85cd01 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Not-Found-response_3213086197/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:38.277Z" diff --git a/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Not-Found-response_3213086197/recording.har b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Not-Found-response_3213086197/recording.har new file mode 100644 index 000000000000..c426d5b319de --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Create-a-case-returns-Not-Found-response_3213086197/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management/Create a case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "b841b949dcccc1b6aee68c012b8f6b14", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 333, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"NOT_DEFINED\",\"title\":\"Security breach investigation\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"assignee\":{\"data\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"721074c8-63df-4d8f-a43d-ab41dd24ec35\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 70, + "content": { + "mimeType": "application/vnd.api+json", + "size": 70, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"project not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:38.278Z", + "time": 372 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Bad-Request-response_1362431713/frozen.json b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Bad-Request-response_1362431713/frozen.json new file mode 100644 index 000000000000..45afe3ec9e72 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Bad-Request-response_1362431713/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:38.654Z" diff --git a/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Bad-Request-response_1362431713/recording.har b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Bad-Request-response_1362431713/recording.har new file mode 100644 index 000000000000..f181b5a6a21d --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Bad-Request-response_1362431713/recording.har @@ -0,0 +1,110 @@ +{ + "log": { + "_recordingName": "Case Management/Delete case comment returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"b17ef97a-c38f-4b67-91a6-546a0a3da4d3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:39.002325Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b17ef97a-c38f-4b67-91a6-546a0a3da4d3\",\"key\":\"DDFC-77682\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77765\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:38.655Z", + "time": 395 + }, + { + "_id": "0d109e7876b0a1bd29e991aec50d6e3b", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/b17ef97a-c38f-4b67-91a6-546a0a3da4d3/comment/not-an-uuid" + }, + "response": { + "bodySize": 136, + "content": { + "mimeType": "application/vnd.api+json", + "size": 136, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Invalid Parameter\",\"detail\":\"invalid parameter \\\"CommentID\\\" in \\\"path\\\"; expected type \\\"uuid\\\"\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:21:39.054Z", + "time": 368 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-No-Content-response_54436853/frozen.json b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-No-Content-response_54436853/frozen.json new file mode 100644 index 000000000000..ab4780c7f265 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-No-Content-response_54436853/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:39.426Z" diff --git a/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-No-Content-response_54436853/recording.har b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-No-Content-response_54436853/recording.har new file mode 100644 index 000000000000..e0d7ff6b9af1 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-No-Content-response_54436853/recording.har @@ -0,0 +1,200 @@ +{ + "log": { + "_recordingName": "Case Management/Delete case comment returns \"No Content\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"ba3da7da-9df1-4b1d-82be-e7d3d8ee865f\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:39.790273Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"ba3da7da-9df1-4b1d-82be-e7d3d8ee865f\",\"key\":\"DDFC-77683\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77766\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:39.427Z", + "time": 411 + }, + { + "_id": "d5077314a7607c701fcdbacbb8044b97", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 76, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 595, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"comment\":\"This is my new comment !\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment" + }, + "response": { + "bodySize": 434, + "content": { + "mimeType": "application/vnd.api+json", + "size": 434, + "text": "{\"data\":[{\"id\":\"bd8ee088-15bc-43a1-bc95-92e365b71459\",\"type\":\"timeline_cell\",\"attributes\":{\"author\":{\"type\":\"USER\",\"content\":{\"ID\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"name\":\"frog\",\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"active\":true}},\"cell_content\":{\"message\":\"This is my new comment !\"},\"content\":\"{\\\"message\\\":\\\"This is my new comment !\\\"}\",\"created_at\":\"2025-08-21T12:21:40.169700502Z\",\"type\":\"COMMENT\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:21:39.842Z", + "time": 379 + }, + { + "_id": "6f2856057524df4e04ab8966b3eddc4a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 575, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment/bd8ee088-15bc-43a1-bc95-92e365b71459" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 603, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:21:40.226Z", + "time": 411 + }, + { + "_id": "6f2856057524df4e04ab8966b3eddc4a", + "_order": 1, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 575, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/ba3da7da-9df1-4b1d-82be-e7d3d8ee865f/comment/bd8ee088-15bc-43a1-bc95-92e365b71459" + }, + "response": { + "bodySize": 76, + "content": { + "mimeType": "application/vnd.api+json", + "size": 76, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"timeline cell not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:40.641Z", + "time": 447 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Not-Found-response_1312572714/frozen.json b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Not-Found-response_1312572714/frozen.json new file mode 100644 index 000000000000..4ca927b2f00d --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Not-Found-response_1312572714/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:41.092Z" diff --git a/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Not-Found-response_1312572714/recording.har b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Not-Found-response_1312572714/recording.har new file mode 100644 index 000000000000..40855cf24f4f --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-case-comment-returns-Not-Found-response_1312572714/recording.har @@ -0,0 +1,110 @@ +{ + "log": { + "_recordingName": "Case Management/Delete case comment returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"1933248b-25b2-43fa-8758-a83156a4f2d6\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:41.429607Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"1933248b-25b2-43fa-8758-a83156a4f2d6\",\"key\":\"DDFC-77684\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77767\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:41.093Z", + "time": 387 + }, + { + "_id": "6516980a54d6e94656bfc4c8bd83810d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 575, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/1933248b-25b2-43fa-8758-a83156a4f2d6/comment/23fca2aa-4967-4936-bdd7-9157d9e456d7" + }, + "response": { + "bodySize": 76, + "content": { + "mimeType": "application/vnd.api+json", + "size": 76, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"timeline cell not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:41.484Z", + "time": 418 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-Not-Found-response_4044732176/frozen.json b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-Not-Found-response_4044732176/frozen.json new file mode 100644 index 000000000000..55c72dd2ac44 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-Not-Found-response_4044732176/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:41.919Z" diff --git a/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-Not-Found-response_4044732176/recording.har b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-Not-Found-response_4044732176/recording.har new file mode 100644 index 000000000000..0f58906c915f --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-Not-Found-response_4044732176/recording.har @@ -0,0 +1,110 @@ +{ + "log": { + "_recordingName": "Case Management/Delete custom attribute from case returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"66a1d45d-1414-478a-86c1-5be13054fedd\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:42.274409Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"66a1d45d-1414-478a-86c1-5be13054fedd\",\"key\":\"DDFC-77685\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77768\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:41.923Z", + "time": 404 + }, + { + "_id": "983a58443dd3353beb581d45ad411dec", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 581, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/66a1d45d-1414-478a-86c1-5be13054fedd/custom_attributes/invalid_key" + }, + "response": { + "bodySize": 166, + "content": { + "mimeType": "application/vnd.api+json", + "size": 166, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update case (command func error): custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:42.329Z", + "time": 388 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-OK-response_3299389491/frozen.json b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-OK-response_3299389491/frozen.json new file mode 100644 index 000000000000..c03e38fd9af6 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-OK-response_3299389491/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:42.721Z" diff --git a/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-OK-response_3299389491/recording.har b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-OK-response_3299389491/recording.har new file mode 100644 index 000000000000..393f5eea3d28 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Delete-custom-attribute-from-case-returns-OK-response_3299389491/recording.har @@ -0,0 +1,253 @@ +{ + "log": { + "_recordingName": "Case Management/Delete custom attribute from case returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"3dd78296-b989-466d-97ef-428517d851ee\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:42.722Z", + "time": 357 + }, + { + "_id": "eed2101fc442228b8e95d4e94cd0ee5f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577890200\",\"is_multi\":true,\"key\":\"attribute_08d279361f9bcdbb\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/3dd78296-b989-466d-97ef-428517d851ee/custom_attributes" + }, + "response": { + "bodySize": 347, + "content": { + "mimeType": "application/vnd.api+json", + "size": 347, + "text": "{\"data\":{\"id\":\"c18c3669-9507-4293-ac56-08711b1e16a6\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"3dd78296-b989-466d-97ef-428517d851ee\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577890200\",\"is_multi\":true,\"key\":\"attribute_08d279361f9bcdbb\",\"type\":\"TEXT\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:43.083Z", + "time": 379 + }, + { + "_id": "2006258b82c550f44e19b5b4f4ca3f5c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"3dd78296-b989-466d-97ef-428517d851ee\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"15f17d2e-4972-44d9-9f31-684f2d19a16c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:43.791404Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"15f17d2e-4972-44d9-9f31-684f2d19a16c\",\"key\":\"DDFC-77686\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77769\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"TUNKNOWN\",\"type_id\":\"3dd78296-b989-466d-97ef-428517d851ee\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:43.464Z", + "time": 377 + }, + { + "_id": "cc204f0001c79cb8606a150e24c6ab29", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + } + ], + "headersSize": 596, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/15f17d2e-4972-44d9-9f31-684f2d19a16c/custom_attributes/attribute_08d279361f9bcdbb" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"15f17d2e-4972-44d9-9f31-684f2d19a16c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:43.791404Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"15f17d2e-4972-44d9-9f31-684f2d19a16c\",\"key\":\"DDFC-77686\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77769\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"TUNKNOWN\",\"type_id\":\"3dd78296-b989-466d-97ef-428517d851ee\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:21:43.845Z", + "time": 377 + }, + { + "_id": "c176159588eb1b828849239e3345d4ae", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/3dd78296-b989-466d-97ef-428517d851ee" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 602, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:21:44.226Z", + "time": 363 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json index 81b71f13abfa..06fc4f9914fb 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:48.953Z" +"2025-08-21T12:21:44.593Z" diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har index 030dd847f303..eb10aadbba4e 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-Not-Found-response_3332065607/recording.har @@ -47,8 +47,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:48.955Z", - "time": 384 + "startedDateTime": "2025-08-21T12:21:44.594Z", + "time": 367 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json index 0a4c09cb0078..cb3ad497f38f 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:49.345Z" +"2025-08-21T12:21:44.965Z" diff --git a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har index abf00b817287..546df5cc857d 100644 --- a/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Get-the-details-of-a-case-returns-OK-response_1678668670/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:49.694835Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"key\":\"DDFC-72322\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72382\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"57667464-015f-4387-8e29-17f62ee3059b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:45.294236Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"57667464-015f-4387-8e29-17f62ee3059b\",\"key\":\"DDFC-77687\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77770\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:49.352Z", - "time": 401 + "startedDateTime": "2025-08-21T12:21:44.966Z", + "time": 371 }, { - "_id": "2d750a1fb5cb9c2f0ec8401990f8293d", + "_id": "b1d898d5aaff51fd9902b736b2d84ad4", "_order": 0, "cache": {}, "request": { @@ -78,14 +78,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/5e66536f-3946-41fd-9e0f-183e719d7128" + "url": "https://api.datadoghq.com/api/v2/cases/57667464-015f-4387-8e29-17f62ee3059b" }, "response": { "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:49.694835Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5e66536f-3946-41fd-9e0f-183e719d7128\",\"key\":\"DDFC-72322\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72382\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"57667464-015f-4387-8e29-17f62ee3059b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:45.294236Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"57667464-015f-4387-8e29-17f62ee3059b\",\"key\":\"DDFC-77687\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77770\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -100,8 +100,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:49.758Z", - "time": 365 + "startedDateTime": "2025-08-21T12:21:45.340Z", + "time": 413 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json index d2f911894840..45aa0221223c 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:50.131Z" +"2025-08-21T12:21:45.759Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har index 8c4ea35ed64b..067156dcf4eb 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Bad-Request-response_3573022260/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 839, + "bodySize": 838, "content": { "mimeType": "application/vnd.api+json", - "size": 839, - "text": "{\"data\":{\"id\":\"5fd92551-50b8-46e9-899d-5846cf3eab9e\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:50.459513Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5fd92551-50b8-46e9-899d-5846cf3eab9e\",\"key\":\"DDFC-72323\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72383\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 838, + "text": "{\"data\":{\"id\":\"2a6a9b1e-c443-4202-9c43-89a5252d1c7b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:46.10473Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"2a6a9b1e-c443-4202-9c43-89a5252d1c7b\",\"key\":\"DDFC-77688\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77771\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:50.133Z", - "time": 388 + "startedDateTime": "2025-08-21T12:21:45.760Z", + "time": 393 }, { - "_id": "606a4ae8236d1bcff95b75593921880d", + "_id": "7f2926b1f39d9f5ed5200a8e7e30c59c", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/5fd92551-50b8-46e9-899d-5846cf3eab9e/unarchive" + "url": "https://api.datadoghq.com/api/v2/cases/2a6a9b1e-c443-4202-9c43-89a5252d1c7b/unarchive" }, "response": { "bodySize": 108, @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:50.525Z", - "time": 364 + "startedDateTime": "2025-08-21T12:21:46.158Z", + "time": 388 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json index c70685247a2b..8a8f753be050 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:50.895Z" +"2025-08-21T12:21:46.550Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har index fb63ce6861fe..9c96e35ac6bb 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-Not-Found-response_2591944147/recording.har @@ -51,14 +51,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:50.897Z", - "time": 378 + "startedDateTime": "2025-08-21T12:21:46.551Z", + "time": 374 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json index c0d3211f2d27..497412444d39 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:51.279Z" +"2025-08-21T12:21:46.929Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har index 1707e51ba2b4..2f6b4720c456 100644 --- a/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unarchive-case-returns-OK-response_720357866/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:51.610535Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"key\":\"DDFC-72324\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72384\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"8a827d30-4f30-43b4-96b5-dff1ef3db096\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:47.258408Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"8a827d30-4f30-43b4-96b5-dff1ef3db096\",\"key\":\"DDFC-77689\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77772\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:51.280Z", - "time": 389 + "startedDateTime": "2025-08-21T12:21:46.930Z", + "time": 376 }, { - "_id": "2e646eb33de09a50a8373aaf12064055", + "_id": "186077bee6e4cbbc0cefdab04a109e15", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/b6a0f192-9be6-4898-b05b-f4cc308de679/unarchive" + "url": "https://api.datadoghq.com/api/v2/cases/8a827d30-4f30-43b4-96b5-dff1ef3db096/unarchive" }, "response": { "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:51.610535Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b6a0f192-9be6-4898-b05b-f4cc308de679\",\"key\":\"DDFC-72324\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72384\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"8a827d30-4f30-43b4-96b5-dff1ef3db096\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:47.258408Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"8a827d30-4f30-43b4-96b5-dff1ef3db096\",\"key\":\"DDFC-77689\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77772\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:51.674Z", - "time": 387 + "startedDateTime": "2025-08-21T12:21:47.311Z", + "time": 385 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json index ffe94d260201..db2951a2a652 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:52.067Z" +"2025-08-21T12:21:47.700Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har index 4c07d5bd8169..36aba61bc781 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Bad-Request-response_1235480583/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"6e4af4e8-67fd-461a-9664-adf910673121\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:52.413703Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6e4af4e8-67fd-461a-9664-adf910673121\",\"key\":\"DDFC-72325\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72385\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"f38fac75-2d9f-4d1a-b2bd-b8a7e049d63c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:48.050049Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"f38fac75-2d9f-4d1a-b2bd-b8a7e049d63c\",\"key\":\"DDFC-77690\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77773\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:52.068Z", - "time": 402 + "startedDateTime": "2025-08-21T12:21:47.701Z", + "time": 407 }, { - "_id": "c6d80aa4c12fd13c9fd89c1ba24e6b71", + "_id": "37a5357693b31408a42fcf44daf81ca0", "_order": 0, "cache": {}, "request": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"type\":\"project\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/6e4af4e8-67fd-461a-9664-adf910673121/unassign" + "url": "https://api.datadoghq.com/api/v2/cases/f38fac75-2d9f-4d1a-b2bd-b8a7e049d63c/unassign" }, "response": { "bodySize": 108, @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:52.474Z", - "time": 374 + "startedDateTime": "2025-08-21T12:21:48.111Z", + "time": 372 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json index 19d9a9d07483..d41574715ae6 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:52.854Z" +"2025-08-21T12:21:48.487Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har index 86492e6ef314..5415c54fb605 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-Not-Found-response_2139056352/recording.har @@ -51,14 +51,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:52.855Z", - "time": 387 + "startedDateTime": "2025-08-21T12:21:48.488Z", + "time": 398 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json index cf0cbda5767b..99ec5ce16f4f 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:53.249Z" +"2025-08-21T12:21:48.890Z" diff --git a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har index 17d96d95e833..32f827967ce2 100644 --- a/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Unassign-case-returns-OK-response_1230954147/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:53.581415Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"key\":\"DDFC-72326\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72386\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"c4036f1d-1f52-4720-822c-beb4d0ed433a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:49.224833Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"c4036f1d-1f52-4720-822c-beb4d0ed433a\",\"key\":\"DDFC-77691\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77774\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:53.251Z", - "time": 389 + "startedDateTime": "2025-08-21T12:21:48.891Z", + "time": 377 }, { - "_id": "17abcb435f8a9c91d3c568726f2e29e9", + "_id": "e14faaa84ebf2b338e4b36ae37ba8e5b", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/b222e3e7-19fe-434f-ab26-7e0845775ccd/unassign" + "url": "https://api.datadoghq.com/api/v2/cases/c4036f1d-1f52-4720-822c-beb4d0ed433a/unassign" }, "response": { "bodySize": 839, "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:53.581415Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"b222e3e7-19fe-434f-ab26-7e0845775ccd\",\"key\":\"DDFC-72326\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72386\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"c4036f1d-1f52-4720-822c-beb4d0ed433a\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:49.224833Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"c4036f1d-1f52-4720-822c-beb4d0ed433a\",\"key\":\"DDFC-77691\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77774\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:53.644Z", - "time": 382 + "startedDateTime": "2025-08-21T12:21:49.272Z", + "time": 370 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json index bb386bb01fb0..f329dd5f383b 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/frozen.json @@ -1 +1 @@ -"2025-07-21T08:23:42.266Z" +"2025-08-21T12:21:49.646Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har index a652f6f276c9..ff0870869b82 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-Not-Found-response_1931523892/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T08:23:42.269Z", - "time": 129 + "startedDateTime": "2025-08-21T12:21:49.647Z", + "time": 387 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json index 84005dc06633..5a5cc711a53e 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/frozen.json @@ -1 +1 @@ -"2025-07-21T18:43:31.851Z" +"2025-08-21T12:21:50.038Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har index 7996f423fbb4..4ee5f4f24c49 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-attributes-returns-OK-response_3587261335/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 839, + "bodySize": 838, "content": { "mimeType": "application/vnd.api+json", - "size": 839, - "text": "{\"data\":{\"id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T18:42:41.549781Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"key\":\"DDFC-72342\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72402\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 838, + "text": "{\"data\":{\"id\":\"892ea8b9-1e16-48ac-a078-57d3edb55fb9\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:50.40253Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"892ea8b9-1e16-48ac-a078-57d3edb55fb9\",\"key\":\"DDFC-77692\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77775\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T18:43:31.855Z", - "time": 142 + "startedDateTime": "2025-08-21T12:21:50.039Z", + "time": 420 }, { - "_id": "2bc87020cc36ac8d24cfbd38fc3c838f", + "_id": "3d1ff920b2e203ebfca70b5e5a68b481", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]}},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/f396c907-777d-4985-9e9d-2a420a0c0515/attributes" + "url": "https://api.datadoghq.com/api/v2/cases/892ea8b9-1e16-48ac-a078-57d3edb55fb9/attributes" }, "response": { - "bodySize": 1034, + "bodySize": 1033, "content": { "mimeType": "application/vnd.api+json", - "size": 1034, - "text": "{\"data\":{\"id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"type\":\"case\",\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]},\"comment_count\":0,\"created_at\":\"2025-07-21T18:42:41.549781Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"f396c907-777d-4985-9e9d-2a420a0c0515\",\"key\":\"DDFC-72342\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T18:42:41.694883Z\",\"priority\":\"P4\",\"public_id\":\"72402\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 1033, + "text": "{\"data\":{\"id\":\"892ea8b9-1e16-48ac-a078-57d3edb55fb9\",\"type\":\"case\",\"attributes\":{\"attributes\":{\"env\":[\"test\"],\"service\":[\"web-store\",\"web-api\"],\"team\":[\"engineer\"]},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:50.40253Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"892ea8b9-1e16-48ac-a078-57d3edb55fb9\",\"key\":\"DDFC-77692\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:21:50.793875Z\",\"priority\":\"P4\",\"public_id\":\"77775\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T18:43:32.005Z", - "time": 147 + "startedDateTime": "2025-08-21T12:21:50.464Z", + "time": 389 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Bad-Request-response_989269633/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Bad-Request-response_989269633/frozen.json new file mode 100644 index 000000000000..b75b1f74ba7a --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Bad-Request-response_989269633/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:50.857Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Bad-Request-response_989269633/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Bad-Request-response_989269633/recording.har new file mode 100644 index 000000000000..109c3148bad2 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Bad-Request-response_989269633/recording.har @@ -0,0 +1,263 @@ +{ + "log": { + "_recordingName": "Case Management/Update case custom attribute returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:50.859Z", + "time": 362 + }, + { + "_id": "17affdbd013fa6c5e2109650279d068d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891000\",\"is_multi\":true,\"key\":\"attribute_1d2a4f8f9b39a284\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/b36e8af6-a952-43bb-b54b-d7b80fc1344e/custom_attributes" + }, + "response": { + "bodySize": 347, + "content": { + "mimeType": "application/vnd.api+json", + "size": 347, + "text": "{\"data\":{\"id\":\"49cb8cff-1ff0-4476-b0c9-042e08935cb9\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891000\",\"is_multi\":true,\"key\":\"attribute_1d2a4f8f9b39a284\",\"type\":\"TEXT\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:51.225Z", + "time": 375 + }, + { + "_id": "3067b3e8003f854ec61a9be47132765f", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 838, + "content": { + "mimeType": "application/vnd.api+json", + "size": 838, + "text": "{\"data\":{\"id\":\"5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:51.92835Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb\",\"key\":\"DDFC-77693\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77776\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"TUNKNOWN\",\"type_id\":\"b36e8af6-a952-43bb-b54b-d7b80fc1344e\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:51.604Z", + "time": 374 + }, + { + "_id": "a6b09b05138c036e2806d8fbb89a4fbe", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 86, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 646, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"is_multi\":true,\"type\":\"FLOAT\",\"value\":[1,2.4]},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/5ed64f4d-a8d0-4dc6-879c-9b5f10a25cdb/custom_attributes/attribute_1d2a4f8f9b39a284" + }, + "response": { + "bodySize": 51, + "content": { + "mimeType": "application/vnd.api+json", + "size": 51, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:21:51.981Z", + "time": 405 + }, + { + "_id": "dbd94a38e14aa2378d063fda458ade55", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/b36e8af6-a952-43bb-b54b-d7b80fc1344e" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 601, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:21:52.390Z", + "time": 399 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Not-Found-response_2460053450/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Not-Found-response_2460053450/frozen.json new file mode 100644 index 000000000000..6f86d34e8286 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Not-Found-response_2460053450/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:52.792Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Not-Found-response_2460053450/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Not-Found-response_2460053450/recording.har new file mode 100644 index 000000000000..a9878db323c1 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-Not-Found-response_2460053450/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Update case custom attribute returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"7c0948c1-6d74-4bb2-bfbe-67a671aad927\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:53.118809Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"7c0948c1-6d74-4bb2-bfbe-67a671aad927\",\"key\":\"DDFC-77694\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77777\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:52.793Z", + "time": 374 + }, + { + "_id": "574217485dcf5f027975a35a7eb4a6df", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 97, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 631, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"is_multi\":true,\"type\":\"TEXT\",\"value\":[\"Abba\",\"The Cure\"]},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/7c0948c1-6d74-4bb2-bfbe-67a671aad927/custom_attributes/invalid_key" + }, + "response": { + "bodySize": 166, + "content": { + "mimeType": "application/vnd.api+json", + "size": 166, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"failed to update case (command func error): custom attribute configuration not found\",\"meta\":{\"key\":\"invalid_key\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:53.171Z", + "time": 374 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-OK-response_2589706253/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-OK-response_2589706253/frozen.json new file mode 100644 index 000000000000..9ae7d873a523 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-OK-response_2589706253/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:53.550Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-OK-response_2589706253/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-OK-response_2589706253/recording.har new file mode 100644 index 000000000000..f34a3e2df441 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-custom-attribute-returns-OK-response_2589706253/recording.har @@ -0,0 +1,263 @@ +{ + "log": { + "_recordingName": "Case Management/Update case custom attribute returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "dc45fc730f09c12d941beaf799af6461", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 110, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 560, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"},\"type\":\"case_type\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types" + }, + "response": { + "bodySize": 154, + "content": { + "mimeType": "application/vnd.api+json", + "size": 154, + "text": "{\"data\":{\"id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\",\"type\":\"case_type\",\"attributes\":{\"description\":\"Worldwide case type\",\"emoji\":\"\ud83c\udf0d\",\"name\":\"World\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:53.552Z", + "time": 380 + }, + { + "_id": "32b4c175a3698ce7fa35fc7c8dcc746c", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 628, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891300\",\"is_multi\":true,\"key\":\"attribute_661efcf8a00203e4\",\"type\":\"TEXT\"},\"type\":\"custom_attribute\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/bf109065-175f-4d2f-848d-8f5232dfce1a/custom_attributes" + }, + "response": { + "bodySize": 347, + "content": { + "mimeType": "application/vnd.api+json", + "size": 347, + "text": "{\"data\":{\"id\":\"df10a213-93aa-4406-98a7-f9a7c5dccefd\",\"type\":\"custom_attribute\",\"attributes\":{\"case_type\":\"TUNKNOWN\",\"case_type_id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\",\"description\":\"And its brand new description\",\"display_name\":\"Attribute 17557789-0000-0000-0000-175577891300\",\"is_multi\":true,\"key\":\"attribute_661efcf8a00203e4\",\"type\":\"TEXT\"}}}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:53.935Z", + "time": 376 + }, + { + "_id": "733dd96a98d631cbb84988c648f366fa", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"4e88fd93-7a35-46a1-881e-3ee48185afe4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:54.635083Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"4e88fd93-7a35-46a1-881e-3ee48185afe4\",\"key\":\"DDFC-77695\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77778\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"TUNKNOWN\",\"type_id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:54.315Z", + "time": 365 + }, + { + "_id": "e708e50eafd8510f79ebbd816067da24", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 97, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 646, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"is_multi\":true,\"type\":\"TEXT\",\"value\":[\"Abba\",\"The Cure\"]},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/4e88fd93-7a35-46a1-881e-3ee48185afe4/custom_attributes/attribute_661efcf8a00203e4" + }, + "response": { + "bodySize": 971, + "content": { + "mimeType": "application/vnd.api+json", + "size": 971, + "text": "{\"data\":{\"id\":\"4e88fd93-7a35-46a1-881e-3ee48185afe4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:54.635083Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{\"attribute_661efcf8a00203e4\":{\"type\":\"TEXT\",\"is_multi\":true,\"value\":[\"Abba\",\"The Cure\"]}},\"description\":\"\",\"insights\":[],\"internal_id\":\"4e88fd93-7a35-46a1-881e-3ee48185afe4\",\"key\":\"DDFC-77695\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:21:55.036815Z\",\"priority\":\"P4\",\"public_id\":\"77778\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"TUNKNOWN\",\"type_id\":\"bf109065-175f-4d2f-848d-8f5232dfce1a\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:21:54.684Z", + "time": 406 + }, + { + "_id": "12bd5b4e68895694d1c104d2ac801002", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 0, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "*/*" + } + ], + "headersSize": 533, + "httpVersion": "HTTP/1.1", + "method": "DELETE", + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/types/bf109065-175f-4d2f-848d-8f5232dfce1a" + }, + "response": { + "bodySize": 0, + "content": { + "mimeType": "text/plain", + "size": 0 + }, + "cookies": [], + "headers": [], + "headersSize": 601, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 204, + "statusText": "No Content" + }, + "startedDateTime": "2025-08-21T12:21:55.094Z", + "time": 380 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Bad-Request-response_1519894158/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Bad-Request-response_1519894158/frozen.json new file mode 100644 index 000000000000..087c8e878c83 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Bad-Request-response_1519894158/frozen.json @@ -0,0 +1 @@ +"2025-08-20T11:23:00.312Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Bad-Request-response_1519894158/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Bad-Request-response_1519894158/recording.har new file mode 100644 index 000000000000..46354ada01bc --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Bad-Request-response_1519894158/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Update case description returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "0a6534d042f2507564f87ab28f449a8d", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 195, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"efb715f8-47e6-4035-a8aa-2562ac8d46b1\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-20T11:23:00.725437Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"efb715f8-47e6-4035-a8aa-2562ac8d46b1\",\"key\":\"DDFC-77120\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77187\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-20T11:23:00.313Z", + "time": 379 + }, + { + "_id": "87eaabbccb2bf779cf544e0e40819e53", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 117, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 610, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Seeing some weird memory increase... We shouldn't ignore this\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/efb715f8-47e6-4035-a8aa-2562ac8d46b1/description" + }, + "response": { + "bodySize": 1027, + "content": { + "mimeType": "application/vnd.api+json", + "size": 1027, + "text": "{\"data\":{\"id\":\"efb715f8-47e6-4035-a8aa-2562ac8d46b1\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-20T11:23:00.725437Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"Seeing some weird memory increase... We shouldn't ignore this\",\"insights\":[],\"internal_id\":\"efb715f8-47e6-4035-a8aa-2562ac8d46b1\",\"key\":\"DDFC-77120\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-20T11:23:01.102685Z\",\"priority\":\"P4\",\"public_id\":\"77187\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 665, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-20T11:23:00.696Z", + "time": 379 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Not-Found-response_2746299893/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Not-Found-response_2746299893/frozen.json new file mode 100644 index 000000000000..c1b9b383592a --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Not-Found-response_2746299893/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:55.478Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Not-Found-response_2746299893/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Not-Found-response_2746299893/recording.har new file mode 100644 index 000000000000..bf8bc02d65f6 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-Not-Found-response_2746299893/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management/Update case description returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "a5fa9fc22fbb254e00b627d6e5420c50", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 117, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 610, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Seeing some weird memory increase... We shouldn't ignore this\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/0198c6b0-2a0a-7bea-87ff-3876f119aebb/description" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:21:55.479Z", + "time": 371 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-OK-response_2980528868/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-OK-response_2980528868/frozen.json new file mode 100644 index 000000000000..d3ede22d39cb --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-OK-response_2980528868/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:21:55.857Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-OK-response_2980528868/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-OK-response_2980528868/recording.har new file mode 100644 index 000000000000..ed630b2a9d86 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-description-returns-OK-response_2980528868/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Update case description returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"916512cd-427c-4717-95e7-21a35fec7045\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:56.218952Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"916512cd-427c-4717-95e7-21a35fec7045\",\"key\":\"DDFC-77696\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77779\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 662, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:21:55.860Z", + "time": 415 + }, + { + "_id": "ee8e077fcaa914bb9847813988ba2346", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 117, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 610, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"description\":\"Seeing some weird memory increase... Updating the description\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/916512cd-427c-4717-95e7-21a35fec7045/description" + }, + "response": { + "bodySize": 1027, + "content": { + "mimeType": "application/vnd.api+json", + "size": 1027, + "text": "{\"data\":{\"id\":\"916512cd-427c-4717-95e7-21a35fec7045\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:56.218952Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"Seeing some weird memory increase... Updating the description\",\"insights\":[],\"internal_id\":\"916512cd-427c-4717-95e7-21a35fec7045\",\"key\":\"DDFC-77696\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:21:56.610465Z\",\"priority\":\"P4\",\"public_id\":\"77779\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:21:56.279Z", + "time": 387 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json index 863b4b262aba..39a8d39d0f6f 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:56.000Z" +"2025-08-21T12:21:56.669Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har index 33d9d67f6c57..dbb6a9438df9 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Bad-Request-response_270760096/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"57868e9a-2697-4384-b724-8e118b20a7f3\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:56.317328Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"57868e9a-2697-4384-b724-8e118b20a7f3\",\"key\":\"DDFC-72329\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72389\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"9eabf475-c826-4251-8cfd-00a970c5c293\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:56.999975Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"9eabf475-c826-4251-8cfd-00a970c5c293\",\"key\":\"DDFC-77697\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77780\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:56.002Z", - "time": 373 + "startedDateTime": "2025-08-21T12:21:56.670Z", + "time": 382 }, { - "_id": "72df50c046cd23a29858a891311aeca1", + "_id": "f5f50a38475f4a91bfa9ebe4d153a860", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"priority\":\"P1234\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/57868e9a-2697-4384-b724-8e118b20a7f3/priority" + "url": "https://api.datadoghq.com/api/v2/cases/9eabf475-c826-4251-8cfd-00a970c5c293/priority" }, "response": { "bodySize": 120, "content": { "mimeType": "application/vnd.api+json", "size": 120, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P2, P3, P4, P5, NOT_DEFINED, P1\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid priority P1234. Must be one of P5, NOT_DEFINED, P1, P2, P3, P4\"}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:56.381Z", - "time": 372 + "startedDateTime": "2025-08-21T12:21:57.056Z", + "time": 385 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json index fcfe57cb0f2a..1519c306c156 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:56.765Z" +"2025-08-21T12:21:57.445Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har index 8e0f5958a3c2..830da99105d7 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-Not-Found-response_1985619607/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:56.772Z", - "time": 385 + "startedDateTime": "2025-08-21T12:21:57.446Z", + "time": 378 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json index b20095d23aa2..03e69e169452 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:57.162Z" +"2025-08-21T12:21:57.827Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har index 25b786c8467c..095ec7bf360f 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-priority-returns-OK-response_1115539438/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" }, "response": { - "bodySize": 839, + "bodySize": 838, "content": { "mimeType": "application/vnd.api+json", - "size": 839, - "text": "{\"data\":{\"id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:57.488697Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"key\":\"DDFC-72330\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72390\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 838, + "text": "{\"data\":{\"id\":\"d61a54f2-f227-4ebb-8ebc-988f69afd3eb\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:58.17342Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"d61a54f2-f227-4ebb-8ebc-988f69afd3eb\",\"key\":\"DDFC-77698\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77781\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:57.163Z", - "time": 393 + "startedDateTime": "2025-08-21T12:21:57.828Z", + "time": 400 }, { - "_id": "1a133ade9b956e647d2bb7ec6d4755b4", + "_id": "3b439cdf412ecf8e793f51d0d0b57c26", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"priority\":\"P3\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/18014b24-6e64-4ca5-8cac-7ccbdd65258b/priority" + "url": "https://api.datadoghq.com/api/v2/cases/d61a54f2-f227-4ebb-8ebc-988f69afd3eb/priority" }, "response": { - "bodySize": 966, + "bodySize": 965, "content": { "mimeType": "application/vnd.api+json", - "size": 966, - "text": "{\"data\":{\"id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:57.488697Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"18014b24-6e64-4ca5-8cac-7ccbdd65258b\",\"key\":\"DDFC-72330\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:57.885095Z\",\"priority\":\"P3\",\"public_id\":\"72390\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "size": 965, + "text": "{\"data\":{\"id\":\"d61a54f2-f227-4ebb-8ebc-988f69afd3eb\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:58.17342Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"d61a54f2-f227-4ebb-8ebc-988f69afd3eb\",\"key\":\"DDFC-77698\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:21:58.559386Z\",\"priority\":\"P3\",\"public_id\":\"77781\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:57.559Z", - "time": 390 + "startedDateTime": "2025-08-21T12:21:58.232Z", + "time": 382 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json index 1febabe0e53f..dd9814fa4271 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:57.959Z" +"2025-08-21T12:21:58.619Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har index b9c2ebed30d6..04b59a2fb14f 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Bad-Request-response_4072076838/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"98319575-b53b-43be-96b2-7595a5f1be6c\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:58.293018Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"98319575-b53b-43be-96b2-7595a5f1be6c\",\"key\":\"DDFC-72331\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72391\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"63cc6417-0142-4ce1-bf1d-87d8fc3bd303\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:21:58.938307Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"63cc6417-0142-4ce1-bf1d-87d8fc3bd303\",\"key\":\"DDFC-77699\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77782\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:57.961Z", - "time": 392 + "startedDateTime": "2025-08-21T12:21:58.620Z", + "time": 368 }, { - "_id": "195135ee0304f678903af6058a0be0e6", + "_id": "4be437c95786cec7cce4e5d584466226", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"status\":\"OPENED\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/98319575-b53b-43be-96b2-7595a5f1be6c/status" + "url": "https://api.datadoghq.com/api/v2/cases/63cc6417-0142-4ce1-bf1d-87d8fc3bd303/status" }, "response": { "bodySize": 232, "content": { "mimeType": "application/vnd.api+json", "size": 232, - "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of PENDING_APPROVAL, APPROVED, IMPLEMENTING, CANCELLED, SUNKNOWN, ACKNOWLEDGED, TRIGGERED, RESOLVED, COMPLETED, DECLINED, OPEN, IN_PROGRESS, CLOSED\"}]}" + "text": "{\"errors\":[{\"title\":\"Generic Error\",\"detail\":\"invalid status OPENED. Must be one of OPEN, IN_PROGRESS, RESOLVED, APPROVED, IMPLEMENTING, COMPLETED, SUNKNOWN, CLOSED, ACKNOWLEDGED, TRIGGERED, PENDING_APPROVAL, CANCELLED, DECLINED\"}]}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-07-21T13:52:58.357Z", - "time": 358 + "startedDateTime": "2025-08-21T12:21:58.991Z", + "time": 366 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json index 2530f6b55e52..2aed606a0947 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:58.721Z" +"2025-08-21T12:21:59.362Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har index a814280603cf..f9461ed23019 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-Not-Found-response_3322612333/recording.har @@ -57,8 +57,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-07-21T13:52:58.723Z", - "time": 386 + "startedDateTime": "2025-08-21T12:21:59.362Z", + "time": 368 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json index 9b8b2cc71d0c..529eb7aa78af 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/frozen.json @@ -1 +1 @@ -"2025-07-21T13:52:59.116Z" +"2025-08-21T12:21:59.734Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har index 9a3e298d243c..9ac69fcb293b 100644 --- a/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har +++ b/cassettes/v2/Case-Management_2486725080/Update-case-status-returns-OK-response_35723180/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0a6534d042f2507564f87ab28f449a8d", + "_id": "79babc387a705347c8a673b0e70145e9", "_order": 0, "cache": {}, "request": { - "bodySize": 195, + "bodySize": 226, "cookies": [], "headers": [ { @@ -32,7 +32,7 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type\":\"STANDARD\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/cases" @@ -42,7 +42,7 @@ "content": { "mimeType": "application/vnd.api+json", "size": 839, - "text": "{\"data\":{\"id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:59.449985Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"key\":\"DDFC-72332\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"72392\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"76addf8c-0ab5-4cf2-a899-34e7d12a25b4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:22:00.083032Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"76addf8c-0ab5-4cf2-a899-34e7d12a25b4\",\"key\":\"DDFC-77700\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77783\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -51,17 +51,17 @@ "value": "application/vnd.api+json" } ], - "headersSize": 662, + "headersSize": 663, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2025-07-21T13:52:59.118Z", - "time": 392 + "startedDateTime": "2025-08-21T12:21:59.736Z", + "time": 404 }, { - "_id": "1b6a4861322ffe6c3bd95d34b6d2e305", + "_id": "0180c657390a83f8e4e5aac2b33e85bc", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"status\":\"IN_PROGRESS\"},\"type\":\"case\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/cases/6d09fb31-6357-4f35-b1af-eaa0047f19f0/status" + "url": "https://api.datadoghq.com/api/v2/cases/76addf8c-0ab5-4cf2-a899-34e7d12a25b4/status" }, "response": { "bodySize": 973, "content": { "mimeType": "application/vnd.api+json", "size": 973, - "text": "{\"data\":{\"id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-07-21T13:52:59.449985Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"6d09fb31-6357-4f35-b1af-eaa0047f19f0\",\"key\":\"DDFC-72332\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-07-21T13:52:59.835103Z\",\"priority\":\"P4\",\"public_id\":\"72392\",\"status\":\"IN_PROGRESS\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + "text": "{\"data\":{\"id\":\"76addf8c-0ab5-4cf2-a899-34e7d12a25b4\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:22:00.083032Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"76addf8c-0ab5-4cf2-a899-34e7d12a25b4\",\"key\":\"DDFC-77700\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:22:00.475171Z\",\"priority\":\"P4\",\"public_id\":\"77783\",\"status\":\"IN_PROGRESS\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" }, "cookies": [], "headers": [ @@ -104,14 +104,14 @@ "value": "application/vnd.api+json" } ], - "headersSize": 663, + "headersSize": 664, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-07-21T13:52:59.515Z", - "time": 384 + "startedDateTime": "2025-08-21T12:22:00.144Z", + "time": 387 } ], "pages": [], diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Bad-Request-response_3215528410/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Bad-Request-response_3215528410/frozen.json new file mode 100644 index 000000000000..f0a9e9b1a15c --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Bad-Request-response_3215528410/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:22:00.535Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Bad-Request-response_3215528410/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Bad-Request-response_3215528410/recording.har new file mode 100644 index 000000000000..0e23156a7fc4 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Bad-Request-response_3215528410/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Update case title returns \"Bad Request\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"7e718455-3552-40dc-8368-ab2b5d675201\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:22:00.877559Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"7e718455-3552-40dc-8368-ab2b5d675201\",\"key\":\"DDFC-77701\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77784\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:22:00.536Z", + "time": 392 + }, + { + "_id": "106c4a03432420ab3832c6f37be9d33a", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 50, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"title\":\"\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/7e718455-3552-40dc-8368-ab2b5d675201/title" + }, + "response": { + "bodySize": 51, + "content": { + "mimeType": "application/vnd.api+json", + "size": 51, + "text": "{\"errors\":[{\"status\":\"400\",\"title\":\"Bad Request\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 400, + "statusText": "Bad Request" + }, + "startedDateTime": "2025-08-21T12:22:00.931Z", + "time": 357 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Not-Found-response_1992199369/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Not-Found-response_1992199369/frozen.json new file mode 100644 index 000000000000..f9d4f40e8bfd --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Not-Found-response_1992199369/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:22:01.292Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Not-Found-response_1992199369/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Not-Found-response_1992199369/recording.har new file mode 100644 index 000000000000..e5b42677fd6c --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-Not-Found-response_1992199369/recording.har @@ -0,0 +1,67 @@ +{ + "log": { + "_recordingName": "Case Management/Update case title returns \"Not Found\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "4e265ccbfa85b49b13316129143e495e", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 82, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"title\":\"Memory leak investigation on API\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/0198c6b8-b08f-7c08-978a-d95217f2eeac/title" + }, + "response": { + "bodySize": 67, + "content": { + "mimeType": "application/vnd.api+json", + "size": 67, + "text": "{\"errors\":[{\"code\":\"resource_not_found\",\"title\":\"case not found\"}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 404, + "statusText": "Not Found" + }, + "startedDateTime": "2025-08-21T12:22:01.293Z", + "time": 369 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-OK-response_2838423720/frozen.json b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-OK-response_2838423720/frozen.json new file mode 100644 index 000000000000..b07db0b41211 --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-OK-response_2838423720/frozen.json @@ -0,0 +1 @@ +"2025-08-21T12:22:01.665Z" diff --git a/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-OK-response_2838423720/recording.har b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-OK-response_2838423720/recording.har new file mode 100644 index 000000000000..ad33a81b24ee --- /dev/null +++ b/cassettes/v2/Case-Management_2486725080/Update-case-title-returns-OK-response_2838423720/recording.har @@ -0,0 +1,120 @@ +{ + "log": { + "_recordingName": "Case Management/Update case title returns \"OK\" response", + "creator": { + "comment": "persister:fs", + "name": "Polly.JS", + "version": "6.0.5" + }, + "entries": [ + { + "_id": "79babc387a705347c8a673b0e70145e9", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 226, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 550, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"priority\":\"P4\",\"title\":\"My new case\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases" + }, + "response": { + "bodySize": 839, + "content": { + "mimeType": "application/vnd.api+json", + "size": 839, + "text": "{\"data\":{\"id\":\"0552fadc-d83a-4a3d-a718-4a7b0b061a78\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:22:01.992227Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"0552fadc-d83a-4a3d-a718-4a7b0b061a78\",\"key\":\"DDFC-77702\",\"merge_status\":\"NOT_MERGED\",\"priority\":\"P4\",\"public_id\":\"77785\",\"status\":\"OPEN\",\"title\":\"My new case\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 663, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 201, + "statusText": "Created" + }, + "startedDateTime": "2025-08-21T12:22:01.666Z", + "time": 375 + }, + { + "_id": "2ba7664a365fd70bde1a37790604e196", + "_order": 0, + "cache": {}, + "request": { + "bodySize": 92, + "cookies": [], + "headers": [ + { + "_fromType": "array", + "name": "accept", + "value": "application/json" + }, + { + "_fromType": "array", + "name": "content-type", + "value": "application/json" + } + ], + "headersSize": 597, + "httpVersion": "HTTP/1.1", + "method": "POST", + "postData": { + "mimeType": "application/json", + "params": [], + "text": "{\"data\":{\"attributes\":{\"title\":\"[UPDATED] Memory leak investigation on API\"},\"type\":\"case\"}}" + }, + "queryString": [], + "url": "https://api.datadoghq.com/api/v2/cases/0552fadc-d83a-4a3d-a718-4a7b0b061a78/title" + }, + "response": { + "bodySize": 997, + "content": { + "mimeType": "application/vnd.api+json", + "size": 997, + "text": "{\"data\":{\"id\":\"0552fadc-d83a-4a3d-a718-4a7b0b061a78\",\"type\":\"case\",\"attributes\":{\"attributes\":{},\"comment_count\":0,\"created_at\":\"2025-08-21T12:22:01.992227Z\",\"creation_source\":\"MANUAL\",\"custom_attributes\":{},\"description\":\"\",\"insights\":[],\"internal_id\":\"0552fadc-d83a-4a3d-a718-4a7b0b061a78\",\"key\":\"DDFC-77702\",\"merge_status\":\"NOT_MERGED\",\"modified_at\":\"2025-08-21T12:22:02.369131Z\",\"priority\":\"P4\",\"public_id\":\"77785\",\"status\":\"OPEN\",\"title\":\"[UPDATED] Memory leak investigation on API\",\"type\":\"STANDARD\",\"type_id\":\"00000000-0000-0000-0000-000000000001\"},\"relationships\":{\"created_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"modified_by\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\"}},\"project\":{\"data\":{\"id\":\"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\"type\":\"project\"}}}},\"included\":[{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"user\",\"attributes\":{\"active\":true,\"email\":\"frog@datadoghq.com\",\"handle\":\"frog@datadoghq.com\",\"name\":\"frog\"}}]}" + }, + "cookies": [], + "headers": [ + { + "name": "content-type", + "value": "application/vnd.api+json" + } + ], + "headersSize": 664, + "httpVersion": "HTTP/1.1", + "redirectURL": "", + "status": 200, + "statusText": "OK" + }, + "startedDateTime": "2025-08-21T12:22:02.045Z", + "time": 377 + } + ], + "pages": [], + "version": "1.2" + } +} diff --git a/features/v2/case_management.feature b/features/v2/case_management.feature index 58c95f716688..155221b2dd3d 100644 --- a/features/v2/case_management.feature +++ b/features/v2/case_management.feature @@ -64,10 +64,36 @@ Feature: Case Management When the request is sent Then the response status is 200 OK + @team:DataDog/case-management + Scenario: Comment case returns "Bad Request" response + Given new "CommentCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"comment": ""}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Comment case returns "Not Found" response + Given new "CommentCase" request + And request contains "case_id" parameter with value "67d80aa3-36ff-44b9-a694-c501a7591737" + And body with value {"data": {"attributes": {"comment": "Hello world !"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Comment case returns "OK" response + Given new "CommentCase" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"comment": "Hello World !"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/case-management Scenario: Create a case returns "Bad Request" response Given new "CreateCase" request - And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "userx"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type_id": "00000000-0000-0000-0000-000000000001"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "userx"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} When the request is sent Then the response status is 400 Bad Request @@ -75,7 +101,7 @@ Feature: Case Management Scenario: Create a case returns "CREATED" response Given new "CreateCase" request And there is a valid "user" in the system - And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation in {{ unique_hash }}", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "{{user.data.id}}", "type": "user"} }, "project": {"data": {"id": "d4bbe1af-f36e-42f1-87c1-493ca35c320e", "type": "project"}}}, "type": "case"}} + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation in {{ unique_hash }}", "type_id": "00000000-0000-0000-0000-000000000001"}, "relationships": {"assignee": {"data": {"id": "{{user.data.id}}", "type": "user"} }, "project": {"data": {"id": "d4bbe1af-f36e-42f1-87c1-493ca35c320e", "type": "project"}}}, "type": "case"}} When the request is sent Then the response status is 201 CREATED And the response "data" has field "id" @@ -83,10 +109,10 @@ Feature: Case Management And the response "data.attributes.type" is equal to "STANDARD" And the response "data.attributes.priority" is equal to "NOT_DEFINED" - @generated @skip @team:DataDog/case-management + @team:DataDog/case-management Scenario: Create a case returns "Not Found" response Given new "CreateCase" request - And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type": "STANDARD"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "user"}}, "project": {"data": {"id": "e555e290-ed65-49bd-ae18-8acbfcf18db7", "type": "project"}}}, "type": "case"}} + And body with value {"data": {"attributes": {"priority": "NOT_DEFINED", "title": "Security breach investigation", "type_id": "00000000-0000-0000-0000-000000000001"}, "relationships": {"assignee": {"data": {"id": "00000000-0000-0000-0000-000000000000", "type": "user"}}, "project": {"data": {"id": "721074c8-63df-4d8f-a43d-ab41dd24ec35", "type": "project"}}}, "type": "case"}} When the request is sent Then the response status is 404 Not Found @@ -111,6 +137,54 @@ Feature: Case Management When the request is sent Then the response status is 404 Not Found + @skip @team:DataDog/case-management + Scenario: Delete case comment returns "Bad Request" response + Given new "DeleteCaseComment" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "cell_id" parameter with value "not-an-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/case-management + Scenario: Delete case comment returns "No Content" response + Given new "DeleteCaseComment" request + And there is a valid "case" in the system + And there is a valid "comment" in the system + And request contains "case_id" parameter from "case.id" + And request contains "cell_id" parameter from "comment.id" + When the request is sent + Then the response status is 204 No Content + + @team:DataDog/case-management + Scenario: Delete case comment returns "Not Found" response + Given new "DeleteCaseComment" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "cell_id" parameter with value "23fca2aa-4967-4936-bdd7-9157d9e456d7" + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Delete custom attribute from case returns "Not Found" response + Given new "DeleteCaseCustomAttribute" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "custom_attribute_key" parameter with value "invalid_key" + When the request is sent + Then the response status is 404 Not Found + + @skip @team:DataDog/case-management + Scenario: Delete custom attribute from case returns "OK" response + Given new "DeleteCaseCustomAttribute" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And there is a valid "case" with a custom "case_type" in the system + And request contains "case_id" parameter from "case_with_type.id" + And request contains "custom_attribute_key" parameter from "custom_attribute.attributes.key" + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/case-management Scenario: Get all projects returns "Bad Request" response Given new "GetProjects" request @@ -289,6 +363,66 @@ Feature: Case Management When the request is sent Then the response status is 200 OK + @skip @team:DataDog/case-management + Scenario: Update case custom attribute returns "Bad Request" response + Given new "UpdateCaseCustomAttribute" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And there is a valid "case" with a custom "case_type" in the system + And request contains "case_id" parameter from "case_with_type.id" + And request contains "custom_attribute_key" parameter from "custom_attribute.attributes.key" + And body with value {"data": {"attributes": {"type": "FLOAT", "is_multi": true, "value": [1.0, 2.4]}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case custom attribute returns "Not Found" response + Given new "UpdateCaseCustomAttribute" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And request contains "custom_attribute_key" parameter with value "invalid_key" + And body with value {"data": {"attributes": {"type": "TEXT", "is_multi": true, "value": ["Abba", "The Cure"]}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @skip @team:DataDog/case-management + Scenario: Update case custom attribute returns "OK" response + Given new "UpdateCaseCustomAttribute" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And there is a valid "case" with a custom "case_type" in the system + And request contains "case_id" parameter from "case_with_type.id" + And request contains "custom_attribute_key" parameter from "custom_attribute.attributes.key" + And body with value {"data": {"attributes": {"type": "TEXT", "is_multi": true, "value": ["Abba", "The Cure"]}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + + @skip @team:DataDog/case-management + Scenario: Update case description returns "Bad Request" response + Given new "UpdateCaseDescription" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"description": "Seeing some weird memory increase... We shouldn't ignore this"}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case description returns "Not Found" response + Given new "UpdateCaseDescription" request + And request contains "case_id" parameter with value "0198c6b0-2a0a-7bea-87ff-3876f119aebb" + And body with value {"data": {"attributes": {"description": "Seeing some weird memory increase... We shouldn't ignore this"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Update case description returns "OK" response + Given new "UpdateCaseDescription" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"description": "Seeing some weird memory increase... Updating the description"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK + @team:DataDog/case-management Scenario: Update case priority returns "Bad Request" response Given new "UpdatePriority" request @@ -342,3 +476,29 @@ Feature: Case Management When the request is sent Then the response status is 200 OK And the response "data.attributes.status" is equal to "IN_PROGRESS" + + @team:DataDog/case-management + Scenario: Update case title returns "Bad Request" response + Given new "UpdateCaseTitle" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"title": ""}, "type": "case"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Update case title returns "Not Found" response + Given new "UpdateCaseTitle" request + And request contains "case_id" parameter with value "0198c6b8-b08f-7c08-978a-d95217f2eeac" + And body with value {"data": {"attributes": {"title": "Memory leak investigation on API"}, "type": "case"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Update case title returns "OK" response + Given new "UpdateCaseTitle" request + And there is a valid "case" in the system + And request contains "case_id" parameter from "case.id" + And body with value {"data": {"attributes": {"title": "[UPDATED] Memory leak investigation on API"}, "type": "case"}} + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/case_management_attribute.feature b/features/v2/case_management_attribute.feature new file mode 100644 index 000000000000..19874bff6772 --- /dev/null +++ b/features/v2/case_management_attribute.feature @@ -0,0 +1,77 @@ +@endpoint(case-management-attribute) @endpoint(case-management-attribute-v2) +Feature: Case Management Attribute + View and configure custom attributes within Case Management. See the [Case + Management + page](https://docs.datadoghq.com/service_management/case_management/) for + more information. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "CaseManagementAttribute" API + + @team:DataDog/case-management + Scenario: Create custom attribute config for a case type returns "Bad Request" response + Given new "CreateCustomAttributeConfig" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + And body with value {"data": {"attributes": {"display_name": "AWS Region {{uuid}}", "is_multi": true, "key": "region_{{unique_hash}}", "type": "FLOAT"}, "type": "custom_attribute"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Create custom attribute config for a case type returns "CREATED" response + Given new "CreateCustomAttributeConfig" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + And body with value {"data": {"attributes": {"display_name": "AWS Region {{uuid}}", "is_multi": true, "key": "region_{{unique_hash}}", "type": "NUMBER"}, "type": "custom_attribute"}} + When the request is sent + Then the response status is 201 CREATED + + @team:DataDog/case-management + Scenario: Create custom attribute config for a case type returns "Not Found" response + Given new "CreateCustomAttributeConfig" request + And request contains "case_type_id" parameter with value "9fd476d7-a955-454a-851d-980c655c02d3" + And body with value {"data": {"attributes": {"display_name": "AWS Region {{uuid}}", "is_multi": true, "key": "region_{{unique_hash}}", "type": "NUMBER"}, "type": "custom_attribute"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/case-management + Scenario: Delete custom attributes config returns "Bad Request" response + Given new "DeleteCustomAttributeConfig" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + And request contains "custom_attribute_id" parameter with value "not-an-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @skip @team:DataDog/case-management + Scenario: Delete custom attributes config returns "No Content" response + Given new "DeleteCustomAttributeConfig" request + And there is a valid "case_type" in the system + And there is a valid "custom_attribute" in the system + And request contains "case_type_id" parameter from "case_type.id" + And request contains "custom_attribute_id" parameter from "custom_attribute.id" + When the request is sent + Then the response status is 204 No Content + + @skip @team:DataDog/case-management + Scenario: Get all custom attributes config of case type returns "Bad Request" response + Given new "GetAllCustomAttributeConfigsByCaseType" request + And request contains "case_type_id" parameter with value "not-an-uuid" + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Get all custom attributes config of case type returns "OK" response + Given new "GetAllCustomAttributeConfigsByCaseType" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + When the request is sent + Then the response status is 200 OK + + @team:DataDog/case-management + Scenario: Get all custom attributes returns "OK" response + Given new "GetAllCustomAttributes" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/case_management_type.feature b/features/v2/case_management_type.feature new file mode 100644 index 000000000000..0773d7d241b5 --- /dev/null +++ b/features/v2/case_management_type.feature @@ -0,0 +1,46 @@ +@endpoint(case-management-type) @endpoint(case-management-type-v2) +Feature: Case Management Type + View and configure case types within Case Management. See the [Case + Management + page](https://docs.datadoghq.com/service_management/case_management/) for + more information. + + Background: + Given a valid "apiKeyAuth" key in the system + And a valid "appKeyAuth" key in the system + And an instance of "CaseManagementType" API + + @team:DataDog/case-management + Scenario: Create a case type returns "Bad Request" response + Given new "CreateCaseType" request + And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "notanemoji", "name": "Investigation"}, "type": "case_type"}} + When the request is sent + Then the response status is 400 Bad Request + + @team:DataDog/case-management + Scenario: Create a case type returns "CREATED" response + Given new "CreateCaseType" request + And body with value {"data": {"attributes": {"description": "Investigations done in case management", "emoji": "👑", "name": "Investigation"}, "type": "case_type"}} + When the request is sent + Then the response status is 201 CREATED + + @generated @skip @team:DataDog/case-management + Scenario: Delete a case type returns "No Content" response + Given new "DeleteCaseType" request + And request contains "case_type_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 204 No Content + + @team:DataDog/case-management + Scenario: Delete a case type returns "NotContent" response + Given new "DeleteCaseType" request + And there is a valid "case_type" in the system + And request contains "case_type_id" parameter from "case_type.id" + When the request is sent + Then the response status is 204 OK + + @team:DataDog/case-management + Scenario: Get all case types returns "OK" response + Given new "GetAllCaseTypes" request + When the request is sent + Then the response status is 200 OK diff --git a/features/v2/given.json b/features/v2/given.json index b6097093658a..23091a1f79b1 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -87,7 +87,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type\": \"STANDARD\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" + "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type_id\": \"00000000-0000-0000-0000-000000000001\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" } ], "source": "data", @@ -96,6 +96,66 @@ "tag": "Case Management", "operationId": "CreateCase" }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"attributes\": {\n \"title\": \"My new case\",\n \"type_id\": \"{{ case_type.id }}\",\n \"priority\": \"P4\"\n },\n \"relationships\": {\n \"project\": {\n \"data\": {\n \"id\": \"d4bbe1af-f36e-42f1-87c1-493ca35c320e\",\n \"type\": \"project\"\n }\n }\n },\n \"type\": \"case\"\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"case\" with a custom \"case_type\" in the system", + "key": "case_with_type", + "tag": "Case Management", + "operationId": "CreateCase" + }, + { + "parameters": [ + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"case_type\",\n \"attributes\": {\n \"description\": \"Worldwide case type\",\n \"emoji\": \"\ud83c\udf0d\",\n \"name\": \"World\"\n }\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"case_type\" in the system", + "key": "case_type", + "tag": "Case Management Type", + "operationId": "CreateCaseType" + }, + { + "parameters": [ + { + "name": "case_type_id", + "source": "case_type.id" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"custom_attribute\",\n \"attributes\": {\n \"display_name\":\"Attribute {{uuid}}\",\n \"key\":\"attribute_{{unique_hash}}\",\n \"description\":\"And its brand new description\",\n \"type\":\"TEXT\",\n \"is_multi\":true\n }\n }\n}" + } + ], + "source": "data", + "step": "there is a valid \"custom_attribute\" in the system", + "key": "custom_attribute", + "tag": "Case Management Attribute", + "operationId": "CreateCustomAttributeConfig" + }, + { + "parameters": [ + { + "name": "case_id", + "source": "case.id" + }, + { + "name": "body", + "value": "{\n \"data\": {\n \"type\": \"case\",\n \"attributes\": {\n \"comment\": \"This is my new comment !\"\n }\n }\n}" + } + ], + "source": "data[0]", + "step": "there is a valid \"comment\" in the system", + "key": "comment", + "tag": "Case Management", + "operationId": "CommentCase" + }, { "parameters": [ { diff --git a/features/v2/undo.json b/features/v2/undo.json index 9878d7a46785..a5f5cd152e37 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -428,6 +428,55 @@ "type": "safe" } }, + "GetAllCaseTypes": { + "tag": "Case Management Type", + "undo": { + "type": "safe" + } + }, + "CreateCaseType": { + "tag": "Case Management Type", + "undo": { + "operationId": "DeleteCaseType", + "parameters": [ + { + "name": "case_type_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "GetAllCustomAttributes": { + "tag": "Case Management Attribute", + "undo": { + "type": "safe" + } + }, + "DeleteCaseType": { + "tag": "Case Management Type", + "undo": { + "type": "idempotent" + } + }, + "GetAllCustomAttributeConfigsByCaseType": { + "tag": "Case Management Attribute", + "undo": { + "type": "safe" + } + }, + "CreateCustomAttributeConfig": { + "tag": "Case Management Attribute", + "undo": { + "type": "safe" + } + }, + "DeleteCustomAttributeConfig": { + "tag": "Case Management Attribute", + "undo": { + "type": "idempotent" + } + }, "GetCase": { "tag": "Case Management", "undo": { @@ -452,6 +501,36 @@ "type": "idempotent" } }, + "CommentCase": { + "tag": "Case Management", + "undo": { + "type": "safe" + } + }, + "DeleteCaseComment": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, + "DeleteCaseCustomAttribute": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, + "UpdateCaseCustomAttribute": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, + "UpdateCaseDescription": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, "UpdatePriority": { "tag": "Case Management", "undo": { @@ -464,6 +543,12 @@ "type": "idempotent" } }, + "UpdateCaseTitle": { + "tag": "Case Management", + "undo": { + "type": "idempotent" + } + }, "UnarchiveCase": { "tag": "Case Management", "undo": { diff --git a/packages/datadog-api-client/README.md b/packages/datadog-api-client/README.md index 2d5dc09f45c4..3c96bc968fd5 100644 --- a/packages/datadog-api-client/README.md +++ b/packages/datadog-api-client/README.md @@ -359,6 +359,8 @@ apiInstance | AWS Logs Integration | @datadog/datadog-api-client-aws-logs-integration | [README.md](../../services/aws-logs-integration/README.md) | | Azure Integration | @datadog/datadog-api-client-azure-integration | [README.md](../../services/azure-integration/README.md) | | Case Management | @datadog/datadog-api-client-case-management | [README.md](../../services/case-management/README.md) | +| Case Management Attribute | @datadog/datadog-api-client-case-management-attribute | [README.md](../../services/case-management-attribute/README.md) | +| Case Management Type | @datadog/datadog-api-client-case-management-type | [README.md](../../services/case-management-type/README.md) | | CI Visibility Pipelines | @datadog/datadog-api-client-ci-visibility-pipelines | [README.md](../../services/ci-visibility-pipelines/README.md) | | CI Visibility Tests | @datadog/datadog-api-client-ci-visibility-tests | [README.md](../../services/ci-visibility-tests/README.md) | | Cloud Cost Management | @datadog/datadog-api-client-cloud-cost-management | [README.md](../../services/cloud-cost-management/README.md) | diff --git a/private/bdd_runner/src/support/scenarios_model_mapping.ts b/private/bdd_runner/src/support/scenarios_model_mapping.ts index f3029488d450..369b976e9777 100644 --- a/private/bdd_runner/src/support/scenarios_model_mapping.ts +++ b/private/bdd_runner/src/support/scenarios_model_mapping.ts @@ -3080,6 +3080,65 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = { }, operationResponseType: "CaseResponse", }, + "CaseManagementApi.V2.CommentCase": { + caseId: { + type: "string", + format: "", + }, + body: { + type: "CaseCommentRequest", + format: "", + }, + operationResponseType: "TimelineResponse", + }, + "CaseManagementApi.V2.DeleteCaseComment": { + caseId: { + type: "string", + format: "", + }, + cellId: { + type: "string", + format: "", + }, + operationResponseType: "{}", + }, + "CaseManagementApi.V2.UpdateCaseCustomAttribute": { + caseId: { + type: "string", + format: "", + }, + customAttributeKey: { + type: "string", + format: "", + }, + body: { + type: "CaseUpdateCustomAttributeRequest", + format: "", + }, + operationResponseType: "CaseResponse", + }, + "CaseManagementApi.V2.DeleteCaseCustomAttribute": { + caseId: { + type: "string", + format: "", + }, + customAttributeKey: { + type: "string", + format: "", + }, + operationResponseType: "CaseResponse", + }, + "CaseManagementApi.V2.UpdateCaseDescription": { + caseId: { + type: "string", + format: "", + }, + body: { + type: "CaseUpdateDescriptionRequest", + format: "", + }, + operationResponseType: "CaseResponse", + }, "CaseManagementApi.V2.UpdatePriority": { caseId: { type: "string", @@ -3102,6 +3161,17 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = { }, operationResponseType: "CaseResponse", }, + "CaseManagementApi.V2.UpdateCaseTitle": { + caseId: { + type: "string", + format: "", + }, + body: { + type: "CaseUpdateTitleRequest", + format: "", + }, + operationResponseType: "CaseResponse", + }, "CaseManagementApi.V2.UnarchiveCase": { caseId: { type: "string", @@ -3124,6 +3194,55 @@ export const ScenariosModelMappings: { [key: string]: OperationMapping } = { }, operationResponseType: "CaseResponse", }, + "CaseManagementTypeApi.V2.GetAllCaseTypes": { + operationResponseType: "CaseTypesResponse", + }, + "CaseManagementTypeApi.V2.CreateCaseType": { + body: { + type: "CaseTypeCreateRequest", + format: "", + }, + operationResponseType: "CaseTypeResponse", + }, + "CaseManagementTypeApi.V2.DeleteCaseType": { + caseTypeId: { + type: "string", + format: "", + }, + operationResponseType: "{}", + }, + "CaseManagementAttributeApi.V2.GetAllCustomAttributes": { + operationResponseType: "CustomAttributeConfigsResponse", + }, + "CaseManagementAttributeApi.V2.GetAllCustomAttributeConfigsByCaseType": { + caseTypeId: { + type: "string", + format: "", + }, + operationResponseType: "CustomAttributeConfigsResponse", + }, + "CaseManagementAttributeApi.V2.CreateCustomAttributeConfig": { + caseTypeId: { + type: "string", + format: "", + }, + body: { + type: "CustomAttributeConfigCreateRequest", + format: "", + }, + operationResponseType: "CustomAttributeConfigResponse", + }, + "CaseManagementAttributeApi.V2.DeleteCustomAttributeConfig": { + caseTypeId: { + type: "string", + format: "", + }, + customAttributeId: { + type: "string", + format: "", + }, + operationResponseType: "{}", + }, "SoftwareCatalogApi.V2.ListCatalogEntity": { pageOffset: { type: "number", diff --git a/services/case_management/src/v2/CaseManagementApi.ts b/services/case_management/src/v2/CaseManagementApi.ts index d61ee183a145..bfb23c046de7 100644 --- a/services/case_management/src/v2/CaseManagementApi.ts +++ b/services/case_management/src/v2/CaseManagementApi.ts @@ -25,17 +25,22 @@ import { TypingInfo } from "./models/TypingInfo"; import { APIErrorResponse } from "./models/APIErrorResponse"; import { Case } from "./models/Case"; import { CaseAssignRequest } from "./models/CaseAssignRequest"; +import { CaseCommentRequest } from "./models/CaseCommentRequest"; import { CaseCreateRequest } from "./models/CaseCreateRequest"; import { CaseEmptyRequest } from "./models/CaseEmptyRequest"; import { CaseResponse } from "./models/CaseResponse"; import { CaseSortableField } from "./models/CaseSortableField"; import { CasesResponse } from "./models/CasesResponse"; import { CaseUpdateAttributesRequest } from "./models/CaseUpdateAttributesRequest"; +import { CaseUpdateCustomAttributeRequest } from "./models/CaseUpdateCustomAttributeRequest"; +import { CaseUpdateDescriptionRequest } from "./models/CaseUpdateDescriptionRequest"; import { CaseUpdatePriorityRequest } from "./models/CaseUpdatePriorityRequest"; import { CaseUpdateStatusRequest } from "./models/CaseUpdateStatusRequest"; +import { CaseUpdateTitleRequest } from "./models/CaseUpdateTitleRequest"; import { ProjectCreateRequest } from "./models/ProjectCreateRequest"; import { ProjectResponse } from "./models/ProjectResponse"; import { ProjectsResponse } from "./models/ProjectsResponse"; +import { TimelineResponse } from "./models/TimelineResponse"; import { version } from "../version"; export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { @@ -167,6 +172,65 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async commentCase( + caseId: string, + body: CaseCommentRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "commentCase"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "commentCase"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/comment".replace( + "{case_id}", + encodeURIComponent(String(caseId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.commentCase", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CaseCommentRequest", ""), + contentType, + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async createCase( body: CaseCreateRequest, _options?: Configuration, @@ -269,6 +333,112 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async deleteCaseComment( + caseId: string, + cellId: string, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "deleteCaseComment"); + } + + // verify required parameter 'cellId' is not null or undefined + if (cellId === null || cellId === undefined) { + throw new RequiredError("cellId", "deleteCaseComment"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/comment/{cell_id}" + .replace("{case_id}", encodeURIComponent(String(caseId))) + .replace("{cell_id}", encodeURIComponent(String(cellId))); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.deleteCaseComment", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.DELETE, + overrides, + ); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async deleteCaseCustomAttribute( + caseId: string, + customAttributeKey: string, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "deleteCaseCustomAttribute"); + } + + // verify required parameter 'customAttributeKey' is not null or undefined + if (customAttributeKey === null || customAttributeKey === undefined) { + throw new RequiredError( + "customAttributeKey", + "deleteCaseCustomAttribute", + ); + } + + // Path Params + const localVarPath = + "/api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}" + .replace("{case_id}", encodeURIComponent(String(caseId))) + .replace( + "{custom_attribute_key}", + encodeURIComponent(String(customAttributeKey)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.deleteCaseCustomAttribute", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.DELETE, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + "AuthZ", + ]); + + return requestContext; + } + public async deleteProject( projectId: string, _options?: Configuration, @@ -696,32 +866,44 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } - public async updatePriority( + public async updateCaseCustomAttribute( caseId: string, - body: CaseUpdatePriorityRequest, + customAttributeKey: string, + body: CaseUpdateCustomAttributeRequest, _options?: Configuration, ): Promise { const _config = _options || this.configuration; // verify required parameter 'caseId' is not null or undefined if (caseId === null || caseId === undefined) { - throw new RequiredError("caseId", "updatePriority"); + throw new RequiredError("caseId", "updateCaseCustomAttribute"); + } + + // verify required parameter 'customAttributeKey' is not null or undefined + if (customAttributeKey === null || customAttributeKey === undefined) { + throw new RequiredError( + "customAttributeKey", + "updateCaseCustomAttribute", + ); } // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("body", "updatePriority"); + throw new RequiredError("body", "updateCaseCustomAttribute"); } // Path Params - const localVarPath = "/api/v2/cases/{case_id}/priority".replace( - "{case_id}", - encodeURIComponent(String(caseId)), - ); + const localVarPath = + "/api/v2/cases/{case_id}/custom_attributes/{custom_attribute_key}" + .replace("{case_id}", encodeURIComponent(String(caseId))) + .replace( + "{custom_attribute_key}", + encodeURIComponent(String(customAttributeKey)), + ); // Make Request Context const { server, overrides } = _config.getServerAndOverrides( - "CaseManagementApi.v2.updatePriority", + "CaseManagementApi.v2.updateCaseCustomAttribute", CaseManagementApi.operationServers, ); const requestContext = server.makeRequestContext( @@ -741,7 +923,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { const contentType = getPreferredMediaType(["application/json"]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = stringify( - serialize(body, TypingInfo, "CaseUpdatePriorityRequest", ""), + serialize(body, TypingInfo, "CaseUpdateCustomAttributeRequest", ""), contentType, ); requestContext.setBody(serializedBody); @@ -756,32 +938,32 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } - public async updateStatus( + public async updateCaseDescription( caseId: string, - body: CaseUpdateStatusRequest, + body: CaseUpdateDescriptionRequest, _options?: Configuration, ): Promise { const _config = _options || this.configuration; // verify required parameter 'caseId' is not null or undefined if (caseId === null || caseId === undefined) { - throw new RequiredError("caseId", "updateStatus"); + throw new RequiredError("caseId", "updateCaseDescription"); } // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { - throw new RequiredError("body", "updateStatus"); + throw new RequiredError("body", "updateCaseDescription"); } // Path Params - const localVarPath = "/api/v2/cases/{case_id}/status".replace( + const localVarPath = "/api/v2/cases/{case_id}/description".replace( "{case_id}", encodeURIComponent(String(caseId)), ); // Make Request Context const { server, overrides } = _config.getServerAndOverrides( - "CaseManagementApi.v2.updateStatus", + "CaseManagementApi.v2.updateCaseDescription", CaseManagementApi.operationServers, ); const requestContext = server.makeRequestContext( @@ -801,7 +983,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { const contentType = getPreferredMediaType(["application/json"]); requestContext.setHeaderParam("Content-Type", contentType); const serializedBody = stringify( - serialize(body, TypingInfo, "CaseUpdateStatusRequest", ""), + serialize(body, TypingInfo, "CaseUpdateDescriptionRequest", ""), contentType, ); requestContext.setBody(serializedBody); @@ -815,72 +997,252 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } -} -export class CaseManagementApiResponseProcessor { - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects - * - * @params response Response returned by the server for a request to archiveCase - * @throws ApiException if the response code was not in [200, 299] - */ - public async archiveCase(response: ResponseContext): Promise { - const contentType = normalizeMediaType(response.headers["content-type"]); - if (response.httpStatusCode === 200) { - const body: CaseResponse = deserialize( - parse(await response.body.text(), contentType), - TypingInfo, - "CaseResponse", - ) as CaseResponse; - return body; + public async updateCaseTitle( + caseId: string, + body: CaseUpdateTitleRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "updateCaseTitle"); } - if ( - response.httpStatusCode === 400 || - response.httpStatusCode === 401 || - response.httpStatusCode === 403 || - response.httpStatusCode === 404 || - response.httpStatusCode === 429 - ) { - const bodyText = parse(await response.body.text(), contentType); - let body: APIErrorResponse; - try { - body = deserialize( - bodyText, - TypingInfo, - "APIErrorResponse", - ) as APIErrorResponse; - } catch (error) { - logger.debug(`Got error deserializing error: ${error}`); - throw new ApiException( - response.httpStatusCode, - bodyText, - ); - } - throw new ApiException(response.httpStatusCode, body); + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updateCaseTitle"); } - // Work around for missing responses in specification, e.g. for petstore.yaml - if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: CaseResponse = deserialize( - parse(await response.body.text(), contentType), - TypingInfo, - "CaseResponse", - "", - ) as CaseResponse; - return body; + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/title".replace( + "{case_id}", + encodeURIComponent(String(caseId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.updateCaseTitle", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); } - const body = (await response.body.text()) || ""; - throw new ApiException( - response.httpStatusCode, - 'Unknown API Status Code!\nBody: "' + body + '"', + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CaseUpdateTitleRequest", ""), + contentType, ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + "AuthZ", + ]); + + return requestContext; } - /** - * Unwraps the actual response sent by the server from the response context and deserializes the response content - * to the expected objects + public async updatePriority( + caseId: string, + body: CaseUpdatePriorityRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "updatePriority"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updatePriority"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/priority".replace( + "{case_id}", + encodeURIComponent(String(caseId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.updatePriority", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CaseUpdatePriorityRequest", ""), + contentType, + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + "AuthZ", + ]); + + return requestContext; + } + + public async updateStatus( + caseId: string, + body: CaseUpdateStatusRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseId' is not null or undefined + if (caseId === null || caseId === undefined) { + throw new RequiredError("caseId", "updateStatus"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updateStatus"); + } + + // Path Params + const localVarPath = "/api/v2/cases/{case_id}/status".replace( + "{case_id}", + encodeURIComponent(String(caseId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementApi.v2.updateStatus", + CaseManagementApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CaseUpdateStatusRequest", ""), + contentType, + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + "AuthZ", + ]); + + return requestContext; + } +} + +export class CaseManagementApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to archiveCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async archiveCase(response: ResponseContext): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: CaseResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseResponse", + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseResponse", + "", + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects * * @params response Response returned by the server for a request to assignCase * @throws ApiException if the response code was not in [200, 299] @@ -938,6 +1300,68 @@ export class CaseManagementApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to commentCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async commentCase( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: TimelineResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "TimelineResponse", + ) as TimelineResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: TimelineResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "TimelineResponse", + "", + ) as TimelineResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -1060,6 +1484,116 @@ export class CaseManagementApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCaseComment + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCaseComment(response: ResponseContext): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + return; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCaseCustomAttribute + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCaseCustomAttribute( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: CaseResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseResponse", + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseResponse", + "", + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -1069,10 +1603,186 @@ export class CaseManagementApiResponseProcessor { */ public async deleteProject(response: ResponseContext): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); - if (response.httpStatusCode === 204) { - return; + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + return; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getCase + * @throws ApiException if the response code was not in [200, 299] + */ + public async getCase(response: ResponseContext): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: CaseResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseResponse", + ) as CaseResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseResponse", + "", + ) as CaseResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getProject + * @throws ApiException if the response code was not in [200, 299] + */ + public async getProject(response: ResponseContext): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: ProjectResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "ProjectResponse", + ) as ProjectResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: ProjectResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "ProjectResponse", + "", + ) as ProjectResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getProjects + * @throws ApiException if the response code was not in [200, 299] + */ + public async getProjects( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: ProjectsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "ProjectsResponse", + ) as ProjectsResponse; + return body; } if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || response.httpStatusCode === 403 || response.httpStatusCode === 404 || response.httpStatusCode === 429 @@ -1097,7 +1807,13 @@ export class CaseManagementApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - return; + const body: ProjectsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "ProjectsResponse", + "", + ) as ProjectsResponse; + return body; } const body = (await response.body.text()) || ""; @@ -1111,17 +1827,17 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to getCase + * @params response Response returned by the server for a request to searchCases * @throws ApiException if the response code was not in [200, 299] */ - public async getCase(response: ResponseContext): Promise { + public async searchCases(response: ResponseContext): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); if (response.httpStatusCode === 200) { - const body: CaseResponse = deserialize( + const body: CasesResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "CaseResponse", - ) as CaseResponse; + "CasesResponse", + ) as CasesResponse; return body; } if ( @@ -1151,12 +1867,12 @@ export class CaseManagementApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: CaseResponse = deserialize( + const body: CasesResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "CaseResponse", + "CasesResponse", "", - ) as CaseResponse; + ) as CasesResponse; return body; } @@ -1171,17 +1887,17 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to getProject + * @params response Response returned by the server for a request to unarchiveCase * @throws ApiException if the response code was not in [200, 299] */ - public async getProject(response: ResponseContext): Promise { + public async unarchiveCase(response: ResponseContext): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); if (response.httpStatusCode === 200) { - const body: ProjectResponse = deserialize( + const body: CaseResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "ProjectResponse", - ) as ProjectResponse; + "CaseResponse", + ) as CaseResponse; return body; } if ( @@ -1211,12 +1927,12 @@ export class CaseManagementApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: ProjectResponse = deserialize( + const body: CaseResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "ProjectResponse", + "CaseResponse", "", - ) as ProjectResponse; + ) as CaseResponse; return body; } @@ -1231,19 +1947,17 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to getProjects + * @params response Response returned by the server for a request to unassignCase * @throws ApiException if the response code was not in [200, 299] */ - public async getProjects( - response: ResponseContext, - ): Promise { + public async unassignCase(response: ResponseContext): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); if (response.httpStatusCode === 200) { - const body: ProjectsResponse = deserialize( + const body: CaseResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "ProjectsResponse", - ) as ProjectsResponse; + "CaseResponse", + ) as CaseResponse; return body; } if ( @@ -1273,12 +1987,12 @@ export class CaseManagementApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: ProjectsResponse = deserialize( + const body: CaseResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "ProjectsResponse", + "CaseResponse", "", - ) as ProjectsResponse; + ) as CaseResponse; return body; } @@ -1293,17 +2007,19 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to searchCases + * @params response Response returned by the server for a request to updateAttributes * @throws ApiException if the response code was not in [200, 299] */ - public async searchCases(response: ResponseContext): Promise { + public async updateAttributes( + response: ResponseContext, + ): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); if (response.httpStatusCode === 200) { - const body: CasesResponse = deserialize( + const body: CaseResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "CasesResponse", - ) as CasesResponse; + "CaseResponse", + ) as CaseResponse; return body; } if ( @@ -1333,12 +2049,12 @@ export class CaseManagementApiResponseProcessor { // Work around for missing responses in specification, e.g. for petstore.yaml if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { - const body: CasesResponse = deserialize( + const body: CaseResponse = deserialize( parse(await response.body.text(), contentType), TypingInfo, - "CasesResponse", + "CaseResponse", "", - ) as CasesResponse; + ) as CaseResponse; return body; } @@ -1353,10 +2069,12 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to unarchiveCase + * @params response Response returned by the server for a request to updateCaseCustomAttribute * @throws ApiException if the response code was not in [200, 299] */ - public async unarchiveCase(response: ResponseContext): Promise { + public async updateCaseCustomAttribute( + response: ResponseContext, + ): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); if (response.httpStatusCode === 200) { const body: CaseResponse = deserialize( @@ -1413,10 +2131,12 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to unassignCase + * @params response Response returned by the server for a request to updateCaseDescription * @throws ApiException if the response code was not in [200, 299] */ - public async unassignCase(response: ResponseContext): Promise { + public async updateCaseDescription( + response: ResponseContext, + ): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); if (response.httpStatusCode === 200) { const body: CaseResponse = deserialize( @@ -1473,10 +2193,10 @@ export class CaseManagementApiResponseProcessor { * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * - * @params response Response returned by the server for a request to updateAttributes + * @params response Response returned by the server for a request to updateCaseTitle * @throws ApiException if the response code was not in [200, 299] */ - public async updateAttributes( + public async updateCaseTitle( response: ResponseContext, ): Promise { const contentType = normalizeMediaType(response.headers["content-type"]); @@ -1680,6 +2400,19 @@ export interface CaseManagementApiAssignCaseRequest { body: CaseAssignRequest; } +export interface CaseManagementApiCommentCaseRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case comment payload + * @type CaseCommentRequest + */ + body: CaseCommentRequest; +} + export interface CaseManagementApiCreateCaseRequest { /** * Case payload @@ -1696,6 +2429,32 @@ export interface CaseManagementApiCreateProjectRequest { body: ProjectCreateRequest; } +export interface CaseManagementApiDeleteCaseCommentRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Timeline cell's UUID + * @type string + */ + cellId: string; +} + +export interface CaseManagementApiDeleteCaseCustomAttributeRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case Custom attribute's key + * @type string + */ + customAttributeKey: string; +} + export interface CaseManagementApiDeleteProjectRequest { /** * Project UUID @@ -1787,6 +2546,50 @@ export interface CaseManagementApiUpdateAttributesRequest { body: CaseUpdateAttributesRequest; } +export interface CaseManagementApiUpdateCaseCustomAttributeRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case Custom attribute's key + * @type string + */ + customAttributeKey: string; + /** + * Update case custom attribute payload + * @type CaseUpdateCustomAttributeRequest + */ + body: CaseUpdateCustomAttributeRequest; +} + +export interface CaseManagementApiUpdateCaseDescriptionRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case description update payload + * @type CaseUpdateDescriptionRequest + */ + body: CaseUpdateDescriptionRequest; +} + +export interface CaseManagementApiUpdateCaseTitleRequest { + /** + * Case's UUID or key + * @type string + */ + caseId: string; + /** + * Case title update payload + * @type CaseUpdateTitleRequest + */ + body: CaseUpdateTitleRequest; +} + export interface CaseManagementApiUpdatePriorityRequest { /** * Case's UUID or key @@ -1876,6 +2679,28 @@ export class CaseManagementApi { }); } + /** + * Comment case + * @param param The request object + */ + public commentCase( + param: CaseManagementApiCommentCaseRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.commentCase( + param.caseId, + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.commentCase(responseContext); + }); + }); + } + /** * Create a Case * @param param The request object @@ -1918,6 +2743,52 @@ export class CaseManagementApi { }); } + /** + * Delete case comment + * @param param The request object + */ + public deleteCaseComment( + param: CaseManagementApiDeleteCaseCommentRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.deleteCaseComment( + param.caseId, + param.cellId, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteCaseComment(responseContext); + }); + }); + } + + /** + * Delete custom attribute from case + * @param param The request object + */ + public deleteCaseCustomAttribute( + param: CaseManagementApiDeleteCaseCustomAttributeRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.deleteCaseCustomAttribute( + param.caseId, + param.customAttributeKey, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteCaseCustomAttribute( + responseContext, + ); + }); + }); + } + /** * Remove a project using the project's `id`. * @param param The request object @@ -2129,6 +3000,75 @@ export class CaseManagementApi { }); } + /** + * Update case custom attribute + * @param param The request object + */ + public updateCaseCustomAttribute( + param: CaseManagementApiUpdateCaseCustomAttributeRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.updateCaseCustomAttribute( + param.caseId, + param.customAttributeKey, + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateCaseCustomAttribute( + responseContext, + ); + }); + }); + } + + /** + * Update case description + * @param param The request object + */ + public updateCaseDescription( + param: CaseManagementApiUpdateCaseDescriptionRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.updateCaseDescription( + param.caseId, + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateCaseDescription(responseContext); + }); + }); + } + + /** + * Update case title + * @param param The request object + */ + public updateCaseTitle( + param: CaseManagementApiUpdateCaseTitleRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.updateCaseTitle( + param.caseId, + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateCaseTitle(responseContext); + }); + }); + } + /** * Update case priority * @param param The request object diff --git a/services/case_management/src/v2/index.ts b/services/case_management/src/v2/index.ts index c03dcbe29dee..e291f79a0b84 100644 --- a/services/case_management/src/v2/index.ts +++ b/services/case_management/src/v2/index.ts @@ -1,8 +1,11 @@ export { CaseManagementApiArchiveCaseRequest, CaseManagementApiAssignCaseRequest, + CaseManagementApiCommentCaseRequest, CaseManagementApiCreateCaseRequest, CaseManagementApiCreateProjectRequest, + CaseManagementApiDeleteCaseCommentRequest, + CaseManagementApiDeleteCaseCustomAttributeRequest, CaseManagementApiDeleteProjectRequest, CaseManagementApiGetCaseRequest, CaseManagementApiGetProjectRequest, @@ -10,6 +13,9 @@ export { CaseManagementApiUnarchiveCaseRequest, CaseManagementApiUnassignCaseRequest, CaseManagementApiUpdateAttributesRequest, + CaseManagementApiUpdateCaseCustomAttributeRequest, + CaseManagementApiUpdateCaseDescriptionRequest, + CaseManagementApiUpdateCaseTitleRequest, CaseManagementApiUpdatePriorityRequest, CaseManagementApiUpdateStatusRequest, CaseManagementApi, @@ -22,6 +28,9 @@ export { CaseAssign } from "./models/CaseAssign"; export { CaseAssignAttributes } from "./models/CaseAssignAttributes"; export { CaseAssignRequest } from "./models/CaseAssignRequest"; export { CaseAttributes } from "./models/CaseAttributes"; +export { CaseComment } from "./models/CaseComment"; +export { CaseCommentAttributes } from "./models/CaseCommentAttributes"; +export { CaseCommentRequest } from "./models/CaseCommentRequest"; export { CaseCreate } from "./models/CaseCreate"; export { CaseCreateAttributes } from "./models/CaseCreateAttributes"; export { CaseCreateRelationships } from "./models/CaseCreateRelationships"; @@ -41,12 +50,23 @@ export { CaseType } from "./models/CaseType"; export { CaseUpdateAttributes } from "./models/CaseUpdateAttributes"; export { CaseUpdateAttributesAttributes } from "./models/CaseUpdateAttributesAttributes"; export { CaseUpdateAttributesRequest } from "./models/CaseUpdateAttributesRequest"; +export { CaseUpdateCustomAttribute } from "./models/CaseUpdateCustomAttribute"; +export { CaseUpdateCustomAttributeRequest } from "./models/CaseUpdateCustomAttributeRequest"; +export { CaseUpdateDescription } from "./models/CaseUpdateDescription"; +export { CaseUpdateDescriptionAttributes } from "./models/CaseUpdateDescriptionAttributes"; +export { CaseUpdateDescriptionRequest } from "./models/CaseUpdateDescriptionRequest"; export { CaseUpdatePriority } from "./models/CaseUpdatePriority"; export { CaseUpdatePriorityAttributes } from "./models/CaseUpdatePriorityAttributes"; export { CaseUpdatePriorityRequest } from "./models/CaseUpdatePriorityRequest"; export { CaseUpdateStatus } from "./models/CaseUpdateStatus"; export { CaseUpdateStatusAttributes } from "./models/CaseUpdateStatusAttributes"; export { CaseUpdateStatusRequest } from "./models/CaseUpdateStatusRequest"; +export { CaseUpdateTitle } from "./models/CaseUpdateTitle"; +export { CaseUpdateTitleAttributes } from "./models/CaseUpdateTitleAttributes"; +export { CaseUpdateTitleRequest } from "./models/CaseUpdateTitleRequest"; +export { CustomAttributeType } from "./models/CustomAttributeType"; +export { CustomAttributeValue } from "./models/CustomAttributeValue"; +export { CustomAttributeValuesUnion } from "./models/CustomAttributeValuesUnion"; export { JiraIssue } from "./models/JiraIssue"; export { JiraIssueResult } from "./models/JiraIssueResult"; export { NullableUserRelationship } from "./models/NullableUserRelationship"; @@ -68,6 +88,17 @@ export { ServiceNowTicket } from "./models/ServiceNowTicket"; export { ServiceNowTicketResult } from "./models/ServiceNowTicketResult"; export { TeamLinkType } from "./models/TeamLinkType"; export { TeamRelationshipsLinks } from "./models/TeamRelationshipsLinks"; +export { TimelineCell } from "./models/TimelineCell"; +export { TimelineCellAuthor } from "./models/TimelineCellAuthor"; +export { TimelineCellAuthorUser } from "./models/TimelineCellAuthorUser"; +export { TimelineCellAuthorUserContent } from "./models/TimelineCellAuthorUserContent"; +export { TimelineCellAuthorUserType } from "./models/TimelineCellAuthorUserType"; +export { TimelineCellContent } from "./models/TimelineCellContent"; +export { TimelineCellContentComment } from "./models/TimelineCellContentComment"; +export { TimelineCellResource } from "./models/TimelineCellResource"; +export { TimelineCellResourceType } from "./models/TimelineCellResourceType"; +export { TimelineCellType } from "./models/TimelineCellType"; +export { TimelineResponse } from "./models/TimelineResponse"; export { UserRelationshipData } from "./models/UserRelationshipData"; export { UserResourceType } from "./models/UserResourceType"; export { UsersRelationship } from "./models/UsersRelationship"; diff --git a/services/case_management/src/v2/models/CaseAttributes.ts b/services/case_management/src/v2/models/CaseAttributes.ts index 05e474388f78..dfce07105c30 100644 --- a/services/case_management/src/v2/models/CaseAttributes.ts +++ b/services/case_management/src/v2/models/CaseAttributes.ts @@ -3,6 +3,7 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client"; import { CasePriority } from "./CasePriority"; import { CaseStatus } from "./CaseStatus"; import { CaseType } from "./CaseType"; +import { CustomAttributeValue } from "./CustomAttributeValue"; import { JiraIssue } from "./JiraIssue"; import { ServiceNowTicket } from "./ServiceNowTicket"; @@ -26,6 +27,10 @@ export class CaseAttributes { * Timestamp of when the case was created */ "createdAt"?: Date; + /** + * Case custom attributes + */ + "customAttributes"?: { [key: string]: CustomAttributeValue }; /** * Description */ @@ -62,6 +67,10 @@ export class CaseAttributes { * Case type */ "type"?: CaseType; + /** + * Case type UUID + */ + "typeId"?: string; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -96,6 +105,10 @@ export class CaseAttributes { type: "Date", format: "date-time", }, + customAttributes: { + baseName: "custom_attributes", + type: "{ [key: string]: CustomAttributeValue; }", + }, description: { baseName: "description", type: "string", @@ -133,6 +146,10 @@ export class CaseAttributes { baseName: "type", type: "CaseType", }, + typeId: { + baseName: "type_id", + type: "string", + }, additionalProperties: { baseName: "additionalProperties", type: "{ [key: string]: any; }", diff --git a/services/case_management/src/v2/models/CaseComment.ts b/services/case_management/src/v2/models/CaseComment.ts new file mode 100644 index 000000000000..9fe4dbc7e969 --- /dev/null +++ b/services/case_management/src/v2/models/CaseComment.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseCommentAttributes } from "./CaseCommentAttributes"; +import { CaseResourceType } from "./CaseResourceType"; + +/** + * Case comment + */ +export class CaseComment { + /** + * Case comment attributes + */ + "attributes": CaseCommentAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseCommentAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseComment.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseCommentAttributes.ts b/services/case_management/src/v2/models/CaseCommentAttributes.ts new file mode 100644 index 000000000000..d41ac7ab70dc --- /dev/null +++ b/services/case_management/src/v2/models/CaseCommentAttributes.ts @@ -0,0 +1,45 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * Case comment attributes + */ +export class CaseCommentAttributes { + /** + * The `CaseCommentAttributes` `message`. + */ + "comment": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + comment: { + baseName: "comment", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCommentAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseCommentRequest.ts b/services/case_management/src/v2/models/CaseCommentRequest.ts new file mode 100644 index 000000000000..d85828f63ede --- /dev/null +++ b/services/case_management/src/v2/models/CaseCommentRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseComment } from "./CaseComment"; + +/** + * Case comment request + */ +export class CaseCommentRequest { + /** + * Case comment + */ + "data": CaseComment; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseComment", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseCommentRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseCreateAttributes.ts b/services/case_management/src/v2/models/CaseCreateAttributes.ts index 3de62001a7d5..2a6eab11d4cc 100644 --- a/services/case_management/src/v2/models/CaseCreateAttributes.ts +++ b/services/case_management/src/v2/models/CaseCreateAttributes.ts @@ -1,7 +1,6 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client"; import { CasePriority } from "./CasePriority"; -import { CaseType } from "./CaseType"; /** * Case creation attributes @@ -20,9 +19,9 @@ export class CaseCreateAttributes { */ "title": string; /** - * Case type + * Case type UUID */ - "type": CaseType; + "typeId": string; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -51,9 +50,9 @@ export class CaseCreateAttributes { type: "string", required: true, }, - type: { - baseName: "type", - type: "CaseType", + typeId: { + baseName: "type_id", + type: "string", required: true, }, additionalProperties: { diff --git a/services/case_management/src/v2/models/CaseType.ts b/services/case_management/src/v2/models/CaseType.ts index 1539e83d50f1..7c399f80ed4b 100644 --- a/services/case_management/src/v2/models/CaseType.ts +++ b/services/case_management/src/v2/models/CaseType.ts @@ -3,5 +3,6 @@ import { UnparsedObject } from "@datadog/datadog-api-client"; /** * Case type */ -export type CaseType = typeof STANDARD | UnparsedObject; +export type CaseType = typeof STANDARD | typeof TUNKNOWN | UnparsedObject; export const STANDARD = "STANDARD"; +export const TUNKNOWN = "TUNKNOWN"; diff --git a/services/case_management/src/v2/models/CaseUpdateCustomAttribute.ts b/services/case_management/src/v2/models/CaseUpdateCustomAttribute.ts new file mode 100644 index 000000000000..5483d36b3934 --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateCustomAttribute.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseResourceType } from "./CaseResourceType"; +import { CustomAttributeValue } from "./CustomAttributeValue"; + +/** + * Case update custom attribute + */ +export class CaseUpdateCustomAttribute { + /** + * Custom attribute values + */ + "attributes": CustomAttributeValue; + /** + * Case resource type + */ + "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CustomAttributeValue", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateCustomAttribute.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateCustomAttributeRequest.ts b/services/case_management/src/v2/models/CaseUpdateCustomAttributeRequest.ts new file mode 100644 index 000000000000..2cdbfbd81bf0 --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateCustomAttributeRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseUpdateCustomAttribute } from "./CaseUpdateCustomAttribute"; + +/** + * Case update custom attribute request + */ +export class CaseUpdateCustomAttributeRequest { + /** + * Case update custom attribute + */ + "data": CaseUpdateCustomAttribute; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseUpdateCustomAttribute", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateCustomAttributeRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateDescription.ts b/services/case_management/src/v2/models/CaseUpdateDescription.ts new file mode 100644 index 000000000000..093c22a91764 --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateDescription.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseResourceType } from "./CaseResourceType"; +import { CaseUpdateDescriptionAttributes } from "./CaseUpdateDescriptionAttributes"; + +/** + * Case update description + */ +export class CaseUpdateDescription { + /** + * Case update description attributes + */ + "attributes": CaseUpdateDescriptionAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseUpdateDescriptionAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateDescription.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateDescriptionAttributes.ts b/services/case_management/src/v2/models/CaseUpdateDescriptionAttributes.ts new file mode 100644 index 000000000000..63b181c2b30b --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateDescriptionAttributes.ts @@ -0,0 +1,45 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * Case update description attributes + */ +export class CaseUpdateDescriptionAttributes { + /** + * Case new description + */ + "description": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + description: { + baseName: "description", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateDescriptionAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateDescriptionRequest.ts b/services/case_management/src/v2/models/CaseUpdateDescriptionRequest.ts new file mode 100644 index 000000000000..67305956d794 --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateDescriptionRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseUpdateDescription } from "./CaseUpdateDescription"; + +/** + * Case update description request + */ +export class CaseUpdateDescriptionRequest { + /** + * Case update description + */ + "data": CaseUpdateDescription; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseUpdateDescription", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateDescriptionRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateTitle.ts b/services/case_management/src/v2/models/CaseUpdateTitle.ts new file mode 100644 index 000000000000..215cbd5a6aea --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateTitle.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseResourceType } from "./CaseResourceType"; +import { CaseUpdateTitleAttributes } from "./CaseUpdateTitleAttributes"; + +/** + * Case update title + */ +export class CaseUpdateTitle { + /** + * Case update title attributes + */ + "attributes": CaseUpdateTitleAttributes; + /** + * Case resource type + */ + "type": CaseResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseUpdateTitleAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateTitle.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateTitleAttributes.ts b/services/case_management/src/v2/models/CaseUpdateTitleAttributes.ts new file mode 100644 index 000000000000..5c8628bc3fc7 --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateTitleAttributes.ts @@ -0,0 +1,45 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * Case update title attributes + */ +export class CaseUpdateTitleAttributes { + /** + * Case new title + */ + "title": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + title: { + baseName: "title", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateTitleAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CaseUpdateTitleRequest.ts b/services/case_management/src/v2/models/CaseUpdateTitleRequest.ts new file mode 100644 index 000000000000..5b11f3ab171b --- /dev/null +++ b/services/case_management/src/v2/models/CaseUpdateTitleRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseUpdateTitle } from "./CaseUpdateTitle"; + +/** + * Case update title request + */ +export class CaseUpdateTitleRequest { + /** + * Case update title + */ + "data": CaseUpdateTitle; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseUpdateTitle", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseUpdateTitleRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CustomAttributeType.ts b/services/case_management/src/v2/models/CustomAttributeType.ts new file mode 100644 index 000000000000..5ba5653e0327 --- /dev/null +++ b/services/case_management/src/v2/models/CustomAttributeType.ts @@ -0,0 +1,13 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Custom attributes type + */ +export type CustomAttributeType = + | typeof URL + | typeof TEXT + | typeof NUMBER + | UnparsedObject; +export const URL = "URL"; +export const TEXT = "TEXT"; +export const NUMBER = "NUMBER"; diff --git a/services/case_management/src/v2/models/CustomAttributeValue.ts b/services/case_management/src/v2/models/CustomAttributeValue.ts new file mode 100644 index 000000000000..85bc8eb90a52 --- /dev/null +++ b/services/case_management/src/v2/models/CustomAttributeValue.ts @@ -0,0 +1,66 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeType } from "./CustomAttributeType"; +import { CustomAttributeValuesUnion } from "./CustomAttributeValuesUnion"; + +/** + * Custom attribute values + */ +export class CustomAttributeValue { + /** + * If true, value must be an array + */ + "isMulti": boolean; + /** + * Custom attributes type + */ + "type": CustomAttributeType; + /** + * Union of supported value for a custom attribute + */ + "value": CustomAttributeValuesUnion; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + isMulti: { + baseName: "is_multi", + type: "boolean", + required: true, + }, + type: { + baseName: "type", + type: "CustomAttributeType", + required: true, + }, + value: { + baseName: "value", + type: "CustomAttributeValuesUnion", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeValue.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/CustomAttributeValuesUnion.ts b/services/case_management/src/v2/models/CustomAttributeValuesUnion.ts new file mode 100644 index 000000000000..bb0339675c56 --- /dev/null +++ b/services/case_management/src/v2/models/CustomAttributeValuesUnion.ts @@ -0,0 +1,11 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Union of supported value for a custom attribute + */ +export type CustomAttributeValuesUnion = + | string + | Array + | number + | Array + | UnparsedObject; diff --git a/services/case_management/src/v2/models/TimelineCell.ts b/services/case_management/src/v2/models/TimelineCell.ts new file mode 100644 index 000000000000..1ea463afcabf --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCell.ts @@ -0,0 +1,91 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCellAuthor } from "./TimelineCellAuthor"; +import { TimelineCellContent } from "./TimelineCellContent"; +import { TimelineCellType } from "./TimelineCellType"; + +/** + * timeline cell + */ +export class TimelineCell { + /** + * author of the timeline cell + */ + "author"?: TimelineCellAuthor; + /** + * timeline cell content + */ + "cellContent"?: TimelineCellContent; + /** + * Timestamp of when the cell was created + */ + "createdAt"?: Date; + /** + * Timestamp of when the cell was deleted + */ + "deletedAt"?: Date; + /** + * Timestamp of when the cell was last modified + */ + "modifiedAt"?: Date; + /** + * Timeline cell content type + */ + "type"?: TimelineCellType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + author: { + baseName: "author", + type: "TimelineCellAuthor", + }, + cellContent: { + baseName: "cell_content", + type: "TimelineCellContent", + }, + createdAt: { + baseName: "created_at", + type: "Date", + format: "date-time", + }, + deletedAt: { + baseName: "deleted_at", + type: "Date", + format: "date-time", + }, + modifiedAt: { + baseName: "modified_at", + type: "Date", + format: "date-time", + }, + type: { + baseName: "type", + type: "TimelineCellType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCell.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellAuthor.ts b/services/case_management/src/v2/models/TimelineCellAuthor.ts new file mode 100644 index 000000000000..5ffff0756216 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthor.ts @@ -0,0 +1,8 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +import { TimelineCellAuthorUser } from "./TimelineCellAuthorUser"; + +/** + * author of the timeline cell + */ +export type TimelineCellAuthor = TimelineCellAuthorUser | UnparsedObject; diff --git a/services/case_management/src/v2/models/TimelineCellAuthorUser.ts b/services/case_management/src/v2/models/TimelineCellAuthorUser.ts new file mode 100644 index 000000000000..4322bff67336 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthorUser.ts @@ -0,0 +1,55 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCellAuthorUserContent } from "./TimelineCellAuthorUserContent"; +import { TimelineCellAuthorUserType } from "./TimelineCellAuthorUserType"; + +/** + * timeline cell user author + */ +export class TimelineCellAuthorUser { + /** + * user author content. + */ + "content"?: TimelineCellAuthorUserContent; + /** + * user author type. + */ + "type"?: TimelineCellAuthorUserType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + content: { + baseName: "content", + type: "TimelineCellAuthorUserContent", + }, + type: { + baseName: "type", + type: "TimelineCellAuthorUserType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellAuthorUser.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellAuthorUserContent.ts b/services/case_management/src/v2/models/TimelineCellAuthorUserContent.ts new file mode 100644 index 000000000000..2d6322f0e6d8 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthorUserContent.ts @@ -0,0 +1,68 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * user author content. + */ +export class TimelineCellAuthorUserContent { + /** + * user email + */ + "email"?: string; + /** + * user handle + */ + "handle"?: string; + /** + * user UUID + */ + "id"?: string; + /** + * user name + */ + "name"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + email: { + baseName: "email", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + }, + id: { + baseName: "id", + type: "string", + }, + name: { + baseName: "name", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellAuthorUserContent.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellAuthorUserType.ts b/services/case_management/src/v2/models/TimelineCellAuthorUserType.ts new file mode 100644 index 000000000000..b9d235952b18 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellAuthorUserType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * user author type. + */ +export type TimelineCellAuthorUserType = typeof USER | UnparsedObject; +export const USER = "USER"; diff --git a/services/case_management/src/v2/models/TimelineCellContent.ts b/services/case_management/src/v2/models/TimelineCellContent.ts new file mode 100644 index 000000000000..d8da78758dfb --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellContent.ts @@ -0,0 +1,8 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +import { TimelineCellContentComment } from "./TimelineCellContentComment"; + +/** + * timeline cell content + */ +export type TimelineCellContent = TimelineCellContentComment | UnparsedObject; diff --git a/services/case_management/src/v2/models/TimelineCellContentComment.ts b/services/case_management/src/v2/models/TimelineCellContentComment.ts new file mode 100644 index 000000000000..6d9dc240cdc4 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellContentComment.ts @@ -0,0 +1,44 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * comment content + */ +export class TimelineCellContentComment { + /** + * comment message + */ + "message"?: string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + message: { + baseName: "message", + type: "string", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellContentComment.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellResource.ts b/services/case_management/src/v2/models/TimelineCellResource.ts new file mode 100644 index 000000000000..a96030dc756a --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellResource.ts @@ -0,0 +1,66 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCell } from "./TimelineCell"; +import { TimelineCellResourceType } from "./TimelineCellResourceType"; + +/** + * Timeline cell JSON:API resource + */ +export class TimelineCellResource { + /** + * timeline cell + */ + "attributes": TimelineCell; + /** + * Timeline cell's identifier + */ + "id": string; + /** + * Timeline cell JSON:API resource type + */ + "type": TimelineCellResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "TimelineCell", + required: true, + }, + id: { + baseName: "id", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "TimelineCellResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineCellResource.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TimelineCellResourceType.ts b/services/case_management/src/v2/models/TimelineCellResourceType.ts new file mode 100644 index 000000000000..bd3771e78a54 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellResourceType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Timeline cell JSON:API resource type + */ +export type TimelineCellResourceType = typeof TIMELINE_CELL | UnparsedObject; +export const TIMELINE_CELL = "timeline_cell"; diff --git a/services/case_management/src/v2/models/TimelineCellType.ts b/services/case_management/src/v2/models/TimelineCellType.ts new file mode 100644 index 000000000000..e2877d2b0c60 --- /dev/null +++ b/services/case_management/src/v2/models/TimelineCellType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Timeline cell content type + */ +export type TimelineCellType = typeof COMMENT | UnparsedObject; +export const COMMENT = "COMMENT"; diff --git a/services/case_management/src/v2/models/TimelineResponse.ts b/services/case_management/src/v2/models/TimelineResponse.ts new file mode 100644 index 000000000000..d908c8ff070d --- /dev/null +++ b/services/case_management/src/v2/models/TimelineResponse.ts @@ -0,0 +1,46 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { TimelineCellResource } from "./TimelineCellResource"; + +/** + * Timeline response + */ +export class TimelineResponse { + /** + * The `TimelineResponse` `data`. + */ + "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return TimelineResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management/src/v2/models/TypingInfo.ts b/services/case_management/src/v2/models/TypingInfo.ts index c0adcf135cec..4d52cb4f1522 100644 --- a/services/case_management/src/v2/models/TypingInfo.ts +++ b/services/case_management/src/v2/models/TypingInfo.ts @@ -6,6 +6,9 @@ import { CaseAssign } from "./CaseAssign"; import { CaseAssignAttributes } from "./CaseAssignAttributes"; import { CaseAssignRequest } from "./CaseAssignRequest"; import { CaseAttributes } from "./CaseAttributes"; +import { CaseComment } from "./CaseComment"; +import { CaseCommentAttributes } from "./CaseCommentAttributes"; +import { CaseCommentRequest } from "./CaseCommentRequest"; import { CaseCreate } from "./CaseCreate"; import { CaseCreateAttributes } from "./CaseCreateAttributes"; import { CaseCreateRelationships } from "./CaseCreateRelationships"; @@ -17,15 +20,24 @@ import { CaseResponse } from "./CaseResponse"; import { CaseUpdateAttributes } from "./CaseUpdateAttributes"; import { CaseUpdateAttributesAttributes } from "./CaseUpdateAttributesAttributes"; import { CaseUpdateAttributesRequest } from "./CaseUpdateAttributesRequest"; +import { CaseUpdateCustomAttribute } from "./CaseUpdateCustomAttribute"; +import { CaseUpdateCustomAttributeRequest } from "./CaseUpdateCustomAttributeRequest"; +import { CaseUpdateDescription } from "./CaseUpdateDescription"; +import { CaseUpdateDescriptionAttributes } from "./CaseUpdateDescriptionAttributes"; +import { CaseUpdateDescriptionRequest } from "./CaseUpdateDescriptionRequest"; import { CaseUpdatePriority } from "./CaseUpdatePriority"; import { CaseUpdatePriorityAttributes } from "./CaseUpdatePriorityAttributes"; import { CaseUpdatePriorityRequest } from "./CaseUpdatePriorityRequest"; import { CaseUpdateStatus } from "./CaseUpdateStatus"; import { CaseUpdateStatusAttributes } from "./CaseUpdateStatusAttributes"; import { CaseUpdateStatusRequest } from "./CaseUpdateStatusRequest"; +import { CaseUpdateTitle } from "./CaseUpdateTitle"; +import { CaseUpdateTitleAttributes } from "./CaseUpdateTitleAttributes"; +import { CaseUpdateTitleRequest } from "./CaseUpdateTitleRequest"; import { CasesResponse } from "./CasesResponse"; import { CasesResponseMeta } from "./CasesResponseMeta"; import { CasesResponseMetaPagination } from "./CasesResponseMetaPagination"; +import { CustomAttributeValue } from "./CustomAttributeValue"; import { JiraIssue } from "./JiraIssue"; import { JiraIssueResult } from "./JiraIssueResult"; import { NullableUserRelationship } from "./NullableUserRelationship"; @@ -45,6 +57,12 @@ import { RelationshipToTeamLinks } from "./RelationshipToTeamLinks"; import { ServiceNowTicket } from "./ServiceNowTicket"; import { ServiceNowTicketResult } from "./ServiceNowTicketResult"; import { TeamRelationshipsLinks } from "./TeamRelationshipsLinks"; +import { TimelineCell } from "./TimelineCell"; +import { TimelineCellAuthorUser } from "./TimelineCellAuthorUser"; +import { TimelineCellAuthorUserContent } from "./TimelineCellAuthorUserContent"; +import { TimelineCellContentComment } from "./TimelineCellContentComment"; +import { TimelineCellResource } from "./TimelineCellResource"; +import { TimelineResponse } from "./TimelineResponse"; import { UserRelationshipData } from "./UserRelationshipData"; import { UsersRelationship } from "./UsersRelationship"; @@ -55,12 +73,25 @@ export const TypingInfo: ModelTypingInfo = { CaseResourceType: ["case"], CaseSortableField: ["created_at", "priority", "status"], CaseStatus: ["OPEN", "IN_PROGRESS", "CLOSED"], - CaseType: ["STANDARD"], + CaseType: ["STANDARD", "TUNKNOWN"], + CustomAttributeType: ["URL", "TEXT", "NUMBER"], ProjectResourceType: ["project"], TeamLinkType: ["team_links"], + TimelineCellAuthorUserType: ["USER"], + TimelineCellResourceType: ["timeline_cell"], + TimelineCellType: ["COMMENT"], UserResourceType: ["user"], }, - oneOfMap: {}, + oneOfMap: { + CustomAttributeValuesUnion: [ + "string", + "Array", + "number", + "Array", + ], + TimelineCellAuthor: ["TimelineCellAuthorUser"], + TimelineCellContent: ["TimelineCellContentComment"], + }, typeMap: { APIErrorResponse: APIErrorResponse, Case: Case, @@ -68,6 +99,9 @@ export const TypingInfo: ModelTypingInfo = { CaseAssignAttributes: CaseAssignAttributes, CaseAssignRequest: CaseAssignRequest, CaseAttributes: CaseAttributes, + CaseComment: CaseComment, + CaseCommentAttributes: CaseCommentAttributes, + CaseCommentRequest: CaseCommentRequest, CaseCreate: CaseCreate, CaseCreateAttributes: CaseCreateAttributes, CaseCreateRelationships: CaseCreateRelationships, @@ -79,15 +113,24 @@ export const TypingInfo: ModelTypingInfo = { CaseUpdateAttributes: CaseUpdateAttributes, CaseUpdateAttributesAttributes: CaseUpdateAttributesAttributes, CaseUpdateAttributesRequest: CaseUpdateAttributesRequest, + CaseUpdateCustomAttribute: CaseUpdateCustomAttribute, + CaseUpdateCustomAttributeRequest: CaseUpdateCustomAttributeRequest, + CaseUpdateDescription: CaseUpdateDescription, + CaseUpdateDescriptionAttributes: CaseUpdateDescriptionAttributes, + CaseUpdateDescriptionRequest: CaseUpdateDescriptionRequest, CaseUpdatePriority: CaseUpdatePriority, CaseUpdatePriorityAttributes: CaseUpdatePriorityAttributes, CaseUpdatePriorityRequest: CaseUpdatePriorityRequest, CaseUpdateStatus: CaseUpdateStatus, CaseUpdateStatusAttributes: CaseUpdateStatusAttributes, CaseUpdateStatusRequest: CaseUpdateStatusRequest, + CaseUpdateTitle: CaseUpdateTitle, + CaseUpdateTitleAttributes: CaseUpdateTitleAttributes, + CaseUpdateTitleRequest: CaseUpdateTitleRequest, CasesResponse: CasesResponse, CasesResponseMeta: CasesResponseMeta, CasesResponseMetaPagination: CasesResponseMetaPagination, + CustomAttributeValue: CustomAttributeValue, JiraIssue: JiraIssue, JiraIssueResult: JiraIssueResult, NullableUserRelationship: NullableUserRelationship, @@ -107,6 +150,12 @@ export const TypingInfo: ModelTypingInfo = { ServiceNowTicket: ServiceNowTicket, ServiceNowTicketResult: ServiceNowTicketResult, TeamRelationshipsLinks: TeamRelationshipsLinks, + TimelineCell: TimelineCell, + TimelineCellAuthorUser: TimelineCellAuthorUser, + TimelineCellAuthorUserContent: TimelineCellAuthorUserContent, + TimelineCellContentComment: TimelineCellContentComment, + TimelineCellResource: TimelineCellResource, + TimelineResponse: TimelineResponse, UserRelationshipData: UserRelationshipData, UsersRelationship: UsersRelationship, }, diff --git a/services/case_management_attribute/.yarnrc.yml b/services/case_management_attribute/.yarnrc.yml new file mode 100644 index 000000000000..3186f3f0795a --- /dev/null +++ b/services/case_management_attribute/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/services/case_management_attribute/README.md b/services/case_management_attribute/README.md new file mode 100644 index 000000000000..34fe6f21cfa9 --- /dev/null +++ b/services/case_management_attribute/README.md @@ -0,0 +1,35 @@ +# @datadog/datadog-api-client-case-management-attribute + +## Description + +View and configure custom attributes within Case Management. See the [Case Management page](https://docs.datadoghq.com/service_management/case_management/) for more information. + +## Navigation + +- [Installation](#installation) +- [Getting Started](#getting-started) + +## Installation + +```sh +# NPM +npm install @datadog/datadog-api-client-case-management-attribute +# Yarn +yarn add @datadog/datadog-api-client-case-management-attribute +``` + +## Getting Started +```ts +import { createConfiguration } from "@datadog/datadog-api-client"; +import { CaseManagementAttributeApiV2 } from "@datadog/datadog-api-client-case-management-attribute"; +import { v2 } from "@datadog/datadog-api-client-case-management-attribute"; + +const configuration = createConfiguration(); +const apiInstance = new CaseManagementAttributeApiV2(configuration); + +apiInstance.getAllCustomAttributes().then((data) => { + console.log("API called successfully. Returned data: " + JSON.stringify(data)); +}).catch((error) => { + console.error("Error calling API: " + error); +}); +``` \ No newline at end of file diff --git a/services/case_management_attribute/package.json b/services/case_management_attribute/package.json new file mode 100644 index 000000000000..7552a31c7931 --- /dev/null +++ b/services/case_management_attribute/package.json @@ -0,0 +1,43 @@ +{ + "name": "@datadog/datadog-api-client-case-management-attribute", + "description": "", + "author": "", + "keywords": [ + "api", + "fetch", + "typescript" + ], + "license": "Apache-2.0", + "licenses": [ + { + "type": "Apache-2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0" + } + ], + "repository": { + "type": "git", + "url": "https://github.com/DataDog/datadog-api-client-typescript.git", + "directory": "services/case-management-attribute" + }, + "files": [ + "dist/**/*" + ], + "main": "./dist/index.js", + "typings": "./dist/index.d.ts", + "scripts": { + "prepack": "yarn workspace @datadog/datadog-api-client build && yarn build", + "build": "yarn generate-version-files && tsc", + "generate-version-files": "node -p \"'export const version = ' + JSON.stringify(require('./package.json').version)\" > src/version.ts" + }, + "dependencies": { + "@datadog/datadog-api-client": "^2.0.0-beta.0" + }, + "devDependencies": { + "typescript": "5.8.3" + }, + "engines": { + "node": ">=18.0.0" + }, + "version": "0.0.1", + "packageManager": "yarn@4.9.1" +} diff --git a/services/case_management_attribute/src/index.ts b/services/case_management_attribute/src/index.ts new file mode 100644 index 000000000000..0e6f2b33aa1c --- /dev/null +++ b/services/case_management_attribute/src/index.ts @@ -0,0 +1,3 @@ +export * as v2 from "./v2"; + +export { CaseManagementAttributeApi as CaseManagementAttributeApiV2 } from "./v2/CaseManagementAttributeApi"; diff --git a/services/case_management_attribute/src/v2/CaseManagementAttributeApi.ts b/services/case_management_attribute/src/v2/CaseManagementAttributeApi.ts new file mode 100644 index 000000000000..ec2e6541f1bd --- /dev/null +++ b/services/case_management_attribute/src/v2/CaseManagementAttributeApi.ts @@ -0,0 +1,620 @@ +import { + ApiException, + BaseAPIRequestFactory, + BaseServerConfiguration, + buildUserAgent, + Configuration, + createConfiguration, + deserialize, + getPreferredMediaType, + HttpMethod, + isBrowser, + logger, + normalizeMediaType, + parse, + RequiredError, + RequestContext, + ResponseContext, + serialize, + ServerConfiguration, + stringify, + applySecurityAuthentication, +} from "@datadog/datadog-api-client"; + +import { TypingInfo } from "./models/TypingInfo"; +import { APIErrorResponse } from "./models/APIErrorResponse"; +import { CustomAttributeConfigCreateRequest } from "./models/CustomAttributeConfigCreateRequest"; +import { CustomAttributeConfigResponse } from "./models/CustomAttributeConfigResponse"; +import { CustomAttributeConfigsResponse } from "./models/CustomAttributeConfigsResponse"; +import { version } from "../version"; + +export class CaseManagementAttributeApiRequestFactory extends BaseAPIRequestFactory { + public userAgent: string | undefined; + + public constructor(configuration: Configuration) { + super(configuration); + if (!isBrowser) { + this.userAgent = buildUserAgent("case-management-attribute", version); + } + } + public async createCustomAttributeConfig( + caseTypeId: string, + body: CustomAttributeConfigCreateRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseTypeId' is not null or undefined + if (caseTypeId === null || caseTypeId === undefined) { + throw new RequiredError("caseTypeId", "createCustomAttributeConfig"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createCustomAttributeConfig"); + } + + // Path Params + const localVarPath = + "/api/v2/cases/types/{case_type_id}/custom_attributes".replace( + "{case_type_id}", + encodeURIComponent(String(caseTypeId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementAttributeApi.v2.createCustomAttributeConfig", + CaseManagementAttributeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CustomAttributeConfigCreateRequest", ""), + contentType, + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async deleteCustomAttributeConfig( + caseTypeId: string, + customAttributeId: string, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseTypeId' is not null or undefined + if (caseTypeId === null || caseTypeId === undefined) { + throw new RequiredError("caseTypeId", "deleteCustomAttributeConfig"); + } + + // verify required parameter 'customAttributeId' is not null or undefined + if (customAttributeId === null || customAttributeId === undefined) { + throw new RequiredError( + "customAttributeId", + "deleteCustomAttributeConfig", + ); + } + + // Path Params + const localVarPath = + "/api/v2/cases/types/{case_type_id}/custom_attributes/{custom_attribute_id}" + .replace("{case_type_id}", encodeURIComponent(String(caseTypeId))) + .replace( + "{custom_attribute_id}", + encodeURIComponent(String(customAttributeId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementAttributeApi.v2.deleteCustomAttributeConfig", + CaseManagementAttributeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.DELETE, + overrides, + ); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getAllCustomAttributeConfigsByCaseType( + caseTypeId: string, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseTypeId' is not null or undefined + if (caseTypeId === null || caseTypeId === undefined) { + throw new RequiredError( + "caseTypeId", + "getAllCustomAttributeConfigsByCaseType", + ); + } + + // Path Params + const localVarPath = + "/api/v2/cases/types/{case_type_id}/custom_attributes".replace( + "{case_type_id}", + encodeURIComponent(String(caseTypeId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementAttributeApi.v2.getAllCustomAttributeConfigsByCaseType", + CaseManagementAttributeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.GET, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getAllCustomAttributes( + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/cases/types/custom_attributes"; + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementAttributeApi.v2.getAllCustomAttributes", + CaseManagementAttributeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.GET, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } +} + +export class CaseManagementAttributeApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCustomAttributeConfig + * @throws ApiException if the response code was not in [200, 299] + */ + public async createCustomAttributeConfig( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 201) { + const body: CustomAttributeConfigResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CustomAttributeConfigResponse", + ) as CustomAttributeConfigResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 404 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomAttributeConfigResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CustomAttributeConfigResponse", + "", + ) as CustomAttributeConfigResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCustomAttributeConfig + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCustomAttributeConfig( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + return; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAllCustomAttributeConfigsByCaseType + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAllCustomAttributeConfigsByCaseType( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: CustomAttributeConfigsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CustomAttributeConfigsResponse", + ) as CustomAttributeConfigsResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomAttributeConfigsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CustomAttributeConfigsResponse", + "", + ) as CustomAttributeConfigsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAllCustomAttributes + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAllCustomAttributes( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: CustomAttributeConfigsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CustomAttributeConfigsResponse", + ) as CustomAttributeConfigsResponse; + return body; + } + if ( + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CustomAttributeConfigsResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CustomAttributeConfigsResponse", + "", + ) as CustomAttributeConfigsResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } +} + +export interface CaseManagementAttributeApiCreateCustomAttributeConfigRequest { + /** + * Case type's UUID + * @type string + */ + caseTypeId: string; + /** + * Custom attribute config payload + * @type CustomAttributeConfigCreateRequest + */ + body: CustomAttributeConfigCreateRequest; +} + +export interface CaseManagementAttributeApiDeleteCustomAttributeConfigRequest { + /** + * Case type's UUID + * @type string + */ + caseTypeId: string; + /** + * Case Custom attribute's UUID + * @type string + */ + customAttributeId: string; +} + +export interface CaseManagementAttributeApiGetAllCustomAttributeConfigsByCaseTypeRequest { + /** + * Case type's UUID + * @type string + */ + caseTypeId: string; +} + +export class CaseManagementAttributeApi { + private requestFactory: CaseManagementAttributeApiRequestFactory; + private responseProcessor: CaseManagementAttributeApiResponseProcessor; + private configuration: Configuration; + + static operationServers: { [key: string]: BaseServerConfiguration[] } = {}; + + public constructor( + configuration?: Configuration, + requestFactory?: CaseManagementAttributeApiRequestFactory, + responseProcessor?: CaseManagementAttributeApiResponseProcessor, + ) { + this.configuration = configuration || createConfiguration(); + this.requestFactory = + requestFactory || + new CaseManagementAttributeApiRequestFactory(this.configuration); + this.responseProcessor = + responseProcessor || new CaseManagementAttributeApiResponseProcessor(); + } + + /** + * Create custom attribute config for a case type + * @param param The request object + */ + public createCustomAttributeConfig( + param: CaseManagementAttributeApiCreateCustomAttributeConfigRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = + this.requestFactory.createCustomAttributeConfig( + param.caseTypeId, + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createCustomAttributeConfig( + responseContext, + ); + }); + }); + } + + /** + * Delete custom attribute config + * @param param The request object + */ + public deleteCustomAttributeConfig( + param: CaseManagementAttributeApiDeleteCustomAttributeConfigRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = + this.requestFactory.deleteCustomAttributeConfig( + param.caseTypeId, + param.customAttributeId, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteCustomAttributeConfig( + responseContext, + ); + }); + }); + } + + /** + * Get all custom attribute config of case type + * @param param The request object + */ + public getAllCustomAttributeConfigsByCaseType( + param: CaseManagementAttributeApiGetAllCustomAttributeConfigsByCaseTypeRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = + this.requestFactory.getAllCustomAttributeConfigsByCaseType( + param.caseTypeId, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getAllCustomAttributeConfigsByCaseType( + responseContext, + ); + }); + }); + } + + /** + * Get all custom attributes + * @param param The request object + */ + public getAllCustomAttributes( + options?: Configuration, + ): Promise { + const requestContextPromise = + this.requestFactory.getAllCustomAttributes(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getAllCustomAttributes(responseContext); + }); + }); + } +} diff --git a/services/case_management_attribute/src/v2/index.ts b/services/case_management_attribute/src/v2/index.ts new file mode 100644 index 000000000000..565b23c97a90 --- /dev/null +++ b/services/case_management_attribute/src/v2/index.ts @@ -0,0 +1,17 @@ +export { + CaseManagementAttributeApiCreateCustomAttributeConfigRequest, + CaseManagementAttributeApiDeleteCustomAttributeConfigRequest, + CaseManagementAttributeApiGetAllCustomAttributeConfigsByCaseTypeRequest, + CaseManagementAttributeApi, +} from "./CaseManagementAttributeApi"; + +export { APIErrorResponse } from "./models/APIErrorResponse"; +export { CustomAttributeConfig } from "./models/CustomAttributeConfig"; +export { CustomAttributeConfigAttributesCreate } from "./models/CustomAttributeConfigAttributesCreate"; +export { CustomAttributeConfigCreate } from "./models/CustomAttributeConfigCreate"; +export { CustomAttributeConfigCreateRequest } from "./models/CustomAttributeConfigCreateRequest"; +export { CustomAttributeConfigResourceAttributes } from "./models/CustomAttributeConfigResourceAttributes"; +export { CustomAttributeConfigResourceType } from "./models/CustomAttributeConfigResourceType"; +export { CustomAttributeConfigResponse } from "./models/CustomAttributeConfigResponse"; +export { CustomAttributeConfigsResponse } from "./models/CustomAttributeConfigsResponse"; +export { CustomAttributeType } from "./models/CustomAttributeType"; diff --git a/services/case_management_attribute/src/v2/models/APIErrorResponse.ts b/services/case_management_attribute/src/v2/models/APIErrorResponse.ts new file mode 100644 index 000000000000..58d6c35b80f0 --- /dev/null +++ b/services/case_management_attribute/src/v2/models/APIErrorResponse.ts @@ -0,0 +1,45 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * API error response. + */ +export class APIErrorResponse { + /** + * A list of errors. + */ + "errors": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + errors: { + baseName: "errors", + type: "Array", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return APIErrorResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfig.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfig.ts new file mode 100644 index 000000000000..2802fe74cd2d --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfig.ts @@ -0,0 +1,63 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeConfigResourceAttributes } from "./CustomAttributeConfigResourceAttributes"; +import { CustomAttributeConfigResourceType } from "./CustomAttributeConfigResourceType"; + +/** + * The definition of `CustomAttributeConfig` object. + */ +export class CustomAttributeConfig { + /** + * Custom attribute resource attributes + */ + "attributes"?: CustomAttributeConfigResourceAttributes; + /** + * Custom attribute configs identifier + */ + "id"?: string; + /** + * Custom attributes config JSON:API resource type + */ + "type"?: CustomAttributeConfigResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CustomAttributeConfigResourceAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "CustomAttributeConfigResourceType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfig.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigAttributesCreate.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigAttributesCreate.ts new file mode 100644 index 000000000000..1b90a9139397 --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigAttributesCreate.ts @@ -0,0 +1,82 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeType } from "./CustomAttributeType"; + +/** + * Custom attribute config resource attributes + */ +export class CustomAttributeConfigAttributesCreate { + /** + * Custom attribute description. + */ + "description"?: string; + /** + * Custom attribute name. + */ + "displayName": string; + /** + * Whether multiple values can be set + */ + "isMulti": boolean; + /** + * Custom attribute key. This will be the value use to search on this custom attribute + */ + "key": string; + /** + * Custom attributes type + */ + "type": CustomAttributeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + displayName: { + baseName: "display_name", + type: "string", + required: true, + }, + isMulti: { + baseName: "is_multi", + type: "boolean", + required: true, + }, + key: { + baseName: "key", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomAttributeType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfigAttributesCreate.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigCreate.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigCreate.ts new file mode 100644 index 000000000000..325cce0a93f1 --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigCreate.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeConfigAttributesCreate } from "./CustomAttributeConfigAttributesCreate"; +import { CustomAttributeConfigResourceType } from "./CustomAttributeConfigResourceType"; + +/** + * Custom attribute config + */ +export class CustomAttributeConfigCreate { + /** + * Custom attribute config resource attributes + */ + "attributes": CustomAttributeConfigAttributesCreate; + /** + * Custom attributes config JSON:API resource type + */ + "type": CustomAttributeConfigResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CustomAttributeConfigAttributesCreate", + required: true, + }, + type: { + baseName: "type", + type: "CustomAttributeConfigResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfigCreate.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigCreateRequest.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigCreateRequest.ts new file mode 100644 index 000000000000..44046daf7d95 --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigCreateRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeConfigCreate } from "./CustomAttributeConfigCreate"; + +/** + * Custom attribute config create request + */ +export class CustomAttributeConfigCreateRequest { + /** + * Custom attribute config + */ + "data": CustomAttributeConfigCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CustomAttributeConfigCreate", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfigCreateRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigResourceAttributes.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigResourceAttributes.ts new file mode 100644 index 000000000000..74b0477512da --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigResourceAttributes.ts @@ -0,0 +1,91 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeType } from "./CustomAttributeType"; + +/** + * Custom attribute resource attributes + */ +export class CustomAttributeConfigResourceAttributes { + /** + * Custom attribute config identifier. + */ + "caseTypeId": string; + /** + * Custom attribute description. + */ + "description"?: string; + /** + * Custom attribute name. + */ + "displayName": string; + /** + * Whether multiple values can be set + */ + "isMulti": boolean; + /** + * Custom attribute key. This will be the value use to search on this custom attribute + */ + "key": string; + /** + * Custom attributes type + */ + "type": CustomAttributeType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + caseTypeId: { + baseName: "case_type_id", + type: "string", + required: true, + }, + description: { + baseName: "description", + type: "string", + }, + displayName: { + baseName: "display_name", + type: "string", + required: true, + }, + isMulti: { + baseName: "is_multi", + type: "boolean", + required: true, + }, + key: { + baseName: "key", + type: "string", + required: true, + }, + type: { + baseName: "type", + type: "CustomAttributeType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfigResourceAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigResourceType.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigResourceType.ts new file mode 100644 index 000000000000..e516246054f7 --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigResourceType.ts @@ -0,0 +1,9 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Custom attributes config JSON:API resource type + */ +export type CustomAttributeConfigResourceType = + | typeof CUSTOM_ATTRIBUTE + | UnparsedObject; +export const CUSTOM_ATTRIBUTE = "custom_attribute"; diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigResponse.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigResponse.ts new file mode 100644 index 000000000000..6c008c45f96f --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigResponse.ts @@ -0,0 +1,46 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeConfig } from "./CustomAttributeConfig"; + +/** + * Custom attribute config response. + */ +export class CustomAttributeConfigResponse { + /** + * The definition of `CustomAttributeConfig` object. + */ + "data"?: CustomAttributeConfig; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CustomAttributeConfig", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfigResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeConfigsResponse.ts b/services/case_management_attribute/src/v2/models/CustomAttributeConfigsResponse.ts new file mode 100644 index 000000000000..0d82fb06bbcc --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeConfigsResponse.ts @@ -0,0 +1,46 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CustomAttributeConfig } from "./CustomAttributeConfig"; + +/** + * Custom attribute configs response. + */ +export class CustomAttributeConfigsResponse { + /** + * List of custom attribute configs of case type + */ + "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CustomAttributeConfigsResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_attribute/src/v2/models/CustomAttributeType.ts b/services/case_management_attribute/src/v2/models/CustomAttributeType.ts new file mode 100644 index 000000000000..5ba5653e0327 --- /dev/null +++ b/services/case_management_attribute/src/v2/models/CustomAttributeType.ts @@ -0,0 +1,13 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Custom attributes type + */ +export type CustomAttributeType = + | typeof URL + | typeof TEXT + | typeof NUMBER + | UnparsedObject; +export const URL = "URL"; +export const TEXT = "TEXT"; +export const NUMBER = "NUMBER"; diff --git a/services/case_management_attribute/src/v2/models/TypingInfo.ts b/services/case_management_attribute/src/v2/models/TypingInfo.ts new file mode 100644 index 000000000000..566b0f72428f --- /dev/null +++ b/services/case_management_attribute/src/v2/models/TypingInfo.ts @@ -0,0 +1,30 @@ +import { ModelTypingInfo } from "@datadog/datadog-api-client"; + +import { APIErrorResponse } from "./APIErrorResponse"; +import { CustomAttributeConfig } from "./CustomAttributeConfig"; +import { CustomAttributeConfigAttributesCreate } from "./CustomAttributeConfigAttributesCreate"; +import { CustomAttributeConfigCreate } from "./CustomAttributeConfigCreate"; +import { CustomAttributeConfigCreateRequest } from "./CustomAttributeConfigCreateRequest"; +import { CustomAttributeConfigResourceAttributes } from "./CustomAttributeConfigResourceAttributes"; +import { CustomAttributeConfigResponse } from "./CustomAttributeConfigResponse"; +import { CustomAttributeConfigsResponse } from "./CustomAttributeConfigsResponse"; + +export const TypingInfo: ModelTypingInfo = { + enumsMap: { + CustomAttributeConfigResourceType: ["custom_attribute"], + CustomAttributeType: ["URL", "TEXT", "NUMBER"], + }, + oneOfMap: {}, + typeMap: { + APIErrorResponse: APIErrorResponse, + CustomAttributeConfig: CustomAttributeConfig, + CustomAttributeConfigAttributesCreate: + CustomAttributeConfigAttributesCreate, + CustomAttributeConfigCreate: CustomAttributeConfigCreate, + CustomAttributeConfigCreateRequest: CustomAttributeConfigCreateRequest, + CustomAttributeConfigResourceAttributes: + CustomAttributeConfigResourceAttributes, + CustomAttributeConfigResponse: CustomAttributeConfigResponse, + CustomAttributeConfigsResponse: CustomAttributeConfigsResponse, + }, +}; diff --git a/services/case_management_attribute/tsconfig.json b/services/case_management_attribute/tsconfig.json new file mode 100644 index 000000000000..d6c32bfb893c --- /dev/null +++ b/services/case_management_attribute/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "strict": true, + /* Basic Options */ + "target": "es6", + "module": "commonjs", + "moduleResolution": "node", + "declaration": true, + + "esModuleInterop": true, + "resolveJsonModule": true, + + "noImplicitAny": true, + "noImplicitThis": true, + + /* Additional Checks */ + "noUnusedLocals": false /* Report errors on unused locals. */, // TODO: reenable (unused imports!) + "noUnusedParameters": false /* Report errors on unused parameters. */, // TODO: set to true again + "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, + "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, + + "sourceMap": true, + "outDir": "./dist", + "lib": ["es6", "es7"] + }, + "exclude": ["dist", "node_modules", "tests"], + "include": ["src"] +} diff --git a/services/case_management_type/.yarnrc.yml b/services/case_management_type/.yarnrc.yml new file mode 100644 index 000000000000..3186f3f0795a --- /dev/null +++ b/services/case_management_type/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/services/case_management_type/README.md b/services/case_management_type/README.md new file mode 100644 index 000000000000..8ab8f4f67e77 --- /dev/null +++ b/services/case_management_type/README.md @@ -0,0 +1,35 @@ +# @datadog/datadog-api-client-case-management-type + +## Description + +View and configure case types within Case Management. See the [Case Management page](https://docs.datadoghq.com/service_management/case_management/) for more information. + +## Navigation + +- [Installation](#installation) +- [Getting Started](#getting-started) + +## Installation + +```sh +# NPM +npm install @datadog/datadog-api-client-case-management-type +# Yarn +yarn add @datadog/datadog-api-client-case-management-type +``` + +## Getting Started +```ts +import { createConfiguration } from "@datadog/datadog-api-client"; +import { CaseManagementTypeApiV2 } from "@datadog/datadog-api-client-case-management-type"; +import { v2 } from "@datadog/datadog-api-client-case-management-type"; + +const configuration = createConfiguration(); +const apiInstance = new CaseManagementTypeApiV2(configuration); + +apiInstance.getAllCaseTypes().then((data) => { + console.log("API called successfully. Returned data: " + JSON.stringify(data)); +}).catch((error) => { + console.error("Error calling API: " + error); +}); +``` \ No newline at end of file diff --git a/services/case_management_type/package.json b/services/case_management_type/package.json new file mode 100644 index 000000000000..4aa002a3a6dc --- /dev/null +++ b/services/case_management_type/package.json @@ -0,0 +1,43 @@ +{ + "name": "@datadog/datadog-api-client-case-management-type", + "description": "", + "author": "", + "keywords": [ + "api", + "fetch", + "typescript" + ], + "license": "Apache-2.0", + "licenses": [ + { + "type": "Apache-2.0", + "url": "http://www.apache.org/licenses/LICENSE-2.0" + } + ], + "repository": { + "type": "git", + "url": "https://github.com/DataDog/datadog-api-client-typescript.git", + "directory": "services/case-management-type" + }, + "files": [ + "dist/**/*" + ], + "main": "./dist/index.js", + "typings": "./dist/index.d.ts", + "scripts": { + "prepack": "yarn workspace @datadog/datadog-api-client build && yarn build", + "build": "yarn generate-version-files && tsc", + "generate-version-files": "node -p \"'export const version = ' + JSON.stringify(require('./package.json').version)\" > src/version.ts" + }, + "dependencies": { + "@datadog/datadog-api-client": "^2.0.0-beta.0" + }, + "devDependencies": { + "typescript": "5.8.3" + }, + "engines": { + "node": ">=18.0.0" + }, + "version": "0.0.1", + "packageManager": "yarn@4.9.1" +} diff --git a/services/case_management_type/src/index.ts b/services/case_management_type/src/index.ts new file mode 100644 index 000000000000..de28c821c1d8 --- /dev/null +++ b/services/case_management_type/src/index.ts @@ -0,0 +1,3 @@ +export * as v2 from "./v2"; + +export { CaseManagementTypeApi as CaseManagementTypeApiV2 } from "./v2/CaseManagementTypeApi"; diff --git a/services/case_management_type/src/v2/CaseManagementTypeApi.ts b/services/case_management_type/src/v2/CaseManagementTypeApi.ts new file mode 100644 index 000000000000..b8b56795f6ae --- /dev/null +++ b/services/case_management_type/src/v2/CaseManagementTypeApi.ts @@ -0,0 +1,432 @@ +import { + ApiException, + BaseAPIRequestFactory, + BaseServerConfiguration, + buildUserAgent, + Configuration, + createConfiguration, + deserialize, + getPreferredMediaType, + HttpMethod, + isBrowser, + logger, + normalizeMediaType, + parse, + RequiredError, + RequestContext, + ResponseContext, + serialize, + ServerConfiguration, + stringify, + applySecurityAuthentication, +} from "@datadog/datadog-api-client"; + +import { TypingInfo } from "./models/TypingInfo"; +import { APIErrorResponse } from "./models/APIErrorResponse"; +import { CaseTypeCreateRequest } from "./models/CaseTypeCreateRequest"; +import { CaseTypeResponse } from "./models/CaseTypeResponse"; +import { CaseTypesResponse } from "./models/CaseTypesResponse"; +import { version } from "../version"; + +export class CaseManagementTypeApiRequestFactory extends BaseAPIRequestFactory { + public userAgent: string | undefined; + + public constructor(configuration: Configuration) { + super(configuration); + if (!isBrowser) { + this.userAgent = buildUserAgent("case-management-type", version); + } + } + public async createCaseType( + body: CaseTypeCreateRequest, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createCaseType"); + } + + // Path Params + const localVarPath = "/api/v2/cases/types"; + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementTypeApi.v2.createCaseType", + CaseManagementTypeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.POST, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Body Params + const contentType = getPreferredMediaType(["application/json"]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = stringify( + serialize(body, TypingInfo, "CaseTypeCreateRequest", ""), + contentType, + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async deleteCaseType( + caseTypeId: string, + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'caseTypeId' is not null or undefined + if (caseTypeId === null || caseTypeId === undefined) { + throw new RequiredError("caseTypeId", "deleteCaseType"); + } + + // Path Params + const localVarPath = "/api/v2/cases/types/{case_type_id}".replace( + "{case_type_id}", + encodeURIComponent(String(caseTypeId)), + ); + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementTypeApi.v2.deleteCaseType", + CaseManagementTypeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.DELETE, + overrides, + ); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + + public async getAllCaseTypes( + _options?: Configuration, + ): Promise { + const _config = _options || this.configuration; + + // Path Params + const localVarPath = "/api/v2/cases/types"; + + // Make Request Context + const { server, overrides } = _config.getServerAndOverrides( + "CaseManagementTypeApi.v2.getAllCaseTypes", + CaseManagementTypeApi.operationServers, + ); + const requestContext = server.makeRequestContext( + localVarPath, + HttpMethod.GET, + overrides, + ); + requestContext.setHeaderParam("Accept", "application/json"); + requestContext.setHttpConfig(_config.httpConfig); + + // Set User-Agent + if (this.userAgent) { + requestContext.setHeaderParam("User-Agent", this.userAgent); + } + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } +} + +export class CaseManagementTypeApiResponseProcessor { + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCaseType + * @throws ApiException if the response code was not in [200, 299] + */ + public async createCaseType( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 201) { + const body: CaseTypeResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseTypeResponse", + ) as CaseTypeResponse; + return body; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseTypeResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseTypeResponse", + "", + ) as CaseTypeResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to deleteCaseType + * @throws ApiException if the response code was not in [200, 299] + */ + public async deleteCaseType(response: ResponseContext): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 204) { + return; + } + if ( + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + return; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } + + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to getAllCaseTypes + * @throws ApiException if the response code was not in [200, 299] + */ + public async getAllCaseTypes( + response: ResponseContext, + ): Promise { + const contentType = normalizeMediaType(response.headers["content-type"]); + if (response.httpStatusCode === 200) { + const body: CaseTypesResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseTypesResponse", + ) as CaseTypesResponse; + return body; + } + if ( + response.httpStatusCode === 401 || + response.httpStatusCode === 403 || + response.httpStatusCode === 429 + ) { + const bodyText = parse(await response.body.text(), contentType); + let body: APIErrorResponse; + try { + body = deserialize( + bodyText, + TypingInfo, + "APIErrorResponse", + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText, + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: CaseTypesResponse = deserialize( + parse(await response.body.text(), contentType), + TypingInfo, + "CaseTypesResponse", + "", + ) as CaseTypesResponse; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"', + ); + } +} + +export interface CaseManagementTypeApiCreateCaseTypeRequest { + /** + * Case type payload + * @type CaseTypeCreateRequest + */ + body: CaseTypeCreateRequest; +} + +export interface CaseManagementTypeApiDeleteCaseTypeRequest { + /** + * Case type's UUID + * @type string + */ + caseTypeId: string; +} + +export class CaseManagementTypeApi { + private requestFactory: CaseManagementTypeApiRequestFactory; + private responseProcessor: CaseManagementTypeApiResponseProcessor; + private configuration: Configuration; + + static operationServers: { [key: string]: BaseServerConfiguration[] } = {}; + + public constructor( + configuration?: Configuration, + requestFactory?: CaseManagementTypeApiRequestFactory, + responseProcessor?: CaseManagementTypeApiResponseProcessor, + ) { + this.configuration = configuration || createConfiguration(); + this.requestFactory = + requestFactory || + new CaseManagementTypeApiRequestFactory(this.configuration); + this.responseProcessor = + responseProcessor || new CaseManagementTypeApiResponseProcessor(); + } + + /** + * Create a Case Type + * @param param The request object + */ + public createCaseType( + param: CaseManagementTypeApiCreateCaseTypeRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.createCaseType( + param.body, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createCaseType(responseContext); + }); + }); + } + + /** + * Delete a case type + * @param param The request object + */ + public deleteCaseType( + param: CaseManagementTypeApiDeleteCaseTypeRequest, + options?: Configuration, + ): Promise { + const requestContextPromise = this.requestFactory.deleteCaseType( + param.caseTypeId, + options, + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.deleteCaseType(responseContext); + }); + }); + } + + /** + * Get all case types + * @param param The request object + */ + public getAllCaseTypes(options?: Configuration): Promise { + const requestContextPromise = this.requestFactory.getAllCaseTypes(options); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.getAllCaseTypes(responseContext); + }); + }); + } +} diff --git a/services/case_management_type/src/v2/index.ts b/services/case_management_type/src/v2/index.ts new file mode 100644 index 000000000000..d47a1135d1bc --- /dev/null +++ b/services/case_management_type/src/v2/index.ts @@ -0,0 +1,14 @@ +export { + CaseManagementTypeApiCreateCaseTypeRequest, + CaseManagementTypeApiDeleteCaseTypeRequest, + CaseManagementTypeApi, +} from "./CaseManagementTypeApi"; + +export { APIErrorResponse } from "./models/APIErrorResponse"; +export { CaseTypeCreate } from "./models/CaseTypeCreate"; +export { CaseTypeCreateRequest } from "./models/CaseTypeCreateRequest"; +export { CaseTypeResource } from "./models/CaseTypeResource"; +export { CaseTypeResourceAttributes } from "./models/CaseTypeResourceAttributes"; +export { CaseTypeResourceType } from "./models/CaseTypeResourceType"; +export { CaseTypeResponse } from "./models/CaseTypeResponse"; +export { CaseTypesResponse } from "./models/CaseTypesResponse"; diff --git a/services/case_management_type/src/v2/models/APIErrorResponse.ts b/services/case_management_type/src/v2/models/APIErrorResponse.ts new file mode 100644 index 000000000000..58d6c35b80f0 --- /dev/null +++ b/services/case_management_type/src/v2/models/APIErrorResponse.ts @@ -0,0 +1,45 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * API error response. + */ +export class APIErrorResponse { + /** + * A list of errors. + */ + "errors": Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + errors: { + baseName: "errors", + type: "Array", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return APIErrorResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/CaseTypeCreate.ts b/services/case_management_type/src/v2/models/CaseTypeCreate.ts new file mode 100644 index 000000000000..9c0cb64b9fc3 --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypeCreate.ts @@ -0,0 +1,57 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseTypeResourceAttributes } from "./CaseTypeResourceAttributes"; +import { CaseTypeResourceType } from "./CaseTypeResourceType"; + +/** + * Case type + */ +export class CaseTypeCreate { + /** + * Case Type resource attributes + */ + "attributes": CaseTypeResourceAttributes; + /** + * Case type resource type + */ + "type": CaseTypeResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseTypeResourceAttributes", + required: true, + }, + type: { + baseName: "type", + type: "CaseTypeResourceType", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseTypeCreate.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/CaseTypeCreateRequest.ts b/services/case_management_type/src/v2/models/CaseTypeCreateRequest.ts new file mode 100644 index 000000000000..5e7eb410219e --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypeCreateRequest.ts @@ -0,0 +1,47 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseTypeCreate } from "./CaseTypeCreate"; + +/** + * Case type create request + */ +export class CaseTypeCreateRequest { + /** + * Case type + */ + "data": CaseTypeCreate; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseTypeCreate", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseTypeCreateRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/CaseTypeResource.ts b/services/case_management_type/src/v2/models/CaseTypeResource.ts new file mode 100644 index 000000000000..cd5de626865b --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypeResource.ts @@ -0,0 +1,63 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseTypeResourceAttributes } from "./CaseTypeResourceAttributes"; +import { CaseTypeResourceType } from "./CaseTypeResourceType"; + +/** + * The definition of `CaseType` object. + */ +export class CaseTypeResource { + /** + * Case Type resource attributes + */ + "attributes"?: CaseTypeResourceAttributes; + /** + * Case type's identifier + */ + "id"?: string; + /** + * Case type resource type + */ + "type"?: CaseTypeResourceType; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + attributes: { + baseName: "attributes", + type: "CaseTypeResourceAttributes", + }, + id: { + baseName: "id", + type: "string", + }, + type: { + baseName: "type", + type: "CaseTypeResourceType", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseTypeResource.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/CaseTypeResourceAttributes.ts b/services/case_management_type/src/v2/models/CaseTypeResourceAttributes.ts new file mode 100644 index 000000000000..4cc652f42209 --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypeResourceAttributes.ts @@ -0,0 +1,71 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +/** + * Case Type resource attributes + */ +export class CaseTypeResourceAttributes { + /** + * Timestamp of when the case type was deleted + */ + "deletedAt"?: Date; + /** + * Case type description. + */ + "description"?: string; + /** + * Case type emoji. + */ + "emoji": string; + /** + * Case type name. + */ + "name": string; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + deletedAt: { + baseName: "deleted_at", + type: "Date", + format: "date-time", + }, + description: { + baseName: "description", + type: "string", + }, + emoji: { + baseName: "emoji", + type: "string", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseTypeResourceAttributes.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/CaseTypeResourceType.ts b/services/case_management_type/src/v2/models/CaseTypeResourceType.ts new file mode 100644 index 000000000000..ac0315565d88 --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypeResourceType.ts @@ -0,0 +1,7 @@ +import { UnparsedObject } from "@datadog/datadog-api-client"; + +/** + * Case type resource type + */ +export type CaseTypeResourceType = typeof CASE_TYPE | UnparsedObject; +export const CASE_TYPE = "case_type"; diff --git a/services/case_management_type/src/v2/models/CaseTypeResponse.ts b/services/case_management_type/src/v2/models/CaseTypeResponse.ts new file mode 100644 index 000000000000..50a6f3f15048 --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypeResponse.ts @@ -0,0 +1,46 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseTypeResource } from "./CaseTypeResource"; + +/** + * Case type response + */ +export class CaseTypeResponse { + /** + * The definition of `CaseType` object. + */ + "data"?: CaseTypeResource; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "CaseTypeResource", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseTypeResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/CaseTypesResponse.ts b/services/case_management_type/src/v2/models/CaseTypesResponse.ts new file mode 100644 index 000000000000..cca174c276f3 --- /dev/null +++ b/services/case_management_type/src/v2/models/CaseTypesResponse.ts @@ -0,0 +1,46 @@ +import { AttributeTypeMap } from "@datadog/datadog-api-client"; + +import { CaseTypeResource } from "./CaseTypeResource"; + +/** + * Case types response. + */ +export class CaseTypesResponse { + /** + * List of case types + */ + "data"?: Array; + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + data: { + baseName: "data", + type: "Array", + }, + additionalProperties: { + baseName: "additionalProperties", + type: "{ [key: string]: any; }", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CaseTypesResponse.attributeTypeMap; + } + + public constructor() {} +} diff --git a/services/case_management_type/src/v2/models/TypingInfo.ts b/services/case_management_type/src/v2/models/TypingInfo.ts new file mode 100644 index 000000000000..0f7fc3ba0e4d --- /dev/null +++ b/services/case_management_type/src/v2/models/TypingInfo.ts @@ -0,0 +1,25 @@ +import { ModelTypingInfo } from "@datadog/datadog-api-client"; + +import { APIErrorResponse } from "./APIErrorResponse"; +import { CaseTypeCreate } from "./CaseTypeCreate"; +import { CaseTypeCreateRequest } from "./CaseTypeCreateRequest"; +import { CaseTypeResource } from "./CaseTypeResource"; +import { CaseTypeResourceAttributes } from "./CaseTypeResourceAttributes"; +import { CaseTypeResponse } from "./CaseTypeResponse"; +import { CaseTypesResponse } from "./CaseTypesResponse"; + +export const TypingInfo: ModelTypingInfo = { + enumsMap: { + CaseTypeResourceType: ["case_type"], + }, + oneOfMap: {}, + typeMap: { + APIErrorResponse: APIErrorResponse, + CaseTypeCreate: CaseTypeCreate, + CaseTypeCreateRequest: CaseTypeCreateRequest, + CaseTypeResource: CaseTypeResource, + CaseTypeResourceAttributes: CaseTypeResourceAttributes, + CaseTypeResponse: CaseTypeResponse, + CaseTypesResponse: CaseTypesResponse, + }, +}; diff --git a/services/case_management_type/tsconfig.json b/services/case_management_type/tsconfig.json new file mode 100644 index 000000000000..d6c32bfb893c --- /dev/null +++ b/services/case_management_type/tsconfig.json @@ -0,0 +1,28 @@ +{ + "compilerOptions": { + "strict": true, + /* Basic Options */ + "target": "es6", + "module": "commonjs", + "moduleResolution": "node", + "declaration": true, + + "esModuleInterop": true, + "resolveJsonModule": true, + + "noImplicitAny": true, + "noImplicitThis": true, + + /* Additional Checks */ + "noUnusedLocals": false /* Report errors on unused locals. */, // TODO: reenable (unused imports!) + "noUnusedParameters": false /* Report errors on unused parameters. */, // TODO: set to true again + "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, + "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, + + "sourceMap": true, + "outDir": "./dist", + "lib": ["es6", "es7"] + }, + "exclude": ["dist", "node_modules", "tests"], + "include": ["src"] +} diff --git a/yarn.lock b/yarn.lock index f98caf115c50..f09285e3df38 100644 --- a/yarn.lock +++ b/yarn.lock @@ -361,6 +361,24 @@ __metadata: languageName: unknown linkType: soft +"@datadog/datadog-api-client-case-management-attribute@workspace:services/case_management_attribute": + version: 0.0.0-use.local + resolution: "@datadog/datadog-api-client-case-management-attribute@workspace:services/case_management_attribute" + dependencies: + "@datadog/datadog-api-client": "npm:^2.0.0-beta.0" + typescript: "npm:5.8.3" + languageName: unknown + linkType: soft + +"@datadog/datadog-api-client-case-management-type@workspace:services/case_management_type": + version: 0.0.0-use.local + resolution: "@datadog/datadog-api-client-case-management-type@workspace:services/case_management_type" + dependencies: + "@datadog/datadog-api-client": "npm:^2.0.0-beta.0" + typescript: "npm:5.8.3" + languageName: unknown + linkType: soft + "@datadog/datadog-api-client-case-management@workspace:services/case_management": version: 0.0.0-use.local resolution: "@datadog/datadog-api-client-case-management@workspace:services/case_management"