import { CrmCompaniesAddResponse } from "@apideck/unify/models/operations";
let value: CrmCompaniesAddResponse = {
httpMeta: {
response: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
request: new Request("https://example.com"),
},
createCompanyResponse: {
statusCode: 200,
status: "OK",
service: "zoho-crm",
resource: "companies",
operation: "add",
data: {
id: "12345",
},
},
unexpectedErrorResponse: {
statusCode: 400,
error: "Bad Request",
typeName: "RequestHeadersValidationError",
message: "Invalid Params",
detail: "Missing Header: x-apideck-consumer-id",
ref: "https://developers.apideck.com/errors#unauthorizederror",
},
};