@robosystems/client 2.40.1 → 2.41.1

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/sdk.gen.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
4
4
  import { client } from './client.gen';
5
- import type { AcceptSuggestionsData, AcceptSuggestionsErrors, AcceptSuggestionsResponses, AddGraphMemberData, AddGraphMemberErrors, AddGraphMemberResponses, AddPublishListMembersData, AddPublishListMembersErrors, AddPublishListMembersResponses, AssertMetricsData, AssertMetricsErrors, AssertMetricsResponses, AutoMapElementsData, AutoMapElementsErrors, AutoMapElementsResponses, AutoSelectOperatorData, AutoSelectOperatorErrors, AutoSelectOperatorResponses, BackfillPlanHistoryData, BackfillPlanHistoryErrors, BackfillPlanHistoryResponses, BindTextBlockData, BindTextBlockErrors, BindTextBlockResponses, BlockSourceGraphData, BlockSourceGraphErrors, BlockSourceGraphResponses, BuildFactGridData, BuildFactGridErrors, BuildFactGridResponses, CancelOperationData, CancelOperationErrors, CancelOperationResponses, CancelOrgSubscriptionData, CancelOrgSubscriptionErrors, CancelOrgSubscriptionResponses, CancelRepositorySubscriptionData, CancelRepositorySubscriptionErrors, CancelRepositorySubscriptionResponses, ChangeCalendarStartData, ChangeCalendarStartErrors, ChangeCalendarStartResponses, ChangeReportingStyleData, ChangeReportingStyleErrors, ChangeReportingStyleResponses, ChangeSubscriptionPlanData, ChangeSubscriptionPlanErrors, ChangeSubscriptionPlanResponses, ChangeTierData, ChangeTierErrors, ChangeTierResponses, CheckPasswordStrengthData, CheckPasswordStrengthErrors, CheckPasswordStrengthResponses, ClosePeriodData, ClosePeriodErrors, ClosePeriodResponses, CompleteDocumentUploadData, CompleteDocumentUploadErrors, CompleteDocumentUploadResponses, CompleteSsoAuthData, CompleteSsoAuthErrors, CompleteSsoAuthResponses, ComputeForecastData, ComputeForecastErrors, ComputeForecastResponses, ComputeMetricsData, ComputeMetricsErrors, ComputeMetricsResponses, ConsolidationWorksheetData, ConsolidationWorksheetErrors, ConsolidationWorksheetResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateBackupData, CreateBackupErrors, CreateBackupResponses, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateConnectionData, CreateConnectionErrors, CreateConnectionResponses, CreateDimensionData, CreateDimensionErrors, CreateDimensionResponses, CreateDocumentUploadData, CreateDocumentUploadErrors, CreateDocumentUploadResponses, CreateEntityData, CreateEntityErrors, CreateEntityResponses, CreateEventBlockData, CreateEventBlockErrors, CreateEventBlockResponses, CreateEventHandlerData, CreateEventHandlerErrors, CreateEventHandlerResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses, CreateInformationBlockData, CreateInformationBlockErrors, CreateInformationBlockResponses, CreateIssuerData, CreateIssuerErrors, CreateIssuerResponses, CreateMappingAssociationData, CreateMappingAssociationErrors, CreateMappingAssociationResponses, CreateOrgInvitationData, CreateOrgInvitationErrors, CreateOrgInvitationResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreatePortfolioBlockData, CreatePortfolioBlockErrors, CreatePortfolioBlockResponses, CreatePublishListData, CreatePublishListErrors, CreatePublishListResponses, CreateReportData, CreateReportErrors, CreateReportResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateSecurityData, CreateSecurityErrors, CreateSecurityResponses, CreateSubgraphData, CreateSubgraphErrors, CreateSubgraphResponses, CreateTaxonomyBlockData, CreateTaxonomyBlockErrors, CreateTaxonomyBlockResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, DeleteConnectionData, DeleteConnectionErrors, DeleteConnectionResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteFileData, DeleteFileErrors, DeleteFileResponses, DeleteGraphData, DeleteGraphErrors, DeleteGraphResponses, DeleteInformationBlockData, DeleteInformationBlockErrors, DeleteInformationBlockResponses, DeleteJournalEntryData, DeleteJournalEntryErrors, DeleteJournalEntryResponses, DeleteMappingAssociationData, DeleteMappingAssociationErrors, DeleteMappingAssociationResponses, DeletePortfolioBlockData, DeletePortfolioBlockErrors, DeletePortfolioBlockResponses, DeletePublishListData, DeletePublishListErrors, DeletePublishListResponses, DeleteReportData, DeleteReportErrors, DeleteReportResponses, DeleteSecurityData, DeleteSecurityErrors, DeleteSecurityResponses, DeleteSubgraphData, DeleteSubgraphErrors, DeleteSubgraphResponses, DeleteTaxonomyBlockData, DeleteTaxonomyBlockErrors, DeleteTaxonomyBlockResponses, DeleteUserPasskeyData, DeleteUserPasskeyErrors, DeleteUserPasskeyResponses, DescribeFilingData, DescribeFilingErrors, DescribeFilingResponses, DisclosuresData, DisclosuresErrors, DisclosuresResponses, EndRepositorySubscriptionTrialData, EndRepositorySubscriptionTrialErrors, EndRepositorySubscriptionTrialResponses, EvaluateRulesData, EvaluateRulesErrors, EvaluateRulesResponses, ExecuteCypherData, ExecuteCypherErrors, ExecuteCypherResponses, ExecuteEventBlockData, ExecuteEventBlockErrors, ExecuteEventBlockResponses, ExecuteSpecificOperatorData, ExecuteSpecificOperatorErrors, ExecuteSpecificOperatorResponses, ExecuteSqlData, ExecuteSqlErrors, ExecuteSqlResponses, ExportGraphSchemaData, ExportGraphSchemaErrors, ExportGraphSchemaResponses, FileReportData, FileReportErrors, FileReportResponses, FinancialStatementAnalysisData, FinancialStatementAnalysisErrors, FinancialStatementAnalysisResponses, ForgetData, ForgetErrors, ForgetResponses, ForgotPasswordData, ForgotPasswordErrors, ForgotPasswordResponses, GenerateSsoTokenData, GenerateSsoTokenErrors, GenerateSsoTokenResponses, GetAuthProvidersData, GetAuthProvidersErrors, GetAuthProvidersResponses, 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, GetDocumentFileData, GetDocumentFileErrors, GetDocumentFileResponses, 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, GetGraphUsageData, GetGraphUsageErrors, GetGraphUsageResponses, GetInvitationPreviewData, GetInvitationPreviewErrors, GetInvitationPreviewResponses, GetMemoryData, GetMemoryErrors, GetMemoryResponses, GetMfaOptionsData, GetMfaOptionsErrors, GetMfaOptionsResponses, GetMfaStatusData, GetMfaStatusErrors, GetMfaStatusResponses, GetOperationStatusData, GetOperationStatusErrors, GetOperationStatusResponses, GetOperatorMetadataData, GetOperatorMetadataErrors, GetOperatorMetadataResponses, GetOperatorRunData, GetOperatorRunErrors, GetOperatorRunResponses, GetOrgBillingCustomerData, GetOrgBillingCustomerErrors, GetOrgBillingCustomerResponses, GetOrgData, GetOrgErrors, GetOrgLimitsData, GetOrgLimitsErrors, GetOrgLimitsResponses, GetOrgResponses, GetOrgSubscriptionData, GetOrgSubscriptionErrors, GetOrgSubscriptionResponses, GetOrgUpcomingInvoiceData, GetOrgUpcomingInvoiceErrors, GetOrgUpcomingInvoiceResponses, GetOrgUsageData, GetOrgUsageErrors, GetOrgUsageResponses, GetPasskeyLoginOptionsData, GetPasskeyLoginOptionsErrors, GetPasskeyLoginOptionsResponses, GetPasskeyReauthOptionsData, GetPasskeyReauthOptionsErrors, GetPasskeyReauthOptionsResponses, GetPasskeyRegistrationOptionsData, GetPasskeyRegistrationOptionsErrors, GetPasskeyRegistrationOptionsResponses, GetPasswordPolicyData, GetPasswordPolicyErrors, GetPasswordPolicyResponses, GetServiceOfferingsData, GetServiceOfferingsErrors, GetServiceOfferingsResponses, GetServiceStatusData, GetServiceStatusResponses, GetSubgraphInfoData, GetSubgraphInfoErrors, GetSubgraphInfoResponses, HandleHttpGetExtensionsGraphIdGraphqlGetData, HandleHttpGetExtensionsGraphIdGraphqlGetErrors, HandleHttpGetExtensionsGraphIdGraphqlGetResponses, HandleHttpPostExtensionsGraphIdGraphqlPostData, HandleHttpPostExtensionsGraphIdGraphqlPostErrors, HandleHttpPostExtensionsGraphIdGraphqlPostResponses, IndexDocumentData, IndexDocumentErrors, IndexDocumentResponses, InformationBlockData, InformationBlockErrors, InformationBlockResponses, IngestFileData, IngestFileErrors, IngestFileResponses, IngestReportData, IngestReportErrors, IngestReportResponses, InitializeChartOfAccountsData, InitializeChartOfAccountsErrors, InitializeChartOfAccountsResponses, InitializeLedgerData, InitializeLedgerErrors, InitializeLedgerResponses, InitOAuthData, InitOAuthErrors, InitOAuthResponses, LearnClassificationDefaultsData, LearnClassificationDefaultsErrors, LearnClassificationDefaultsResponses, LinkBankAccountData, LinkBankAccountErrors, LinkBankAccountResponses, LinkEntityTaxonomyData, LinkEntityTaxonomyErrors, LinkEntityTaxonomyResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, ListConnectionsData, ListConnectionsErrors, ListConnectionsResponses, ListCreditTransactionsData, ListCreditTransactionsErrors, ListCreditTransactionsResponses, ListDocumentsData, ListDocumentsErrors, ListDocumentsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, ListGraphMembersData, ListGraphMembersErrors, ListGraphMembersResponses, ListGraphMutationsData, ListGraphMutationsErrors, ListGraphMutationsResponses, ListMemoriesData, ListMemoriesErrors, ListMemoriesResponses, ListOperatorRunsData, ListOperatorRunsErrors, ListOperatorRunsResponses, ListOperatorsData, ListOperatorsErrors, ListOperatorsResponses, ListOperatorThreadsData, ListOperatorThreadsErrors, ListOperatorThreadsResponses, ListOrgGraphsData, ListOrgGraphsErrors, ListOrgGraphsResponses, ListOrgInvitationsData, ListOrgInvitationsErrors, ListOrgInvitationsResponses, ListOrgInvoicesData, ListOrgInvoicesErrors, ListOrgInvoicesResponses, ListOrgMembersData, ListOrgMembersErrors, ListOrgMembersResponses, ListOrgSubscriptionsData, ListOrgSubscriptionsErrors, ListOrgSubscriptionsResponses, ListSubgraphsData, ListSubgraphsErrors, ListSubgraphsResponses, ListTablesData, ListTablesErrors, ListTablesResponses, ListUserApiKeysData, ListUserApiKeysErrors, ListUserApiKeysResponses, ListUserOAuthGrantsData, ListUserOAuthGrantsErrors, ListUserOAuthGrantsResponses, ListUserOrgsData, ListUserOrgsErrors, ListUserOrgsResponses, ListUserPasskeysData, ListUserPasskeysErrors, ListUserPasskeysResponses, LiveFinancialStatementData, LiveFinancialStatementErrors, LiveFinancialStatementResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserErrors, LogoutUserResponses, MaterializeData, MaterializeErrors, MaterializeResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, PreviewConsolidationEntriesData, PreviewConsolidationEntriesErrors, PreviewConsolidationEntriesResponses, PreviewEventBlockData, PreviewEventBlockErrors, PreviewEventBlockResponses, PreviewReconciliationsData, PreviewReconciliationsErrors, PreviewReconciliationsResponses, PreviewReconcilingItemData, PreviewReconcilingItemErrors, PreviewReconcilingItemResponses, PreviewScheduleData, PreviewScheduleErrors, PreviewScheduleResponses, PromoteObligationsData, PromoteObligationsErrors, PromoteObligationsResponses, ProposeConsolidationEntriesData, ProposeConsolidationEntriesErrors, ProposeConsolidationEntriesResponses, ReadTextData, ReadTextErrors, ReadTextResponses, RebuildScheduleData, RebuildScheduleErrors, RebuildScheduleResponses, RecallMemoryData, RecallMemoryErrors, RecallMemoryResponses, RecordAcquisitionData, RecordAcquisitionErrors, RecordAcquisitionResponses, RecordDeconsolidationData, RecordDeconsolidationErrors, RecordDeconsolidationResponses, RecordOpeningBalanceData, RecordOpeningBalanceErrors, RecordOpeningBalanceResponses, RecordOwnershipChangeData, RecordOwnershipChangeErrors, RecordOwnershipChangeResponses, RecordStatementBalanceData, RecordStatementBalanceErrors, RecordStatementBalanceResponses, RefreshAuthSessionData, RefreshAuthSessionErrors, RefreshAuthSessionResponses, RefreshReconciliationsData, RefreshReconciliationsErrors, RefreshReconciliationsResponses, RegenerateMfaRecoveryCodesData, RegenerateMfaRecoveryCodesErrors, RegenerateMfaRecoveryCodesResponses, RegenerateReportData, RegenerateReportErrors, RegenerateReportResponses, RegisterUserData, RegisterUserErrors, RegisterUserResponses, RememberData, RememberErrors, RememberResponses, RemoveGraphMemberData, RemoveGraphMemberErrors, RemoveGraphMemberResponses, RemoveOrgMemberData, RemoveOrgMemberErrors, RemoveOrgMemberResponses, RemovePublishListMemberData, RemovePublishListMemberErrors, RemovePublishListMemberResponses, ReopenPeriodData, ReopenPeriodErrors, ReopenPeriodResponses, ResendOrgInvitationData, ResendOrgInvitationErrors, ResendOrgInvitationResponses, ResendVerificationEmailData, ResendVerificationEmailErrors, ResendVerificationEmailResponses, ResetPasswordData, ResetPasswordErrors, ResetPasswordResponses, ResolveReconcilingItemData, ResolveReconcilingItemErrors, ResolveReconcilingItemResponses, ResumeOperationData, ResumeOperationErrors, ResumeOperationResponses, RevokeOrgInvitationData, RevokeOrgInvitationErrors, RevokeOrgInvitationResponses, RevokeReportShareData, RevokeReportShareErrors, RevokeReportShareResponses, RevokeUserApiKeyData, RevokeUserApiKeyErrors, RevokeUserApiKeyResponses, RevokeUserOAuthGrantData, RevokeUserOAuthGrantErrors, RevokeUserOAuthGrantResponses, SearchDocumentsData, SearchDocumentsErrors, SearchDocumentsResponses, SearchTextData, SearchTextErrors, SearchTextResponses, SetAllocationOverrideData, SetAllocationOverrideErrors, SetAllocationOverrideResponses, SetCloseTargetData, SetCloseTargetErrors, SetCloseTargetResponses, SetConnectionWritePolicyData, SetConnectionWritePolicyErrors, SetConnectionWritePolicyResponses, SetReconciliationPolicyData, SetReconciliationPolicyErrors, SetReconciliationPolicyResponses, SetSelectedGraphData, SetSelectedGraphErrors, SetSelectedGraphResponses, ShareReportData, ShareReportErrors, ShareReportResponses, SignOffReconciliationData, SignOffReconciliationErrors, SignOffReconciliationResponses, SsoTokenExchangeData, SsoTokenExchangeErrors, SsoTokenExchangeResponses, StreamOperationEventsData, StreamOperationEventsErrors, StreamOperationEventsResponses, SyncConnectionData, SyncConnectionErrors, SyncConnectionResponses, TerminateScheduleData, TerminateScheduleErrors, TerminateScheduleResponses, TransitionFilingStatusData, TransitionFilingStatusErrors, TransitionFilingStatusResponses, UnblockSourceGraphData, UnblockSourceGraphErrors, UnblockSourceGraphResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateDimensionData, UpdateDimensionErrors, UpdateDimensionResponses, UpdateEntityData, UpdateEntityErrors, UpdateEntityResponses, UpdateEventBlockData, UpdateEventBlockErrors, UpdateEventBlockResponses, UpdateEventHandlerData, UpdateEventHandlerErrors, UpdateEventHandlerResponses, UpdateGraphMemberRoleData, UpdateGraphMemberRoleErrors, UpdateGraphMemberRoleResponses, UpdateGraphMetadataData, UpdateGraphMetadataErrors, UpdateGraphMetadataResponses, UpdateInformationBlockData, UpdateInformationBlockErrors, UpdateInformationBlockResponses, UpdateJournalEntryData, UpdateJournalEntryErrors, UpdateJournalEntryResponses, UpdateMemoryData, UpdateMemoryErrors, UpdateMemoryResponses, UpdateOrgData, UpdateOrgErrors, UpdateOrgMemberRoleData, UpdateOrgMemberRoleErrors, UpdateOrgMemberRoleResponses, UpdateOrgResponses, UpdatePortfolioBlockData, UpdatePortfolioBlockErrors, UpdatePortfolioBlockResponses, UpdatePublishListData, UpdatePublishListErrors, UpdatePublishListResponses, UpdateSecurityData, UpdateSecurityErrors, UpdateSecurityResponses, UpdateTaxonomyBlockData, UpdateTaxonomyBlockErrors, UpdateTaxonomyBlockResponses, UpdateUserApiKeyData, UpdateUserApiKeyErrors, UpdateUserApiKeyResponses, UpdateUserData, UpdateUserErrors, UpdateUserPasswordData, UpdateUserPasswordErrors, UpdateUserPasswordResponses, UpdateUserResponses, ValidateResetTokenData, ValidateResetTokenErrors, ValidateResetTokenResponses, ValidateSchemaData, ValidateSchemaErrors, ValidateSchemaResponses, VerifyEmailData, VerifyEmailErrors, VerifyEmailResponses, VerifyMfaData, VerifyMfaErrors, VerifyMfaResponses, VerifyPasskeyLoginData, VerifyPasskeyLoginErrors, VerifyPasskeyLoginResponses, VerifyPasskeyRegistrationData, VerifyPasskeyRegistrationErrors, VerifyPasskeyRegistrationResponses } from './types.gen';
5
+ import type { AcceptSuggestionsData, AcceptSuggestionsErrors, AcceptSuggestionsResponses, AddGraphMemberData, AddGraphMemberErrors, AddGraphMemberResponses, AddPublishListMembersData, AddPublishListMembersErrors, AddPublishListMembersResponses, AssertMetricsData, AssertMetricsErrors, AssertMetricsResponses, AutoMapElementsData, AutoMapElementsErrors, AutoMapElementsResponses, AutoSelectOperatorData, AutoSelectOperatorErrors, AutoSelectOperatorResponses, BackfillPlanHistoryData, BackfillPlanHistoryErrors, BackfillPlanHistoryResponses, BindTextBlockData, BindTextBlockErrors, BindTextBlockResponses, BlockSourceGraphData, BlockSourceGraphErrors, BlockSourceGraphResponses, BuildFactGridData, BuildFactGridErrors, BuildFactGridResponses, CancelOperationData, CancelOperationErrors, CancelOperationResponses, CancelOrgSubscriptionData, CancelOrgSubscriptionErrors, CancelOrgSubscriptionResponses, CancelRepositorySubscriptionData, CancelRepositorySubscriptionErrors, CancelRepositorySubscriptionResponses, ChangeCalendarStartData, ChangeCalendarStartErrors, ChangeCalendarStartResponses, ChangeReportingStyleData, ChangeReportingStyleErrors, ChangeReportingStyleResponses, ChangeSubscriptionPlanData, ChangeSubscriptionPlanErrors, ChangeSubscriptionPlanResponses, ChangeTierData, ChangeTierErrors, ChangeTierResponses, CheckPasswordStrengthData, CheckPasswordStrengthErrors, CheckPasswordStrengthResponses, ClosePeriodData, ClosePeriodErrors, ClosePeriodResponses, CompleteDocumentUploadData, CompleteDocumentUploadErrors, CompleteDocumentUploadResponses, CompleteSsoAuthData, CompleteSsoAuthErrors, CompleteSsoAuthResponses, ComputeForecastData, ComputeForecastErrors, ComputeForecastResponses, ComputeMetricsData, ComputeMetricsErrors, ComputeMetricsResponses, ConsolidationWorksheetData, ConsolidationWorksheetErrors, ConsolidationWorksheetResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateBackupData, CreateBackupErrors, CreateBackupResponses, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateConnectionData, CreateConnectionErrors, CreateConnectionResponses, CreateDimensionData, CreateDimensionErrors, CreateDimensionResponses, CreateDocumentUploadData, CreateDocumentUploadErrors, CreateDocumentUploadResponses, CreateEntityData, CreateEntityErrors, CreateEntityResponses, CreateEventBlockData, CreateEventBlockErrors, CreateEventBlockResponses, CreateEventHandlerData, CreateEventHandlerErrors, CreateEventHandlerResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses, CreateInformationBlockData, CreateInformationBlockErrors, CreateInformationBlockResponses, CreateIssuerData, CreateIssuerErrors, CreateIssuerResponses, CreateMappingAssociationData, CreateMappingAssociationErrors, CreateMappingAssociationResponses, CreateOrgInvitationData, CreateOrgInvitationErrors, CreateOrgInvitationResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreatePortfolioBlockData, CreatePortfolioBlockErrors, CreatePortfolioBlockResponses, CreatePublishListData, CreatePublishListErrors, CreatePublishListResponses, CreateReportData, CreateReportErrors, CreateReportResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateSecurityData, CreateSecurityErrors, CreateSecurityResponses, CreateSubgraphData, CreateSubgraphErrors, CreateSubgraphResponses, CreateTaxonomyBlockData, CreateTaxonomyBlockErrors, CreateTaxonomyBlockResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, DeleteConnectionData, DeleteConnectionErrors, DeleteConnectionResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteFileData, DeleteFileErrors, DeleteFileResponses, DeleteGraphData, DeleteGraphErrors, DeleteGraphResponses, DeleteInformationBlockData, DeleteInformationBlockErrors, DeleteInformationBlockResponses, DeleteJournalEntryData, DeleteJournalEntryErrors, DeleteJournalEntryResponses, DeleteMappingAssociationData, DeleteMappingAssociationErrors, DeleteMappingAssociationResponses, DeletePortfolioBlockData, DeletePortfolioBlockErrors, DeletePortfolioBlockResponses, DeletePublishListData, DeletePublishListErrors, DeletePublishListResponses, DeleteReportData, DeleteReportErrors, DeleteReportResponses, DeleteSecurityData, DeleteSecurityErrors, DeleteSecurityResponses, DeleteSubgraphData, DeleteSubgraphErrors, DeleteSubgraphResponses, DeleteTaxonomyBlockData, DeleteTaxonomyBlockErrors, DeleteTaxonomyBlockResponses, DeleteUserPasskeyData, DeleteUserPasskeyErrors, DeleteUserPasskeyResponses, DescribeFilingData, DescribeFilingErrors, DescribeFilingResponses, DisclosuresData, DisclosuresErrors, DisclosuresResponses, EndRepositorySubscriptionTrialData, EndRepositorySubscriptionTrialErrors, EndRepositorySubscriptionTrialResponses, EvaluateRulesData, EvaluateRulesErrors, EvaluateRulesResponses, ExecuteCypherData, ExecuteCypherErrors, ExecuteCypherResponses, ExecuteEventBlockData, ExecuteEventBlockErrors, ExecuteEventBlockResponses, ExecuteSpecificOperatorData, ExecuteSpecificOperatorErrors, ExecuteSpecificOperatorResponses, ExecuteSqlData, ExecuteSqlErrors, ExecuteSqlResponses, ExportGraphSchemaData, ExportGraphSchemaErrors, ExportGraphSchemaResponses, FileReportData, FileReportErrors, FileReportResponses, FinancialStatementAnalysisData, FinancialStatementAnalysisErrors, FinancialStatementAnalysisResponses, ForgetData, ForgetErrors, ForgetResponses, ForgotPasswordData, ForgotPasswordErrors, ForgotPasswordResponses, GenerateSsoTokenData, GenerateSsoTokenErrors, GenerateSsoTokenResponses, GetAuthProvidersData, GetAuthProvidersErrors, GetAuthProvidersResponses, 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, GetDocumentFileData, GetDocumentFileErrors, GetDocumentFileResponses, 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, GetGraphUsageData, GetGraphUsageErrors, GetGraphUsageResponses, GetInvitationPreviewData, GetInvitationPreviewErrors, GetInvitationPreviewResponses, GetMemoryData, GetMemoryErrors, GetMemoryResponses, GetMfaOptionsData, GetMfaOptionsErrors, GetMfaOptionsResponses, GetMfaStatusData, GetMfaStatusErrors, GetMfaStatusResponses, GetOperationStatusData, GetOperationStatusErrors, GetOperationStatusResponses, GetOperatorMetadataData, GetOperatorMetadataErrors, GetOperatorMetadataResponses, GetOperatorRunData, GetOperatorRunErrors, GetOperatorRunResponses, GetOrgBillingCustomerData, GetOrgBillingCustomerErrors, GetOrgBillingCustomerResponses, GetOrgData, GetOrgErrors, GetOrgLimitsData, GetOrgLimitsErrors, GetOrgLimitsResponses, GetOrgResponses, GetOrgSubscriptionData, GetOrgSubscriptionErrors, GetOrgSubscriptionResponses, GetOrgUpcomingInvoiceData, GetOrgUpcomingInvoiceErrors, GetOrgUpcomingInvoiceResponses, GetOrgUsageData, GetOrgUsageErrors, GetOrgUsageResponses, GetPasskeyLoginOptionsData, GetPasskeyLoginOptionsErrors, GetPasskeyLoginOptionsResponses, GetPasskeyReauthOptionsData, GetPasskeyReauthOptionsErrors, GetPasskeyReauthOptionsResponses, GetPasskeyRegistrationOptionsData, GetPasskeyRegistrationOptionsErrors, GetPasskeyRegistrationOptionsResponses, GetPasswordPolicyData, GetPasswordPolicyErrors, GetPasswordPolicyResponses, GetServiceOfferingsData, GetServiceOfferingsErrors, GetServiceOfferingsResponses, GetServiceStatusData, GetServiceStatusResponses, GetSubgraphInfoData, GetSubgraphInfoErrors, GetSubgraphInfoResponses, HandleHttpGetExtensionsGraphIdGraphqlGetData, HandleHttpGetExtensionsGraphIdGraphqlGetErrors, HandleHttpGetExtensionsGraphIdGraphqlGetResponses, HandleHttpPostExtensionsGraphIdGraphqlPostData, HandleHttpPostExtensionsGraphIdGraphqlPostErrors, HandleHttpPostExtensionsGraphIdGraphqlPostResponses, IndexDocumentData, IndexDocumentErrors, IndexDocumentResponses, InformationBlockData, InformationBlockErrors, InformationBlockResponses, IngestFileData, IngestFileErrors, IngestFileResponses, IngestReportData, IngestReportErrors, IngestReportResponses, InitializeChartOfAccountsData, InitializeChartOfAccountsErrors, InitializeChartOfAccountsResponses, InitializeLedgerData, InitializeLedgerErrors, InitializeLedgerResponses, InitOAuthData, InitOAuthErrors, InitOAuthResponses, LearnClassificationDefaultsData, LearnClassificationDefaultsErrors, LearnClassificationDefaultsResponses, LinkBankAccountData, LinkBankAccountErrors, LinkBankAccountResponses, LinkEntityTaxonomyData, LinkEntityTaxonomyErrors, LinkEntityTaxonomyResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, ListConnectionsData, ListConnectionsErrors, ListConnectionsResponses, ListCreditTransactionsData, ListCreditTransactionsErrors, ListCreditTransactionsResponses, ListDocumentsData, ListDocumentsErrors, ListDocumentsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, ListGraphMembersData, ListGraphMembersErrors, ListGraphMembersResponses, ListGraphMutationsData, ListGraphMutationsErrors, ListGraphMutationsResponses, ListMemoriesData, ListMemoriesErrors, ListMemoriesResponses, ListOperatorRunsData, ListOperatorRunsErrors, ListOperatorRunsResponses, ListOperatorsData, ListOperatorsErrors, ListOperatorsResponses, ListOperatorThreadsData, ListOperatorThreadsErrors, ListOperatorThreadsResponses, ListOrgGraphsData, ListOrgGraphsErrors, ListOrgGraphsResponses, ListOrgInvitationsData, ListOrgInvitationsErrors, ListOrgInvitationsResponses, ListOrgInvoicesData, ListOrgInvoicesErrors, ListOrgInvoicesResponses, ListOrgMembersData, ListOrgMembersErrors, ListOrgMembersResponses, ListOrgSubscriptionsData, ListOrgSubscriptionsErrors, ListOrgSubscriptionsResponses, ListSubgraphsData, ListSubgraphsErrors, ListSubgraphsResponses, ListTablesData, ListTablesErrors, ListTablesResponses, ListUserApiKeysData, ListUserApiKeysErrors, ListUserApiKeysResponses, ListUserOAuthGrantsData, ListUserOAuthGrantsErrors, ListUserOAuthGrantsResponses, ListUserOrgsData, ListUserOrgsErrors, ListUserOrgsResponses, ListUserPasskeysData, ListUserPasskeysErrors, ListUserPasskeysResponses, LiveFinancialStatementData, LiveFinancialStatementErrors, LiveFinancialStatementResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserErrors, LogoutUserResponses, MaterializeData, MaterializeErrors, MaterializeResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, PreviewConsolidationEntriesData, PreviewConsolidationEntriesErrors, PreviewConsolidationEntriesResponses, PreviewEventBlockData, PreviewEventBlockErrors, PreviewEventBlockResponses, PreviewReconciliationsData, PreviewReconciliationsErrors, PreviewReconciliationsResponses, PreviewReconcilingItemData, PreviewReconcilingItemErrors, PreviewReconcilingItemResponses, PreviewScheduleData, PreviewScheduleErrors, PreviewScheduleResponses, PromoteObligationsData, PromoteObligationsErrors, PromoteObligationsResponses, ProposeConsolidationEntriesData, ProposeConsolidationEntriesErrors, ProposeConsolidationEntriesResponses, ReadTextData, ReadTextErrors, ReadTextResponses, RebuildScheduleData, RebuildScheduleErrors, RebuildScheduleResponses, RecallMemoryData, RecallMemoryErrors, RecallMemoryResponses, RecordAcquisitionData, RecordAcquisitionErrors, RecordAcquisitionResponses, RecordDeconsolidationData, RecordDeconsolidationErrors, RecordDeconsolidationResponses, RecordOpeningBalanceData, RecordOpeningBalanceErrors, RecordOpeningBalanceResponses, RecordOwnershipChangeData, RecordOwnershipChangeErrors, RecordOwnershipChangeResponses, RecordStatementBalanceData, RecordStatementBalanceErrors, RecordStatementBalanceResponses, RefreshAuthSessionData, RefreshAuthSessionErrors, RefreshAuthSessionResponses, RefreshReconciliationsData, RefreshReconciliationsErrors, RefreshReconciliationsResponses, RegenerateMfaRecoveryCodesData, RegenerateMfaRecoveryCodesErrors, RegenerateMfaRecoveryCodesResponses, RegenerateReportData, RegenerateReportErrors, RegenerateReportResponses, RegisterUserData, RegisterUserErrors, RegisterUserResponses, RememberData, RememberErrors, RememberResponses, RemoveGraphMemberData, RemoveGraphMemberErrors, RemoveGraphMemberResponses, RemoveOrgMemberData, RemoveOrgMemberErrors, RemoveOrgMemberResponses, RemovePublishListMemberData, RemovePublishListMemberErrors, RemovePublishListMemberResponses, ReopenPeriodData, ReopenPeriodErrors, ReopenPeriodResponses, ReportConnectionSyncData, ReportConnectionSyncErrors, ReportConnectionSyncResponses, ResendOrgInvitationData, ResendOrgInvitationErrors, ResendOrgInvitationResponses, ResendVerificationEmailData, ResendVerificationEmailErrors, ResendVerificationEmailResponses, ResetPasswordData, ResetPasswordErrors, ResetPasswordResponses, ResolveReconcilingItemData, ResolveReconcilingItemErrors, ResolveReconcilingItemResponses, ResumeOperationData, ResumeOperationErrors, ResumeOperationResponses, RevokeOrgInvitationData, RevokeOrgInvitationErrors, RevokeOrgInvitationResponses, RevokeReportShareData, RevokeReportShareErrors, RevokeReportShareResponses, RevokeUserApiKeyData, RevokeUserApiKeyErrors, RevokeUserApiKeyResponses, RevokeUserOAuthGrantData, RevokeUserOAuthGrantErrors, RevokeUserOAuthGrantResponses, SearchDocumentsData, SearchDocumentsErrors, SearchDocumentsResponses, SearchTextData, SearchTextErrors, SearchTextResponses, SetAllocationOverrideData, SetAllocationOverrideErrors, SetAllocationOverrideResponses, SetCloseTargetData, SetCloseTargetErrors, SetCloseTargetResponses, SetConnectionWritePolicyData, SetConnectionWritePolicyErrors, SetConnectionWritePolicyResponses, SetReconciliationPolicyData, SetReconciliationPolicyErrors, SetReconciliationPolicyResponses, SetSelectedGraphData, SetSelectedGraphErrors, SetSelectedGraphResponses, ShareReportData, ShareReportErrors, ShareReportResponses, SignOffReconciliationData, SignOffReconciliationErrors, SignOffReconciliationResponses, SsoTokenExchangeData, SsoTokenExchangeErrors, SsoTokenExchangeResponses, StreamOperationEventsData, StreamOperationEventsErrors, StreamOperationEventsResponses, SyncConnectionData, SyncConnectionErrors, SyncConnectionResponses, TerminateScheduleData, TerminateScheduleErrors, TerminateScheduleResponses, TransitionFilingStatusData, TransitionFilingStatusErrors, TransitionFilingStatusResponses, UnblockSourceGraphData, UnblockSourceGraphErrors, UnblockSourceGraphResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateDimensionData, UpdateDimensionErrors, UpdateDimensionResponses, UpdateEntityData, UpdateEntityErrors, UpdateEntityResponses, UpdateEventBlockData, UpdateEventBlockErrors, UpdateEventBlockResponses, UpdateEventHandlerData, UpdateEventHandlerErrors, UpdateEventHandlerResponses, UpdateGraphMemberRoleData, UpdateGraphMemberRoleErrors, UpdateGraphMemberRoleResponses, UpdateGraphMetadataData, UpdateGraphMetadataErrors, UpdateGraphMetadataResponses, UpdateInformationBlockData, UpdateInformationBlockErrors, UpdateInformationBlockResponses, UpdateJournalEntryData, UpdateJournalEntryErrors, UpdateJournalEntryResponses, UpdateMemoryData, UpdateMemoryErrors, UpdateMemoryResponses, UpdateOrgData, UpdateOrgErrors, UpdateOrgMemberRoleData, UpdateOrgMemberRoleErrors, UpdateOrgMemberRoleResponses, UpdateOrgResponses, UpdatePortfolioBlockData, UpdatePortfolioBlockErrors, UpdatePortfolioBlockResponses, UpdatePublishListData, UpdatePublishListErrors, UpdatePublishListResponses, UpdateSecurityData, UpdateSecurityErrors, UpdateSecurityResponses, UpdateTaxonomyBlockData, UpdateTaxonomyBlockErrors, UpdateTaxonomyBlockResponses, UpdateUserApiKeyData, UpdateUserApiKeyErrors, UpdateUserApiKeyResponses, UpdateUserData, UpdateUserErrors, UpdateUserPasswordData, UpdateUserPasswordErrors, UpdateUserPasswordResponses, UpdateUserResponses, ValidateResetTokenData, ValidateResetTokenErrors, ValidateResetTokenResponses, ValidateSchemaData, ValidateSchemaErrors, ValidateSchemaResponses, VerifyEmailData, VerifyEmailErrors, VerifyEmailResponses, VerifyMfaData, VerifyMfaErrors, VerifyMfaResponses, VerifyPasskeyLoginData, VerifyPasskeyLoginErrors, VerifyPasskeyLoginResponses, VerifyPasskeyRegistrationData, VerifyPasskeyRegistrationErrors, VerifyPasskeyRegistrationResponses } from './types.gen';
6
6
 
