@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.
Files changed (190) hide show
  1. package/extensions/InvestorClient.d.ts +91 -0
  2. package/extensions/InvestorClient.js +223 -0
  3. package/extensions/InvestorClient.ts +501 -0
  4. package/extensions/LedgerClient.d.ts +213 -165
  5. package/extensions/LedgerClient.js +315 -393
  6. package/extensions/LedgerClient.ts +887 -564
  7. package/extensions/ReportClient.d.ts +77 -115
  8. package/extensions/ReportClient.js +124 -211
  9. package/extensions/ReportClient.ts +298 -358
  10. package/extensions/config.js +1 -1
  11. package/extensions/config.ts +1 -1
  12. package/extensions/graphql/client.d.ts +46 -0
  13. package/extensions/graphql/client.js +75 -0
  14. package/extensions/graphql/client.ts +82 -0
  15. package/extensions/graphql/generated/graphql.d.ts +1786 -0
  16. package/extensions/graphql/generated/graphql.js +2671 -0
  17. package/extensions/graphql/generated/graphql.ts +4491 -0
  18. package/extensions/graphql/queries/investor/holdings.d.ts +8 -0
  19. package/extensions/graphql/queries/investor/holdings.js +36 -0
  20. package/extensions/graphql/queries/investor/holdings.ts +34 -0
  21. package/extensions/graphql/queries/investor/portfolio.d.ts +4 -0
  22. package/extensions/graphql/queries/investor/portfolio.js +21 -0
  23. package/extensions/graphql/queries/investor/portfolio.ts +19 -0
  24. package/extensions/graphql/queries/investor/portfolios.d.ts +4 -0
  25. package/extensions/graphql/queries/investor/portfolios.js +29 -0
  26. package/extensions/graphql/queries/investor/portfolios.ts +27 -0
  27. package/extensions/graphql/queries/investor/position.d.ts +4 -0
  28. package/extensions/graphql/queries/investor/position.js +33 -0
  29. package/extensions/graphql/queries/investor/position.ts +31 -0
  30. package/extensions/graphql/queries/investor/positions.d.ts +8 -0
  31. package/extensions/graphql/queries/investor/positions.js +57 -0
  32. package/extensions/graphql/queries/investor/positions.ts +55 -0
  33. package/extensions/graphql/queries/investor/securities.d.ts +8 -0
  34. package/extensions/graphql/queries/investor/securities.js +50 -0
  35. package/extensions/graphql/queries/investor/securities.ts +48 -0
  36. package/extensions/graphql/queries/investor/security.d.ts +4 -0
  37. package/extensions/graphql/queries/investor/security.js +26 -0
  38. package/extensions/graphql/queries/investor/security.ts +24 -0
  39. package/extensions/graphql/queries/ledger/accountRollups.d.ts +7 -0
  40. package/extensions/graphql/queries/ledger/accountRollups.js +36 -0
  41. package/extensions/graphql/queries/ledger/accountRollups.ts +34 -0
  42. package/extensions/graphql/queries/ledger/accountTree.d.ts +11 -0
  43. package/extensions/graphql/queries/ledger/accountTree.js +61 -0
  44. package/extensions/graphql/queries/ledger/accountTree.ts +59 -0
  45. package/extensions/graphql/queries/ledger/accounts.d.ts +8 -0
  46. package/extensions/graphql/queries/ledger/accounts.js +45 -0
  47. package/extensions/graphql/queries/ledger/accounts.ts +43 -0
  48. package/extensions/graphql/queries/ledger/closingBookStructures.d.ts +6 -0
  49. package/extensions/graphql/queries/ledger/closingBookStructures.js +27 -0
  50. package/extensions/graphql/queries/ledger/closingBookStructures.ts +25 -0
  51. package/extensions/graphql/queries/ledger/elements.d.ts +6 -0
  52. package/extensions/graphql/queries/ledger/elements.js +56 -0
  53. package/extensions/graphql/queries/ledger/elements.ts +54 -0
  54. package/extensions/graphql/queries/ledger/entities.d.ts +7 -0
  55. package/extensions/graphql/queries/ledger/entities.js +31 -0
  56. package/extensions/graphql/queries/ledger/entities.ts +29 -0
  57. package/extensions/graphql/queries/ledger/entity.d.ts +14 -0
  58. package/extensions/graphql/queries/ledger/entity.js +55 -0
  59. package/extensions/graphql/queries/ledger/entity.ts +54 -0
  60. package/extensions/graphql/queries/ledger/fiscalCalendar.d.ts +8 -0
  61. package/extensions/graphql/queries/ledger/fiscalCalendar.js +35 -0
  62. package/extensions/graphql/queries/ledger/fiscalCalendar.ts +33 -0
  63. package/extensions/graphql/queries/ledger/mappedTrialBalance.d.ts +9 -0
  64. package/extensions/graphql/queries/ledger/mappedTrialBalance.js +29 -0
  65. package/extensions/graphql/queries/ledger/mappedTrialBalance.ts +27 -0
  66. package/extensions/graphql/queries/ledger/mapping.d.ts +5 -0
  67. package/extensions/graphql/queries/ledger/mapping.js +35 -0
  68. package/extensions/graphql/queries/ledger/mapping.ts +33 -0
  69. package/extensions/graphql/queries/ledger/mappingCoverage.d.ts +5 -0
  70. package/extensions/graphql/queries/ledger/mappingCoverage.js +22 -0
  71. package/extensions/graphql/queries/ledger/mappingCoverage.ts +20 -0
  72. package/extensions/graphql/queries/ledger/mappings.d.ts +6 -0
  73. package/extensions/graphql/queries/ledger/mappings.js +23 -0
  74. package/extensions/graphql/queries/ledger/mappings.ts +21 -0
  75. package/extensions/graphql/queries/ledger/periodCloseStatus.d.ts +6 -0
  76. package/extensions/graphql/queries/ledger/periodCloseStatus.js +29 -0
  77. package/extensions/graphql/queries/ledger/periodCloseStatus.ts +27 -0
  78. package/extensions/graphql/queries/ledger/periodDrafts.d.ts +8 -0
  79. package/extensions/graphql/queries/ledger/periodDrafts.js +45 -0
  80. package/extensions/graphql/queries/ledger/periodDrafts.ts +43 -0
  81. package/extensions/graphql/queries/ledger/publishList.d.ts +5 -0
  82. package/extensions/graphql/queries/ledger/publishList.js +29 -0
  83. package/extensions/graphql/queries/ledger/publishList.ts +27 -0
  84. package/extensions/graphql/queries/ledger/publishLists.d.ts +5 -0
  85. package/extensions/graphql/queries/ledger/publishLists.js +29 -0
  86. package/extensions/graphql/queries/ledger/publishLists.ts +27 -0
  87. package/extensions/graphql/queries/ledger/report.d.ts +5 -0
  88. package/extensions/graphql/queries/ledger/report.js +40 -0
  89. package/extensions/graphql/queries/ledger/report.ts +38 -0
  90. package/extensions/graphql/queries/ledger/reportingTaxonomy.d.ts +6 -0
  91. package/extensions/graphql/queries/ledger/reportingTaxonomy.js +27 -0
  92. package/extensions/graphql/queries/ledger/reportingTaxonomy.ts +25 -0
  93. package/extensions/graphql/queries/ledger/reports.d.ts +8 -0
  94. package/extensions/graphql/queries/ledger/reports.js +45 -0
  95. package/extensions/graphql/queries/ledger/reports.ts +43 -0
  96. package/extensions/graphql/queries/ledger/scheduleFacts.d.ts +7 -0
  97. package/extensions/graphql/queries/ledger/scheduleFacts.js +24 -0
  98. package/extensions/graphql/queries/ledger/scheduleFacts.ts +22 -0
  99. package/extensions/graphql/queries/ledger/schedules.d.ts +6 -0
  100. package/extensions/graphql/queries/ledger/schedules.js +24 -0
  101. package/extensions/graphql/queries/ledger/schedules.ts +22 -0
  102. package/extensions/graphql/queries/ledger/statement.d.ts +9 -0
  103. package/extensions/graphql/queries/ledger/statement.js +43 -0
  104. package/extensions/graphql/queries/ledger/statement.ts +41 -0
  105. package/extensions/graphql/queries/ledger/structures.d.ts +5 -0
  106. package/extensions/graphql/queries/ledger/structures.js +22 -0
  107. package/extensions/graphql/queries/ledger/structures.ts +20 -0
  108. package/extensions/graphql/queries/ledger/summary.d.ts +7 -0
  109. package/extensions/graphql/queries/ledger/summary.js +25 -0
  110. package/extensions/graphql/queries/ledger/summary.ts +23 -0
  111. package/extensions/graphql/queries/ledger/taxonomies.d.ts +5 -0
  112. package/extensions/graphql/queries/ledger/taxonomies.js +28 -0
  113. package/extensions/graphql/queries/ledger/taxonomies.ts +26 -0
  114. package/extensions/graphql/queries/ledger/transaction.d.ts +6 -0
  115. package/extensions/graphql/queries/ledger/transaction.js +49 -0
  116. package/extensions/graphql/queries/ledger/transaction.ts +47 -0
  117. package/extensions/graphql/queries/ledger/transactions.d.ts +7 -0
  118. package/extensions/graphql/queries/ledger/transactions.js +49 -0
  119. package/extensions/graphql/queries/ledger/transactions.ts +47 -0
  120. package/extensions/graphql/queries/ledger/trialBalance.d.ts +7 -0
  121. package/extensions/graphql/queries/ledger/trialBalance.js +28 -0
  122. package/extensions/graphql/queries/ledger/trialBalance.ts +26 -0
  123. package/extensions/graphql/queries/ledger/unmappedElements.d.ts +8 -0
  124. package/extensions/graphql/queries/ledger/unmappedElements.js +29 -0
  125. package/extensions/graphql/queries/ledger/unmappedElements.ts +27 -0
  126. package/extensions/hooks.d.ts +1 -1
  127. package/extensions/index.d.ts +5 -1
  128. package/extensions/index.js +13 -1
  129. package/extensions/index.ts +14 -0
  130. package/index.ts +2 -2
  131. package/package.json +14 -5
  132. package/sdk/index.d.ts +2 -2
  133. package/sdk/index.js +38 -65
  134. package/sdk/index.ts +2 -2
  135. package/sdk/sdk.gen.d.ts +101 -220
  136. package/sdk/sdk.gen.js +251 -445
  137. package/sdk/sdk.gen.ts +216 -409
  138. package/sdk/types.gen.d.ts +4586 -7045
  139. package/sdk/types.gen.ts +4702 -7334
  140. package/sdk.gen.d.ts +101 -220
  141. package/sdk.gen.js +251 -445
  142. package/sdk.gen.ts +216 -409
  143. package/types.gen.d.ts +4586 -7045
  144. package/types.gen.ts +4702 -7334
  145. package/extensions/AgentClient.test.ts +0 -403
  146. package/extensions/LedgerClient.test.ts +0 -1138
  147. package/extensions/OperationClient.test.ts +0 -365
  148. package/extensions/QueryClient.test.ts +0 -432
  149. package/extensions/ReportClient.test.ts +0 -828
  150. package/extensions/SSEClient.test.ts +0 -375
  151. package/extensions/config.test.ts +0 -199
  152. package/extensions/hooks.test.ts +0 -373
  153. package/extensions/index.test.ts +0 -420
  154. package/sdk-extensions/AgentClient.d.ts +0 -82
  155. package/sdk-extensions/AgentClient.js +0 -218
  156. package/sdk-extensions/AgentClient.test.ts +0 -403
  157. package/sdk-extensions/AgentClient.ts +0 -321
  158. package/sdk-extensions/LedgerClient.d.ts +0 -242
  159. package/sdk-extensions/LedgerClient.js +0 -496
  160. package/sdk-extensions/LedgerClient.test.ts +0 -1138
  161. package/sdk-extensions/LedgerClient.ts +0 -800
  162. package/sdk-extensions/OperationClient.d.ts +0 -65
  163. package/sdk-extensions/OperationClient.js +0 -251
  164. package/sdk-extensions/OperationClient.test.ts +0 -365
  165. package/sdk-extensions/OperationClient.ts +0 -324
  166. package/sdk-extensions/QueryClient.d.ts +0 -52
  167. package/sdk-extensions/QueryClient.js +0 -313
  168. package/sdk-extensions/QueryClient.test.ts +0 -432
  169. package/sdk-extensions/QueryClient.ts +0 -420
  170. package/sdk-extensions/README.md +0 -901
  171. package/sdk-extensions/ReportClient.d.ts +0 -151
  172. package/sdk-extensions/ReportClient.js +0 -278
  173. package/sdk-extensions/ReportClient.test.ts +0 -828
  174. package/sdk-extensions/ReportClient.ts +0 -486
  175. package/sdk-extensions/SSEClient.d.ts +0 -62
  176. package/sdk-extensions/SSEClient.js +0 -154
  177. package/sdk-extensions/SSEClient.test.ts +0 -375
  178. package/sdk-extensions/SSEClient.ts +0 -210
  179. package/sdk-extensions/config.d.ts +0 -57
  180. package/sdk-extensions/config.js +0 -152
  181. package/sdk-extensions/config.test.ts +0 -199
  182. package/sdk-extensions/config.ts +0 -175
  183. package/sdk-extensions/hooks.d.ts +0 -110
  184. package/sdk-extensions/hooks.js +0 -384
  185. package/sdk-extensions/hooks.test.ts +0 -373
  186. package/sdk-extensions/hooks.ts +0 -459
  187. package/sdk-extensions/index.d.ts +0 -63
  188. package/sdk-extensions/index.js +0 -164
  189. package/sdk-extensions/index.test.ts +0 -420
  190. 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 Entity
