@robosystems/client 2.33.2 → 2.33.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/LedgerClient.d.ts +5 -3
- package/artifacts/LedgerClient.js +4 -2
- package/artifacts/LedgerClient.ts +5 -3
- package/artifacts/graphql/queries/ledger/reportDownloadUrl.d.ts +1 -1
- package/artifacts/graphql/queries/ledger/reportDownloadUrl.js +1 -1
- package/artifacts/graphql/queries/ledger/reportDownloadUrl.ts +1 -1
- package/package.json +1 -1
|
@@ -123,7 +123,7 @@ export interface ReportBundleDownloadResponse {
|
|
|
123
123
|
expiresAt: string;
|
|
124
124
|
/** MIME type of the artifact behind the URL. */
|
|
125
125
|
contentType: string;
|
|
126
|
-
/** Serialization flavor — ``tavi``, ``holon-jsonld`` or ``xbrl-2.1``. */
|
|
126
|
+
/** Serialization flavor — ``tavi``, ``holon-jsonld``, ``holon-jsonld-lineage`` or ``xbrl-2.1``. */
|
|
127
127
|
format: string;
|
|
128
128
|
/** Bundle generation number stamped on the Report. */
|
|
129
129
|
generationCount: number;
|
|
@@ -1538,8 +1538,10 @@ export declare class LedgerClient {
|
|
|
1538
1538
|
* @param graphId Graph identifier owning the Report.
|
|
1539
1539
|
* @param reportId Report identifier (rpt_-prefixed ULID).
|
|
1540
1540
|
* @param options.format Serialization flavor — `HOLON_JSONLD` (default, the
|
|
1541
|
-
* holon, which carries the whole report), `
|
|
1542
|
-
*
|
|
1541
|
+
* holon, which carries the whole report), `HOLON_JSONLD_LINEAGE` (the
|
|
1542
|
+
* holon with its `#lineage` graph: the ledger lines, entries and events
|
|
1543
|
+
* behind every frozen figure, for this graph's own members), `TAVI` (the
|
|
1544
|
+
* Project Tavi compiled model stamped at publish), or `XBRL_2_1`.
|
|
1543
1545
|
* @param options.expiresIn Presigned URL lifetime, in seconds.
|
|
1544
1546
|
*/
|
|
1545
1547
|
getReportDownloadUrl(graphId: string, reportId: string, options?: {
|
|
@@ -1611,8 +1611,10 @@ class LedgerClient {
|
|
|
1611
1611
|
* @param graphId Graph identifier owning the Report.
|
|
1612
1612
|
* @param reportId Report identifier (rpt_-prefixed ULID).
|
|
1613
1613
|
* @param options.format Serialization flavor — `HOLON_JSONLD` (default, the
|
|
1614
|
-
* holon, which carries the whole report), `
|
|
1615
|
-
*
|
|
1614
|
+
* holon, which carries the whole report), `HOLON_JSONLD_LINEAGE` (the
|
|
1615
|
+
* holon with its `#lineage` graph: the ledger lines, entries and events
|
|
1616
|
+
* behind every frozen figure, for this graph's own members), `TAVI` (the
|
|
1617
|
+
* Project Tavi compiled model stamped at publish), or `XBRL_2_1`.
|
|
1616
1618
|
* @param options.expiresIn Presigned URL lifetime, in seconds.
|
|
1617
1619
|
*/
|
|
1618
1620
|
async getReportDownloadUrl(graphId, reportId, options = {}) {
|
|
@@ -517,7 +517,7 @@ export interface ReportBundleDownloadResponse {
|
|
|
517
517
|
expiresAt: string
|
|
518
518
|
/** MIME type of the artifact behind the URL. */
|
|
519
519
|
contentType: string
|
|
520
|
-
/** Serialization flavor — ``tavi``, ``holon-jsonld`` or ``xbrl-2.1``. */
|
|
520
|
+
/** Serialization flavor — ``tavi``, ``holon-jsonld``, ``holon-jsonld-lineage`` or ``xbrl-2.1``. */
|
|
521
521
|
format: string
|
|
522
522
|
/** Bundle generation number stamped on the Report. */
|
|
523
523
|
generationCount: number
|
|
@@ -3791,8 +3791,10 @@ export class LedgerClient {
|
|
|
3791
3791
|
* @param graphId Graph identifier owning the Report.
|
|
3792
3792
|
* @param reportId Report identifier (rpt_-prefixed ULID).
|
|
3793
3793
|
* @param options.format Serialization flavor — `HOLON_JSONLD` (default, the
|
|
3794
|
-
* holon, which carries the whole report), `
|
|
3795
|
-
*
|
|
3794
|
+
* holon, which carries the whole report), `HOLON_JSONLD_LINEAGE` (the
|
|
3795
|
+
* holon with its `#lineage` graph: the ledger lines, entries and events
|
|
3796
|
+
* behind every frozen figure, for this graph's own members), `TAVI` (the
|
|
3797
|
+
* Project Tavi compiled model stamped at publish), or `XBRL_2_1`.
|
|
3796
3798
|
* @param options.expiresIn Presigned URL lifetime, in seconds.
|
|
3797
3799
|
*/
|
|
3798
3800
|
async getReportDownloadUrl(
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* follows directly (the Tavi compiled model is stamped at publish time;
|
|
8
8
|
* the holon and XBRL are materialized + cached on first request).
|
|
9
9
|
* `format` accepts the `ReportDownloadFormat` enum (`TAVI`,
|
|
10
|
-
* `HOLON_JSONLD`, `XBRL_2_1`).
|
|
10
|
+
* `HOLON_JSONLD`, `HOLON_JSONLD_LINEAGE`, `XBRL_2_1`).
|
|
11
11
|
*/
|
|
12
12
|
export declare const GET_REPORT_DOWNLOAD_URL: string;
|
|
@@ -11,7 +11,7 @@ const graphql_request_1 = require("graphql-request");
|
|
|
11
11
|
* follows directly (the Tavi compiled model is stamped at publish time;
|
|
12
12
|
* the holon and XBRL are materialized + cached on first request).
|
|
13
13
|
* `format` accepts the `ReportDownloadFormat` enum (`TAVI`,
|
|
14
|
-
* `HOLON_JSONLD`, `XBRL_2_1`).
|
|
14
|
+
* `HOLON_JSONLD`, `HOLON_JSONLD_LINEAGE`, `XBRL_2_1`).
|
|
15
15
|
*/
|
|
16
16
|
exports.GET_REPORT_DOWNLOAD_URL = (0, graphql_request_1.gql) `
|
|
17
17
|
query GetLedgerReportDownloadUrl(
|
|
@@ -9,7 +9,7 @@ import { gql } from 'graphql-request'
|
|
|
9
9
|
* follows directly (the Tavi compiled model is stamped at publish time;
|
|
10
10
|
* the holon and XBRL are materialized + cached on first request).
|
|
11
11
|
* `format` accepts the `ReportDownloadFormat` enum (`TAVI`,
|
|
12
|
-
* `HOLON_JSONLD`, `XBRL_2_1`).
|
|
12
|
+
* `HOLON_JSONLD`, `HOLON_JSONLD_LINEAGE`, `XBRL_2_1`).
|
|
13
13
|
*/
|
|
14
14
|
export const GET_REPORT_DOWNLOAD_URL = gql`
|
|
15
15
|
query GetLedgerReportDownloadUrl(
|