@robosystems/client 2.40.0 → 2.40.1
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/graphql/generated/graphql.d.ts +3 -0
- package/artifacts/graphql/generated/graphql.js +3 -0
- package/artifacts/graphql/generated/graphql.ts +6 -0
- package/artifacts/graphql/queries/ledger/report.js +1 -0
- package/artifacts/graphql/queries/ledger/report.ts +1 -0
- package/artifacts/graphql/queries/ledger/reportPackage.js +1 -0
- package/artifacts/graphql/queries/ledger/reportPackage.ts +1 -0
- package/artifacts/graphql/queries/ledger/reports.d.ts +2 -1
- package/artifacts/graphql/queries/ledger/reports.js +3 -1
- package/artifacts/graphql/queries/ledger/reports.ts +3 -1
- package/package.json +1 -1
|
@@ -2256,6 +2256,7 @@ export type GetLedgerReportQuery = {
|
|
|
2256
2256
|
sourceGraphId: string | null;
|
|
2257
2257
|
sourceReportId: string | null;
|
|
2258
2258
|
sharedAt: string | null;
|
|
2259
|
+
origin: string;
|
|
2259
2260
|
periods: Array<{
|
|
2260
2261
|
start: string;
|
|
2261
2262
|
end: string;
|
|
@@ -2304,6 +2305,7 @@ export type GetLedgerReportPackageQuery = {
|
|
|
2304
2305
|
sourceGraphId: string | null;
|
|
2305
2306
|
sourceReportId: string | null;
|
|
2306
2307
|
sharedAt: string | null;
|
|
2308
|
+
origin: string;
|
|
2307
2309
|
entityName: string | null;
|
|
2308
2310
|
aiGenerated: boolean;
|
|
2309
2311
|
createdAt: string;
|
|
@@ -2537,6 +2539,7 @@ export type ListLedgerReportsQuery = {
|
|
|
2537
2539
|
sourceGraphId: string | null;
|
|
2538
2540
|
sourceReportId: string | null;
|
|
2539
2541
|
sharedAt: string | null;
|
|
2542
|
+
origin: string;
|
|
2540
2543
|
periods: Array<{
|
|
2541
2544
|
start: string;
|
|
2542
2545
|
end: string;
|
|
@@ -6104,6 +6104,7 @@ exports.GetLedgerReportDocument = {
|
|
|
6104
6104
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
6105
6105
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
|
|
6106
6106
|
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
6107
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6107
6108
|
{
|
|
6108
6109
|
kind: 'Field',
|
|
6109
6110
|
name: { kind: 'Name', value: 'periods' },
|
|
@@ -6254,6 +6255,7 @@ exports.GetLedgerReportPackageDocument = {
|
|
|
6254
6255
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
6255
6256
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
|
|
6256
6257
|
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
6258
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6257
6259
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
|
|
6258
6260
|
{ kind: 'Field', name: { kind: 'Name', value: 'aiGenerated' } },
|
|
6259
6261
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
@@ -6893,6 +6895,7 @@ exports.ListLedgerReportsDocument = {
|
|
|
6893
6895
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
6894
6896
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
|
|
6895
6897
|
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
6898
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
6896
6899
|
{
|
|
6897
6900
|
kind: 'Field',
|
|
6898
6901
|
name: { kind: 'Name', value: 'periods' },
|
|
@@ -2226,6 +2226,7 @@ export type GetLedgerReportQuery = {
|
|
|
2226
2226
|
sourceGraphId: string | null
|
|
2227
2227
|
sourceReportId: string | null
|
|
2228
2228
|
sharedAt: string | null
|
|
2229
|
+
origin: string
|
|
2229
2230
|
periods: Array<{ start: string; end: string; label: string }> | null
|
|
2230
2231
|
structures: Array<{ id: string; name: string; blockType: string }>
|
|
2231
2232
|
} | null
|
|
@@ -2270,6 +2271,7 @@ export type GetLedgerReportPackageQuery = {
|
|
|
2270
2271
|
sourceGraphId: string | null
|
|
2271
2272
|
sourceReportId: string | null
|
|
2272
2273
|
sharedAt: string | null
|
|
2274
|
+
origin: string
|
|
2273
2275
|
entityName: string | null
|
|
2274
2276
|
aiGenerated: boolean
|
|
2275
2277
|
createdAt: string
|
|
@@ -2489,6 +2491,7 @@ export type ListLedgerReportsQuery = {
|
|
|
2489
2491
|
sourceGraphId: string | null
|
|
2490
2492
|
sourceReportId: string | null
|
|
2491
2493
|
sharedAt: string | null
|
|
2494
|
+
origin: string
|
|
2492
2495
|
periods: Array<{ start: string; end: string; label: string }> | null
|
|
2493
2496
|
structures: Array<{ id: string; name: string; blockType: string }>
|
|
2494
2497
|
}>
|
|
@@ -9077,6 +9080,7 @@ export const GetLedgerReportDocument = {
|
|
|
9077
9080
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
9078
9081
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
|
|
9079
9082
|
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
9083
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
9080
9084
|
{
|
|
9081
9085
|
kind: 'Field',
|
|
9082
9086
|
name: { kind: 'Name', value: 'periods' },
|
|
@@ -9230,6 +9234,7 @@ export const GetLedgerReportPackageDocument = {
|
|
|
9230
9234
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
9231
9235
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
|
|
9232
9236
|
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
9237
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
9233
9238
|
{ kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
|
|
9234
9239
|
{ kind: 'Field', name: { kind: 'Name', value: 'aiGenerated' } },
|
|
9235
9240
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
@@ -9872,6 +9877,7 @@ export const ListLedgerReportsDocument = {
|
|
|
9872
9877
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceGraphId' } },
|
|
9873
9878
|
{ kind: 'Field', name: { kind: 'Name', value: 'sourceReportId' } },
|
|
9874
9879
|
{ kind: 'Field', name: { kind: 'Name', value: 'sharedAt' } },
|
|
9880
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
9875
9881
|
{
|
|
9876
9882
|
kind: 'Field',
|
|
9877
9883
|
name: { kind: 'Name', value: 'periods' },
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* Includes both native reports (generated from this graph's books) and
|
|
8
8
|
* shared reports (materialized from another graph via a publish list).
|
|
9
|
-
* `sourceGraphId` / `sourceReportId` / `sharedAt` identify shared reports
|
|
9
|
+
* `sourceGraphId` / `sourceReportId` / `sharedAt` identify shared reports;
|
|
10
|
+
* `origin` says how any report arrived (`authored`, `shared`, `uploaded`).
|
|
10
11
|
*/
|
|
11
12
|
export declare const LIST_REPORTS: string;
|
|
@@ -10,7 +10,8 @@ const graphql_request_1 = require("graphql-request");
|
|
|
10
10
|
*
|
|
11
11
|
* Includes both native reports (generated from this graph's books) and
|
|
12
12
|
* shared reports (materialized from another graph via a publish list).
|
|
13
|
-
* `sourceGraphId` / `sourceReportId` / `sharedAt` identify shared reports
|
|
13
|
+
* `sourceGraphId` / `sourceReportId` / `sharedAt` identify shared reports;
|
|
14
|
+
* `origin` says how any report arrived (`authored`, `shared`, `uploaded`).
|
|
14
15
|
*/
|
|
15
16
|
exports.LIST_REPORTS = (0, graphql_request_1.gql) `
|
|
16
17
|
query ListLedgerReports($lifecycle: ReportLifecycle! = CURRENT, $entityId: String) {
|
|
@@ -34,6 +35,7 @@ exports.LIST_REPORTS = (0, graphql_request_1.gql) `
|
|
|
34
35
|
sourceGraphId
|
|
35
36
|
sourceReportId
|
|
36
37
|
sharedAt
|
|
38
|
+
origin
|
|
37
39
|
periods {
|
|
38
40
|
start
|
|
39
41
|
end
|
|
@@ -8,7 +8,8 @@ import { gql } from 'graphql-request'
|
|
|
8
8
|
*
|
|
9
9
|
* Includes both native reports (generated from this graph's books) and
|
|
10
10
|
* shared reports (materialized from another graph via a publish list).
|
|
11
|
-
* `sourceGraphId` / `sourceReportId` / `sharedAt` identify shared reports
|
|
11
|
+
* `sourceGraphId` / `sourceReportId` / `sharedAt` identify shared reports;
|
|
12
|
+
* `origin` says how any report arrived (`authored`, `shared`, `uploaded`).
|
|
12
13
|
*/
|
|
13
14
|
export const LIST_REPORTS = gql`
|
|
14
15
|
query ListLedgerReports($lifecycle: ReportLifecycle! = CURRENT, $entityId: String) {
|
|
@@ -32,6 +33,7 @@ export const LIST_REPORTS = gql`
|
|
|
32
33
|
sourceGraphId
|
|
33
34
|
sourceReportId
|
|
34
35
|
sharedAt
|
|
36
|
+
origin
|
|
35
37
|
periods {
|
|
36
38
|
start
|
|
37
39
|
end
|