2892
- *
2893
- * Get the entity for this ledger graph.
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 getLedgerEntity = <ThrowOnError extends boolean = false>(options: Options<GetLedgerEntityData, ThrowOnError>) => (options.client ?? client).get<GetLedgerEntityResponses, GetLedgerEntityErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/entity',
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 updateLedgerEntity = <ThrowOnError extends boolean = false>(options: Options<UpdateLedgerEntityData, ThrowOnError>) => (options.client ?? client).put<UpdateLedgerEntityResponses, UpdateLedgerEntityErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/entity',
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
- * List Entities
2905
+ * Initialize Ledger
2918
2906
  *
2919
- * List entities for this graph, optionally filtered by source.
2907
+ * One-time ledger initialization create fiscal calendar + seed periods.
2920
2908
  */
2921
- export const listLedgerEntities = <ThrowOnError extends boolean = false>(options: Options<ListLedgerEntitiesData, ThrowOnError>) => (options.client ?? client).get<ListLedgerEntitiesResponses, ListLedgerEntitiesErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/entities',
2924
- ...options
2925
- });
2926
-
2927
- /**
2928
- * List Accounts
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
- * List Taxonomies
2920
+ * Set Close Target
2921
+ *
2922
+ * Set the user-controlled close target (YYYY-MM).
2947
2923
  */
