@robosystems/client 0.3.37 → 0.3.39
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/LibraryClient.d.ts +18 -1
- package/artifacts/LibraryClient.js +16 -0
- package/artifacts/LibraryClient.ts +38 -0
- package/artifacts/graphql/generated/graphql.d.ts +62 -5
- package/artifacts/graphql/generated/graphql.js +132 -2
- package/artifacts/graphql/generated/graphql.ts +194 -5
- package/artifacts/graphql/queries/ledger/periodDrafts.d.ts +6 -0
- package/artifacts/graphql/queries/ledger/periodDrafts.js +11 -0
- package/artifacts/graphql/queries/ledger/periodDrafts.ts +11 -0
- package/artifacts/graphql/queries/library/arcs.js +11 -1
- package/artifacts/graphql/queries/library/arcs.ts +11 -1
- package/artifacts/graphql/queries/library/structures.d.ts +19 -0
- package/artifacts/graphql/queries/library/structures.js +45 -0
- package/artifacts/graphql/queries/library/structures.ts +44 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +4 -2
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +15 -1
- package/sdk/sdk.gen.js +36 -4
- package/sdk/sdk.gen.ts +33 -1
- package/sdk/types.gen.d.ts +250 -4
- package/sdk/types.gen.ts +264 -4
- package/sdk.gen.d.ts +15 -1
- package/sdk.gen.js +36 -4
- package/sdk.gen.ts +33 -1
- package/types.gen.d.ts +250 -4
- package/types.gen.ts +264 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TokenProvider } from './graphql/client';
|
|
2
|
-
import { type GetLibraryElementArcsQuery, type GetLibraryElementClassificationsQuery, type GetLibraryElementEquivalentsQuery, type GetLibraryElementQuery, type GetLibraryTaxonomyQuery, type ListLibraryElementsQuery, type ListLibraryTaxonomiesQuery, type ListLibraryTaxonomyArcsQuery, type SearchLibraryElementsQuery } from './graphql/generated/graphql';
|
|
2
|
+
import { type GetLibraryElementArcsQuery, type GetLibraryElementClassificationsQuery, type GetLibraryElementEquivalentsQuery, type GetLibraryElementQuery, type GetLibraryTaxonomyQuery, type ListLibraryElementsQuery, type ListLibraryStructuresQuery, type ListLibraryTaxonomiesQuery, type ListLibraryTaxonomyArcsQuery, type SearchLibraryElementsQuery } from './graphql/generated/graphql';
|
|
3
3
|
export type LibraryTaxonomy = ListLibraryTaxonomiesQuery['libraryTaxonomies'][number];
|
|
4
4
|
export type LibraryTaxonomyDetail = NonNullable<GetLibraryTaxonomyQuery['libraryTaxonomy']>;
|
|
5
5
|
export type LibraryElement = ListLibraryElementsQuery['libraryElements'][number];
|
|
@@ -8,6 +8,7 @@ export type LibrarySearchResult = SearchLibraryElementsQuery['searchLibraryEleme
|
|
|
8
8
|
export type LibraryLabel = LibraryElementDetail['labels'][number];
|
|
9
9
|
export type LibraryReference = LibraryElementDetail['references'][number];
|
|
10
10
|
export type LibraryArc = ListLibraryTaxonomyArcsQuery['libraryTaxonomyArcs'][number];
|
|
11
|
+
export type LibraryStructure = ListLibraryStructuresQuery['libraryStructures'][number];
|
|
11
12
|
export type LibraryElementArc = GetLibraryElementArcsQuery['libraryElementArcs'][number];
|
|
12
13
|
export type LibraryElementClassification = GetLibraryElementClassificationsQuery['libraryElementClassifications'][number];
|
|
13
14
|
export type LibraryEquivalence = NonNullable<GetLibraryElementEquivalentsQuery['libraryElementEquivalents']>;
|
|
@@ -32,6 +33,8 @@ export interface SearchLibraryElementsOptions {
|
|
|
32
33
|
}
|
|
33
34
|
export interface ListLibraryTaxonomyArcsOptions {
|
|
34
35
|
associationType?: string;
|
|
36
|
+
/** Scope to a single structure (one presentation/calculation hierarchy). */
|
|
37
|
+
structureId?: string;
|
|
35
38
|
limit?: number;
|
|
36
39
|
offset?: number;
|
|
37
40
|
}
|
|
@@ -39,6 +42,11 @@ export interface ListLibraryTaxonomyArcsResult {
|
|
|
39
42
|
arcs: LibraryArc[];
|
|
40
43
|
count: number;
|
|
41
44
|
}
|
|
45
|
+
export interface ListLibraryStructuresOptions {
|
|
46
|
+
taxonomyId?: string;
|
|
47
|
+
/** Filter to one statement kind (balance_sheet | income_statement | …). */
|
|
48
|
+
blockType?: string;
|
|
49
|
+
}
|
|
42
50
|
export interface GetLibraryElementIdentifier {
|
|
43
51
|
id?: string;
|
|
44
52
|
qname?: string;
|
|
@@ -102,6 +110,15 @@ export declare class LibraryClient {
|
|
|
102
110
|
* type-subtype) this is the primary browse view.
|
|
103
111
|
*/
|
|
104
112
|
listLibraryTaxonomyArcs(graphId: string, taxonomyId: string, options?: ListLibraryTaxonomyArcsOptions): Promise<ListLibraryTaxonomyArcsResult>;
|
|
113
|
+
/**
|
|
114
|
+
* List the structures (extended link roles) a taxonomy contributes —
|
|
115
|
+
* the named presentation/calculation hierarchies (BS-classified,
|
|
116
|
+
* IS-multistep, the calc DAG roots, …). Pair a structure's `id` with
|
|
117
|
+
* `listLibraryTaxonomyArcs({ structureId })` to load just that
|
|
118
|
+
* hierarchy's arcs — the hierarchy view uses this to scope a tree to
|
|
119
|
+
* one role at a time.
|
|
120
|
+
*/
|
|
121
|
+
listLibraryStructures(graphId: string, options?: ListLibraryStructuresOptions): Promise<LibraryStructure[]>;
|
|
105
122
|
/**
|
|
106
123
|
* All mapping arcs where this element is source or target. Covers
|
|
107
124
|
* every `taxonomy_type='mapping'` bridge — equivalence,
|
|
@@ -87,6 +87,7 @@ class LibraryClient {
|
|
|
87
87
|
return this.gqlQuery(graphId, graphql_1.ListLibraryTaxonomyArcsDocument, {
|
|
88
88
|
taxonomyId,
|
|
89
89
|
associationType: options?.associationType ?? null,
|
|
90
|
+
structureId: options?.structureId ?? null,
|
|
90
91
|
limit: options?.limit ?? 200,
|
|
91
92
|
offset: options?.offset ?? 0,
|
|
92
93
|
}, 'List library taxonomy arcs', (data) => ({
|
|
@@ -94,6 +95,21 @@ class LibraryClient {
|
|
|
94
95
|
count: data.libraryTaxonomyArcCount,
|
|
95
96
|
}));
|
|
96
97
|
}
|
|
98
|
+
// ── Structures ───────────────────────────────────────────────────────
|
|
99
|
+
/**
|
|
100
|
+
* List the structures (extended link roles) a taxonomy contributes —
|
|
101
|
+
* the named presentation/calculation hierarchies (BS-classified,
|
|
102
|
+
* IS-multistep, the calc DAG roots, …). Pair a structure's `id` with
|
|
103
|
+
* `listLibraryTaxonomyArcs({ structureId })` to load just that
|
|
104
|
+
* hierarchy's arcs — the hierarchy view uses this to scope a tree to
|
|
105
|
+
* one role at a time.
|
|
106
|
+
*/
|
|
107
|
+
async listLibraryStructures(graphId, options) {
|
|
108
|
+
return this.gqlQuery(graphId, graphql_1.ListLibraryStructuresDocument, {
|
|
109
|
+
taxonomyId: options?.taxonomyId ?? null,
|
|
110
|
+
blockType: options?.blockType ?? null,
|
|
111
|
+
}, 'List library structures', (data) => data.libraryStructures);
|
|
112
|
+
}
|
|
97
113
|
/**
|
|
98
114
|
* All mapping arcs where this element is source or target. Covers
|
|
99
115
|
* every `taxonomy_type='mapping'` bridge — equivalence,
|
|
@@ -37,6 +37,7 @@ import {
|
|
|
37
37
|
GetLibraryElementEquivalentsDocument,
|
|
38
38
|
GetLibraryTaxonomyDocument,
|
|
39
39
|
ListLibraryElementsDocument,
|
|
40
|
+
ListLibraryStructuresDocument,
|
|
40
41
|
ListLibraryTaxonomiesDocument,
|
|
41
42
|
ListLibraryTaxonomyArcsDocument,
|
|
42
43
|
SearchLibraryElementsDocument,
|
|
@@ -46,6 +47,7 @@ import {
|
|
|
46
47
|
type GetLibraryElementQuery,
|
|
47
48
|
type GetLibraryTaxonomyQuery,
|
|
48
49
|
type ListLibraryElementsQuery,
|
|
50
|
+
type ListLibraryStructuresQuery,
|
|
49
51
|
type ListLibraryTaxonomiesQuery,
|
|
50
52
|
type ListLibraryTaxonomyArcsQuery,
|
|
51
53
|
type SearchLibraryElementsQuery,
|
|
@@ -67,6 +69,7 @@ export type LibraryLabel = LibraryElementDetail['labels'][number]
|
|
|
67
69
|
export type LibraryReference = LibraryElementDetail['references'][number]
|
|
68
70
|
|
|
69
71
|
export type LibraryArc = ListLibraryTaxonomyArcsQuery['libraryTaxonomyArcs'][number]
|
|
72
|
+
export type LibraryStructure = ListLibraryStructuresQuery['libraryStructures'][number]
|
|
70
73
|
export type LibraryElementArc = GetLibraryElementArcsQuery['libraryElementArcs'][number]
|
|
71
74
|
export type LibraryElementClassification =
|
|
72
75
|
GetLibraryElementClassificationsQuery['libraryElementClassifications'][number]
|
|
@@ -99,6 +102,8 @@ export interface SearchLibraryElementsOptions {
|
|
|
99
102
|
|
|
100
103
|
export interface ListLibraryTaxonomyArcsOptions {
|
|
101
104
|
associationType?: string
|
|
105
|
+
/** Scope to a single structure (one presentation/calculation hierarchy). */
|
|
106
|
+
structureId?: string
|
|
102
107
|
limit?: number
|
|
103
108
|
offset?: number
|
|
104
109
|
}
|
|
@@ -108,6 +113,12 @@ export interface ListLibraryTaxonomyArcsResult {
|
|
|
108
113
|
count: number
|
|
109
114
|
}
|
|
110
115
|
|
|
116
|
+
export interface ListLibraryStructuresOptions {
|
|
117
|
+
taxonomyId?: string
|
|
118
|
+
/** Filter to one statement kind (balance_sheet | income_statement | …). */
|
|
119
|
+
blockType?: string
|
|
120
|
+
}
|
|
121
|
+
|
|
111
122
|
export interface GetLibraryElementIdentifier {
|
|
112
123
|
id?: string
|
|
113
124
|
qname?: string
|
|
@@ -276,6 +287,7 @@ export class LibraryClient {
|
|
|
276
287
|
{
|
|
277
288
|
taxonomyId,
|
|
278
289
|
associationType: options?.associationType ?? null,
|
|
290
|
+
structureId: options?.structureId ?? null,
|
|
279
291
|
limit: options?.limit ?? 200,
|
|
280
292
|
offset: options?.offset ?? 0,
|
|
281
293
|
},
|
|
@@ -287,6 +299,32 @@ export class LibraryClient {
|
|
|
287
299
|
)
|
|
288
300
|
}
|
|
289
301
|
|
|
302
|
+
// ── Structures ───────────────────────────────────────────────────────
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* List the structures (extended link roles) a taxonomy contributes —
|
|
306
|
+
* the named presentation/calculation hierarchies (BS-classified,
|
|
307
|
+
* IS-multistep, the calc DAG roots, …). Pair a structure's `id` with
|
|
308
|
+
* `listLibraryTaxonomyArcs({ structureId })` to load just that
|
|
309
|
+
* hierarchy's arcs — the hierarchy view uses this to scope a tree to
|
|
310
|
+
* one role at a time.
|
|
311
|
+
*/
|
|
312
|
+
async listLibraryStructures(
|
|
313
|
+
graphId: string,
|
|
314
|
+
options?: ListLibraryStructuresOptions
|
|
315
|
+
): Promise<LibraryStructure[]> {
|
|
316
|
+
return this.gqlQuery(
|
|
317
|
+
graphId,
|
|
318
|
+
ListLibraryStructuresDocument,
|
|
319
|
+
{
|
|
320
|
+
taxonomyId: options?.taxonomyId ?? null,
|
|
321
|
+
blockType: options?.blockType ?? null,
|
|
322
|
+
},
|
|
323
|
+
'List library structures',
|
|
324
|
+
(data) => data.libraryStructures
|
|
325
|
+
)
|
|
326
|
+
}
|
|
327
|
+
|
|
290
328
|
/**
|
|
291
329
|
* All mapping arcs where this element is source or target. Covers
|
|
292
330
|
* every `taxonomy_type='mapping'` bridge — equivalence,
|
|
@@ -246,6 +246,8 @@ export type DraftEntry = {
|
|
|
246
246
|
totalDebit: Scalars['Int']['output'];
|
|
247
247
|
/** Entry type (e.g., 'closing', 'adjusting') */
|
|
248
248
|
type: Scalars['String']['output'];
|
|
249
|
+
/** True if closing the period will publish this draft to QuickBooks — i.e. the graph has a qb_authoritative/hybrid QB connection AND this is an RL-originated draft (schedule/manual) not already in QB. False means it posts locally only. */
|
|
250
|
+
willPublishToQb: Scalars['Boolean']['output'];
|
|
249
251
|
};
|
|
250
252
|
/** A single line item within a draft entry. */
|
|
251
253
|
export type DraftLineItem = {
|
|
@@ -638,10 +640,12 @@ export type InformationBlockRuleTarget = {
|
|
|
638
640
|
};
|
|
639
641
|
/** `$Variable` → concept qname binding for a rule expression. */
|
|
640
642
|
export type InformationBlockRuleVariable = {
|
|
643
|
+
/** Element id the variable binds to directly. Set for schedule SumEquals rules over CoA-debit elements that have no qname; null otherwise. */
|
|
644
|
+
variableElementId: Maybe<Scalars['String']['output']>;
|
|
641
645
|
/** Local name in the rule expression, e.g. 'Assets'. */
|
|
642
646
|
variableName: Scalars['String']['output'];
|
|
643
|
-
/** Concept qname the variable resolves to, e.g. 'fac:Assets'. */
|
|
644
|
-
variableQname: Scalars['String']['output']
|
|
647
|
+
/** Concept qname the variable resolves to, e.g. 'fac:Assets'. Null for tenant CoA elements (which key on `code`/`element_id`, not qname) — in that case the binding is carried by `variable_element_id`. */
|
|
648
|
+
variableQname: Maybe<Scalars['String']['output']>;
|
|
645
649
|
};
|
|
646
650
|
/**
|
|
647
651
|
* Outcome of guard-rail validation on a rendered statement.
|
|
@@ -911,15 +915,21 @@ export type LibraryAssociation = {
|
|
|
911
915
|
/** presentation | calculation | mapping | equivalence | general-special | essence-alias */
|
|
912
916
|
associationType: Scalars['String']['output'];
|
|
913
917
|
fromElementId: Scalars['String']['output'];
|
|
918
|
+
fromElementIsAbstract: Maybe<Scalars['Boolean']['output']>;
|
|
914
919
|
fromElementName: Maybe<Scalars['String']['output']>;
|
|
915
920
|
fromElementQname: Maybe<Scalars['String']['output']>;
|
|
921
|
+
/** Primary elementsOfFinancialStatements trait (for node coloring) */
|
|
922
|
+
fromElementTrait: Maybe<Scalars['String']['output']>;
|
|
916
923
|
id: Scalars['String']['output'];
|
|
917
924
|
orderValue: Maybe<Scalars['Float']['output']>;
|
|
918
925
|
structureId: Scalars['String']['output'];
|
|
919
926
|
structureName: Maybe<Scalars['String']['output']>;
|
|
920
927
|
toElementId: Scalars['String']['output'];
|
|
928
|
+
toElementIsAbstract: Maybe<Scalars['Boolean']['output']>;
|
|
921
929
|
toElementName: Maybe<Scalars['String']['output']>;
|
|
922
930
|
toElementQname: Maybe<Scalars['String']['output']>;
|
|
931
|
+
/** Primary elementsOfFinancialStatements trait (for node coloring) */
|
|
932
|
+
toElementTrait: Maybe<Scalars['String']['output']>;
|
|
923
933
|
weight: Maybe<Scalars['Float']['output']>;
|
|
924
934
|
};
|
|
925
935
|
/** A library element (concept, abstract, axis, member, or hypercube). */
|
|
@@ -1183,10 +1193,18 @@ export type PeriodDrafts = {
|
|
|
1183
1193
|
allBalanced: Scalars['Boolean']['output'];
|
|
1184
1194
|
draftCount: Scalars['Int']['output'];
|
|
1185
1195
|
drafts: Array<DraftEntry>;
|
|
1196
|
+
/** Number of drafts that post locally only (no QB write-back). */
|
|
1197
|
+
localOnlyCount: Scalars['Int']['output'];
|
|
1186
1198
|
/** YYYY-MM period name */
|
|
1187
1199
|
period: Scalars['String']['output'];
|
|
1188
1200
|
periodEnd: Scalars['Date']['output'];
|
|
1189
1201
|
periodStart: Scalars['Date']['output'];
|
|
1202
|
+
/** Number of drafts that will publish to QuickBooks on close. */
|
|
1203
|
+
qbPublishCount: Scalars['Int']['output'];
|
|
1204
|
+
/** write_policy of the publishing QB connection ('qb_authoritative' / 'hybrid'), or null when there is no write-back connection. */
|
|
1205
|
+
qbWritePolicy: Maybe<Scalars['String']['output']>;
|
|
1206
|
+
/** Id of the QuickBooks connection these drafts publish to on close, or null when the graph has no qb_authoritative/hybrid QB connection (the drafts post locally only). */
|
|
1207
|
+
qbWritebackConnectionId: Maybe<Scalars['String']['output']>;
|
|
1190
1208
|
/** Sum across all drafts, in cents */
|
|
1191
1209
|
totalCredit: Scalars['Int']['output'];
|
|
1192
1210
|
/** Sum across all drafts, in cents */
|
|
@@ -2724,7 +2742,7 @@ export type GetInformationBlockQuery = {
|
|
|
2724
2742
|
} | null;
|
|
2725
2743
|
ruleVariables: Array<{
|
|
2726
2744
|
variableName: string;
|
|
2727
|
-
variableQname: string;
|
|
2745
|
+
variableQname: string | null;
|
|
2728
2746
|
}>;
|
|
2729
2747
|
}>;
|
|
2730
2748
|
factSet: {
|
|
@@ -2862,7 +2880,7 @@ export type ListInformationBlocksQuery = {
|
|
|
2862
2880
|
} | null;
|
|
2863
2881
|
ruleVariables: Array<{
|
|
2864
2882
|
variableName: string;
|
|
2865
|
-
variableQname: string;
|
|
2883
|
+
variableQname: string | null;
|
|
2866
2884
|
}>;
|
|
2867
2885
|
}>;
|
|
2868
2886
|
factSet: {
|
|
@@ -3052,6 +3070,10 @@ export type GetLedgerPeriodDraftsQuery = {
|
|
|
3052
3070
|
totalDebit: number;
|
|
3053
3071
|
totalCredit: number;
|
|
3054
3072
|
allBalanced: boolean;
|
|
3073
|
+
qbWritebackConnectionId: string | null;
|
|
3074
|
+
qbWritePolicy: string | null;
|
|
3075
|
+
qbPublishCount: number;
|
|
3076
|
+
localOnlyCount: number;
|
|
3055
3077
|
drafts: Array<{
|
|
3056
3078
|
entryId: string;
|
|
3057
3079
|
postingDate: any;
|
|
@@ -3063,6 +3085,7 @@ export type GetLedgerPeriodDraftsQuery = {
|
|
|
3063
3085
|
totalDebit: number;
|
|
3064
3086
|
totalCredit: number;
|
|
3065
3087
|
balanced: boolean;
|
|
3088
|
+
willPublishToQb: boolean;
|
|
3066
3089
|
lineItems: Array<{
|
|
3067
3090
|
lineItemId: string;
|
|
3068
3091
|
elementId: string;
|
|
@@ -3247,7 +3270,7 @@ export type GetLedgerReportPackageQuery = {
|
|
|
3247
3270
|
} | null;
|
|
3248
3271
|
ruleVariables: Array<{
|
|
3249
3272
|
variableName: string;
|
|
3250
|
-
variableQname: string;
|
|
3273
|
+
variableQname: string | null;
|
|
3251
3274
|
}>;
|
|
3252
3275
|
}>;
|
|
3253
3276
|
factSet: {
|
|
@@ -3571,6 +3594,7 @@ export type ListLedgerUnmappedElementsQuery = {
|
|
|
3571
3594
|
export type ListLibraryTaxonomyArcsQueryVariables = Exact<{
|
|
3572
3595
|
taxonomyId: Scalars['ID']['input'];
|
|
3573
3596
|
associationType: InputMaybe<Scalars['String']['input']>;
|
|
3597
|
+
structureId: InputMaybe<Scalars['ID']['input']>;
|
|
3574
3598
|
limit?: Scalars['Int']['input'];
|
|
3575
3599
|
offset?: Scalars['Int']['input'];
|
|
3576
3600
|
}>;
|
|
@@ -3583,9 +3607,13 @@ export type ListLibraryTaxonomyArcsQuery = {
|
|
|
3583
3607
|
fromElementId: string;
|
|
3584
3608
|
fromElementQname: string | null;
|
|
3585
3609
|
fromElementName: string | null;
|
|
3610
|
+
fromElementTrait: string | null;
|
|
3611
|
+
fromElementIsAbstract: boolean | null;
|
|
3586
3612
|
toElementId: string;
|
|
3587
3613
|
toElementQname: string | null;
|
|
3588
3614
|
toElementName: string | null;
|
|
3615
|
+
toElementTrait: string | null;
|
|
3616
|
+
toElementIsAbstract: boolean | null;
|
|
3589
3617
|
associationType: string;
|
|
3590
3618
|
arcrole: string | null;
|
|
3591
3619
|
orderValue: number | null;
|
|
@@ -3749,6 +3777,33 @@ export type GetLibraryElementQuery = {
|
|
|
3749
3777
|
}>;
|
|
3750
3778
|
} | null;
|
|
3751
3779
|
};
|
|
3780
|
+
export type ListLibraryStructuresQueryVariables = Exact<{
|
|
3781
|
+
taxonomyId: InputMaybe<Scalars['ID']['input']>;
|
|
3782
|
+
blockType: InputMaybe<Scalars['String']['input']>;
|
|
3783
|
+
}>;
|
|
3784
|
+
export type ListLibraryStructuresQuery = {
|
|
3785
|
+
libraryStructures: Array<{
|
|
3786
|
+
id: string;
|
|
3787
|
+
name: string;
|
|
3788
|
+
blockType: string;
|
|
3789
|
+
taxonomyId: string;
|
|
3790
|
+
roleUri: string | null;
|
|
3791
|
+
isActive: boolean;
|
|
3792
|
+
}>;
|
|
3793
|
+
};
|
|
3794
|
+
export type GetLibraryStructureQueryVariables = Exact<{
|
|
3795
|
+
id: Scalars['ID']['input'];
|
|
3796
|
+
}>;
|
|
3797
|
+
export type GetLibraryStructureQuery = {
|
|
3798
|
+
libraryStructure: {
|
|
3799
|
+
id: string;
|
|
3800
|
+
name: string;
|
|
3801
|
+
blockType: string;
|
|
3802
|
+
taxonomyId: string;
|
|
3803
|
+
roleUri: string | null;
|
|
3804
|
+
isActive: boolean;
|
|
3805
|
+
} | null;
|
|
3806
|
+
};
|
|
3752
3807
|
export type ListLibraryTaxonomiesQueryVariables = Exact<{
|
|
3753
3808
|
standard: InputMaybe<Scalars['String']['input']>;
|
|
3754
3809
|
includeElementCount?: Scalars['Boolean']['input'];
|
|
@@ -3838,5 +3893,7 @@ export declare const GetLibraryElementEquivalentsDocument: DocumentNode<GetLibra
|
|
|
3838
3893
|
export declare const ListLibraryElementsDocument: DocumentNode<ListLibraryElementsQuery, ListLibraryElementsQueryVariables>;
|
|
3839
3894
|
export declare const SearchLibraryElementsDocument: DocumentNode<SearchLibraryElementsQuery, SearchLibraryElementsQueryVariables>;
|
|
3840
3895
|
export declare const GetLibraryElementDocument: DocumentNode<GetLibraryElementQuery, GetLibraryElementQueryVariables>;
|
|
3896
|
+
export declare const ListLibraryStructuresDocument: DocumentNode<ListLibraryStructuresQuery, ListLibraryStructuresQueryVariables>;
|
|
3897
|
+
export declare const GetLibraryStructureDocument: DocumentNode<GetLibraryStructureQuery, GetLibraryStructureQueryVariables>;
|
|
3841
3898
|
export declare const ListLibraryTaxonomiesDocument: DocumentNode<ListLibraryTaxonomiesQuery, ListLibraryTaxonomiesQueryVariables>;
|
|
3842
3899
|
export declare const GetLibraryTaxonomyDocument: DocumentNode<GetLibraryTaxonomyQuery, GetLibraryTaxonomyQueryVariables>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetLibraryTaxonomyDocument = void 0;
|
|
3
|
+
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.GetLedgerReportPackageDocument = exports.GetLedgerReportDocument = exports.ListLedgerPublishListsDocument = exports.GetLedgerPublishListDocument = exports.GetLedgerPeriodDraftsDocument = exports.GetLedgerPeriodCloseStatusDocument = exports.ListLedgerMappingsDocument = exports.GetLedgerMappingCoverageDocument = exports.MappingCandidatesDocument = exports.GetLedgerMappingDocument = exports.GetLedgerMappedTrialBalanceDocument = exports.ListInformationBlocksDocument = exports.GetInformationBlockDocument = exports.GetLedgerFiscalCalendarDocument = exports.ListLedgerEventBlocksDocument = exports.GetLedgerEventBlockDocument = exports.GetLedgerEntityDocument = exports.ListLedgerEntitiesDocument = exports.ListLedgerElementsDocument = exports.GetLedgerClosingBookStructuresDocument = exports.ListLedgerAgentsDocument = exports.GetLedgerAgentDocument = exports.ListLedgerAccountsDocument = exports.GetLedgerAccountTreeDocument = exports.GetLedgerAccountRollupsDocument = exports.GetInvestorSecurityDocument = exports.ListInvestorSecuritiesDocument = exports.ListInvestorPositionsDocument = exports.GetInvestorPositionDocument = exports.ListInvestorPortfoliosDocument = exports.GetInvestorPortfolioBlockDocument = exports.GetInvestorHoldingsDocument = void 0;
|
|
4
|
+
exports.GetLibraryTaxonomyDocument = exports.ListLibraryTaxonomiesDocument = exports.GetLibraryStructureDocument = void 0;
|
|
5
5
|
exports.GetInvestorHoldingsDocument = {
|
|
6
6
|
kind: 'Document',
|
|
7
7
|
definitions: [
|
|
@@ -2651,6 +2651,10 @@ exports.GetLedgerPeriodDraftsDocument = {
|
|
|
2651
2651
|
{ kind: 'Field', name: { kind: 'Name', value: 'totalDebit' } },
|
|
2652
2652
|
{ kind: 'Field', name: { kind: 'Name', value: 'totalCredit' } },
|
|
2653
2653
|
{ kind: 'Field', name: { kind: 'Name', value: 'allBalanced' } },
|
|
2654
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'qbWritebackConnectionId' } },
|
|
2655
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'qbWritePolicy' } },
|
|
2656
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'qbPublishCount' } },
|
|
2657
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'localOnlyCount' } },
|
|
2654
2658
|
{
|
|
2655
2659
|
kind: 'Field',
|
|
2656
2660
|
name: { kind: 'Name', value: 'drafts' },
|
|
@@ -2667,6 +2671,7 @@ exports.GetLedgerPeriodDraftsDocument = {
|
|
|
2667
2671
|
{ kind: 'Field', name: { kind: 'Name', value: 'totalDebit' } },
|
|
2668
2672
|
{ kind: 'Field', name: { kind: 'Name', value: 'totalCredit' } },
|
|
2669
2673
|
{ kind: 'Field', name: { kind: 'Name', value: 'balanced' } },
|
|
2674
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'willPublishToQb' } },
|
|
2670
2675
|
{
|
|
2671
2676
|
kind: 'Field',
|
|
2672
2677
|
name: { kind: 'Name', value: 'lineItems' },
|
|
@@ -4047,6 +4052,11 @@ exports.ListLibraryTaxonomyArcsDocument = {
|
|
|
4047
4052
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'associationType' } },
|
|
4048
4053
|
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4049
4054
|
},
|
|
4055
|
+
{
|
|
4056
|
+
kind: 'VariableDefinition',
|
|
4057
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
|
|
4058
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
4059
|
+
},
|
|
4050
4060
|
{
|
|
4051
4061
|
kind: 'VariableDefinition',
|
|
4052
4062
|
variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } },
|
|
@@ -4078,6 +4088,16 @@ exports.ListLibraryTaxonomyArcsDocument = {
|
|
|
4078
4088
|
name: { kind: 'Name', value: 'taxonomyId' },
|
|
4079
4089
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
4080
4090
|
},
|
|
4091
|
+
{
|
|
4092
|
+
kind: 'Argument',
|
|
4093
|
+
name: { kind: 'Name', value: 'associationType' },
|
|
4094
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'associationType' } },
|
|
4095
|
+
},
|
|
4096
|
+
{
|
|
4097
|
+
kind: 'Argument',
|
|
4098
|
+
name: { kind: 'Name', value: 'structureId' },
|
|
4099
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
|
|
4100
|
+
},
|
|
4081
4101
|
],
|
|
4082
4102
|
},
|
|
4083
4103
|
{
|
|
@@ -4094,6 +4114,11 @@ exports.ListLibraryTaxonomyArcsDocument = {
|
|
|
4094
4114
|
name: { kind: 'Name', value: 'associationType' },
|
|
4095
4115
|
value: { kind: 'Variable', name: { kind: 'Name', value: 'associationType' } },
|
|
4096
4116
|
},
|
|
4117
|
+
{
|
|
4118
|
+
kind: 'Argument',
|
|
4119
|
+
name: { kind: 'Name', value: 'structureId' },
|
|
4120
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'structureId' } },
|
|
4121
|
+
},
|
|
4097
4122
|
{
|
|
4098
4123
|
kind: 'Argument',
|
|
4099
4124
|
name: { kind: 'Name', value: 'limit' },
|
|
@@ -4114,9 +4139,13 @@ exports.ListLibraryTaxonomyArcsDocument = {
|
|
|
4114
4139
|
{ kind: 'Field', name: { kind: 'Name', value: 'fromElementId' } },
|
|
4115
4140
|
{ kind: 'Field', name: { kind: 'Name', value: 'fromElementQname' } },
|
|
4116
4141
|
{ kind: 'Field', name: { kind: 'Name', value: 'fromElementName' } },
|
|
4142
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'fromElementTrait' } },
|
|
4143
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'fromElementIsAbstract' } },
|
|
4117
4144
|
{ kind: 'Field', name: { kind: 'Name', value: 'toElementId' } },
|
|
4118
4145
|
{ kind: 'Field', name: { kind: 'Name', value: 'toElementQname' } },
|
|
4119
4146
|
{ kind: 'Field', name: { kind: 'Name', value: 'toElementName' } },
|
|
4147
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'toElementTrait' } },
|
|
4148
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'toElementIsAbstract' } },
|
|
4120
4149
|
{ kind: 'Field', name: { kind: 'Name', value: 'associationType' } },
|
|
4121
4150
|
{ kind: 'Field', name: { kind: 'Name', value: 'arcrole' } },
|
|
4122
4151
|
{ kind: 'Field', name: { kind: 'Name', value: 'orderValue' } },
|
|
@@ -4707,6 +4736,107 @@ exports.GetLibraryElementDocument = {
|
|
|
4707
4736
|
},
|
|
4708
4737
|
],
|
|
4709
4738
|
};
|
|
4739
|
+
exports.ListLibraryStructuresDocument = {
|
|
4740
|
+
kind: 'Document',
|
|
4741
|
+
definitions: [
|
|
4742
|
+
{
|
|
4743
|
+
kind: 'OperationDefinition',
|
|
4744
|
+
operation: 'query',
|
|
4745
|
+
name: { kind: 'Name', value: 'ListLibraryStructures' },
|
|
4746
|
+
variableDefinitions: [
|
|
4747
|
+
{
|
|
4748
|
+
kind: 'VariableDefinition',
|
|
4749
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
4750
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
4751
|
+
},
|
|
4752
|
+
{
|
|
4753
|
+
kind: 'VariableDefinition',
|
|
4754
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
4755
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
4756
|
+
},
|
|
4757
|
+
],
|
|
4758
|
+
selectionSet: {
|
|
4759
|
+
kind: 'SelectionSet',
|
|
4760
|
+
selections: [
|
|
4761
|
+
{
|
|
4762
|
+
kind: 'Field',
|
|
4763
|
+
name: { kind: 'Name', value: 'libraryStructures' },
|
|
4764
|
+
arguments: [
|
|
4765
|
+
{
|
|
4766
|
+
kind: 'Argument',
|
|
4767
|
+
name: { kind: 'Name', value: 'taxonomyId' },
|
|
4768
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
4769
|
+
},
|
|
4770
|
+
{
|
|
4771
|
+
kind: 'Argument',
|
|
4772
|
+
name: { kind: 'Name', value: 'blockType' },
|
|
4773
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'blockType' } },
|
|
4774
|
+
},
|
|
4775
|
+
],
|
|
4776
|
+
selectionSet: {
|
|
4777
|
+
kind: 'SelectionSet',
|
|
4778
|
+
selections: [
|
|
4779
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
4780
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
4781
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
4782
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
4783
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'roleUri' } },
|
|
4784
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
4785
|
+
],
|
|
4786
|
+
},
|
|
4787
|
+
},
|
|
4788
|
+
],
|
|
4789
|
+
},
|
|
4790
|
+
},
|
|
4791
|
+
],
|
|
4792
|
+
};
|
|
4793
|
+
exports.GetLibraryStructureDocument = {
|
|
4794
|
+
kind: 'Document',
|
|
4795
|
+
definitions: [
|
|
4796
|
+
{
|
|
4797
|
+
kind: 'OperationDefinition',
|
|
4798
|
+
operation: 'query',
|
|
4799
|
+
name: { kind: 'Name', value: 'GetLibraryStructure' },
|
|
4800
|
+
variableDefinitions: [
|
|
4801
|
+
{
|
|
4802
|
+
kind: 'VariableDefinition',
|
|
4803
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
4804
|
+
type: {
|
|
4805
|
+
kind: 'NonNullType',
|
|
4806
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
4807
|
+
},
|
|
4808
|
+
},
|
|
4809
|
+
],
|
|
4810
|
+
selectionSet: {
|
|
4811
|
+
kind: 'SelectionSet',
|
|
4812
|
+
selections: [
|
|
4813
|
+
{
|
|
4814
|
+
kind: 'Field',
|
|
4815
|
+
name: { kind: 'Name', value: 'libraryStructure' },
|
|
4816
|
+
arguments: [
|
|
4817
|
+
{
|
|
4818
|
+
kind: 'Argument',
|
|
4819
|
+
name: { kind: 'Name', value: 'id' },
|
|
4820
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
4821
|
+
},
|
|
4822
|
+
],
|
|
4823
|
+
selectionSet: {
|
|
4824
|
+
kind: 'SelectionSet',
|
|
4825
|
+
selections: [
|
|
4826
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
4827
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
4828
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'blockType' } },
|
|
4829
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'taxonomyId' } },
|
|
4830
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'roleUri' } },
|
|
4831
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'isActive' } },
|
|
4832
|
+
],
|
|
4833
|
+
},
|
|
4834
|
+
},
|
|
4835
|
+
],
|
|
4836
|
+
},
|
|
4837
|
+
},
|
|
4838
|
+
],
|
|
4839
|
+
};
|
|
4710
4840
|
exports.ListLibraryTaxonomiesDocument = {
|
|
4711
4841
|
kind: 'Document',
|
|
4712
4842
|
definitions: [
|