7
7
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
8
8
  /**
@@ -625,7 +625,7 @@ export const listConnections = <ThrowOnError extends boolean = false>(options: O
625
625
  /**
626
626
  * Create Connection
627
627
  *
628
- * QuickBooks and Mercury: returns a pending connection — complete the OAuth flow to activate (Mercury may instead connect at once with a personal API token where the deployment allows it). External: registers a source namespace for an integration that writes through the public API. One connection allowed per provider per graph, except 'external' which allows one per source_name and 'plaid' which allows one per bank login (a connection still waiting on Link is returned instead of a second). Plaid: returns a pending connection — `POST /oauth/init` returns a `link_token` for Plaid Link. A bank feed (Mercury, Plaid) names the entity its accounts book to (`entity_id`, the group parent when omitted) and is refused (409) when that entity has no chart of accounts or is the one QuickBooks keeps. QuickBooks keeps the group parent's books only: `entity_id` may be omitted, and naming a subsidiary is refused (409 PARENT_ONLY); it is refused (409) too when the group parent's books are already native. Every connection's `entity_id` is the entity whose books it keeps.
628
+ * QuickBooks and Mercury: returns a pending connection — complete the OAuth flow to activate (Mercury may instead connect at once with a personal API token where the deployment allows it). External: registers a source namespace for an integration that writes through the public API; with `ledger` it is the general ledger that keeps an entity's books, mirrored read-only (the entries it sends land posted, nothing else posts to those books, and the close stamps the period without posting), and is refused (409) when another ledger keeps that entity's books or the entity has books of its own. One connection allowed per provider per graph, except 'external' which allows one per source_name and 'plaid' which allows one per bank login (a connection still waiting on Link is returned instead of a second). Plaid: returns a pending connection — `POST /oauth/init` returns a `link_token` for Plaid Link. A bank feed (Mercury, Plaid) names the entity its accounts book to (`entity_id`, the group parent when omitted) and is refused (409) when that entity has no chart of accounts or is the one QuickBooks keeps. QuickBooks keeps the group parent's books only: `entity_id` may be omitted, and naming a subsidiary is refused (409 PARENT_ONLY); it is refused (409) too when the group parent's books are already native. Every connection's `entity_id` is the entity whose books it keeps.
629
629
  */
