@robosystems/client 0.3.1 → 0.3.3
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 → artifacts}/InvestorClient.js +0 -1
- package/{extensions → artifacts}/InvestorClient.ts +1 -1
- package/{extensions → artifacts}/LedgerClient.d.ts +168 -2
- package/{extensions → artifacts}/LedgerClient.js +301 -2
- package/{extensions → artifacts}/LedgerClient.ts +645 -2
- package/{extensions → artifacts}/config.d.ts +11 -11
- package/{extensions → artifacts}/config.js +11 -11
- package/{extensions → artifacts}/config.ts +16 -16
- package/{extensions → artifacts}/graphql/client.d.ts +1 -1
- package/{extensions → artifacts}/graphql/client.js +1 -2
- package/{extensions → artifacts}/graphql/client.ts +2 -2
- package/{extensions → artifacts}/hooks.js +6 -6
- package/{extensions → artifacts}/hooks.ts +7 -7
- package/{extensions → artifacts}/index.d.ts +21 -18
- package/{extensions → artifacts}/index.js +43 -53
- package/{extensions → artifacts}/index.ts +47 -60
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +38 -8
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +27 -9
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +272 -274
- package/sdk/sdk.gen.js +468 -312
- package/sdk/sdk.gen.ts +464 -309
- package/sdk/types.gen.d.ts +2962 -440
- package/sdk/types.gen.ts +3058 -430
- package/sdk.gen.d.ts +272 -274
- package/sdk.gen.js +468 -312
- package/sdk.gen.ts +464 -309
- package/types.gen.d.ts +2962 -440
- package/types.gen.ts +3058 -430
- package/extensions/ReportClient.d.ts +0 -120
- package/extensions/ReportClient.js +0 -191
- package/extensions/ReportClient.ts +0 -433
- /package/{extensions → artifacts}/AgentClient.d.ts +0 -0
- /package/{extensions → artifacts}/AgentClient.js +0 -0
- /package/{extensions → artifacts}/AgentClient.ts +0 -0
- /package/{extensions → artifacts}/InvestorClient.d.ts +0 -0
- /package/{extensions → artifacts}/OperationClient.d.ts +0 -0
- /package/{extensions → artifacts}/OperationClient.js +0 -0
- /package/{extensions → artifacts}/OperationClient.ts +0 -0
- /package/{extensions → artifacts}/QueryClient.d.ts +0 -0
- /package/{extensions → artifacts}/QueryClient.js +0 -0
- /package/{extensions → artifacts}/QueryClient.ts +0 -0
- /package/{extensions → artifacts}/SSEClient.d.ts +0 -0
- /package/{extensions → artifacts}/SSEClient.js +0 -0
- /package/{extensions → artifacts}/SSEClient.ts +0 -0
- /package/{extensions → artifacts}/graphql/generated/graphql.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/generated/graphql.js +0 -0
- /package/{extensions → artifacts}/graphql/generated/graphql.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/holdings.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/holdings.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/holdings.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/portfolio.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/portfolio.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/portfolio.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/portfolios.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/portfolios.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/portfolios.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/position.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/position.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/position.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/positions.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/positions.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/positions.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/securities.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/securities.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/securities.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/security.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/security.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/investor/security.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accountRollups.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accountRollups.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accountRollups.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accountTree.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accountTree.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accountTree.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accounts.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accounts.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/accounts.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/closingBookStructures.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/closingBookStructures.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/closingBookStructures.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/elements.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/elements.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/elements.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/entities.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/entities.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/entities.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/entity.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/entity.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/entity.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/fiscalCalendar.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/fiscalCalendar.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/fiscalCalendar.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappedTrialBalance.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappedTrialBalance.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappedTrialBalance.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mapping.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mapping.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mapping.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappingCoverage.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappingCoverage.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappingCoverage.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappings.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappings.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/mappings.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/periodCloseStatus.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/periodCloseStatus.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/periodCloseStatus.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/periodDrafts.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/periodDrafts.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/periodDrafts.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/publishList.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/publishList.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/publishList.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/publishLists.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/publishLists.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/publishLists.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/report.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/report.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/report.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/reportingTaxonomy.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/reportingTaxonomy.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/reportingTaxonomy.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/reports.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/reports.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/reports.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/scheduleFacts.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/scheduleFacts.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/scheduleFacts.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/schedules.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/schedules.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/schedules.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/statement.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/statement.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/statement.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/structures.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/structures.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/structures.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/summary.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/summary.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/summary.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/taxonomies.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/taxonomies.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/taxonomies.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/transaction.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/transaction.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/transaction.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/transactions.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/transactions.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/transactions.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/trialBalance.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/trialBalance.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/trialBalance.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/unmappedElements.d.ts +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/unmappedElements.js +0 -0
- /package/{extensions → artifacts}/graphql/queries/ledger/unmappedElements.ts +0 -0
- /package/{extensions → artifacts}/hooks.d.ts +0 -0
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 { 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';
|
|
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, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateConnectionData, CreateConnectionErrors, CreateConnectionResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, DeleteConnectionData, DeleteConnectionErrors, DeleteConnectionResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteFileData, DeleteFileErrors, DeleteFileResponses, 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, 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, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, OpAddPublishListMembersData, OpAddPublishListMembersErrors, OpAddPublishListMembersResponses, OpAutoMapElementsData, OpAutoMapElementsErrors, OpAutoMapElementsResponses, OpBuildFactGridData, OpBuildFactGridErrors, OpBuildFactGridResponses, OpClosePeriodData, OpClosePeriodErrors, OpClosePeriodResponses, OpCreateAssociationsData, OpCreateAssociationsErrors, OpCreateAssociationsResponses, OpCreateBackupData, OpCreateBackupErrors, OpCreateBackupResponses, OpCreateClosingEntryData, OpCreateClosingEntryErrors, OpCreateClosingEntryResponses, OpCreateElementData, OpCreateElementErrors, OpCreateElementResponses, OpCreateJournalEntryData, OpCreateJournalEntryErrors, OpCreateJournalEntryResponses, 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, OpCreateSubgraphData, OpCreateSubgraphErrors, OpCreateSubgraphResponses, OpCreateTaxonomyData, OpCreateTaxonomyErrors, OpCreateTaxonomyResponses, OpDeleteAssociationData, OpDeleteAssociationErrors, OpDeleteAssociationResponses, OpDeleteElementData, OpDeleteElementErrors, OpDeleteElementResponses, OpDeleteJournalEntryData, OpDeleteJournalEntryErrors, OpDeleteJournalEntryResponses, OpDeleteMappingAssociationData, OpDeleteMappingAssociationErrors, OpDeleteMappingAssociationResponses, OpDeletePortfolioData, OpDeletePortfolioErrors, OpDeletePortfolioResponses, OpDeletePositionData, OpDeletePositionErrors, OpDeletePositionResponses, OpDeletePublishListData, OpDeletePublishListErrors, OpDeletePublishListResponses, OpDeleteReportData, OpDeleteReportErrors, OpDeleteReportResponses, OpDeleteScheduleData, OpDeleteScheduleErrors, OpDeleteScheduleResponses, OpDeleteSecurityData, OpDeleteSecurityErrors, OpDeleteSecurityResponses, OpDeleteStructureData, OpDeleteStructureErrors, OpDeleteStructureResponses, OpDeleteSubgraphData, OpDeleteSubgraphErrors, OpDeleteSubgraphResponses, OpDeleteTaxonomyData, OpDeleteTaxonomyErrors, OpDeleteTaxonomyResponses, OpInitializeLedgerData, OpInitializeLedgerErrors, OpInitializeLedgerResponses, OpLinkEntityTaxonomyData, OpLinkEntityTaxonomyErrors, OpLinkEntityTaxonomyResponses, OpMaterializeData, OpMaterializeErrors, OpMaterializeResponses, OpRegenerateReportData, OpRegenerateReportErrors, OpRegenerateReportResponses, OpRemovePublishListMemberData, OpRemovePublishListMemberErrors, OpRemovePublishListMemberResponses, OpReopenPeriodData, OpReopenPeriodErrors, OpReopenPeriodResponses, OpRestoreBackupData, OpRestoreBackupErrors, OpRestoreBackupResponses, OpReverseJournalEntryData, OpReverseJournalEntryErrors, OpReverseJournalEntryResponses, OpSetCloseTargetData, OpSetCloseTargetErrors, OpSetCloseTargetResponses, OpShareReportData, OpShareReportErrors, OpShareReportResponses, OpTruncateScheduleData, OpTruncateScheduleErrors, OpTruncateScheduleResponses, OpUpdateAssociationData, OpUpdateAssociationErrors, OpUpdateAssociationResponses, OpUpdateElementData, OpUpdateElementErrors, OpUpdateElementResponses, OpUpdateEntityData, OpUpdateEntityErrors, OpUpdateEntityResponses, OpUpdateJournalEntryData, OpUpdateJournalEntryErrors, OpUpdateJournalEntryResponses, OpUpdatePortfolioData, OpUpdatePortfolioErrors, OpUpdatePortfolioResponses, OpUpdatePositionData, OpUpdatePositionErrors, OpUpdatePositionResponses, OpUpdatePublishListData, OpUpdatePublishListErrors, OpUpdatePublishListResponses, OpUpdateScheduleData, OpUpdateScheduleErrors, OpUpdateScheduleResponses, OpUpdateSecurityData, OpUpdateSecurityErrors, OpUpdateSecurityResponses, OpUpdateStructureData, OpUpdateStructureErrors, OpUpdateStructureResponses, OpUpdateTaxonomyData, OpUpdateTaxonomyErrors, OpUpdateTaxonomyResponses, OpUpgradeTierData, OpUpgradeTierErrors, OpUpgradeTierResponses, QueryTablesData, QueryTablesErrors, QueryTablesResponses, RecommendAgentData, RecommendAgentErrors, RecommendAgentResponses, RefreshAuthSessionData, RefreshAuthSessionErrors, RefreshAuthSessionResponses, RegisterUserData, RegisterUserErrors, RegisterUserResponses, RemoveOrgMemberData, RemoveOrgMemberErrors, RemoveOrgMemberResponses, ResendVerificationEmailData, ResendVerificationEmailErrors, ResendVerificationEmailResponses, ResetPasswordData, ResetPasswordErrors, ResetPasswordResponses, 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
|
/**
|
|
@@ -918,80 +918,6 @@ export const listBackups = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
918
918
|
...options
|
|
919
919
|
});
|
|
920
920
|
|
|
921
|
-
/**
|
|
922
|
-
* Create Backup
|
|
923
|
-
*
|
|
924
|
-
* Create a backup of the graph database.
|
|
925
|
-
*
|
|
926
|
-
* Creates a complete backup of the graph database (.lbug file) with:
|
|
927
|
-
* - **Format**: Full database backup only (complete .lbug file)
|
|
928
|
-
* - **Compression**: Always enabled for optimal storage
|
|
929
|
-
* - **Encryption**: Optional AES-256 encryption for security
|
|
930
|
-
* - **Retention**: Configurable retention period (1-2555 days)
|
|
931
|
-
*
|
|
932
|
-
* **Backup Features:**
|
|
933
|
-
* - **Complete Backup**: Full database file backup
|
|
934
|
-
* - **Consistency**: Point-in-time consistent snapshot
|
|
935
|
-
* - **Download Support**: Unencrypted backups can be downloaded
|
|
936
|
-
* - **Restore Support**: Future support for encrypted backup restoration
|
|
937
|
-
*
|
|
938
|
-
* **Operation State Machine:**
|
|
939
|
-
* ```
|
|
940
|
-
* pending → processing → completed
|
|
941
|
-
* ↘ failed
|
|
942
|
-
* ```
|
|
943
|
-
* - **pending**: Backup queued, waiting to start
|
|
944
|
-
* - **processing**: Actively backing up database
|
|
945
|
-
* - **completed**: Backup successfully created and stored
|
|
946
|
-
* - **failed**: Backup failed (check error message)
|
|
947
|
-
*
|
|
948
|
-
* **Expected Durations:**
|
|
949
|
-
* Operation times vary by database size:
|
|
950
|
-
* - **Small** (<1GB): 30 seconds - 2 minutes
|
|
951
|
-
* - **Medium** (1-10GB): 2-10 minutes
|
|
952
|
-
* - **Large** (10-100GB): 10-30 minutes
|
|
953
|
-
* - **Very Large** (>100GB): 30+ minutes
|
|
954
|
-
*
|
|
955
|
-
* **Progress Monitoring:**
|
|
956
|
-
* Use the returned operation_id to connect to the SSE stream:
|
|
957
|
-
* ```javascript
|
|
958
|
-
* const eventSource = new EventSource('/v1/operations/{operation_id}/stream');
|
|
959
|
-
* eventSource.addEventListener('operation_progress', (event) => {
|
|
960
|
-
* const data = JSON.parse(event.data);
|
|
961
|
-
* console.log('Backup progress:', data.progress_percent + '%');
|
|
962
|
-
* console.log('Status:', data.status); // pending, processing, completed, failed
|
|
963
|
-
* });
|
|
964
|
-
* ```
|
|
965
|
-
*
|
|
966
|
-
* **SSE Connection Limits:**
|
|
967
|
-
* - Maximum 5 concurrent SSE connections per user
|
|
968
|
-
* - Rate limited to 10 new connections per minute
|
|
969
|
-
* - Automatic circuit breaker for Redis failures
|
|
970
|
-
* - Graceful degradation if event system unavailable
|
|
971
|
-
*
|
|
972
|
-
* **Important Notes:**
|
|
973
|
-
* - Only full_dump format is supported (no CSV/JSON exports)
|
|
974
|
-
* - Compression is always enabled
|
|
975
|
-
* - Encrypted backups cannot be downloaded (security measure)
|
|
976
|
-
* - All backups are stored securely in cloud storage
|
|
977
|
-
*
|
|
978
|
-
* **Credit Consumption:**
|
|
979
|
-
* - Base cost: 25.0 credits
|
|
980
|
-
* - Large databases (>10GB): 50.0 credits
|
|
981
|
-
* - Multiplied by graph tier
|
|
982
|
-
*
|
|
983
|
-
* Returns operation details for SSE monitoring.
|
|
984
|
-
*/
|
|
985
|
-
export const createBackup = <ThrowOnError extends boolean = false>(options: Options<CreateBackupData, ThrowOnError>) => (options.client ?? client).post<CreateBackupResponses, CreateBackupErrors, ThrowOnError>({
|
|
986
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
987
|
-
url: '/v1/graphs/{graph_id}/backups',
|
|
988
|
-
...options,
|
|
989
|
-
headers: {
|
|
990
|
-
'Content-Type': 'application/json',
|
|
991
|
-
...options.headers
|
|
992
|
-
}
|
|
993
|
-
});
|
|
994
|
-
|
|
995
921
|
/**
|
|
996
922
|
* Get temporary download URL for backup
|
|
997
923
|
*
|
|
@@ -1003,85 +929,6 @@ export const getBackupDownloadUrl = <ThrowOnError extends boolean = false>(optio
|
|
|
1003
929
|
...options
|
|
1004
930
|
});
|
|
1005
931
|
|
|
1006
|
-
/**
|
|
1007
|
-
* Restore Encrypted Backup
|
|
1008
|
-
*
|
|
1009
|
-
* Restore a graph database from an encrypted backup.
|
|
1010
|
-
*
|
|
1011
|
-
* Restores a complete graph database from an encrypted backup:
|
|
1012
|
-
* - **Format**: Only full_dump backups can be restored
|
|
1013
|
-
* - **Encryption**: Only encrypted backups can be restored (security requirement)
|
|
1014
|
-
* - **System Backup**: Creates automatic backup of existing database before restore
|
|
1015
|
-
* - **Verification**: Optionally verifies database integrity after restore
|
|
1016
|
-
*
|
|
1017
|
-
* **Restore Features:**
|
|
1018
|
-
* - **Atomic Operation**: Complete replacement of database
|
|
1019
|
-
* - **Rollback Protection**: System backup created before restore
|
|
1020
|
-
* - **Data Integrity**: Verification ensures successful restore
|
|
1021
|
-
* - **Security**: Only encrypted backups to prevent data tampering
|
|
1022
|
-
*
|
|
1023
|
-
* **Operation State Machine:**
|
|
1024
|
-
* ```
|
|
1025
|
-
* pending → backing_up_current → downloading → restoring → verifying → completed
|
|
1026
|
-
* ↘ failed
|
|
1027
|
-
* ```
|
|
1028
|
-
* - **pending**: Restore queued, waiting to start
|
|
1029
|
-
* - **backing_up_current**: Creating safety backup of existing database
|
|
1030
|
-
* - **downloading**: Downloading backup from storage
|
|
1031
|
-
* - **restoring**: Replacing database with backup contents
|
|
1032
|
-
* - **verifying**: Verifying database integrity (if enabled)
|
|
1033
|
-
* - **completed**: Restore successful, database operational
|
|
1034
|
-
* - **failed**: Restore failed (rollback may be available)
|
|
1035
|
-
*
|
|
1036
|
-
* **Expected Durations:**
|
|
1037
|
-
* Operation times vary by database size (includes backup + restore):
|
|
1038
|
-
* - **Small** (<1GB): 1-3 minutes
|
|
1039
|
-
* - **Medium** (1-10GB): 5-15 minutes
|
|
1040
|
-
* - **Large** (10-100GB): 20-45 minutes
|
|
1041
|
-
* - **Very Large** (>100GB): 45+ minutes
|
|
1042
|
-
*
|
|
1043
|
-
* Note: Restore operations take longer than backups due to safety backup step.
|
|
1044
|
-
*
|
|
1045
|
-
* **Progress Monitoring:**
|
|
1046
|
-
* Use the returned operation_id to connect to the SSE stream:
|
|
1047
|
-
* ```javascript
|
|
1048
|
-
* const eventSource = new EventSource('/v1/operations/{operation_id}/stream');
|
|
1049
|
-
* eventSource.addEventListener('operation_progress', (event) => {
|
|
1050
|
-
* const data = JSON.parse(event.data);
|
|
1051
|
-
* console.log('Restore progress:', data.message);
|
|
1052
|
-
* console.log('Status:', data.status); // Shows current state
|
|
1053
|
-
* });
|
|
1054
|
-
* ```
|
|
1055
|
-
*
|
|
1056
|
-
* **SSE Connection Limits:**
|
|
1057
|
-
* - Maximum 5 concurrent SSE connections per user
|
|
1058
|
-
* - Rate limited to 10 new connections per minute
|
|
1059
|
-
* - Automatic circuit breaker for Redis failures
|
|
1060
|
-
* - Graceful degradation if event system unavailable
|
|
1061
|
-
*
|
|
1062
|
-
* **Important Notes:**
|
|
1063
|
-
* - Only encrypted backups can be restored (security measure)
|
|
1064
|
-
* - Existing database is backed up to S3 before restore
|
|
1065
|
-
* - Restore is a destructive operation - existing data is replaced
|
|
1066
|
-
* - System backups are stored separately for recovery
|
|
1067
|
-
*
|
|
1068
|
-
* **Credit Consumption:**
|
|
1069
|
-
* - Base cost: 100.0 credits
|
|
1070
|
-
* - Large databases (>10GB): 200.0 credits
|
|
1071
|
-
* - Multiplied by graph tier
|
|
1072
|
-
*
|
|
1073
|
-
* Returns operation details for SSE monitoring.
|
|
1074
|
-
*/
|
|
1075
|
-
export const restoreBackup = <ThrowOnError extends boolean = false>(options: Options<RestoreBackupData, ThrowOnError>) => (options.client ?? client).post<RestoreBackupResponses, RestoreBackupErrors, ThrowOnError>({
|
|
1076
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1077
|
-
url: '/v1/graphs/{graph_id}/backups/{backup_id}/restore',
|
|
1078
|
-
...options,
|
|
1079
|
-
headers: {
|
|
1080
|
-
'Content-Type': 'application/json',
|
|
1081
|
-
...options.headers
|
|
1082
|
-
}
|
|
1083
|
-
});
|
|
1084
|
-
|
|
1085
932
|
/**
|
|
1086
933
|
* Get backup statistics
|
|
1087
934
|
*
|
|
@@ -1551,85 +1398,6 @@ export const listSubgraphs = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
1551
1398
|
...options
|
|
1552
1399
|
});
|
|
1553
1400
|
|
|
1554
|
-
/**
|
|
1555
|
-
* Create Subgraph
|
|
1556
|
-
*
|
|
1557
|
-
* Create a new subgraph within a parent graph, with optional data forking.
|
|
1558
|
-
*
|
|
1559
|
-
* **Requirements:**
|
|
1560
|
-
* - Valid authentication
|
|
1561
|
-
* - Parent graph must exist and be accessible to the user
|
|
1562
|
-
* - User must have 'admin' permission on the parent graph
|
|
1563
|
-
* - Parent graph tier must support subgraphs (LadybugDB Large/XLarge)
|
|
1564
|
-
* - Must be within subgraph quota limits
|
|
1565
|
-
* - Subgraph name must be unique within the parent graph
|
|
1566
|
-
*
|
|
1567
|
-
* **Fork Mode:**
|
|
1568
|
-
* When `fork_parent=true`, the operation:
|
|
1569
|
-
* - Returns immediately with an operation_id for SSE monitoring
|
|
1570
|
-
* - Copies data from parent graph to the new subgraph
|
|
1571
|
-
* - Supports selective forking via metadata.fork_options
|
|
1572
|
-
* - Tracks progress in real-time via SSE
|
|
1573
|
-
*
|
|
1574
|
-
* **Returns:**
|
|
1575
|
-
* - Without fork: Immediate SubgraphResponse with created subgraph details
|
|
1576
|
-
* - With fork: Operation response with SSE monitoring endpoint
|
|
1577
|
-
*
|
|
1578
|
-
* **Subgraph ID format:** `{parent_id}_{subgraph_name}` (e.g., kg1234567890abcdef_dev)
|
|
1579
|
-
*
|
|
1580
|
-
* **Usage:**
|
|
1581
|
-
* - Subgraphs share parent's credit pool
|
|
1582
|
-
* - Subgraph ID can be used in all standard `/v1/graphs/{graph_id}*` endpoints
|
|
1583
|
-
* - Permissions inherited from parent graph
|
|
1584
|
-
*/
|
|
1585
|
-
export const createSubgraph = <ThrowOnError extends boolean = false>(options: Options<CreateSubgraphData, ThrowOnError>) => (options.client ?? client).post<CreateSubgraphResponses, CreateSubgraphErrors, ThrowOnError>({
|
|
1586
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1587
|
-
url: '/v1/graphs/{graph_id}/subgraphs',
|
|
1588
|
-
...options,
|
|
1589
|
-
headers: {
|
|
1590
|
-
'Content-Type': 'application/json',
|
|
1591
|
-
...options.headers
|
|
1592
|
-
}
|
|
1593
|
-
});
|
|
1594
|
-
|
|
1595
|
-
/**
|
|
1596
|
-
* Delete Subgraph
|
|
1597
|
-
*
|
|
1598
|
-
* Delete a subgraph database.
|
|
1599
|
-
*
|
|
1600
|
-
* **Requirements:**
|
|
1601
|
-
* - Must be a valid subgraph (not parent graph)
|
|
1602
|
-
* - User must have admin access to parent graph
|
|
1603
|
-
* - Subgraph name must be alphanumeric (1-20 characters)
|
|
1604
|
-
* - Optional backup before deletion
|
|
1605
|
-
*
|
|
1606
|
-
* **Deletion Options:**
|
|
1607
|
-
* - `force`: Delete even if contains data
|
|
1608
|
-
* - `backup_first`: Create backup before deletion
|
|
1609
|
-
*
|
|
1610
|
-
* **Warning:**
|
|
1611
|
-
* Deletion is permanent unless backup is created.
|
|
1612
|
-
* All data in the subgraph will be lost.
|
|
1613
|
-
*
|
|
1614
|
-
* **Backup Location:**
|
|
1615
|
-
* If backup requested, stored in S3 graph database bucket at:
|
|
1616
|
-
* `s3://{graph_s3_bucket}/{instance_id}/{database_name}_{timestamp}.backup`
|
|
1617
|
-
*
|
|
1618
|
-
* **Notes:**
|
|
1619
|
-
* - Use the subgraph name (e.g., 'dev', 'staging') not the full subgraph ID
|
|
1620
|
-
* - Deletion does not affect parent graph's credit pool or permissions
|
|
1621
|
-
* - Backup creation consumes credits from parent graph's allocation
|
|
1622
|
-
*/
|
|
1623
|
-
export const deleteSubgraph = <ThrowOnError extends boolean = false>(options: Options<DeleteSubgraphData, ThrowOnError>) => (options.client ?? client).delete<DeleteSubgraphResponses, DeleteSubgraphErrors, ThrowOnError>({
|
|
1624
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1625
|
-
url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}',
|
|
1626
|
-
...options,
|
|
1627
|
-
headers: {
|
|
1628
|
-
'Content-Type': 'application/json',
|
|
1629
|
-
...options.headers
|
|
1630
|
-
}
|
|
1631
|
-
});
|
|
1632
|
-
|
|
1633
1401
|
/**
|
|
1634
1402
|
* Get Subgraph Details
|
|
1635
1403
|
*
|
|
@@ -1660,7 +1428,7 @@ export const deleteSubgraph = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1660
1428
|
*/
|
|
1661
1429
|
export const getSubgraphInfo = <ThrowOnError extends boolean = false>(options: Options<GetSubgraphInfoData, ThrowOnError>) => (options.client ?? client).get<GetSubgraphInfoResponses, GetSubgraphInfoErrors, ThrowOnError>({
|
|
1662
1430
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1663
|
-
url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}
|
|
1431
|
+
url: '/v1/graphs/{graph_id}/subgraphs/{subgraph_name}',
|
|
1664
1432
|
...options
|
|
1665
1433
|
});
|
|
1666
1434
|
|
|
@@ -1978,101 +1746,103 @@ export const uploadDocumentsBulk = <ThrowOnError extends boolean = false>(option
|
|
|
1978
1746
|
});
|
|
1979
1747
|
|
|
1980
1748
|
/**
|
|
1981
|
-
*
|
|
1982
|
-
*
|
|
1983
|
-
* Get current materialization status for the graph.
|
|
1984
|
-
*
|
|
1985
|
-
* Shows whether the graph is stale (DuckDB has changes not yet in graph database),
|
|
1986
|
-
* when it was last materialized, and how long since last materialization.
|
|
1987
|
-
*
|
|
1988
|
-
* **Status Information:**
|
|
1989
|
-
* - Whether graph is currently stale
|
|
1990
|
-
* - Reason for staleness if applicable
|
|
1991
|
-
* - When graph became stale
|
|
1992
|
-
* - When graph was last materialized
|
|
1993
|
-
* - Total materialization count
|
|
1994
|
-
* - Hours since last materialization
|
|
1749
|
+
* Create Subgraph
|
|
1995
1750
|
*
|
|
1996
|
-
*
|
|
1997
|
-
* - Decide if materialization is needed
|
|
1998
|
-
* - Monitor graph freshness
|
|
1999
|
-
* - Track materialization history
|
|
2000
|
-
* - Understand data pipeline state
|
|
1751
|
+
* Create a new subgraph, optionally forking parent data.
|
|
2001
1752
|
*
|
|
2002
|
-
* **
|
|
2003
|
-
* - Stale graph means DuckDB has changes not in graph
|
|
2004
|
-
* - Graph becomes stale after file deletions
|
|
2005
|
-
* - Materialization clears staleness
|
|
2006
|
-
* - Status retrieval is included - no credit consumption
|
|
1753
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2007
1754
|
*/
|
|
2008
|
-
export const
|
|
1755
|
+
export const opCreateSubgraph = <ThrowOnError extends boolean = false>(options: Options<OpCreateSubgraphData, ThrowOnError>) => (options.client ?? client).post<OpCreateSubgraphResponses, OpCreateSubgraphErrors, ThrowOnError>({
|
|
2009
1756
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2010
|
-
url: '/v1/graphs/{graph_id}/
|
|
2011
|
-
...options
|
|
1757
|
+
url: '/v1/graphs/{graph_id}/operations/create-subgraph',
|
|
1758
|
+
...options,
|
|
1759
|
+
headers: {
|
|
1760
|
+
'Content-Type': 'application/json',
|
|
1761
|
+
...options.headers
|
|
1762
|
+
}
|
|
2012
1763
|
});
|
|
2013
1764
|
|
|
2014
1765
|
/**
|
|
2015
|
-
*
|
|
2016
|
-
*
|
|
2017
|
-
* Rebuild entire graph from DuckDB staging tables (materialized view pattern).
|
|
1766
|
+
* Delete Subgraph
|
|
2018
1767
|
*
|
|
2019
|
-
*
|
|
2020
|
-
* staging tables. It automatically discovers all tables, ingests them in the correct
|
|
2021
|
-
* order (nodes before relationships), and clears the staleness flag.
|
|
1768
|
+
* Delete a subgraph database.
|
|
2022
1769
|
*
|
|
2023
|
-
* **
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
1770
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
1771
|
+
*/
|
|
1772
|
+
export const opDeleteSubgraph = <ThrowOnError extends boolean = false>(options: Options<OpDeleteSubgraphData, ThrowOnError>) => (options.client ?? client).post<OpDeleteSubgraphResponses, OpDeleteSubgraphErrors, ThrowOnError>({
|
|
1773
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1774
|
+
url: '/v1/graphs/{graph_id}/operations/delete-subgraph',
|
|
1775
|
+
...options,
|
|
1776
|
+
headers: {
|
|
1777
|
+
'Content-Type': 'application/json',
|
|
1778
|
+
...options.headers
|
|
1779
|
+
}
|
|
1780
|
+
});
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* Create Backup
|
|
2028
1784
|
*
|
|
2029
|
-
*
|
|
2030
|
-
* 1. Discovers all tables for the graph from PostgreSQL registry
|
|
2031
|
-
* 2. Sorts tables (nodes before relationships)
|
|
2032
|
-
* 3. Ingests all tables from DuckDB to graph in order
|
|
2033
|
-
* 4. Clears staleness flag on success
|
|
2034
|
-
* 5. Returns detailed materialization report
|
|
1785
|
+
* Create a backup of the graph database (async).
|
|
2035
1786
|
*
|
|
2036
|
-
* **
|
|
2037
|
-
|
|
2038
|
-
|
|
1787
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
1788
|
+
*/
|
|
1789
|
+
export const opCreateBackup = <ThrowOnError extends boolean = false>(options: Options<OpCreateBackupData, ThrowOnError>) => (options.client ?? client).post<OpCreateBackupResponses, OpCreateBackupErrors, ThrowOnError>({
|
|
1790
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1791
|
+
url: '/v1/graphs/{graph_id}/operations/create-backup',
|
|
1792
|
+
...options,
|
|
1793
|
+
headers: {
|
|
1794
|
+
'Content-Type': 'application/json',
|
|
1795
|
+
...options.headers
|
|
1796
|
+
}
|
|
1797
|
+
});
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* Restore Backup
|
|
2039
1801
|
*
|
|
2040
|
-
*
|
|
2041
|
-
* Setting `rebuild=true` regenerates the entire graph database from scratch:
|
|
2042
|
-
* - Deletes existing graph database
|
|
2043
|
-
* - Recreates with fresh schema from active GraphSchema
|
|
2044
|
-
* - Ingests all data files
|
|
2045
|
-
* - Safe operation - DuckDB is source of truth
|
|
2046
|
-
* - Useful for schema changes or data corrections
|
|
2047
|
-
* - Graph marked as 'rebuilding' during process
|
|
1802
|
+
* Restore a graph database from an encrypted backup.
|
|
2048
1803
|
*
|
|
2049
|
-
*
|
|
2050
|
-
*
|
|
2051
|
-
* ensure referential integrity.
|
|
1804
|
+
* Blocked for entity graphs — OLTP is the source of truth, use
|
|
1805
|
+
* the materialize operation instead.
|
|
2052
1806
|
*
|
|
2053
|
-
* **
|
|
2054
|
-
|
|
2055
|
-
|
|
1807
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
1808
|
+
*/
|
|
1809
|
+
export const opRestoreBackup = <ThrowOnError extends boolean = false>(options: Options<OpRestoreBackupData, ThrowOnError>) => (options.client ?? client).post<OpRestoreBackupResponses, OpRestoreBackupErrors, ThrowOnError>({
|
|
1810
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1811
|
+
url: '/v1/graphs/{graph_id}/operations/restore-backup',
|
|
1812
|
+
...options,
|
|
1813
|
+
headers: {
|
|
1814
|
+
'Content-Type': 'application/json',
|
|
1815
|
+
...options.headers
|
|
1816
|
+
}
|
|
1817
|
+
});
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* Upgrade Tier
|
|
2056
1821
|
*
|
|
2057
|
-
*
|
|
2058
|
-
* Only one materialization can run per graph at a time. If another materialization is in progress,
|
|
2059
|
-
* you'll receive a 409 Conflict error. The distributed lock automatically expires after
|
|
2060
|
-
* the configured TTL (default: 1 hour) to prevent deadlocks from failed materializations.
|
|
1822
|
+
* Change the infrastructure tier on a graph (async EBS migration).
|
|
2061
1823
|
*
|
|
2062
|
-
* **
|
|
2063
|
-
|
|
2064
|
-
|
|
1824
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
1825
|
+
*/
|
|
1826
|
+
export const opUpgradeTier = <ThrowOnError extends boolean = false>(options: Options<OpUpgradeTierData, ThrowOnError>) => (options.client ?? client).post<OpUpgradeTierResponses, OpUpgradeTierErrors, ThrowOnError>({
|
|
1827
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1828
|
+
url: '/v1/graphs/{graph_id}/operations/upgrade-tier',
|
|
1829
|
+
...options,
|
|
1830
|
+
headers: {
|
|
1831
|
+
'Content-Type': 'application/json',
|
|
1832
|
+
...options.headers
|
|
1833
|
+
}
|
|
1834
|
+
});
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* Materialize Graph
|
|
2065
1838
|
*
|
|
2066
|
-
*
|
|
2067
|
-
* Set `dry_run=true` to validate limits without executing. Returns current usage, tier limits,
|
|
2068
|
-
* and any warnings or errors. No lock is acquired, no SSE operation is created.
|
|
1839
|
+
* Materialize graph from staging tables or extensions OLTP.
|
|
2069
1840
|
*
|
|
2070
|
-
* **
|
|
2071
|
-
* Materialization is included - no credit consumption
|
|
1841
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2072
1842
|
*/
|
|
2073
|
-
export const
|
|
1843
|
+
export const opMaterialize = <ThrowOnError extends boolean = false>(options: Options<OpMaterializeData, ThrowOnError>) => (options.client ?? client).post<OpMaterializeResponses, OpMaterializeErrors, ThrowOnError>({
|
|
2074
1844
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2075
|
-
url: '/v1/graphs/{graph_id}/materialize',
|
|
1845
|
+
url: '/v1/graphs/{graph_id}/operations/materialize',
|
|
2076
1846
|
...options,
|
|
2077
1847
|
headers: {
|
|
2078
1848
|
'Content-Type': 'application/json',
|
|
@@ -2870,6 +2640,12 @@ export const getCheckoutStatus = <ThrowOnError extends boolean = false>(options:
|
|
|
2870
2640
|
|
|
2871
2641
|
/**
|
|
2872
2642
|
* Handle Http Get
|
|
2643
|
+
*
|
|
2644
|
+
*
|
|
2645
|
+
*
|
|
2646
|
+
* **Auth**: pass `X-API-Key` (or a JWT `Authorization: Bearer` header). Unauthenticated introspection queries are deliberately allowed for SDK codegen; data queries require credentials and raise `UNAUTHENTICATED`.
|
|
2647
|
+
*
|
|
2648
|
+
* **Error codes**: `LEDGER_NOT_INITIALIZED`, `INVESTOR_NOT_INITIALIZED`, and `UNAUTHENTICATED` surface in the GraphQL `errors[].extensions.code` field — see `graphql/README.md` for the full vocabulary.
|
|
2873
2649
|
*/
|
|
2874
2650
|
export const handleHttpGetExtensionsGraphIdGraphqlGet = <ThrowOnError extends boolean = false>(options: Options<HandleHttpGetExtensionsGraphIdGraphqlGetData, ThrowOnError>) => (options.client ?? client).get<HandleHttpGetExtensionsGraphIdGraphqlGetResponses, HandleHttpGetExtensionsGraphIdGraphqlGetErrors, ThrowOnError>({
|
|
2875
2651
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2879,6 +2655,12 @@ export const handleHttpGetExtensionsGraphIdGraphqlGet = <ThrowOnError extends bo
|
|
|
2879
2655
|
|
|
2880
2656
|
/**
|
|
2881
2657
|
* Handle Http Post
|
|
2658
|
+
*
|
|
2659
|
+
*
|
|
2660
|
+
*
|
|
2661
|
+
* **Auth**: pass `X-API-Key` (or a JWT `Authorization: Bearer` header). Unauthenticated introspection queries are deliberately allowed for SDK codegen; data queries require credentials and raise `UNAUTHENTICATED`.
|
|
2662
|
+
*
|
|
2663
|
+
* **Error codes**: `LEDGER_NOT_INITIALIZED`, `INVESTOR_NOT_INITIALIZED`, and `UNAUTHENTICATED` surface in the GraphQL `errors[].extensions.code` field — see `graphql/README.md` for the full vocabulary.
|
|
2882
2664
|
*/
|
|
2883
2665
|
export const handleHttpPostExtensionsGraphIdGraphqlPost = <ThrowOnError extends boolean = false>(options: Options<HandleHttpPostExtensionsGraphIdGraphqlPostData, ThrowOnError>) => (options.client ?? client).post<HandleHttpPostExtensionsGraphIdGraphqlPostResponses, HandleHttpPostExtensionsGraphIdGraphqlPostErrors, ThrowOnError>({
|
|
2884
2666
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2890,6 +2672,8 @@ export const handleHttpPostExtensionsGraphIdGraphqlPost = <ThrowOnError extends
|
|
|
2890
2672
|
* Update Entity
|
|
2891
2673
|
*
|
|
2892
2674
|
* Update entity details. Only provided (non-null) fields are updated.
|
|
2675
|
+
*
|
|
2676
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2893
2677
|
*/
|
|
2894
2678
|
export const opUpdateEntity = <ThrowOnError extends boolean = false>(options: Options<OpUpdateEntityData, ThrowOnError>) => (options.client ?? client).post<OpUpdateEntityResponses, OpUpdateEntityErrors, ThrowOnError>({
|
|
2895
2679
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2905,6 +2689,8 @@ export const opUpdateEntity = <ThrowOnError extends boolean = false>(options: Op
|
|
|
2905
2689
|
* Initialize Ledger
|
|
2906
2690
|
*
|
|
2907
2691
|
* One-time ledger initialization — create fiscal calendar + seed periods.
|
|
2692
|
+
*
|
|
2693
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2908
2694
|
*/
|
|
2909
2695
|
export const opInitializeLedger = <ThrowOnError extends boolean = false>(options: Options<OpInitializeLedgerData, ThrowOnError>) => (options.client ?? client).post<OpInitializeLedgerResponses, OpInitializeLedgerErrors, ThrowOnError>({
|
|
2910
2696
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2920,6 +2706,8 @@ export const opInitializeLedger = <ThrowOnError extends boolean = false>(options
|
|
|
2920
2706
|
* Set Close Target
|
|
2921
2707
|
*
|
|
2922
2708
|
* Set the user-controlled close target (YYYY-MM).
|
|
2709
|
+
*
|
|
2710
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2923
2711
|
*/
|
|
2924
2712
|
export const opSetCloseTarget = <ThrowOnError extends boolean = false>(options: Options<OpSetCloseTargetData, ThrowOnError>) => (options.client ?? client).post<OpSetCloseTargetResponses, OpSetCloseTargetErrors, ThrowOnError>({
|
|
2925
2713
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2935,6 +2723,8 @@ export const opSetCloseTarget = <ThrowOnError extends boolean = false>(options:
|
|
|
2935
2723
|
* Close Fiscal Period
|
|
2936
2724
|
*
|
|
2937
2725
|
* Close a fiscal period — the final commit action.
|
|
2726
|
+
*
|
|
2727
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2938
2728
|
*/
|
|
2939
2729
|
export const opClosePeriod = <ThrowOnError extends boolean = false>(options: Options<OpClosePeriodData, ThrowOnError>) => (options.client ?? client).post<OpClosePeriodResponses, OpClosePeriodErrors, ThrowOnError>({
|
|
2940
2730
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2950,6 +2740,8 @@ export const opClosePeriod = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
2950
2740
|
* Reopen Fiscal Period
|
|
2951
2741
|
*
|
|
2952
2742
|
* Reopen a closed fiscal period — decrements `closed_through`.
|
|
2743
|
+
*
|
|
2744
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2953
2745
|
*/
|
|
2954
2746
|
export const opReopenPeriod = <ThrowOnError extends boolean = false>(options: Options<OpReopenPeriodData, ThrowOnError>) => (options.client ?? client).post<OpReopenPeriodResponses, OpReopenPeriodErrors, ThrowOnError>({
|
|
2955
2747
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2965,6 +2757,8 @@ export const opReopenPeriod = <ThrowOnError extends boolean = false>(options: Op
|
|
|
2965
2757
|
* Create Schedule
|
|
2966
2758
|
*
|
|
2967
2759
|
* Create a schedule with pre-generated monthly facts.
|
|
2760
|
+
*
|
|
2761
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2968
2762
|
*/
|
|
2969
2763
|
export const opCreateSchedule = <ThrowOnError extends boolean = false>(options: Options<OpCreateScheduleData, ThrowOnError>) => (options.client ?? client).post<OpCreateScheduleResponses, OpCreateScheduleErrors, ThrowOnError>({
|
|
2970
2764
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2980,6 +2774,8 @@ export const opCreateSchedule = <ThrowOnError extends boolean = false>(options:
|
|
|
2980
2774
|
* Truncate Schedule (End Early)
|
|
2981
2775
|
*
|
|
2982
2776
|
* End a schedule early — delete forward facts + stale drafts.
|
|
2777
|
+
*
|
|
2778
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2983
2779
|
*/
|
|
2984
2780
|
export const opTruncateSchedule = <ThrowOnError extends boolean = false>(options: Options<OpTruncateScheduleData, ThrowOnError>) => (options.client ?? client).post<OpTruncateScheduleResponses, OpTruncateScheduleErrors, ThrowOnError>({
|
|
2985
2781
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -2995,6 +2791,8 @@ export const opTruncateSchedule = <ThrowOnError extends boolean = false>(options
|
|
|
2995
2791
|
* Create Closing Entry
|
|
2996
2792
|
*
|
|
2997
2793
|
* Create a draft closing entry from a schedule's facts for a period.
|
|
2794
|
+
*
|
|
2795
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2998
2796
|
*/
|
|
2999
2797
|
export const opCreateClosingEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateClosingEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateClosingEntryResponses, OpCreateClosingEntryErrors, ThrowOnError>({
|
|
3000
2798
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3010,6 +2808,8 @@ export const opCreateClosingEntry = <ThrowOnError extends boolean = false>(optio
|
|
|
3010
2808
|
* Create Manual Closing Entry
|
|
3011
2809
|
*
|
|
3012
2810
|
* Create a manual (non-schedule) draft closing entry.
|
|
2811
|
+
*
|
|
2812
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3013
2813
|
*/
|
|
3014
2814
|
export const opCreateManualClosingEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateManualClosingEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateManualClosingEntryResponses, OpCreateManualClosingEntryErrors, ThrowOnError>({
|
|
3015
2815
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3025,6 +2825,8 @@ export const opCreateManualClosingEntry = <ThrowOnError extends boolean = false>
|
|
|
3025
2825
|
* Create Taxonomy
|
|
3026
2826
|
*
|
|
3027
2827
|
* Create a new taxonomy definition.
|
|
2828
|
+
*
|
|
2829
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3028
2830
|
*/
|
|
3029
2831
|
export const opCreateTaxonomy = <ThrowOnError extends boolean = false>(options: Options<OpCreateTaxonomyData, ThrowOnError>) => (options.client ?? client).post<OpCreateTaxonomyResponses, OpCreateTaxonomyErrors, ThrowOnError>({
|
|
3030
2832
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3040,6 +2842,8 @@ export const opCreateTaxonomy = <ThrowOnError extends boolean = false>(options:
|
|
|
3040
2842
|
* Create Structure
|
|
3041
2843
|
*
|
|
3042
2844
|
* Create a new structure (statement, mapping, schedule, etc.).
|
|
2845
|
+
*
|
|
2846
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3043
2847
|
*/
|
|
3044
2848
|
export const opCreateStructure = <ThrowOnError extends boolean = false>(options: Options<OpCreateStructureData, ThrowOnError>) => (options.client ?? client).post<OpCreateStructureResponses, OpCreateStructureErrors, ThrowOnError>({
|
|
3045
2849
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3055,6 +2859,8 @@ export const opCreateStructure = <ThrowOnError extends boolean = false>(options:
|
|
|
3055
2859
|
* Create Mapping Association
|
|
3056
2860
|
*
|
|
3057
2861
|
* Add a mapping association (CoA element → reporting concept).
|
|
2862
|
+
*
|
|
2863
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3058
2864
|
*/
|
|
3059
2865
|
export const opCreateMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<OpCreateMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<OpCreateMappingAssociationResponses, OpCreateMappingAssociationErrors, ThrowOnError>({
|
|
3060
2866
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3070,6 +2876,8 @@ export const opCreateMappingAssociation = <ThrowOnError extends boolean = false>
|
|
|
3070
2876
|
* Delete Mapping Association
|
|
3071
2877
|
*
|
|
3072
2878
|
* Remove a mapping association.
|
|
2879
|
+
*
|
|
2880
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3073
2881
|
*/
|
|
3074
2882
|
export const opDeleteMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<OpDeleteMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<OpDeleteMappingAssociationResponses, OpDeleteMappingAssociationErrors, ThrowOnError>({
|
|
3075
2883
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3081,6 +2889,295 @@ export const opDeleteMappingAssociation = <ThrowOnError extends boolean = false>
|
|
|
3081
2889
|
}
|
|
3082
2890
|
});
|
|
3083
2891
|
|
|
2892
|
+
/**
|
|
2893
|
+
* Update Taxonomy
|
|
2894
|
+
*
|
|
2895
|
+
* Update mutable fields on a taxonomy. `taxonomy_type` is immutable.
|
|
2896
|
+
*
|
|
2897
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2898
|
+
*/
|
|
2899
|
+
export const opUpdateTaxonomy = <ThrowOnError extends boolean = false>(options: Options<OpUpdateTaxonomyData, ThrowOnError>) => (options.client ?? client).post<OpUpdateTaxonomyResponses, OpUpdateTaxonomyErrors, ThrowOnError>({
|
|
2900
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2901
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy',
|
|
2902
|
+
...options,
|
|
2903
|
+
headers: {
|
|
2904
|
+
'Content-Type': 'application/json',
|
|
2905
|
+
...options.headers
|
|
2906
|
+
}
|
|
2907
|
+
});
|
|
2908
|
+
|
|
2909
|
+
/**
|
|
2910
|
+
* Delete Taxonomy
|
|
2911
|
+
*
|
|
2912
|
+
* Soft-delete a taxonomy (sets `is_active=false`). Historical references remain valid.
|
|
2913
|
+
*
|
|
2914
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2915
|
+
*/
|
|
2916
|
+
export const opDeleteTaxonomy = <ThrowOnError extends boolean = false>(options: Options<OpDeleteTaxonomyData, ThrowOnError>) => (options.client ?? client).post<OpDeleteTaxonomyResponses, OpDeleteTaxonomyErrors, ThrowOnError>({
|
|
2917
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2918
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy',
|
|
2919
|
+
...options,
|
|
2920
|
+
headers: {
|
|
2921
|
+
'Content-Type': 'application/json',
|
|
2922
|
+
...options.headers
|
|
2923
|
+
}
|
|
2924
|
+
});
|
|
2925
|
+
|
|
2926
|
+
/**
|
|
2927
|
+
* Link Entity to Taxonomy
|
|
2928
|
+
*
|
|
2929
|
+
* Link the graph's entity to a taxonomy (creates the ENTITY_HAS_TAXONOMY edge). Idempotent — returns existing linkage if it already exists. Required after creating a CoA taxonomy so the platform knows which chart of accounts the entity reports under.
|
|
2930
|
+
*
|
|
2931
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2932
|
+
*/
|
|
2933
|
+
export const opLinkEntityTaxonomy = <ThrowOnError extends boolean = false>(options: Options<OpLinkEntityTaxonomyData, ThrowOnError>) => (options.client ?? client).post<OpLinkEntityTaxonomyResponses, OpLinkEntityTaxonomyErrors, ThrowOnError>({
|
|
2934
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2935
|
+
url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy',
|
|
2936
|
+
...options,
|
|
2937
|
+
headers: {
|
|
2938
|
+
'Content-Type': 'application/json',
|
|
2939
|
+
...options.headers
|
|
2940
|
+
}
|
|
2941
|
+
});
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* Update Structure
|
|
2945
|
+
*
|
|
2946
|
+
* Update mutable fields on a structure. `structure_type` and `taxonomy_id` are immutable.
|
|
2947
|
+
*
|
|
2948
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2949
|
+
*/
|
|
2950
|
+
export const opUpdateStructure = <ThrowOnError extends boolean = false>(options: Options<OpUpdateStructureData, ThrowOnError>) => (options.client ?? client).post<OpUpdateStructureResponses, OpUpdateStructureErrors, ThrowOnError>({
|
|
2951
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2952
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-structure',
|
|
2953
|
+
...options,
|
|
2954
|
+
headers: {
|
|
2955
|
+
'Content-Type': 'application/json',
|
|
2956
|
+
...options.headers
|
|
2957
|
+
}
|
|
2958
|
+
});
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* Delete Structure
|
|
2962
|
+
*
|
|
2963
|
+
* Soft-delete a structure (sets `is_active=false`). Associations referencing it are effectively orphaned.
|
|
2964
|
+
*
|
|
2965
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2966
|
+
*/
|
|
2967
|
+
export const opDeleteStructure = <ThrowOnError extends boolean = false>(options: Options<OpDeleteStructureData, ThrowOnError>) => (options.client ?? client).post<OpDeleteStructureResponses, OpDeleteStructureErrors, ThrowOnError>({
|
|
2968
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2969
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-structure',
|
|
2970
|
+
...options,
|
|
2971
|
+
headers: {
|
|
2972
|
+
'Content-Type': 'application/json',
|
|
2973
|
+
...options.headers
|
|
2974
|
+
}
|
|
2975
|
+
});
|
|
2976
|
+
|
|
2977
|
+
/**
|
|
2978
|
+
* Create Element
|
|
2979
|
+
*
|
|
2980
|
+
* Create an element within a taxonomy. For chart-of-accounts taxonomies this is how native accounts are added.
|
|
2981
|
+
*
|
|
2982
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
2983
|
+
*/
|
|
2984
|
+
export const opCreateElement = <ThrowOnError extends boolean = false>(options: Options<OpCreateElementData, ThrowOnError>) => (options.client ?? client).post<OpCreateElementResponses, OpCreateElementErrors, ThrowOnError>({
|
|
2985
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
2986
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-element',
|
|
2987
|
+
...options,
|
|
2988
|
+
headers: {
|
|
2989
|
+
'Content-Type': 'application/json',
|
|
2990
|
+
...options.headers
|
|
2991
|
+
}
|
|
2992
|
+
});
|
|
2993
|
+
|
|
2994
|
+
/**
|
|
2995
|
+
* Update Element
|
|
2996
|
+
*
|
|
2997
|
+
* Update mutable fields on an element. `taxonomy_id` and `source` are immutable. Reparenting cascades path/depth to descendants.
|
|
2998
|
+
*
|
|
2999
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3000
|
+
*/
|
|
3001
|
+
export const opUpdateElement = <ThrowOnError extends boolean = false>(options: Options<OpUpdateElementData, ThrowOnError>) => (options.client ?? client).post<OpUpdateElementResponses, OpUpdateElementErrors, ThrowOnError>({
|
|
3002
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3003
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-element',
|
|
3004
|
+
...options,
|
|
3005
|
+
headers: {
|
|
3006
|
+
'Content-Type': 'application/json',
|
|
3007
|
+
...options.headers
|
|
3008
|
+
}
|
|
3009
|
+
});
|
|
3010
|
+
|
|
3011
|
+
/**
|
|
3012
|
+
* Delete Element
|
|
3013
|
+
*
|
|
3014
|
+
* Soft-delete an element (sets `is_active=false`). Historical line items referencing it remain valid.
|
|
3015
|
+
*
|
|
3016
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3017
|
+
*/
|
|
3018
|
+
export const opDeleteElement = <ThrowOnError extends boolean = false>(options: Options<OpDeleteElementData, ThrowOnError>) => (options.client ?? client).post<OpDeleteElementResponses, OpDeleteElementErrors, ThrowOnError>({
|
|
3019
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3020
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-element',
|
|
3021
|
+
...options,
|
|
3022
|
+
headers: {
|
|
3023
|
+
'Content-Type': 'application/json',
|
|
3024
|
+
...options.headers
|
|
3025
|
+
}
|
|
3026
|
+
});
|
|
3027
|
+
|
|
3028
|
+
/**
|
|
3029
|
+
* Create Associations (Bulk)
|
|
3030
|
+
*
|
|
3031
|
+
* Create N associations in a single structure, atomically. Handles 50+ presentation arcs, 25+ calculation arcs, or a full table linkbase in one call. Any failed row rolls back the batch.
|
|
3032
|
+
*
|
|
3033
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3034
|
+
*/
|
|
3035
|
+
export const opCreateAssociations = <ThrowOnError extends boolean = false>(options: Options<OpCreateAssociationsData, ThrowOnError>) => (options.client ?? client).post<OpCreateAssociationsResponses, OpCreateAssociationsErrors, ThrowOnError>({
|
|
3036
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3037
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-associations',
|
|
3038
|
+
...options,
|
|
3039
|
+
headers: {
|
|
3040
|
+
'Content-Type': 'application/json',
|
|
3041
|
+
...options.headers
|
|
3042
|
+
}
|
|
3043
|
+
});
|
|
3044
|
+
|
|
3045
|
+
/**
|
|
3046
|
+
* Update Association
|
|
3047
|
+
*
|
|
3048
|
+
* Update mutable fields on an association. `from_element_id`, `to_element_id`, `association_type`, and `structure_id` are immutable — delete and recreate instead.
|
|
3049
|
+
*
|
|
3050
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3051
|
+
*/
|
|
3052
|
+
export const opUpdateAssociation = <ThrowOnError extends boolean = false>(options: Options<OpUpdateAssociationData, ThrowOnError>) => (options.client ?? client).post<OpUpdateAssociationResponses, OpUpdateAssociationErrors, ThrowOnError>({
|
|
3053
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3054
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-association',
|
|
3055
|
+
...options,
|
|
3056
|
+
headers: {
|
|
3057
|
+
'Content-Type': 'application/json',
|
|
3058
|
+
...options.headers
|
|
3059
|
+
}
|
|
3060
|
+
});
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* Delete Association
|
|
3064
|
+
*
|
|
3065
|
+
* Hard-delete an association. Generalizes delete-mapping-association to all association types (presentation, calculation, mapping).
|
|
3066
|
+
*
|
|
3067
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3068
|
+
*/
|
|
3069
|
+
export const opDeleteAssociation = <ThrowOnError extends boolean = false>(options: Options<OpDeleteAssociationData, ThrowOnError>) => (options.client ?? client).post<OpDeleteAssociationResponses, OpDeleteAssociationErrors, ThrowOnError>({
|
|
3070
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3071
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-association',
|
|
3072
|
+
...options,
|
|
3073
|
+
headers: {
|
|
3074
|
+
'Content-Type': 'application/json',
|
|
3075
|
+
...options.headers
|
|
3076
|
+
}
|
|
3077
|
+
});
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* Create Journal Entry
|
|
3081
|
+
*
|
|
3082
|
+
* Create a new draft journal entry with balanced line items. Enforces DR=CR at the validation layer. Entries are always created as drafts; posting happens via close-period or a future per-entry post op.
|
|
3083
|
+
*
|
|
3084
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3085
|
+
*/
|
|
3086
|
+
export const opCreateJournalEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateJournalEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateJournalEntryResponses, OpCreateJournalEntryErrors, ThrowOnError>({
|
|
3087
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3088
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-journal-entry',
|
|
3089
|
+
...options,
|
|
3090
|
+
headers: {
|
|
3091
|
+
'Content-Type': 'application/json',
|
|
3092
|
+
...options.headers
|
|
3093
|
+
}
|
|
3094
|
+
});
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* Update Journal Entry
|
|
3098
|
+
*
|
|
3099
|
+
* Update a draft journal entry. Posted entries are immutable and must be corrected via reverse-journal-entry. If line_items is provided, existing line items are replaced atomically and the new set must balance.
|
|
3100
|
+
*
|
|
3101
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3102
|
+
*/
|
|
3103
|
+
export const opUpdateJournalEntry = <ThrowOnError extends boolean = false>(options: Options<OpUpdateJournalEntryData, ThrowOnError>) => (options.client ?? client).post<OpUpdateJournalEntryResponses, OpUpdateJournalEntryErrors, ThrowOnError>({
|
|
3104
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3105
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-journal-entry',
|
|
3106
|
+
...options,
|
|
3107
|
+
headers: {
|
|
3108
|
+
'Content-Type': 'application/json',
|
|
3109
|
+
...options.headers
|
|
3110
|
+
}
|
|
3111
|
+
});
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* Delete Journal Entry
|
|
3115
|
+
*
|
|
3116
|
+
* Hard-delete a draft journal entry. Posted entries are immutable and must be reversed instead.
|
|
3117
|
+
*
|
|
3118
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3119
|
+
*/
|
|
3120
|
+
export const opDeleteJournalEntry = <ThrowOnError extends boolean = false>(options: Options<OpDeleteJournalEntryData, ThrowOnError>) => (options.client ?? client).post<OpDeleteJournalEntryResponses, OpDeleteJournalEntryErrors, ThrowOnError>({
|
|
3121
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3122
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-journal-entry',
|
|
3123
|
+
...options,
|
|
3124
|
+
headers: {
|
|
3125
|
+
'Content-Type': 'application/json',
|
|
3126
|
+
...options.headers
|
|
3127
|
+
}
|
|
3128
|
+
});
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* Reverse Journal Entry
|
|
3132
|
+
*
|
|
3133
|
+
* Reverse a posted journal entry by creating a new offsetting entry (debits ↔ credits) and marking the original as status='reversed'. Both entries stay in the ledger — the audit trail shows original + reversal side by side.
|
|
3134
|
+
*
|
|
3135
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3136
|
+
*/
|
|
3137
|
+
export const opReverseJournalEntry = <ThrowOnError extends boolean = false>(options: Options<OpReverseJournalEntryData, ThrowOnError>) => (options.client ?? client).post<OpReverseJournalEntryResponses, OpReverseJournalEntryErrors, ThrowOnError>({
|
|
3138
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3139
|
+
url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry',
|
|
3140
|
+
...options,
|
|
3141
|
+
headers: {
|
|
3142
|
+
'Content-Type': 'application/json',
|
|
3143
|
+
...options.headers
|
|
3144
|
+
}
|
|
3145
|
+
});
|
|
3146
|
+
|
|
3147
|
+
/**
|
|
3148
|
+
* Update Schedule
|
|
3149
|
+
*
|
|
3150
|
+
* Update mutable fields on a schedule: name, entry_template, schedule_metadata. Period range and monthly_amount are NOT editable — use truncate-schedule + create-schedule instead.
|
|
3151
|
+
*
|
|
3152
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3153
|
+
*/
|
|
3154
|
+
export const opUpdateSchedule = <ThrowOnError extends boolean = false>(options: Options<OpUpdateScheduleData, ThrowOnError>) => (options.client ?? client).post<OpUpdateScheduleResponses, OpUpdateScheduleErrors, ThrowOnError>({
|
|
3155
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3156
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-schedule',
|
|
3157
|
+
...options,
|
|
3158
|
+
headers: {
|
|
3159
|
+
'Content-Type': 'application/json',
|
|
3160
|
+
...options.headers
|
|
3161
|
+
}
|
|
3162
|
+
});
|
|
3163
|
+
|
|
3164
|
+
/**
|
|
3165
|
+
* Delete Schedule
|
|
3166
|
+
*
|
|
3167
|
+
* Permanently delete a schedule, cascading through facts and associations. For ending a schedule early without removing history, use truncate-schedule instead.
|
|
3168
|
+
*
|
|
3169
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3170
|
+
*/
|
|
3171
|
+
export const opDeleteSchedule = <ThrowOnError extends boolean = false>(options: Options<OpDeleteScheduleData, ThrowOnError>) => (options.client ?? client).post<OpDeleteScheduleResponses, OpDeleteScheduleErrors, ThrowOnError>({
|
|
3172
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
3173
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-schedule',
|
|
3174
|
+
...options,
|
|
3175
|
+
headers: {
|
|
3176
|
+
'Content-Type': 'application/json',
|
|
3177
|
+
...options.headers
|
|
3178
|
+
}
|
|
3179
|
+
});
|
|
3180
|
+
|
|
3084
3181
|
/**
|
|
3085
3182
|
* Auto-Map Elements via AI (async)
|
|
3086
3183
|
*
|
|
@@ -3096,6 +3193,8 @@ export const opDeleteMappingAssociation = <ThrowOnError extends boolean = false>
|
|
|
3096
3193
|
* - ≥0.90: auto-approved mapping
|
|
3097
3194
|
* - 0.70-0.89: flagged for review
|
|
3098
3195
|
* - <0.70: skipped (left unmapped)
|
|
3196
|
+
*
|
|
3197
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3099
3198
|
*/
|
|
3100
3199
|
export const opAutoMapElements = <ThrowOnError extends boolean = false>(options: Options<OpAutoMapElementsData, ThrowOnError>) => (options.client ?? client).post<OpAutoMapElementsResponses, OpAutoMapElementsErrors, ThrowOnError>({
|
|
3101
3200
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3111,6 +3210,8 @@ export const opAutoMapElements = <ThrowOnError extends boolean = false>(options:
|
|
|
3111
3210
|
* Create Report
|
|
3112
3211
|
*
|
|
3113
3212
|
* Create a report definition, generate facts, and mark as published.
|
|
3213
|
+
*
|
|
3214
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3114
3215
|
*/
|
|
3115
3216
|
export const opCreateReport = <ThrowOnError extends boolean = false>(options: Options<OpCreateReportData, ThrowOnError>) => (options.client ?? client).post<OpCreateReportResponses, OpCreateReportErrors, ThrowOnError>({
|
|
3116
3217
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3126,6 +3227,8 @@ export const opCreateReport = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3126
3227
|
* Regenerate Report
|
|
3127
3228
|
*
|
|
3128
3229
|
* Regenerate a report with new period dates.
|
|
3230
|
+
*
|
|
3231
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3129
3232
|
*/
|
|
3130
3233
|
export const opRegenerateReport = <ThrowOnError extends boolean = false>(options: Options<OpRegenerateReportData, ThrowOnError>) => (options.client ?? client).post<OpRegenerateReportResponses, OpRegenerateReportErrors, ThrowOnError>({
|
|
3131
3234
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3141,6 +3244,8 @@ export const opRegenerateReport = <ThrowOnError extends boolean = false>(options
|
|
|
3141
3244
|
* Delete Report
|
|
3142
3245
|
*
|
|
3143
3246
|
* Delete a report definition and its facts.
|
|
3247
|
+
*
|
|
3248
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3144
3249
|
*/
|
|
3145
3250
|
export const opDeleteReport = <ThrowOnError extends boolean = false>(options: Options<OpDeleteReportData, ThrowOnError>) => (options.client ?? client).post<OpDeleteReportResponses, OpDeleteReportErrors, ThrowOnError>({
|
|
3146
3251
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3156,6 +3261,8 @@ export const opDeleteReport = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3156
3261
|
* Share Report
|
|
3157
3262
|
*
|
|
3158
3263
|
* Share a published report to a publish list's members.
|
|
3264
|
+
*
|
|
3265
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3159
3266
|
*/
|
|
3160
3267
|
export const opShareReport = <ThrowOnError extends boolean = false>(options: Options<OpShareReportData, ThrowOnError>) => (options.client ?? client).post<OpShareReportResponses, OpShareReportErrors, ThrowOnError>({
|
|
3161
3268
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3171,6 +3278,8 @@ export const opShareReport = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
3171
3278
|
* Create Publish List
|
|
3172
3279
|
*
|
|
3173
3280
|
* Create a new publish list.
|
|
3281
|
+
*
|
|
3282
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3174
3283
|
*/
|
|
3175
3284
|
export const opCreatePublishList = <ThrowOnError extends boolean = false>(options: Options<OpCreatePublishListData, ThrowOnError>) => (options.client ?? client).post<OpCreatePublishListResponses, OpCreatePublishListErrors, ThrowOnError>({
|
|
3176
3285
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3186,6 +3295,8 @@ export const opCreatePublishList = <ThrowOnError extends boolean = false>(option
|
|
|
3186
3295
|
* Update Publish List
|
|
3187
3296
|
*
|
|
3188
3297
|
* Update a publish list's name / description.
|
|
3298
|
+
*
|
|
3299
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3189
3300
|
*/
|
|
3190
3301
|
export const opUpdatePublishList = <ThrowOnError extends boolean = false>(options: Options<OpUpdatePublishListData, ThrowOnError>) => (options.client ?? client).post<OpUpdatePublishListResponses, OpUpdatePublishListErrors, ThrowOnError>({
|
|
3191
3302
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3201,6 +3312,8 @@ export const opUpdatePublishList = <ThrowOnError extends boolean = false>(option
|
|
|
3201
3312
|
* Delete Publish List
|
|
3202
3313
|
*
|
|
3203
3314
|
* Delete a publish list.
|
|
3315
|
+
*
|
|
3316
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3204
3317
|
*/
|
|
3205
3318
|
export const opDeletePublishList = <ThrowOnError extends boolean = false>(options: Options<OpDeletePublishListData, ThrowOnError>) => (options.client ?? client).post<OpDeletePublishListResponses, OpDeletePublishListErrors, ThrowOnError>({
|
|
3206
3319
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3216,6 +3329,8 @@ export const opDeletePublishList = <ThrowOnError extends boolean = false>(option
|
|
|
3216
3329
|
* Add Members to Publish List
|
|
3217
3330
|
*
|
|
3218
3331
|
* Add target graphs as members of a publish list.
|
|
3332
|
+
*
|
|
3333
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3219
3334
|
*/
|
|
3220
3335
|
export const opAddPublishListMembers = <ThrowOnError extends boolean = false>(options: Options<OpAddPublishListMembersData, ThrowOnError>) => (options.client ?? client).post<OpAddPublishListMembersResponses, OpAddPublishListMembersErrors, ThrowOnError>({
|
|
3221
3336
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3231,6 +3346,8 @@ export const opAddPublishListMembers = <ThrowOnError extends boolean = false>(op
|
|
|
3231
3346
|
* Remove Member from Publish List
|
|
3232
3347
|
*
|
|
3233
3348
|
* Remove a target graph from a publish list.
|
|
3349
|
+
*
|
|
3350
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3234
3351
|
*/
|
|
3235
3352
|
export const opRemovePublishListMember = <ThrowOnError extends boolean = false>(options: Options<OpRemovePublishListMemberData, ThrowOnError>) => (options.client ?? client).post<OpRemovePublishListMemberResponses, OpRemovePublishListMemberErrors, ThrowOnError>({
|
|
3236
3353
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3256,6 +3373,8 @@ export const opRemovePublishListMember = <ThrowOnError extends boolean = false>(
|
|
|
3256
3373
|
* not the extensions OLTP database. The same operation works for
|
|
3257
3374
|
* roboledger tenant graphs (post-materialization) and the SEC shared
|
|
3258
3375
|
* repository (which uses the same XBRL hypercube schema).
|
|
3376
|
+
*
|
|
3377
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3259
3378
|
*/
|
|
3260
3379
|
export const opBuildFactGrid = <ThrowOnError extends boolean = false>(options: Options<OpBuildFactGridData, ThrowOnError>) => (options.client ?? client).post<OpBuildFactGridResponses, OpBuildFactGridErrors, ThrowOnError>({
|
|
3261
3380
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3269,6 +3388,10 @@ export const opBuildFactGrid = <ThrowOnError extends boolean = false>(options: O
|
|
|
3269
3388
|
|
|
3270
3389
|
/**
|
|
3271
3390
|
* Create Portfolio
|
|
3391
|
+
*
|
|
3392
|
+
*
|
|
3393
|
+
*
|
|
3394
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3272
3395
|
*/
|
|
3273
3396
|
export const opCreatePortfolio = <ThrowOnError extends boolean = false>(options: Options<OpCreatePortfolioData, ThrowOnError>) => (options.client ?? client).post<OpCreatePortfolioResponses, OpCreatePortfolioErrors, ThrowOnError>({
|
|
3274
3397
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3282,6 +3405,10 @@ export const opCreatePortfolio = <ThrowOnError extends boolean = false>(options:
|
|
|
3282
3405
|
|
|
3283
3406
|
/**
|
|
3284
3407
|
* Update Portfolio
|
|
3408
|
+
*
|
|
3409
|
+
*
|
|
3410
|
+
*
|
|
3411
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3285
3412
|
*/
|
|
3286
3413
|
export const opUpdatePortfolio = <ThrowOnError extends boolean = false>(options: Options<OpUpdatePortfolioData, ThrowOnError>) => (options.client ?? client).post<OpUpdatePortfolioResponses, OpUpdatePortfolioErrors, ThrowOnError>({
|
|
3287
3414
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3295,6 +3422,10 @@ export const opUpdatePortfolio = <ThrowOnError extends boolean = false>(options:
|
|
|
3295
3422
|
|
|
3296
3423
|
/**
|
|
3297
3424
|
* Delete Portfolio
|
|
3425
|
+
*
|
|
3426
|
+
*
|
|
3427
|
+
*
|
|
3428
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3298
3429
|
*/
|
|
3299
3430
|
export const opDeletePortfolio = <ThrowOnError extends boolean = false>(options: Options<OpDeletePortfolioData, ThrowOnError>) => (options.client ?? client).post<OpDeletePortfolioResponses, OpDeletePortfolioErrors, ThrowOnError>({
|
|
3300
3431
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3308,6 +3439,10 @@ export const opDeletePortfolio = <ThrowOnError extends boolean = false>(options:
|
|
|
3308
3439
|
|
|
3309
3440
|
/**
|
|
3310
3441
|
* Create Security
|
|
3442
|
+
*
|
|
3443
|
+
*
|
|
3444
|
+
*
|
|
3445
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3311
3446
|
*/
|
|
3312
3447
|
export const opCreateSecurity = <ThrowOnError extends boolean = false>(options: Options<OpCreateSecurityData, ThrowOnError>) => (options.client ?? client).post<OpCreateSecurityResponses, OpCreateSecurityErrors, ThrowOnError>({
|
|
3313
3448
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3321,6 +3456,10 @@ export const opCreateSecurity = <ThrowOnError extends boolean = false>(options:
|
|
|
3321
3456
|
|
|
3322
3457
|
/**
|
|
3323
3458
|
* Update Security
|
|
3459
|
+
*
|
|
3460
|
+
*
|
|
3461
|
+
*
|
|
3462
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3324
3463
|
*/
|
|
3325
3464
|
export const opUpdateSecurity = <ThrowOnError extends boolean = false>(options: Options<OpUpdateSecurityData, ThrowOnError>) => (options.client ?? client).post<OpUpdateSecurityResponses, OpUpdateSecurityErrors, ThrowOnError>({
|
|
3326
3465
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3334,6 +3473,10 @@ export const opUpdateSecurity = <ThrowOnError extends boolean = false>(options:
|
|
|
3334
3473
|
|
|
3335
3474
|
/**
|
|
3336
3475
|
* Delete Security
|
|
3476
|
+
*
|
|
3477
|
+
*
|
|
3478
|
+
*
|
|
3479
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3337
3480
|
*/
|
|
3338
3481
|
export const opDeleteSecurity = <ThrowOnError extends boolean = false>(options: Options<OpDeleteSecurityData, ThrowOnError>) => (options.client ?? client).post<OpDeleteSecurityResponses, OpDeleteSecurityErrors, ThrowOnError>({
|
|
3339
3482
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3347,6 +3490,10 @@ export const opDeleteSecurity = <ThrowOnError extends boolean = false>(options:
|
|
|
3347
3490
|
|
|
3348
3491
|
/**
|
|
3349
3492
|
* Create Position
|
|
3493
|
+
*
|
|
3494
|
+
*
|
|
3495
|
+
*
|
|
3496
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3350
3497
|
*/
|
|
3351
3498
|
export const opCreatePosition = <ThrowOnError extends boolean = false>(options: Options<OpCreatePositionData, ThrowOnError>) => (options.client ?? client).post<OpCreatePositionResponses, OpCreatePositionErrors, ThrowOnError>({
|
|
3352
3499
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3360,6 +3507,10 @@ export const opCreatePosition = <ThrowOnError extends boolean = false>(options:
|
|
|
3360
3507
|
|
|
3361
3508
|
/**
|
|
3362
3509
|
* Update Position
|
|
3510
|
+
*
|
|
3511
|
+
*
|
|
3512
|
+
*
|
|
3513
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3363
3514
|
*/
|
|
3364
3515
|
export const opUpdatePosition = <ThrowOnError extends boolean = false>(options: Options<OpUpdatePositionData, ThrowOnError>) => (options.client ?? client).post<OpUpdatePositionResponses, OpUpdatePositionErrors, ThrowOnError>({
|
|
3365
3516
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
@@ -3373,6 +3524,10 @@ export const opUpdatePosition = <ThrowOnError extends boolean = false>(options:
|
|
|
3373
3524
|
|
|
3374
3525
|
/**
|
|
3375
3526
|
* Delete Position
|
|
3527
|
+
*
|
|
3528
|
+
*
|
|
3529
|
+
*
|
|
3530
|
+
* **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
|
|
3376
3531
|
*/
|
|
3377
3532
|
export const opDeletePosition = <ThrowOnError extends boolean = false>(options: Options<OpDeletePositionData, ThrowOnError>) => (options.client ?? client).post<OpDeletePositionResponses, OpDeletePositionErrors, ThrowOnError>({
|
|
3378
3533
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|