IssueTrackingCollectionTicketCommentsUpdateResponse
import { IssueTrackingCollectionTicketCommentsUpdateResponse } from "@apideck/unify/models/operations";
let value: IssueTrackingCollectionTicketCommentsUpdateResponse = {
httpMeta: {
response: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
request: new Request("https://example.com"),
},
updateCommentResponse: {
statusCode: 200,
status: "OK",
service: "github",
resource: "Tickets",
operation: "update",
data: {
id: "12345",
},
},
unexpectedErrorResponse: {
statusCode: 400,
error: "Bad Request",
typeName: "RequestHeadersValidationError",
message: "Invalid Params",
detail: {
"missing": [
{
"x-apideck-consumer-id": "required",
},
],
},
ref: "https://developers.apideck.com/errors#unauthorizederror",
},
};