@robosystems/client 2.27.0 → 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 +24 -3
- package/artifacts/LedgerClient.js +22 -2
- package/artifacts/LedgerClient.ts +57 -2
- package/artifacts/graphql/generated/graphql.d.ts +94 -0
- package/artifacts/graphql/generated/graphql.js +254 -2
- package/artifacts/graphql/generated/graphql.ts +343 -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/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 ListLedgerReportSharesQuery, 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']>;
|
|
@@ -92,6 +92,12 @@ export type PublishListMember = PublishListDetail['members'][number];
|
|
|
92
92
|
export type BlockedSourceGraph = NonNullable<ListLedgerBlockedSourceGraphsQuery['blockedSourceGraphs']>['blockedSourceGraphs'][number];
|
|
93
93
|
/** One delivery of a report to a recipient graph, with its revocation state. */
|
|
94
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];
|
|
95
101
|
/**
|
|
96
102
|
* Presigned-URL response for a Report bundle download.
|
|
97
103
|
*
|
|
@@ -1183,8 +1189,23 @@ export declare class LedgerClient {
|
|
|
1183
1189
|
*/
|
|
1184
1190
|
createEventHandler(graphId: string, body: CreateEventHandlerRequest): Promise<EventHandlerResponse>;
|
|
1185
1191
|
/**
|
|
1186
|
-
*
|
|
1187
|
-
* 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.
|
|
1188
1209
|
*/
|
|
1189
1210
|
updateEventHandler(graphId: string, body: UpdateEventHandlerRequest): Promise<EventHandlerResponse>;
|
|
1190
1211
|
/**
|
|
@@ -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 }));
|
|
@@ -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,6 +242,7 @@ import {
|
|
|
241
242
|
ListLedgerElementsDocument,
|
|
242
243
|
ListLedgerEntitiesDocument,
|
|
243
244
|
ListLedgerEventBlocksDocument,
|
|
245
|
+
ListLedgerEventHandlersDocument,
|
|
244
246
|
ListLedgerJournalEntriesDocument,
|
|
245
247
|
ListLedgerMappingsDocument,
|
|
246
248
|
ListLedgerPublishListsDocument,
|
|
@@ -289,6 +291,7 @@ import {
|
|
|
289
291
|
type ListLedgerElementsQuery,
|
|
290
292
|
type ListLedgerEntitiesQuery,
|
|
291
293
|
type ListLedgerEventBlocksQuery,
|
|
294
|
+
type ListLedgerEventHandlersQuery,
|
|
292
295
|
type ListLedgerJournalEntriesQuery,
|
|
293
296
|
type ListLedgerMappingsQuery,
|
|
294
297
|
type ListLedgerPublishListsQuery,
|
|
@@ -457,6 +460,15 @@ export type ReportShare = NonNullable<
|
|
|
457
460
|
ListLedgerReportSharesQuery['reportShares']
|
|
458
461
|
>['reportShares'][number]
|
|
459
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
|
+
|
|
460
472
|
/**
|
|
461
473
|
* Presigned-URL response for a Report bundle download.
|
|
462
474
|
*
|
|
@@ -3055,8 +3067,51 @@ export class LedgerClient {
|
|
|
3055
3067
|
}
|
|
3056
3068
|
|
|
3057
3069
|
/**
|
|
3058
|
-
*
|
|
3059
|
-
* 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.
|
|
3060
3115
|
*/
|
|
3061
3116
|
async updateEventHandler(
|
|
3062
3117
|
graphId: string,
|
|
@@ -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
|
}>;
|
|
@@ -2875,6 +2966,7 @@ export declare const RegisterLineFieldsFragmentDoc: DocumentNode<RegisterLineFie
|
|
|
2875
2966
|
export declare const AgingBucketsFieldsFragmentDoc: DocumentNode<AgingBucketsFieldsFragment, unknown>;
|
|
2876
2967
|
export declare const OpenItemFieldsFragmentDoc: DocumentNode<OpenItemFieldsFragment, unknown>;
|
|
2877
2968
|
export declare const AgedBalancesFieldsFragmentDoc: DocumentNode<AgedBalancesFieldsFragment, unknown>;
|
|
2969
|
+
export declare const EventHandlerFieldsFragmentDoc: DocumentNode<EventHandlerFieldsFragment, unknown>;
|
|
2878
2970
|
export declare const GetInvestorHoldingsDocument: DocumentNode<GetInvestorHoldingsQuery, GetInvestorHoldingsQueryVariables>;
|
|
2879
2971
|
export declare const GetInvestorPortfolioBlockDocument: DocumentNode<GetInvestorPortfolioBlockQuery, GetInvestorPortfolioBlockQueryVariables>;
|
|
2880
2972
|
export declare const ListInvestorPortfoliosDocument: DocumentNode<ListInvestorPortfoliosQuery, ListInvestorPortfoliosQueryVariables>;
|
|
@@ -2903,6 +2995,8 @@ export declare const ListLedgerEntitiesDocument: DocumentNode<ListLedgerEntities
|
|
|
2903
2995
|
export declare const GetLedgerEntityDocument: DocumentNode<GetLedgerEntityQuery, GetLedgerEntityQueryVariables>;
|
|
2904
2996
|
export declare const GetLedgerEventBlockDocument: DocumentNode<GetLedgerEventBlockQuery, GetLedgerEventBlockQueryVariables>;
|
|
2905
2997
|
export declare const ListLedgerEventBlocksDocument: DocumentNode<ListLedgerEventBlocksQuery, ListLedgerEventBlocksQueryVariables>;
|
|
2998
|
+
export declare const ListLedgerEventHandlersDocument: DocumentNode<ListLedgerEventHandlersQuery, ListLedgerEventHandlersQueryVariables>;
|
|
2999
|
+
export declare const GetLedgerEventHandlerDocument: DocumentNode<GetLedgerEventHandlerQuery, GetLedgerEventHandlerQueryVariables>;
|
|
2906
3000
|
export declare const GetLedgerFiscalCalendarDocument: DocumentNode<GetLedgerFiscalCalendarQuery, GetLedgerFiscalCalendarQueryVariables>;
|
|
2907
3001
|
export declare const FlowCandidatesDocument: DocumentNode<FlowCandidatesQuery, FlowCandidatesQueryVariables>;
|
|
2908
3002
|
export declare const GetInformationBlockDocument: DocumentNode<GetInformationBlockQuery, GetInformationBlockQueryVariables>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryStructureDocument = exports.ListLibraryStructuresDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = exports.GetLibraryElementClassificationsDocument = exports.GetLibraryElementArcsDocument = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = exports.GetLedgerTrialBalanceDocument = exports.ListLedgerTransactionsDocument = exports.GetLedgerTransactionDocument = exports.ListLedgerTaxonomiesDocument = exports.GetLedgerSummaryDocument = exports.ListLedgerStructuresDocument = exports.GetLedgerStatementDocument = exports.ListLedgerReportsDocument = exports.GetLedgerReportingTaxonomyDocument = exports.ListLedgerReportSharesDocument = exports.GetLedgerReportPackageDocument = exports.GetLedgerReportDownloadUrlDocument = void 0;
|
|
3
|
+
exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = exports.ListLedgerMappingsDocument = exports.GetLedgerMappingCoverageDocument = exports.MappingCandidatesDocument = exports.GetLedgerMappingDocument = exports.GetLedgerMappedTrialBalanceDocument = exports.ListLedgerJournalEntriesDocument = exports.ListInformationBlockSummariesDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockWindowedDocument = exports.GetInformationBlockDocument = exports.FlowCandidatesDocument = exports.GetLedgerFiscalCalendarDocument = exports.GetLedgerEventHandlerDocument = exports.ListLedgerEventHandlersDocument = exports.ListLedgerEventBlocksDocument = exports.GetLedgerEventBlockDocument = exports.GetLedgerEntityDocument = exports.ListLedgerEntitiesDocument = exports.ListLedgerElementsDocument = exports.ListLedgerDimensionsDocument = exports.GetLedgerClosingBookStructuresDocument = exports.ClassificationStatsDocument = exports.ListChartTemplatesDocument = exports.ListLedgerBlockedSourceGraphsDocument = exports.ListLedgerBankAccountsDocument = exports.ListLedgerAgentsDocument = exports.GetLedgerAgentDocument = exports.DischargeCandidatesDocument = exports.OpenItemsForAgentDocument = exports.AgedPayablesDocument = exports.AgedReceivablesDocument = exports.ListLedgerAccountsDocument = exports.GetLedgerAccountTreeDocument = exports.GetLedgerAccountRollupsDocument = exports.GetLedgerAccountRegisterDocument = exports.GetInvestorSecurityDocument = exports.ListInvestorSecuritiesDocument = exports.ListInvestorPositionsDocument = exports.GetInvestorPositionDocument = exports.ListInvestorPortfoliosDocument = exports.GetInvestorPortfolioBlockDocument = exports.GetInvestorHoldingsDocument = exports.EventHandlerFieldsFragmentDoc = exports.AgedBalancesFieldsFragmentDoc = exports.OpenItemFieldsFragmentDoc = exports.AgingBucketsFieldsFragmentDoc = exports.RegisterLineFieldsFragmentDoc = void 0;
|
|
4
|
+
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryStructureDocument = exports.ListLibraryStructuresDocument = exports.GetLibraryElementDocument = exports.SearchLibraryElementsDocument = exports.ListLibraryElementsDocument = exports.GetLibraryElementEquivalentsDocument = exports.GetLibraryElementClassificationsDocument = exports.GetLibraryElementArcsDocument = exports.ListLibraryTaxonomyArcsDocument = exports.ListLedgerUnmappedElementsDocument = exports.GetLedgerTrialBalanceDocument = exports.ListLedgerTransactionsDocument = exports.GetLedgerTransactionDocument = exports.ListLedgerTaxonomiesDocument = exports.GetLedgerSummaryDocument = exports.ListLedgerStructuresDocument = exports.GetLedgerStatementDocument = exports.ListLedgerReportsDocument = exports.GetLedgerReportingTaxonomyDocument = exports.ListLedgerReportSharesDocument = exports.GetLedgerReportPackageDocument = exports.GetLedgerReportDownloadUrlDocument = exports.GetLedgerReportDocument = exports.ListLedgerReconciliationsDocument = exports.ListLedgerPublishListsDocument = void 0;
|
|
5
5
|
exports.RegisterLineFieldsFragmentDoc = {
|
|
6
6
|
kind: 'Document',
|
|
7
7
|
definitions: [
|
|
@@ -246,6 +246,42 @@ exports.AgedBalancesFieldsFragmentDoc = {
|
|
|
246
246
|
},
|
|
247
247
|
],
|
|
248
248
|
};
|
|
249
|
+
exports.EventHandlerFieldsFragmentDoc = {
|
|
250
|
+
kind: 'Document',
|
|
251
|
+
definitions: [
|
|
252
|
+
{
|
|
253
|
+
kind: 'FragmentDefinition',
|
|
254
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
255
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
256
|
+
selectionSet: {
|
|
257
|
+
kind: 'SelectionSet',
|
|
258
|
+
selections: [
|
|
259
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
260
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
261
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
262
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
263
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
264
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
265
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
266
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
267
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
268
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
269
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
270
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
271
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
272
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
273
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
274
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
275
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
276
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
277
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
278
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
279
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
};
|
|
249
285
|
exports.GetInvestorHoldingsDocument = {
|
|
250
286
|
kind: 'Document',
|
|
251
287
|
definitions: [
|
|
@@ -3184,6 +3220,222 @@ exports.ListLedgerEventBlocksDocument = {
|
|
|
3184
3220
|
},
|
|
3185
3221
|
],
|
|
3186
3222
|
};
|
|
3223
|
+
exports.ListLedgerEventHandlersDocument = {
|
|
3224
|
+
kind: 'Document',
|
|
3225
|
+
definitions: [
|
|
3226
|
+
{
|
|
3227
|
+
kind: 'OperationDefinition',
|
|
3228
|
+
operation: 'query',
|
|
3229
|
+
name: { kind: 'Name', value: 'ListLedgerEventHandlers' },
|
|
3230
|
+
variableDefinitions: [
|
|
3231
|
+
{
|
|
3232
|
+
kind: 'VariableDefinition',
|
|
3233
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'eventType' } },
|
|
3234
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
kind: 'VariableDefinition',
|
|
3238
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
|
|
3239
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
kind: 'VariableDefinition',
|
|
3243
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
3244
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
kind: 'VariableDefinition',
|
|
3248
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
3249
|
+
type: {
|
|
3250
|
+
kind: 'NonNullType',
|
|
3251
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
3252
|
+
},
|
|
3253
|
+
defaultValue: { kind: 'IntValue', value: '100' },
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
kind: 'VariableDefinition',
|
|
3257
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
3258
|
+
type: {
|
|
3259
|
+
kind: 'NonNullType',
|
|
3260
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
|
|
3261
|
+
},
|
|
3262
|
+
defaultValue: { kind: 'IntValue', value: '0' },
|
|
3263
|
+
},
|
|
3264
|
+
],
|
|
3265
|
+
selectionSet: {
|
|
3266
|
+
kind: 'SelectionSet',
|
|
3267
|
+
selections: [
|
|
3268
|
+
{
|
|
3269
|
+
kind: 'Field',
|
|
3270
|
+
name: { kind: 'Name', value: 'eventHandlers' },
|
|
3271
|
+
arguments: [
|
|
3272
|
+
{
|
|
3273
|
+
kind: 'Argument',
|
|
3274
|
+
name: { kind: 'Name', value: 'eventType' },
|
|
3275
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'eventType' } },
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
kind: 'Argument',
|
|
3279
|
+
name: { kind: 'Name', value: 'isActive' },
|
|
3280
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'isActive' } },
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
kind: 'Argument',
|
|
3284
|
+
name: { kind: 'Name', value: 'awaitingApproval' },
|
|
3285
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
kind: 'Argument',
|
|
3289
|
+
name: { kind: 'Name', value: 'limit' },
|
|
3290
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
kind: 'Argument',
|
|
3294
|
+
name: { kind: 'Name', value: 'offset' },
|
|
3295
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'offset' } },
|
|
3296
|
+
},
|
|
3297
|
+
],
|
|
3298
|
+
selectionSet: {
|
|
3299
|
+
kind: 'SelectionSet',
|
|
3300
|
+
selections: [
|
|
3301
|
+
{
|
|
3302
|
+
kind: 'Field',
|
|
3303
|
+
name: { kind: 'Name', value: 'eventHandlers' },
|
|
3304
|
+
selectionSet: {
|
|
3305
|
+
kind: 'SelectionSet',
|
|
3306
|
+
selections: [
|
|
3307
|
+
{
|
|
3308
|
+
kind: 'FragmentSpread',
|
|
3309
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
3310
|
+
},
|
|
3311
|
+
],
|
|
3312
|
+
},
|
|
3313
|
+
},
|
|
3314
|
+
{
|
|
3315
|
+
kind: 'Field',
|
|
3316
|
+
name: { kind: 'Name', value: 'pagination' },
|
|
3317
|
+
selectionSet: {
|
|
3318
|
+
kind: 'SelectionSet',
|
|
3319
|
+
selections: [
|
|
3320
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'total' } },
|
|
3321
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'limit' } },
|
|
3322
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'offset' } },
|
|
3323
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasMore' } },
|
|
3324
|
+
],
|
|
3325
|
+
},
|
|
3326
|
+
},
|
|
3327
|
+
],
|
|
3328
|
+
},
|
|
3329
|
+
},
|
|
3330
|
+
],
|
|
3331
|
+
},
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
kind: 'FragmentDefinition',
|
|
3335
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
3336
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
3337
|
+
selectionSet: {
|
|
3338
|
+
kind: 'SelectionSet',
|
|
3339
|
+
selections: [
|
|
3340
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3341
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3342
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
3343
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
3344
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
3345
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
3346
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
3347
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
3348
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
3349
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
3350
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
3351
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3352
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
3353
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
3354
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
3355
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
3356
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
3357
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
3358
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3359
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3360
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
3361
|
+
],
|
|
3362
|
+
},
|
|
3363
|
+
},
|
|
3364
|
+
],
|
|
3365
|
+
};
|
|
3366
|
+
exports.GetLedgerEventHandlerDocument = {
|
|
3367
|
+
kind: 'Document',
|
|
3368
|
+
definitions: [
|
|
3369
|
+
{
|
|
3370
|
+
kind: 'OperationDefinition',
|
|
3371
|
+
operation: 'query',
|
|
3372
|
+
name: { kind: 'Name', value: 'GetLedgerEventHandler' },
|
|
3373
|
+
variableDefinitions: [
|
|
3374
|
+
{
|
|
3375
|
+
kind: 'VariableDefinition',
|
|
3376
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
3377
|
+
type: {
|
|
3378
|
+
kind: 'NonNullType',
|
|
3379
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
3380
|
+
},
|
|
3381
|
+
},
|
|
3382
|
+
],
|
|
3383
|
+
selectionSet: {
|
|
3384
|
+
kind: 'SelectionSet',
|
|
3385
|
+
selections: [
|
|
3386
|
+
{
|
|
3387
|
+
kind: 'Field',
|
|
3388
|
+
name: { kind: 'Name', value: 'eventHandler' },
|
|
3389
|
+
arguments: [
|
|
3390
|
+
{
|
|
3391
|
+
kind: 'Argument',
|
|
3392
|
+
name: { kind: 'Name', value: 'id' },
|
|
3393
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
3394
|
+
},
|
|
3395
|
+
],
|
|
3396
|
+
selectionSet: {
|
|
3397
|
+
kind: 'SelectionSet',
|
|
3398
|
+
selections: [
|
|
3399
|
+
{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'EventHandlerFields' } },
|
|
3400
|
+
],
|
|
3401
|
+
},
|
|
3402
|
+
},
|
|
3403
|
+
],
|
|
3404
|
+
},
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
kind: 'FragmentDefinition',
|
|
3408
|
+
name: { kind: 'Name', value: 'EventHandlerFields' },
|
|
3409
|
+
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'EventHandler' } },
|
|
3410
|
+
selectionSet: {
|
|
3411
|
+
kind: 'SelectionSet',
|
|
3412
|
+
selections: [
|
|
3413
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3414
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
3415
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
3416
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventType' } },
|
|
3417
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'eventCategory' } },
|
|
3418
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchSource' } },
|
|
3419
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchAgentType' } },
|
|
3420
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchResourceType' } },
|
|
3421
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'matchMetadataExpression' } },
|
|
3422
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'transactionTemplate' } },
|
|
3423
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'priority' } },
|
|
3424
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
3425
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'origin' } },
|
|
3426
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'suggestedBy' } },
|
|
3427
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'confidence' } },
|
|
3428
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedBy' } },
|
|
3429
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'approvedAt' } },
|
|
3430
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'awaitingApproval' } },
|
|
3431
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
3432
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } },
|
|
3433
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdBy' } },
|
|
3434
|
+
],
|
|
3435
|
+
},
|
|
3436
|
+
},
|
|
3437
|
+
],
|
|
3438
|
+
};
|
|
3187
3439
|
exports.GetLedgerFiscalCalendarDocument = {
|
|
3188
3440
|
kind: 'Document',
|
|
3189
3441
|
definitions: [
|