@dypai-ai/client-sdk - v1.12.0
    Preparing search index...

    Interface DypaiEndpointContract<TMethod, TInput, TOutput>

    Contract-first endpoint shape generated from DYPAI endpoint YAML files.

    input maps to query params for GET/DELETE and request body for POST/PUT/PATCH. output maps to the response data.

    interface DypaiEndpointContract<
        TMethod extends EndpointHttpMethod = EndpointHttpMethod,
        TInput = unknown,
        TOutput = unknown,
    > {
        input: TInput;
        method: TMethod;
        output: TOutput;
    }

    Type Parameters

    Index

    Properties

    Properties

    input: TInput
    method: TMethod
    output: TOutput