@createiq/backend 1.0.20 → 1.0.22

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/client/sdk.gen.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { type Options as ClientOptions, type TDataShape, type Client, formDataBodySerializer } from '@hey-api/client-fetch';
4
- import type { GetNegotiationDeltas_Data, GetAmendDefaults_Data, GetAmendDefaults_Response, NegotiationRenderTemplate_Data, NegotiationRenderTemplate_Response, CancelNegotiationsJobCount_Data, CancelNegotiationsJobCount_Response, AuditTrailForSubAccountAsJson_Data, AuditTrailForSubAccountAsJson_Response, GetDocumentSchema_Data, GetDocumentSchema_Response, AuditTrailForAccountAsJson_Data, AuditTrailForAccountAsJson_Response, SendBulkSetToCounterpartiesInitial_Data, SendBulkSetToCounterpartiesInitial_Response, GetWatchers_Data, GetWatchers_Response, AddWatchers_Data, AddWatchers_Response, GetUserStatistics_Data, GetUserStatistics_Response, RevertToAmending_Data, RevertToAmending_Response, SetReceiverEntity_Data, SetReceiverEntity_Response, MarkCommentEventsAsViewed_Data, PresetSetFinalApproval_Data, PresetSetFinalApproval_Response, AuthPing_Data, ListAllPresetsForSubAccountV1_Data, ListAllPresetsForSubAccountV1_Response, CreatePreset_Data, CreatePreset_Response, PresetGetMultipleNestedAnswers_Data, PresetGetMultipleNestedAnswers_Response, PresetSetMultipleNestedAnswers_Data, PresetSetMultipleNestedAnswers_Response, OverrideApproveFinalDocument_Data, DeleteEntity_Data, DeleteEntity_Response, GetSecurityContext_Data, GetSecurityContext_Response, UpdateSelectedElections_Data, UpdateSelectedElections_Response, AuditTrailForAccountAsExcel_Data, AuditTrailForAccountAsExcel_Response, PresetEditAnswers_Data, PresetEditAnswers_Response, DeleteComment_Data, DeleteComment_Response, UpdateComment_Data, UpdateComment_Response, DeleteGeneralCoverNote_Data, DeleteGeneralCoverNote_Response, SetGeneralCoverNote_Data, SetGeneralCoverNote_Response, PublisherSummaries_Data, PublisherSummaries_Response, ValidateEntities_Data, ValidateEntities_Response, GrantAllNegotiationsAccess_Data, GrantAllNegotiationsAccess_Response, GetNegotiationESignStatus_Data, GetNegotiationESignStatus_Response, Unsubscribe_Data, OverrideRejectFinalDocument_Data, Version_Data, UpdateExtractionFeedback_Data, UpdateExtractionFeedback_Response, GetLatestDocumentSchema_Data, GetLatestDocumentSchema_Response, GetPreviousMajorVersionsNestedAnswerIds_Data, GetPreviousMajorVersionsNestedAnswerIds_Response, AddElectionRejection_Data, AddElectionRejection_Response, ListPresets_Data, ListPresets_Response, GetTimeline_Data, MarkEventsAsViewed_Data, NegotiationForkHistory_Data, NegotiationForkHistory_Response, ListEntities_Data, ListEntities_Response, AssignEntity_Data, AssignEntity_Response, SetFinalApproval_Data, SetFinalApproval_Response, SetElectionApproval_Data, SetElectionApproval_Response, DownloadDashboardReportAsExcel_Data, DownloadDashboardReportAsExcel_Response, MoveEntity_Data, MoveEntity_Response, DeleteApprovalComment_Data, EditApprovalComment_Data, EditApprovalComment_Response, DeleteExternalAttachment_Data, DeleteExternalAttachment_Response, GetExternalAttachment_Data, GetExternalAttachment_Response, ListPotentialNegotiationAdvisors_Data, ListPotentialNegotiationAdvisors_Response, GetAccessibleNegotiation_Data, GetAccessibleNegotiation_Response, ForkNegotiation_Data, ForkNegotiation_Response, AcceptAllCounterpartyPositions_Data, AcceptAllCounterpartyPositions_Response, NegotiationGetDocumentSchema_Data, NegotiationGetDocumentSchema_Response, UpdateGroupName_Data, ChangeSigningMode_Data, ChangeSigningMode_Response, SendToCounterparty_Data, SendToCounterparty_Response, VoidESignEnvelopeForNegotiation_Data, DeleteDocumentDraftingNote_Data, UpdateDocumentDraftingNote_Data, UpdateDocumentDraftingNote_Response, SetBulkSetAttachments_Data, SetBulkSetAttachments_Response, AddElectionApproval_Data, AddElectionApproval_Response, RejectFinalDocument_Data, GenerateAndMaybeSendEnvelope_Data, GetElectionAnswer_Data, GetElectionAnswer_Response, CreateAuditTrailJson_Data, CreateAuditTrailJson_Response, UpdateNegotiationsToMatch_Data, GetApprovalHistory_Data, GetApprovalHistory_Response, BulkSetsJobCount_Data, BulkSetsJobCount_Response, EditDefaultAnswers_Data, EditDefaultAnswers_Response, PresetSendForApproval_Data, PresetSendForApproval_Response, FixApprovalRules_Data, FixApprovalRules_Response, GetSubscribedPublishers_Data, GetSubscribedPublishers_Response, SendGroupToCounterparty_Data, SendGroupToCounterparty_Response, BreakingChanges_Data, BreakingChanges_Response, GetOtherPartyAnswers_Data, GetOtherPartyAnswers_Response, OverrideElectionRejection_Data, OverrideElectionRejection_Response, OverrideElectionApproval_Data, OverrideElectionApproval_Response, GetAllVersions_Data, GetAllVersions_Response, ListPotentialPresetAdvisors_Data, ListPotentialPresetAdvisors_Response, GetAsCdm_Data, GetAsCdm_Response, GetApprovalRound_Data, GetApprovalRound_Response, GetPreviousActiveUsers_Data, GetPreviousActiveUsers_Response, RevokePresetsAccess_Data, RevokePresetsAccess_Response, GrantPresetsAccess_Data, GrantPresetsAccess_Response, NotifyOfDraft_Data, RemoveWatchers_Data, RemoveWatchers_Response, GetNegotiation_Data, GetNegotiation_Response, UpdateMetadata_Data, UpdateMetadata_Response, GetDownloadExecutedNegotiationsAsExcel_Data, GetDownloadExecutedNegotiationsAsExcel_Response, DownloadExecutedNegotiationsAsExcel_Data, DownloadExecutedNegotiationsAsExcel_Response, DeleteSignedSignaturePageForParty_Data, SetSignedSignaturePageForParty_Data, SetSignedSignaturePageForParty_Response, SuggestGroupName_Data, SuggestGroupName_Response, MarkActivityEventsAsViewed_Data, CancelExtraction_Data, CancelExtraction_Response, EditAnswers_Data, EditAnswers_Response, GetComments_Data, ContactForNewApprover_Data, GetDraftingNotesDocument_Data, GetDraftingNotesDocument_Response, AcceptAllPositionsFromFork_Data, AcceptAllPositionsFromFork_Response, AcceptAllPresetPositions_Data, AcceptAllPresetPositions_Response, SendChaserEmail_Data, CreateSigningPack_Data, CreateSigningPack_Response, GetGroupNames_Data, GetGroupNames_Response, CreateGroup_Data, CreateGroup_Response, GetNegotiationFilesSummary_Data, GetNegotiationFilesSummary_Response, GetUsers_Data, GetUsers_Response, GetSettings_Data, GetSettings_Response, Confirm_Data, Confirm_Response, SendDocumentApprovalReminder_Data, GetStatistics_Data, GetStatistics_Response, PresetSwapParties_Data, PresetSwapParties_Response, ApproveFinalDocument_Data, ResetUserAnswers_Data, ResetUserAnswers_Response, GetMajorVersions_Data, GetMajorVersions_Response, UpdateUserAnswers_Data, UpdateUserAnswers_Response, DeleteDocumentElectionDraftingNote_Data, UpdateDocumentElectionDraftingNote_Data, UpdateDocumentElectionDraftingNote_Response, AssignToMe_Data, AssignToMe_Response, UpdateGroupMembers_Data, GetSignedSignaturePagePdf_Data, GetSignedSignaturePagePdf_Response, PresetGetDocumentSchema_Data, PresetGetDocumentSchema_Response, ListSubAccounts_Data, DocumentsFilter_Data, DocumentsFilter_Response, MarkAsOffline_Data, MarkAsOffline_Response, CheckSignedSignaturePagePdf_Data, CheckSignedSignaturePagePdf_Response, GetAnnotatedOfflineNegotiatedDocument_Data, GetAnnotatedOfflineNegotiatedDocument_Response, DeleteAuxiliaryDocument_Data, DeleteAuxiliaryDocument_Response, GetAuxiliaryDocument_Data, GetAuxiliaryDocument_Response, SetAuxiliaryDocument_Data, SetAuxiliaryDocument_Response, DownloadPreExecutionCounterpartyNegotiation_Data, DownloadPreExecutionCounterpartyNegotiation_Response, Cancel_Data, Cancel_Response, RevokeNegotiationsAccess_Data, RevokeNegotiationsAccess_Response, GrantNegotiationsAccess_Data, GrantNegotiationsAccess_Response, ListDocuments_Data, ListDocuments_Response, GetPartyAnswers_Data, GetPartyAnswers_Response, DeletePreset_Data, GetPreset_Data, GetPreset_Response, CreatePresetAuditTrailJson_Data, CreatePresetAuditTrailJson_Response, GetPotentialUsers_Data, GetPotentialUsers_Response, GetNegotiationsGroup_Data, GetNegotiationsGroup_Response, ConsentCodeCallback_Data, GetOfflineNegotiatedDocumentAnnotations_Data, GetOfflineNegotiatedDocumentAnnotations_Response, AcceptAllCustodianTemplatePositions_Data, AcceptAllCustodianTemplatePositions_Response, AccountSummary_Data, AccountSummary_Response, GetApprovalComments_Data, GetApprovalComments_Response, ListAdvisorsForWorkspace_Data, ListAdvisorsForWorkspace_Response, CheckOfflineNegotiatedDocument_Data, CheckOfflineNegotiatedDocument_Response, DownloadPreset_Data, DownloadPreset_Response, AssignUser_Data, AssignUser_Response, GetAllNegotiationCommentsForSubAccount_Data, GetAllNegotiationCommentsForSubAccount_Response, GetExtractionResults_Data, GetExtractionResults_Response, ApplyExtractedAnswers_Data, ApplyExtractedAnswers_Response, GetOriginalAnswersForForkNegotiation_Data, GetOriginalAnswersForForkNegotiation_Response, MarkAsFinal_Data, MarkAsFinal_Response, GetPreviousMajorVersionsNestedAnswerElections_Data, GetPreviousMajorVersionsNestedAnswerElections_Response, ListNegotiations_Data, ListNegotiations_Response, CreateNegotiation_Data, CreateNegotiation_Response, PresetGetNestedAnswers_Data, PresetGetNestedAnswers_Response, PresetSetNestedAnswers_Data, PresetSetNestedAnswers_Response, CreatePresetAuditTrailXlsx_Data, CreatePresetAuditTrailXlsx_Response, ClonePreset_Data, ClonePreset_Response, ObtainConsent_Data, CheckAuxiliaryDocument_Data, CheckAuxiliaryDocument_Response, ListDocumentsWithPagination_Data, ListDocumentsWithPagination_Response, EmailPreferences_Data, EmailPreferences_Response, PatchEmailPreferences_Data, ConfirmExecutionVersion_Data, ConfirmExecutionVersion_Response, ListAllPresetsForSubAccountV2_Data, ListAllPresetsForSubAccountV2_Response, ListExternalAttachments_Data, ListExternalAttachments_Response, SetExternalAttachments_Data, SetExternalAttachments_Response, SetExternalAttachment_Data, SetExternalAttachment_Response, AuditTrailForSubAccountAsExcel_Data, AuditTrailForSubAccountAsExcel_Response, ValidateDraftReceiverEmails_Data, ValidateDraftReceiverEmails_Response, DownloadPostExecutionPack_Data, DownloadPostExecutionPack_Response, MarkApprovalCommentsAsViewed_Data, AcceptCounterpartyPosition_Data, AcceptCounterpartyPosition_Response, CancelNegotiations_Data, CancelNegotiations_Response, GetNegotiationDraftingNotes_Data, GetNegotiationDraftingNotes_Response, AuditTrailFilters_Data, AuditTrailFilters_Response, GetCommentSummary_Data, DeleteExecutionAttachment_Data, DeleteExecutionAttachment_Response, GetExecutionAttachment_Data, GetExecutionAttachment_Response, GetUsersForPicker_Data, GetUsersForPicker_Response, SyncNewApprover_Data, GetMultipleNestedAnswers_Data, GetMultipleNestedAnswers_Response, SetMultipleNestedAnswers_Data, SetMultipleNestedAnswers_Response, GetDocument_Data, GetDocument_Response, ListBulkSets_Data, CreateBulkSet_Data, CreateBulkSet_Response, AddApprovalComment_Data, AddApprovalComment_Response, ScheduleExtraction_Data, ScheduleExtraction_Response, NegotiationsFilter_Data, NegotiationsFilter_Response, CreateAuditTrailXlsx_Data, CreateAuditTrailXlsx_Response, SetPreset_Data, SetPreset_Response, CheckForBrokenApprovers_Data, CheckForBrokenApprovers_Response, DeleteBulkSetAttachment_Data, DeleteBulkSetAttachment_Response, GetBulkSetAttachment_Data, GetBulkSetAttachment_Response, UsersWithNegotiationAccess_Data, UsersWithNegotiationAccess_Response, GetStatisticsOverview_Data, GetStatisticsOverview_Response, GetSubAccount_Data, UpdateSubAccount_Data, SetOwnerEntity_Data, SetOwnerEntity_Response, NegotiationSendForApproval_Data, NegotiationSendForApproval_Response, SearchEntity_Data, SearchEntity_Response, ListDocumentsVersionsSummary_Data, ListDocumentsVersionsSummary_Response, Retract_Data, Retract_Response, AcceptAllPositionsFromPreviousVersion_Data, AcceptAllPositionsFromPreviousVersion_Response, RenameExecutionAttachment_Data, RenameExecutionAttachment_Response, GetNestedAnswers_Data, GetNestedAnswers_Response, SetNestedAnswers_Data, SetNestedAnswers_Response, GetBulkSet_Data, GetBulkSet_Response, ListExecutionAttachments_Data, ListExecutionAttachments_Response, SetExecutionAttachments_Data, SetExecutionAttachments_Response, SetExecutionAttachment_Data, SetExecutionAttachment_Response, CheckSignedExecutedVersion_Data, CheckSignedExecutedVersion_Response, GetDownloadActiveNegotiationsReportAsExcel_Data, GetDownloadActiveNegotiationsReportAsExcel_Response, DownloadActiveNegotiationsReportAsExcel_Data, DownloadActiveNegotiationsReportAsExcel_Response, SetCounterparties_Data, SetCounterparties_Response, GetLegacyStatistics_Data, GetLegacyStatistics_Response, GetChannelTimeline_Data, SchemaAvailableAsCdm_Data, SchemaAvailableAsCdm_Response, RevokeWindow_Data, GetWindow_Data, GetWindow_Response, GrantWindow_Data, GrantWindow_Response, ExtendWindow_Data, ExtendWindow_Response, DeleteOfflineNegotiatedDocument_Data, DeleteOfflineNegotiatedDocument_Response, GetOfflineNegotiatedDocument_Data, GetOfflineNegotiatedDocument_Response, SetOfflineNegotiatedDocument_Data, SetOfflineNegotiatedDocument_Response, DeleteSignedExecutedVersion_Data, DeleteSignedExecutedVersion_Response, GetSignedExecutedVersion_Data, GetSignedExecutedVersion_Response, SetSignedExecutedVersion_Data, SetSignedExecutedVersion_Response, DeleteCoverNote_Data, DeleteCoverNote_Response, UpdateCoverNote_Data, UpdateCoverNote_Response, SendToCounterpartyInitial_Data, SendToCounterpartyInitial_Response, QueueGenerateNegotiationDocumentJob_Data, QueueGenerateNegotiationDocumentJob_Response, CreateSignaturePagePdf_Data, CreateSignaturePagePdf_Response, UpgradePresetSchema_Data, UpgradePresetSchema_Response, DocumentRenderTemplate_Data, DocumentRenderTemplate_Response, GetAccountRelationshipSummaries_Data, GetAccountRelationshipSummaries_Response, PresetRenderTemplate_Data, PresetRenderTemplate_Response, AddComment_Data, AddComment_Response, PresetSetElectionApproval_Data, PresetSetElectionApproval_Response, GetSsoConfig_Data, GetSsoConfig_Response, UpdateCustomFields_Data, UpdateCustomFields_Response, SendElectionApprovalReminder_Data, GetExecutedNegotiationSummary_Data, GetExecutedNegotiationSummary_Response, SwapParties_Data, SwapParties_Response, AcceptNestedAnswersCounterpartyPosition_Data, AcceptNestedAnswersCounterpartyPosition_Response, UpgradeSchema_Data, UpgradeSchema_Response, UpdateAttachDocx_Data, UpdateAttachDocx_Response, GetCompanyByEntityId_Data, GetCompanyByEntityId_Response, DeleteDraftingNotesDocument_Data, GetDraftingNotes_Data, GetDraftingNotes_Response, UpdateDraftingNotes_Data, UpdateDraftingNotes_Response, CreateAuditTrailPdf_Data, CreateAuditTrailPdf_Response, ListRecentExtractions_Data, ListRecentExtractions_Response, InitialAnswers_Data, InitialAnswers_Response, DownloadNegotiation_Data, DownloadNegotiation_Response, GetTimelineActivity_Data, GetProfile_Data, GetProfile_Response } from './types.gen';
4
+ import type { GetNegotiationDeltas_Data, GetAmendDefaults_Data, GetAmendDefaults_Response, NegotiationRenderTemplate_Data, NegotiationRenderTemplate_Response, CancelNegotiationsJobCount_Data, CancelNegotiationsJobCount_Response, AuditTrailForSubAccountAsJson_Data, AuditTrailForSubAccountAsJson_Response, GetDocumentSchema_Data, GetDocumentSchema_Response, AuditTrailForAccountAsJson_Data, AuditTrailForAccountAsJson_Response, SendBulkSetToCounterpartiesInitial_Data, SendBulkSetToCounterpartiesInitial_Response, GetWatchers_Data, GetWatchers_Response, AddWatchers_Data, AddWatchers_Response, GetUserStatistics_Data, GetUserStatistics_Response, RevertToAmending_Data, RevertToAmending_Response, SetReceiverEntity_Data, SetReceiverEntity_Response, MarkCommentEventsAsViewed_Data, PresetSetFinalApproval_Data, PresetSetFinalApproval_Response, AuthPing_Data, ListAllPresetsForSubAccountV1_Data, ListAllPresetsForSubAccountV1_Response, CreatePreset_Data, CreatePreset_Response, PresetGetMultipleNestedAnswers_Data, PresetGetMultipleNestedAnswers_Response, PresetSetMultipleNestedAnswers_Data, PresetSetMultipleNestedAnswers_Response, OverrideApproveFinalDocument_Data, DeleteEntity_Data, DeleteEntity_Response, GetSecurityContext_Data, GetSecurityContext_Response, UpdateSelectedElections_Data, UpdateSelectedElections_Response, GenerateAuditTrailForAccountAsExcel_Data, PresetEditAnswers_Data, PresetEditAnswers_Response, DeleteComment_Data, DeleteComment_Response, UpdateComment_Data, UpdateComment_Response, DeleteGeneralCoverNote_Data, DeleteGeneralCoverNote_Response, SetGeneralCoverNote_Data, SetGeneralCoverNote_Response, PublisherSummaries_Data, PublisherSummaries_Response, ValidateEntities_Data, ValidateEntities_Response, GrantAllNegotiationsAccess_Data, GrantAllNegotiationsAccess_Response, GetNegotiationESignStatus_Data, GetNegotiationESignStatus_Response, Unsubscribe_Data, OverrideRejectFinalDocument_Data, Version_Data, UpdateExtractionFeedback_Data, UpdateExtractionFeedback_Response, GetLatestDocumentSchema_Data, GetLatestDocumentSchema_Response, GetPreviousMajorVersionsNestedAnswerIds_Data, GetPreviousMajorVersionsNestedAnswerIds_Response, AddElectionRejection_Data, AddElectionRejection_Response, ListPresets_Data, ListPresets_Response, GetTimeline_Data, MarkEventsAsViewed_Data, NegotiationForkHistory_Data, NegotiationForkHistory_Response, MoveEntity_Data, MoveEntity_Response, ListEntities_Data, ListEntities_Response, AssignEntity_Data, AssignEntity_Response, SetFinalApproval_Data, SetFinalApproval_Response, SetElectionApproval_Data, SetElectionApproval_Response, DeleteApprovalComment_Data, EditApprovalComment_Data, EditApprovalComment_Response, DeleteExternalAttachment_Data, DeleteExternalAttachment_Response, GetExternalAttachment_Data, GetExternalAttachment_Response, ListPotentialNegotiationAdvisors_Data, ListPotentialNegotiationAdvisors_Response, GetAccessibleNegotiation_Data, GetAccessibleNegotiation_Response, GenerateNegotiationsReport_Data, ForkNegotiation_Data, ForkNegotiation_Response, AcceptAllCounterpartyPositions_Data, AcceptAllCounterpartyPositions_Response, NegotiationGetDocumentSchema_Data, NegotiationGetDocumentSchema_Response, UpdateGroupName_Data, ChangeSigningMode_Data, ChangeSigningMode_Response, SendToCounterparty_Data, SendToCounterparty_Response, VoidESignEnvelopeForNegotiation_Data, DeleteDocumentDraftingNote_Data, UpdateDocumentDraftingNote_Data, UpdateDocumentDraftingNote_Response, ShareNegotiation_Data, ShareNegotiation_Response, SetBulkSetAttachments_Data, SetBulkSetAttachments_Response, AddElectionApproval_Data, AddElectionApproval_Response, RejectFinalDocument_Data, GenerateAndMaybeSendEnvelope_Data, GetElectionAnswer_Data, GetElectionAnswer_Response, CreateAuditTrailJson_Data, CreateAuditTrailJson_Response, UpdateNegotiationsToMatch_Data, GetApprovalHistory_Data, GetApprovalHistory_Response, BulkSetsJobCount_Data, BulkSetsJobCount_Response, EditDefaultAnswers_Data, EditDefaultAnswers_Response, PresetSendForApproval_Data, PresetSendForApproval_Response, FixApprovalRules_Data, FixApprovalRules_Response, GetSubscribedPublishers_Data, GetSubscribedPublishers_Response, SendGroupToCounterparty_Data, SendGroupToCounterparty_Response, BreakingChanges_Data, BreakingChanges_Response, GetOtherPartyAnswers_Data, GetOtherPartyAnswers_Response, OverrideElectionRejection_Data, OverrideElectionRejection_Response, OverrideElectionApproval_Data, OverrideElectionApproval_Response, GetAllVersions_Data, GetAllVersions_Response, ListPotentialPresetAdvisors_Data, ListPotentialPresetAdvisors_Response, GetAsCdm_Data, GetAsCdm_Response, GetApprovalRound_Data, GetApprovalRound_Response, GetPreviousActiveUsers_Data, GetPreviousActiveUsers_Response, RevokePresetsAccess_Data, RevokePresetsAccess_Response, GrantPresetsAccess_Data, GrantPresetsAccess_Response, NotifyOfDraft_Data, RemoveWatchers_Data, RemoveWatchers_Response, GetNegotiation_Data, GetNegotiation_Response, UpdateMetadata_Data, UpdateMetadata_Response, GetDownloadExecutedNegotiationsAsExcel_Data, GetDownloadExecutedNegotiationsAsExcel_Response, GenerateExecutedNegotiationsReportAsExcel_Data, DeleteSignedSignaturePageForParty_Data, SetSignedSignaturePageForParty_Data, SetSignedSignaturePageForParty_Response, SuggestGroupName_Data, SuggestGroupName_Response, MarkActivityEventsAsViewed_Data, CancelExtraction_Data, CancelExtraction_Response, EditAnswers_Data, EditAnswers_Response, GetComments_Data, ContactForNewApprover_Data, GetDraftingNotesDocument_Data, GetDraftingNotesDocument_Response, AcceptAllPositionsFromFork_Data, AcceptAllPositionsFromFork_Response, AcceptAllPresetPositions_Data, AcceptAllPresetPositions_Response, SendChaserEmail_Data, CreateSigningPack_Data, CreateSigningPack_Response, GetGroupNames_Data, GetGroupNames_Response, CreateGroup_Data, CreateGroup_Response, GetNegotiationFilesSummary_Data, GetNegotiationFilesSummary_Response, GetUsers_Data, GetUsers_Response, GetSettings_Data, GetSettings_Response, Confirm_Data, Confirm_Response, SendDocumentApprovalReminder_Data, GetStatistics_Data, GetStatistics_Response, PresetSwapParties_Data, PresetSwapParties_Response, ApproveFinalDocument_Data, ResetUserAnswers_Data, ResetUserAnswers_Response, GetMajorVersions_Data, GetMajorVersions_Response, UpdateUserAnswers_Data, UpdateUserAnswers_Response, DeleteDocumentElectionDraftingNote_Data, UpdateDocumentElectionDraftingNote_Data, UpdateDocumentElectionDraftingNote_Response, AssignToMe_Data, AssignToMe_Response, UpdateGroupMembers_Data, GetSignedSignaturePagePdf_Data, GetSignedSignaturePagePdf_Response, PresetGetDocumentSchema_Data, PresetGetDocumentSchema_Response, ListSubAccounts_Data, DocumentsFilter_Data, DocumentsFilter_Response, MarkAsOffline_Data, MarkAsOffline_Response, CheckSignedSignaturePagePdf_Data, CheckSignedSignaturePagePdf_Response, GetAnnotatedOfflineNegotiatedDocument_Data, GetAnnotatedOfflineNegotiatedDocument_Response, DeleteAuxiliaryDocument_Data, DeleteAuxiliaryDocument_Response, GetAuxiliaryDocument_Data, GetAuxiliaryDocument_Response, SetAuxiliaryDocument_Data, SetAuxiliaryDocument_Response, DownloadPreExecutionCounterpartyNegotiation_Data, DownloadPreExecutionCounterpartyNegotiation_Response, Cancel_Data, Cancel_Response, RevokeNegotiationsAccess_Data, RevokeNegotiationsAccess_Response, GrantNegotiationsAccess_Data, GrantNegotiationsAccess_Response, ListDocuments_Data, ListDocuments_Response, GetPartyAnswers_Data, GetPartyAnswers_Response, DeletePreset_Data, GetPreset_Data, GetPreset_Response, CreatePresetAuditTrailJson_Data, CreatePresetAuditTrailJson_Response, GetPotentialUsers_Data, GetPotentialUsers_Response, GetNegotiationsGroup_Data, GetNegotiationsGroup_Response, ConsentCodeCallback_Data, GetOfflineNegotiatedDocumentAnnotations_Data, GetOfflineNegotiatedDocumentAnnotations_Response, AcceptAllCustodianTemplatePositions_Data, AcceptAllCustodianTemplatePositions_Response, AccountSummary_Data, AccountSummary_Response, GetApprovalComments_Data, GetApprovalComments_Response, ListAdvisorsForWorkspace_Data, ListAdvisorsForWorkspace_Response, CheckOfflineNegotiatedDocument_Data, CheckOfflineNegotiatedDocument_Response, DownloadPreset_Data, DownloadPreset_Response, AssignUser_Data, AssignUser_Response, GenerateCommentsReport_Data, GetExtractionResults_Data, GetExtractionResults_Response, ApplyExtractedAnswers_Data, ApplyExtractedAnswers_Response, GetOriginalAnswersForForkNegotiation_Data, GetOriginalAnswersForForkNegotiation_Response, MarkAsFinal_Data, MarkAsFinal_Response, GetPreviousMajorVersionsNestedAnswerElections_Data, GetPreviousMajorVersionsNestedAnswerElections_Response, ListNegotiations_Data, ListNegotiations_Response, CreateNegotiation_Data, CreateNegotiation_Response, PresetGetNestedAnswers_Data, PresetGetNestedAnswers_Response, PresetSetNestedAnswers_Data, PresetSetNestedAnswers_Response, CreatePresetAuditTrailXlsx_Data, CreatePresetAuditTrailXlsx_Response, ClonePreset_Data, ClonePreset_Response, ObtainConsent_Data, CheckAuxiliaryDocument_Data, CheckAuxiliaryDocument_Response, ListDocumentsWithPagination_Data, ListDocumentsWithPagination_Response, EmailPreferences_Data, EmailPreferences_Response, PatchEmailPreferences_Data, ConfirmExecutionVersion_Data, ConfirmExecutionVersion_Response, ListAllPresetsForSubAccountV2_Data, ListAllPresetsForSubAccountV2_Response, ListExternalAttachments_Data, ListExternalAttachments_Response, SetExternalAttachments_Data, SetExternalAttachments_Response, SetExternalAttachment_Data, SetExternalAttachment_Response, GenerateAuditTrailForSubAccountAsExcel_Data, ValidateDraftReceiverEmails_Data, ValidateDraftReceiverEmails_Response, DownloadPostExecutionPack_Data, DownloadPostExecutionPack_Response, MarkApprovalCommentsAsViewed_Data, AcceptCounterpartyPosition_Data, AcceptCounterpartyPosition_Response, CancelNegotiations_Data, CancelNegotiations_Response, GetNegotiationDraftingNotes_Data, GetNegotiationDraftingNotes_Response, AuditTrailFilters_Data, AuditTrailFilters_Response, GetCommentSummary_Data, DeleteExecutionAttachment_Data, DeleteExecutionAttachment_Response, GetExecutionAttachment_Data, GetExecutionAttachment_Response, GetUsersForPicker_Data, GetUsersForPicker_Response, SyncNewApprover_Data, GetMultipleNestedAnswers_Data, GetMultipleNestedAnswers_Response, SetMultipleNestedAnswers_Data, SetMultipleNestedAnswers_Response, GetDocument_Data, GetDocument_Response, ListBulkSets_Data, CreateBulkSet_Data, CreateBulkSet_Response, AddApprovalComment_Data, AddApprovalComment_Response, ScheduleExtraction_Data, ScheduleExtraction_Response, NegotiationsFilter_Data, NegotiationsFilter_Response, CreateAuditTrailXlsx_Data, CreateAuditTrailXlsx_Response, SetPreset_Data, SetPreset_Response, CheckForBrokenApprovers_Data, CheckForBrokenApprovers_Response, DeleteBulkSetAttachment_Data, DeleteBulkSetAttachment_Response, GetBulkSetAttachment_Data, GetBulkSetAttachment_Response, UsersWithNegotiationAccess_Data, UsersWithNegotiationAccess_Response, GetStatisticsOverview_Data, GetStatisticsOverview_Response, GetSubAccount_Data, UpdateSubAccount_Data, SetOwnerEntity_Data, SetOwnerEntity_Response, NegotiationSendForApproval_Data, NegotiationSendForApproval_Response, SearchEntity_Data, SearchEntity_Response, ListDocumentsVersionsSummary_Data, ListDocumentsVersionsSummary_Response, Retract_Data, Retract_Response, AcceptAllPositionsFromPreviousVersion_Data, AcceptAllPositionsFromPreviousVersion_Response, RenameExecutionAttachment_Data, RenameExecutionAttachment_Response, GetNestedAnswers_Data, GetNestedAnswers_Response, SetNestedAnswers_Data, SetNestedAnswers_Response, GetBulkSet_Data, GetBulkSet_Response, ListExecutionAttachments_Data, ListExecutionAttachments_Response, SetExecutionAttachments_Data, SetExecutionAttachments_Response, SetExecutionAttachment_Data, SetExecutionAttachment_Response, CheckSignedExecutedVersion_Data, CheckSignedExecutedVersion_Response, GetDownloadActiveNegotiationsReportAsExcel_Data, GetDownloadActiveNegotiationsReportAsExcel_Response, GenerateActiveNegotiationsReportAsExcel_Data, SetCounterparties_Data, SetCounterparties_Response, GetLegacyStatistics_Data, GetLegacyStatistics_Response, GetChannelTimeline_Data, SchemaAvailableAsCdm_Data, SchemaAvailableAsCdm_Response, RevokeWindow_Data, GetWindow_Data, GetWindow_Response, GrantWindow_Data, GrantWindow_Response, ExtendWindow_Data, ExtendWindow_Response, DeleteOfflineNegotiatedDocument_Data, DeleteOfflineNegotiatedDocument_Response, GetOfflineNegotiatedDocument_Data, GetOfflineNegotiatedDocument_Response, SetOfflineNegotiatedDocument_Data, SetOfflineNegotiatedDocument_Response, DeleteSignedExecutedVersion_Data, DeleteSignedExecutedVersion_Response, GetSignedExecutedVersion_Data, GetSignedExecutedVersion_Response, SetSignedExecutedVersion_Data, SetSignedExecutedVersion_Response, DeleteCoverNote_Data, DeleteCoverNote_Response, UpdateCoverNote_Data, UpdateCoverNote_Response, SendToCounterpartyInitial_Data, SendToCounterpartyInitial_Response, QueueGenerateNegotiationDocumentJob_Data, QueueGenerateNegotiationDocumentJob_Response, CreateSignaturePagePdf_Data, CreateSignaturePagePdf_Response, UpgradePresetSchema_Data, UpgradePresetSchema_Response, DocumentRenderTemplate_Data, DocumentRenderTemplate_Response, GetAccountRelationshipSummaries_Data, GetAccountRelationshipSummaries_Response, PresetRenderTemplate_Data, PresetRenderTemplate_Response, AddComment_Data, AddComment_Response, PresetSetElectionApproval_Data, PresetSetElectionApproval_Response, GetSsoConfig_Data, GetSsoConfig_Response, UpdateCustomFields_Data, UpdateCustomFields_Response, SendElectionApprovalReminder_Data, GetExecutedNegotiationSummary_Data, GetExecutedNegotiationSummary_Response, SwapParties_Data, SwapParties_Response, AcceptNestedAnswersCounterpartyPosition_Data, AcceptNestedAnswersCounterpartyPosition_Response, UpgradeSchema_Data, UpgradeSchema_Response, UpdateAttachDocx_Data, UpdateAttachDocx_Response, GetCompanyByEntityId_Data, GetCompanyByEntityId_Response, DeleteDraftingNotesDocument_Data, GetDraftingNotes_Data, GetDraftingNotes_Response, UpdateDraftingNotes_Data, UpdateDraftingNotes_Response, CreateAuditTrailPdf_Data, CreateAuditTrailPdf_Response, ListRecentExtractions_Data, ListRecentExtractions_Response, InitialAnswers_Data, InitialAnswers_Response, DownloadNegotiation_Data, DownloadNegotiation_Response, GetTimelineActivity_Data, GetProfile_Data, GetProfile_Response } from './types.gen';
5
5
  import { client as _heyApiClient } from './client.gen';
