CalCom. Codec
(cal_com v0.3.0)
Copy Markdown
The single strict boundary for Cal.com wire values.
Summary
Functions
Return a payload-shape error without copying request secrets.
Parse every documented field into the requested concrete schema.
Serialize a parsed object without adding absent PATCH fields.
Remove credentials before preserving a provider payload.
Parse a value using a fixed compiled rule.
Serialize a typed value at the request boundary.
Functions
@spec invalid(String.t()) :: {:error, CalCom.Error.t()}
Return a payload-shape error without copying request secrets.
@spec object(module(), term()) :: {:ok, struct()} | {:error, CalCom.Error.t()}
Parse every documented field into the requested concrete schema.
Serialize a parsed object without adding absent PATCH fields.
Remove credentials before preserving a provider payload.
@spec value(CalCom.Rule.t(), term()) :: {:ok, term()} | :error
Parse a value using a fixed compiled rule.
Serialize a typed value at the request boundary.