@robosystems/client 0.2.48 → 0.3.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/extensions/InvestorClient.d.ts +91 -0
- package/extensions/InvestorClient.js +223 -0
- package/extensions/InvestorClient.ts +501 -0
- package/extensions/LedgerClient.d.ts +213 -165
- package/extensions/LedgerClient.js +315 -393
- package/extensions/LedgerClient.ts +887 -564
- package/extensions/ReportClient.d.ts +77 -115
- package/extensions/ReportClient.js +124 -211
- package/extensions/ReportClient.ts +298 -358
- package/extensions/config.js +1 -1
- package/extensions/config.ts +1 -1
- package/extensions/graphql/client.d.ts +46 -0
- package/extensions/graphql/client.js +75 -0
- package/extensions/graphql/client.ts +82 -0
- package/extensions/graphql/generated/graphql.d.ts +1786 -0
- package/extensions/graphql/generated/graphql.js +2671 -0
- package/extensions/graphql/generated/graphql.ts +4491 -0
- package/extensions/graphql/queries/investor/holdings.d.ts +8 -0
- package/extensions/graphql/queries/investor/holdings.js +36 -0
- package/extensions/graphql/queries/investor/holdings.ts +34 -0
- package/extensions/graphql/queries/investor/portfolio.d.ts +4 -0
- package/extensions/graphql/queries/investor/portfolio.js +21 -0
- package/extensions/graphql/queries/investor/portfolio.ts +19 -0
- package/extensions/graphql/queries/investor/portfolios.d.ts +4 -0
- package/extensions/graphql/queries/investor/portfolios.js +29 -0
- package/extensions/graphql/queries/investor/portfolios.ts +27 -0
- package/extensions/graphql/queries/investor/position.d.ts +4 -0
- package/extensions/graphql/queries/investor/position.js +33 -0
- package/extensions/graphql/queries/investor/position.ts +31 -0
- package/extensions/graphql/queries/investor/positions.d.ts +8 -0
- package/extensions/graphql/queries/investor/positions.js +57 -0
- package/extensions/graphql/queries/investor/positions.ts +55 -0
- package/extensions/graphql/queries/investor/securities.d.ts +8 -0
- package/extensions/graphql/queries/investor/securities.js +50 -0
- package/extensions/graphql/queries/investor/securities.ts +48 -0
- package/extensions/graphql/queries/investor/security.d.ts +4 -0
- package/extensions/graphql/queries/investor/security.js +26 -0
- package/extensions/graphql/queries/investor/security.ts +24 -0
- package/extensions/graphql/queries/ledger/accountRollups.d.ts +7 -0
- package/extensions/graphql/queries/ledger/accountRollups.js +36 -0
- package/extensions/graphql/queries/ledger/accountRollups.ts +34 -0
- package/extensions/graphql/queries/ledger/accountTree.d.ts +11 -0
- package/extensions/graphql/queries/ledger/accountTree.js +61 -0
- package/extensions/graphql/queries/ledger/accountTree.ts +59 -0
- package/extensions/graphql/queries/ledger/accounts.d.ts +8 -0
- package/extensions/graphql/queries/ledger/accounts.js +45 -0
- package/extensions/graphql/queries/ledger/accounts.ts +43 -0
- package/extensions/graphql/queries/ledger/closingBookStructures.d.ts +6 -0
- package/extensions/graphql/queries/ledger/closingBookStructures.js +27 -0
- package/extensions/graphql/queries/ledger/closingBookStructures.ts +25 -0
- package/extensions/graphql/queries/ledger/elements.d.ts +6 -0
- package/extensions/graphql/queries/ledger/elements.js +56 -0
- package/extensions/graphql/queries/ledger/elements.ts +54 -0
- package/extensions/graphql/queries/ledger/entities.d.ts +7 -0
- package/extensions/graphql/queries/ledger/entities.js +31 -0
- package/extensions/graphql/queries/ledger/entities.ts +29 -0
- package/extensions/graphql/queries/ledger/entity.d.ts +14 -0
- package/extensions/graphql/queries/ledger/entity.js +55 -0
- package/extensions/graphql/queries/ledger/entity.ts +54 -0
- package/extensions/graphql/queries/ledger/fiscalCalendar.d.ts +8 -0
- package/extensions/graphql/queries/ledger/fiscalCalendar.js +35 -0
- package/extensions/graphql/queries/ledger/fiscalCalendar.ts +33 -0
- package/extensions/graphql/queries/ledger/mappedTrialBalance.d.ts +9 -0
- package/extensions/graphql/queries/ledger/mappedTrialBalance.js +29 -0
- package/extensions/graphql/queries/ledger/mappedTrialBalance.ts +27 -0
- package/extensions/graphql/queries/ledger/mapping.d.ts +5 -0
- package/extensions/graphql/queries/ledger/mapping.js +35 -0
- package/extensions/graphql/queries/ledger/mapping.ts +33 -0
- package/extensions/graphql/queries/ledger/mappingCoverage.d.ts +5 -0
- package/extensions/graphql/queries/ledger/mappingCoverage.js +22 -0
- package/extensions/graphql/queries/ledger/mappingCoverage.ts +20 -0
- package/extensions/graphql/queries/ledger/mappings.d.ts +6 -0
- package/extensions/graphql/queries/ledger/mappings.js +23 -0
- package/extensions/graphql/queries/ledger/mappings.ts +21 -0
- package/extensions/graphql/queries/ledger/periodCloseStatus.d.ts +6 -0
- package/extensions/graphql/queries/ledger/periodCloseStatus.js +29 -0
- package/extensions/graphql/queries/ledger/periodCloseStatus.ts +27 -0
- package/extensions/graphql/queries/ledger/periodDrafts.d.ts +8 -0
- package/extensions/graphql/queries/ledger/periodDrafts.js +45 -0
- package/extensions/graphql/queries/ledger/periodDrafts.ts +43 -0
- package/extensions/graphql/queries/ledger/publishList.d.ts +5 -0
- package/extensions/graphql/queries/ledger/publishList.js +29 -0
- package/extensions/graphql/queries/ledger/publishList.ts +27 -0
- package/extensions/graphql/queries/ledger/publishLists.d.ts +5 -0
- package/extensions/graphql/queries/ledger/publishLists.js +29 -0
- package/extensions/graphql/queries/ledger/publishLists.ts +27 -0
- package/extensions/graphql/queries/ledger/report.d.ts +5 -0
- package/extensions/graphql/queries/ledger/report.js +40 -0
- package/extensions/graphql/queries/ledger/report.ts +38 -0
- package/extensions/graphql/queries/ledger/reportingTaxonomy.d.ts +6 -0
- package/extensions/graphql/queries/ledger/reportingTaxonomy.js +27 -0
- package/extensions/graphql/queries/ledger/reportingTaxonomy.ts +25 -0
- package/extensions/graphql/queries/ledger/reports.d.ts +8 -0
- package/extensions/graphql/queries/ledger/reports.js +45 -0
- package/extensions/graphql/queries/ledger/reports.ts +43 -0
- package/extensions/graphql/queries/ledger/scheduleFacts.d.ts +7 -0
- package/extensions/graphql/queries/ledger/scheduleFacts.js +24 -0
- package/extensions/graphql/queries/ledger/scheduleFacts.ts +22 -0
- package/extensions/graphql/queries/ledger/schedules.d.ts +6 -0
- package/extensions/graphql/queries/ledger/schedules.js +24 -0
- package/extensions/graphql/queries/ledger/schedules.ts +22 -0
- package/extensions/graphql/queries/ledger/statement.d.ts +9 -0
- package/extensions/graphql/queries/ledger/statement.js +43 -0
- package/extensions/graphql/queries/ledger/statement.ts +41 -0
- package/extensions/graphql/queries/ledger/structures.d.ts +5 -0
- package/extensions/graphql/queries/ledger/structures.js +22 -0
- package/extensions/graphql/queries/ledger/structures.ts +20 -0
- package/extensions/graphql/queries/ledger/summary.d.ts +7 -0
- package/extensions/graphql/queries/ledger/summary.js +25 -0
- package/extensions/graphql/queries/ledger/summary.ts +23 -0
- package/extensions/graphql/queries/ledger/taxonomies.d.ts +5 -0
- package/extensions/graphql/queries/ledger/taxonomies.js +28 -0
- package/extensions/graphql/queries/ledger/taxonomies.ts +26 -0
- package/extensions/graphql/queries/ledger/transaction.d.ts +6 -0
- package/extensions/graphql/queries/ledger/transaction.js +49 -0
- package/extensions/graphql/queries/ledger/transaction.ts +47 -0
- package/extensions/graphql/queries/ledger/transactions.d.ts +7 -0
- package/extensions/graphql/queries/ledger/transactions.js +49 -0
- package/extensions/graphql/queries/ledger/transactions.ts +47 -0
- package/extensions/graphql/queries/ledger/trialBalance.d.ts +7 -0
- package/extensions/graphql/queries/ledger/trialBalance.js +28 -0
- package/extensions/graphql/queries/ledger/trialBalance.ts +26 -0
- package/extensions/graphql/queries/ledger/unmappedElements.d.ts +8 -0
- package/extensions/graphql/queries/ledger/unmappedElements.js +29 -0
- package/extensions/graphql/queries/ledger/unmappedElements.ts +27 -0
- package/extensions/hooks.d.ts +1 -1
- package/extensions/index.d.ts +5 -1
- package/extensions/index.js +13 -1
- package/extensions/index.ts +14 -0
- package/index.ts +2 -2
- package/package.json +14 -5
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +38 -65
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +101 -220
- package/sdk/sdk.gen.js +251 -445
- package/sdk/sdk.gen.ts +216 -409
- package/sdk/types.gen.d.ts +4586 -7045
- package/sdk/types.gen.ts +4702 -7334
- package/sdk.gen.d.ts +101 -220
- package/sdk.gen.js +251 -445
- package/sdk.gen.ts +216 -409
- package/types.gen.d.ts +4586 -7045
- package/types.gen.ts +4702 -7334
- package/extensions/AgentClient.test.ts +0 -403
- package/extensions/LedgerClient.test.ts +0 -1138
- package/extensions/OperationClient.test.ts +0 -365
- package/extensions/QueryClient.test.ts +0 -432
- package/extensions/ReportClient.test.ts +0 -828
- package/extensions/SSEClient.test.ts +0 -375
- package/extensions/config.test.ts +0 -199
- package/extensions/hooks.test.ts +0 -373
- package/extensions/index.test.ts +0 -420
- package/sdk-extensions/AgentClient.d.ts +0 -82
- package/sdk-extensions/AgentClient.js +0 -218
- package/sdk-extensions/AgentClient.test.ts +0 -403
- package/sdk-extensions/AgentClient.ts +0 -321
- package/sdk-extensions/LedgerClient.d.ts +0 -242
- package/sdk-extensions/LedgerClient.js +0 -496
- package/sdk-extensions/LedgerClient.test.ts +0 -1138
- package/sdk-extensions/LedgerClient.ts +0 -800
- package/sdk-extensions/OperationClient.d.ts +0 -65
- package/sdk-extensions/OperationClient.js +0 -251
- package/sdk-extensions/OperationClient.test.ts +0 -365
- package/sdk-extensions/OperationClient.ts +0 -324
- package/sdk-extensions/QueryClient.d.ts +0 -52
- package/sdk-extensions/QueryClient.js +0 -313
- package/sdk-extensions/QueryClient.test.ts +0 -432
- package/sdk-extensions/QueryClient.ts +0 -420
- package/sdk-extensions/README.md +0 -901
- package/sdk-extensions/ReportClient.d.ts +0 -151
- package/sdk-extensions/ReportClient.js +0 -278
- package/sdk-extensions/ReportClient.test.ts +0 -828
- package/sdk-extensions/ReportClient.ts +0 -486
- package/sdk-extensions/SSEClient.d.ts +0 -62
- package/sdk-extensions/SSEClient.js +0 -154
- package/sdk-extensions/SSEClient.test.ts +0 -375
- package/sdk-extensions/SSEClient.ts +0 -210
- package/sdk-extensions/config.d.ts +0 -57
- package/sdk-extensions/config.js +0 -152
- package/sdk-extensions/config.test.ts +0 -199
- package/sdk-extensions/config.ts +0 -175
- package/sdk-extensions/hooks.d.ts +0 -110
- package/sdk-extensions/hooks.js +0 -384
- package/sdk-extensions/hooks.test.ts +0 -373
- package/sdk-extensions/hooks.ts +0 -459
- package/sdk-extensions/index.d.ts +0 -63
- package/sdk-extensions/index.js +0 -164
- package/sdk-extensions/index.test.ts +0 -420
- package/sdk-extensions/index.ts +0 -203
package/sdk.gen.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
4
4
|
import { client } from './client.gen';
|
|
5
|
-
import type { AddPublishListMembersData, AddPublishListMembersErrors, AddPublishListMembersResponses, AutoMapElementsData, AutoMapElementsErrors, AutoMapElementsResponses, AutoSelectAgentData, AutoSelectAgentErrors, AutoSelectAgentResponses, BatchProcessQueriesData, BatchProcessQueriesErrors, BatchProcessQueriesResponses, CallMcpToolData, CallMcpToolErrors, CallMcpToolResponses, CancelOperationData, CancelOperationErrors, CancelOperationResponses, CancelOrgSubscriptionData, CancelOrgSubscriptionErrors, CancelOrgSubscriptionResponses, ChangeSubscriptionPlanData, ChangeSubscriptionPlanErrors, ChangeSubscriptionPlanResponses, CheckPasswordStrengthData, CheckPasswordStrengthErrors, CheckPasswordStrengthResponses, CompleteSsoAuthData, CompleteSsoAuthErrors, CompleteSsoAuthResponses, CreateBackupData, CreateBackupErrors, CreateBackupResponses, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateClosingEntryData, CreateClosingEntryErrors, CreateClosingEntryResponses, CreateConnectionData, CreateConnectionErrors, CreateConnectionResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses, CreateMappingAssociationData, CreateMappingAssociationErrors, CreateMappingAssociationResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreatePortfolioData, CreatePortfolioErrors, CreatePortfolioResponses, CreatePositionData, CreatePositionErrors, CreatePositionResponses, CreatePublishListData, CreatePublishListErrors, CreatePublishListResponses, CreateReportData, CreateReportErrors, CreateReportResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateScheduleData, CreateScheduleErrors, CreateScheduleResponses, CreateSecurityData, CreateSecurityErrors, CreateSecurityResponses, CreateStructureData, CreateStructureErrors, CreateStructureResponses, CreateSubgraphData, CreateSubgraphErrors, CreateSubgraphResponses, CreateTaxonomyData, CreateTaxonomyErrors, CreateTaxonomyResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, CreateViewData, CreateViewErrors, CreateViewResponses, DeleteConnectionData, DeleteConnectionErrors, DeleteConnectionResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteFileData, DeleteFileErrors, DeleteFileResponses, DeleteMappingAssociationData, DeleteMappingAssociationErrors, DeleteMappingAssociationResponses, DeletePortfolioData, DeletePortfolioErrors, DeletePortfolioResponses, DeletePositionData, DeletePositionErrors, DeletePositionResponses, DeletePublishListData, DeletePublishListErrors, DeletePublishListResponses, DeleteReportData, DeleteReportErrors, DeleteReportResponses, DeleteSecurityData, DeleteSecurityErrors, DeleteSecurityResponses, DeleteSubgraphData, DeleteSubgraphErrors, DeleteSubgraphResponses, ExecuteCypherQueryData, ExecuteCypherQueryErrors, ExecuteCypherQueryResponses, ExecuteSpecificAgentData, ExecuteSpecificAgentErrors, ExecuteSpecificAgentResponses, ExportGraphSchemaData, ExportGraphSchemaErrors, ExportGraphSchemaResponses, ForgotPasswordData, ForgotPasswordErrors, ForgotPasswordResponses, GenerateSsoTokenData, GenerateSsoTokenErrors, GenerateSsoTokenResponses, GetAccountRollupsData, GetAccountRollupsErrors, GetAccountRollupsResponses, GetAgentMetadataData, GetAgentMetadataErrors, GetAgentMetadataResponses, GetAvailableExtensionsData, GetAvailableExtensionsErrors, GetAvailableExtensionsResponses, GetAvailableGraphTiersData, GetAvailableGraphTiersErrors, GetAvailableGraphTiersResponses, GetBackupDownloadUrlData, GetBackupDownloadUrlErrors, GetBackupDownloadUrlResponses, GetBackupStatsData, GetBackupStatsErrors, GetBackupStatsResponses, GetCaptchaConfigData, GetCaptchaConfigResponses, GetCheckoutStatusData, GetCheckoutStatusErrors, GetCheckoutStatusResponses, GetClosingBookStructuresData, GetClosingBookStructuresErrors, GetClosingBookStructuresResponses, GetConnectionData, GetConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsErrors, GetConnectionOptionsResponses, GetConnectionResponses, GetCreditSummaryData, GetCreditSummaryErrors, GetCreditSummaryResponses, GetCurrentAuthUserData, GetCurrentAuthUserErrors, GetCurrentAuthUserResponses, GetCurrentUserData, GetCurrentUserResponses, GetDatabaseHealthData, GetDatabaseHealthErrors, GetDatabaseHealthResponses, GetDatabaseInfoData, GetDatabaseInfoErrors, GetDatabaseInfoResponses, GetDocumentData, GetDocumentErrors, GetDocumentResponses, GetDocumentSectionData, GetDocumentSectionErrors, GetDocumentSectionResponses, GetFileData, GetFileErrors, GetFileResponses, GetGraphCapacityData, GetGraphCapacityErrors, GetGraphCapacityResponses, GetGraphLimitsData, GetGraphLimitsErrors, GetGraphLimitsResponses, GetGraphMetricsData, GetGraphMetricsErrors, GetGraphMetricsResponses, GetGraphSchemaData, GetGraphSchemaErrors, GetGraphSchemaResponses, GetGraphsData, GetGraphsErrors, GetGraphsResponses, GetGraphSubscriptionData, GetGraphSubscriptionErrors, GetGraphSubscriptionResponses, GetGraphUsageAnalyticsData, GetGraphUsageAnalyticsErrors, GetGraphUsageAnalyticsResponses, GetLedgerAccountTreeData, GetLedgerAccountTreeErrors, GetLedgerAccountTreeResponses, GetLedgerEntityData, GetLedgerEntityErrors, GetLedgerEntityResponses, GetLedgerSummaryData, GetLedgerSummaryErrors, GetLedgerSummaryResponses, GetLedgerTransactionData, GetLedgerTransactionErrors, GetLedgerTransactionResponses, GetLedgerTrialBalanceData, GetLedgerTrialBalanceErrors, GetLedgerTrialBalanceResponses, GetMappedTrialBalanceData, GetMappedTrialBalanceErrors, GetMappedTrialBalanceResponses, GetMappingCoverageData, GetMappingCoverageErrors, GetMappingCoverageResponses, GetMappingDetailData, GetMappingDetailErrors, GetMappingDetailResponses, GetMaterializationStatusData, GetMaterializationStatusErrors, GetMaterializationStatusResponses, GetOperationStatusData, GetOperationStatusErrors, GetOperationStatusResponses, GetOrgBillingCustomerData, GetOrgBillingCustomerErrors, GetOrgBillingCustomerResponses, GetOrgData, GetOrgErrors, GetOrgLimitsData, GetOrgLimitsErrors, GetOrgLimitsResponses, GetOrgResponses, GetOrgSubscriptionData, GetOrgSubscriptionErrors, GetOrgSubscriptionResponses, GetOrgUpcomingInvoiceData, GetOrgUpcomingInvoiceErrors, GetOrgUpcomingInvoiceResponses, GetOrgUsageData, GetOrgUsageErrors, GetOrgUsageResponses, GetPasswordPolicyData, GetPasswordPolicyResponses, GetPeriodCloseStatusData, GetPeriodCloseStatusErrors, GetPeriodCloseStatusResponses, GetPortfolioData, GetPortfolioErrors, GetPortfolioResponses, GetPositionData, GetPositionErrors, GetPositionResponses, GetPublishListData, GetPublishListErrors, GetPublishListResponses, GetReportData, GetReportErrors, GetReportingTaxonomyData, GetReportingTaxonomyErrors, GetReportingTaxonomyResponses, GetReportResponses, GetScheduleFactsData, GetScheduleFactsErrors, GetScheduleFactsResponses, GetSecurityData, GetSecurityErrors, GetSecurityResponses, GetServiceOfferingsData, GetServiceOfferingsErrors, GetServiceOfferingsResponses, GetServiceStatusData, GetServiceStatusResponses, GetStatementData, GetStatementErrors, GetStatementResponses, GetSubgraphInfoData, GetSubgraphInfoErrors, GetSubgraphInfoResponses, GetSubgraphQuotaData, GetSubgraphQuotaErrors, GetSubgraphQuotaResponses, InitOAuthData, InitOAuthErrors, InitOAuthResponses, InviteOrgMemberData, InviteOrgMemberErrors, InviteOrgMemberResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, ListConnectionsData, ListConnectionsErrors, ListConnectionsResponses, ListCreditTransactionsData, ListCreditTransactionsErrors, ListCreditTransactionsResponses, ListDocumentsData, ListDocumentsErrors, ListDocumentsResponses, ListElementsData, ListElementsErrors, ListElementsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, ListHoldingsData, ListHoldingsErrors, ListHoldingsResponses, ListLedgerAccountsData, ListLedgerAccountsErrors, ListLedgerAccountsResponses, ListLedgerEntitiesData, ListLedgerEntitiesErrors, ListLedgerEntitiesResponses, ListLedgerTransactionsData, ListLedgerTransactionsErrors, ListLedgerTransactionsResponses, ListMappingsData, ListMappingsErrors, ListMappingsResponses, ListMcpToolsData, ListMcpToolsErrors, ListMcpToolsResponses, ListOrgGraphsData, ListOrgGraphsErrors, ListOrgGraphsResponses, ListOrgInvoicesData, ListOrgInvoicesErrors, ListOrgInvoicesResponses, ListOrgMembersData, ListOrgMembersErrors, ListOrgMembersResponses, ListOrgSubscriptionsData, ListOrgSubscriptionsErrors, ListOrgSubscriptionsResponses, ListPortfoliosData, ListPortfoliosErrors, ListPortfoliosResponses, ListPositionsData, ListPositionsErrors, ListPositionsResponses, ListPublishListsData, ListPublishListsErrors, ListPublishListsResponses, ListReportsData, ListReportsErrors, ListReportsResponses, ListSchedulesData, ListSchedulesErrors, ListSchedulesResponses, ListSecuritiesData, ListSecuritiesErrors, ListSecuritiesResponses, ListStructuresData, ListStructuresErrors, ListStructuresResponses, ListSubgraphsData, ListSubgraphsErrors, ListSubgraphsResponses, ListTablesData, ListTablesErrors, ListTablesResponses, ListTaxonomiesData, ListTaxonomiesErrors, ListTaxonomiesResponses, ListUnmappedElementsData, ListUnmappedElementsErrors, ListUnmappedElementsResponses, ListUserApiKeysData, ListUserApiKeysResponses, ListUserOrgsData, ListUserOrgsResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserResponses, MaterializeGraphData, MaterializeGraphErrors, MaterializeGraphResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, QueryTablesData, QueryTablesErrors, QueryTablesResponses, RecommendAgentData, RecommendAgentErrors, RecommendAgentResponses, RefreshAuthSessionData, RefreshAuthSessionErrors, RefreshAuthSessionResponses, RegenerateReportData, RegenerateReportErrors, RegenerateReportResponses, RegisterUserData, RegisterUserErrors, RegisterUserResponses, RemoveOrgMemberData, RemoveOrgMemberErrors, RemoveOrgMemberResponses, RemovePublishListMemberData, RemovePublishListMemberErrors, RemovePublishListMemberResponses, ResendVerificationEmailData, ResendVerificationEmailErrors, ResendVerificationEmailResponses, ResetPasswordData, ResetPasswordErrors, ResetPasswordResponses, RestoreBackupData, RestoreBackupErrors, RestoreBackupResponses, RevokeUserApiKeyData, RevokeUserApiKeyErrors, RevokeUserApiKeyResponses, SearchDocumentsData, SearchDocumentsErrors, SearchDocumentsResponses, SelectGraphData, SelectGraphErrors, SelectGraphResponses, ShareReportData, ShareReportErrors, ShareReportResponses, SsoTokenExchangeData, SsoTokenExchangeErrors, SsoTokenExchangeResponses, StreamOperationEventsData, StreamOperationEventsErrors, StreamOperationEventsResponses, SyncConnectionData, SyncConnectionErrors, SyncConnectionResponses, UpdateDocumentData, UpdateDocumentErrors, UpdateDocumentResponses, UpdateFileData, UpdateFileErrors, UpdateFileResponses, UpdateLedgerEntityData, UpdateLedgerEntityErrors, UpdateLedgerEntityResponses, UpdateOrgData, UpdateOrgErrors, UpdateOrgMemberRoleData, UpdateOrgMemberRoleErrors, UpdateOrgMemberRoleResponses, UpdateOrgResponses, UpdatePortfolioData, UpdatePortfolioErrors, UpdatePortfolioResponses, UpdatePositionData, UpdatePositionErrors, UpdatePositionResponses, UpdatePublishListData, UpdatePublishListErrors, UpdatePublishListResponses, UpdateSecurityData, UpdateSecurityErrors, UpdateSecurityResponses, UpdateUserApiKeyData, UpdateUserApiKeyErrors, UpdateUserApiKeyResponses, UpdateUserData, UpdateUserErrors, UpdateUserPasswordData, UpdateUserPasswordErrors, UpdateUserPasswordResponses, UpdateUserResponses, UploadDocumentData, UploadDocumentErrors, UploadDocumentResponses, UploadDocumentsBulkData, UploadDocumentsBulkErrors, UploadDocumentsBulkResponses, ValidateResetTokenData, ValidateResetTokenErrors, ValidateResetTokenResponses, ValidateSchemaData, ValidateSchemaErrors, ValidateSchemaResponses, VerifyEmailData, VerifyEmailErrors, VerifyEmailResponses } from './types.gen';
|
|
5
|
+
import type { AutoSelectAgentData, AutoSelectAgentErrors, AutoSelectAgentResponses, BatchProcessQueriesData, BatchProcessQueriesErrors, BatchProcessQueriesResponses, CallMcpToolData, CallMcpToolErrors, CallMcpToolResponses, CancelOperationData, CancelOperationErrors, CancelOperationResponses, CancelOrgSubscriptionData, CancelOrgSubscriptionErrors, CancelOrgSubscriptionResponses, ChangeSubscriptionPlanData, ChangeSubscriptionPlanErrors, ChangeSubscriptionPlanResponses, CheckPasswordStrengthData, CheckPasswordStrengthErrors, CheckPasswordStrengthResponses, CompleteSsoAuthData, CompleteSsoAuthErrors, CompleteSsoAuthResponses, CreateBackupData, CreateBackupErrors, CreateBackupResponses, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateConnectionData, CreateConnectionErrors, CreateConnectionResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateSubgraphData, CreateSubgraphErrors, CreateSubgraphResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, DeleteConnectionData, DeleteConnectionErrors, DeleteConnectionResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteFileData, DeleteFileErrors, DeleteFileResponses, DeleteSubgraphData, DeleteSubgraphErrors, DeleteSubgraphResponses, ExecuteCypherQueryData, ExecuteCypherQueryErrors, ExecuteCypherQueryResponses, ExecuteSpecificAgentData, ExecuteSpecificAgentErrors, ExecuteSpecificAgentResponses, ExportGraphSchemaData, ExportGraphSchemaErrors, ExportGraphSchemaResponses, ForgotPasswordData, ForgotPasswordErrors, ForgotPasswordResponses, GenerateSsoTokenData, GenerateSsoTokenErrors, GenerateSsoTokenResponses, GetAgentMetadataData, GetAgentMetadataErrors, GetAgentMetadataResponses, GetAvailableExtensionsData, GetAvailableExtensionsErrors, GetAvailableExtensionsResponses, GetAvailableGraphTiersData, GetAvailableGraphTiersErrors, GetAvailableGraphTiersResponses, GetBackupDownloadUrlData, GetBackupDownloadUrlErrors, GetBackupDownloadUrlResponses, GetBackupStatsData, GetBackupStatsErrors, GetBackupStatsResponses, GetCaptchaConfigData, GetCaptchaConfigResponses, GetCheckoutStatusData, GetCheckoutStatusErrors, GetCheckoutStatusResponses, GetConnectionData, GetConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsErrors, GetConnectionOptionsResponses, GetConnectionResponses, GetCreditSummaryData, GetCreditSummaryErrors, GetCreditSummaryResponses, GetCurrentAuthUserData, GetCurrentAuthUserErrors, GetCurrentAuthUserResponses, GetCurrentUserData, GetCurrentUserResponses, GetDatabaseHealthData, GetDatabaseHealthErrors, GetDatabaseHealthResponses, GetDatabaseInfoData, GetDatabaseInfoErrors, GetDatabaseInfoResponses, GetDocumentData, GetDocumentErrors, GetDocumentResponses, GetDocumentSectionData, GetDocumentSectionErrors, GetDocumentSectionResponses, GetFileData, GetFileErrors, GetFileResponses, GetGraphCapacityData, GetGraphCapacityErrors, GetGraphCapacityResponses, GetGraphLimitsData, GetGraphLimitsErrors, GetGraphLimitsResponses, GetGraphMetricsData, GetGraphMetricsErrors, GetGraphMetricsResponses, GetGraphSchemaData, GetGraphSchemaErrors, GetGraphSchemaResponses, GetGraphsData, GetGraphsErrors, GetGraphsResponses, GetGraphSubscriptionData, GetGraphSubscriptionErrors, GetGraphSubscriptionResponses, GetGraphUsageAnalyticsData, GetGraphUsageAnalyticsErrors, GetGraphUsageAnalyticsResponses, GetMaterializationStatusData, GetMaterializationStatusErrors, GetMaterializationStatusResponses, GetOperationStatusData, GetOperationStatusErrors, GetOperationStatusResponses, GetOrgBillingCustomerData, GetOrgBillingCustomerErrors, GetOrgBillingCustomerResponses, GetOrgData, GetOrgErrors, GetOrgLimitsData, GetOrgLimitsErrors, GetOrgLimitsResponses, GetOrgResponses, GetOrgSubscriptionData, GetOrgSubscriptionErrors, GetOrgSubscriptionResponses, GetOrgUpcomingInvoiceData, GetOrgUpcomingInvoiceErrors, GetOrgUpcomingInvoiceResponses, GetOrgUsageData, GetOrgUsageErrors, GetOrgUsageResponses, GetPasswordPolicyData, GetPasswordPolicyResponses, GetServiceOfferingsData, GetServiceOfferingsErrors, GetServiceOfferingsResponses, GetServiceStatusData, GetServiceStatusResponses, GetSubgraphInfoData, GetSubgraphInfoErrors, GetSubgraphInfoResponses, GetSubgraphQuotaData, GetSubgraphQuotaErrors, GetSubgraphQuotaResponses, HandleHttpGetExtensionsGraphIdGraphqlGetData, HandleHttpGetExtensionsGraphIdGraphqlGetErrors, HandleHttpGetExtensionsGraphIdGraphqlGetResponses, HandleHttpPostExtensionsGraphIdGraphqlPostData, HandleHttpPostExtensionsGraphIdGraphqlPostErrors, HandleHttpPostExtensionsGraphIdGraphqlPostResponses, InitOAuthData, InitOAuthErrors, InitOAuthResponses, InviteOrgMemberData, InviteOrgMemberErrors, InviteOrgMemberResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, ListConnectionsData, ListConnectionsErrors, ListConnectionsResponses, ListCreditTransactionsData, ListCreditTransactionsErrors, ListCreditTransactionsResponses, ListDocumentsData, ListDocumentsErrors, ListDocumentsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, ListMcpToolsData, ListMcpToolsErrors, ListMcpToolsResponses, ListOrgGraphsData, ListOrgGraphsErrors, ListOrgGraphsResponses, ListOrgInvoicesData, ListOrgInvoicesErrors, ListOrgInvoicesResponses, ListOrgMembersData, ListOrgMembersErrors, ListOrgMembersResponses, ListOrgSubscriptionsData, ListOrgSubscriptionsErrors, ListOrgSubscriptionsResponses, ListSubgraphsData, ListSubgraphsErrors, ListSubgraphsResponses, ListTablesData, ListTablesErrors, ListTablesResponses, ListUserApiKeysData, ListUserApiKeysResponses, ListUserOrgsData, ListUserOrgsResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserResponses, MaterializeGraphData, MaterializeGraphErrors, MaterializeGraphResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, OpAddPublishListMembersData, OpAddPublishListMembersErrors, OpAddPublishListMembersResponses, OpAutoMapElementsData, OpAutoMapElementsErrors, OpAutoMapElementsResponses, OpBuildFactGridData, OpBuildFactGridErrors, OpBuildFactGridResponses, OpClosePeriodData, OpClosePeriodErrors, OpClosePeriodResponses, OpCreateClosingEntryData, OpCreateClosingEntryErrors, OpCreateClosingEntryResponses, OpCreateManualClosingEntryData, OpCreateManualClosingEntryErrors, OpCreateManualClosingEntryResponses, OpCreateMappingAssociationData, OpCreateMappingAssociationErrors, OpCreateMappingAssociationResponses, OpCreatePortfolioData, OpCreatePortfolioErrors, OpCreatePortfolioResponses, OpCreatePositionData, OpCreatePositionErrors, OpCreatePositionResponses, OpCreatePublishListData, OpCreatePublishListErrors, OpCreatePublishListResponses, OpCreateReportData, OpCreateReportErrors, OpCreateReportResponses, OpCreateScheduleData, OpCreateScheduleErrors, OpCreateScheduleResponses, OpCreateSecurityData, OpCreateSecurityErrors, OpCreateSecurityResponses, OpCreateStructureData, OpCreateStructureErrors, OpCreateStructureResponses, OpCreateTaxonomyData, OpCreateTaxonomyErrors, OpCreateTaxonomyResponses, OpDeleteMappingAssociationData, OpDeleteMappingAssociationErrors, OpDeleteMappingAssociationResponses, OpDeletePortfolioData, OpDeletePortfolioErrors, OpDeletePortfolioResponses, OpDeletePositionData, OpDeletePositionErrors, OpDeletePositionResponses, OpDeletePublishListData, OpDeletePublishListErrors, OpDeletePublishListResponses, OpDeleteReportData, OpDeleteReportErrors, OpDeleteReportResponses, OpDeleteSecurityData, OpDeleteSecurityErrors, OpDeleteSecurityResponses, OpInitializeLedgerData, OpInitializeLedgerErrors, OpInitializeLedgerResponses, OpRegenerateReportData, OpRegenerateReportErrors, OpRegenerateReportResponses, OpRemovePublishListMemberData, OpRemovePublishListMemberErrors, OpRemovePublishListMemberResponses, OpReopenPeriodData, OpReopenPeriodErrors, OpReopenPeriodResponses, OpSetCloseTargetData, OpSetCloseTargetErrors, OpSetCloseTargetResponses, OpShareReportData, OpShareReportErrors, OpShareReportResponses, OpTruncateScheduleData, OpTruncateScheduleErrors, OpTruncateScheduleResponses, OpUpdateEntityData, OpUpdateEntityErrors, OpUpdateEntityResponses, OpUpdatePortfolioData, OpUpdatePortfolioErrors, OpUpdatePortfolioResponses, OpUpdatePositionData, OpUpdatePositionErrors, OpUpdatePositionResponses, OpUpdatePublishListData, OpUpdatePublishListErrors, OpUpdatePublishListResponses, OpUpdateSecurityData, OpUpdateSecurityErrors, OpUpdateSecurityResponses, QueryTablesData, QueryTablesErrors, QueryTablesResponses, RecommendAgentData, RecommendAgentErrors, RecommendAgentResponses, RefreshAuthSessionData, RefreshAuthSessionErrors, RefreshAuthSessionResponses, RegisterUserData, RegisterUserErrors, RegisterUserResponses, RemoveOrgMemberData, RemoveOrgMemberErrors, RemoveOrgMemberResponses, ResendVerificationEmailData, ResendVerificationEmailErrors, ResendVerificationEmailResponses, ResetPasswordData, ResetPasswordErrors, ResetPasswordResponses, RestoreBackupData, RestoreBackupErrors, RestoreBackupResponses, RevokeUserApiKeyData, RevokeUserApiKeyErrors, RevokeUserApiKeyResponses, SearchDocumentsData, SearchDocumentsErrors, SearchDocumentsResponses, SelectGraphData, SelectGraphErrors, SelectGraphResponses, SsoTokenExchangeData, SsoTokenExchangeErrors, SsoTokenExchangeResponses, StreamOperationEventsData, StreamOperationEventsErrors, StreamOperationEventsResponses, SyncConnectionData, SyncConnectionErrors, SyncConnectionResponses, UpdateDocumentData, UpdateDocumentErrors, UpdateDocumentResponses, UpdateFileData, UpdateFileErrors, UpdateFileResponses, UpdateOrgData, UpdateOrgErrors, UpdateOrgMemberRoleData, UpdateOrgMemberRoleErrors, UpdateOrgMemberRoleResponses, UpdateOrgResponses, UpdateUserApiKeyData, UpdateUserApiKeyErrors, UpdateUserApiKeyResponses, UpdateUserData, UpdateUserErrors, UpdateUserPasswordData, UpdateUserPasswordErrors, UpdateUserPasswordResponses, UpdateUserResponses, UploadDocumentData, UploadDocumentErrors, UploadDocumentResponses, UploadDocumentsBulkData, UploadDocumentsBulkErrors, UploadDocumentsBulkResponses, ValidateResetTokenData, ValidateResetTokenErrors, ValidateResetTokenResponses, ValidateSchemaData, ValidateSchemaErrors, ValidateSchemaResponses, VerifyEmailData, VerifyEmailErrors, VerifyEmailResponses } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
8
8
|
/**
|
|
@@ -1873,25 +1873,6 @@ export const queryTables = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1873
1873
|
}
|
|
1874
1874
|
});
|
|
1875
1875
|
|
|
1876
|
-
/**
|
|
1877
|
-
* Create View
|
|
1878
|
-
*
|
|
1879
|
-
* Build a fact grid from existing facts in the graph.
|
|
1880
|
-
*
|
|
1881
|
-
* Queries Fact nodes by element qnames or canonical concepts, with optional
|
|
1882
|
-
* filters for periods, entities, filing form, fiscal context, and period type.
|
|
1883
|
-
* Returns deduplicated consolidated facts as a pivot table.
|
|
1884
|
-
*/
|
|
1885
|
-
export const createView = <ThrowOnError extends boolean = false>(options: Options<CreateViewData, ThrowOnError>) => (options.client ?? client).post<CreateViewResponses, CreateViewErrors, ThrowOnError>({
|
|
1886
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1887
|
-
url: '/v1/graphs/{graph_id}/views',
|
|
1888
|
-
...options,
|
|
1889
|
-
headers: {
|
|
1890
|
-
'Content-Type': 'application/json',
|
|
1891
|
-
...options.headers
|
|
1892
|
-
}
|
|
1893
|
-
});
|
|
1894
|
-
|
|
1895
1876
|
/**
|
|
1896
1877
|
* Search Documents
|
|
1897
1878
|
*
|
|
@@ -2888,13 +2869,20 @@ export const getCheckoutStatus = <ThrowOnError extends boolean = false>(options:
|
|
|
2888
2869
|
});
|
|
2889
2870
|
|
|
2890
2871
|
/**
|
|
2891
|
-
* Get
|
|
2892
|
-
|
|
2893
|
-
|
|
2872
|
+
* Handle Http Get
|
|
2873
|
+
*/
|
|
2874
|
+
export const handleHttpGetExtensionsGraphIdGraphqlGet = <ThrowOnError extends boolean = false>(options: Options<HandleHttpGetExtensionsGraphIdGraphqlGetData, ThrowOnError>) => (options.client ?? client).get<HandleHttpGetExtensionsGraphIdGraphqlGetResponses, HandleHttpGetExtensionsGraphIdGraphqlGetErrors, ThrowOnError>({
|
|
2875
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2876
|
+
url: '/extensions/{graph_id}/graphql',
|
|
2877
|
+
...options
|
|
2878
|
+
});
|
|
2879
|
+
|
|
2880
|
+
/**
|
|
2881
|
+
* Handle Http Post
|
|
2894
2882
|
*/
|
|
2895
|
-
export const
|
|
2883
|
+
export const handleHttpPostExtensionsGraphIdGraphqlPost = <ThrowOnError extends boolean = false>(options: Options<HandleHttpPostExtensionsGraphIdGraphqlPostData, ThrowOnError>) => (options.client ?? client).post<HandleHttpPostExtensionsGraphIdGraphqlPostResponses, HandleHttpPostExtensionsGraphIdGraphqlPostErrors, ThrowOnError>({
|
|
2896
2884
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2897
|
-
url: '/
|
|
2885
|
+
url: '/extensions/{graph_id}/graphql',
|
|
2898
2886
|
...options
|
|
2899
2887
|
});
|
|
2900
2888
|
|
|
@@ -2903,9 +2891,9 @@ export const getLedgerEntity = <ThrowOnError extends boolean = false>(options: O
|
|
|
2903
2891
|
*
|
|
2904
2892
|
* Update entity details. Only provided (non-null) fields are updated.
|
|
2905
2893
|
*/
|
|
2906
|
-
export const
|
|
2894
|
+
export const opUpdateEntity = <ThrowOnError extends boolean = false>(options: Options<OpUpdateEntityData, ThrowOnError>) => (options.client ?? client).post<OpUpdateEntityResponses, OpUpdateEntityErrors, ThrowOnError>({
|
|
2907
2895
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2908
|
-
url: '/
|
|
2896
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-entity',
|
|
2909
2897
|
...options,
|
|
2910
2898
|
headers: {
|
|
2911
2899
|
'Content-Type': 'application/json',
|
|
@@ -2914,49 +2902,43 @@ export const updateLedgerEntity = <ThrowOnError extends boolean = false>(options
|
|
|
2914
2902
|
});
|
|
2915
2903
|
|
|
2916
2904
|
/**
|
|
2917
|
-
*
|
|
2905
|
+
* Initialize Ledger
|
|
2918
2906
|
*
|
|
2919
|
-
*
|
|
2907
|
+
* One-time ledger initialization — create fiscal calendar + seed periods.
|
|
2920
2908
|
*/
|
|
2921
|
-
export const
|
|
2909
|
+
export const opInitializeLedger = <ThrowOnError extends boolean = false>(options: Options<OpInitializeLedgerData, ThrowOnError>) => (options.client ?? client).post<OpInitializeLedgerResponses, OpInitializeLedgerErrors, ThrowOnError>({
|
|
2922
2910
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2923
|
-
url: '/
|
|
2924
|
-
...options
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
*/
|
|
2930
|
-
export const listLedgerAccounts = <ThrowOnError extends boolean = false>(options: Options<ListLedgerAccountsData, ThrowOnError>) => (options.client ?? client).get<ListLedgerAccountsResponses, ListLedgerAccountsErrors, ThrowOnError>({
|
|
2931
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2932
|
-
url: '/v1/ledger/{graph_id}/accounts',
|
|
2933
|
-
...options
|
|
2934
|
-
});
|
|
2935
|
-
|
|
2936
|
-
/**
|
|
2937
|
-
* Account Tree
|
|
2938
|
-
*/
|
|
2939
|
-
export const getLedgerAccountTree = <ThrowOnError extends boolean = false>(options: Options<GetLedgerAccountTreeData, ThrowOnError>) => (options.client ?? client).get<GetLedgerAccountTreeResponses, GetLedgerAccountTreeErrors, ThrowOnError>({
|
|
2940
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2941
|
-
url: '/v1/ledger/{graph_id}/accounts/tree',
|
|
2942
|
-
...options
|
|
2911
|
+
url: '/extensions/roboledger/{graph_id}/operations/initialize',
|
|
2912
|
+
...options,
|
|
2913
|
+
headers: {
|
|
2914
|
+
'Content-Type': 'application/json',
|
|
2915
|
+
...options.headers
|
|
2916
|
+
}
|
|
2943
2917
|
});
|
|
2944
2918
|
|
|
2945
2919
|
/**
|
|
2946
|
-
*
|
|
2920
|
+
* Set Close Target
|
|
2921
|
+
*
|
|
2922
|
+
* Set the user-controlled close target (YYYY-MM).
|
|
2947
2923
|
*/
|
|
2948
|
-
export const
|
|
2924
|
+
export const opSetCloseTarget = <ThrowOnError extends boolean = false>(options: Options<OpSetCloseTargetData, ThrowOnError>) => (options.client ?? client).post<OpSetCloseTargetResponses, OpSetCloseTargetErrors, ThrowOnError>({
|
|
2949
2925
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2950
|
-
url: '/
|
|
2951
|
-
...options
|
|
2926
|
+
url: '/extensions/roboledger/{graph_id}/operations/set-close-target',
|
|
2927
|
+
...options,
|
|
2928
|
+
headers: {
|
|
2929
|
+
'Content-Type': 'application/json',
|
|
2930
|
+
...options.headers
|
|
2931
|
+
}
|
|
2952
2932
|
});
|
|
2953
2933
|
|
|
2954
2934
|
/**
|
|
2955
|
-
*
|
|
2935
|
+
* Close Fiscal Period
|
|
2936
|
+
*
|
|
2937
|
+
* Close a fiscal period — the final commit action.
|
|
2956
2938
|
*/
|
|
2957
|
-
export const
|
|
2939
|
+
export const opClosePeriod = <ThrowOnError extends boolean = false>(options: Options<OpClosePeriodData, ThrowOnError>) => (options.client ?? client).post<OpClosePeriodResponses, OpClosePeriodErrors, ThrowOnError>({
|
|
2958
2940
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2959
|
-
url: '/
|
|
2941
|
+
url: '/extensions/roboledger/{graph_id}/operations/close-period',
|
|
2960
2942
|
...options,
|
|
2961
2943
|
headers: {
|
|
2962
2944
|
'Content-Type': 'application/json',
|
|
@@ -2965,51 +2947,73 @@ export const createTaxonomy = <ThrowOnError extends boolean = false>(options: Op
|
|
|
2965
2947
|
});
|
|
2966
2948
|
|
|
2967
2949
|
/**
|
|
2968
|
-
*
|
|
2950
|
+
* Reopen Fiscal Period
|
|
2969
2951
|
*
|
|
2970
|
-
*
|
|
2952
|
+
* Reopen a closed fiscal period — decrements `closed_through`.
|
|
2971
2953
|
*/
|
|
2972
|
-
export const
|
|
2954
|
+
export const opReopenPeriod = <ThrowOnError extends boolean = false>(options: Options<OpReopenPeriodData, ThrowOnError>) => (options.client ?? client).post<OpReopenPeriodResponses, OpReopenPeriodErrors, ThrowOnError>({
|
|
2973
2955
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2974
|
-
url: '/
|
|
2975
|
-
...options
|
|
2956
|
+
url: '/extensions/roboledger/{graph_id}/operations/reopen-period',
|
|
2957
|
+
...options,
|
|
2958
|
+
headers: {
|
|
2959
|
+
'Content-Type': 'application/json',
|
|
2960
|
+
...options.headers
|
|
2961
|
+
}
|
|
2976
2962
|
});
|
|
2977
2963
|
|
|
2978
2964
|
/**
|
|
2979
|
-
*
|
|
2965
|
+
* Create Schedule
|
|
2966
|
+
*
|
|
2967
|
+
* Create a schedule with pre-generated monthly facts.
|
|
2980
2968
|
*/
|
|
2981
|
-
export const
|
|
2969
|
+
export const opCreateSchedule = <ThrowOnError extends boolean = false>(options: Options<OpCreateScheduleData, ThrowOnError>) => (options.client ?? client).post<OpCreateScheduleResponses, OpCreateScheduleErrors, ThrowOnError>({
|
|
2982
2970
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2983
|
-
url: '/
|
|
2984
|
-
...options
|
|
2971
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-schedule',
|
|
2972
|
+
...options,
|
|
2973
|
+
headers: {
|
|
2974
|
+
'Content-Type': 'application/json',
|
|
2975
|
+
...options.headers
|
|
2976
|
+
}
|
|
2985
2977
|
});
|
|
2986
2978
|
|
|
2987
2979
|
/**
|
|
2988
|
-
*
|
|
2980
|
+
* Truncate Schedule (End Early)
|
|
2989
2981
|
*
|
|
2990
|
-
*
|
|
2982
|
+
* End a schedule early — delete forward facts + stale drafts.
|
|
2991
2983
|
*/
|
|
2992
|
-
export const
|
|
2984
|
+
export const opTruncateSchedule = <ThrowOnError extends boolean = false>(options: Options<OpTruncateScheduleData, ThrowOnError>) => (options.client ?? client).post<OpTruncateScheduleResponses, OpTruncateScheduleErrors, ThrowOnError>({
|
|
2993
2985
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2994
|
-
url: '/
|
|
2995
|
-
...options
|
|
2986
|
+
url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule',
|
|
2987
|
+
...options,
|
|
2988
|
+
headers: {
|
|
2989
|
+
'Content-Type': 'application/json',
|
|
2990
|
+
...options.headers
|
|
2991
|
+
}
|
|
2996
2992
|
});
|
|
2997
2993
|
|
|
2998
2994
|
/**
|
|
2999
|
-
*
|
|
2995
|
+
* Create Closing Entry
|
|
2996
|
+
*
|
|
2997
|
+
* Create a draft closing entry from a schedule's facts for a period.
|
|
3000
2998
|
*/
|
|
3001
|
-
export const
|
|
2999
|
+
export const opCreateClosingEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateClosingEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateClosingEntryResponses, OpCreateClosingEntryErrors, ThrowOnError>({
|
|
3002
3000
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3003
|
-
url: '/
|
|
3004
|
-
...options
|
|
3001
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry',
|
|
3002
|
+
...options,
|
|
3003
|
+
headers: {
|
|
3004
|
+
'Content-Type': 'application/json',
|
|
3005
|
+
...options.headers
|
|
3006
|
+
}
|
|
3005
3007
|
});
|
|
3006
3008
|
|
|
3007
3009
|
/**
|
|
3008
|
-
* Create
|
|
3010
|
+
* Create Manual Closing Entry
|
|
3011
|
+
*
|
|
3012
|
+
* Create a manual (non-schedule) draft closing entry.
|
|
3009
3013
|
*/
|
|
3010
|
-
export const
|
|
3014
|
+
export const opCreateManualClosingEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateManualClosingEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateManualClosingEntryResponses, OpCreateManualClosingEntryErrors, ThrowOnError>({
|
|
3011
3015
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3012
|
-
url: '/
|
|
3016
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry',
|
|
3013
3017
|
...options,
|
|
3014
3018
|
headers: {
|
|
3015
3019
|
'Content-Type': 'application/json',
|
|
@@ -3018,25 +3022,33 @@ export const createStructure = <ThrowOnError extends boolean = false>(options: O
|
|
|
3018
3022
|
});
|
|
3019
3023
|
|
|
3020
3024
|
/**
|
|
3021
|
-
*
|
|
3025
|
+
* Create Taxonomy
|
|
3022
3026
|
*
|
|
3023
|
-
*
|
|
3027
|
+
* Create a new taxonomy definition.
|
|
3024
3028
|
*/
|
|
3025
|
-
export const
|
|
3029
|
+
export const opCreateTaxonomy = <ThrowOnError extends boolean = false>(options: Options<OpCreateTaxonomyData, ThrowOnError>) => (options.client ?? client).post<OpCreateTaxonomyResponses, OpCreateTaxonomyErrors, ThrowOnError>({
|
|
3026
3030
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3027
|
-
url: '/
|
|
3028
|
-
...options
|
|
3031
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy',
|
|
3032
|
+
...options,
|
|
3033
|
+
headers: {
|
|
3034
|
+
'Content-Type': 'application/json',
|
|
3035
|
+
...options.headers
|
|
3036
|
+
}
|
|
3029
3037
|
});
|
|
3030
3038
|
|
|
3031
3039
|
/**
|
|
3032
|
-
*
|
|
3040
|
+
* Create Structure
|
|
3033
3041
|
*
|
|
3034
|
-
*
|
|
3042
|
+
* Create a new structure (statement, mapping, schedule, etc.).
|
|
3035
3043
|
*/
|
|
3036
|
-
export const
|
|
3044
|
+
export const opCreateStructure = <ThrowOnError extends boolean = false>(options: Options<OpCreateStructureData, ThrowOnError>) => (options.client ?? client).post<OpCreateStructureResponses, OpCreateStructureErrors, ThrowOnError>({
|
|
3037
3045
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3038
|
-
url: '/
|
|
3039
|
-
...options
|
|
3046
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-structure',
|
|
3047
|
+
...options,
|
|
3048
|
+
headers: {
|
|
3049
|
+
'Content-Type': 'application/json',
|
|
3050
|
+
...options.headers
|
|
3051
|
+
}
|
|
3040
3052
|
});
|
|
3041
3053
|
|
|
3042
3054
|
/**
|
|
@@ -3044,9 +3056,9 @@ export const getMappingDetail = <ThrowOnError extends boolean = false>(options:
|
|
|
3044
3056
|
*
|
|
3045
3057
|
* Add a mapping association (CoA element → reporting concept).
|
|
3046
3058
|
*/
|
|
3047
|
-
export const
|
|
3059
|
+
export const opCreateMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<OpCreateMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<OpCreateMappingAssociationResponses, OpCreateMappingAssociationErrors, ThrowOnError>({
|
|
3048
3060
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3049
|
-
url: '/
|
|
3061
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association',
|
|
3050
3062
|
...options,
|
|
3051
3063
|
headers: {
|
|
3052
3064
|
'Content-Type': 'application/json',
|
|
@@ -3059,109 +3071,50 @@ export const createMappingAssociation = <ThrowOnError extends boolean = false>(o
|
|
|
3059
3071
|
*
|
|
3060
3072
|
* Remove a mapping association.
|
|
3061
3073
|
*/
|
|
3062
|
-
export const
|
|
3063
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3064
|
-
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations/{association_id}',
|
|
3065
|
-
...options
|
|
3066
|
-
});
|
|
3067
|
-
|
|
3068
|
-
/**
|
|
3069
|
-
* Mapping Coverage
|
|
3070
|
-
*
|
|
3071
|
-
* Get mapping coverage stats.
|
|
3072
|
-
*/
|
|
3073
|
-
export const getMappingCoverage = <ThrowOnError extends boolean = false>(options: Options<GetMappingCoverageData, ThrowOnError>) => (options.client ?? client).get<GetMappingCoverageResponses, GetMappingCoverageErrors, ThrowOnError>({
|
|
3074
|
+
export const opDeleteMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<OpDeleteMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<OpDeleteMappingAssociationResponses, OpDeleteMappingAssociationErrors, ThrowOnError>({
|
|
3074
3075
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3075
|
-
url: '/
|
|
3076
|
-
...options
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
*
|
|
3082
|
-
* Trial balance rolled up to reporting concepts via mapping associations.
|
|
3083
|
-
*/
|
|
3084
|
-
export const getMappedTrialBalance = <ThrowOnError extends boolean = false>(options: Options<GetMappedTrialBalanceData, ThrowOnError>) => (options.client ?? client).get<GetMappedTrialBalanceResponses, GetMappedTrialBalanceErrors, ThrowOnError>({
|
|
3085
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3086
|
-
url: '/v1/ledger/{graph_id}/trial-balance/mapped',
|
|
3087
|
-
...options
|
|
3076
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association',
|
|
3077
|
+
...options,
|
|
3078
|
+
headers: {
|
|
3079
|
+
'Content-Type': 'application/json',
|
|
3080
|
+
...options.headers
|
|
3081
|
+
}
|
|
3088
3082
|
});
|
|
3089
3083
|
|
|
3090
3084
|
/**
|
|
3091
|
-
* Auto-Map Elements via AI
|
|
3085
|
+
* Auto-Map Elements via AI (async)
|
|
3092
3086
|
*
|
|
3093
|
-
* Trigger autonomous CoA → GAAP mapping via background worker.
|
|
3087
|
+
* Trigger autonomous CoA → US GAAP mapping via background worker.
|
|
3094
3088
|
*
|
|
3095
|
-
*
|
|
3096
|
-
*
|
|
3097
|
-
*
|
|
3089
|
+
* This is the only async/Dagster-dispatched ledger operation. Instead
|
|
3090
|
+
* of running synchronously, it enqueues a `MappingAgent` task and
|
|
3091
|
+
* returns a `pending` envelope with the worker-issued operation_id —
|
|
3092
|
+
* callers subscribe via `/v1/operations/{operation_id}/stream` for SSE
|
|
3093
|
+
* progress events.
|
|
3098
3094
|
*
|
|
3099
|
-
* Confidence thresholds:
|
|
3095
|
+
* Confidence thresholds (in the agent):
|
|
3100
3096
|
* - ≥0.90: auto-approved mapping
|
|
3101
3097
|
* - 0.70-0.89: flagged for review
|
|
3102
3098
|
* - <0.70: skipped (left unmapped)
|
|
3103
3099
|
*/
|
|
3104
|
-
export const
|
|
3105
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3106
|
-
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/auto-map',
|
|
3107
|
-
...options
|
|
3108
|
-
});
|
|
3109
|
-
|
|
3110
|
-
/**
|
|
3111
|
-
* List Transactions
|
|
3112
|
-
*/
|
|
3113
|
-
export const listLedgerTransactions = <ThrowOnError extends boolean = false>(options: Options<ListLedgerTransactionsData, ThrowOnError>) => (options.client ?? client).get<ListLedgerTransactionsResponses, ListLedgerTransactionsErrors, ThrowOnError>({
|
|
3100
|
+
export const opAutoMapElements = <ThrowOnError extends boolean = false>(options: Options<OpAutoMapElementsData, ThrowOnError>) => (options.client ?? client).post<OpAutoMapElementsResponses, OpAutoMapElementsErrors, ThrowOnError>({
|
|
3114
3101
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3115
|
-
url: '/
|
|
3116
|
-
...options
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
*/
|
|
3122
|
-
export const getLedgerTransaction = <ThrowOnError extends boolean = false>(options: Options<GetLedgerTransactionData, ThrowOnError>) => (options.client ?? client).get<GetLedgerTransactionResponses, GetLedgerTransactionErrors, ThrowOnError>({
|
|
3123
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3124
|
-
url: '/v1/ledger/{graph_id}/transactions/{transaction_id}',
|
|
3125
|
-
...options
|
|
3126
|
-
});
|
|
3127
|
-
|
|
3128
|
-
/**
|
|
3129
|
-
* Trial Balance
|
|
3130
|
-
*/
|
|
3131
|
-
export const getLedgerTrialBalance = <ThrowOnError extends boolean = false>(options: Options<GetLedgerTrialBalanceData, ThrowOnError>) => (options.client ?? client).get<GetLedgerTrialBalanceResponses, GetLedgerTrialBalanceErrors, ThrowOnError>({
|
|
3132
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3133
|
-
url: '/v1/ledger/{graph_id}/trial-balance',
|
|
3134
|
-
...options
|
|
3135
|
-
});
|
|
3136
|
-
|
|
3137
|
-
/**
|
|
3138
|
-
* Ledger Summary
|
|
3139
|
-
*/
|
|
3140
|
-
export const getLedgerSummary = <ThrowOnError extends boolean = false>(options: Options<GetLedgerSummaryData, ThrowOnError>) => (options.client ?? client).get<GetLedgerSummaryResponses, GetLedgerSummaryErrors, ThrowOnError>({
|
|
3141
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3142
|
-
url: '/v1/ledger/{graph_id}/summary',
|
|
3143
|
-
...options
|
|
3144
|
-
});
|
|
3145
|
-
|
|
3146
|
-
/**
|
|
3147
|
-
* List Reports
|
|
3148
|
-
*
|
|
3149
|
-
* List all report definitions for this graph.
|
|
3150
|
-
*/
|
|
3151
|
-
export const listReports = <ThrowOnError extends boolean = false>(options: Options<ListReportsData, ThrowOnError>) => (options.client ?? client).get<ListReportsResponses, ListReportsErrors, ThrowOnError>({
|
|
3152
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3153
|
-
url: '/v1/ledger/{graph_id}/reports',
|
|
3154
|
-
...options
|
|
3102
|
+
url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements',
|
|
3103
|
+
...options,
|
|
3104
|
+
headers: {
|
|
3105
|
+
'Content-Type': 'application/json',
|
|
3106
|
+
...options.headers
|
|
3107
|
+
}
|
|
3155
3108
|
});
|
|
3156
3109
|
|
|
3157
3110
|
/**
|
|
3158
3111
|
* Create Report
|
|
3159
3112
|
*
|
|
3160
|
-
* Create a report definition, generate facts
|
|
3113
|
+
* Create a report definition, generate facts, and mark as published.
|
|
3161
3114
|
*/
|
|
3162
|
-
export const
|
|
3115
|
+
export const opCreateReport = <ThrowOnError extends boolean = false>(options: Options<OpCreateReportData, ThrowOnError>) => (options.client ?? client).post<OpCreateReportResponses, OpCreateReportErrors, ThrowOnError>({
|
|
3163
3116
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3164
|
-
url: '/
|
|
3117
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-report',
|
|
3165
3118
|
...options,
|
|
3166
3119
|
headers: {
|
|
3167
3120
|
'Content-Type': 'application/json',
|
|
@@ -3169,52 +3122,14 @@ export const createReport = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
3169
3122
|
}
|
|
3170
3123
|
});
|
|
3171
3124
|
|
|
3172
|
-
/**
|
|
3173
|
-
* Delete Report
|
|
3174
|
-
*
|
|
3175
|
-
* Delete a report definition and its generated facts.
|
|
3176
|
-
*/
|
|
3177
|
-
export const deleteReport = <ThrowOnError extends boolean = false>(options: Options<DeleteReportData, ThrowOnError>) => (options.client ?? client).delete<DeleteReportResponses, DeleteReportErrors, ThrowOnError>({
|
|
3178
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3179
|
-
url: '/v1/ledger/{graph_id}/reports/{report_id}',
|
|
3180
|
-
...options
|
|
3181
|
-
});
|
|
3182
|
-
|
|
3183
|
-
/**
|
|
3184
|
-
* Get Report
|
|
3185
|
-
*
|
|
3186
|
-
* Get a report definition with its available structures.
|
|
3187
|
-
*/
|
|
3188
|
-
export const getReport = <ThrowOnError extends boolean = false>(options: Options<GetReportData, ThrowOnError>) => (options.client ?? client).get<GetReportResponses, GetReportErrors, ThrowOnError>({
|
|
3189
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3190
|
-
url: '/v1/ledger/{graph_id}/reports/{report_id}',
|
|
3191
|
-
...options
|
|
3192
|
-
});
|
|
3193
|
-
|
|
3194
|
-
/**
|
|
3195
|
-
* Get Statement
|
|
3196
|
-
*
|
|
3197
|
-
* Render a financial statement — facts viewed through a structure's hierarchy.
|
|
3198
|
-
*
|
|
3199
|
-
* Same report, different structure_type = different view (IS, BS, CF).
|
|
3200
|
-
*/
|
|
3201
|
-
export const getStatement = <ThrowOnError extends boolean = false>(options: Options<GetStatementData, ThrowOnError>) => (options.client ?? client).get<GetStatementResponses, GetStatementErrors, ThrowOnError>({
|
|
3202
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3203
|
-
url: '/v1/ledger/{graph_id}/reports/{report_id}/statements/{structure_type}',
|
|
3204
|
-
...options
|
|
3205
|
-
});
|
|
3206
|
-
|
|
3207
3125
|
/**
|
|
3208
3126
|
* Regenerate Report
|
|
3209
3127
|
*
|
|
3210
3128
|
* Regenerate a report with new period dates.
|
|
3211
|
-
*
|
|
3212
|
-
* Same report configuration (taxonomy, mapping, settings), new dates.
|
|
3213
|
-
* Re-generates facts for all elements.
|
|
3214
3129
|
*/
|
|
3215
|
-
export const
|
|
3130
|
+
export const opRegenerateReport = <ThrowOnError extends boolean = false>(options: Options<OpRegenerateReportData, ThrowOnError>) => (options.client ?? client).post<OpRegenerateReportResponses, OpRegenerateReportErrors, ThrowOnError>({
|
|
3216
3131
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3217
|
-
url: '/
|
|
3132
|
+
url: '/extensions/roboledger/{graph_id}/operations/regenerate-report',
|
|
3218
3133
|
...options,
|
|
3219
3134
|
headers: {
|
|
3220
3135
|
'Content-Type': 'application/json',
|
|
@@ -3223,18 +3138,13 @@ export const regenerateReport = <ThrowOnError extends boolean = false>(options:
|
|
|
3223
3138
|
});
|
|
3224
3139
|
|
|
3225
3140
|
/**
|
|
3226
|
-
*
|
|
3227
|
-
*
|
|
3228
|
-
* Share a published report to other graphs.
|
|
3141
|
+
* Delete Report
|
|
3229
3142
|
*
|
|
3230
|
-
*
|
|
3231
|
-
* tenant schema. The target graph must have 'roboledger' in its schema_extensions.
|
|
3232
|
-
* This is a snapshot — the target gets an immutable copy of the facts at this
|
|
3233
|
-
* point in time.
|
|
3143
|
+
* Delete a report definition and its facts.
|
|
3234
3144
|
*/
|
|
3235
|
-
export const
|
|
3145
|
+
export const opDeleteReport = <ThrowOnError extends boolean = false>(options: Options<OpDeleteReportData, ThrowOnError>) => (options.client ?? client).post<OpDeleteReportResponses, OpDeleteReportErrors, ThrowOnError>({
|
|
3236
3146
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3237
|
-
url: '/
|
|
3147
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-report',
|
|
3238
3148
|
...options,
|
|
3239
3149
|
headers: {
|
|
3240
3150
|
'Content-Type': 'application/json',
|
|
@@ -3243,24 +3153,13 @@ export const shareReport = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
3243
3153
|
});
|
|
3244
3154
|
|
|
3245
3155
|
/**
|
|
3246
|
-
*
|
|
3247
|
-
*
|
|
3248
|
-
* List all active schedules for this graph.
|
|
3249
|
-
*/
|
|
3250
|
-
export const listSchedules = <ThrowOnError extends boolean = false>(options: Options<ListSchedulesData, ThrowOnError>) => (options.client ?? client).get<ListSchedulesResponses, ListSchedulesErrors, ThrowOnError>({
|
|
3251
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3252
|
-
url: '/v1/ledger/{graph_id}/schedules',
|
|
3253
|
-
...options
|
|
3254
|
-
});
|
|
3255
|
-
|
|
3256
|
-
/**
|
|
3257
|
-
* Create Schedule
|
|
3156
|
+
* Share Report
|
|
3258
3157
|
*
|
|
3259
|
-
*
|
|
3158
|
+
* Share a published report to a publish list's members.
|
|
3260
3159
|
*/
|
|
3261
|
-
export const
|
|
3160
|
+
export const opShareReport = <ThrowOnError extends boolean = false>(options: Options<OpShareReportData, ThrowOnError>) => (options.client ?? client).post<OpShareReportResponses, OpShareReportErrors, ThrowOnError>({
|
|
3262
3161
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3263
|
-
url: '/
|
|
3162
|
+
url: '/extensions/roboledger/{graph_id}/operations/share-report',
|
|
3264
3163
|
...options,
|
|
3265
3164
|
headers: {
|
|
3266
3165
|
'Content-Type': 'application/json',
|
|
@@ -3269,35 +3168,13 @@ export const createSchedule = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3269
3168
|
});
|
|
3270
3169
|
|
|
3271
3170
|
/**
|
|
3272
|
-
*
|
|
3273
|
-
*
|
|
3274
|
-
* Get facts for a schedule, optionally filtered by period.
|
|
3275
|
-
*/
|
|
3276
|
-
export const getScheduleFacts = <ThrowOnError extends boolean = false>(options: Options<GetScheduleFactsData, ThrowOnError>) => (options.client ?? client).get<GetScheduleFactsResponses, GetScheduleFactsErrors, ThrowOnError>({
|
|
3277
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3278
|
-
url: '/v1/ledger/{graph_id}/schedules/{structure_id}/facts',
|
|
3279
|
-
...options
|
|
3280
|
-
});
|
|
3281
|
-
|
|
3282
|
-
/**
|
|
3283
|
-
* Get Period Close Status
|
|
3284
|
-
*
|
|
3285
|
-
* Get close status for all schedules in a fiscal period.
|
|
3286
|
-
*/
|
|
3287
|
-
export const getPeriodCloseStatus = <ThrowOnError extends boolean = false>(options: Options<GetPeriodCloseStatusData, ThrowOnError>) => (options.client ?? client).get<GetPeriodCloseStatusResponses, GetPeriodCloseStatusErrors, ThrowOnError>({
|
|
3288
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3289
|
-
url: '/v1/ledger/{graph_id}/schedules/close-status',
|
|
3290
|
-
...options
|
|
3291
|
-
});
|
|
3292
|
-
|
|
3293
|
-
/**
|
|
3294
|
-
* Create Closing Entry
|
|
3171
|
+
* Create Publish List
|
|
3295
3172
|
*
|
|
3296
|
-
* Create a
|
|
3173
|
+
* Create a new publish list.
|
|
3297
3174
|
*/
|
|
3298
|
-
export const
|
|
3175
|
+
export const opCreatePublishList = <ThrowOnError extends boolean = false>(options: Options<OpCreatePublishListData, ThrowOnError>) => (options.client ?? client).post<OpCreatePublishListResponses, OpCreatePublishListErrors, ThrowOnError>({
|
|
3299
3176
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3300
|
-
url: '/
|
|
3177
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-publish-list',
|
|
3301
3178
|
...options,
|
|
3302
3179
|
headers: {
|
|
3303
3180
|
'Content-Type': 'application/json',
|
|
@@ -3306,20 +3183,13 @@ export const createClosingEntry = <ThrowOnError extends boolean = false>(options
|
|
|
3306
3183
|
});
|
|
3307
3184
|
|
|
3308
3185
|
/**
|
|
3309
|
-
*
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3313
|
-
url: '/v1/ledger/{graph_id}/publish-lists',
|
|
3314
|
-
...options
|
|
3315
|
-
});
|
|
3316
|
-
|
|
3317
|
-
/**
|
|
3318
|
-
* Create Publish List
|
|
3186
|
+
* Update Publish List
|
|
3187
|
+
*
|
|
3188
|
+
* Update a publish list's name / description.
|
|
3319
3189
|
*/
|
|
3320
|
-
export const
|
|
3190
|
+
export const opUpdatePublishList = <ThrowOnError extends boolean = false>(options: Options<OpUpdatePublishListData, ThrowOnError>) => (options.client ?? client).post<OpUpdatePublishListResponses, OpUpdatePublishListErrors, ThrowOnError>({
|
|
3321
3191
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3322
|
-
url: '/
|
|
3192
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-publish-list',
|
|
3323
3193
|
...options,
|
|
3324
3194
|
headers: {
|
|
3325
3195
|
'Content-Type': 'application/json',
|
|
@@ -3329,28 +3199,12 @@ export const createPublishList = <ThrowOnError extends boolean = false>(options:
|
|
|
3329
3199
|
|
|
3330
3200
|
/**
|
|
3331
3201
|
* Delete Publish List
|
|
3202
|
+
*
|
|
3203
|
+
* Delete a publish list.
|
|
3332
3204
|
*/
|
|
3333
|
-
export const
|
|
3334
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3335
|
-
url: '/v1/ledger/{graph_id}/publish-lists/{list_id}',
|
|
3336
|
-
...options
|
|
3337
|
-
});
|
|
3338
|
-
|
|
3339
|
-
/**
|
|
3340
|
-
* Get Publish List
|
|
3341
|
-
*/
|
|
3342
|
-
export const getPublishList = <ThrowOnError extends boolean = false>(options: Options<GetPublishListData, ThrowOnError>) => (options.client ?? client).get<GetPublishListResponses, GetPublishListErrors, ThrowOnError>({
|
|
3343
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3344
|
-
url: '/v1/ledger/{graph_id}/publish-lists/{list_id}',
|
|
3345
|
-
...options
|
|
3346
|
-
});
|
|
3347
|
-
|
|
3348
|
-
/**
|
|
3349
|
-
* Update Publish List
|
|
3350
|
-
*/
|
|
3351
|
-
export const updatePublishList = <ThrowOnError extends boolean = false>(options: Options<UpdatePublishListData, ThrowOnError>) => (options.client ?? client).patch<UpdatePublishListResponses, UpdatePublishListErrors, ThrowOnError>({
|
|
3205
|
+
export const opDeletePublishList = <ThrowOnError extends boolean = false>(options: Options<OpDeletePublishListData, ThrowOnError>) => (options.client ?? client).post<OpDeletePublishListResponses, OpDeletePublishListErrors, ThrowOnError>({
|
|
3352
3206
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3353
|
-
url: '/
|
|
3207
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-publish-list',
|
|
3354
3208
|
...options,
|
|
3355
3209
|
headers: {
|
|
3356
3210
|
'Content-Type': 'application/json',
|
|
@@ -3360,10 +3214,12 @@ export const updatePublishList = <ThrowOnError extends boolean = false>(options:
|
|
|
3360
3214
|
|
|
3361
3215
|
/**
|
|
3362
3216
|
* Add Members to Publish List
|
|
3217
|
+
*
|
|
3218
|
+
* Add target graphs as members of a publish list.
|
|
3363
3219
|
*/
|
|
3364
|
-
export const
|
|
3220
|
+
export const opAddPublishListMembers = <ThrowOnError extends boolean = false>(options: Options<OpAddPublishListMembersData, ThrowOnError>) => (options.client ?? client).post<OpAddPublishListMembersResponses, OpAddPublishListMembersErrors, ThrowOnError>({
|
|
3365
3221
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3366
|
-
url: '/
|
|
3222
|
+
url: '/extensions/roboledger/{graph_id}/operations/add-publish-list-members',
|
|
3367
3223
|
...options,
|
|
3368
3224
|
headers: {
|
|
3369
3225
|
'Content-Type': 'application/json',
|
|
@@ -3373,57 +3229,50 @@ export const addPublishListMembers = <ThrowOnError extends boolean = false>(opti
|
|
|
3373
3229
|
|
|
3374
3230
|
/**
|
|
3375
3231
|
* Remove Member from Publish List
|
|
3376
|
-
*/
|
|
3377
|
-
export const removePublishListMember = <ThrowOnError extends boolean = false>(options: Options<RemovePublishListMemberData, ThrowOnError>) => (options.client ?? client).delete<RemovePublishListMemberResponses, RemovePublishListMemberErrors, ThrowOnError>({
|
|
3378
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3379
|
-
url: '/v1/ledger/{graph_id}/publish-lists/{list_id}/members/{member_id}',
|
|
3380
|
-
...options
|
|
3381
|
-
});
|
|
3382
|
-
|
|
3383
|
-
/**
|
|
3384
|
-
* Account Rollups
|
|
3385
|
-
*
|
|
3386
|
-
* Account rollups — CoA accounts grouped by reporting element with balances.
|
|
3387
3232
|
*
|
|
3388
|
-
*
|
|
3389
|
-
* line items. Auto-discovers the mapping structure if mapping_id is not provided.
|
|
3233
|
+
* Remove a target graph from a publish list.
|
|
3390
3234
|
*/
|
|
3391
|
-
export const
|
|
3235
|
+
export const opRemovePublishListMember = <ThrowOnError extends boolean = false>(options: Options<OpRemovePublishListMemberData, ThrowOnError>) => (options.client ?? client).post<OpRemovePublishListMemberResponses, OpRemovePublishListMemberErrors, ThrowOnError>({
|
|
3392
3236
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3393
|
-
url: '/
|
|
3394
|
-
...options
|
|
3237
|
+
url: '/extensions/roboledger/{graph_id}/operations/remove-publish-list-member',
|
|
3238
|
+
...options,
|
|
3239
|
+
headers: {
|
|
3240
|
+
'Content-Type': 'application/json',
|
|
3241
|
+
...options.headers
|
|
3242
|
+
}
|
|
3395
3243
|
});
|
|
3396
3244
|
|
|
3397
3245
|
/**
|
|
3398
|
-
*
|
|
3246
|
+
* Build Fact Grid
|
|
3399
3247
|
*
|
|
3400
|
-
*
|
|
3248
|
+
* Build a multi-dimensional fact grid against the graph schema.
|
|
3401
3249
|
*
|
|
3402
|
-
*
|
|
3403
|
-
*
|
|
3404
|
-
*
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
/**
|
|
3413
|
-
* List Portfolios
|
|
3250
|
+
* Queries `Fact` nodes by element qnames or canonical concepts with
|
|
3251
|
+
* optional filters for periods, entities, filing form, fiscal context,
|
|
3252
|
+
* and period type. Returns a deduplicated pivot table plus optional
|
|
3253
|
+
* summary statistics.
|
|
3254
|
+
*
|
|
3255
|
+
* This is a graph-database read — the query runs against LadybugDB,
|
|
3256
|
+
* not the extensions OLTP database. The same operation works for
|
|
3257
|
+
* roboledger tenant graphs (post-materialization) and the SEC shared
|
|
3258
|
+
* repository (which uses the same XBRL hypercube schema).
|
|
3414
3259
|
*/
|
|
3415
|
-
export const
|
|
3260
|
+
export const opBuildFactGrid = <ThrowOnError extends boolean = false>(options: Options<OpBuildFactGridData, ThrowOnError>) => (options.client ?? client).post<OpBuildFactGridResponses, OpBuildFactGridErrors, ThrowOnError>({
|
|
3416
3261
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3417
|
-
url: '/
|
|
3418
|
-
...options
|
|
3262
|
+
url: '/extensions/roboledger/{graph_id}/operations/build-fact-grid',
|
|
3263
|
+
...options,
|
|
3264
|
+
headers: {
|
|
3265
|
+
'Content-Type': 'application/json',
|
|
3266
|
+
...options.headers
|
|
3267
|
+
}
|
|
3419
3268
|
});
|
|
3420
3269
|
|
|
3421
3270
|
/**
|
|
3422
3271
|
* Create Portfolio
|
|
3423
3272
|
*/
|
|
3424
|
-
export const
|
|
3273
|
+
export const opCreatePortfolio = <ThrowOnError extends boolean = false>(options: Options<OpCreatePortfolioData, ThrowOnError>) => (options.client ?? client).post<OpCreatePortfolioResponses, OpCreatePortfolioErrors, ThrowOnError>({
|
|
3425
3274
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3426
|
-
url: '/
|
|
3275
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio',
|
|
3427
3276
|
...options,
|
|
3428
3277
|
headers: {
|
|
3429
3278
|
'Content-Type': 'application/json',
|
|
@@ -3431,30 +3280,12 @@ export const createPortfolio = <ThrowOnError extends boolean = false>(options: O
|
|
|
3431
3280
|
}
|
|
3432
3281
|
});
|
|
3433
3282
|
|
|
3434
|
-
/**
|
|
3435
|
-
* Delete Portfolio
|
|
3436
|
-
*/
|
|
3437
|
-
export const deletePortfolio = <ThrowOnError extends boolean = false>(options: Options<DeletePortfolioData, ThrowOnError>) => (options.client ?? client).delete<DeletePortfolioResponses, DeletePortfolioErrors, ThrowOnError>({
|
|
3438
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3439
|
-
url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}',
|
|
3440
|
-
...options
|
|
3441
|
-
});
|
|
3442
|
-
|
|
3443
|
-
/**
|
|
3444
|
-
* Get Portfolio
|
|
3445
|
-
*/
|
|
3446
|
-
export const getPortfolio = <ThrowOnError extends boolean = false>(options: Options<GetPortfolioData, ThrowOnError>) => (options.client ?? client).get<GetPortfolioResponses, GetPortfolioErrors, ThrowOnError>({
|
|
3447
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3448
|
-
url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}',
|
|
3449
|
-
...options
|
|
3450
|
-
});
|
|
3451
|
-
|
|
3452
3283
|
/**
|
|
3453
3284
|
* Update Portfolio
|
|
3454
3285
|
*/
|
|
3455
|
-
export const
|
|
3286
|
+
export const opUpdatePortfolio = <ThrowOnError extends boolean = false>(options: Options<OpUpdatePortfolioData, ThrowOnError>) => (options.client ?? client).post<OpUpdatePortfolioResponses, OpUpdatePortfolioErrors, ThrowOnError>({
|
|
3456
3287
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3457
|
-
url: '/
|
|
3288
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio',
|
|
3458
3289
|
...options,
|
|
3459
3290
|
headers: {
|
|
3460
3291
|
'Content-Type': 'application/json',
|
|
@@ -3463,20 +3294,24 @@ export const updatePortfolio = <ThrowOnError extends boolean = false>(options: O
|
|
|
3463
3294
|
});
|
|
3464
3295
|
|
|
3465
3296
|
/**
|
|
3466
|
-
*
|
|
3297
|
+
* Delete Portfolio
|
|
3467
3298
|
*/
|
|
3468
|
-
export const
|
|
3299
|
+
export const opDeletePortfolio = <ThrowOnError extends boolean = false>(options: Options<OpDeletePortfolioData, ThrowOnError>) => (options.client ?? client).post<OpDeletePortfolioResponses, OpDeletePortfolioErrors, ThrowOnError>({
|
|
3469
3300
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3470
|
-
url: '/
|
|
3471
|
-
...options
|
|
3301
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio',
|
|
3302
|
+
...options,
|
|
3303
|
+
headers: {
|
|
3304
|
+
'Content-Type': 'application/json',
|
|
3305
|
+
...options.headers
|
|
3306
|
+
}
|
|
3472
3307
|
});
|
|
3473
3308
|
|
|
3474
3309
|
/**
|
|
3475
3310
|
* Create Security
|
|
3476
3311
|
*/
|
|
3477
|
-
export const
|
|
3312
|
+
export const opCreateSecurity = <ThrowOnError extends boolean = false>(options: Options<OpCreateSecurityData, ThrowOnError>) => (options.client ?? client).post<OpCreateSecurityResponses, OpCreateSecurityErrors, ThrowOnError>({
|
|
3478
3313
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3479
|
-
url: '/
|
|
3314
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-security',
|
|
3480
3315
|
...options,
|
|
3481
3316
|
headers: {
|
|
3482
3317
|
'Content-Type': 'application/json',
|
|
@@ -3484,30 +3319,12 @@ export const createSecurity = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3484
3319
|
}
|
|
3485
3320
|
});
|
|
3486
3321
|
|
|
3487
|
-
/**
|
|
3488
|
-
* Delete Security
|
|
3489
|
-
*/
|
|
3490
|
-
export const deleteSecurity = <ThrowOnError extends boolean = false>(options: Options<DeleteSecurityData, ThrowOnError>) => (options.client ?? client).delete<DeleteSecurityResponses, DeleteSecurityErrors, ThrowOnError>({
|
|
3491
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3492
|
-
url: '/v1/investor/{graph_id}/securities/{security_id}',
|
|
3493
|
-
...options
|
|
3494
|
-
});
|
|
3495
|
-
|
|
3496
|
-
/**
|
|
3497
|
-
* Get Security
|
|
3498
|
-
*/
|
|
3499
|
-
export const getSecurity = <ThrowOnError extends boolean = false>(options: Options<GetSecurityData, ThrowOnError>) => (options.client ?? client).get<GetSecurityResponses, GetSecurityErrors, ThrowOnError>({
|
|
3500
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3501
|
-
url: '/v1/investor/{graph_id}/securities/{security_id}',
|
|
3502
|
-
...options
|
|
3503
|
-
});
|
|
3504
|
-
|
|
3505
3322
|
/**
|
|
3506
3323
|
* Update Security
|
|
3507
3324
|
*/
|
|
3508
|
-
export const
|
|
3325
|
+
export const opUpdateSecurity = <ThrowOnError extends boolean = false>(options: Options<OpUpdateSecurityData, ThrowOnError>) => (options.client ?? client).post<OpUpdateSecurityResponses, OpUpdateSecurityErrors, ThrowOnError>({
|
|
3509
3326
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3510
|
-
url: '/
|
|
3327
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-security',
|
|
3511
3328
|
...options,
|
|
3512
3329
|
headers: {
|
|
3513
3330
|
'Content-Type': 'application/json',
|
|
@@ -3516,20 +3333,24 @@ export const updateSecurity = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3516
3333
|
});
|
|
3517
3334
|
|
|
3518
3335
|
/**
|
|
3519
|
-
*
|
|
3336
|
+
* Delete Security
|
|
3520
3337
|
*/
|
|
3521
|
-
export const
|
|
3338
|
+
export const opDeleteSecurity = <ThrowOnError extends boolean = false>(options: Options<OpDeleteSecurityData, ThrowOnError>) => (options.client ?? client).post<OpDeleteSecurityResponses, OpDeleteSecurityErrors, ThrowOnError>({
|
|
3522
3339
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3523
|
-
url: '/
|
|
3524
|
-
...options
|
|
3340
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-security',
|
|
3341
|
+
...options,
|
|
3342
|
+
headers: {
|
|
3343
|
+
'Content-Type': 'application/json',
|
|
3344
|
+
...options.headers
|
|
3345
|
+
}
|
|
3525
3346
|
});
|
|
3526
3347
|
|
|
3527
3348
|
/**
|
|
3528
3349
|
* Create Position
|
|
3529
3350
|
*/
|
|
3530
|
-
export const
|
|
3351
|
+
export const opCreatePosition = <ThrowOnError extends boolean = false>(options: Options<OpCreatePositionData, ThrowOnError>) => (options.client ?? client).post<OpCreatePositionResponses, OpCreatePositionErrors, ThrowOnError>({
|
|
3531
3352
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3532
|
-
url: '/
|
|
3353
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-position',
|
|
3533
3354
|
...options,
|
|
3534
3355
|
headers: {
|
|
3535
3356
|
'Content-Type': 'application/json',
|
|
@@ -3537,30 +3358,12 @@ export const createPosition = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3537
3358
|
}
|
|
3538
3359
|
});
|
|
3539
3360
|
|
|
3540
|
-
/**
|
|
3541
|
-
* Delete Position
|
|
3542
|
-
*/
|
|
3543
|
-
export const deletePosition = <ThrowOnError extends boolean = false>(options: Options<DeletePositionData, ThrowOnError>) => (options.client ?? client).delete<DeletePositionResponses, DeletePositionErrors, ThrowOnError>({
|
|
3544
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3545
|
-
url: '/v1/investor/{graph_id}/positions/{position_id}',
|
|
3546
|
-
...options
|
|
3547
|
-
});
|
|
3548
|
-
|
|
3549
|
-
/**
|
|
3550
|
-
* Get Position
|
|
3551
|
-
*/
|
|
3552
|
-
export const getPosition = <ThrowOnError extends boolean = false>(options: Options<GetPositionData, ThrowOnError>) => (options.client ?? client).get<GetPositionResponses, GetPositionErrors, ThrowOnError>({
|
|
3553
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3554
|
-
url: '/v1/investor/{graph_id}/positions/{position_id}',
|
|
3555
|
-
...options
|
|
3556
|
-
});
|
|
3557
|
-
|
|
3558
3361
|
/**
|
|
3559
3362
|
* Update Position
|
|
3560
3363
|
*/
|
|
3561
|
-
export const
|
|
3364
|
+
export const opUpdatePosition = <ThrowOnError extends boolean = false>(options: Options<OpUpdatePositionData, ThrowOnError>) => (options.client ?? client).post<OpUpdatePositionResponses, OpUpdatePositionErrors, ThrowOnError>({
|
|
3562
3365
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3563
|
-
url: '/
|
|
3366
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-position',
|
|
3564
3367
|
...options,
|
|
3565
3368
|
headers: {
|
|
3566
3369
|
'Content-Type': 'application/json',
|
|
@@ -3569,10 +3372,14 @@ export const updatePosition = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3569
3372
|
});
|
|
3570
3373
|
|
|
3571
3374
|
/**
|
|
3572
|
-
*
|
|
3375
|
+
* Delete Position
|
|
3573
3376
|
*/
|
|
3574
|
-
export const
|
|
3377
|
+
export const opDeletePosition = <ThrowOnError extends boolean = false>(options: Options<OpDeletePositionData, ThrowOnError>) => (options.client ?? client).post<OpDeletePositionResponses, OpDeletePositionErrors, ThrowOnError>({
|
|
3575
3378
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3576
|
-
url: '/
|
|
3577
|
-
...options
|
|
3379
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-position',
|
|
3380
|
+
...options,
|
|
3381
|
+
headers: {
|
|
3382
|
+
'Content-Type': 'application/json',
|
|
3383
|
+
...options.headers
|
|
3384
|
+
}
|
|
3578
3385
|
});
|