6
6
 
7
7
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
@@ -465,11 +465,11 @@ export const updateSelectedElections = <ThrowOnError extends boolean = false>(op
465
465
  };
466
466
 
467
467
  /**
468
- * View an audit trail for an account as XLSX
469
- * View an audit trail for an account as XLSX.
468
+ * Generate the audit trail for an account as XLSX and send the download email
469
+ * Generate the audit trail for an account as XLSX and send the download email.
470
470
  */
471
- export const auditTrailForAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForAccountAsExcel_Data, ThrowOnError>) => {
472
- return (options.client ?? _heyApiClient).get<AuditTrailForAccountAsExcel_Response, unknown, ThrowOnError>({
471
+ export const generateAuditTrailForAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateAuditTrailForAccountAsExcel_Data, ThrowOnError>) => {
472
+ return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
473
473
  security: [
474
474
  {
475
475
  name: 'Authorization',
@@ -857,6 +857,27 @@ export const negotiationForkHistory = <ThrowOnError extends boolean = false>(opt
857
857
  });
858
858
  };
859
859
 
860
+ /**
861
+ * Move an entity from one Sub-Account to another
862
+ * Move an entity (and it's associated negotiations) from one Sub-Account to another.
863
+ */
864
+ export const moveEntity = <ThrowOnError extends boolean = false>(options: Options<MoveEntity_Data, ThrowOnError>) => {
865
+ return (options.client ?? _heyApiClient).put<MoveEntity_Response, unknown, ThrowOnError>({
866
+ security: [
867
+ {
868
+ name: 'Authorization',
869
+ type: 'apiKey'
870
+ }
871
+ ],
872
+ url: '/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move',
873
+ ...options,
874
+ headers: {
875
+ 'Content-Type': 'application/json',
876
+ ...options?.headers
877
+ }
878
+ });
879
+ };
880
+
860
881
  /**
861
882
  * View a list of all entities assigned to Sub-Accounts, account-wide
862
883
  * View a list of all entities assigned to Sub-Accounts, account-wide.
@@ -937,44 +958,6 @@ export const setElectionApproval = <ThrowOnError extends boolean = false>(option
937
958
  });
938
959
  };
939
960
 
940
- /**
941
- * List negotiations in a Sub-Account and return the result as a report
942
- * List negotiations in a Sub-Account and return the result as a report.
943
- */
944
- export const downloadDashboardReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadDashboardReportAsExcel_Data, ThrowOnError>) => {
945
- return (options.client ?? _heyApiClient).get<DownloadDashboardReportAsExcel_Response, unknown, ThrowOnError>({
946
- security: [
947
- {
948
- name: 'Authorization',
949
- type: 'apiKey'
950
- }
951
- ],
952
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/xlsx',
953
- ...options
954
- });
955
- };
956
-
957
- /**
958
- * Move an entity from one Sub-Account to another
959
- * Move an entity (and it's associated negotiations) from one Sub-Account to another.
960
- */
961
- export const moveEntity = <ThrowOnError extends boolean = false>(options: Options<MoveEntity_Data, ThrowOnError>) => {
962
- return (options.client ?? _heyApiClient).put<MoveEntity_Response, unknown, ThrowOnError>({
963
- security: [
964
- {
965
- name: 'Authorization',
966
- type: 'apiKey'
967
- }
968
- ],
969
- url: '/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move',
970
- ...options,
971
- headers: {
972
- 'Content-Type': 'application/json',
973
- ...options?.headers
974
- }
975
- });
976
- };
977
-
978
961
  /**
979
962
  * Delete an approval comment
980
963
  * Delete an approval comment.
@@ -1081,6 +1064,23 @@ export const getAccessibleNegotiation = <ThrowOnError extends boolean = false>(o
1081
1064
  });
1082
1065
  };
1083
1066
 
1067
+ /**
1068
+ * Generate negotiations report in a Sub-Account and send the download email
1069
+ * Generate negotiations report in a Sub-Account and send the download email.
1070
+ */
1071
+ export const generateNegotiationsReport = <ThrowOnError extends boolean = false>(options: Options<GenerateNegotiationsReport_Data, ThrowOnError>) => {
1072
+ return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
1073
+ security: [
1074
+ {
1075
+ name: 'Authorization',
1076
+ type: 'apiKey'
1077
+ }
1078
+ ],
1079
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}',
1080
+ ...options
1081
+ });
1082
+ };
1083
+
1084
1084
  /**
1085
1085
  * Restate an existing executed negotiation
1086
1086
  * Starts a new negotiation where all elections are prefilled from the specified negotiation. Once the new negotiation is executed, the documents produced will indicate that they restate the original documents. In order to restate a negotiation it must be executed, the document must support restatement and there must not be any other sequential restatements for this negotiation. Any subsequent restatement should be made from the the latest executed restatement.
@@ -1246,6 +1246,27 @@ export const updateDocumentDraftingNote = <ThrowOnError extends boolean = false>
1246
1246
  });
1247
1247
  };
1248
1248
 
1249
+ /**
1250
+ * Share a negotiation with specified usesr.
1251
+ * Share a negotiation with specified users.
1252
+ */
1253
+ export const shareNegotiation = <ThrowOnError extends boolean = false>(options: Options<ShareNegotiation_Data, ThrowOnError>) => {
1254
+ return (options.client ?? _heyApiClient).post<ShareNegotiation_Response, unknown, ThrowOnError>({
1255
+ security: [
1256
+ {
1257
+ name: 'Authorization',
1258
+ type: 'apiKey'
1259
+ }
1260
+ ],
1261
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/share',
1262
+ ...options,
1263
+ headers: {
1264
+ 'Content-Type': 'application/json',
1265
+ ...options?.headers
1266
+ }
1267
+ });
1268
+ };
1269
+
1249
1270
  /**
1250
1271
  * Upload one or more bulk set attachments for a bulk set
1251
1272
  * Upload one or more bulk set attachments for a bulk set.
@@ -1810,11 +1831,11 @@ export const getDownloadExecutedNegotiationsAsExcel = <ThrowOnError extends bool
1810
1831
  };
1811
1832
 
1812
1833
  /**
1813
- * View election data for all executed negotiations in a Sub-Account
1814
- * View election data for all executed negotiations in a Sub-Account.
1834
+ * Generate report for all executed negotiations in a Sub-Account and send the download email
1835
+ * Generate report for all executed negotiations in a Sub-Account and send the download email.
1815
1836
  */
