@createiq/backend 1.0.19 → 1.0.21

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, GetNegotiationsGroup_Data, GetNegotiationsGroup_Response, DeletePreset_Data, GetPreset_Data, GetPreset_Response, CreatePresetAuditTrailJson_Data, CreatePresetAuditTrailJson_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, 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.
@@ -1810,11 +1810,11 @@ export const getDownloadExecutedNegotiationsAsExcel = <ThrowOnError extends bool
1810
1810
  };
1811
1811
 
1812
1812
  /**
1813
- * View election data for all executed negotiations in a Sub-Account
1814
- * View election data for all executed negotiations in a Sub-Account.
1813
+ * Generate report for all executed negotiations in a Sub-Account and send the download email
1814
+ * Generate report for all executed negotiations in a Sub-Account and send the download email.
1815
1815
  */
1816
- export const downloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadExecutedNegotiationsAsExcel_Data, ThrowOnError>) => {
1817
- return (options.client ?? _heyApiClient).post<DownloadExecutedNegotiationsAsExcel_Response, unknown, ThrowOnError>({
1816
+ export const generateExecutedNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateExecutedNegotiationsReportAsExcel_Data, ThrowOnError>) => {
1817
+ return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
1818
1818
  security: [
1819
1819
  {
1820
1820
  name: 'Authorization',
@@ -2660,23 +2660,6 @@ export const getPartyAnswers = <ThrowOnError extends boolean = false>(options: O
2660
2660
  });
2661
2661
  };
2662
2662
 
2663
- /**
2664
- * View a negotiation group, and the negotiations within it
2665
- * View a negotiation group, and the negotiations within it.
2666
- */
2667
- export const getNegotiationsGroup = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationsGroup_Data, ThrowOnError>) => {
2668
- return (options.client ?? _heyApiClient).get<GetNegotiationsGroup_Response, unknown, ThrowOnError>({
2669
- security: [
2670
- {
2671
- name: 'Authorization',
2672
- type: 'apiKey'
2673
- }
2674
- ],
2675
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations',
2676
- ...options
2677
- });
2678
- };
2679
-
2680
2663
  /**
2681
2664
  * Delete a preset
2682
2665
  * Delete a preset.
@@ -2728,6 +2711,40 @@ export const createPresetAuditTrailJson = <ThrowOnError extends boolean = false>
2728
2711
  });
2729
2712
  };
2730
2713
 
2714
+ /**
2715
+ * View a list of users in the account that is the parent of the specified Sub-Account.
2716
+ * View a list of users in the account that is the parent of the specified Sub-Account.
2717
+ */
2718
+ export const getPotentialUsers = <ThrowOnError extends boolean = false>(options: Options<GetPotentialUsers_Data, ThrowOnError>) => {
2719
+ return (options.client ?? _heyApiClient).get<GetPotentialUsers_Response, unknown, ThrowOnError>({
2720
+ security: [
2721
+ {
2722
+ name: 'Authorization',
2723
+ type: 'apiKey'
2724
+ }
2725
+ ],
2726
+ url: '/api/v1/subaccount/{subAccountId}/potentialUsers',
2727
+ ...options
2728
+ });
2729
+ };
2730
+
2731
+ /**
2732
+ * View a negotiation group, and the negotiations within it
2733
+ * View a negotiation group, and the negotiations within it.
2734
+ */
2735
+ export const getNegotiationsGroup = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationsGroup_Data, ThrowOnError>) => {
2736
+ return (options.client ?? _heyApiClient).get<GetNegotiationsGroup_Response, unknown, ThrowOnError>({
2737
+ security: [
2738
+ {
2739
+ name: 'Authorization',
2740
+ type: 'apiKey'
2741
+ }
2742
+ ],
2743
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations',
2744
+ ...options
2745
+ });
2746
+ };
2747
+
2731
2748
  /**
2732
2749
  * Endpoint used for callback from DocuSign
2733
2750
  * Connect CIQ account with DocuSign.
@@ -2882,11 +2899,11 @@ export const assignUser = <ThrowOnError extends boolean = false>(options: Option
2882
2899
  };
2883
2900
 
2884
2901
  /**
2885
- * Download excel report containing comments for all negotiations that belongs to the Sub-Account
2886
- * Download excel report containing comments for all negotiations that belongs to the Sub-Account.
2902
+ * Generate excel report containing comments for all negotiations that belongs to the Sub-Account and send the download email
2903
+ * Generate excel report containing comments for all negotiations that belongs to the Sub-Account and send the download email.
2887
2904
  */
2888
- export const getAllNegotiationCommentsForSubAccount = <ThrowOnError extends boolean = false>(options: Options<GetAllNegotiationCommentsForSubAccount_Data, ThrowOnError>) => {
2889
- return (options.client ?? _heyApiClient).get<GetAllNegotiationCommentsForSubAccount_Response, unknown, ThrowOnError>({
2905
+ export const generateCommentsReport = <ThrowOnError extends boolean = false>(options: Options<GenerateCommentsReport_Data, ThrowOnError>) => {
2906
+ return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
2890
2907
  security: [
2891
2908
  {
2892
2909
  name: 'Authorization',
@@ -3277,11 +3294,11 @@ export const setExternalAttachment = <ThrowOnError extends boolean = false>(opti
3277
3294
  };
3278
3295
 
3279
3296
  /**
3280
- * View the audit trail for a Sub-Account as XLSX
3281
- * View the audit trail for a Sub-Account as XLSX.
3297
+ * Generate the audit trail for a Sub-Account as XLSX and send the download email
3298
+ * Generate the audit trail for a Sub-Account as XLSX and send the download email.
3282
3299
  */
3283
- export const auditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForSubAccountAsExcel_Data, ThrowOnError>) => {
3284
- return (options.client ?? _heyApiClient).get<AuditTrailForSubAccountAsExcel_Response, unknown, ThrowOnError>({
3300
+ export const generateAuditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateAuditTrailForSubAccountAsExcel_Data, ThrowOnError>) => {
3301
+ return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
3285
3302
  security: [
3286
3303
  {
3287
3304
  name: 'Authorization',
@@ -4107,11 +4124,11 @@ export const getDownloadActiveNegotiationsReportAsExcel = <ThrowOnError extends
4107
4124
  };
4108
4125
 
4109
4126
  /**
4110
- * View an election analytics report for all negotiations that you can access in a Sub-Account
4111
- * View an election analytics report for all negotiations that you can access in a Sub-Account.
4127
+ * Generate the election analytics report for all negotiations for a Sub-Account and send the download email
4128
+ * Generate the election analytics report for all negotiations for a Sub-Account and send the download email.
4112
4129
  */
4113
- export const downloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadActiveNegotiationsReportAsExcel_Data, ThrowOnError>) => {
4114
- return (options.client ?? _heyApiClient).post<DownloadActiveNegotiationsReportAsExcel_Response, unknown, ThrowOnError>({
4130
+ export const generateActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<GenerateActiveNegotiationsReportAsExcel_Data, ThrowOnError>) => {
4131
+ return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
4115
4132
  security: [
4116
4133
  {
4117
4134
  name: 'Authorization',