"FetchAllAccountFinancials": "query FetchAllAccountFinancials($identityId: ID!, $startDate: Date, $pageSize: Int = 25, $cursor: String) {\n identity(id: $identityId) {\n id\n ...AllAccountFinancials\n __typename\n }\n}\n\nfragment AllAccountFinancials on Identity {\n accounts(filter: {}, first: $pageSize, after: $cursor) {\n pageInfo {\n hasNextPage\n endCursor\n __typename\n }\n edges {\n cursor\n node {\n ...AccountWithFinancials\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n}\n\nfragment AccountWithFinancials on Account {\n ...AccountWithLink\n ...AccountFinancials\n __typename\n}\n\nfragment AccountWithLink on Account {\n ...Account\n linkedAccount {\n ...Account\n __typename\n }\n __typename\n}\n\nfragment Account on Account {\n ...AccountCore\n custodianAccounts {\n ...CustodianAccount\n __typename\n }\n __typename\n}\n\nfragment AccountCore on Account {\n id\n archivedAt\n branch\n closedAt\n createdAt\n cacheExpiredAt\n currency\n requiredIdentityVerification\n unifiedAccountType\n supportedCurrencies\n nickname\n status\n accountOwnerConfiguration\n accountFeatures {\n ...AccountFeature\n __typename\n }\n accountOwners {\n ...AccountOwner\n __typename\n }\n type\n __typename\n}\n\nfragment AccountFeature on AccountFeature {\n name\n enabled\n __typename\n}\n\nfragment AccountOwner on AccountOwner {\n accountId\n identityId\n accountNickname\n clientCanonicalId\n accountOpeningAgreementsSigned\n name\n email\n ownershipType\n activeInvitation {\n ...AccountOwnerInvitation\n __typename\n }\n sentInvitations {\n ...AccountOwnerInvitation\n __typename\n }\n __typename\n}\n\nfragment AccountOwnerInvitation on AccountOwnerInvitation {\n id\n createdAt\n inviteeName\n inviteeEmail\n inviterName\n inviterEmail\n updatedAt\n sentAt\n status\n __typename\n}\n\nfragment CustodianAccount on CustodianAccount {\n id\n branch\n custodian\n status\n updatedAt\n __typename\n}\n\nfragment AccountFinancials on Account {\n id\n custodianAccounts {\n id\n branch\n financials {\n current {\n ...CustodianAccountCurrentFinancialValues\n __typename\n }\n __typename\n }\n __typename\n }\n financials {\n currentCombined {\n id\n ...AccountCurrentFinancials\n __typename\n }\n __typename\n }\n __typename\n}\n\nfragment CustodianAccountCurrentFinancialValues on CustodianAccountCurrentFinancialValues {\n deposits {\n ...Money\n __typename\n }\n earnings {\n ...Money\n __typename\n }\n netDeposits {\n ...Money\n __typename\n }\n netLiquidationValue {\n ...Money\n __typename\n }\n withdrawals {\n ...Money\n __typename\n }\n __typename\n}\n\nfragment Money on Money {\n amount\n cents\n currency\n __typename\n}\n\nfragment AccountCurrentFinancials on AccountCurrentFinancials {\n id\n netLiquidationValue {\n ...Money\n __typename\n }\n netDeposits {\n ...Money\n __typename\n }\n simpleReturns(referenceDate: $startDate) {\n ...SimpleReturns\n __typename\n }\n totalDeposits {\n ...Money\n __typename\n }\n totalWithdrawals {\n ...Money\n __typename\n }\n __typename\n}\n\nfragment SimpleReturns on SimpleReturns {\n amount {\n ...Money\n __typename\n }\n asOf\n rate\n referenceDate\n __typename\n}",
0 commit comments