1816
- export const downloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadExecutedNegotiationsAsExcel_Data, ThrowOnError>) => {
1817
- return (options.client ?? _heyApiClient).post<DownloadExecutedNegotiationsAsExcel_Response, unknown, ThrowOnError>({
1837
+ export const generateExecutedNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateExecutedNegotiationsReportAsExcel_Data, ThrowOnError>) => {
1838
+ return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
1818
1839
  security: [
1819
1840
  {
1820
1841
  name: 'Authorization',
@@ -2899,11 +2920,11 @@ export const assignUser = <ThrowOnError extends boolean = false>(options: Option
2899
2920
  };
2900
2921
 
2901
2922
  /**
2902
- * Download excel report containing comments for all negotiations that belongs to the Sub-Account
2903
- * Download excel report containing comments for all negotiations that belongs to the Sub-Account.
2923
+ * Generate excel report containing comments for all negotiations that belongs to the Sub-Account and send the download email
2924
+ * Generate excel report containing comments for all negotiations that belongs to the Sub-Account and send the download email.
2904
2925
  */
2905
- export const getAllNegotiationCommentsForSubAccount = <ThrowOnError extends boolean = false>(options: Options<GetAllNegotiationCommentsForSubAccount_Data, ThrowOnError>) => {
2906
- return (options.client ?? _heyApiClient).get<GetAllNegotiationCommentsForSubAccount_Response, unknown, ThrowOnError>({
2926
+ export const generateCommentsReport = <ThrowOnError extends boolean = false>(options: Options<GenerateCommentsReport_Data, ThrowOnError>) => {
2927
+ return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
2907
2928
  security: [
2908
2929
  {
2909
2930
  name: 'Authorization',
@@ -3294,11 +3315,11 @@ export const setExternalAttachment = <ThrowOnError extends boolean = false>(opti
3294
3315
  };
3295
3316
 
3296
3317
  /**
3297
- * View the audit trail for a Sub-Account as XLSX
3298
- * View the audit trail for a Sub-Account as XLSX.
3318
+ * Generate the audit trail for a Sub-Account as XLSX and send the download email
3319
+ * Generate the audit trail for a Sub-Account as XLSX and send the download email.
3299
3320
  */
3300
- export const auditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForSubAccountAsExcel_Data, ThrowOnError>) => {
3301
- return (options.client ?? _heyApiClient).get<AuditTrailForSubAccountAsExcel_Response, unknown, ThrowOnError>({
3321
+ export const generateAuditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateAuditTrailForSubAccountAsExcel_Data, ThrowOnError>) => {
3322
+ return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
3302
3323
  security: [
3303
3324
  {
3304
3325
  name: 'Authorization',
@@ -4124,11 +4145,11 @@ export const getDownloadActiveNegotiationsReportAsExcel = <ThrowOnError extends
4124
4145
  };
4125
4146
 
4126
4147
  /**
4127
- * View an election analytics report for all negotiations that you can access in a Sub-Account
4128
- * View an election analytics report for all negotiations that you can access in a Sub-Account.
4148
+ * Generate the election analytics report for all negotiations for a Sub-Account and send the download email
4149
+ * Generate the election analytics report for all negotiations for a Sub-Account and send the download email.
4129
4150
  */
4130
- export const downloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadActiveNegotiationsReportAsExcel_Data, ThrowOnError>) => {
4131
- return (options.client ?? _heyApiClient).post<DownloadActiveNegotiationsReportAsExcel_Response, unknown, ThrowOnError>({
4151
+ export const generateActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateActiveNegotiationsReportAsExcel_Data, ThrowOnError>) => {
4152
+ return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
4132
4153
  security: [
4133
4154
  {
4134
4155
  name: 'Authorization',