Operation dispatcher using the pinned official OpenAPI contract.
Resource modules call this dispatcher. It checks path parameters, required query
parameters, enum values and numeric bounds before sending a request. Body maps
retain the official envelope (usually %{data: %{...}}) and are sent as supplied;
business rules and nested body validation belong to the API.
ExFattureincloud.call(client, :list_issued_documents,
path: [company_id: 123], query: [type: "invoice", per_page: 50])ExFattureincloud.Operations.all/0 exposes the complete operation catalog.
Summary
Types
Operation arguments passed to the dispatcher.
Path or query parameters with atom or string keys.
A path argument, supplied as a positive integer ID or a string segment.
Functions
Validates an operation's parameters and sends its request.
Types
@type options() :: [ path: parameters(), query: parameters(), body: map() | nil, multipart: list() ]
Operation arguments passed to the dispatcher.
Path or query parameters with atom or string keys.
@type path_parameter() :: pos_integer() | String.t()
A path argument, supplied as a positive integer ID or a string segment.
Functions
@spec call(ExFattureincloud.Client.t(), ExFattureincloud.Operations.id(), options()) :: ExFattureincloud.Response.result()
Validates an operation's parameters and sends its request.
Use :path for the parameters required by the route and :query for URL
query parameters. Use :body for a JSON envelope or :multipart for upload
fields as specified by the operation.