@robosystems/client 2.26.1 → 2.28.0
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 +41 -3
- package/artifacts/LedgerClient.js +40 -2
- package/artifacts/LedgerClient.ts +97 -2
- package/artifacts/graphql/generated/graphql.d.ts +121 -0
- package/artifacts/graphql/generated/graphql.js +364 -2
- package/artifacts/graphql/generated/graphql.ts +476 -0
- package/artifacts/graphql/queries/ledger/eventHandlers.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/eventHandlers.js +73 -0
- package/artifacts/graphql/queries/ledger/eventHandlers.ts +73 -0
- package/artifacts/graphql/queries/ledger/reportShares.d.ts +11 -0
- package/artifacts/graphql/queries/ledger/reportShares.js +46 -0
- package/artifacts/graphql/queries/ledger/reportShares.ts +44 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/sdk/index.d.ts +1 -1
- package/sdk/index.ts +1 -1
- package/sdk/sdk.gen.d.ts +2 -2
- package/sdk/sdk.gen.js +2 -2
- package/sdk/sdk.gen.ts +2 -2
- package/sdk/types.gen.d.ts +48 -308
- package/sdk/types.gen.ts +48 -317
- package/sdk.gen.d.ts +2 -2
- package/sdk.gen.js +2 -2
- package/sdk.gen.ts +2 -2
- package/types.gen.d.ts +48 -308
- package/types.gen.ts +48 -317
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AcceptSuggestionsRequest, AcceptSuggestionsResponse, AllocationOverrideResponse, AssociationResponse, AutoMapElementsOperation, BindTextBlockRequest, BindTextBlockResponse, BlockedSourceGraphResponse, BlockSourceGraphResult, ComputeMetricsRequest, ComputeMetricsResponse, ConsolidationProposal, ConsolidationWorksheetRequest, ConsolidationWorksheetResponse, CreateAgentRequest, CreateDimensionRequest, CreateEntityRequest, CreateEventBlockRequest, CreateEventHandlerRequest, CreateInformationBlockRequest, CreateMappingAssociationOperation, CreateTaxonomyBlockRequest, CreateViewRequest, DeleteInformationBlockRequest, DeleteInformationBlockResponse, DeleteMappingAssociationOperation, DeleteResult, DeleteTaxonomyBlockRequest, DeleteTaxonomyBlockResponse, DimensionResponse, EntityTaxonomyResponse, EvaluateRulesRequest, EvaluateRulesResponse, EventBlockEnvelope, EventHandlerResponse, FinancialStatementAnalysisRequest, FinancialStatementAnalysisResponse, InformationBlockEnvelope, InitializeChartOfAccountsRequest, JournalEntryResponse, LearnClassificationDefaultsResponse, LedgerAgentResponse, LinkBankAccountRequest, LinkBankAccountResponse, LinkEntityTaxonomyRequest, LiveFinancialStatementRequest, LiveFinancialStatementResponse, OperationEnvelope, PreviewConsolidationEntriesResponse, PreviewEventBlockResponse, PreviewReconciliationsRequest, PromoteObligationsRequest, PromoteObligationsResponse, ProposeConsolidationEntriesResponse, PublishListMemberResponse, PublishListResponse, ReconcilingItemPlan, RecordOpeningBalanceRequest, ReportResponse, ResolveReconcilingItemRequest, ResolveReconcilingItemResponse, RevokeReportShareResponse, SetAllocationOverrideRequest, ShareReportResponse, TaxonomyBlockEnvelope, UpdateAgentRequest, UpdateDimensionRequest, UpdateEntityRequest, UpdateEventBlockRequest, UpdateEventHandlerRequest, UpdateInformationBlockRequest, UpdateJournalEntryRequest, UpdateTaxonomyBlockRequest, ViewResponse } from '../types.gen';
|
|
2
2
|
import type { TokenProvider } from './graphql/client';
|
|
3
|
-
import { ListLedgerBankAccountsQuery, type AgedReceivablesQuery, type ClassificationStatsQuery, type DischargeCandidatesQuery, type FlowCandidatesQuery, type GetInformationBlockQuery, type GetLedgerAccountRegisterQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerAgentQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, type GetLedgerEventBlockQuery, type GetLedgerFiscalCalendarQuery, type GetLedgerMappedTrialBalanceQuery, type GetLedgerMappingCoverageQuery, type GetLedgerMappingQuery, type GetLedgerPeriodCloseStatusQuery, type GetLedgerPeriodDraftsQuery, type GetLedgerPublishListQuery, type GetLedgerReportingTaxonomyQuery, type GetLedgerReportPackageQuery, type GetLedgerReportQuery, type GetLedgerStatementQuery, type GetLedgerSummaryQuery, type GetLedgerTransactionQuery, type GetLedgerTrialBalanceQuery, type ListChartTemplatesQuery, type ListInformationBlocksQuery, type ListInformationBlockSummariesQuery, type ListLedgerAccountsQuery, type ListLedgerAgentsQuery, type ListLedgerBlockedSourceGraphsQuery, type ListLedgerDimensionsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerEventBlocksQuery, type ListLedgerJournalEntriesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReconciliationsQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery, type MappingCandidatesQuery, type OpenItemsForAgentQuery, type ReportDownloadFormat, type ReportLifecycle } from './graphql/generated/graphql';
|
|
3
|
+
import { ListLedgerBankAccountsQuery, type AgedReceivablesQuery, type ClassificationStatsQuery, type DischargeCandidatesQuery, type FlowCandidatesQuery, type GetInformationBlockQuery, type GetLedgerAccountRegisterQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerAgentQuery, type GetLedgerClosingBookStructuresQuery, type GetLedgerEntityQuery, type GetLedgerEventBlockQuery, type GetLedgerFiscalCalendarQuery, type GetLedgerMappedTrialBalanceQuery, type GetLedgerMappingCoverageQuery, type GetLedgerMappingQuery, type GetLedgerPeriodCloseStatusQuery, type GetLedgerPeriodDraftsQuery, type GetLedgerPublishListQuery, type GetLedgerReportingTaxonomyQuery, type GetLedgerReportPackageQuery, type GetLedgerReportQuery, type GetLedgerStatementQuery, type GetLedgerSummaryQuery, type GetLedgerTransactionQuery, type GetLedgerTrialBalanceQuery, type ListChartTemplatesQuery, type ListInformationBlocksQuery, type ListInformationBlockSummariesQuery, type ListLedgerAccountsQuery, type ListLedgerAgentsQuery, type ListLedgerBlockedSourceGraphsQuery, type ListLedgerDimensionsQuery, type ListLedgerElementsQuery, type ListLedgerEntitiesQuery, type ListLedgerEventBlocksQuery, type ListLedgerEventHandlersQuery, type ListLedgerJournalEntriesQuery, type ListLedgerMappingsQuery, type ListLedgerPublishListsQuery, type ListLedgerReconciliationsQuery, type ListLedgerReportSharesQuery, type ListLedgerReportsQuery, type ListLedgerStructuresQuery, type ListLedgerTaxonomiesQuery, type ListLedgerTransactionsQuery, type ListLedgerUnmappedElementsQuery, type MappingCandidatesQuery, type OpenItemsForAgentQuery, type ReportDownloadFormat, type ReportLifecycle } from './graphql/generated/graphql';
|
|
4
4
|
export { GraphQLError } from './graphql/client';
|
|
5
5
|
export type { ReportLifecycle };
|
|
6
6
|
export type LedgerEntity = NonNullable<GetLedgerEntityQuery['entity']>;
|
|
@@ -90,6 +90,14 @@ export type PublishList = NonNullable<ListLedgerPublishListsQuery['publishLists'
|
|
|
90
90
|
export type PublishListDetail = NonNullable<GetLedgerPublishListQuery['publishList']>;
|
|
91
91
|
export type PublishListMember = PublishListDetail['members'][number];
|
|
92
92
|
export type BlockedSourceGraph = NonNullable<ListLedgerBlockedSourceGraphsQuery['blockedSourceGraphs']>['blockedSourceGraphs'][number];
|
|
93
|
+
/** One delivery of a report to a recipient graph, with its revocation state. */
|
|
94
|
+
export type ReportShare = NonNullable<ListLedgerReportSharesQuery['reportShares']>['reportShares'][number];
|
|
95
|
+
/**
|
|
96
|
+
* A rule that turns a matching event into GL rows. `awaitingApproval` marks
|
|
97
|
+
* an AI client's suggestion, which takes no part in matching until a person
|
|
98
|
+
* approves it with `updateEventHandler(..., { approve: true })`.
|
|
99
|
+
*/
|
|
100
|
+
export type LedgerEventHandler = NonNullable<ListLedgerEventHandlersQuery['eventHandlers']>['eventHandlers'][number];
|
|
93
101
|
/**
|
|
94
102
|
* Presigned-URL response for a Report bundle download.
|
|
95
103
|
*
|
|
@@ -1181,8 +1189,23 @@ export declare class LedgerClient {
|
|
|
1181
1189
|
*/
|
|
1182
1190
|
createEventHandler(graphId: string, body: CreateEventHandlerRequest): Promise<EventHandlerResponse>;
|
|
1183
1191
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
* AI
|
|
1192
|
+
* The graph's event handlers, highest priority first, active or not.
|
|
1193
|
+
* `awaitingApproval: true` narrows to the AI's suggestions no one has
|
|
1194
|
+
* approved; `false` to everything else.
|
|
1195
|
+
*/
|
|
1196
|
+
listEventHandlers(graphId: string, options?: {
|
|
1197
|
+
eventType?: string;
|
|
1198
|
+
isActive?: boolean;
|
|
1199
|
+
awaitingApproval?: boolean;
|
|
1200
|
+
limit?: number;
|
|
1201
|
+
offset?: number;
|
|
1202
|
+
}): Promise<LedgerEventHandler[]>;
|
|
1203
|
+
/** One event handler, or null. */
|
|
1204
|
+
getEventHandler(graphId: string, id: string): Promise<LedgerEventHandler | null>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Update a registered event handler. Pass `approve: true` to approve an
|
|
1207
|
+
* AI-suggested handler — a person's action: through an AI client it is
|
|
1208
|
+
* refused.
|
|
1186
1209
|
*/
|
|
1187
1210
|
updateEventHandler(graphId: string, body: UpdateEventHandlerRequest): Promise<EventHandlerResponse>;
|
|
1188
1211
|
/**
|
|
@@ -1332,6 +1355,21 @@ export declare class LedgerClient {
|
|
|
1332
1355
|
* investor's declared holding survives the withdrawal.
|
|
1333
1356
|
*/
|
|
1334
1357
|
revokeReportShare(graphId: string, reportId: string, targetGraphId: string): Promise<RevokeReportShareResponse>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Where this graph's reports have been shared — the sender's record behind
|
|
1360
|
+
* `shareReport` and `revokeReportShare`.
|
|
1361
|
+
*
|
|
1362
|
+
* `reportId` narrows to one report; omitted, the list is the graph's whole
|
|
1363
|
+
* distribution log. Revoked shares stay out unless `includeRevoked` is set:
|
|
1364
|
+
* a recipient shared to, revoked, and shared to again has one revoked row
|
|
1365
|
+
* and one live.
|
|
1366
|
+
*/
|
|
1367
|
+
listReportShares(graphId: string, options?: {
|
|
1368
|
+
reportId?: string;
|
|
1369
|
+
includeRevoked?: boolean;
|
|
1370
|
+
limit?: number;
|
|
1371
|
+
offset?: number;
|
|
1372
|
+
}): Promise<ReportShare[]>;
|
|
1335
1373
|
/** List source graphs barred from sharing reports into this graph. */
|
|
1336
1374
|
listBlockedSourceGraphs(graphId: string, options?: {
|
|
1337
1375
|
limit?: number;
|
|
@@ -1260,8 +1260,28 @@ class LedgerClient {
|
|
|
1260
1260
|
return this.requireResult('Create event handler', envelope.result);
|
|
1261
1261
|
}
|
|
1262
1262
|
/**
|
|
1263
|
-
*
|
|
1264
|
-
* AI
|
|
1263
|
+
* The graph's event handlers, highest priority first, active or not.
|
|
1264
|
+
* `awaitingApproval: true` narrows to the AI's suggestions no one has
|
|
1265
|
+
* approved; `false` to everything else.
|
|
1266
|
+
*/
|
|
1267
|
+
async listEventHandlers(graphId, options) {
|
|
1268
|
+
const list = await this.gqlQuery(graphId, graphql_1.ListLedgerEventHandlersDocument, {
|
|
1269
|
+
eventType: options?.eventType ?? null,
|
|
1270
|
+
isActive: options?.isActive ?? null,
|
|
1271
|
+
awaitingApproval: options?.awaitingApproval ?? null,
|
|
1272
|
+
limit: options?.limit ?? 100,
|
|
1273
|
+
offset: options?.offset ?? 0,
|
|
1274
|
+
}, 'List event handlers', (data) => data.eventHandlers);
|
|
1275
|
+
return list?.eventHandlers ?? [];
|
|
1276
|
+
}
|
|
1277
|
+
/** One event handler, or null. */
|
|
1278
|
+
async getEventHandler(graphId, id) {
|
|
1279
|
+
return this.gqlQuery(graphId, graphql_1.GetLedgerEventHandlerDocument, { id }, 'Get event handler', (data) => data.eventHandler ?? null);
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Update a registered event handler. Pass `approve: true` to approve an
|
|
1283
|
+
* AI-suggested handler — a person's action: through an AI client it is
|
|
1284
|
+
* refused.
|
|
1265
1285
|
*/
|
|
1266
1286
|
async updateEventHandler(graphId, body) {
|
|
1267
1287
|
const envelope = await this.callOperation('Update event handler', (o) => (0, sdk_gen_1.updateEventHandler)({ ...o, path: { graph_id: graphId }, body }));
|
|
@@ -1538,6 +1558,24 @@ class LedgerClient {
|
|
|
1538
1558
|
}));
|
|
1539
1559
|
return this.requireResult('Revoke report share', envelope.result);
|
|
1540
1560
|
}
|
|
1561
|
+
/**
|
|
1562
|
+
* Where this graph's reports have been shared — the sender's record behind
|
|
1563
|
+
* `shareReport` and `revokeReportShare`.
|
|
1564
|
+
*
|
|
1565
|
+
* `reportId` narrows to one report; omitted, the list is the graph's whole
|
|
1566
|
+
* distribution log. Revoked shares stay out unless `includeRevoked` is set:
|
|
1567
|
+
* a recipient shared to, revoked, and shared to again has one revoked row
|
|
1568
|
+
* and one live.
|
|
1569
|
+
*/
|
|
1570
|
+
async listReportShares(graphId, options) {
|
|
1571
|
+
const list = await this.gqlQuery(graphId, graphql_1.ListLedgerReportSharesDocument, {
|
|
1572
|
+
reportId: options?.reportId ?? null,
|
|
1573
|
+
includeRevoked: options?.includeRevoked ?? false,
|
|
1574
|
+
limit: options?.limit ?? 100,
|
|
1575
|
+
offset: options?.offset ?? 0,
|
|
1576
|
+
}, 'List report shares', (data) => data.reportShares);
|
|
1577
|
+
return list?.reportShares ?? [];
|
|
1578
|
+
}
|
|
1541
1579
|
// ── Blocked source graphs ────────────────────────────────────────────
|
|
1542
1580
|
//
|
|
1543
1581
|
// Sharing is authorized capability-style — whoever holds this graph's id
|
|
@@ -214,6 +214,7 @@ import {
|
|
|
214
214
|
GetLedgerClosingBookStructuresDocument,
|
|
215
215
|
GetLedgerEntityDocument,
|
|
216
216
|
GetLedgerEventBlockDocument,
|
|
217
|
+
GetLedgerEventHandlerDocument,
|
|
217
218
|
GetLedgerFiscalCalendarDocument,
|
|
218
219
|
GetLedgerMappedTrialBalanceDocument,
|
|
219
220
|
GetLedgerMappingCoverageDocument,
|
|
@@ -241,11 +242,13 @@ import {
|
|
|
241
242
|
ListLedgerElementsDocument,
|
|
242
243
|
ListLedgerEntitiesDocument,
|
|
243
244
|
ListLedgerEventBlocksDocument,
|
|
245
|
+
ListLedgerEventHandlersDocument,
|
|
244
246
|
ListLedgerJournalEntriesDocument,
|
|
245
247
|
ListLedgerMappingsDocument,
|
|
246
248
|
ListLedgerPublishListsDocument,
|
|
247
249
|
ListLedgerReconciliationsDocument,
|
|
248
250
|
ListLedgerReportsDocument,
|
|
251
|
+
ListLedgerReportSharesDocument,
|
|
249
252
|
ListLedgerStructuresDocument,
|
|
250
253
|
ListLedgerTaxonomiesDocument,
|
|
251
254
|
ListLedgerTransactionsDocument,
|
|
@@ -288,10 +291,12 @@ import {
|
|
|
288
291
|
type ListLedgerElementsQuery,
|
|
289
292
|
type ListLedgerEntitiesQuery,
|
|
290
293
|
type ListLedgerEventBlocksQuery,
|
|
294
|
+
type ListLedgerEventHandlersQuery,
|
|
291
295
|
type ListLedgerJournalEntriesQuery,
|
|
292
296
|
type ListLedgerMappingsQuery,
|
|
293
297
|
type ListLedgerPublishListsQuery,
|
|
294
298
|
type ListLedgerReconciliationsQuery,
|
|
299
|
+
type ListLedgerReportSharesQuery,
|
|
295
300
|
type ListLedgerReportsQuery,
|
|
296
301
|
type ListLedgerStructuresQuery,
|
|
297
302
|
type ListLedgerTaxonomiesQuery,
|
|
@@ -450,6 +455,20 @@ export type BlockedSourceGraph = NonNullable<
|
|
|
450
455
|
ListLedgerBlockedSourceGraphsQuery['blockedSourceGraphs']
|
|
451
456
|
>['blockedSourceGraphs'][number]
|
|
452
457
|
|
|
458
|
+
/** One delivery of a report to a recipient graph, with its revocation state. */
|
|
459
|
+
export type ReportShare = NonNullable<
|
|
460
|
+
ListLedgerReportSharesQuery['reportShares']
|
|
461
|
+
>['reportShares'][number]
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* A rule that turns a matching event into GL rows. `awaitingApproval` marks
|
|
465
|
+
* an AI client's suggestion, which takes no part in matching until a person
|
|
466
|
+
* approves it with `updateEventHandler(..., { approve: true })`.
|
|
467
|
+
*/
|
|
468
|
+
export type LedgerEventHandler = NonNullable<
|
|
469
|
+
ListLedgerEventHandlersQuery['eventHandlers']
|
|
470
|
+
>['eventHandlers'][number]
|
|
471
|
+
|
|
453
472
|
/**
|
|
454
473
|
* Presigned-URL response for a Report bundle download.
|
|
455
474
|
*
|
|
@@ -3048,8 +3067,51 @@ export class LedgerClient {
|
|
|
3048
3067
|
}
|
|
3049
3068
|
|
|
3050
3069
|
/**
|
|
3051
|
-
*
|
|
3052
|
-
* AI
|
|
3070
|
+
* The graph's event handlers, highest priority first, active or not.
|
|
3071
|
+
* `awaitingApproval: true` narrows to the AI's suggestions no one has
|
|
3072
|
+
* approved; `false` to everything else.
|
|
3073
|
+
*/
|
|
3074
|
+
async listEventHandlers(
|
|
3075
|
+
graphId: string,
|
|
3076
|
+
options?: {
|
|
3077
|
+
eventType?: string
|
|
3078
|
+
isActive?: boolean
|
|
3079
|
+
awaitingApproval?: boolean
|
|
3080
|
+
limit?: number
|
|
3081
|
+
offset?: number
|
|
3082
|
+
}
|
|
3083
|
+
): Promise<LedgerEventHandler[]> {
|
|
3084
|
+
const list = await this.gqlQuery(
|
|
3085
|
+
graphId,
|
|
3086
|
+
ListLedgerEventHandlersDocument,
|
|
3087
|
+
{
|
|
3088
|
+
eventType: options?.eventType ?? null,
|
|
3089
|
+
isActive: options?.isActive ?? null,
|
|
3090
|
+
awaitingApproval: options?.awaitingApproval ?? null,
|
|
3091
|
+
limit: options?.limit ?? 100,
|
|
3092
|
+
offset: options?.offset ?? 0,
|
|
3093
|
+
},
|
|
3094
|
+
'List event handlers',
|
|
3095
|
+
(data) => data.eventHandlers
|
|
3096
|
+
)
|
|
3097
|
+
return list?.eventHandlers ?? []
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
/** One event handler, or null. */
|
|
3101
|
+
async getEventHandler(graphId: string, id: string): Promise<LedgerEventHandler | null> {
|
|
3102
|
+
return this.gqlQuery(
|
|
3103
|
+
graphId,
|
|
3104
|
+
GetLedgerEventHandlerDocument,
|
|
3105
|
+
{ id },
|
|
3106
|
+
'Get event handler',
|
|
3107
|
+
(data) => data.eventHandler ?? null
|
|
3108
|
+
)
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Update a registered event handler. Pass `approve: true` to approve an
|
|
3113
|
+
* AI-suggested handler — a person's action: through an AI client it is
|
|
3114
|
+
* refused.
|
|
3053
3115
|
*/
|
|
3054
3116
|
async updateEventHandler(
|
|
3055
3117
|
graphId: string,
|
|
@@ -3455,6 +3517,39 @@ export class LedgerClient {
|
|
|
3455
3517
|
return this.requireResult('Revoke report share', envelope.result)
|
|
3456
3518
|
}
|
|
3457
3519
|
|
|
3520
|
+
/**
|
|
3521
|
+
* Where this graph's reports have been shared — the sender's record behind
|
|
3522
|
+
* `shareReport` and `revokeReportShare`.
|
|
3523
|
+
*
|
|
3524
|
+
* `reportId` narrows to one report; omitted, the list is the graph's whole
|
|
3525
|
+
* distribution log. Revoked shares stay out unless `includeRevoked` is set:
|
|
3526
|
+
* a recipient shared to, revoked, and shared to again has one revoked row
|
|
3527
|
+
* and one live.
|
|
3528
|
+
*/
|
|
3529
|
+
async listReportShares(
|
|
3530
|
+
graphId: string,
|
|
3531
|
+
options?: {
|
|
3532
|
+
reportId?: string
|
|
3533
|
+
includeRevoked?: boolean
|
|
3534
|
+
limit?: number
|
|
3535
|
+
offset?: number
|
|
3536
|
+
}
|
|
3537
|
+
): Promise<ReportShare[]> {
|
|
3538
|
+
const list = await this.gqlQuery(
|
|
3539
|
+
graphId,
|
|
3540
|
+
ListLedgerReportSharesDocument,
|
|
3541
|
+
{
|
|
3542
|
+
reportId: options?.reportId ?? null,
|
|
3543
|
+
includeRevoked: options?.includeRevoked ?? false,
|
|
3544
|
+
limit: options?.limit ?? 100,
|
|
3545
|
+
offset: options?.offset ?? 0,
|
|
3546
|
+
},
|
|
3547
|
+
'List report shares',
|
|
3548
|
+
(data) => data.reportShares
|
|
3549
|
+
)
|
|
3550
|
+
return list?.reportShares ?? []
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3458
3553
|
// ── Blocked source graphs ────────────────────────────────────────────
|
|
3459
3554
|
//
|
|
3460
3555
|
// Sharing is authorized capability-style — whoever holds this graph's id
|
|
@@ -1167,6 +1167,97 @@ export type ListLedgerEventBlocksQuery = {
|
|
|
1167
1167
|
createdBy: string;
|
|
1168
1168
|
}>;
|
|
1169
1169
|
};
|
|
1170
|
+
export type EventHandlerFieldsFragment = {
|
|
1171
|
+
id: string;
|
|
1172
|
+
name: string;
|
|
1173
|
+
description: string | null;
|
|
1174
|
+
eventType: string;
|
|
1175
|
+
eventCategory: string | null;
|
|
1176
|
+
matchSource: string | null;
|
|
1177
|
+
matchAgentType: string | null;
|
|
1178
|
+
matchResourceType: string | null;
|
|
1179
|
+
matchMetadataExpression: unknown;
|
|
1180
|
+
transactionTemplate: unknown;
|
|
1181
|
+
priority: number;
|
|
1182
|
+
isActive: boolean;
|
|
1183
|
+
origin: string;
|
|
1184
|
+
suggestedBy: string | null;
|
|
1185
|
+
confidence: number | null;
|
|
1186
|
+
approvedBy: string | null;
|
|
1187
|
+
approvedAt: string | null;
|
|
1188
|
+
awaitingApproval: boolean;
|
|
1189
|
+
createdAt: string | null;
|
|
1190
|
+
updatedAt: string | null;
|
|
1191
|
+
createdBy: string | null;
|
|
1192
|
+
};
|
|
1193
|
+
export type ListLedgerEventHandlersQueryVariables = Exact<{
|
|
1194
|
+
eventType: string | null | undefined;
|
|
1195
|
+
isActive: boolean | null | undefined;
|
|
1196
|
+
awaitingApproval: boolean | null | undefined;
|
|
1197
|
+
limit?: number;
|
|
1198
|
+
offset?: number;
|
|
1199
|
+
}>;
|
|
1200
|
+
export type ListLedgerEventHandlersQuery = {
|
|
1201
|
+
eventHandlers: {
|
|
1202
|
+
eventHandlers: Array<{
|
|
1203
|
+
id: string;
|
|
1204
|
+
name: string;
|
|
1205
|
+
description: string | null;
|
|
1206
|
+
eventType: string;
|
|
1207
|
+
eventCategory: string | null;
|
|
1208
|
+
matchSource: string | null;
|
|
1209
|
+
matchAgentType: string | null;
|
|
1210
|
+
matchResourceType: string | null;
|
|
1211
|
+
matchMetadataExpression: unknown;
|
|
1212
|
+
transactionTemplate: unknown;
|
|
1213
|
+
priority: number;
|
|
1214
|
+
isActive: boolean;
|
|
1215
|
+
origin: string;
|
|
1216
|
+
suggestedBy: string | null;
|
|
1217
|
+
confidence: number | null;
|
|
1218
|
+
approvedBy: string | null;
|
|
1219
|
+
approvedAt: string | null;
|
|
1220
|
+
awaitingApproval: boolean;
|
|
1221
|
+
createdAt: string | null;
|
|
1222
|
+
updatedAt: string | null;
|
|
1223
|
+
createdBy: string | null;
|
|
1224
|
+
}>;
|
|
1225
|
+
pagination: {
|
|
1226
|
+
total: number;
|
|
1227
|
+
limit: number;
|
|
1228
|
+
offset: number;
|
|
1229
|
+
hasMore: boolean;
|
|
1230
|
+
};
|
|
1231
|
+
} | null;
|
|
1232
|
+
};
|
|
1233
|
+
export type GetLedgerEventHandlerQueryVariables = Exact<{
|
|
1234
|
+
id: string;
|
|
1235
|
+
}>;
|
|
1236
|
+
export type GetLedgerEventHandlerQuery = {
|
|
1237
|
+
eventHandler: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
name: string;
|
|
1240
|
+
description: string | null;
|
|
1241
|
+
eventType: string;
|
|
1242
|
+
eventCategory: string | null;
|
|
1243
|
+
matchSource: string | null;
|
|
1244
|
+
matchAgentType: string | null;
|
|
1245
|
+
matchResourceType: string | null;
|
|
1246
|
+
matchMetadataExpression: unknown;
|
|
1247
|
+
transactionTemplate: unknown;
|
|
1248
|
+
priority: number;
|
|
1249
|
+
isActive: boolean;
|
|
1250
|
+
origin: string;
|
|
1251
|
+
suggestedBy: string | null;
|
|
1252
|
+
confidence: number | null;
|
|
1253
|
+
approvedBy: string | null;
|
|
1254
|
+
approvedAt: string | null;
|
|
1255
|
+
awaitingApproval: boolean;
|
|
1256
|
+
createdAt: string | null;
|
|
1257
|
+
updatedAt: string | null;
|
|
1258
|
+
createdBy: string | null;
|
|
1259
|
+
} | null;
|
|
1260
|
+
};
|
|
1170
1261
|
export type GetLedgerFiscalCalendarQueryVariables = Exact<{
|
|
1171
1262
|
entityId: string | null | undefined;
|
|
1172
1263
|
}>;
|
|
@@ -2324,6 +2415,32 @@ export type GetLedgerReportPackageQuery = {
|
|
|
2324
2415
|
}>;
|
|
2325
2416
|
} | null;
|
|
2326
2417
|
};
|
|
2418
|
+
export type ListLedgerReportSharesQueryVariables = Exact<{
|
|
2419
|
+
reportId: string | null | undefined;
|
|
2420
|
+
includeRevoked?: boolean;
|
|
2421
|
+
limit?: number;
|
|
2422
|
+
offset?: number;
|
|
2423
|
+
}>;
|
|
2424
|
+
export type ListLedgerReportSharesQuery = {
|
|
2425
|
+
reportShares: {
|
|
2426
|
+
reportShares: Array<{
|
|
2427
|
+
id: string;
|
|
2428
|
+
reportId: string;
|
|
2429
|
+
targetGraphId: string;
|
|
2430
|
+
targetGraphName: string | null;
|
|
2431
|
+
sharedBy: string;
|
|
2432
|
+
sharedAt: string;
|
|
2433
|
+
revokedAt: string | null;
|
|
2434
|
+
factCount: number;
|
|
2435
|
+
}>;
|
|
2436
|
+
pagination: {
|
|
2437
|
+
total: number;
|
|
2438
|
+
limit: number;
|
|
2439
|
+
offset: number;
|
|
2440
|
+
hasMore: boolean;
|
|
2441
|
+
};
|
|
2442
|
+
} | null;
|
|
2443
|
+
};
|
|
2327
2444
|
export type GetLedgerReportingTaxonomyQueryVariables = Exact<{
|
|
2328
2445
|
[key: string]: never;
|
|
2329
2446
|
}>;
|
|
@@ -2849,6 +2966,7 @@ export declare const RegisterLineFieldsFragmentDoc: DocumentNode<RegisterLineFie
|
|
|
2849
2966
|
export declare const AgingBucketsFieldsFragmentDoc: DocumentNode<AgingBucketsFieldsFragment, unknown>;
|
|
2850
2967
|
export declare const OpenItemFieldsFragmentDoc: DocumentNode<OpenItemFieldsFragment, unknown>;
|
|
2851
2968
|
export declare const AgedBalancesFieldsFragmentDoc: DocumentNode<AgedBalancesFieldsFragment, unknown>;
|
|
2969
|
+
export declare const EventHandlerFieldsFragmentDoc: DocumentNode<EventHandlerFieldsFragment, unknown>;
|
|
2852
2970
|
export declare const GetInvestorHoldingsDocument: DocumentNode<GetInvestorHoldingsQuery, GetInvestorHoldingsQueryVariables>;
|
|
2853
2971
|
export declare const GetInvestorPortfolioBlockDocument: DocumentNode<GetInvestorPortfolioBlockQuery, GetInvestorPortfolioBlockQueryVariables>;
|
|
2854
2972
|
export declare const ListInvestorPortfoliosDocument: DocumentNode<ListInvestorPortfoliosQuery, ListInvestorPortfoliosQueryVariables>;
|
|
@@ -2877,6 +2995,8 @@ export declare const ListLedgerEntitiesDocument: DocumentNode<ListLedgerEntities
|
|
|
2877
2995
|
export declare const GetLedgerEntityDocument: DocumentNode<GetLedgerEntityQuery, GetLedgerEntityQueryVariables>;
|
|
2878
2996
|
export declare const GetLedgerEventBlockDocument: DocumentNode<GetLedgerEventBlockQuery, GetLedgerEventBlockQueryVariables>;
|
|
2879
2997
|
export declare const ListLedgerEventBlocksDocument: DocumentNode<ListLedgerEventBlocksQuery, ListLedgerEventBlocksQueryVariables>;
|
|
2998
|
+
export declare const ListLedgerEventHandlersDocument: DocumentNode<ListLedgerEventHandlersQuery, ListLedgerEventHandlersQueryVariables>;
|
|
2999
|
+
export declare const GetLedgerEventHandlerDocument: DocumentNode<GetLedgerEventHandlerQuery, GetLedgerEventHandlerQueryVariables>;
|
|
2880
3000
|
export declare const GetLedgerFiscalCalendarDocument: DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>;
|
|
2881
3001
|
export declare const FlowCandidatesDocument: DocumentNode<FlowCandidatesQuery, FlowCandidatesQueryVariables>;
|
|
2882
3002
|
export declare const GetInformationBlockDocument: DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>;
|
|
@@ -2897,6 +3017,7 @@ export declare const ListLedgerReconciliationsDocument: DocumentNode<ListLedgerR
|
|
|
2897
3017
|
export declare const GetLedgerReportDocument: DocumentNode<GetLedgerReportQuery, GetLedgerReportQueryVariables>;
|
|
2898
3018
|
export declare const GetLedgerReportDownloadUrlDocument: DocumentNode<GetLedgerReportDownloadUrlQuery, GetLedgerReportDownloadUrlQueryVariables>;
|
|
2899
3019
|
export declare const GetLedgerReportPackageDocument: DocumentNode<GetLedgerReportPackageQuery, GetLedgerReportPackageQueryVariables>;
|
|
3020
|
+
export declare const ListLedgerReportSharesDocument: DocumentNode<ListLedgerReportSharesQuery, ListLedgerReportSharesQueryVariables>;
|
|
2900
3021
|
export declare const GetLedgerReportingTaxonomyDocument: DocumentNode<GetLedgerReportingTaxonomyQuery, GetLedgerReportingTaxonomyQueryVariables>;
|
|
2901
3022
|
export declare const ListLedgerReportsDocument: DocumentNode<ListLedgerReportsQuery, ListLedgerReportsQueryVariables>;
|
|
2902
3023
|
export declare const GetLedgerStatementDocument: DocumentNode<GetLedgerStatementQuery, GetLedgerStatementQueryVariables>;
|