@robosystems/client 0.2.49 → 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 +183 -309
- package/extensions/LedgerClient.js +268 -587
- package/extensions/LedgerClient.ts +777 -903
- 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 -73
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +100 -325
- package/sdk/sdk.gen.js +228 -592
- package/sdk/sdk.gen.ts +193 -556
- package/sdk/types.gen.d.ts +4522 -7708
- package/sdk/types.gen.ts +4569 -7983
- package/sdk.gen.d.ts +100 -325
- package/sdk.gen.js +228 -592
- package/sdk.gen.ts +193 -556
- package/types.gen.d.ts +4522 -7708
- package/types.gen.ts +4569 -7983
- package/extensions/AgentClient.test.ts +0 -403
- package/extensions/LedgerClient.test.ts +0 -1655
- 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 -416
- package/sdk-extensions/LedgerClient.js +0 -737
- package/sdk-extensions/LedgerClient.test.ts +0 -1655
- package/sdk-extensions/LedgerClient.ts +0 -1249
- 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.js
CHANGED
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.callMcpTool = exports.listMcpTools = exports.recommendAgent = exports.batchProcessQueries = exports.executeSpecificAgent = exports.getAgentMetadata = exports.autoSelectAgent = exports.listAgents = exports.syncConnection = exports.getConnection = exports.deleteConnection = exports.oauthCallback = exports.initOAuth = exports.getConnectionOptions = exports.createConnection = exports.listConnections = exports.getOrgUsage = exports.getOrgLimits = exports.updateOrgMemberRole = exports.removeOrgMember = exports.inviteOrgMember = exports.listOrgMembers = exports.listOrgGraphs = exports.updateOrg = exports.getOrg = exports.listUserOrgs = exports.updateUserApiKey = exports.revokeUserApiKey = exports.createUserApiKey = exports.listUserApiKeys = exports.updateUserPassword = exports.updateUser = exports.getCurrentUser = exports.getServiceStatus = exports.getCaptchaConfig = exports.completeSsoAuth = exports.ssoTokenExchange = exports.generateSsoToken = exports.resetPassword = exports.validateResetToken = exports.forgotPassword = exports.checkPasswordStrength = exports.getPasswordPolicy = exports.verifyEmail = exports.resendVerificationEmail = exports.refreshAuthSession = exports.getCurrentAuthUser = exports.logoutUser = exports.loginUser = exports.registerUser = void 0;
|
|
5
|
-
exports.streamOperationEvents = exports.getServiceOfferings = exports.selectGraph = exports.getGraphCapacity = exports.getAvailableGraphTiers = exports.getAvailableExtensions = exports.createGraph = exports.getGraphs = exports.updateFile = exports.getFile = exports.deleteFile = exports.createFileUpload = exports.listFiles = exports.materializeGraph = exports.getMaterializationStatus = exports.uploadDocumentsBulk = exports.updateDocument = exports.getDocument = exports.deleteDocument = exports.uploadDocument = exports.listDocuments = exports.getDocumentSection = exports.searchDocuments = exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.listHoldings = exports.updatePosition = exports.getPosition = exports.deletePosition = exports.createPosition = exports.listPositions = exports.updateSecurity = exports.getSecurity = exports.deleteSecurity = exports.createSecurity = exports.listSecurities = exports.updatePortfolio = exports.getPortfolio = exports.deletePortfolio = exports.createPortfolio = exports.listPortfolios = exports.listPeriodDrafts = exports.reopenFiscalPeriod = exports.closeFiscalPeriod = exports.setCloseTarget = exports.getFiscalCalendar = exports.initializeLedger = exports.getClosingBookStructures = exports.getAccountRollups = exports.removePublishListMember = exports.addPublishListMembers = exports.updatePublishList = exports.getPublishList = exports.deletePublishList = void 0;
|
|
5
|
+
exports.getOperationStatus = exports.streamOperationEvents = exports.getServiceOfferings = exports.selectGraph = exports.getGraphCapacity = exports.getAvailableGraphTiers = exports.getAvailableExtensions = exports.createGraph = exports.getGraphs = exports.updateFile = exports.getFile = exports.deleteFile = exports.createFileUpload = exports.listFiles = exports.materializeGraph = exports.getMaterializationStatus = exports.uploadDocumentsBulk = exports.updateDocument = exports.getDocument = exports.deleteDocument = exports.uploadDocument = exports.listDocuments = exports.getDocumentSection = exports.searchDocuments = exports.queryTables = exports.listTables = exports.createRepositorySubscription = exports.changeSubscriptionPlan = exports.getGraphSubscription = exports.getSubgraphQuota = exports.getSubgraphInfo = exports.deleteSubgraph = exports.createSubgraph = exports.listSubgraphs = exports.getGraphLimits = exports.getDatabaseInfo = exports.getDatabaseHealth = exports.listCreditTransactions = exports.getCreditSummary = exports.validateSchema = exports.exportGraphSchema = exports.getGraphSchema = exports.executeCypherQuery = exports.getGraphUsageAnalytics = exports.getGraphMetrics = exports.getBackupStats = exports.restoreBackup = exports.getBackupDownloadUrl = exports.createBackup = exports.listBackups = void 0;
|
|
6
|
+
exports.opDeletePosition = exports.opUpdatePosition = exports.opCreatePosition = exports.opDeleteSecurity = exports.opUpdateSecurity = exports.opCreateSecurity = exports.opDeletePortfolio = exports.opUpdatePortfolio = exports.opCreatePortfolio = exports.opBuildFactGrid = exports.opRemovePublishListMember = exports.opAddPublishListMembers = exports.opDeletePublishList = exports.opUpdatePublishList = exports.opCreatePublishList = exports.opShareReport = exports.opDeleteReport = exports.opRegenerateReport = exports.opCreateReport = exports.opAutoMapElements = exports.opDeleteMappingAssociation = exports.opCreateMappingAssociation = exports.opCreateStructure = exports.opCreateTaxonomy = exports.opCreateManualClosingEntry = exports.opCreateClosingEntry = exports.opTruncateSchedule = exports.opCreateSchedule = exports.opReopenPeriod = exports.opClosePeriod = exports.opSetCloseTarget = exports.opInitializeLedger = exports.opUpdateEntity = exports.handleHttpPostExtensionsGraphIdGraphqlPost = exports.handleHttpGetExtensionsGraphIdGraphqlGet = exports.getCheckoutStatus = exports.createCheckoutSession = exports.getOrgUpcomingInvoice = exports.listOrgInvoices = exports.cancelOrgSubscription = exports.getOrgSubscription = exports.listOrgSubscriptions = exports.createPortalSession = exports.getOrgBillingCustomer = exports.cancelOperation = void 0;
|
|
8
7
|
const client_gen_1 = require("./client.gen");
|
|
9
8
|
/**
|
|
10
9
|
* Register New User
|
|
@@ -1861,25 +1860,6 @@ const queryTables = (options) => (options.client ?? client_gen_1.client).post({
|
|
|
1861
1860
|
}
|
|
1862
1861
|
});
|
|
1863
1862
|
exports.queryTables = queryTables;
|
|
1864
|
-
/**
|
|
1865
|
-
* Create View
|
|
1866
|
-
*
|
|
1867
|
-
* Build a fact grid from existing facts in the graph.
|
|
1868
|
-
*
|
|
1869
|
-
* Queries Fact nodes by element qnames or canonical concepts, with optional
|
|
1870
|
-
* filters for periods, entities, filing form, fiscal context, and period type.
|
|
1871
|
-
* Returns deduplicated consolidated facts as a pivot table.
|
|
1872
|
-
*/
|
|
1873
|
-
const createView = (options) => (options.client ?? client_gen_1.client).post({
|
|
1874
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1875
|
-
url: '/v1/graphs/{graph_id}/views',
|
|
1876
|
-
...options,
|
|
1877
|
-
headers: {
|
|
1878
|
-
'Content-Type': 'application/json',
|
|
1879
|
-
...options.headers
|
|
1880
|
-
}
|
|
1881
|
-
});
|
|
1882
|
-
exports.createView = createView;
|
|
1883
1863
|
/**
|
|
1884
1864
|
* Search Documents
|
|
1885
1865
|
*
|
|
@@ -2876,862 +2856,518 @@ const getCheckoutStatus = (options) => (options.client ?? client_gen_1.client).g
|
|
|
2876
2856
|
});
|
|
2877
2857
|
exports.getCheckoutStatus = getCheckoutStatus;
|
|
2878
2858
|
/**
|
|
2879
|
-
* Get
|
|
2880
|
-
|
|
2881
|
-
|
|
2859
|
+
* Handle Http Get
|
|
2860
|
+
*/
|
|
2861
|
+
const handleHttpGetExtensionsGraphIdGraphqlGet = (options) => (options.client ?? client_gen_1.client).get({
|
|
2862
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2863
|
+
url: '/extensions/{graph_id}/graphql',
|
|
2864
|
+
...options
|
|
2865
|
+
});
|
|
2866
|
+
exports.handleHttpGetExtensionsGraphIdGraphqlGet = handleHttpGetExtensionsGraphIdGraphqlGet;
|
|
2867
|
+
/**
|
|
2868
|
+
* Handle Http Post
|
|
2882
2869
|
*/
|
|
2883
|
-
const
|
|
2870
|
+
const handleHttpPostExtensionsGraphIdGraphqlPost = (options) => (options.client ?? client_gen_1.client).post({
|
|
2884
2871
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2885
|
-
url: '/
|
|
2872
|
+
url: '/extensions/{graph_id}/graphql',
|
|
2886
2873
|
...options
|
|
2887
2874
|
});
|
|
2888
|
-
exports.
|
|
2875
|
+
exports.handleHttpPostExtensionsGraphIdGraphqlPost = handleHttpPostExtensionsGraphIdGraphqlPost;
|
|
2889
2876
|
/**
|
|
2890
2877
|
* Update Entity
|
|
2891
2878
|
*
|
|
2892
2879
|
* Update entity details. Only provided (non-null) fields are updated.
|
|
2893
2880
|
*/
|
|
2894
|
-
const
|
|
2881
|
+
const opUpdateEntity = (options) => (options.client ?? client_gen_1.client).post({
|
|
2895
2882
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2896
|
-
url: '/
|
|
2883
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-entity',
|
|
2897
2884
|
...options,
|
|
2898
2885
|
headers: {
|
|
2899
2886
|
'Content-Type': 'application/json',
|
|
2900
2887
|
...options.headers
|
|
2901
2888
|
}
|
|
2902
2889
|
});
|
|
2903
|
-
exports.
|
|
2890
|
+
exports.opUpdateEntity = opUpdateEntity;
|
|
2904
2891
|
/**
|
|
2905
|
-
*
|
|
2892
|
+
* Initialize Ledger
|
|
2906
2893
|
*
|
|
2907
|
-
*
|
|
2894
|
+
* One-time ledger initialization — create fiscal calendar + seed periods.
|
|
2908
2895
|
*/
|
|
2909
|
-
const
|
|
2896
|
+
const opInitializeLedger = (options) => (options.client ?? client_gen_1.client).post({
|
|
2910
2897
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2911
|
-
url: '/
|
|
2912
|
-
...options
|
|
2913
|
-
});
|
|
2914
|
-
exports.listLedgerEntities = listLedgerEntities;
|
|
2915
|
-
/**
|
|
2916
|
-
* List Accounts
|
|
2917
|
-
*/
|
|
2918
|
-
const listLedgerAccounts = (options) => (options.client ?? client_gen_1.client).get({
|
|
2919
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2920
|
-
url: '/v1/ledger/{graph_id}/accounts',
|
|
2921
|
-
...options
|
|
2922
|
-
});
|
|
2923
|
-
exports.listLedgerAccounts = listLedgerAccounts;
|
|
2924
|
-
/**
|
|
2925
|
-
* Account Tree
|
|
2926
|
-
*/
|
|
2927
|
-
const getLedgerAccountTree = (options) => (options.client ?? client_gen_1.client).get({
|
|
2928
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2929
|
-
url: '/v1/ledger/{graph_id}/accounts/tree',
|
|
2930
|
-
...options
|
|
2931
|
-
});
|
|
2932
|
-
exports.getLedgerAccountTree = getLedgerAccountTree;
|
|
2933
|
-
/**
|
|
2934
|
-
* List Taxonomies
|
|
2935
|
-
*/
|
|
2936
|
-
const listTaxonomies = (options) => (options.client ?? client_gen_1.client).get({
|
|
2937
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2938
|
-
url: '/v1/ledger/{graph_id}/taxonomies',
|
|
2939
|
-
...options
|
|
2940
|
-
});
|
|
2941
|
-
exports.listTaxonomies = listTaxonomies;
|
|
2942
|
-
/**
|
|
2943
|
-
* Create Taxonomy
|
|
2944
|
-
*/
|
|
2945
|
-
const createTaxonomy = (options) => (options.client ?? client_gen_1.client).post({
|
|
2946
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2947
|
-
url: '/v1/ledger/{graph_id}/taxonomies',
|
|
2898
|
+
url: '/extensions/roboledger/{graph_id}/operations/initialize',
|
|
2948
2899
|
...options,
|
|
2949
2900
|
headers: {
|
|
2950
2901
|
'Content-Type': 'application/json',
|
|
2951
2902
|
...options.headers
|
|
2952
2903
|
}
|
|
2953
2904
|
});
|
|
2954
|
-
exports.
|
|
2955
|
-
/**
|
|
2956
|
-
* Get Reporting Taxonomy
|
|
2957
|
-
*
|
|
2958
|
-
* Get the shared US GAAP reporting taxonomy (read-only).
|
|
2959
|
-
*/
|
|
2960
|
-
const getReportingTaxonomy = (options) => (options.client ?? client_gen_1.client).get({
|
|
2961
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2962
|
-
url: '/v1/ledger/{graph_id}/taxonomies/reporting',
|
|
2963
|
-
...options
|
|
2964
|
-
});
|
|
2965
|
-
exports.getReportingTaxonomy = getReportingTaxonomy;
|
|
2905
|
+
exports.opInitializeLedger = opInitializeLedger;
|
|
2966
2906
|
/**
|
|
2967
|
-
*
|
|
2968
|
-
*/
|
|
2969
|
-
const listElements = (options) => (options.client ?? client_gen_1.client).get({
|
|
2970
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2971
|
-
url: '/v1/ledger/{graph_id}/elements',
|
|
2972
|
-
...options
|
|
2973
|
-
});
|
|
2974
|
-
exports.listElements = listElements;
|
|
2975
|
-
/**
|
|
2976
|
-
* List Unmapped Elements
|
|
2907
|
+
* Set Close Target
|
|
2977
2908
|
*
|
|
2978
|
-
*
|
|
2979
|
-
*/
|
|
2980
|
-
const listUnmappedElements = (options) => (options.client ?? client_gen_1.client).get({
|
|
2981
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2982
|
-
url: '/v1/ledger/{graph_id}/elements/unmapped',
|
|
2983
|
-
...options
|
|
2984
|
-
});
|
|
2985
|
-
exports.listUnmappedElements = listUnmappedElements;
|
|
2986
|
-
/**
|
|
2987
|
-
* List Structures
|
|
2909
|
+
* Set the user-controlled close target (YYYY-MM).
|
|
2988
2910
|
*/
|
|
2989
|
-
const
|
|
2911
|
+
const opSetCloseTarget = (options) => (options.client ?? client_gen_1.client).post({
|
|
2990
2912
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2991
|
-
url: '/
|
|
2992
|
-
...options
|
|
2993
|
-
});
|
|
2994
|
-
exports.listStructures = listStructures;
|
|
2995
|
-
/**
|
|
2996
|
-
* Create Structure
|
|
2997
|
-
*/
|
|
2998
|
-
const createStructure = (options) => (options.client ?? client_gen_1.client).post({
|
|
2999
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3000
|
-
url: '/v1/ledger/{graph_id}/structures',
|
|
2913
|
+
url: '/extensions/roboledger/{graph_id}/operations/set-close-target',
|
|
3001
2914
|
...options,
|
|
3002
2915
|
headers: {
|
|
3003
2916
|
'Content-Type': 'application/json',
|
|
3004
2917
|
...options.headers
|
|
3005
2918
|
}
|
|
3006
2919
|
});
|
|
3007
|
-
exports.
|
|
2920
|
+
exports.opSetCloseTarget = opSetCloseTarget;
|
|
3008
2921
|
/**
|
|
3009
|
-
*
|
|
3010
|
-
*
|
|
3011
|
-
* List all mapping structures (structure_type = 'coa_mapping').
|
|
3012
|
-
*/
|
|
3013
|
-
const listMappings = (options) => (options.client ?? client_gen_1.client).get({
|
|
3014
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3015
|
-
url: '/v1/ledger/{graph_id}/mappings',
|
|
3016
|
-
...options
|
|
3017
|
-
});
|
|
3018
|
-
exports.listMappings = listMappings;
|
|
3019
|
-
/**
|
|
3020
|
-
* Get Mapping Detail
|
|
3021
|
-
*
|
|
3022
|
-
* Get a mapping structure with all its associations.
|
|
3023
|
-
*/
|
|
3024
|
-
const getMappingDetail = (options) => (options.client ?? client_gen_1.client).get({
|
|
3025
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3026
|
-
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}',
|
|
3027
|
-
...options
|
|
3028
|
-
});
|
|
3029
|
-
exports.getMappingDetail = getMappingDetail;
|
|
3030
|
-
/**
|
|
3031
|
-
* Create Mapping Association
|
|
2922
|
+
* Close Fiscal Period
|
|
3032
2923
|
*
|
|
3033
|
-
*
|
|
2924
|
+
* Close a fiscal period — the final commit action.
|
|
3034
2925
|
*/
|
|
3035
|
-
const
|
|
2926
|
+
const opClosePeriod = (options) => (options.client ?? client_gen_1.client).post({
|
|
3036
2927
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3037
|
-
url: '/
|
|
2928
|
+
url: '/extensions/roboledger/{graph_id}/operations/close-period',
|
|
3038
2929
|
...options,
|
|
3039
2930
|
headers: {
|
|
3040
2931
|
'Content-Type': 'application/json',
|
|
3041
2932
|
...options.headers
|
|
3042
2933
|
}
|
|
3043
2934
|
});
|
|
3044
|
-
exports.
|
|
3045
|
-
/**
|
|
3046
|
-
* Delete Mapping Association
|
|
3047
|
-
*
|
|
3048
|
-
* Remove a mapping association.
|
|
3049
|
-
*/
|
|
3050
|
-
const deleteMappingAssociation = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3051
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3052
|
-
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/associations/{association_id}',
|
|
3053
|
-
...options
|
|
3054
|
-
});
|
|
3055
|
-
exports.deleteMappingAssociation = deleteMappingAssociation;
|
|
2935
|
+
exports.opClosePeriod = opClosePeriod;
|
|
3056
2936
|
/**
|
|
3057
|
-
*
|
|
3058
|
-
*
|
|
3059
|
-
* Get mapping coverage stats.
|
|
3060
|
-
*/
|
|
3061
|
-
const getMappingCoverage = (options) => (options.client ?? client_gen_1.client).get({
|
|
3062
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3063
|
-
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/coverage',
|
|
3064
|
-
...options
|
|
3065
|
-
});
|
|
3066
|
-
exports.getMappingCoverage = getMappingCoverage;
|
|
3067
|
-
/**
|
|
3068
|
-
* Mapped Trial Balance
|
|
3069
|
-
*
|
|
3070
|
-
* Trial balance rolled up to reporting concepts via mapping associations.
|
|
3071
|
-
*/
|
|
3072
|
-
const getMappedTrialBalance = (options) => (options.client ?? client_gen_1.client).get({
|
|
3073
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3074
|
-
url: '/v1/ledger/{graph_id}/trial-balance/mapped',
|
|
3075
|
-
...options
|
|
3076
|
-
});
|
|
3077
|
-
exports.getMappedTrialBalance = getMappedTrialBalance;
|
|
3078
|
-
/**
|
|
3079
|
-
* Auto-Map Elements via AI
|
|
3080
|
-
*
|
|
3081
|
-
* Trigger autonomous CoA → GAAP mapping via background worker.
|
|
3082
|
-
*
|
|
3083
|
-
* Uses Bedrock AI to classify and map unmapped Chart of Accounts elements
|
|
3084
|
-
* to US GAAP reporting concepts. Returns a 202 with operation_id for
|
|
3085
|
-
* SSE progress tracking.
|
|
3086
|
-
*
|
|
3087
|
-
* Confidence thresholds:
|
|
3088
|
-
* - ≥0.90: auto-approved mapping
|
|
3089
|
-
* - 0.70-0.89: flagged for review
|
|
3090
|
-
* - <0.70: skipped (left unmapped)
|
|
3091
|
-
*/
|
|
3092
|
-
const autoMapElements = (options) => (options.client ?? client_gen_1.client).post({
|
|
3093
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3094
|
-
url: '/v1/ledger/{graph_id}/mappings/{mapping_id}/auto-map',
|
|
3095
|
-
...options
|
|
3096
|
-
});
|
|
3097
|
-
exports.autoMapElements = autoMapElements;
|
|
3098
|
-
/**
|
|
3099
|
-
* List Transactions
|
|
3100
|
-
*/
|
|
3101
|
-
const listLedgerTransactions = (options) => (options.client ?? client_gen_1.client).get({
|
|
3102
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3103
|
-
url: '/v1/ledger/{graph_id}/transactions',
|
|
3104
|
-
...options
|
|
3105
|
-
});
|
|
3106
|
-
exports.listLedgerTransactions = listLedgerTransactions;
|
|
3107
|
-
/**
|
|
3108
|
-
* Transaction Detail
|
|
3109
|
-
*/
|
|
3110
|
-
const getLedgerTransaction = (options) => (options.client ?? client_gen_1.client).get({
|
|
3111
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3112
|
-
url: '/v1/ledger/{graph_id}/transactions/{transaction_id}',
|
|
3113
|
-
...options
|
|
3114
|
-
});
|
|
3115
|
-
exports.getLedgerTransaction = getLedgerTransaction;
|
|
3116
|
-
/**
|
|
3117
|
-
* Trial Balance
|
|
3118
|
-
*/
|
|
3119
|
-
const getLedgerTrialBalance = (options) => (options.client ?? client_gen_1.client).get({
|
|
3120
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3121
|
-
url: '/v1/ledger/{graph_id}/trial-balance',
|
|
3122
|
-
...options
|
|
3123
|
-
});
|
|
3124
|
-
exports.getLedgerTrialBalance = getLedgerTrialBalance;
|
|
3125
|
-
/**
|
|
3126
|
-
* Ledger Summary
|
|
3127
|
-
*/
|
|
3128
|
-
const getLedgerSummary = (options) => (options.client ?? client_gen_1.client).get({
|
|
3129
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3130
|
-
url: '/v1/ledger/{graph_id}/summary',
|
|
3131
|
-
...options
|
|
3132
|
-
});
|
|
3133
|
-
exports.getLedgerSummary = getLedgerSummary;
|
|
3134
|
-
/**
|
|
3135
|
-
* List Reports
|
|
3136
|
-
*
|
|
3137
|
-
* List all report definitions for this graph.
|
|
3138
|
-
*/
|
|
3139
|
-
const listReports = (options) => (options.client ?? client_gen_1.client).get({
|
|
3140
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3141
|
-
url: '/v1/ledger/{graph_id}/reports',
|
|
3142
|
-
...options
|
|
3143
|
-
});
|
|
3144
|
-
exports.listReports = listReports;
|
|
3145
|
-
/**
|
|
3146
|
-
* Create Report
|
|
2937
|
+
* Reopen Fiscal Period
|
|
3147
2938
|
*
|
|
3148
|
-
*
|
|
2939
|
+
* Reopen a closed fiscal period — decrements `closed_through`.
|
|
3149
2940
|
*/
|
|
3150
|
-
const
|
|
2941
|
+
const opReopenPeriod = (options) => (options.client ?? client_gen_1.client).post({
|
|
3151
2942
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3152
|
-
url: '/
|
|
2943
|
+
url: '/extensions/roboledger/{graph_id}/operations/reopen-period',
|
|
3153
2944
|
...options,
|
|
3154
2945
|
headers: {
|
|
3155
2946
|
'Content-Type': 'application/json',
|
|
3156
2947
|
...options.headers
|
|
3157
2948
|
}
|
|
3158
2949
|
});
|
|
3159
|
-
exports.
|
|
3160
|
-
/**
|
|
3161
|
-
* Delete Report
|
|
3162
|
-
*
|
|
3163
|
-
* Delete a report definition and its generated facts.
|
|
3164
|
-
*/
|
|
3165
|
-
const deleteReport = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3166
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3167
|
-
url: '/v1/ledger/{graph_id}/reports/{report_id}',
|
|
3168
|
-
...options
|
|
3169
|
-
});
|
|
3170
|
-
exports.deleteReport = deleteReport;
|
|
3171
|
-
/**
|
|
3172
|
-
* Get Report
|
|
3173
|
-
*
|
|
3174
|
-
* Get a report definition with its available structures.
|
|
3175
|
-
*/
|
|
3176
|
-
const getReport = (options) => (options.client ?? client_gen_1.client).get({
|
|
3177
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3178
|
-
url: '/v1/ledger/{graph_id}/reports/{report_id}',
|
|
3179
|
-
...options
|
|
3180
|
-
});
|
|
3181
|
-
exports.getReport = getReport;
|
|
2950
|
+
exports.opReopenPeriod = opReopenPeriod;
|
|
3182
2951
|
/**
|
|
3183
|
-
*
|
|
3184
|
-
*
|
|
3185
|
-
* Render a financial statement — facts viewed through a structure's hierarchy.
|
|
3186
|
-
*
|
|
3187
|
-
* Same report, different structure_type = different view (IS, BS, CF).
|
|
3188
|
-
*/
|
|
3189
|
-
const getStatement = (options) => (options.client ?? client_gen_1.client).get({
|
|
3190
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3191
|
-
url: '/v1/ledger/{graph_id}/reports/{report_id}/statements/{structure_type}',
|
|
3192
|
-
...options
|
|
3193
|
-
});
|
|
3194
|
-
exports.getStatement = getStatement;
|
|
3195
|
-
/**
|
|
3196
|
-
* Regenerate Report
|
|
3197
|
-
*
|
|
3198
|
-
* Regenerate a report with new period dates.
|
|
2952
|
+
* Create Schedule
|
|
3199
2953
|
*
|
|
3200
|
-
*
|
|
3201
|
-
* Re-generates facts for all elements.
|
|
2954
|
+
* Create a schedule with pre-generated monthly facts.
|
|
3202
2955
|
*/
|
|
3203
|
-
const
|
|
2956
|
+
const opCreateSchedule = (options) => (options.client ?? client_gen_1.client).post({
|
|
3204
2957
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3205
|
-
url: '/
|
|
2958
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-schedule',
|
|
3206
2959
|
...options,
|
|
3207
2960
|
headers: {
|
|
3208
2961
|
'Content-Type': 'application/json',
|
|
3209
2962
|
...options.headers
|
|
3210
2963
|
}
|
|
3211
2964
|
});
|
|
3212
|
-
exports.
|
|
2965
|
+
exports.opCreateSchedule = opCreateSchedule;
|
|
3213
2966
|
/**
|
|
3214
|
-
*
|
|
3215
|
-
*
|
|
3216
|
-
* Share a published report to other graphs.
|
|
2967
|
+
* Truncate Schedule (End Early)
|
|
3217
2968
|
*
|
|
3218
|
-
*
|
|
3219
|
-
* tenant schema. The target graph must have 'roboledger' in its schema_extensions.
|
|
3220
|
-
* This is a snapshot — the target gets an immutable copy of the facts at this
|
|
3221
|
-
* point in time.
|
|
2969
|
+
* End a schedule early — delete forward facts + stale drafts.
|
|
3222
2970
|
*/
|
|
3223
|
-
const
|
|
2971
|
+
const opTruncateSchedule = (options) => (options.client ?? client_gen_1.client).post({
|
|
3224
2972
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3225
|
-
url: '/
|
|
2973
|
+
url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule',
|
|
3226
2974
|
...options,
|
|
3227
2975
|
headers: {
|
|
3228
2976
|
'Content-Type': 'application/json',
|
|
3229
2977
|
...options.headers
|
|
3230
2978
|
}
|
|
3231
2979
|
});
|
|
3232
|
-
exports.
|
|
2980
|
+
exports.opTruncateSchedule = opTruncateSchedule;
|
|
3233
2981
|
/**
|
|
3234
|
-
*
|
|
2982
|
+
* Create Closing Entry
|
|
3235
2983
|
*
|
|
3236
|
-
*
|
|
2984
|
+
* Create a draft closing entry from a schedule's facts for a period.
|
|
3237
2985
|
*/
|
|
3238
|
-
const
|
|
2986
|
+
const opCreateClosingEntry = (options) => (options.client ?? client_gen_1.client).post({
|
|
3239
2987
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3240
|
-
url: '/
|
|
3241
|
-
...options
|
|
2988
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry',
|
|
2989
|
+
...options,
|
|
2990
|
+
headers: {
|
|
2991
|
+
'Content-Type': 'application/json',
|
|
2992
|
+
...options.headers
|
|
2993
|
+
}
|
|
3242
2994
|
});
|
|
3243
|
-
exports.
|
|
2995
|
+
exports.opCreateClosingEntry = opCreateClosingEntry;
|
|
3244
2996
|
/**
|
|
3245
|
-
* Create
|
|
2997
|
+
* Create Manual Closing Entry
|
|
3246
2998
|
*
|
|
3247
|
-
* Create a
|
|
2999
|
+
* Create a manual (non-schedule) draft closing entry.
|
|
3248
3000
|
*/
|
|
3249
|
-
const
|
|
3001
|
+
const opCreateManualClosingEntry = (options) => (options.client ?? client_gen_1.client).post({
|
|
3250
3002
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3251
|
-
url: '/
|
|
3003
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry',
|
|
3252
3004
|
...options,
|
|
3253
3005
|
headers: {
|
|
3254
3006
|
'Content-Type': 'application/json',
|
|
3255
3007
|
...options.headers
|
|
3256
3008
|
}
|
|
3257
3009
|
});
|
|
3258
|
-
exports.
|
|
3010
|
+
exports.opCreateManualClosingEntry = opCreateManualClosingEntry;
|
|
3259
3011
|
/**
|
|
3260
|
-
*
|
|
3012
|
+
* Create Taxonomy
|
|
3261
3013
|
*
|
|
3262
|
-
*
|
|
3014
|
+
* Create a new taxonomy definition.
|
|
3263
3015
|
*/
|
|
3264
|
-
const
|
|
3016
|
+
const opCreateTaxonomy = (options) => (options.client ?? client_gen_1.client).post({
|
|
3265
3017
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3266
|
-
url: '/
|
|
3267
|
-
...options
|
|
3018
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy',
|
|
3019
|
+
...options,
|
|
3020
|
+
headers: {
|
|
3021
|
+
'Content-Type': 'application/json',
|
|
3022
|
+
...options.headers
|
|
3023
|
+
}
|
|
3268
3024
|
});
|
|
3269
|
-
exports.
|
|
3025
|
+
exports.opCreateTaxonomy = opCreateTaxonomy;
|
|
3270
3026
|
/**
|
|
3271
|
-
*
|
|
3027
|
+
* Create Structure
|
|
3272
3028
|
*
|
|
3273
|
-
*
|
|
3029
|
+
* Create a new structure (statement, mapping, schedule, etc.).
|
|
3274
3030
|
*/
|
|
3275
|
-
const
|
|
3031
|
+
const opCreateStructure = (options) => (options.client ?? client_gen_1.client).post({
|
|
3276
3032
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3277
|
-
url: '/
|
|
3278
|
-
...options
|
|
3033
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-structure',
|
|
3034
|
+
...options,
|
|
3035
|
+
headers: {
|
|
3036
|
+
'Content-Type': 'application/json',
|
|
3037
|
+
...options.headers
|
|
3038
|
+
}
|
|
3279
3039
|
});
|
|
3280
|
-
exports.
|
|
3040
|
+
exports.opCreateStructure = opCreateStructure;
|
|
3281
3041
|
/**
|
|
3282
|
-
* Create
|
|
3042
|
+
* Create Mapping Association
|
|
3283
3043
|
*
|
|
3284
|
-
*
|
|
3044
|
+
* Add a mapping association (CoA element → reporting concept).
|
|
3285
3045
|
*/
|
|
3286
|
-
const
|
|
3046
|
+
const opCreateMappingAssociation = (options) => (options.client ?? client_gen_1.client).post({
|
|
3287
3047
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3288
|
-
url: '/
|
|
3048
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association',
|
|
3289
3049
|
...options,
|
|
3290
3050
|
headers: {
|
|
3291
3051
|
'Content-Type': 'application/json',
|
|
3292
3052
|
...options.headers
|
|
3293
3053
|
}
|
|
3294
3054
|
});
|
|
3295
|
-
exports.
|
|
3055
|
+
exports.opCreateMappingAssociation = opCreateMappingAssociation;
|
|
3296
3056
|
/**
|
|
3297
|
-
*
|
|
3298
|
-
*
|
|
3299
|
-
* End a schedule early.
|
|
3300
|
-
*
|
|
3301
|
-
* Used for events that cut a schedule's lifespan short — an asset is sold,
|
|
3302
|
-
* a prepaid is cancelled, a contract is terminated. Deletes all facts with
|
|
3303
|
-
* `period_start > new_end_date` and any stale draft entries that were
|
|
3304
|
-
* produced from them.
|
|
3305
|
-
*
|
|
3306
|
-
* Posted entries are preserved — if any period after `new_end_date` has a
|
|
3307
|
-
* posted closing entry, the truncate fails with 422 and the caller must
|
|
3308
|
-
* reopen that period first.
|
|
3057
|
+
* Delete Mapping Association
|
|
3309
3058
|
*
|
|
3310
|
-
*
|
|
3059
|
+
* Remove a mapping association.
|
|
3311
3060
|
*/
|
|
3312
|
-
const
|
|
3061
|
+
const opDeleteMappingAssociation = (options) => (options.client ?? client_gen_1.client).post({
|
|
3313
3062
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3314
|
-
url: '/
|
|
3063
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association',
|
|
3315
3064
|
...options,
|
|
3316
3065
|
headers: {
|
|
3317
3066
|
'Content-Type': 'application/json',
|
|
3318
3067
|
...options.headers
|
|
3319
3068
|
}
|
|
3320
3069
|
});
|
|
3321
|
-
exports.
|
|
3070
|
+
exports.opDeleteMappingAssociation = opDeleteMappingAssociation;
|
|
3322
3071
|
/**
|
|
3323
|
-
*
|
|
3324
|
-
*
|
|
3325
|
-
* Create a manual (non-schedule) draft closing entry.
|
|
3072
|
+
* Auto-Map Elements via AI (async)
|
|
3326
3073
|
*
|
|
3327
|
-
*
|
|
3328
|
-
* disposals, impairments, reclassifications, correcting entries.
|
|
3074
|
+
* Trigger autonomous CoA → US GAAP mapping via background worker.
|
|
3329
3075
|
*
|
|
3330
|
-
*
|
|
3331
|
-
*
|
|
3332
|
-
* `
|
|
3076
|
+
* This is the only async/Dagster-dispatched ledger operation. Instead
|
|
3077
|
+
* of running synchronously, it enqueues a `MappingAgent` task and
|
|
3078
|
+
* returns a `pending` envelope with the worker-issued operation_id —
|
|
3079
|
+
* callers subscribe via `/v1/operations/{operation_id}/stream` for SSE
|
|
3080
|
+
* progress events.
|
|
3333
3081
|
*
|
|
3334
|
-
*
|
|
3335
|
-
*
|
|
3336
|
-
*
|
|
3082
|
+
* Confidence thresholds (in the agent):
|
|
3083
|
+
* - ≥0.90: auto-approved mapping
|
|
3084
|
+
* - 0.70-0.89: flagged for review
|
|
3085
|
+
* - <0.70: skipped (left unmapped)
|
|
3337
3086
|
*/
|
|
3338
|
-
const
|
|
3087
|
+
const opAutoMapElements = (options) => (options.client ?? client_gen_1.client).post({
|
|
3339
3088
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3340
|
-
url: '/
|
|
3089
|
+
url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements',
|
|
3341
3090
|
...options,
|
|
3342
3091
|
headers: {
|
|
3343
3092
|
'Content-Type': 'application/json',
|
|
3344
3093
|
...options.headers
|
|
3345
3094
|
}
|
|
3346
3095
|
});
|
|
3347
|
-
exports.
|
|
3348
|
-
/**
|
|
3349
|
-
* List Publish Lists
|
|
3350
|
-
*/
|
|
3351
|
-
const listPublishLists = (options) => (options.client ?? client_gen_1.client).get({
|
|
3352
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3353
|
-
url: '/v1/ledger/{graph_id}/publish-lists',
|
|
3354
|
-
...options
|
|
3355
|
-
});
|
|
3356
|
-
exports.listPublishLists = listPublishLists;
|
|
3096
|
+
exports.opAutoMapElements = opAutoMapElements;
|
|
3357
3097
|
/**
|
|
3358
|
-
* Create
|
|
3098
|
+
* Create Report
|
|
3099
|
+
*
|
|
3100
|
+
* Create a report definition, generate facts, and mark as published.
|
|
3359
3101
|
*/
|
|
3360
|
-
const
|
|
3102
|
+
const opCreateReport = (options) => (options.client ?? client_gen_1.client).post({
|
|
3361
3103
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3362
|
-
url: '/
|
|
3104
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-report',
|
|
3363
3105
|
...options,
|
|
3364
3106
|
headers: {
|
|
3365
3107
|
'Content-Type': 'application/json',
|
|
3366
3108
|
...options.headers
|
|
3367
3109
|
}
|
|
3368
3110
|
});
|
|
3369
|
-
exports.
|
|
3111
|
+
exports.opCreateReport = opCreateReport;
|
|
3370
3112
|
/**
|
|
3371
|
-
*
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3375
|
-
url: '/v1/ledger/{graph_id}/publish-lists/{list_id}',
|
|
3376
|
-
...options
|
|
3377
|
-
});
|
|
3378
|
-
exports.deletePublishList = deletePublishList;
|
|
3379
|
-
/**
|
|
3380
|
-
* Get Publish List
|
|
3381
|
-
*/
|
|
3382
|
-
const getPublishList = (options) => (options.client ?? client_gen_1.client).get({
|
|
3383
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3384
|
-
url: '/v1/ledger/{graph_id}/publish-lists/{list_id}',
|
|
3385
|
-
...options
|
|
3386
|
-
});
|
|
3387
|
-
exports.getPublishList = getPublishList;
|
|
3388
|
-
/**
|
|
3389
|
-
* Update Publish List
|
|
3113
|
+
* Regenerate Report
|
|
3114
|
+
*
|
|
3115
|
+
* Regenerate a report with new period dates.
|
|
3390
3116
|
*/
|
|
3391
|
-
const
|
|
3117
|
+
const opRegenerateReport = (options) => (options.client ?? client_gen_1.client).post({
|
|
3392
3118
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3393
|
-
url: '/
|
|
3119
|
+
url: '/extensions/roboledger/{graph_id}/operations/regenerate-report',
|
|
3394
3120
|
...options,
|
|
3395
3121
|
headers: {
|
|
3396
3122
|
'Content-Type': 'application/json',
|
|
3397
3123
|
...options.headers
|
|
3398
3124
|
}
|
|
3399
3125
|
});
|
|
3400
|
-
exports.
|
|
3126
|
+
exports.opRegenerateReport = opRegenerateReport;
|
|
3401
3127
|
/**
|
|
3402
|
-
*
|
|
3128
|
+
* Delete Report
|
|
3129
|
+
*
|
|
3130
|
+
* Delete a report definition and its facts.
|
|
3403
3131
|
*/
|
|
3404
|
-
const
|
|
3132
|
+
const opDeleteReport = (options) => (options.client ?? client_gen_1.client).post({
|
|
3405
3133
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3406
|
-
url: '/
|
|
3134
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-report',
|
|
3407
3135
|
...options,
|
|
3408
3136
|
headers: {
|
|
3409
3137
|
'Content-Type': 'application/json',
|
|
3410
3138
|
...options.headers
|
|
3411
3139
|
}
|
|
3412
3140
|
});
|
|
3413
|
-
exports.
|
|
3414
|
-
/**
|
|
3415
|
-
* Remove Member from Publish List
|
|
3416
|
-
*/
|
|
3417
|
-
const removePublishListMember = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3418
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3419
|
-
url: '/v1/ledger/{graph_id}/publish-lists/{list_id}/members/{member_id}',
|
|
3420
|
-
...options
|
|
3421
|
-
});
|
|
3422
|
-
exports.removePublishListMember = removePublishListMember;
|
|
3141
|
+
exports.opDeleteReport = opDeleteReport;
|
|
3423
3142
|
/**
|
|
3424
|
-
*
|
|
3425
|
-
*
|
|
3426
|
-
* Account rollups — CoA accounts grouped by reporting element with balances.
|
|
3427
|
-
*
|
|
3428
|
-
* Shows how company-specific accounts roll up to standardized reporting
|
|
3429
|
-
* line items. Auto-discovers the mapping structure if mapping_id is not provided.
|
|
3430
|
-
*/
|
|
3431
|
-
const getAccountRollups = (options) => (options.client ?? client_gen_1.client).get({
|
|
3432
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3433
|
-
url: '/v1/ledger/{graph_id}/account-rollups',
|
|
3434
|
-
...options
|
|
3435
|
-
});
|
|
3436
|
-
exports.getAccountRollups = getAccountRollups;
|
|
3437
|
-
/**
|
|
3438
|
-
* Closing Book Structures
|
|
3439
|
-
*
|
|
3440
|
-
* Returns all structure categories for the closing book sidebar.
|
|
3143
|
+
* Share Report
|
|
3441
3144
|
*
|
|
3442
|
-
*
|
|
3443
|
-
* (from mapping structures), and trial balance availability into a single
|
|
3444
|
-
* response for the viewer sidebar navigation.
|
|
3145
|
+
* Share a published report to a publish list's members.
|
|
3445
3146
|
*/
|
|
3446
|
-
const
|
|
3147
|
+
const opShareReport = (options) => (options.client ?? client_gen_1.client).post({
|
|
3447
3148
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3448
|
-
url: '/
|
|
3449
|
-
...options
|
|
3149
|
+
url: '/extensions/roboledger/{graph_id}/operations/share-report',
|
|
3150
|
+
...options,
|
|
3151
|
+
headers: {
|
|
3152
|
+
'Content-Type': 'application/json',
|
|
3153
|
+
...options.headers
|
|
3154
|
+
}
|
|
3450
3155
|
});
|
|
3451
|
-
exports.
|
|
3156
|
+
exports.opShareReport = opShareReport;
|
|
3452
3157
|
/**
|
|
3453
|
-
*
|
|
3454
|
-
*
|
|
3455
|
-
* One-time ledger initialization.
|
|
3456
|
-
*
|
|
3457
|
-
* Creates the fiscal calendar, seeds `FiscalPeriod` rows for the data window,
|
|
3458
|
-
* and sets `closed_through` / `close_target`. Fails if the calendar already
|
|
3459
|
-
* exists — use the reopen flow to undo prior closes instead of re-initializing.
|
|
3158
|
+
* Create Publish List
|
|
3460
3159
|
*
|
|
3461
|
-
*
|
|
3462
|
-
* creation is deferred to the SchedulerAgent (Phase 5).
|
|
3160
|
+
* Create a new publish list.
|
|
3463
3161
|
*/
|
|
3464
|
-
const
|
|
3162
|
+
const opCreatePublishList = (options) => (options.client ?? client_gen_1.client).post({
|
|
3465
3163
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3466
|
-
url: '/
|
|
3164
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-publish-list',
|
|
3467
3165
|
...options,
|
|
3468
3166
|
headers: {
|
|
3469
3167
|
'Content-Type': 'application/json',
|
|
3470
3168
|
...options.headers
|
|
3471
3169
|
}
|
|
3472
3170
|
});
|
|
3473
|
-
exports.
|
|
3171
|
+
exports.opCreatePublishList = opCreatePublishList;
|
|
3474
3172
|
/**
|
|
3475
|
-
*
|
|
3173
|
+
* Update Publish List
|
|
3476
3174
|
*
|
|
3477
|
-
*
|
|
3175
|
+
* Update a publish list's name / description.
|
|
3478
3176
|
*/
|
|
3479
|
-
const
|
|
3177
|
+
const opUpdatePublishList = (options) => (options.client ?? client_gen_1.client).post({
|
|
3480
3178
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3481
|
-
url: '/
|
|
3482
|
-
...options
|
|
3179
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-publish-list',
|
|
3180
|
+
...options,
|
|
3181
|
+
headers: {
|
|
3182
|
+
'Content-Type': 'application/json',
|
|
3183
|
+
...options.headers
|
|
3184
|
+
}
|
|
3483
3185
|
});
|
|
3484
|
-
exports.
|
|
3186
|
+
exports.opUpdatePublishList = opUpdatePublishList;
|
|
3485
3187
|
/**
|
|
3486
|
-
*
|
|
3487
|
-
*
|
|
3488
|
-
* Set the close target for a graph.
|
|
3188
|
+
* Delete Publish List
|
|
3489
3189
|
*
|
|
3490
|
-
*
|
|
3491
|
-
* and is not before the current `closed_through`. Emits a `target_changed`
|
|
3492
|
-
* audit event. Returns the updated calendar state.
|
|
3190
|
+
* Delete a publish list.
|
|
3493
3191
|
*/
|
|
3494
|
-
const
|
|
3192
|
+
const opDeletePublishList = (options) => (options.client ?? client_gen_1.client).post({
|
|
3495
3193
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3496
|
-
url: '/
|
|
3194
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-publish-list',
|
|
3497
3195
|
...options,
|
|
3498
3196
|
headers: {
|
|
3499
3197
|
'Content-Type': 'application/json',
|
|
3500
3198
|
...options.headers
|
|
3501
3199
|
}
|
|
3502
3200
|
});
|
|
3503
|
-
exports.
|
|
3201
|
+
exports.opDeletePublishList = opDeletePublishList;
|
|
3504
3202
|
/**
|
|
3505
|
-
*
|
|
3506
|
-
*
|
|
3507
|
-
* Close a fiscal period — the final commit action.
|
|
3203
|
+
* Add Members to Publish List
|
|
3508
3204
|
*
|
|
3509
|
-
*
|
|
3510
|
-
* resolves auth + QB sync state, invokes the service, and translates
|
|
3511
|
-
* domain exceptions into HTTP responses.
|
|
3205
|
+
* Add target graphs as members of a publish list.
|
|
3512
3206
|
*/
|
|
3513
|
-
const
|
|
3207
|
+
const opAddPublishListMembers = (options) => (options.client ?? client_gen_1.client).post({
|
|
3514
3208
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3515
|
-
url: '/
|
|
3209
|
+
url: '/extensions/roboledger/{graph_id}/operations/add-publish-list-members',
|
|
3516
3210
|
...options,
|
|
3517
3211
|
headers: {
|
|
3518
3212
|
'Content-Type': 'application/json',
|
|
3519
3213
|
...options.headers
|
|
3520
3214
|
}
|
|
3521
3215
|
});
|
|
3522
|
-
exports.
|
|
3216
|
+
exports.opAddPublishListMembers = opAddPublishListMembers;
|
|
3523
3217
|
/**
|
|
3524
|
-
*
|
|
3525
|
-
*
|
|
3526
|
-
* Reopen a closed fiscal period.
|
|
3527
|
-
*
|
|
3528
|
-
* Transitions the period status from 'closed' to 'closing' (drafts may still
|
|
3529
|
-
* exist for this period after reopening). If the reopened period is the
|
|
3530
|
-
* current `closed_through`, decrements the pointer. Requires a non-empty
|
|
3531
|
-
* `reason` for the audit log. Does NOT modify `close_target` — that's a
|
|
3532
|
-
* separate user decision.
|
|
3218
|
+
* Remove Member from Publish List
|
|
3533
3219
|
*
|
|
3534
|
-
*
|
|
3535
|
-
* additional adjustments, review, and close the period again.
|
|
3220
|
+
* Remove a target graph from a publish list.
|
|
3536
3221
|
*/
|
|
3537
|
-
const
|
|
3222
|
+
const opRemovePublishListMember = (options) => (options.client ?? client_gen_1.client).post({
|
|
3538
3223
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3539
|
-
url: '/
|
|
3224
|
+
url: '/extensions/roboledger/{graph_id}/operations/remove-publish-list-member',
|
|
3540
3225
|
...options,
|
|
3541
3226
|
headers: {
|
|
3542
3227
|
'Content-Type': 'application/json',
|
|
3543
3228
|
...options.headers
|
|
3544
3229
|
}
|
|
3545
3230
|
});
|
|
3546
|
-
exports.
|
|
3231
|
+
exports.opRemovePublishListMember = opRemovePublishListMember;
|
|
3547
3232
|
/**
|
|
3548
|
-
*
|
|
3549
|
-
*
|
|
3550
|
-
* List all draft entries in a fiscal period for review before close.
|
|
3551
|
-
*
|
|
3552
|
-
* Returns every draft entry whose `posting_date` falls within the period,
|
|
3553
|
-
* fully expanded with line items, element names/codes, source schedule
|
|
3554
|
-
* structure name, and per-entry balance check.
|
|
3233
|
+
* Build Fact Grid
|
|
3555
3234
|
*
|
|
3556
|
-
*
|
|
3235
|
+
* Build a multi-dimensional fact grid against the graph schema.
|
|
3557
3236
|
*
|
|
3558
|
-
*
|
|
3559
|
-
*
|
|
3560
|
-
*
|
|
3237
|
+
* Queries `Fact` nodes by element qnames or canonical concepts with
|
|
3238
|
+
* optional filters for periods, entities, filing form, fiscal context,
|
|
3239
|
+
* and period type. Returns a deduplicated pivot table plus optional
|
|
3240
|
+
* summary statistics.
|
|
3561
3241
|
*
|
|
3562
|
-
* This is a
|
|
3242
|
+
* This is a graph-database read — the query runs against LadybugDB,
|
|
3243
|
+
* not the extensions OLTP database. The same operation works for
|
|
3244
|
+
* roboledger tenant graphs (post-materialization) and the SEC shared
|
|
3245
|
+
* repository (which uses the same XBRL hypercube schema).
|
|
3563
3246
|
*/
|
|
3564
|
-
const
|
|
3247
|
+
const opBuildFactGrid = (options) => (options.client ?? client_gen_1.client).post({
|
|
3565
3248
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3566
|
-
url: '/
|
|
3567
|
-
...options
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
*/
|
|
3573
|
-
const listPortfolios = (options) => (options.client ?? client_gen_1.client).get({
|
|
3574
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3575
|
-
url: '/v1/investor/{graph_id}/portfolios',
|
|
3576
|
-
...options
|
|
3249
|
+
url: '/extensions/roboledger/{graph_id}/operations/build-fact-grid',
|
|
3250
|
+
...options,
|
|
3251
|
+
headers: {
|
|
3252
|
+
'Content-Type': 'application/json',
|
|
3253
|
+
...options.headers
|
|
3254
|
+
}
|
|
3577
3255
|
});
|
|
3578
|
-
exports.
|
|
3256
|
+
exports.opBuildFactGrid = opBuildFactGrid;
|
|
3579
3257
|
/**
|
|
3580
3258
|
* Create Portfolio
|
|
3581
3259
|
*/
|
|
3582
|
-
const
|
|
3260
|
+
const opCreatePortfolio = (options) => (options.client ?? client_gen_1.client).post({
|
|
3583
3261
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3584
|
-
url: '/
|
|
3262
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-portfolio',
|
|
3585
3263
|
...options,
|
|
3586
3264
|
headers: {
|
|
3587
3265
|
'Content-Type': 'application/json',
|
|
3588
3266
|
...options.headers
|
|
3589
3267
|
}
|
|
3590
3268
|
});
|
|
3591
|
-
exports.
|
|
3592
|
-
/**
|
|
3593
|
-
* Delete Portfolio
|
|
3594
|
-
*/
|
|
3595
|
-
const deletePortfolio = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3596
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3597
|
-
url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}',
|
|
3598
|
-
...options
|
|
3599
|
-
});
|
|
3600
|
-
exports.deletePortfolio = deletePortfolio;
|
|
3601
|
-
/**
|
|
3602
|
-
* Get Portfolio
|
|
3603
|
-
*/
|
|
3604
|
-
const getPortfolio = (options) => (options.client ?? client_gen_1.client).get({
|
|
3605
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3606
|
-
url: '/v1/investor/{graph_id}/portfolios/{portfolio_id}',
|
|
3607
|
-
...options
|
|
3608
|
-
});
|
|
3609
|
-
exports.getPortfolio = getPortfolio;
|
|
3269
|
+
exports.opCreatePortfolio = opCreatePortfolio;
|
|
3610
3270
|
/**
|
|
3611
3271
|
* Update Portfolio
|
|
3612
3272
|
*/
|
|
3613
|
-
const
|
|
3273
|
+
const opUpdatePortfolio = (options) => (options.client ?? client_gen_1.client).post({
|
|
3614
3274
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3615
|
-
url: '/
|
|
3275
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-portfolio',
|
|
3616
3276
|
...options,
|
|
3617
3277
|
headers: {
|
|
3618
3278
|
'Content-Type': 'application/json',
|
|
3619
3279
|
...options.headers
|
|
3620
3280
|
}
|
|
3621
3281
|
});
|
|
3622
|
-
exports.
|
|
3282
|
+
exports.opUpdatePortfolio = opUpdatePortfolio;
|
|
3623
3283
|
/**
|
|
3624
|
-
*
|
|
3284
|
+
* Delete Portfolio
|
|
3625
3285
|
*/
|
|
3626
|
-
const
|
|
3286
|
+
const opDeletePortfolio = (options) => (options.client ?? client_gen_1.client).post({
|
|
3627
3287
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3628
|
-
url: '/
|
|
3629
|
-
...options
|
|
3288
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-portfolio',
|
|
3289
|
+
...options,
|
|
3290
|
+
headers: {
|
|
3291
|
+
'Content-Type': 'application/json',
|
|
3292
|
+
...options.headers
|
|
3293
|
+
}
|
|
3630
3294
|
});
|
|
3631
|
-
exports.
|
|
3295
|
+
exports.opDeletePortfolio = opDeletePortfolio;
|
|
3632
3296
|
/**
|
|
3633
3297
|
* Create Security
|
|
3634
3298
|
*/
|
|
3635
|
-
const
|
|
3299
|
+
const opCreateSecurity = (options) => (options.client ?? client_gen_1.client).post({
|
|
3636
3300
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3637
|
-
url: '/
|
|
3301
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-security',
|
|
3638
3302
|
...options,
|
|
3639
3303
|
headers: {
|
|
3640
3304
|
'Content-Type': 'application/json',
|
|
3641
3305
|
...options.headers
|
|
3642
3306
|
}
|
|
3643
3307
|
});
|
|
3644
|
-
exports.
|
|
3645
|
-
/**
|
|
3646
|
-
* Delete Security
|
|
3647
|
-
*/
|
|
3648
|
-
const deleteSecurity = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3649
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3650
|
-
url: '/v1/investor/{graph_id}/securities/{security_id}',
|
|
3651
|
-
...options
|
|
3652
|
-
});
|
|
3653
|
-
exports.deleteSecurity = deleteSecurity;
|
|
3654
|
-
/**
|
|
3655
|
-
* Get Security
|
|
3656
|
-
*/
|
|
3657
|
-
const getSecurity = (options) => (options.client ?? client_gen_1.client).get({
|
|
3658
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3659
|
-
url: '/v1/investor/{graph_id}/securities/{security_id}',
|
|
3660
|
-
...options
|
|
3661
|
-
});
|
|
3662
|
-
exports.getSecurity = getSecurity;
|
|
3308
|
+
exports.opCreateSecurity = opCreateSecurity;
|
|
3663
3309
|
/**
|
|
3664
3310
|
* Update Security
|
|
3665
3311
|
*/
|
|
3666
|
-
const
|
|
3312
|
+
const opUpdateSecurity = (options) => (options.client ?? client_gen_1.client).post({
|
|
3667
3313
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3668
|
-
url: '/
|
|
3314
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-security',
|
|
3669
3315
|
...options,
|
|
3670
3316
|
headers: {
|
|
3671
3317
|
'Content-Type': 'application/json',
|
|
3672
3318
|
...options.headers
|
|
3673
3319
|
}
|
|
3674
3320
|
});
|
|
3675
|
-
exports.
|
|
3321
|
+
exports.opUpdateSecurity = opUpdateSecurity;
|
|
3676
3322
|
/**
|
|
3677
|
-
*
|
|
3323
|
+
* Delete Security
|
|
3678
3324
|
*/
|
|
3679
|
-
const
|
|
3325
|
+
const opDeleteSecurity = (options) => (options.client ?? client_gen_1.client).post({
|
|
3680
3326
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3681
|
-
url: '/
|
|
3682
|
-
...options
|
|
3327
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-security',
|
|
3328
|
+
...options,
|
|
3329
|
+
headers: {
|
|
3330
|
+
'Content-Type': 'application/json',
|
|
3331
|
+
...options.headers
|
|
3332
|
+
}
|
|
3683
3333
|
});
|
|
3684
|
-
exports.
|
|
3334
|
+
exports.opDeleteSecurity = opDeleteSecurity;
|
|
3685
3335
|
/**
|
|
3686
3336
|
* Create Position
|
|
3687
3337
|
*/
|
|
3688
|
-
const
|
|
3338
|
+
const opCreatePosition = (options) => (options.client ?? client_gen_1.client).post({
|
|
3689
3339
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3690
|
-
url: '/
|
|
3340
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/create-position',
|
|
3691
3341
|
...options,
|
|
3692
3342
|
headers: {
|
|
3693
3343
|
'Content-Type': 'application/json',
|
|
3694
3344
|
...options.headers
|
|
3695
3345
|
}
|
|
3696
3346
|
});
|
|
3697
|
-
exports.
|
|
3698
|
-
/**
|
|
3699
|
-
* Delete Position
|
|
3700
|
-
*/
|
|
3701
|
-
const deletePosition = (options) => (options.client ?? client_gen_1.client).delete({
|
|
3702
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3703
|
-
url: '/v1/investor/{graph_id}/positions/{position_id}',
|
|
3704
|
-
...options
|
|
3705
|
-
});
|
|
3706
|
-
exports.deletePosition = deletePosition;
|
|
3707
|
-
/**
|
|
3708
|
-
* Get Position
|
|
3709
|
-
*/
|
|
3710
|
-
const getPosition = (options) => (options.client ?? client_gen_1.client).get({
|
|
3711
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3712
|
-
url: '/v1/investor/{graph_id}/positions/{position_id}',
|
|
3713
|
-
...options
|
|
3714
|
-
});
|
|
3715
|
-
exports.getPosition = getPosition;
|
|
3347
|
+
exports.opCreatePosition = opCreatePosition;
|
|
3716
3348
|
/**
|
|
3717
3349
|
* Update Position
|
|
3718
3350
|
*/
|
|
3719
|
-
const
|
|
3351
|
+
const opUpdatePosition = (options) => (options.client ?? client_gen_1.client).post({
|
|
3720
3352
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3721
|
-
url: '/
|
|
3353
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/update-position',
|
|
3722
3354
|
...options,
|
|
3723
3355
|
headers: {
|
|
3724
3356
|
'Content-Type': 'application/json',
|
|
3725
3357
|
...options.headers
|
|
3726
3358
|
}
|
|
3727
3359
|
});
|
|
3728
|
-
exports.
|
|
3360
|
+
exports.opUpdatePosition = opUpdatePosition;
|
|
3729
3361
|
/**
|
|
3730
|
-
*
|
|
3362
|
+
* Delete Position
|
|
3731
3363
|
*/
|
|
3732
|
-
const
|
|
3364
|
+
const opDeletePosition = (options) => (options.client ?? client_gen_1.client).post({
|
|
3733
3365
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3734
|
-
url: '/
|
|
3735
|
-
...options
|
|
3366
|
+
url: '/extensions/roboinvestor/{graph_id}/operations/delete-position',
|
|
3367
|
+
...options,
|
|
3368
|
+
headers: {
|
|
3369
|
+
'Content-Type': 'application/json',
|
|
3370
|
+
...options.headers
|
|
3371
|
+
}
|
|
3736
3372
|
});
|
|
3737
|
-
exports.
|
|
3373
|
+
exports.opDeletePosition = opDeletePosition;
|