2948
- export const listTaxonomies = <ThrowOnError extends boolean = false>(options: Options<ListTaxonomiesData, ThrowOnError>) => (options.client ?? client).get<ListTaxonomiesResponses, ListTaxonomiesErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/taxonomies',
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
- * Create Taxonomy
2935
+ * Close Fiscal Period
2936
+ *
2937
+ * Close a fiscal period — the final commit action.
2956
2938
  */
2957
- export const createTaxonomy = <ThrowOnError extends boolean = false>(options: Options<CreateTaxonomyData, ThrowOnError>) => (options.client ?? client).post<CreateTaxonomyResponses, CreateTaxonomyErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/taxonomies',
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
- * Get Reporting Taxonomy
2950
+ * Reopen Fiscal Period
2969
2951
  *
2970
- * Get the shared US GAAP reporting taxonomy (read-only).
2952
+ * Reopen a closed fiscal period decrements `closed_through`.
2971
2953
  */
2972
- export const getReportingTaxonomy = <ThrowOnError extends boolean = false>(options: Options<GetReportingTaxonomyData, ThrowOnError>) => (options.client ?? client).get<GetReportingTaxonomyResponses, GetReportingTaxonomyErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/taxonomies/reporting',
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
- * List Elements
2965
+ * Create Schedule
2966
+ *
2967
+ * Create a schedule with pre-generated monthly facts.
2980
2968
  */
