Skip to main content

Interface: OperationV3<Request, RequestJSON, Response, ResponseJSON, Body, BodyJSON>

moralis-monorepo / @moralisweb3/common-core / OperationV3

Interface: OperationV3<Request, RequestJSON, Response, ResponseJSON, Body, BodyJSON>

@moralisweb3/common-core.OperationV3

Type parameters

Name
Request
RequestJSON
Response
ResponseJSON
Body
BodyJSON

Table of contents

Properties

Properties

groupName

groupName: string


hasBody

hasBody: boolean


hasResponse

hasResponse: boolean


httpMethod

httpMethod: string


operationId

operationId: string


parameterNames

parameterNames: string[]


parseResponse

Optional parseResponse: (json: ResponseJSON) => Response

Type declaration

▸ (json): Response

Parameters
NameType
jsonResponseJSON
Returns

Response


routePattern

routePattern: string


serializeBody

Optional serializeBody: (body: Body) => BodyJSON

Type declaration

▸ (body): BodyJSON

Parameters
NameType
bodyBody
Returns

BodyJSON


serializeRequest

Optional serializeRequest: (request: Request) => RequestJSON

Type declaration

▸ (request): RequestJSON

Parameters
NameType
requestRequest
Returns

RequestJSON