Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion clients/LedgerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2190,7 +2190,8 @@ export class LedgerClient {
*
* @param graphId Graph identifier owning the Report.
* @param reportId Report identifier (rpt_-prefixed ULID).
* @param options.format Serialization flavor — `JSONLD` (default) or `XBRL_2_1`.
* @param options.format Serialization flavor — `JSONLD` (default), `HOLON_JSONLD`,
* `XBRL_2_1`, or `TAVI` (the Project Tavi compiled model).
* @param options.expiresIn Presigned URL lifetime, in seconds.
*/
async getReportDownloadUrl(
Expand Down
2 changes: 1 addition & 1 deletion clients/graphql/generated/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
export type Incremental<T> =
T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'
export type ReportDownloadFormat = 'HOLON_JSONLD' | 'JSONLD' | 'XBRL_2_1'
export type ReportDownloadFormat = 'HOLON_JSONLD' | 'JSONLD' | 'TAVI' | 'XBRL_2_1'

export type GetInvestorHoldingsQueryVariables = Exact<{
portfolioId: string
Expand Down
7 changes: 4 additions & 3 deletions clients/graphql/queries/ledger/reportDownloadUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ import { gql } from 'graphql-request'
* Replaces the retired `GET .../reports/{id}/download` REST resource — a
* download is a read of stored state, so it lives on the read surface.
* Every flavor resolves to a short-lived presigned S3 URL the client
* follows directly (JSON-LD is stamped at publish time; XBRL is
* materialized + cached on first request). `format` accepts the
* `ReportDownloadFormat` enum (`JSONLD`, `XBRL_2_1`).
* follows directly (JSON-LD is stamped at publish time; XBRL, the holon
* and the Tavi compiled model are materialized + cached on first
* request). `format` accepts the `ReportDownloadFormat` enum (`JSONLD`,
* `HOLON_JSONLD`, `XBRL_2_1`, `TAVI`).
*/
export const GET_REPORT_DOWNLOAD_URL = gql`
query GetLedgerReportDownloadUrl(
Expand Down
2 changes: 1 addition & 1 deletion sdk/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5072,7 +5072,7 @@ export type EventBlockEnvelope = {
/**
* Event Category
*
* REA category — economic (`sales`, `purchase`, `financing`, `payroll`, `treasury`, `adjustment`, `recognition`, `other`) or support (`control`, `approval`, `reconciliation`, `inquiry`).
* REA category, scoped by `event_class` — economic (`sales`, `purchase`, `financing`, `payroll`, `treasury`, `adjustment`, `recognition`, `other`), support (`control`, `approval`, `reconciliation`, `inquiry`), or operational (`pipeline`, `engagement`, `schedule`, `other`) for occurrences that drive no GL — a lead, a lifecycle change, an outreach, a schedule setup.
*/
event_category: string;
/**
Expand Down