2981
- export const listElements = <ThrowOnError extends boolean = false>(options: Options<ListElementsData, ThrowOnError>) => (options.client ?? client).get<ListElementsResponses, ListElementsErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/elements',
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
- * List Unmapped Elements
2980
+ * Truncate Schedule (End Early)
2989
2981
  *
2990
- * List CoA elements that are not yet mapped to the reporting taxonomy.
2982
+ * End a schedule early delete forward facts + stale drafts.
2991
2983
  */
2992
- export const listUnmappedElements = <ThrowOnError extends boolean = false>(options: Options<ListUnmappedElementsData, ThrowOnError>) => (options.client ?? client).get<ListUnmappedElementsResponses, ListUnmappedElementsErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/elements/unmapped',
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
- * List Structures
2995
+ * Create Closing Entry
2996
+ *
2997
+ * Create a draft closing entry from a schedule's facts for a period.
3000
2998
  */
3001
- export const listStructures = <ThrowOnError extends boolean = false>(options: Options<ListStructuresData, ThrowOnError>) => (options.client ?? client).get<ListStructuresResponses, ListStructuresErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/structures',
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 Structure
3010
+ * Create Manual Closing Entry
3011
+ *
3012
+ * Create a manual (non-schedule) draft closing entry.
3009
3013
  */
