Synctera 'Statements' endpoints.
Code generated by scripts/generate.py from the Synctera OpenAPI spec. Do
not edit by hand — re-run mix generate (or python3 scripts/generate.py)
to regenerate.
Summary
Functions
Get a statement — Get a statement
Like get_statement/3 but returns the value directly and raises on error.
List statements — Get list of statements
Like list_statements/2 but returns the value directly and raises on error.
Functions
@spec get_statement(Synctera.Client.t(), String.t(), keyword()) :: {:ok, Synctera.JSON.json()} | {:error, Synctera.Error.t()}
Get a statement — Get a statement
Options
:device_info— a%Synctera.DeviceInfo{}overriding the client default.
@spec get_statement!(Synctera.Client.t(), String.t(), keyword()) :: Synctera.JSON.json()
Like get_statement/3 but returns the value directly and raises on error.
@spec list_statements( Synctera.Client.t(), keyword() ) :: {:ok, Synctera.JSON.json()} | {:error, Synctera.Error.t()}
List statements — Get list of statements
Options
Query options: :account_id
:device_info— a%Synctera.DeviceInfo{}overriding the client default.
@spec list_statements!( Synctera.Client.t(), keyword() ) :: Synctera.JSON.json()
Like list_statements/2 but returns the value directly and raises on error.