feat: implement records endpoints

This commit is contained in:
Stevan Freeborn
2026-03-26 15:25:25 -05:00
parent a698caed96
commit 9cd555b69f
4 changed files with 1832 additions and 0 deletions
+3
View File
@@ -53,6 +53,8 @@ type Client struct {
Reports *ReportsEndpoint
// Files provides access to the files within an Onspring instance.
Files *FilesEndpoint
// Records provides access to the records within an Onspring instance.
Records *RecordsEndpoint
}
// NewClient creates a new Onspring API client with the provided API key.
@@ -91,6 +93,7 @@ func NewClient(apiKey string, opts ...ClientOption) *Client {
c.Lists = &ListsEndpoint{client: c}
c.Reports = &ReportsEndpoint{client: c}
c.Files = &FilesEndpoint{client: c}
c.Records = &RecordsEndpoint{client: c}
return c
}