630
630
  export const createConnection = <ThrowOnError extends boolean = false>(options: Options<CreateConnectionData, ThrowOnError>): RequestResult<CreateConnectionResponses, CreateConnectionErrors, ThrowOnError> => (options.client ?? client).post<CreateConnectionResponses, CreateConnectionErrors, ThrowOnError>({
631
631
  security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
@@ -700,6 +700,21 @@ export const syncConnection = <ThrowOnError extends boolean = false>(options: Op
700
700
  }
701
701
  });
702
702
 
703
+ /**
704
+ * Report an External Sync
705
+ *
706
+ * For an external connection: the integration reports a run it just finished. The platform runs no sync for an external source, so this is how the connection's `last_sync` moves. A 'succeeded' report sets it to now; a 'failed' one records the outcome and leaves it. For an external ledger that keeps an entity's books, a period close reads `last_sync` to tell whether the books it mirrors are current. Refused (400) for a connection the platform syncs itself.
707
+ */
708
+ export const reportConnectionSync = <ThrowOnError extends boolean = false>(options: Options<ReportConnectionSyncData, ThrowOnError>): RequestResult<ReportConnectionSyncResponses, ReportConnectionSyncErrors, ThrowOnError> => (options.client ?? client).post<ReportConnectionSyncResponses, ReportConnectionSyncErrors, ThrowOnError>({
709
+ security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
710
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync-report',
711
+ ...options,
712
+ headers: {
713
+ 'Content-Type': 'application/json',
714
+ ...options.headers
715
+ }
716
+ });
717
+
703
718
  /**
704
719
  * Set Connection Write Policy
705
720
  *
package/types.gen.d.ts CHANGED
@@ -2528,13 +2528,13 @@ export type ConnectionResponse = {
2528
2528
  /**
2529
2529
  * Entity Id
2530
2530
  *
2531
- * The entity whose books the connection keeps: the group parent for QuickBooks, the entity a bank feed was connected for (each of its accounts can move to another entity later), none for an external source, whose events name their own.
2531
+ * The entity whose books the connection keeps: the group parent for QuickBooks, the entity a bank feed was connected for (each of its accounts can move to another entity later), the entity an external ledger source was registered for, and none for any other external source, whose events name their own.
2532
2532
  */
