@robosystems/client 2.28.0 → 2.29.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 +28 -2
- package/artifacts/LedgerClient.js +25 -0
- package/artifacts/LedgerClient.ts +72 -0
- package/artifacts/graphql/generated/graphql.d.ts +50 -0
- package/artifacts/graphql/generated/graphql.js +193 -2
- package/artifacts/graphql/generated/graphql.ts +246 -0
- package/artifacts/graphql/queries/ledger/allocationShare.d.ts +10 -0
- package/artifacts/graphql/queries/ledger/allocationShare.js +51 -0
- package/artifacts/graphql/queries/ledger/allocationShare.ts +51 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +3 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +9 -1
- package/sdk/sdk.gen.js +19 -2
- package/sdk/sdk.gen.ts +18 -1
- package/sdk/types.gen.d.ts +248 -0
- package/sdk/types.gen.ts +257 -0
- package/sdk.gen.d.ts +9 -1
- package/sdk.gen.js +19 -2
- package/sdk.gen.ts +18 -1
- package/types.gen.d.ts +248 -0
- package/types.gen.ts +257 -0
|
@@ -1,6 +1,6 @@
|
|
|
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';
|
|
1
|
+
import type { AcceptSuggestionsRequest, AcceptSuggestionsResponse, AcquisitionResponse, 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, RecordAcquisitionRequest, 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 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';
|
|
3
|
+
import { ListLedgerBankAccountsQuery, type AgedReceivablesQuery, type ClassificationStatsQuery, type DischargeCandidatesQuery, type FlowCandidatesQuery, type GetInformationBlockQuery, type GetLedgerAccountRegisterQuery, type GetLedgerAccountRollupsQuery, type GetLedgerAccountTreeQuery, type GetLedgerAgentQuery, type GetLedgerAllocationShareQuery, 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 ListLedgerAllocationOverridesQuery, 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,15 @@ 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
|
+
* The outside owners' share of a member's result for one month, in cents:
|
|
97
|
+
* the pro-rata figure its ownership gives (`proRataAmount`), the override if
|
|
98
|
+
* one is set, and the share the consolidating entries use
|
|
99
|
+
* (`effectiveAmount`).
|
|
100
|
+
*/
|
|
101
|
+
export type LedgerAllocationShare = NonNullable<GetLedgerAllocationShareQuery['allocationShare']>;
|
|
102
|
+
/** A member's allocation override for one month. */
|
|
103
|
+
export type LedgerAllocationOverride = NonNullable<ListLedgerAllocationOverridesQuery['allocationOverrides']>['overrides'][number];
|
|
95
104
|
/**
|
|
96
105
|
* A rule that turns a matching event into GL rows. `awaitingApproval` marks
|
|
97
106
|
* an AI client's suggestion, which takes no part in matching until a person
|
|
@@ -1107,6 +1116,23 @@ export declare class LedgerClient {
|
|
|
1107
1116
|
* `clear: true` removes it. Only for a member consolidated in full.
|
|
1108
1117
|
*/
|
|
1109
1118
|
setAllocationOverride(graphId: string, body: SetAllocationOverrideRequest): Promise<AllocationOverrideResponse>;
|
|
1119
|
+
/**
|
|
1120
|
+
* The outside owners' share of a member's result for one month: the
|
|
1121
|
+
* pro-rata figure, the override if one is set, and the share the
|
|
1122
|
+
* consolidating entries use. Null when the ledger is not initialized.
|
|
1123
|
+
*/
|
|
1124
|
+
getAllocationShare(graphId: string, entityId: string, period: string): Promise<LedgerAllocationShare | null>;
|
|
1125
|
+
/** Every month a member's allocation override is set for, oldest first. */
|
|
1126
|
+
listAllocationOverrides(graphId: string, entityId: string): Promise<LedgerAllocationOverride[]>;
|
|
1127
|
+
/**
|
|
1128
|
+
* Record a member the parent bought from its outside owners: the
|
|
1129
|
+
* consideration paid the sellers, in cents, with the basis, and optionally
|
|
1130
|
+
* the outside owners' fair value and fair-value step-ups. Writes a draft in
|
|
1131
|
+
* the consolidation entity that its close posts; the excess over the
|
|
1132
|
+
* parent's share of the member's equity at acquisition goes to the
|
|
1133
|
+
* step-ups and goodwill. A bargain purchase needs `confirm_bargain_purchase`.
|
|
1134
|
+
*/
|
|
1135
|
+
recordAcquisition(graphId: string, body: RecordAcquisitionRequest): Promise<AcquisitionResponse>;
|
|
1110
1136
|
/**
|
|
1111
1137
|
* Create an event block directly. Use for support-class events
|
|
1112
1138
|
* (`event_class: 'support'`) with categories `approval`, `control`,
|
|
@@ -1145,6 +1145,31 @@ class LedgerClient {
|
|
|
1145
1145
|
const envelope = await this.callOperation('Set allocation override', (o) => (0, sdk_gen_1.setAllocationOverride)({ ...o, path: { graph_id: graphId }, body }));
|
|
1146
1146
|
return this.requireResult('Set allocation override', envelope.result);
|
|
1147
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
* The outside owners' share of a member's result for one month: the
|
|
1150
|
+
* pro-rata figure, the override if one is set, and the share the
|
|
1151
|
+
* consolidating entries use. Null when the ledger is not initialized.
|
|
1152
|
+
*/
|
|
1153
|
+
async getAllocationShare(graphId, entityId, period) {
|
|
1154
|
+
return this.gqlQuery(graphId, graphql_1.GetLedgerAllocationShareDocument, { entityId, period }, 'Get allocation share', (data) => data.allocationShare ?? null);
|
|
1155
|
+
}
|
|
1156
|
+
/** Every month a member's allocation override is set for, oldest first. */
|
|
1157
|
+
async listAllocationOverrides(graphId, entityId) {
|
|
1158
|
+
const list = await this.gqlQuery(graphId, graphql_1.ListLedgerAllocationOverridesDocument, { entityId }, 'List allocation overrides', (data) => data.allocationOverrides);
|
|
1159
|
+
return list?.overrides ?? [];
|
|
1160
|
+
}
|
|
1161
|
+
/**
|
|
1162
|
+
* Record a member the parent bought from its outside owners: the
|
|
1163
|
+
* consideration paid the sellers, in cents, with the basis, and optionally
|
|
1164
|
+
* the outside owners' fair value and fair-value step-ups. Writes a draft in
|
|
1165
|
+
* the consolidation entity that its close posts; the excess over the
|
|
1166
|
+
* parent's share of the member's equity at acquisition goes to the
|
|
1167
|
+
* step-ups and goodwill. A bargain purchase needs `confirm_bargain_purchase`.
|
|
1168
|
+
*/
|
|
1169
|
+
async recordAcquisition(graphId, body) {
|
|
1170
|
+
const envelope = await this.callOperation('Record acquisition', (o) => (0, sdk_gen_1.recordAcquisition)({ ...o, path: { graph_id: graphId }, body }));
|
|
1171
|
+
return this.requireResult('Record acquisition', envelope.result);
|
|
1172
|
+
}
|
|
1148
1173
|
// ── Event blocks (generic preview + status transitions) ──────────────
|
|
1149
1174
|
/**
|
|
1150
1175
|
* Create an event block directly. Use for support-class events
|
|
@@ -70,6 +70,7 @@ import {
|
|
|
70
70
|
promoteObligations,
|
|
71
71
|
proposeConsolidationEntries,
|
|
72
72
|
rebuildSchedule,
|
|
73
|
+
recordAcquisition,
|
|
73
74
|
recordOpeningBalance,
|
|
74
75
|
recordStatementBalance,
|
|
75
76
|
refreshReconciliations,
|
|
@@ -98,6 +99,7 @@ import {
|
|
|
98
99
|
import type {
|
|
99
100
|
AcceptSuggestionsRequest,
|
|
100
101
|
AcceptSuggestionsResponse,
|
|
102
|
+
AcquisitionResponse,
|
|
101
103
|
AddPublishListMembersOperation,
|
|
102
104
|
AllocationOverrideResponse,
|
|
103
105
|
AssociationResponse,
|
|
@@ -171,6 +173,7 @@ import type {
|
|
|
171
173
|
ReconciliationRow,
|
|
172
174
|
ReconciliationSummary,
|
|
173
175
|
ReconcilingItemPlan,
|
|
176
|
+
RecordAcquisitionRequest,
|
|
174
177
|
RecordOpeningBalanceRequest,
|
|
175
178
|
RecordStatementBalanceRequest,
|
|
176
179
|
RefreshReconciliationsRequest,
|
|
@@ -211,6 +214,7 @@ import {
|
|
|
211
214
|
GetLedgerAccountRollupsDocument,
|
|
212
215
|
GetLedgerAccountTreeDocument,
|
|
213
216
|
GetLedgerAgentDocument,
|
|
217
|
+
GetLedgerAllocationShareDocument,
|
|
214
218
|
GetLedgerClosingBookStructuresDocument,
|
|
215
219
|
GetLedgerEntityDocument,
|
|
216
220
|
GetLedgerEventBlockDocument,
|
|
@@ -235,6 +239,7 @@ import {
|
|
|
235
239
|
ListInformationBlockSummariesDocument,
|
|
236
240
|
ListLedgerAccountsDocument,
|
|
237
241
|
ListLedgerAgentsDocument,
|
|
242
|
+
ListLedgerAllocationOverridesDocument,
|
|
238
243
|
ListLedgerBankAccountsDocument,
|
|
239
244
|
ListLedgerBankAccountsQuery,
|
|
240
245
|
ListLedgerBlockedSourceGraphsDocument,
|
|
@@ -264,6 +269,7 @@ import {
|
|
|
264
269
|
type GetLedgerAccountRollupsQuery,
|
|
265
270
|
type GetLedgerAccountTreeQuery,
|
|
266
271
|
type GetLedgerAgentQuery,
|
|
272
|
+
type GetLedgerAllocationShareQuery,
|
|
267
273
|
type GetLedgerClosingBookStructuresQuery,
|
|
268
274
|
type GetLedgerEntityQuery,
|
|
269
275
|
type GetLedgerEventBlockQuery,
|
|
@@ -286,6 +292,7 @@ import {
|
|
|
286
292
|
type ListInformationBlockSummariesQuery,
|
|
287
293
|
type ListLedgerAccountsQuery,
|
|
288
294
|
type ListLedgerAgentsQuery,
|
|
295
|
+
type ListLedgerAllocationOverridesQuery,
|
|
289
296
|
type ListLedgerBlockedSourceGraphsQuery,
|
|
290
297
|
type ListLedgerDimensionsQuery,
|
|
291
298
|
type ListLedgerElementsQuery,
|
|
@@ -460,6 +467,19 @@ export type ReportShare = NonNullable<
|
|
|
460
467
|
ListLedgerReportSharesQuery['reportShares']
|
|
461
468
|
>['reportShares'][number]
|
|
462
469
|
|
|
470
|
+
/**
|
|
471
|
+
* The outside owners' share of a member's result for one month, in cents:
|
|
472
|
+
* the pro-rata figure its ownership gives (`proRataAmount`), the override if
|
|
473
|
+
* one is set, and the share the consolidating entries use
|
|
474
|
+
* (`effectiveAmount`).
|
|
475
|
+
*/
|
|
476
|
+
export type LedgerAllocationShare = NonNullable<GetLedgerAllocationShareQuery['allocationShare']>
|
|
477
|
+
|
|
478
|
+
/** A member's allocation override for one month. */
|
|
479
|
+
export type LedgerAllocationOverride = NonNullable<
|
|
480
|
+
ListLedgerAllocationOverridesQuery['allocationOverrides']
|
|
481
|
+
>['overrides'][number]
|
|
482
|
+
|
|
463
483
|
/**
|
|
464
484
|
* A rule that turns a matching event into GL rows. `awaitingApproval` marks
|
|
465
485
|
* an AI client's suggestion, which takes no part in matching until a person
|
|
@@ -2891,6 +2911,58 @@ export class LedgerClient {
|
|
|
2891
2911
|
return this.requireResult('Set allocation override', envelope.result)
|
|
2892
2912
|
}
|
|
2893
2913
|
|
|
2914
|
+
/**
|
|
2915
|
+
* The outside owners' share of a member's result for one month: the
|
|
2916
|
+
* pro-rata figure, the override if one is set, and the share the
|
|
2917
|
+
* consolidating entries use. Null when the ledger is not initialized.
|
|
2918
|
+
*/
|
|
2919
|
+
async getAllocationShare(
|
|
2920
|
+
graphId: string,
|
|
2921
|
+
entityId: string,
|
|
2922
|
+
period: string
|
|
2923
|
+
): Promise<LedgerAllocationShare | null> {
|
|
2924
|
+
return this.gqlQuery(
|
|
2925
|
+
graphId,
|
|
2926
|
+
GetLedgerAllocationShareDocument,
|
|
2927
|
+
{ entityId, period },
|
|
2928
|
+
'Get allocation share',
|
|
2929
|
+
(data) => data.allocationShare ?? null
|
|
2930
|
+
)
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
/** Every month a member's allocation override is set for, oldest first. */
|
|
2934
|
+
async listAllocationOverrides(
|
|
2935
|
+
graphId: string,
|
|
2936
|
+
entityId: string
|
|
2937
|
+
): Promise<LedgerAllocationOverride[]> {
|
|
2938
|
+
const list = await this.gqlQuery(
|
|
2939
|
+
graphId,
|
|
2940
|
+
ListLedgerAllocationOverridesDocument,
|
|
2941
|
+
{ entityId },
|
|
2942
|
+
'List allocation overrides',
|
|
2943
|
+
(data) => data.allocationOverrides
|
|
2944
|
+
)
|
|
2945
|
+
return list?.overrides ?? []
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* Record a member the parent bought from its outside owners: the
|
|
2950
|
+
* consideration paid the sellers, in cents, with the basis, and optionally
|
|
2951
|
+
* the outside owners' fair value and fair-value step-ups. Writes a draft in
|
|
2952
|
+
* the consolidation entity that its close posts; the excess over the
|
|
2953
|
+
* parent's share of the member's equity at acquisition goes to the
|
|
2954
|
+
* step-ups and goodwill. A bargain purchase needs `confirm_bargain_purchase`.
|
|
2955
|
+
*/
|
|
2956
|
+
async recordAcquisition(
|
|
2957
|
+
graphId: string,
|
|
2958
|
+
body: RecordAcquisitionRequest
|
|
2959
|
+
): Promise<AcquisitionResponse> {
|
|
2960
|
+
const envelope = await this.callOperation('Record acquisition', (o) =>
|
|
2961
|
+
recordAcquisition({ ...o, path: { graph_id: graphId }, body })
|
|
2962
|
+
)
|
|
2963
|
+
return this.requireResult('Record acquisition', envelope.result)
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2894
2966
|
// ── Event blocks (generic preview + status transitions) ──────────────
|
|
2895
2967
|
|
|
2896
2968
|
/**
|
|
@@ -839,6 +839,53 @@ export type ListLedgerAgentsQuery = {
|
|
|
839
839
|
}>;
|
|
840
840
|
}>;
|
|
841
841
|
};
|
|
842
|
+
export type AllocationOverrideFieldsFragment = {
|
|
843
|
+
period: string;
|
|
844
|
+
amount: number | null;
|
|
845
|
+
percentage: number | null;
|
|
846
|
+
basis: string | null;
|
|
847
|
+
setBy: string | null;
|
|
848
|
+
};
|
|
849
|
+
export type GetLedgerAllocationShareQueryVariables = Exact<{
|
|
850
|
+
entityId: string;
|
|
851
|
+
period: string;
|
|
852
|
+
}>;
|
|
853
|
+
export type GetLedgerAllocationShareQuery = {
|
|
854
|
+
allocationShare: {
|
|
855
|
+
entityId: string;
|
|
856
|
+
entityName: string;
|
|
857
|
+
period: string;
|
|
858
|
+
consolidationMethod: string;
|
|
859
|
+
ownershipPct: number | null;
|
|
860
|
+
outsidePct: number;
|
|
861
|
+
monthResult: number;
|
|
862
|
+
proRataAmount: number;
|
|
863
|
+
effectiveAmount: number;
|
|
864
|
+
closed: boolean;
|
|
865
|
+
override: {
|
|
866
|
+
period: string;
|
|
867
|
+
amount: number | null;
|
|
868
|
+
percentage: number | null;
|
|
869
|
+
basis: string | null;
|
|
870
|
+
setBy: string | null;
|
|
871
|
+
} | null;
|
|
872
|
+
} | null;
|
|
873
|
+
};
|
|
874
|
+
export type ListLedgerAllocationOverridesQueryVariables = Exact<{
|
|
875
|
+
entityId: string;
|
|
876
|
+
}>;
|
|
877
|
+
export type ListLedgerAllocationOverridesQuery = {
|
|
878
|
+
allocationOverrides: {
|
|
879
|
+
entityId: string;
|
|
880
|
+
overrides: Array<{
|
|
881
|
+
period: string;
|
|
882
|
+
amount: number | null;
|
|
883
|
+
percentage: number | null;
|
|
884
|
+
basis: string | null;
|
|
885
|
+
setBy: string | null;
|
|
886
|
+
}>;
|
|
887
|
+
} | null;
|
|
888
|
+
};
|
|
842
889
|
export type ListLedgerBankAccountsQueryVariables = Exact<{
|
|
843
890
|
entityId: string | null | undefined;
|
|
844
891
|
}>;
|
|
@@ -2966,6 +3013,7 @@ export declare const RegisterLineFieldsFragmentDoc: DocumentNode<RegisterLineFie
|
|
|
2966
3013
|
export declare const AgingBucketsFieldsFragmentDoc: DocumentNode<AgingBucketsFieldsFragment, unknown>;
|
|
2967
3014
|
export declare const OpenItemFieldsFragmentDoc: DocumentNode<OpenItemFieldsFragment, unknown>;
|
|
2968
3015
|
export declare const AgedBalancesFieldsFragmentDoc: DocumentNode<AgedBalancesFieldsFragment, unknown>;
|
|
3016
|
+
export declare const AllocationOverrideFieldsFragmentDoc: DocumentNode<AllocationOverrideFieldsFragment, unknown>;
|
|
2969
3017
|
export declare const EventHandlerFieldsFragmentDoc: DocumentNode<EventHandlerFieldsFragment, unknown>;
|
|
2970
3018
|
export declare const GetInvestorHoldingsDocument: DocumentNode<GetInvestorHoldingsQuery, GetInvestorHoldingsQueryVariables>;
|
|
2971
3019
|
export declare const GetInvestorPortfolioBlockDocument: DocumentNode<GetInvestorPortfolioBlockQuery, GetInvestorPortfolioBlockQueryVariables>;
|
|
@@ -2984,6 +3032,8 @@ export declare const OpenItemsForAgentDocument: DocumentNode<OpenItemsForAgentQu
|
|
|
2984
3032
|
export declare const DischargeCandidatesDocument: DocumentNode<DischargeCandidatesQuery, DischargeCandidatesQueryVariables>;
|
|
2985
3033
|
export declare const GetLedgerAgentDocument: DocumentNode<GetLedgerAgentQuery, GetLedgerAgentQueryVariables>;
|
|
2986
3034
|
export declare const ListLedgerAgentsDocument: DocumentNode<ListLedgerAgentsQuery, ListLedgerAgentsQueryVariables>;
|
|
3035
|
+
export declare const GetLedgerAllocationShareDocument: DocumentNode<GetLedgerAllocationShareQuery, GetLedgerAllocationShareQueryVariables>;
|
|
3036
|
+
export declare const ListLedgerAllocationOverridesDocument: DocumentNode<ListLedgerAllocationOverridesQuery, ListLedgerAllocationOverridesQueryVariables>;
|
|
2987
3037
|
export declare const ListLedgerBankAccountsDocument: DocumentNode<ListLedgerBankAccountsQuery, ListLedgerBankAccountsQueryVariables>;
|
|
2988
3038
|
export declare const ListLedgerBlockedSourceGraphsDocument: DocumentNode<ListLedgerBlockedSourceGraphsQuery, ListLedgerBlockedSourceGraphsQueryVariables>;
|
|
2989
3039
|
export declare const ListChartTemplatesDocument: DocumentNode<ListChartTemplatesQuery, ListChartTemplatesQueryVariables>;
|
|
@@ -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 = exports.GetLedgerReportDocument = exports.ListLedgerReconciliationsDocument = exports.ListLedgerPublishListsDocument = void 0;
|
|
3
|
+
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.ListLedgerAllocationOverridesDocument = exports.GetLedgerAllocationShareDocument = 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.AllocationOverrideFieldsFragmentDoc = 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 = exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = void 0;
|
|
5
5
|
exports.RegisterLineFieldsFragmentDoc = {
|
|
6
6
|
kind: 'Document',
|
|
7
7
|
definitions: [
|
|
@@ -246,6 +246,29 @@ exports.AgedBalancesFieldsFragmentDoc = {
|
|
|
246
246
|
},
|
|
247
247
|
],
|
|
248
248
|
};
|
|
249
|
+
exports.AllocationOverrideFieldsFragmentDoc = {
|
|
250
|
+
kind: 'Document',
|
|
251
|
+
definitions: [
|
|
252
|
+
{
|
|
253
|
+
kind: 'FragmentDefinition',
|
|
254
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
255
|
+
typeCondition: {
|
|
256
|
+
kind: 'NamedType',
|
|
257
|
+
name: { kind: 'Name', value: 'AllocationOverrideRecord' },
|
|
258
|
+
},
|
|
259
|
+
selectionSet: {
|
|
260
|
+
kind: 'SelectionSet',
|
|
261
|
+
selections: [
|
|
262
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
263
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
264
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'percentage' } },
|
|
265
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'basis' } },
|
|
266
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
267
|
+
],
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
};
|
|
249
272
|
exports.EventHandlerFieldsFragmentDoc = {
|
|
250
273
|
kind: 'Document',
|
|
251
274
|
definitions: [
|
|
@@ -2310,6 +2333,174 @@ exports.ListLedgerAgentsDocument = {
|
|
|
2310
2333
|
},
|
|
2311
2334
|
],
|
|
2312
2335
|
};
|
|
2336
|
+
exports.GetLedgerAllocationShareDocument = {
|
|
2337
|
+
kind: 'Document',
|
|
2338
|
+
definitions: [
|
|
2339
|
+
{
|
|
2340
|
+
kind: 'OperationDefinition',
|
|
2341
|
+
operation: 'query',
|
|
2342
|
+
name: { kind: 'Name', value: 'GetLedgerAllocationShare' },
|
|
2343
|
+
variableDefinitions: [
|
|
2344
|
+
{
|
|
2345
|
+
kind: 'VariableDefinition',
|
|
2346
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2347
|
+
type: {
|
|
2348
|
+
kind: 'NonNullType',
|
|
2349
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2350
|
+
},
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
kind: 'VariableDefinition',
|
|
2354
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
2355
|
+
type: {
|
|
2356
|
+
kind: 'NonNullType',
|
|
2357
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2358
|
+
},
|
|
2359
|
+
},
|
|
2360
|
+
],
|
|
2361
|
+
selectionSet: {
|
|
2362
|
+
kind: 'SelectionSet',
|
|
2363
|
+
selections: [
|
|
2364
|
+
{
|
|
2365
|
+
kind: 'Field',
|
|
2366
|
+
name: { kind: 'Name', value: 'allocationShare' },
|
|
2367
|
+
arguments: [
|
|
2368
|
+
{
|
|
2369
|
+
kind: 'Argument',
|
|
2370
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2371
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
kind: 'Argument',
|
|
2375
|
+
name: { kind: 'Name', value: 'period' },
|
|
2376
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'period' } },
|
|
2377
|
+
},
|
|
2378
|
+
],
|
|
2379
|
+
selectionSet: {
|
|
2380
|
+
kind: 'SelectionSet',
|
|
2381
|
+
selections: [
|
|
2382
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
2383
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityName' } },
|
|
2384
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
2385
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'consolidationMethod' } },
|
|
2386
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'ownershipPct' } },
|
|
2387
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'outsidePct' } },
|
|
2388
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monthResult' } },
|
|
2389
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'proRataAmount' } },
|
|
2390
|
+
{
|
|
2391
|
+
kind: 'Field',
|
|
2392
|
+
name: { kind: 'Name', value: 'override' },
|
|
2393
|
+
selectionSet: {
|
|
2394
|
+
kind: 'SelectionSet',
|
|
2395
|
+
selections: [
|
|
2396
|
+
{
|
|
2397
|
+
kind: 'FragmentSpread',
|
|
2398
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
2399
|
+
},
|
|
2400
|
+
],
|
|
2401
|
+
},
|
|
2402
|
+
},
|
|
2403
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'effectiveAmount' } },
|
|
2404
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'closed' } },
|
|
2405
|
+
],
|
|
2406
|
+
},
|
|
2407
|
+
},
|
|
2408
|
+
],
|
|
2409
|
+
},
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
kind: 'FragmentDefinition',
|
|
2413
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
2414
|
+
typeCondition: {
|
|
2415
|
+
kind: 'NamedType',
|
|
2416
|
+
name: { kind: 'Name', value: 'AllocationOverrideRecord' },
|
|
2417
|
+
},
|
|
2418
|
+
selectionSet: {
|
|
2419
|
+
kind: 'SelectionSet',
|
|
2420
|
+
selections: [
|
|
2421
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
2422
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
2423
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'percentage' } },
|
|
2424
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'basis' } },
|
|
2425
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
2426
|
+
],
|
|
2427
|
+
},
|
|
2428
|
+
},
|
|
2429
|
+
],
|
|
2430
|
+
};
|
|
2431
|
+
exports.ListLedgerAllocationOverridesDocument = {
|
|
2432
|
+
kind: 'Document',
|
|
2433
|
+
definitions: [
|
|
2434
|
+
{
|
|
2435
|
+
kind: 'OperationDefinition',
|
|
2436
|
+
operation: 'query',
|
|
2437
|
+
name: { kind: 'Name', value: 'ListLedgerAllocationOverrides' },
|
|
2438
|
+
variableDefinitions: [
|
|
2439
|
+
{
|
|
2440
|
+
kind: 'VariableDefinition',
|
|
2441
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2442
|
+
type: {
|
|
2443
|
+
kind: 'NonNullType',
|
|
2444
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2445
|
+
},
|
|
2446
|
+
},
|
|
2447
|
+
],
|
|
2448
|
+
selectionSet: {
|
|
2449
|
+
kind: 'SelectionSet',
|
|
2450
|
+
selections: [
|
|
2451
|
+
{
|
|
2452
|
+
kind: 'Field',
|
|
2453
|
+
name: { kind: 'Name', value: 'allocationOverrides' },
|
|
2454
|
+
arguments: [
|
|
2455
|
+
{
|
|
2456
|
+
kind: 'Argument',
|
|
2457
|
+
name: { kind: 'Name', value: 'entityId' },
|
|
2458
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'entityId' } },
|
|
2459
|
+
},
|
|
2460
|
+
],
|
|
2461
|
+
selectionSet: {
|
|
2462
|
+
kind: 'SelectionSet',
|
|
2463
|
+
selections: [
|
|
2464
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'entityId' } },
|
|
2465
|
+
{
|
|
2466
|
+
kind: 'Field',
|
|
2467
|
+
name: { kind: 'Name', value: 'overrides' },
|
|
2468
|
+
selectionSet: {
|
|
2469
|
+
kind: 'SelectionSet',
|
|
2470
|
+
selections: [
|
|
2471
|
+
{
|
|
2472
|
+
kind: 'FragmentSpread',
|
|
2473
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
2474
|
+
},
|
|
2475
|
+
],
|
|
2476
|
+
},
|
|
2477
|
+
},
|
|
2478
|
+
],
|
|
2479
|
+
},
|
|
2480
|
+
},
|
|
2481
|
+
],
|
|
2482
|
+
},
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
kind: 'FragmentDefinition',
|
|
2486
|
+
name: { kind: 'Name', value: 'AllocationOverrideFields' },
|
|
2487
|
+
typeCondition: {
|
|
2488
|
+
kind: 'NamedType',
|
|
2489
|
+
name: { kind: 'Name', value: 'AllocationOverrideRecord' },
|
|
2490
|
+
},
|
|
2491
|
+
selectionSet: {
|
|
2492
|
+
kind: 'SelectionSet',
|
|
2493
|
+
selections: [
|
|
2494
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'period' } },
|
|
2495
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'amount' } },
|
|
2496
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'percentage' } },
|
|
2497
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'basis' } },
|
|
2498
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'setBy' } },
|
|
2499
|
+
],
|
|
2500
|
+
},
|
|
2501
|
+
},
|
|
2502
|
+
],
|
|
2503
|
+
};
|
|
2313
2504
|
exports.ListLedgerBankAccountsDocument = {
|
|
2314
2505
|
kind: 'Document',
|
|
2315
2506
|
definitions: [
|