@robosystems/client 0.3.9 → 0.3.11
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/artifacts/LedgerClient.d.ts +102 -105
- package/artifacts/LedgerClient.js +195 -180
- package/artifacts/LedgerClient.ts +315 -385
- package/artifacts/graphql/generated/graphql.d.ts +112 -5
- package/artifacts/graphql/generated/graphql.ts +122 -5
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +13 -21
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +67 -131
- package/sdk/sdk.gen.js +112 -248
- package/sdk/sdk.gen.ts +89 -225
- package/sdk/types.gen.d.ts +1408 -1538
- package/sdk/types.gen.ts +1093 -1264
- package/sdk.gen.d.ts +67 -131
- package/sdk.gen.js +112 -248
- package/sdk.gen.ts +89 -225
- package/types.gen.d.ts +1408 -1538
- package/types.gen.ts +1093 -1264
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, 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, GetCaptchaConfigErrors, GetCaptchaConfigResponses, GetCheckoutStatusData, GetCheckoutStatusErrors, GetCheckoutStatusResponses, GetConnectionData, GetConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsErrors, GetConnectionOptionsResponses, GetConnectionResponses, GetCreditSummaryData, GetCreditSummaryErrors, GetCreditSummaryResponses, GetCurrentAuthUserData, GetCurrentAuthUserErrors, GetCurrentAuthUserResponses, GetCurrentUserData, GetCurrentUserErrors, 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, GetPasswordPolicyErrors, 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, ListUserApiKeysErrors, ListUserApiKeysResponses, ListUserOrgsData, ListUserOrgsErrors, ListUserOrgsResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserErrors, LogoutUserResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, OpAddPublishListMembersData, OpAddPublishListMembersErrors, OpAddPublishListMembersResponses, OpAutoMapElementsData, OpAutoMapElementsErrors, OpAutoMapElementsResponses, OpBuildFactGridData, OpBuildFactGridErrors, OpBuildFactGridResponses, OpChangeTierData, OpChangeTierErrors, OpChangeTierResponses, OpClosePeriodData, OpClosePeriodErrors, OpClosePeriodResponses, OpCreateAssociationsData, OpCreateAssociationsErrors, OpCreateAssociationsResponses, OpCreateBackupData, OpCreateBackupErrors, OpCreateBackupResponses, OpCreateClosingEntryData, OpCreateClosingEntryErrors, OpCreateClosingEntryResponses, OpCreateElementData, OpCreateElementErrors, OpCreateElementResponses, OpCreateInformationBlockData, OpCreateInformationBlockErrors, OpCreateInformationBlockResponses, OpCreateJournalEntryData, OpCreateJournalEntryErrors, OpCreateJournalEntryResponses, OpCreateManualClosingEntryData, OpCreateManualClosingEntryErrors, OpCreateManualClosingEntryResponses, OpCreateMappingAssociationData, OpCreateMappingAssociationErrors, OpCreateMappingAssociationResponses, OpCreatePortfolioData, OpCreatePortfolioErrors, OpCreatePortfolioResponses, OpCreatePositionData, OpCreatePositionErrors, OpCreatePositionResponses, OpCreatePublishListData, OpCreatePublishListErrors, OpCreatePublishListResponses, OpCreateReportData, OpCreateReportErrors, OpCreateReportResponses, OpCreateSecurityData, OpCreateSecurityErrors, OpCreateSecurityResponses, OpCreateStructureData, OpCreateStructureErrors, OpCreateStructureResponses, OpCreateSubgraphData, OpCreateSubgraphErrors, OpCreateSubgraphResponses, OpCreateTaxonomyData, OpCreateTaxonomyErrors, OpCreateTaxonomyResponses, OpCreateTransactionData, OpCreateTransactionErrors, OpCreateTransactionResponses, OpDeleteAssociationData, OpDeleteAssociationErrors, OpDeleteAssociationResponses, OpDeleteElementData, OpDeleteElementErrors, OpDeleteElementResponses, OpDeleteInformationBlockData, OpDeleteInformationBlockErrors, OpDeleteInformationBlockResponses, OpDeleteJournalEntryData, OpDeleteJournalEntryErrors, OpDeleteJournalEntryResponses, OpDeleteMappingAssociationData, OpDeleteMappingAssociationErrors, OpDeleteMappingAssociationResponses, OpDeletePortfolioData, OpDeletePortfolioErrors, OpDeletePortfolioResponses, OpDeletePositionData, OpDeletePositionErrors, OpDeletePositionResponses, OpDeletePublishListData, OpDeletePublishListErrors, OpDeletePublishListResponses, OpDeleteReportData, OpDeleteReportErrors, OpDeleteReportResponses, OpDeleteSecurityData, OpDeleteSecurityErrors, OpDeleteSecurityResponses, OpDeleteStructureData, OpDeleteStructureErrors, OpDeleteStructureResponses, OpDeleteSubgraphData, OpDeleteSubgraphErrors, OpDeleteSubgraphResponses, OpDeleteTaxonomyData, OpDeleteTaxonomyErrors, OpDeleteTaxonomyResponses, OpEvaluateRulesData, OpEvaluateRulesErrors, OpEvaluateRulesResponses, OpFinancialStatementAnalysisData, OpFinancialStatementAnalysisErrors, OpFinancialStatementAnalysisResponses, OpInitializeLedgerData, OpInitializeLedgerErrors, OpInitializeLedgerResponses, OpLinkEntityTaxonomyData, OpLinkEntityTaxonomyErrors, OpLinkEntityTaxonomyResponses, OpLiveFinancialStatementData, OpLiveFinancialStatementErrors, OpLiveFinancialStatementResponses, 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, OpUpdateInformationBlockData, OpUpdateInformationBlockErrors, OpUpdateInformationBlockResponses, OpUpdateJournalEntryData, OpUpdateJournalEntryErrors, OpUpdateJournalEntryResponses, OpUpdatePortfolioData, OpUpdatePortfolioErrors, OpUpdatePortfolioResponses, OpUpdatePositionData, OpUpdatePositionErrors, OpUpdatePositionResponses, OpUpdatePublishListData, OpUpdatePublishListErrors, OpUpdatePublishListResponses, OpUpdateSecurityData, OpUpdateSecurityErrors, OpUpdateSecurityResponses, OpUpdateStructureData, OpUpdateStructureErrors, OpUpdateStructureResponses, OpUpdateTaxonomyData, OpUpdateTaxonomyErrors, OpUpdateTaxonomyResponses, 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, 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, GetCaptchaConfigErrors, GetCaptchaConfigResponses, GetCheckoutStatusData, GetCheckoutStatusErrors, GetCheckoutStatusResponses, GetConnectionData, GetConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsErrors, GetConnectionOptionsResponses, GetConnectionResponses, GetCreditSummaryData, GetCreditSummaryErrors, GetCreditSummaryResponses, GetCurrentAuthUserData, GetCurrentAuthUserErrors, GetCurrentAuthUserResponses, GetCurrentUserData, GetCurrentUserErrors, 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, GetPasswordPolicyErrors, 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, ListUserApiKeysErrors, ListUserApiKeysResponses, ListUserOrgsData, ListUserOrgsErrors, ListUserOrgsResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserErrors, LogoutUserResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, OpAddPublishListMembersData, OpAddPublishListMembersErrors, OpAddPublishListMembersResponses, OpAutoMapElementsData, OpAutoMapElementsErrors, OpAutoMapElementsResponses, OpBuildFactGridData, OpBuildFactGridErrors, OpBuildFactGridResponses, OpChangeTierData, OpChangeTierErrors, OpChangeTierResponses, OpClosePeriodData, OpClosePeriodErrors, OpClosePeriodResponses, OpCreateAgentData, OpCreateAgentErrors, OpCreateAgentResponses, OpCreateBackupData, OpCreateBackupErrors, OpCreateBackupResponses, OpCreateEventBlockData, OpCreateEventBlockErrors, OpCreateEventBlockResponses, OpCreateEventHandlerData, OpCreateEventHandlerErrors, OpCreateEventHandlerResponses, OpCreateInformationBlockData, OpCreateInformationBlockErrors, OpCreateInformationBlockResponses, OpCreateMappingAssociationData, OpCreateMappingAssociationErrors, OpCreateMappingAssociationResponses, OpCreatePortfolioData, OpCreatePortfolioErrors, OpCreatePortfolioResponses, OpCreatePositionData, OpCreatePositionErrors, OpCreatePositionResponses, OpCreatePublishListData, OpCreatePublishListErrors, OpCreatePublishListResponses, OpCreateReportData, OpCreateReportErrors, OpCreateReportResponses, OpCreateSecurityData, OpCreateSecurityErrors, OpCreateSecurityResponses, OpCreateSubgraphData, OpCreateSubgraphErrors, OpCreateSubgraphResponses, OpCreateTaxonomyBlockData, OpCreateTaxonomyBlockErrors, OpCreateTaxonomyBlockResponses, OpDeleteInformationBlockData, OpDeleteInformationBlockErrors, OpDeleteInformationBlockResponses, OpDeleteJournalEntryData, OpDeleteJournalEntryErrors, OpDeleteJournalEntryResponses, OpDeleteMappingAssociationData, OpDeleteMappingAssociationErrors, OpDeleteMappingAssociationResponses, OpDeletePortfolioData, OpDeletePortfolioErrors, OpDeletePortfolioResponses, OpDeletePositionData, OpDeletePositionErrors, OpDeletePositionResponses, OpDeletePublishListData, OpDeletePublishListErrors, OpDeletePublishListResponses, OpDeleteReportData, OpDeleteReportErrors, OpDeleteReportResponses, OpDeleteSecurityData, OpDeleteSecurityErrors, OpDeleteSecurityResponses, OpDeleteSubgraphData, OpDeleteSubgraphErrors, OpDeleteSubgraphResponses, OpDeleteTaxonomyBlockData, OpDeleteTaxonomyBlockErrors, OpDeleteTaxonomyBlockResponses, OpEvaluateRulesData, OpEvaluateRulesErrors, OpEvaluateRulesResponses, OpFinancialStatementAnalysisData, OpFinancialStatementAnalysisErrors, OpFinancialStatementAnalysisResponses, OpInitializeLedgerData, OpInitializeLedgerErrors, OpInitializeLedgerResponses, OpLinkEntityTaxonomyData, OpLinkEntityTaxonomyErrors, OpLinkEntityTaxonomyResponses, OpLiveFinancialStatementData, OpLiveFinancialStatementErrors, OpLiveFinancialStatementResponses, OpMaterializeData, OpMaterializeErrors, OpMaterializeResponses, OpPreviewEventBlockData, OpPreviewEventBlockErrors, OpPreviewEventBlockResponses, OpRegenerateReportData, OpRegenerateReportErrors, OpRegenerateReportResponses, OpRemovePublishListMemberData, OpRemovePublishListMemberErrors, OpRemovePublishListMemberResponses, OpReopenPeriodData, OpReopenPeriodErrors, OpReopenPeriodResponses, OpRestoreBackupData, OpRestoreBackupErrors, OpRestoreBackupResponses, OpSetCloseTargetData, OpSetCloseTargetErrors, OpSetCloseTargetResponses, OpShareReportData, OpShareReportErrors, OpShareReportResponses, OpUpdateAgentData, OpUpdateAgentErrors, OpUpdateAgentResponses, OpUpdateEntityData, OpUpdateEntityErrors, OpUpdateEntityResponses, OpUpdateEventBlockData, OpUpdateEventBlockErrors, OpUpdateEventBlockResponses, OpUpdateEventHandlerData, OpUpdateEventHandlerErrors, OpUpdateEventHandlerResponses, OpUpdateInformationBlockData, OpUpdateInformationBlockErrors, OpUpdateInformationBlockResponses, OpUpdateJournalEntryData, OpUpdateJournalEntryErrors, OpUpdateJournalEntryResponses, OpUpdatePortfolioData, OpUpdatePortfolioErrors, OpUpdatePortfolioResponses, OpUpdatePositionData, OpUpdatePositionErrors, OpUpdatePositionResponses, OpUpdatePublishListData, OpUpdatePublishListErrors, OpUpdatePublishListResponses, OpUpdateSecurityData, OpUpdateSecurityErrors, OpUpdateSecurityResponses, OpUpdateTaxonomyBlockData, OpUpdateTaxonomyBlockErrors, OpUpdateTaxonomyBlockResponses, 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, 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
|
/**
|
|
@@ -1309,23 +1309,6 @@ export const handleHttpPostExtensionsGraphIdGraphqlPost = <ThrowOnError extends
|
|
|
1309
1309
|
...options
|
|
1310
1310
|
});
|
|
1311
1311
|
|
|
1312
|
-
/**
|
|
1313
|
-
* Update Entity
|
|
1314
|
-
*
|
|
1315
|
-
* Only provided (non-null) fields are updated.
|
|
1316
|
-
*
|
|
1317
|
-
* **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.
|
|
1318
|
-
*/
|
|
1319
|
-
export const opUpdateEntity = <ThrowOnError extends boolean = false>(options: Options<OpUpdateEntityData, ThrowOnError>) => (options.client ?? client).post<OpUpdateEntityResponses, OpUpdateEntityErrors, ThrowOnError>({
|
|
1320
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1321
|
-
url: '/extensions/roboledger/{graph_id}/operations/update-entity',
|
|
1322
|
-
...options,
|
|
1323
|
-
headers: {
|
|
1324
|
-
'Content-Type': 'application/json',
|
|
1325
|
-
...options.headers
|
|
1326
|
-
}
|
|
1327
|
-
});
|
|
1328
|
-
|
|
1329
1312
|
/**
|
|
1330
1313
|
* Initialize Ledger
|
|
1331
1314
|
*
|
|
@@ -1344,15 +1327,15 @@ export const opInitializeLedger = <ThrowOnError extends boolean = false>(options
|
|
|
1344
1327
|
});
|
|
1345
1328
|
|
|
1346
1329
|
/**
|
|
1347
|
-
*
|
|
1330
|
+
* Update Entity
|
|
1348
1331
|
*
|
|
1349
|
-
*
|
|
1332
|
+
* Only provided (non-null) fields are updated.
|
|
1350
1333
|
*
|
|
1351
1334
|
* **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.
|
|
1352
1335
|
*/
|
|
1353
|
-
export const
|
|
1336
|
+
export const opUpdateEntity = <ThrowOnError extends boolean = false>(options: Options<OpUpdateEntityData, ThrowOnError>) => (options.client ?? client).post<OpUpdateEntityResponses, OpUpdateEntityErrors, ThrowOnError>({
|
|
1354
1337
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1355
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1338
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-entity',
|
|
1356
1339
|
...options,
|
|
1357
1340
|
headers: {
|
|
1358
1341
|
'Content-Type': 'application/json',
|
|
@@ -1361,15 +1344,15 @@ export const opSetCloseTarget = <ThrowOnError extends boolean = false>(options:
|
|
|
1361
1344
|
});
|
|
1362
1345
|
|
|
1363
1346
|
/**
|
|
1364
|
-
*
|
|
1365
|
-
*
|
|
1347
|
+
* Create Taxonomy Block
|
|
1366
1348
|
*
|
|
1349
|
+
* Create a taxonomy block atomically: one envelope carrying the taxonomy row plus its structures, elements, associations, and rules. Dispatches by `taxonomy_type` — `chart_of_accounts` (declarative tenant CoA) is live; `reporting_extension` / `custom_ontology` / `reporting_standard` land in later sub-phases.
|
|
1367
1350
|
*
|
|
1368
1351
|
* **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.
|
|
1369
1352
|
*/
|
|
1370
|
-
export const
|
|
1353
|
+
export const opCreateTaxonomyBlock = <ThrowOnError extends boolean = false>(options: Options<OpCreateTaxonomyBlockData, ThrowOnError>) => (options.client ?? client).post<OpCreateTaxonomyBlockResponses, OpCreateTaxonomyBlockErrors, ThrowOnError>({
|
|
1371
1354
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1372
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1355
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-taxonomy-block',
|
|
1373
1356
|
...options,
|
|
1374
1357
|
headers: {
|
|
1375
1358
|
'Content-Type': 'application/json',
|
|
@@ -1378,15 +1361,15 @@ export const opClosePeriod = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
1378
1361
|
});
|
|
1379
1362
|
|
|
1380
1363
|
/**
|
|
1381
|
-
*
|
|
1364
|
+
* Update Taxonomy Block
|
|
1382
1365
|
*
|
|
1383
|
-
*
|
|
1366
|
+
* Incrementally mutate a taxonomy block via typed delta lists (elements/structures/associations/rules to add, update, remove). Dispatches by the target taxonomy's stored `taxonomy_type`. Library-origin block types (`reporting_standard`) surface 501.
|
|
1384
1367
|
*
|
|
1385
1368
|
* **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.
|
|
1386
1369
|
*/
|
|
1387
|
-
export const
|
|
1370
|
+
export const opUpdateTaxonomyBlock = <ThrowOnError extends boolean = false>(options: Options<OpUpdateTaxonomyBlockData, ThrowOnError>) => (options.client ?? client).post<OpUpdateTaxonomyBlockResponses, OpUpdateTaxonomyBlockErrors, ThrowOnError>({
|
|
1388
1371
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1389
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1372
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-taxonomy-block',
|
|
1390
1373
|
...options,
|
|
1391
1374
|
headers: {
|
|
1392
1375
|
'Content-Type': 'application/json',
|
|
@@ -1395,15 +1378,15 @@ export const opReopenPeriod = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1395
1378
|
});
|
|
1396
1379
|
|
|
1397
1380
|
/**
|
|
1398
|
-
*
|
|
1399
|
-
*
|
|
1381
|
+
* Delete Taxonomy Block
|
|
1400
1382
|
*
|
|
1383
|
+
* Delete a taxonomy block and return a thin confirmation. `cascade_facts=True` also deletes Fact rows that reference the taxonomy's elements; default False fails the delete if such facts exist. Library-origin block types surface 501.
|
|
1401
1384
|
*
|
|
1402
1385
|
* **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.
|
|
1403
1386
|
*/
|
|
1404
|
-
export const
|
|
1387
|
+
export const opDeleteTaxonomyBlock = <ThrowOnError extends boolean = false>(options: Options<OpDeleteTaxonomyBlockData, ThrowOnError>) => (options.client ?? client).post<OpDeleteTaxonomyBlockResponses, OpDeleteTaxonomyBlockErrors, ThrowOnError>({
|
|
1405
1388
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1406
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1389
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-taxonomy-block',
|
|
1407
1390
|
...options,
|
|
1408
1391
|
headers: {
|
|
1409
1392
|
'Content-Type': 'application/json',
|
|
@@ -1412,15 +1395,15 @@ export const opCreateTaxonomy = <ThrowOnError extends boolean = false>(options:
|
|
|
1412
1395
|
});
|
|
1413
1396
|
|
|
1414
1397
|
/**
|
|
1415
|
-
*
|
|
1398
|
+
* Link Entity to Taxonomy
|
|
1416
1399
|
*
|
|
1417
|
-
*
|
|
1400
|
+
* Link the graph's entity to a taxonomy. Idempotent — returns existing linkage if it already exists. CoA blocks auto-link at create time; use this only to switch the primary CoA or link a reporting extension / custom ontology explicitly.
|
|
1418
1401
|
*
|
|
1419
1402
|
* **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.
|
|
1420
1403
|
*/
|
|
1421
|
-
export const
|
|
1404
|
+
export const opLinkEntityTaxonomy = <ThrowOnError extends boolean = false>(options: Options<OpLinkEntityTaxonomyData, ThrowOnError>) => (options.client ?? client).post<OpLinkEntityTaxonomyResponses, OpLinkEntityTaxonomyErrors, ThrowOnError>({
|
|
1422
1405
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1423
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1406
|
+
url: '/extensions/roboledger/{graph_id}/operations/link-entity-taxonomy',
|
|
1424
1407
|
...options,
|
|
1425
1408
|
headers: {
|
|
1426
1409
|
'Content-Type': 'application/json',
|
|
@@ -1429,15 +1412,15 @@ export const opCreateStructure = <ThrowOnError extends boolean = false>(options:
|
|
|
1429
1412
|
});
|
|
1430
1413
|
|
|
1431
1414
|
/**
|
|
1432
|
-
*
|
|
1433
|
-
*
|
|
1415
|
+
* Create Mapping Association
|
|
1434
1416
|
*
|
|
1417
|
+
* Link a chart-of-accounts element to a US GAAP reporting concept.
|
|
1435
1418
|
*
|
|
1436
1419
|
* **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.
|
|
1437
1420
|
*/
|
|
1438
|
-
export const
|
|
1421
|
+
export const opCreateMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<OpCreateMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<OpCreateMappingAssociationResponses, OpCreateMappingAssociationErrors, ThrowOnError>({
|
|
1439
1422
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1440
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1423
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-mapping-association',
|
|
1441
1424
|
...options,
|
|
1442
1425
|
headers: {
|
|
1443
1426
|
'Content-Type': 'application/json',
|
|
@@ -1446,15 +1429,15 @@ export const opDeleteMappingAssociation = <ThrowOnError extends boolean = false>
|
|
|
1446
1429
|
});
|
|
1447
1430
|
|
|
1448
1431
|
/**
|
|
1449
|
-
*
|
|
1432
|
+
* Delete Mapping Association
|
|
1433
|
+
*
|
|
1450
1434
|
*
|
|
1451
|
-
* Update mutable fields on a taxonomy. `taxonomy_type` is immutable.
|
|
1452
1435
|
*
|
|
1453
1436
|
* **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.
|
|
1454
1437
|
*/
|
|
1455
|
-
export const
|
|
1438
|
+
export const opDeleteMappingAssociation = <ThrowOnError extends boolean = false>(options: Options<OpDeleteMappingAssociationData, ThrowOnError>) => (options.client ?? client).post<OpDeleteMappingAssociationResponses, OpDeleteMappingAssociationErrors, ThrowOnError>({
|
|
1456
1439
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1457
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1440
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-mapping-association',
|
|
1458
1441
|
...options,
|
|
1459
1442
|
headers: {
|
|
1460
1443
|
'Content-Type': 'application/json',
|
|
@@ -1463,15 +1446,15 @@ export const opUpdateTaxonomy = <ThrowOnError extends boolean = false>(options:
|
|
|
1463
1446
|
});
|
|
1464
1447
|
|
|
1465
1448
|
/**
|
|
1466
|
-
*
|
|
1449
|
+
* Auto-Map Elements via AI (async)
|
|
1467
1450
|
*
|
|
1468
|
-
*
|
|
1451
|
+
* Dispatches to the background worker — returns a `pending` envelope immediately. Monitor via SSE at `/v1/operations/{operation_id}/stream`. Confidence thresholds: ≥0.90 auto-approved, 0.70–0.89 flagged for review, <0.70 skipped.
|
|
1469
1452
|
*
|
|
1470
1453
|
* **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.
|
|
1471
1454
|
*/
|
|
1472
|
-
export const
|
|
1455
|
+
export const opAutoMapElements = <ThrowOnError extends boolean = false>(options: Options<OpAutoMapElementsData, ThrowOnError>) => (options.client ?? client).post<OpAutoMapElementsResponses, OpAutoMapElementsErrors, ThrowOnError>({
|
|
1473
1456
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1474
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1457
|
+
url: '/extensions/roboledger/{graph_id}/operations/auto-map-elements',
|
|
1475
1458
|
...options,
|
|
1476
1459
|
headers: {
|
|
1477
1460
|
'Content-Type': 'application/json',
|
|
@@ -1480,15 +1463,15 @@ export const opDeleteTaxonomy = <ThrowOnError extends boolean = false>(options:
|
|
|
1480
1463
|
});
|
|
1481
1464
|
|
|
1482
1465
|
/**
|
|
1483
|
-
*
|
|
1466
|
+
* Create Information Block
|
|
1484
1467
|
*
|
|
1485
|
-
*
|
|
1468
|
+
* Generic Information Block construction entry. `block_type` selects the registered block type; `payload` is validated against that type's creation schema at dispatch. Schedule dispatches to the existing Schedule machinery; statement block types raise 501 (use create-report instead).
|
|
1486
1469
|
*
|
|
1487
1470
|
* **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.
|
|
1488
1471
|
*/
|
|
1489
|
-
export const
|
|
1472
|
+
export const opCreateInformationBlock = <ThrowOnError extends boolean = false>(options: Options<OpCreateInformationBlockData, ThrowOnError>) => (options.client ?? client).post<OpCreateInformationBlockResponses, OpCreateInformationBlockErrors, ThrowOnError>({
|
|
1490
1473
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1491
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1474
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-information-block',
|
|
1492
1475
|
...options,
|
|
1493
1476
|
headers: {
|
|
1494
1477
|
'Content-Type': 'application/json',
|
|
@@ -1497,15 +1480,15 @@ export const opLinkEntityTaxonomy = <ThrowOnError extends boolean = false>(optio
|
|
|
1497
1480
|
});
|
|
1498
1481
|
|
|
1499
1482
|
/**
|
|
1500
|
-
* Update
|
|
1483
|
+
* Update Information Block
|
|
1501
1484
|
*
|
|
1502
|
-
*
|
|
1485
|
+
* Generic Information Block update entry. Dispatches by `block_type` to the registered mutation handler. Block types whose Structures are library-seeded and immutable (statement family) surface 501.
|
|
1503
1486
|
*
|
|
1504
1487
|
* **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.
|
|
1505
1488
|
*/
|
|
1506
|
-
export const
|
|
1489
|
+
export const opUpdateInformationBlock = <ThrowOnError extends boolean = false>(options: Options<OpUpdateInformationBlockData, ThrowOnError>) => (options.client ?? client).post<OpUpdateInformationBlockResponses, OpUpdateInformationBlockErrors, ThrowOnError>({
|
|
1507
1490
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1508
|
-
url: '/extensions/roboledger/{graph_id}/operations/update-
|
|
1491
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-information-block',
|
|
1509
1492
|
...options,
|
|
1510
1493
|
headers: {
|
|
1511
1494
|
'Content-Type': 'application/json',
|
|
@@ -1514,15 +1497,15 @@ export const opUpdateStructure = <ThrowOnError extends boolean = false>(options:
|
|
|
1514
1497
|
});
|
|
1515
1498
|
|
|
1516
1499
|
/**
|
|
1517
|
-
* Delete
|
|
1500
|
+
* Delete Information Block
|
|
1518
1501
|
*
|
|
1519
|
-
*
|
|
1502
|
+
* Generic Information Block deletion entry. Returns a thin confirmation (deleted / structure_id / block_type / name). Block types whose Structures are library-seeded cannot be deleted per tenant and surface 501.
|
|
1520
1503
|
*
|
|
1521
1504
|
* **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.
|
|
1522
1505
|
*/
|
|
1523
|
-
export const
|
|
1506
|
+
export const opDeleteInformationBlock = <ThrowOnError extends boolean = false>(options: Options<OpDeleteInformationBlockData, ThrowOnError>) => (options.client ?? client).post<OpDeleteInformationBlockResponses, OpDeleteInformationBlockErrors, ThrowOnError>({
|
|
1524
1507
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1525
|
-
url: '/extensions/roboledger/{graph_id}/operations/delete-
|
|
1508
|
+
url: '/extensions/roboledger/{graph_id}/operations/delete-information-block',
|
|
1526
1509
|
...options,
|
|
1527
1510
|
headers: {
|
|
1528
1511
|
'Content-Type': 'application/json',
|
|
@@ -1531,15 +1514,15 @@ export const opDeleteStructure = <ThrowOnError extends boolean = false>(options:
|
|
|
1531
1514
|
});
|
|
1532
1515
|
|
|
1533
1516
|
/**
|
|
1534
|
-
*
|
|
1517
|
+
* Evaluate Rules for an Information Block
|
|
1535
1518
|
*
|
|
1536
|
-
*
|
|
1519
|
+
* Runs every rule targeting the given structure (plus element- and association-scoped rules for the structure's atoms), binds $Variable references to in-scope facts via qname lookup, writes one VerificationResult row per rule, and returns the results plus a status-keyed summary. Phase delta.3 — decoding mode, 5 patterns (EqualTo, RollUp, RollForward, Exists, CoExists).
|
|
1537
1520
|
*
|
|
1538
1521
|
* **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.
|
|
1539
1522
|
*/
|
|
1540
|
-
export const
|
|
1523
|
+
export const opEvaluateRules = <ThrowOnError extends boolean = false>(options: Options<OpEvaluateRulesData, ThrowOnError>) => (options.client ?? client).post<OpEvaluateRulesResponses, OpEvaluateRulesErrors, ThrowOnError>({
|
|
1541
1524
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1542
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1525
|
+
url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules',
|
|
1543
1526
|
...options,
|
|
1544
1527
|
headers: {
|
|
1545
1528
|
'Content-Type': 'application/json',
|
|
@@ -1548,15 +1531,15 @@ export const opCreateElement = <ThrowOnError extends boolean = false>(options: O
|
|
|
1548
1531
|
});
|
|
1549
1532
|
|
|
1550
1533
|
/**
|
|
1551
|
-
*
|
|
1534
|
+
* Create Agent
|
|
1552
1535
|
*
|
|
1553
|
-
*
|
|
1536
|
+
* Create a counterparty record (customer, vendor, employee, etc.). The (source, external_id) pair is a dedup key — a second insert with the same pair returns 409. Use update-agent to patch fields.
|
|
1554
1537
|
*
|
|
1555
1538
|
* **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.
|
|
1556
1539
|
*/
|
|
1557
|
-
export const
|
|
1540
|
+
export const opCreateAgent = <ThrowOnError extends boolean = false>(options: Options<OpCreateAgentData, ThrowOnError>) => (options.client ?? client).post<OpCreateAgentResponses, OpCreateAgentErrors, ThrowOnError>({
|
|
1558
1541
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1559
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1542
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-agent',
|
|
1560
1543
|
...options,
|
|
1561
1544
|
headers: {
|
|
1562
1545
|
'Content-Type': 'application/json',
|
|
@@ -1565,15 +1548,15 @@ export const opUpdateElement = <ThrowOnError extends boolean = false>(options: O
|
|
|
1565
1548
|
});
|
|
1566
1549
|
|
|
1567
1550
|
/**
|
|
1568
|
-
*
|
|
1551
|
+
* Update Agent
|
|
1569
1552
|
*
|
|
1570
|
-
*
|
|
1553
|
+
* Patch counterparty fields. Only supplied fields are updated. Set is_active=false to deactivate (agents are never deleted — they are reference data referenced by events and transactions).
|
|
1571
1554
|
*
|
|
1572
1555
|
* **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.
|
|
1573
1556
|
*/
|
|
1574
|
-
export const
|
|
1557
|
+
export const opUpdateAgent = <ThrowOnError extends boolean = false>(options: Options<OpUpdateAgentData, ThrowOnError>) => (options.client ?? client).post<OpUpdateAgentResponses, OpUpdateAgentErrors, ThrowOnError>({
|
|
1575
1558
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1576
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1559
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-agent',
|
|
1577
1560
|
...options,
|
|
1578
1561
|
headers: {
|
|
1579
1562
|
'Content-Type': 'application/json',
|
|
@@ -1582,15 +1565,15 @@ export const opDeleteElement = <ThrowOnError extends boolean = false>(options: O
|
|
|
1582
1565
|
});
|
|
1583
1566
|
|
|
1584
1567
|
/**
|
|
1585
|
-
* Create
|
|
1568
|
+
* Create Event Block
|
|
1586
1569
|
*
|
|
1587
|
-
*
|
|
1570
|
+
* Persist a real-world business event. apply_handlers=False (default): capture-only, status='captured'. apply_handlers=True: resolves an event_handler, fires the template, creates GL entries atomically, status='classified'. Use preview-event-block to dry-run before committing.
|
|
1588
1571
|
*
|
|
1589
1572
|
* **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.
|
|
1590
1573
|
*/
|
|
1591
|
-
export const
|
|
1574
|
+
export const opCreateEventBlock = <ThrowOnError extends boolean = false>(options: Options<OpCreateEventBlockData, ThrowOnError>) => (options.client ?? client).post<OpCreateEventBlockResponses, OpCreateEventBlockErrors, ThrowOnError>({
|
|
1592
1575
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1593
|
-
url: '/extensions/roboledger/{graph_id}/operations/create-
|
|
1576
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-event-block',
|
|
1594
1577
|
...options,
|
|
1595
1578
|
headers: {
|
|
1596
1579
|
'Content-Type': 'application/json',
|
|
@@ -1599,15 +1582,15 @@ export const opCreateAssociations = <ThrowOnError extends boolean = false>(optio
|
|
|
1599
1582
|
});
|
|
1600
1583
|
|
|
1601
1584
|
/**
|
|
1602
|
-
* Update
|
|
1585
|
+
* Update Event Block
|
|
1603
1586
|
*
|
|
1604
|
-
*
|
|
1587
|
+
* Apply a status transition (captured → committed | voided) and/or field corrections (description, effective_at, metadata_patch) to an existing event block. Only supplied fields are updated.
|
|
1605
1588
|
*
|
|
1606
1589
|
* **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.
|
|
1607
1590
|
*/
|
|
1608
|
-
export const
|
|
1591
|
+
export const opUpdateEventBlock = <ThrowOnError extends boolean = false>(options: Options<OpUpdateEventBlockData, ThrowOnError>) => (options.client ?? client).post<OpUpdateEventBlockResponses, OpUpdateEventBlockErrors, ThrowOnError>({
|
|
1609
1592
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1610
|
-
url: '/extensions/roboledger/{graph_id}/operations/update-
|
|
1593
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-event-block',
|
|
1611
1594
|
...options,
|
|
1612
1595
|
headers: {
|
|
1613
1596
|
'Content-Type': 'application/json',
|
|
@@ -1616,15 +1599,15 @@ export const opUpdateAssociation = <ThrowOnError extends boolean = false>(option
|
|
|
1616
1599
|
});
|
|
1617
1600
|
|
|
1618
1601
|
/**
|
|
1619
|
-
*
|
|
1602
|
+
* Create Event Handler
|
|
1620
1603
|
*
|
|
1621
|
-
*
|
|
1604
|
+
* Define a rule that fires GL transactions when a matching event block is created with apply_handlers=True. Match criteria (event_type, event_category, match_source, match_agent_type, etc.) act as AND-joined filters — null fields match anything. The highest-priority matching handler wins. AI-suggested handlers (suggested_by='ai') require approval before they are eligible for matching.
|
|
1622
1605
|
*
|
|
1623
1606
|
* **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.
|
|
1624
1607
|
*/
|
|
1625
|
-
export const
|
|
1608
|
+
export const opCreateEventHandler = <ThrowOnError extends boolean = false>(options: Options<OpCreateEventHandlerData, ThrowOnError>) => (options.client ?? client).post<OpCreateEventHandlerResponses, OpCreateEventHandlerErrors, ThrowOnError>({
|
|
1626
1609
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1627
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1610
|
+
url: '/extensions/roboledger/{graph_id}/operations/create-event-handler',
|
|
1628
1611
|
...options,
|
|
1629
1612
|
headers: {
|
|
1630
1613
|
'Content-Type': 'application/json',
|
|
@@ -1633,15 +1616,15 @@ export const opDeleteAssociation = <ThrowOnError extends boolean = false>(option
|
|
|
1633
1616
|
});
|
|
1634
1617
|
|
|
1635
1618
|
/**
|
|
1636
|
-
*
|
|
1619
|
+
* Update Event Handler
|
|
1637
1620
|
*
|
|
1638
|
-
*
|
|
1621
|
+
* Patch an event handler's match criteria, template, priority, or active state. Pass approve=true to approve an AI-suggested handler; approve=false to revoke approval. Only supplied fields are updated.
|
|
1639
1622
|
*
|
|
1640
1623
|
* **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.
|
|
1641
1624
|
*/
|
|
1642
|
-
export const
|
|
1625
|
+
export const opUpdateEventHandler = <ThrowOnError extends boolean = false>(options: Options<OpUpdateEventHandlerData, ThrowOnError>) => (options.client ?? client).post<OpUpdateEventHandlerResponses, OpUpdateEventHandlerErrors, ThrowOnError>({
|
|
1643
1626
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1644
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1627
|
+
url: '/extensions/roboledger/{graph_id}/operations/update-event-handler',
|
|
1645
1628
|
...options,
|
|
1646
1629
|
headers: {
|
|
1647
1630
|
'Content-Type': 'application/json',
|
|
@@ -1650,15 +1633,15 @@ export const opCreateTransaction = <ThrowOnError extends boolean = false>(option
|
|
|
1650
1633
|
});
|
|
1651
1634
|
|
|
1652
1635
|
/**
|
|
1653
|
-
*
|
|
1636
|
+
* Preview Event Block
|
|
1654
1637
|
*
|
|
1655
|
-
*
|
|
1638
|
+
* Dry-run: resolve the matching handler and evaluate the transaction template without writing any rows. Returns the matched handler + planned debit/credit lines + any validation errors. Use this before create-event-block(apply_handlers=True) to confirm the GL plan.
|
|
1656
1639
|
*
|
|
1657
1640
|
* **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.
|
|
1658
1641
|
*/
|
|
1659
|
-
export const
|
|
1642
|
+
export const opPreviewEventBlock = <ThrowOnError extends boolean = false>(options: Options<OpPreviewEventBlockData, ThrowOnError>) => (options.client ?? client).post<OpPreviewEventBlockResponses, OpPreviewEventBlockErrors, ThrowOnError>({
|
|
1660
1643
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1661
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1644
|
+
url: '/extensions/roboledger/{graph_id}/operations/preview-event-block',
|
|
1662
1645
|
...options,
|
|
1663
1646
|
headers: {
|
|
1664
1647
|
'Content-Type': 'application/json',
|
|
@@ -1669,7 +1652,7 @@ export const opCreateJournalEntry = <ThrowOnError extends boolean = false>(optio
|
|
|
1669
1652
|
/**
|
|
1670
1653
|
* Update Journal Entry
|
|
1671
1654
|
*
|
|
1672
|
-
* Update a draft journal entry. Posted entries are immutable and must be corrected via
|
|
1655
|
+
* Update a draft journal entry. Posted entries are immutable and must be corrected via `create-event-block(event_type='journal_entry_reversed')`. If line_items is provided, existing line items are replaced atomically and the new set must balance.
|
|
1673
1656
|
*
|
|
1674
1657
|
* **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.
|
|
1675
1658
|
*/
|
|
@@ -1701,117 +1684,15 @@ export const opDeleteJournalEntry = <ThrowOnError extends boolean = false>(optio
|
|
|
1701
1684
|
});
|
|
1702
1685
|
|
|
1703
1686
|
/**
|
|
1704
|
-
*
|
|
1705
|
-
*
|
|
1706
|
-
* 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.
|
|
1707
|
-
*
|
|
1708
|
-
* **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.
|
|
1709
|
-
*/
|
|
1710
|
-
export const opReverseJournalEntry = <ThrowOnError extends boolean = false>(options: Options<OpReverseJournalEntryData, ThrowOnError>) => (options.client ?? client).post<OpReverseJournalEntryResponses, OpReverseJournalEntryErrors, ThrowOnError>({
|
|
1711
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1712
|
-
url: '/extensions/roboledger/{graph_id}/operations/reverse-journal-entry',
|
|
1713
|
-
...options,
|
|
1714
|
-
headers: {
|
|
1715
|
-
'Content-Type': 'application/json',
|
|
1716
|
-
...options.headers
|
|
1717
|
-
}
|
|
1718
|
-
});
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* Truncate Schedule (End Early)
|
|
1722
|
-
*
|
|
1723
|
-
* End a schedule early by deleting forward facts and any stale draft closing entries past the cutoff. Historical facts and posted entries are preserved. Use this when a business event (asset disposal, contract cancellation) shortens the schedule's lifespan.
|
|
1724
|
-
*
|
|
1725
|
-
* **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.
|
|
1726
|
-
*/
|
|
1727
|
-
export const opTruncateSchedule = <ThrowOnError extends boolean = false>(options: Options<OpTruncateScheduleData, ThrowOnError>) => (options.client ?? client).post<OpTruncateScheduleResponses, OpTruncateScheduleErrors, ThrowOnError>({
|
|
1728
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1729
|
-
url: '/extensions/roboledger/{graph_id}/operations/truncate-schedule',
|
|
1730
|
-
...options,
|
|
1731
|
-
headers: {
|
|
1732
|
-
'Content-Type': 'application/json',
|
|
1733
|
-
...options.headers
|
|
1734
|
-
}
|
|
1735
|
-
});
|
|
1736
|
-
|
|
1737
|
-
/**
|
|
1738
|
-
* Create Closing Entry
|
|
1739
|
-
*
|
|
1740
|
-
* Create a draft closing entry pre-populated from a schedule's facts for the given period. Idempotent — safe to call repeatedly; the `outcome` field describes what happened (`created`, `unchanged`, `regenerated`, `removed`, `skipped`).
|
|
1741
|
-
*
|
|
1742
|
-
* **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.
|
|
1743
|
-
*/
|
|
1744
|
-
export const opCreateClosingEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateClosingEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateClosingEntryResponses, OpCreateClosingEntryErrors, ThrowOnError>({
|
|
1745
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1746
|
-
url: '/extensions/roboledger/{graph_id}/operations/create-closing-entry',
|
|
1747
|
-
...options,
|
|
1748
|
-
headers: {
|
|
1749
|
-
'Content-Type': 'application/json',
|
|
1750
|
-
...options.headers
|
|
1751
|
-
}
|
|
1752
|
-
});
|
|
1753
|
-
|
|
1754
|
-
/**
|
|
1755
|
-
* Create Manual Closing Entry
|
|
1756
|
-
*
|
|
1757
|
-
* Create a draft closing entry with manually specified line items — not tied to a schedule. Use for one-off business events (asset disposal, correcting entry, impairment). Total debits must equal total credits.
|
|
1758
|
-
*
|
|
1759
|
-
* **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.
|
|
1760
|
-
*/
|
|
1761
|
-
export const opCreateManualClosingEntry = <ThrowOnError extends boolean = false>(options: Options<OpCreateManualClosingEntryData, ThrowOnError>) => (options.client ?? client).post<OpCreateManualClosingEntryResponses, OpCreateManualClosingEntryErrors, ThrowOnError>({
|
|
1762
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1763
|
-
url: '/extensions/roboledger/{graph_id}/operations/create-manual-closing-entry',
|
|
1764
|
-
...options,
|
|
1765
|
-
headers: {
|
|
1766
|
-
'Content-Type': 'application/json',
|
|
1767
|
-
...options.headers
|
|
1768
|
-
}
|
|
1769
|
-
});
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* Create Information Block
|
|
1773
|
-
*
|
|
1774
|
-
* Generic Information Block construction entry. `block_type` selects the registered block type; `payload` is validated against that type's creation schema at dispatch. Schedule dispatches to the existing Schedule machinery; statement block types raise 501 (use create-report instead).
|
|
1775
|
-
*
|
|
1776
|
-
* **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.
|
|
1777
|
-
*/
|
|
1778
|
-
export const opCreateInformationBlock = <ThrowOnError extends boolean = false>(options: Options<OpCreateInformationBlockData, ThrowOnError>) => (options.client ?? client).post<OpCreateInformationBlockResponses, OpCreateInformationBlockErrors, ThrowOnError>({
|
|
1779
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1780
|
-
url: '/extensions/roboledger/{graph_id}/operations/create-information-block',
|
|
1781
|
-
...options,
|
|
1782
|
-
headers: {
|
|
1783
|
-
'Content-Type': 'application/json',
|
|
1784
|
-
...options.headers
|
|
1785
|
-
}
|
|
1786
|
-
});
|
|
1787
|
-
|
|
1788
|
-
/**
|
|
1789
|
-
* Update Information Block
|
|
1790
|
-
*
|
|
1791
|
-
* Generic Information Block update entry. Dispatches by `block_type` to the registered mutation handler. Block types whose Structures are library-seeded and immutable (statement family) surface 501.
|
|
1792
|
-
*
|
|
1793
|
-
* **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.
|
|
1794
|
-
*/
|
|
1795
|
-
export const opUpdateInformationBlock = <ThrowOnError extends boolean = false>(options: Options<OpUpdateInformationBlockData, ThrowOnError>) => (options.client ?? client).post<OpUpdateInformationBlockResponses, OpUpdateInformationBlockErrors, ThrowOnError>({
|
|
1796
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1797
|
-
url: '/extensions/roboledger/{graph_id}/operations/update-information-block',
|
|
1798
|
-
...options,
|
|
1799
|
-
headers: {
|
|
1800
|
-
'Content-Type': 'application/json',
|
|
1801
|
-
...options.headers
|
|
1802
|
-
}
|
|
1803
|
-
});
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Delete Information Block
|
|
1687
|
+
* Set Close Target
|
|
1807
1688
|
*
|
|
1808
|
-
*
|
|
1689
|
+
* Period format: YYYY-MM. The close target is the user-controlled goal date, distinct from `closed_through` (what's actually closed).
|
|
1809
1690
|
*
|
|
1810
1691
|
* **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.
|
|
1811
1692
|
*/
|
|
1812
|
-
export const
|
|
1693
|
+
export const opSetCloseTarget = <ThrowOnError extends boolean = false>(options: Options<OpSetCloseTargetData, ThrowOnError>) => (options.client ?? client).post<OpSetCloseTargetResponses, OpSetCloseTargetErrors, ThrowOnError>({
|
|
1813
1694
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1814
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1695
|
+
url: '/extensions/roboledger/{graph_id}/operations/set-close-target',
|
|
1815
1696
|
...options,
|
|
1816
1697
|
headers: {
|
|
1817
1698
|
'Content-Type': 'application/json',
|
|
@@ -1820,32 +1701,15 @@ export const opDeleteInformationBlock = <ThrowOnError extends boolean = false>(o
|
|
|
1820
1701
|
});
|
|
1821
1702
|
|
|
1822
1703
|
/**
|
|
1823
|
-
*
|
|
1824
|
-
*
|
|
1825
|
-
* Runs every rule targeting the given structure (plus element- and association-scoped rules for the structure's atoms), binds $Variable references to in-scope facts via qname lookup, writes one VerificationResult row per rule, and returns the results plus a status-keyed summary. Phase delta.3 — decoding mode, 5 patterns (EqualTo, RollUp, RollForward, Exists, CoExists).
|
|
1704
|
+
* Close Fiscal Period
|
|
1826
1705
|
*
|
|
1827
|
-
* **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.
|
|
1828
|
-
*/
|
|
1829
|
-
export const opEvaluateRules = <ThrowOnError extends boolean = false>(options: Options<OpEvaluateRulesData, ThrowOnError>) => (options.client ?? client).post<OpEvaluateRulesResponses, OpEvaluateRulesErrors, ThrowOnError>({
|
|
1830
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1831
|
-
url: '/extensions/roboledger/{graph_id}/operations/evaluate-rules',
|
|
1832
|
-
...options,
|
|
1833
|
-
headers: {
|
|
1834
|
-
'Content-Type': 'application/json',
|
|
1835
|
-
...options.headers
|
|
1836
|
-
}
|
|
1837
|
-
});
|
|
1838
|
-
|
|
1839
|
-
/**
|
|
1840
|
-
* Create Mapping Association
|
|
1841
1706
|
*
|
|
1842
|
-
* Link a chart-of-accounts element to a US GAAP reporting concept. For bulk associations (presentation/calculation linkbases, 50+ arcs at once) use `create-associations` instead.
|
|
1843
1707
|
*
|
|
1844
1708
|
* **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.
|
|
1845
1709
|
*/
|
|
1846
|
-
export const
|
|
1710
|
+
export const opClosePeriod = <ThrowOnError extends boolean = false>(options: Options<OpClosePeriodData, ThrowOnError>) => (options.client ?? client).post<OpClosePeriodResponses, OpClosePeriodErrors, ThrowOnError>({
|
|
1847
1711
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1848
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1712
|
+
url: '/extensions/roboledger/{graph_id}/operations/close-period',
|
|
1849
1713
|
...options,
|
|
1850
1714
|
headers: {
|
|
1851
1715
|
'Content-Type': 'application/json',
|
|
@@ -1854,15 +1718,15 @@ export const opCreateMappingAssociation = <ThrowOnError extends boolean = false>
|
|
|
1854
1718
|
});
|
|
1855
1719
|
|
|
1856
1720
|
/**
|
|
1857
|
-
*
|
|
1721
|
+
* Reopen Fiscal Period
|
|
1858
1722
|
*
|
|
1859
|
-
*
|
|
1723
|
+
* Decrements `closed_through` by one — only the most recently closed period can be reopened.
|
|
1860
1724
|
*
|
|
1861
1725
|
* **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.
|
|
1862
1726
|
*/
|
|
1863
|
-
export const
|
|
1727
|
+
export const opReopenPeriod = <ThrowOnError extends boolean = false>(options: Options<OpReopenPeriodData, ThrowOnError>) => (options.client ?? client).post<OpReopenPeriodResponses, OpReopenPeriodErrors, ThrowOnError>({
|
|
1864
1728
|
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1865
|
-
url: '/extensions/roboledger/{graph_id}/operations/
|
|
1729
|
+
url: '/extensions/roboledger/{graph_id}/operations/reopen-period',
|
|
1866
1730
|
...options,
|
|
1867
1731
|
headers: {
|
|
1868
1732
|
'Content-Type': 'application/json',
|