2533
2533
  entity_id?: string | null;
2534
2534
  /**
2535
2535
  * Keeps Books
2536
2536
  *
2537
- * Whether this connection is the ledger of record for `entity_id`: its books are kept in the connected system, and `write_policy` says whether entries are written back to it or only mirrored. False for a bank feed or an external event source.
2537
+ * Whether this connection is the ledger of record for `entity_id`: its books are kept in the connected system, and `write_policy` says whether entries are written back to it or only mirrored. False for a bank feed or an external source that is not a ledger.
2538
2538
  */
2539
2539
  keeps_books?: boolean;
2540
2540
  /**
@@ -2564,7 +2564,7 @@ export type ConnectionResponse = {
2564
2564
  /**
2565
2565
  * Write Policy
2566
2566
  *
2567
- * Outbound write policy: 'qb_authoritative' (QuickBooks is the book of record and RoboSystems-originated entries publish to it at close), 'shadow' (QuickBooks is the book of record, nothing is written to it and the close posts nothing locally), or 'native' (no external ledger; what severing leaves). It governs the books of `entity_id`, and only on the connection that keeps them. Set via the write-policy endpoint.
2567
+ * Outbound write policy: 'qb_authoritative' (QuickBooks is the book of record and RoboSystems-originated entries publish to it at close), 'shadow' (the connected ledger is the book of record, nothing is written to it and the close posts nothing locally; the only policy an external ledger source can hold), or 'native' (no external ledger; what severing leaves). It governs the books of `entity_id`, and only on the connection that keeps them. Set via the write-policy endpoint.
2568
2568
  */