3010
- export const createStructure = <ThrowOnError extends boolean = false>(options: Options<CreateStructureData, ThrowOnError>) => (options.client ?? client).post<CreateStructureResponses, CreateStructureErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/structures',
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
- * List Mapping Structures
3025
+ * Create Taxonomy
3022
3026
  *
3023
- * List all mapping structures (structure_type = 'coa_mapping').
3027
+ * Create a new taxonomy definition.
3024
3028
  */
3025
- export const listMappings = <ThrowOnError extends boolean = false>(options: Options<ListMappingsData, ThrowOnError>) => (options.client ?? client).get<ListMappingsResponses, ListMappingsErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/mappings',
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
- * Get Mapping Detail
3040
+ * Create Structure
3033
3041
  *
3034
- * Get a mapping structure with all its associations.
3042
+ * Create a new structure (statement, mapping, schedule, etc.).
3035
3043
  */
3036
- export const getMappingDetail = <ThrowOnError extends boolean = false>(options: Options<GetMappingDetailData, ThrowOnError>) => (options.client ?? client).get<GetMappingDetailResponses, GetMappingDetailErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/mappings/{mapping_id}',
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 createMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<CreateMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<CreateMappingAssociationResponses, CreateMappingAssociationErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations',
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 deleteMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<DeleteMappingAssociationData, ThrowOnError>) => (options.client ?? client).delete<DeleteMappingAssociationResponses, DeleteMappingAssociationErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/mappings/{mapping_id}/coverage',
3076
- ...options
3077
- });
3078
-
3079
- /**
3080
- * Mapped Trial Balance
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
- * Uses Bedrock AI to classify and map unmapped Chart of Accounts elements
3096
- * to US GAAP reporting concepts. Returns a 202 with operation_id for
3097
- * SSE progress tracking.
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 autoMapElements = <ThrowOnError extends boolean = false>(options: Options<AutoMapElementsData, ThrowOnError>) => (options.client ?? client).post<AutoMapElementsResponses, AutoMapElementsErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/transactions',
3116
- ...options
3117
- });
3118
-
3119
- /**
3120
- * Transaction Detail
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 for all mapped elements.
3113
+ * Create a report definition, generate facts, and mark as published.
3161
3114
  */
3162
- export const createReport = <ThrowOnError extends boolean = false>(options: Options<CreateReportData, ThrowOnError>) => (options.client ?? client).post<CreateReportResponses, CreateReportErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/reports',
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 regenerateReport = <ThrowOnError extends boolean = false>(options: Options<RegenerateReportData, ThrowOnError>) => (options.client ?? client).post<RegenerateReportResponses, RegenerateReportErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/reports/{report_id}/regenerate',
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
- * Share Report
3227
- *
3228
- * Share a published report to other graphs.
3141
+ * Delete Report
3229
3142
  *
3230
- * Copies the report definition and its generated facts to each target graph's
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 shareReport = <ThrowOnError extends boolean = false>(options: Options<ShareReportData, ThrowOnError>) => (options.client ?? client).post<ShareReportResponses, ShareReportErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/reports/{report_id}/share',
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
- * List Schedules
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
- * Create a schedule with pre-generated facts for each monthly period.
3158
+ * Share a published report to a publish list's members.
3260
3159
  */
3261
- export const createSchedule = <ThrowOnError extends boolean = false>(options: Options<CreateScheduleData, ThrowOnError>) => (options.client ?? client).post<CreateScheduleResponses, CreateScheduleErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/schedules',
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
- * Get Schedule Facts
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 draft closing entry from a schedule's facts for a period.
3173
+ * Create a new publish list.
3297
3174
  */
