@robosystems/client 2.21.0 → 2.23.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 +81 -3
- package/artifacts/LedgerClient.js +92 -1
- package/artifacts/LedgerClient.ts +190 -2
- package/artifacts/graphql/generated/graphql.d.ts +329 -0
- package/artifacts/graphql/generated/graphql.js +961 -59
- package/artifacts/graphql/generated/graphql.ts +1275 -59
- package/artifacts/graphql/queries/ledger/agedBalances.d.ts +27 -0
- package/artifacts/graphql/queries/ledger/agedBalances.js +136 -0
- package/artifacts/graphql/queries/ledger/agedBalances.ts +139 -0
- package/artifacts/graphql/queries/ledger/dimensions.d.ts +7 -0
- package/artifacts/graphql/queries/ledger/dimensions.js +27 -0
- package/artifacts/graphql/queries/ledger/dimensions.ts +25 -0
- package/artifacts/graphql/queries/ledger/journalEntries.js +5 -0
- package/artifacts/graphql/queries/ledger/journalEntries.ts +5 -0
- package/artifacts/graphql/queries/ledger/transaction.js +6 -0
- package/artifacts/graphql/queries/ledger/transaction.ts +6 -0
- package/artifacts/graphql/queries/ledger/trialBalance.d.ts +4 -1
- package/artifacts/graphql/queries/ledger/trialBalance.js +19 -3
- package/artifacts/graphql/queries/ledger/trialBalance.ts +19 -3
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +7 -5
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +21 -5
- package/sdk/sdk.gen.js +40 -6
- package/sdk/sdk.gen.ts +39 -5
- package/sdk/types.gen.d.ts +449 -5
- package/sdk/types.gen.ts +468 -5
- package/sdk.gen.d.ts +21 -5
- package/sdk.gen.js +40 -6
- package/sdk.gen.ts +39 -5
- package/types.gen.d.ts +449 -5
- package/types.gen.ts +468 -5
|
@@ -338,6 +338,294 @@ export type ListLedgerAccountsQuery = {
|
|
|
338
338
|
};
|
|
339
339
|
} | null;
|
|
340
340
|
};
|
|
341
|
+
export type OpenItemFieldsFragment = {
|
|
342
|
+
eventId: string;
|
|
343
|
+
entityId: string;
|
|
344
|
+
agentId: string | null;
|
|
345
|
+
occurredOn: string;
|
|
346
|
+
documentNumber: string | null;
|
|
347
|
+
description: string | null;
|
|
348
|
+
originalCents: number;
|
|
349
|
+
settledCents: number;
|
|
350
|
+
openCents: number;
|
|
351
|
+
currency: string;
|
|
352
|
+
dueDate: string;
|
|
353
|
+
dueDateBasis: string;
|
|
354
|
+
daysPastDue: number;
|
|
355
|
+
bucket: string;
|
|
356
|
+
};
|
|
357
|
+
export type AgedBalancesFieldsFragment = {
|
|
358
|
+
kind: string;
|
|
359
|
+
asOf: string;
|
|
360
|
+
scope: string;
|
|
361
|
+
entityId: string | null;
|
|
362
|
+
memberEntityIds: Array<string>;
|
|
363
|
+
defaultedDueDateCount: number;
|
|
364
|
+
buckets: {
|
|
365
|
+
currentCents: number;
|
|
366
|
+
oneToThirtyCents: number;
|
|
367
|
+
thirtyOneToSixtyCents: number;
|
|
368
|
+
sixtyOneToNinetyCents: number;
|
|
369
|
+
overNinetyCents: number;
|
|
370
|
+
unappliedCreditCents: number;
|
|
371
|
+
totalCents: number;
|
|
372
|
+
};
|
|
373
|
+
agents: Array<{
|
|
374
|
+
agentId: string | null;
|
|
375
|
+
agentName: string | null;
|
|
376
|
+
openItemCount: number;
|
|
377
|
+
oldestDueDate: string | null;
|
|
378
|
+
buckets: {
|
|
379
|
+
currentCents: number;
|
|
380
|
+
oneToThirtyCents: number;
|
|
381
|
+
thirtyOneToSixtyCents: number;
|
|
382
|
+
sixtyOneToNinetyCents: number;
|
|
383
|
+
overNinetyCents: number;
|
|
384
|
+
unappliedCreditCents: number;
|
|
385
|
+
totalCents: number;
|
|
386
|
+
};
|
|
387
|
+
}>;
|
|
388
|
+
intercompany: Array<{
|
|
389
|
+
eventId: string;
|
|
390
|
+
entityId: string;
|
|
391
|
+
agentId: string | null;
|
|
392
|
+
occurredOn: string;
|
|
393
|
+
documentNumber: string | null;
|
|
394
|
+
description: string | null;
|
|
395
|
+
originalCents: number;
|
|
396
|
+
settledCents: number;
|
|
397
|
+
openCents: number;
|
|
398
|
+
currency: string;
|
|
399
|
+
dueDate: string;
|
|
400
|
+
dueDateBasis: string;
|
|
401
|
+
daysPastDue: number;
|
|
402
|
+
bucket: string;
|
|
403
|
+
}>;
|
|
404
|
+
pairs: Array<{
|
|
405
|
+
creditorEntityId: string;
|
|
406
|
+
debtorEntityId: string;
|
|
407
|
+
receivableCents: number;
|
|
408
|
+
payableCents: number;
|
|
409
|
+
differenceCents: number;
|
|
410
|
+
}>;
|
|
411
|
+
tieOuts: Array<{
|
|
412
|
+
entityId: string;
|
|
413
|
+
controlBalanceCents: number | null;
|
|
414
|
+
openItemsCents: number;
|
|
415
|
+
differenceCents: number | null;
|
|
416
|
+
accounts: Array<{
|
|
417
|
+
elementId: string;
|
|
418
|
+
code: string | null;
|
|
419
|
+
name: string;
|
|
420
|
+
}>;
|
|
421
|
+
}>;
|
|
422
|
+
};
|
|
423
|
+
export type AgingBucketsFieldsFragment = {
|
|
424
|
+
currentCents: number;
|
|
425
|
+
oneToThirtyCents: number;
|
|
426
|
+
thirtyOneToSixtyCents: number;
|
|
427
|
+
sixtyOneToNinetyCents: number;
|
|
428
|
+
overNinetyCents: number;
|
|
429
|
+
unappliedCreditCents: number;
|
|
430
|
+
totalCents: number;
|
|
431
|
+
};
|
|
432
|
+
export type AgedReceivablesQueryVariables = Exact<{
|
|
433
|
+
asOf: string | null | undefined;
|
|
434
|
+
entityId: string | null | undefined;
|
|
435
|
+
scope?: string;
|
|
436
|
+
}>;
|
|
437
|
+
export type AgedReceivablesQuery = {
|
|
438
|
+
agedReceivables: {
|
|
439
|
+
kind: string;
|
|
440
|
+
asOf: string;
|
|
441
|
+
scope: string;
|
|
442
|
+
entityId: string | null;
|
|
443
|
+
memberEntityIds: Array<string>;
|
|
444
|
+
defaultedDueDateCount: number;
|
|
445
|
+
buckets: {
|
|
446
|
+
currentCents: number;
|
|
447
|
+
oneToThirtyCents: number;
|
|
448
|
+
thirtyOneToSixtyCents: number;
|
|
449
|
+
sixtyOneToNinetyCents: number;
|
|
450
|
+
overNinetyCents: number;
|
|
451
|
+
unappliedCreditCents: number;
|
|
452
|
+
totalCents: number;
|
|
453
|
+
};
|
|
454
|
+
agents: Array<{
|
|
455
|
+
agentId: string | null;
|
|
456
|
+
agentName: string | null;
|
|
457
|
+
openItemCount: number;
|
|
458
|
+
oldestDueDate: string | null;
|
|
459
|
+
buckets: {
|
|
460
|
+
currentCents: number;
|
|
461
|
+
oneToThirtyCents: number;
|
|
462
|
+
thirtyOneToSixtyCents: number;
|
|
463
|
+
sixtyOneToNinetyCents: number;
|
|
464
|
+
overNinetyCents: number;
|
|
465
|
+
unappliedCreditCents: number;
|
|
466
|
+
totalCents: number;
|
|
467
|
+
};
|
|
468
|
+
}>;
|
|
469
|
+
intercompany: Array<{
|
|
470
|
+
eventId: string;
|
|
471
|
+
entityId: string;
|
|
472
|
+
agentId: string | null;
|
|
473
|
+
occurredOn: string;
|
|
474
|
+
documentNumber: string | null;
|
|
475
|
+
description: string | null;
|
|
476
|
+
originalCents: number;
|
|
477
|
+
settledCents: number;
|
|
478
|
+
openCents: number;
|
|
479
|
+
currency: string;
|
|
480
|
+
dueDate: string;
|
|
481
|
+
dueDateBasis: string;
|
|
482
|
+
daysPastDue: number;
|
|
483
|
+
bucket: string;
|
|
484
|
+
}>;
|
|
485
|
+
pairs: Array<{
|
|
486
|
+
creditorEntityId: string;
|
|
487
|
+
debtorEntityId: string;
|
|
488
|
+
receivableCents: number;
|
|
489
|
+
payableCents: number;
|
|
490
|
+
differenceCents: number;
|
|
491
|
+
}>;
|
|
492
|
+
tieOuts: Array<{
|
|
493
|
+
entityId: string;
|
|
494
|
+
controlBalanceCents: number | null;
|
|
495
|
+
openItemsCents: number;
|
|
496
|
+
differenceCents: number | null;
|
|
497
|
+
accounts: Array<{
|
|
498
|
+
elementId: string;
|
|
499
|
+
code: string | null;
|
|
500
|
+
name: string;
|
|
501
|
+
}>;
|
|
502
|
+
}>;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
export type AgedPayablesQueryVariables = Exact<{
|
|
506
|
+
asOf: string | null | undefined;
|
|
507
|
+
entityId: string | null | undefined;
|
|
508
|
+
scope?: string;
|
|
509
|
+
}>;
|
|
510
|
+
export type AgedPayablesQuery = {
|
|
511
|
+
agedPayables: {
|
|
512
|
+
kind: string;
|
|
513
|
+
asOf: string;
|
|
514
|
+
scope: string;
|
|
515
|
+
entityId: string | null;
|
|
516
|
+
memberEntityIds: Array<string>;
|
|
517
|
+
defaultedDueDateCount: number;
|
|
518
|
+
buckets: {
|
|
519
|
+
currentCents: number;
|
|
520
|
+
oneToThirtyCents: number;
|
|
521
|
+
thirtyOneToSixtyCents: number;
|
|
522
|
+
sixtyOneToNinetyCents: number;
|
|
523
|
+
overNinetyCents: number;
|
|
524
|
+
unappliedCreditCents: number;
|
|
525
|
+
totalCents: number;
|
|
526
|
+
};
|
|
527
|
+
agents: Array<{
|
|
528
|
+
agentId: string | null;
|
|
529
|
+
agentName: string | null;
|
|
530
|
+
openItemCount: number;
|
|
531
|
+
oldestDueDate: string | null;
|
|
532
|
+
buckets: {
|
|
533
|
+
currentCents: number;
|
|
534
|
+
oneToThirtyCents: number;
|
|
535
|
+
thirtyOneToSixtyCents: number;
|
|
536
|
+
sixtyOneToNinetyCents: number;
|
|
537
|
+
overNinetyCents: number;
|
|
538
|
+
unappliedCreditCents: number;
|
|
539
|
+
totalCents: number;
|
|
540
|
+
};
|
|
541
|
+
}>;
|
|
542
|
+
intercompany: Array<{
|
|
543
|
+
eventId: string;
|
|
544
|
+
entityId: string;
|
|
545
|
+
agentId: string | null;
|
|
546
|
+
occurredOn: string;
|
|
547
|
+
documentNumber: string | null;
|
|
548
|
+
description: string | null;
|
|
549
|
+
originalCents: number;
|
|
550
|
+
settledCents: number;
|
|
551
|
+
openCents: number;
|
|
552
|
+
currency: string;
|
|
553
|
+
dueDate: string;
|
|
554
|
+
dueDateBasis: string;
|
|
555
|
+
daysPastDue: number;
|
|
556
|
+
bucket: string;
|
|
557
|
+
}>;
|
|
558
|
+
pairs: Array<{
|
|
559
|
+
creditorEntityId: string;
|
|
560
|
+
debtorEntityId: string;
|
|
561
|
+
receivableCents: number;
|
|
562
|
+
payableCents: number;
|
|
563
|
+
differenceCents: number;
|
|
564
|
+
}>;
|
|
565
|
+
tieOuts: Array<{
|
|
566
|
+
entityId: string;
|
|
567
|
+
controlBalanceCents: number | null;
|
|
568
|
+
openItemsCents: number;
|
|
569
|
+
differenceCents: number | null;
|
|
570
|
+
accounts: Array<{
|
|
571
|
+
elementId: string;
|
|
572
|
+
code: string | null;
|
|
573
|
+
name: string;
|
|
574
|
+
}>;
|
|
575
|
+
}>;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
export type OpenItemsForAgentQueryVariables = Exact<{
|
|
579
|
+
agentId: string;
|
|
580
|
+
kind: string;
|
|
581
|
+
asOf: string | null | undefined;
|
|
582
|
+
entityId: string | null | undefined;
|
|
583
|
+
}>;
|
|
584
|
+
export type OpenItemsForAgentQuery = {
|
|
585
|
+
openItemsForAgent: Array<{
|
|
586
|
+
eventId: string;
|
|
587
|
+
entityId: string;
|
|
588
|
+
agentId: string | null;
|
|
589
|
+
occurredOn: string;
|
|
590
|
+
documentNumber: string | null;
|
|
591
|
+
description: string | null;
|
|
592
|
+
originalCents: number;
|
|
593
|
+
settledCents: number;
|
|
594
|
+
openCents: number;
|
|
595
|
+
currency: string;
|
|
596
|
+
dueDate: string;
|
|
597
|
+
dueDateBasis: string;
|
|
598
|
+
daysPastDue: number;
|
|
599
|
+
bucket: string;
|
|
600
|
+
}>;
|
|
601
|
+
};
|
|
602
|
+
export type DischargeCandidatesQueryVariables = Exact<{
|
|
603
|
+
eventId: string;
|
|
604
|
+
}>;
|
|
605
|
+
export type DischargeCandidatesQuery = {
|
|
606
|
+
dischargeCandidates: {
|
|
607
|
+
eventId: string;
|
|
608
|
+
kind: string | null;
|
|
609
|
+
amountCents: number;
|
|
610
|
+
classifiedToControl: boolean;
|
|
611
|
+
candidates: Array<{
|
|
612
|
+
eventId: string;
|
|
613
|
+
entityId: string;
|
|
614
|
+
agentId: string | null;
|
|
615
|
+
occurredOn: string;
|
|
616
|
+
documentNumber: string | null;
|
|
617
|
+
description: string | null;
|
|
618
|
+
originalCents: number;
|
|
619
|
+
settledCents: number;
|
|
620
|
+
openCents: number;
|
|
621
|
+
currency: string;
|
|
622
|
+
dueDate: string;
|
|
623
|
+
dueDateBasis: string;
|
|
624
|
+
daysPastDue: number;
|
|
625
|
+
bucket: string;
|
|
626
|
+
}>;
|
|
627
|
+
} | null;
|
|
628
|
+
};
|
|
341
629
|
export type GetLedgerAgentQueryVariables = Exact<{
|
|
342
630
|
id: string;
|
|
343
631
|
}>;
|
|
@@ -541,6 +829,25 @@ export type GetLedgerClosingBookStructuresQuery = {
|
|
|
541
829
|
}>;
|
|
542
830
|
} | null;
|
|
543
831
|
};
|
|
832
|
+
export type ListLedgerDimensionsQueryVariables = Exact<{
|
|
833
|
+
dimensionType: string | null | undefined;
|
|
834
|
+
includeInactive?: boolean;
|
|
835
|
+
}>;
|
|
836
|
+
export type ListLedgerDimensionsQuery = {
|
|
837
|
+
dimensions: {
|
|
838
|
+
types: Array<string>;
|
|
839
|
+
dimensions: Array<{
|
|
840
|
+
id: string;
|
|
841
|
+
dimensionType: string;
|
|
842
|
+
name: string;
|
|
843
|
+
value: string;
|
|
844
|
+
source: string;
|
|
845
|
+
isActive: boolean;
|
|
846
|
+
lineCount: number;
|
|
847
|
+
createdAt: string | null;
|
|
848
|
+
}>;
|
|
849
|
+
} | null;
|
|
850
|
+
};
|
|
544
851
|
export type ListLedgerElementsQueryVariables = Exact<{
|
|
545
852
|
taxonomyId: string | null | undefined;
|
|
546
853
|
source: string | null | undefined;
|
|
@@ -1327,6 +1634,11 @@ export type ListLedgerJournalEntriesQuery = {
|
|
|
1327
1634
|
description: string | null;
|
|
1328
1635
|
lineOrder: number;
|
|
1329
1636
|
flowQname: string | null;
|
|
1637
|
+
dimensions: Array<{
|
|
1638
|
+
id: string;
|
|
1639
|
+
dimensionType: string;
|
|
1640
|
+
name: string;
|
|
1641
|
+
}>;
|
|
1330
1642
|
}>;
|
|
1331
1643
|
}>;
|
|
1332
1644
|
pagination: {
|
|
@@ -2047,6 +2359,12 @@ export type GetLedgerTransactionQuery = {
|
|
|
2047
2359
|
creditAmount: number;
|
|
2048
2360
|
description: string | null;
|
|
2049
2361
|
lineOrder: number;
|
|
2362
|
+
flowQname: string | null;
|
|
2363
|
+
dimensions: Array<{
|
|
2364
|
+
id: string;
|
|
2365
|
+
dimensionType: string;
|
|
2366
|
+
name: string;
|
|
2367
|
+
}>;
|
|
2050
2368
|
}>;
|
|
2051
2369
|
}>;
|
|
2052
2370
|
} | null;
|
|
@@ -2088,11 +2406,14 @@ export type GetLedgerTrialBalanceQueryVariables = Exact<{
|
|
|
2088
2406
|
startDate: string | null | undefined;
|
|
2089
2407
|
endDate: string | null | undefined;
|
|
2090
2408
|
entityId: string | null | undefined;
|
|
2409
|
+
dimensionType: string | null | undefined;
|
|
2410
|
+
dimensionMemberId: string | null | undefined;
|
|
2091
2411
|
}>;
|
|
2092
2412
|
export type GetLedgerTrialBalanceQuery = {
|
|
2093
2413
|
trialBalance: {
|
|
2094
2414
|
totalDebits: number;
|
|
2095
2415
|
totalCredits: number;
|
|
2416
|
+
sliced: boolean;
|
|
2096
2417
|
rows: Array<{
|
|
2097
2418
|
accountId: string;
|
|
2098
2419
|
accountCode: string;
|
|
@@ -2377,6 +2698,9 @@ export type GetLibraryTaxonomyQuery = {
|
|
|
2377
2698
|
elementCount: number | null;
|
|
2378
2699
|
} | null;
|
|
2379
2700
|
};
|
|
2701
|
+
export declare const AgingBucketsFieldsFragmentDoc: DocumentNode<AgingBucketsFieldsFragment, unknown>;
|
|
2702
|
+
export declare const OpenItemFieldsFragmentDoc: DocumentNode<OpenItemFieldsFragment, unknown>;
|
|
2703
|
+
export declare const AgedBalancesFieldsFragmentDoc: DocumentNode<AgedBalancesFieldsFragment, unknown>;
|
|
2380
2704
|
export declare const GetInvestorHoldingsDocument: DocumentNode<GetInvestorHoldingsQuery, GetInvestorHoldingsQueryVariables>;
|
|
2381
2705
|
export declare const GetInvestorPortfolioBlockDocument: DocumentNode<GetInvestorPortfolioBlockQuery, GetInvestorPortfolioBlockQueryVariables>;
|
|
2382
2706
|
export declare const ListInvestorPortfoliosDocument: DocumentNode<ListInvestorPortfoliosQuery, ListInvestorPortfoliosQueryVariables>;
|
|
@@ -2387,6 +2711,10 @@ export declare const GetInvestorSecurityDocument: DocumentNode<GetInvestorSecuri
|
|
|
2387
2711
|
export declare const GetLedgerAccountRollupsDocument: DocumentNode<GetLedgerAccountRollupsQuery, GetLedgerAccountRollupsQueryVariables>;
|
|
2388
2712
|
export declare const GetLedgerAccountTreeDocument: DocumentNode<GetLedgerAccountTreeQuery, GetLedgerAccountTreeQueryVariables>;
|
|
2389
2713
|
export declare const ListLedgerAccountsDocument: DocumentNode<ListLedgerAccountsQuery, ListLedgerAccountsQueryVariables>;
|
|
2714
|
+
export declare const AgedReceivablesDocument: DocumentNode<AgedReceivablesQuery, AgedReceivablesQueryVariables>;
|
|
2715
|
+
export declare const AgedPayablesDocument: DocumentNode<AgedPayablesQuery, AgedPayablesQueryVariables>;
|
|
2716
|
+
export declare const OpenItemsForAgentDocument: DocumentNode<OpenItemsForAgentQuery, OpenItemsForAgentQueryVariables>;
|
|
2717
|
+
export declare const DischargeCandidatesDocument: DocumentNode<DischargeCandidatesQuery, DischargeCandidatesQueryVariables>;
|
|
2390
2718
|
export declare const GetLedgerAgentDocument: DocumentNode<GetLedgerAgentQuery, GetLedgerAgentQueryVariables>;
|
|
2391
2719
|
export declare const ListLedgerAgentsDocument: DocumentNode<ListLedgerAgentsQuery, ListLedgerAgentsQueryVariables>;
|
|
2392
2720
|
export declare const ListLedgerBankAccountsDocument: DocumentNode<ListLedgerBankAccountsQuery, ListLedgerBankAccountsQueryVariables>;
|
|
@@ -2394,6 +2722,7 @@ export declare const ListLedgerBlockedSourceGraphsDocument: DocumentNode<ListLed
|
|
|
2394
2722
|
export declare const ListChartTemplatesDocument: DocumentNode<ListChartTemplatesQuery, ListChartTemplatesQueryVariables>;
|
|
2395
2723
|
export declare const ClassificationStatsDocument: DocumentNode<ClassificationStatsQuery, ClassificationStatsQueryVariables>;
|
|
2396
2724
|
export declare const GetLedgerClosingBookStructuresDocument: DocumentNode<GetLedgerClosingBookStructuresQuery, GetLedgerClosingBookStructuresQueryVariables>;
|
|
2725
|
+
export declare const ListLedgerDimensionsDocument: DocumentNode<ListLedgerDimensionsQuery, ListLedgerDimensionsQueryVariables>;
|
|
2397
2726
|
export declare const ListLedgerElementsDocument: DocumentNode<ListLedgerElementsQuery, ListLedgerElementsQueryVariables>;
|
|
2398
2727
|
export declare const ListLedgerEntitiesDocument: DocumentNode<ListLedgerEntitiesQuery, ListLedgerEntitiesQueryVariables>;
|
|
2399
2728
|
export declare const GetLedgerEntityDocument: DocumentNode<GetLedgerEntityQuery, GetLedgerEntityQueryVariables>;
|