2569
2569
  write_policy?: string | null;
2570
2570
  /**
@@ -3410,6 +3410,12 @@ export type CreateEventBlockRequest = {
3410
3410
  * Deep link back to source-system record
3411
3411
  */
3412
3412
  external_url?: string | null;
3413
+ /**
3414
+ * Source Version
3415
+ *
3416
+ * The source's revision of this record: a number that only grows, such as a revision counter or a last-modified timestamp. It matters for a `journal_entry_recorded` event from the external ledger that keeps the entity's books (a connection registered with `ledger`): sending the same `external_id` again with a higher version replaces the entry in the books, in an open period. An equal or lower version, or none, is the 409 of a repeat delivery. From any other source it is stored and has no effect.
3417
+ */
3418
+ source_version?: number | null;
3413
3419
  /**
3414
3420
  * Amount
3415
3421
  *
@@ -6737,6 +6743,18 @@ export type ExternalConnectionConfig = {
6737
6743
  * Human-readable label for the connections UI.
6738
6744
  */
6739
6745
  display_name?: string | null;
6746
+ /**
6747
+ * Ledger
6748
+ *
6749
+ * The source is the general ledger that keeps an entity's books. The connection becomes that entity's ledger of record in `shadow`: the journal entries the source sends land posted, nothing else posts to those books, nothing is written back, and the close stamps the period without posting. Refused (409) when another ledger already keeps the entity's books or the entity has books of its own.
6750
+ */
6751
+ ledger?: boolean;
6752
+ /**
6753
+ * Entity Id
6754
+ *
6755
+ * With `ledger`, the entity whose books the source keeps: a subsidiary's id, or omit for the group parent. One source keeps one entity's books; register a source per entity.
6756
+ */
6757
+ entity_id?: string | null;
6740
6758
  };