3298
- export const createClosingEntry = <ThrowOnError extends boolean = false>(options: Options<CreateClosingEntryData, ThrowOnError>) => (options.client ?? client).post<CreateClosingEntryResponses, CreateClosingEntryErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/schedules/{structure_id}/closing-entry',
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
- * List Publish Lists
3310
- */
3311
- export const listPublishLists = <ThrowOnError extends boolean = false>(options: Options<ListPublishListsData, ThrowOnError>) => (options.client ?? client).get<ListPublishListsResponses, ListPublishListsErrors, ThrowOnError>({
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 createPublishList = <ThrowOnError extends boolean = false>(options: Options<CreatePublishListData, ThrowOnError>) => (options.client ?? client).post<CreatePublishListResponses, CreatePublishListErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/publish-lists',
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 deletePublishList = <ThrowOnError extends boolean = false>(options: Options<DeletePublishListData, ThrowOnError>) => (options.client ?? client).delete<DeletePublishListResponses, DeletePublishListErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/publish-lists/{list_id}',
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 addPublishListMembers = <ThrowOnError extends boolean = false>(options: Options<AddPublishListMembersData, ThrowOnError>) => (options.client ?? client).post<AddPublishListMembersResponses, AddPublishListMembersErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/publish-lists/{list_id}/members',
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
- * Shows how company-specific accounts roll up to standardized reporting
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 getAccountRollups = <ThrowOnError extends boolean = false>(options: Options<GetAccountRollupsData, ThrowOnError>) => (options.client ?? client).get<GetAccountRollupsResponses, GetAccountRollupsErrors, ThrowOnError>({
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: '/v1/ledger/{graph_id}/account-rollups',
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
- * Closing Book Structures
3246
+ * Build Fact Grid
3399
3247
  *
3400
- * Returns all structure categories for the closing book sidebar.
3248
+ * Build a multi-dimensional fact grid against the graph schema.
3401
3249
  *
3402
- * Aggregates statements (from latest report), schedules, account rollups
3403
- * (from mapping structures), and trial balance availability into a single
3404
- * response for the viewer sidebar navigation.
3405
- */
3406
- export const getClosingBookStructures = <ThrowOnError extends boolean = false>(options: Options<GetClosingBookStructuresData, ThrowOnError>) => (options.client ?? client).get<GetClosingBookStructuresResponses, GetClosingBookStructuresErrors, ThrowOnError>({
3407
- security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
3408
- url: '/v1/ledger/{graph_id}/closing-book/structures',
3409
- ...options
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 listPortfolios = <ThrowOnError extends boolean = false>(options: Options<ListPortfoliosData, ThrowOnError>) => (options.client ?? client).get<ListPortfoliosResponses, ListPortfoliosErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/portfolios',
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 createPortfolio = <ThrowOnError extends boolean = false>(options: Options<CreatePortfolioData, ThrowOnError>) => (options.client ?? client).post<CreatePortfolioResponses, CreatePortfolioErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/portfolios',
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 updatePortfolio = <ThrowOnError extends boolean = false>(options: Options<UpdatePortfolioData, ThrowOnError>) => (options.client ?? client).patch<UpdatePortfolioResponses, UpdatePortfolioErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/portfolios/{portfolio_id}',
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
- * List Securities
3297
+ * Delete Portfolio
3467
3298
  */
3468
- export const listSecurities = <ThrowOnError extends boolean = false>(options: Options<ListSecuritiesData, ThrowOnError>) => (options.client ?? client).get<ListSecuritiesResponses, ListSecuritiesErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/securities',
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 createSecurity = <ThrowOnError extends boolean = false>(options: Options<CreateSecurityData, ThrowOnError>) => (options.client ?? client).post<CreateSecurityResponses, CreateSecurityErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/securities',
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 updateSecurity = <ThrowOnError extends boolean = false>(options: Options<UpdateSecurityData, ThrowOnError>) => (options.client ?? client).patch<UpdateSecurityResponses, UpdateSecurityErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/securities/{security_id}',
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
- * List Positions
3336
+ * Delete Security
3520
3337
  */
3521
- export const listPositions = <ThrowOnError extends boolean = false>(options: Options<ListPositionsData, ThrowOnError>) => (options.client ?? client).get<ListPositionsResponses, ListPositionsErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/positions',
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 createPosition = <ThrowOnError extends boolean = false>(options: Options<CreatePositionData, ThrowOnError>) => (options.client ?? client).post<CreatePositionResponses, CreatePositionErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/positions',
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 updatePosition = <ThrowOnError extends boolean = false>(options: Options<UpdatePositionData, ThrowOnError>) => (options.client ?? client).patch<UpdatePositionResponses, UpdatePositionErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/positions/{position_id}',
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
- * List Holdings (grouped by entity)
3375
+ * Delete Position
3573
3376
  */
3574
- export const listHoldings = <ThrowOnError extends boolean = false>(options: Options<ListHoldingsData, ThrowOnError>) => (options.client ?? client).get<ListHoldingsResponses, ListHoldingsErrors, ThrowOnError>({
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: '/v1/investor/{graph_id}/portfolios/{portfolio_id}/holdings',
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
  });