6741
6759
  /**
6742
6760
  * FactLite
@@ -16351,6 +16369,18 @@ export type PortfolioBlockEnvelope = {
16351
16369
  * Count of positions with `status='active'`.
16352
16370
  */
16353
16371
  active_position_count: number;
16372
+ /**
16373
+ * Marked Position Count
16374
+ *
16375
+ * How many active positions have a mark, and so how many `total_current_value_dollars` covers.
16376
+ */
16377
+ marked_position_count?: number;
16378
+ /**
16379
+ * Current Value Is Partial
16380
+ *
16381
+ * True when some active positions have a mark and some do not: `total_current_value_dollars` then leaves the unmarked ones out and is not comparable with `total_cost_basis_dollars`, which covers them all.
16382
+ */
16383
+ current_value_is_partial?: boolean;
16354
16384
  /**
16355
16385
  * Created At
16356
16386
  *
@@ -19204,6 +19234,38 @@ export type ReportSectionRow = {
19204
19234
  */
19205
19235
  lines?: Array<ReportLineRow>;
19206
19236
  };
19237
+ /**
19238
+ * ReportSyncRequest
19239
+ *
19240
+ * An external integration's report of a run it just finished.
19241
+ *
19242
+ * The platform runs no sync for an external source, so the integration says
19243
+ * when its last run was: a successful report is the connection's
19244
+ * `last_sync`, which a period close reads to tell whether the books it
19245
+ * mirrors are current.
19246
+ */
19247
+ export type ReportSyncRequest = {
19248
+ /**
19249
+ * Status
19250
+ *
19251
+ * 'succeeded' moves `last_sync` to now. 'failed' records the outcome and leaves `last_sync` where it was.
19252
+ */
19253
+ status: 'succeeded' | 'failed';
19254
+ /**
19255
+ * Counts
19256
+ *
19257
+ * What the run did, as the integration counts it (for example `entries_sent`, `entries_replaced`, `entries_withdrawn`). Shown with the connection; nothing reads the names.
19258
+ */
19259
+ counts?: {
19260
+ [key: string]: number;
19261
+ };
19262
+ /**
19263
+ * Message
19264
+ *
19265
+ * A line about the run: the window it covered, or why it failed.
19266
+ */
19267
+ message?: string | null;
19268
+ };
19207
19269
  /**
19208
19270
  * RepositoryInfo
19209
19271
  *
@@ -22915,6 +22977,12 @@ export type UpdateEventBlockRequest = {
22915
22977
  * Set or replace the stored document the event rests on; an empty string detaches it. Must be a document on this graph. Unset = unchanged.
22916
22978
  */
22917
22979
  document_id?: string | null;
22980
+ /**
22981
+ * Source Retracted
22982
+ *
22983
+ * With `transition_to: voided`, for an event from the external ledger that keeps the entity's books: the source no longer holds this record, so its posted entries are taken out of the books and the event is voided, in an open period. Refused for any other event.
22984
+ */
22985
+ source_retracted?: boolean;
22918
22986
  };
22919
22987
  /**
22920
22988
  * UpdateEventHandlerRequest
@@ -26828,6 +26896,61 @@ export type SyncConnectionResponses = {
26828
26896
  202: OperationEnvelope;
26829
26897
  };
26830
26898
  export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
26899
+ export type ReportConnectionSyncData = {
26900
+ body: ReportSyncRequest;
26901
+ path: {
26902
+ /**
26903
+ * Graph Id
26904
+ */
26905
+ graph_id: string;
26906
+ /**
26907
+ * Connection Id
26908
+ *
26909
+ * Unique connection identifier
26910
+ */
26911
+ connection_id: string;
26912
+ };
26913
+ query?: never;
26914
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync-report';
26915
+ };
26916
+ export type ReportConnectionSyncErrors = {
26917
+ /**
26918
+ * Invalid request
26919
+ */
26920
+ 400: ErrorResponse;
26921
+ /**
26922
+ * Authentication required
26923
+ */
26924
+ 401: ErrorResponse;
26925
+ /**
26926
+ * Access denied
26927
+ */
26928
+ 403: ErrorResponse;
26929
+ /**
26930
+ * Resource not found
26931
+ */
26932
+ 404: ErrorResponse;
26933
+ /**
26934
+ * Validation Error
26935
+ */
26936
+ 422: HttpValidationError;
26937
+ /**
26938
+ * Rate limit exceeded
26939
+ */
26940
+ 429: ErrorResponse;
26941
+ /**
26942
+ * Internal server error
26943
+ */
26944
+ 500: ErrorResponse;
26945
+ };
26946
+ export type ReportConnectionSyncError = ReportConnectionSyncErrors[keyof ReportConnectionSyncErrors];
26947
+ export type ReportConnectionSyncResponses = {
26948
+ /**
26949
+ * Successful Response
26950
+ */
26951
+ 200: ConnectionResponse;
26952
+ };
26953
+ export type ReportConnectionSyncResponse = ReportConnectionSyncResponses[keyof ReportConnectionSyncResponses];
26831
26954
  export type SetConnectionWritePolicyData = {
26832
26955
  body: SetWritePolicyRequest;
26833
26956
  path: {
package/types.gen.ts CHANGED
@@ -2592,13 +2592,13 @@ export type ConnectionResponse = {
2592
2592
  /**
2593
2593
  * Entity Id
2594
2594
  *
2595
- * The entity whose books the connection keeps: the group parent for QuickBooks, the entity a bank feed was connected for (each of its accounts can move to another entity later), none for an external source, whose events name their own.
2595
+ * The entity whose books the connection keeps: the group parent for QuickBooks, the entity a bank feed was connected for (each of its accounts can move to another entity later), the entity an external ledger source was registered for, and none for any other external source, whose events name their own.
2596
2596
  */
2597
2597
  entity_id?: string | null;
2598
2598
  /**
2599
2599
  * Keeps Books
2600
2600
  *
2601
- * Whether this connection is the ledger of record for `entity_id`: its books are kept in the connected system, and `write_policy` says whether entries are written back to it or only mirrored. False for a bank feed or an external event source.
2601
+ * Whether this connection is the ledger of record for `entity_id`: its books are kept in the connected system, and `write_policy` says whether entries are written back to it or only mirrored. False for a bank feed or an external source that is not a ledger.
2602
2602
  */
2603
2603
  keeps_books?: boolean;
2604
2604
  /**
@@ -2628,7 +2628,7 @@ export type ConnectionResponse = {
2628
2628
  /**
2629
2629
  * Write Policy
2630
2630
  *
2631
- * Outbound write policy: 'qb_authoritative' (QuickBooks is the book of record and RoboSystems-originated entries publish to it at close), 'shadow' (QuickBooks is the book of record, nothing is written to it and the close posts nothing locally), or 'native' (no external ledger; what severing leaves). It governs the books of `entity_id`, and only on the connection that keeps them. Set via the write-policy endpoint.
2631
+ * Outbound write policy: 'qb_authoritative' (QuickBooks is the book of record and RoboSystems-originated entries publish to it at close), 'shadow' (the connected ledger is the book of record, nothing is written to it and the close posts nothing locally; the only policy an external ledger source can hold), or 'native' (no external ledger; what severing leaves). It governs the books of `entity_id`, and only on the connection that keeps them. Set via the write-policy endpoint.
2632
2632
  */
2633
2633
  write_policy?: string | null;
2634
2634
  /**
@@ -3491,6 +3491,12 @@ export type CreateEventBlockRequest = {
3491
3491
  * Deep link back to source-system record
3492
3492
  */
3493
3493
  external_url?: string | null;
3494
+ /**
3495
+ * Source Version
3496
+ *
3497
+ * The source's revision of this record: a number that only grows, such as a revision counter or a last-modified timestamp. It matters for a `journal_entry_recorded` event from the external ledger that keeps the entity's books (a connection registered with `ledger`): sending the same `external_id` again with a higher version replaces the entry in the books, in an open period. An equal or lower version, or none, is the 409 of a repeat delivery. From any other source it is stored and has no effect.
3498
+ */
3499
+ source_version?: number | null;
3494
3500
  /**
3495
3501
  * Amount
3496
3502
  *
@@ -6897,6 +6903,18 @@ export type ExternalConnectionConfig = {
6897
6903
  * Human-readable label for the connections UI.
6898
6904
  */
6899
6905
  display_name?: string | null;
6906
+ /**
6907
+ * Ledger
6908
+ *
6909
+ * The source is the general ledger that keeps an entity's books. The connection becomes that entity's ledger of record in `shadow`: the journal entries the source sends land posted, nothing else posts to those books, nothing is written back, and the close stamps the period without posting. Refused (409) when another ledger already keeps the entity's books or the entity has books of its own.
6910
+ */
6911
+ ledger?: boolean;
6912
+ /**
6913
+ * Entity Id
6914
+ *
6915
+ * With `ledger`, the entity whose books the source keeps: a subsidiary's id, or omit for the group parent. One source keeps one entity's books; register a source per entity.
6916
+ */
6917
+ entity_id?: string | null;
6900
6918
  };
6901
6919
 
6902
6920
  /**
@@ -16725,6 +16743,18 @@ export type PortfolioBlockEnvelope = {
16725
16743
  * Count of positions with `status='active'`.
16726
16744
  */
16727
16745
  active_position_count: number;
16746
+ /**
16747
+ * Marked Position Count
16748
+ *
16749
+ * How many active positions have a mark, and so how many `total_current_value_dollars` covers.
16750
+ */
16751
+ marked_position_count?: number;
16752
+ /**
16753
+ * Current Value Is Partial
16754
+ *
16755
+ * True when some active positions have a mark and some do not: `total_current_value_dollars` then leaves the unmarked ones out and is not comparable with `total_cost_basis_dollars`, which covers them all.
16756
+ */
16757
+ current_value_is_partial?: boolean;
16728
16758
  /**
16729
16759
  * Created At
16730
16760
  *
@@ -19641,6 +19671,39 @@ export type ReportSectionRow = {
19641
19671
  lines?: Array<ReportLineRow>;
19642
19672
  };
19643
19673
 
19674
+ /**
19675
+ * ReportSyncRequest
19676
+ *
19677
+ * An external integration's report of a run it just finished.
19678
+ *
19679
+ * The platform runs no sync for an external source, so the integration says
19680
+ * when its last run was: a successful report is the connection's
19681
+ * `last_sync`, which a period close reads to tell whether the books it
19682
+ * mirrors are current.
19683
+ */
19684
+ export type ReportSyncRequest = {
19685
+ /**
19686
+ * Status
19687
+ *
19688
+ * 'succeeded' moves `last_sync` to now. 'failed' records the outcome and leaves `last_sync` where it was.
19689
+ */
19690
+ status: 'succeeded' | 'failed';
19691
+ /**
19692
+ * Counts
19693
+ *
19694
+ * What the run did, as the integration counts it (for example `entries_sent`, `entries_replaced`, `entries_withdrawn`). Shown with the connection; nothing reads the names.
19695
+ */
19696
+ counts?: {
19697
+ [key: string]: number;
19698
+ };
19699
+ /**
19700
+ * Message
19701
+ *
19702
+ * A line about the run: the window it covered, or why it failed.
19703
+ */
19704
+ message?: string | null;
19705
+ };
19706
+
19644
19707
  /**
19645
19708
  * RepositoryInfo
19646
19709
  *
@@ -23446,6 +23509,12 @@ export type UpdateEventBlockRequest = {
23446
23509
  * Set or replace the stored document the event rests on; an empty string detaches it. Must be a document on this graph. Unset = unchanged.
23447
23510
  */
23448
23511
  document_id?: string | null;
23512
+ /**
23513
+ * Source Retracted
23514
+ *
23515
+ * With `transition_to: voided`, for an event from the external ledger that keeps the entity's books: the source no longer holds this record, so its posted entries are taken out of the books and the event is voided, in an open period. Refused for any other event.
23516
+ */
23517
+ source_retracted?: boolean;
23449
23518
  };
23450
23519
 
23451
23520
  /**
@@ -27704,6 +27773,66 @@ export type SyncConnectionResponses = {
27704
27773
 
27705
27774
  export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
27706
27775
 
27776
+ export type ReportConnectionSyncData = {
27777
+ body: ReportSyncRequest;
27778
+ path: {
27779
+ /**
27780
+ * Graph Id
27781
+ */
27782
+ graph_id: string;
27783
+ /**
27784
+ * Connection Id
27785
+ *
27786
+ * Unique connection identifier
27787
+ */
27788
+ connection_id: string;
27789
+ };
27790
+ query?: never;
27791
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync-report';
27792
+ };
27793
+
27794
+ export type ReportConnectionSyncErrors = {
27795
+ /**
27796
+ * Invalid request
27797
+ */
27798
+ 400: ErrorResponse;
27799
+ /**
27800
+ * Authentication required
27801
+ */
27802
+ 401: ErrorResponse;
27803
+ /**
27804
+ * Access denied
27805
+ */
27806
+ 403: ErrorResponse;
27807
+ /**
27808
+ * Resource not found
27809
+ */
27810
+ 404: ErrorResponse;
27811
+ /**
27812
+ * Validation Error
27813
+ */
27814
+ 422: HttpValidationError;
27815
+ /**
27816
+ * Rate limit exceeded
27817
+ */
27818
+ 429: ErrorResponse;
27819
+ /**
27820
+ * Internal server error
27821
+ */
27822
+ 500: ErrorResponse;
27823
+ };
27824
+
27825
+ export type ReportConnectionSyncError = ReportConnectionSyncErrors[keyof ReportConnectionSyncErrors];
27826
+
27827
+ export type ReportConnectionSyncResponses = {
27828
+ /**
27829
+ * Successful Response
27830
+ */
27831
+ 200: ConnectionResponse;
27832
+ };
27833
+
27834
+ export type ReportConnectionSyncResponse = ReportConnectionSyncResponses[keyof ReportConnectionSyncResponses];
27835
+
27707
27836
  export type SetConnectionWritePolicyData = {
27708
27837
  body: SetWritePolicyRequest;
27709
27838
  path: {