@createiq/backend 1.0.24 → 1.0.25
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 +56 -1
- package/client/types.gen.ts +108 -10
- package/dist/index.cjs +46 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +108 -10
- package/dist/index.d.ts +108 -10
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
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, 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';
|
|
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, Approve_Data, Approve_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, PresetRequestApproval_Data, PresetRequestApproval_Response, RejectPresetApproval_Data, RejectPresetApproval_Response, 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> & {
|
|
@@ -388,6 +388,23 @@ export const presetSetMultipleNestedAnswers = <ThrowOnError extends boolean = fa
|
|
|
388
388
|
});
|
|
389
389
|
};
|
|
390
390
|
|
|
391
|
+
/**
|
|
392
|
+
* Approve a preset that has been sent for approval
|
|
393
|
+
* Approve a preset that has been sent for approval.
|
|
394
|
+
*/
|
|
395
|
+
export const approve = <ThrowOnError extends boolean = false>(options: Options<Approve_Data, ThrowOnError>) => {
|
|
396
|
+
return (options.client ?? _heyApiClient).put<Approve_Response, unknown, ThrowOnError>({
|
|
397
|
+
security: [
|
|
398
|
+
{
|
|
399
|
+
name: 'Authorization',
|
|
400
|
+
type: 'apiKey'
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
url: '/api/v1/presets/{presetId}/approvals/approve',
|
|
404
|
+
...options
|
|
405
|
+
});
|
|
406
|
+
};
|
|
407
|
+
|
|
391
408
|
/**
|
|
392
409
|
* Override Approve the final document before working towards Agreed form
|
|
393
410
|
* Override Approve the final document before working towards Agreed form.
|
|
@@ -3864,6 +3881,44 @@ export const updateSubAccount = <ThrowOnError extends boolean = false>(options:
|
|
|
3864
3881
|
});
|
|
3865
3882
|
};
|
|
3866
3883
|
|
|
3884
|
+
/**
|
|
3885
|
+
* Submit a preset for approval
|
|
3886
|
+
* Submit the preset for approval.
|
|
3887
|
+
*/
|
|
3888
|
+
export const presetRequestApproval = <ThrowOnError extends boolean = false>(options: Options<PresetRequestApproval_Data, ThrowOnError>) => {
|
|
3889
|
+
return (options.client ?? _heyApiClient).put<PresetRequestApproval_Response, unknown, ThrowOnError>({
|
|
3890
|
+
security: [
|
|
3891
|
+
{
|
|
3892
|
+
name: 'Authorization',
|
|
3893
|
+
type: 'apiKey'
|
|
3894
|
+
}
|
|
3895
|
+
],
|
|
3896
|
+
url: '/api/v1/presets/{presetId}/approvals/requestApproval',
|
|
3897
|
+
...options
|
|
3898
|
+
});
|
|
3899
|
+
};
|
|
3900
|
+
|
|
3901
|
+
/**
|
|
3902
|
+
* Reject a preset that has been sent for approval
|
|
3903
|
+
* Reject a preset that has been sent for approval.
|
|
3904
|
+
*/
|
|
3905
|
+
export const rejectPresetApproval = <ThrowOnError extends boolean = false>(options: Options<RejectPresetApproval_Data, ThrowOnError>) => {
|
|
3906
|
+
return (options.client ?? _heyApiClient).put<RejectPresetApproval_Response, unknown, ThrowOnError>({
|
|
3907
|
+
security: [
|
|
3908
|
+
{
|
|
3909
|
+
name: 'Authorization',
|
|
3910
|
+
type: 'apiKey'
|
|
3911
|
+
}
|
|
3912
|
+
],
|
|
3913
|
+
url: '/api/v1/presets/{presetId}/approvals/reject',
|
|
3914
|
+
...options,
|
|
3915
|
+
headers: {
|
|
3916
|
+
'Content-Type': 'application/json',
|
|
3917
|
+
...options?.headers
|
|
3918
|
+
}
|
|
3919
|
+
});
|
|
3920
|
+
};
|
|
3921
|
+
|
|
3867
3922
|
/**
|
|
3868
3923
|
* Set the initiating party's entity for a negotiation
|
|
3869
3924
|
* Set the initiating party's entity for a negotiation.
|
package/client/types.gen.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type BulkSetsCountsDto = {
|
|
|
13
13
|
totalBulkSets: number;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
export type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'PUBLISH_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
16
|
+
export type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A map of action name to boolean - true if the action can be performed, false otherwise. If and action cannot be performed a actionName_reason string property will be available that describes why that action is unavailable.
|
|
@@ -1202,6 +1202,7 @@ export type AdvisorRelationshipExpandedDto = {
|
|
|
1202
1202
|
export type PresetSummaryDto = {
|
|
1203
1203
|
health: 'ok' | 'blocked';
|
|
1204
1204
|
isStage2Preset: boolean;
|
|
1205
|
+
state: PresetStateDto;
|
|
1205
1206
|
healthIssues: Array<'approvalrulesbroken' | 'schemaupgraderequired'>;
|
|
1206
1207
|
availableActions: PresetAvailableActionsDto;
|
|
1207
1208
|
lastAuthored: string;
|
|
@@ -1231,6 +1232,10 @@ export type UpdateUserProfileDto = {
|
|
|
1231
1232
|
subAccountIds?: Array<string>;
|
|
1232
1233
|
};
|
|
1233
1234
|
|
|
1235
|
+
export type UpdateAccountPresetApprovalsDto = {
|
|
1236
|
+
presetApprovals: boolean;
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1234
1239
|
export type NestedAnswersSummariesWithAnswersDto = {
|
|
1235
1240
|
partyB?: PartyAnswersDto;
|
|
1236
1241
|
moderator?: PartyAnswersDto;
|
|
@@ -1681,10 +1686,6 @@ export type DraftReceiverEmailValidationDto = {
|
|
|
1681
1686
|
additionalEmails?: Array<EmailWithErrorDto>;
|
|
1682
1687
|
};
|
|
1683
1688
|
|
|
1684
|
-
export type NegotiationGroupIdDto = {
|
|
1685
|
-
id: string;
|
|
1686
|
-
};
|
|
1687
|
-
|
|
1688
1689
|
export type NegotiationFilter_OlderThanPeriod_OlderThanPeriodValue = 'Older than 7 days' | 'Older than 14 days' | 'Older than 30 days';
|
|
1689
1690
|
|
|
1690
1691
|
export type ExecutedNegotiationSummaryDto_PartyDto = {
|
|
@@ -1712,6 +1713,20 @@ export type PendingApprovalCountsDto = {
|
|
|
1712
1713
|
electionLevelApprovals: number;
|
|
1713
1714
|
};
|
|
1714
1715
|
|
|
1716
|
+
export type NegotiationGroupIdDto = {
|
|
1717
|
+
id: string;
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1720
|
+
export type PresetStateDto = {
|
|
1721
|
+
requestedAt?: string;
|
|
1722
|
+
requestedBy?: UserWithRoleDto;
|
|
1723
|
+
approvedAt?: string;
|
|
1724
|
+
approvedBy?: UserWithRoleDto;
|
|
1725
|
+
type: string;
|
|
1726
|
+
rejectedAt?: string;
|
|
1727
|
+
rejectedBy?: UserWithRoleDto;
|
|
1728
|
+
};
|
|
1729
|
+
|
|
1715
1730
|
export type PresetSingleWithPreviewAndMultipleNestedAnswersDto = PresetSingleWithPreviewDto & {
|
|
1716
1731
|
nestedAnswerFullSummaries: {
|
|
1717
1732
|
[key: string]: NestedAnswersSummariesWithPresetAnswersDto;
|
|
@@ -1791,6 +1806,7 @@ export type SubAccountSummaryDto = {
|
|
|
1791
1806
|
name: string;
|
|
1792
1807
|
entities: Array<EntityDto>;
|
|
1793
1808
|
users: Array<string>;
|
|
1809
|
+
presetApprovals: boolean;
|
|
1794
1810
|
id: string;
|
|
1795
1811
|
status: string;
|
|
1796
1812
|
};
|
|
@@ -1862,6 +1878,7 @@ export type ActivityTimelineSummaryDto = {
|
|
|
1862
1878
|
export type PresetSingleDto = {
|
|
1863
1879
|
health: 'ok' | 'blocked';
|
|
1864
1880
|
isStage2Preset: boolean;
|
|
1881
|
+
state: PresetStateDto;
|
|
1865
1882
|
subAccountId: string;
|
|
1866
1883
|
answers: PartyAnswersDto;
|
|
1867
1884
|
permittedAdvisors?: Array<AdvisorWithShareSettingDto>;
|
|
@@ -1975,7 +1992,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
1975
1992
|
sigPageId: string;
|
|
1976
1993
|
};
|
|
1977
1994
|
|
|
1978
|
-
export type EmailTemplate = 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'userTaggedInComment' | 'userTaggedInApprovalComment' | 'shareNegotiation' | 'accessRequest' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'negotiationInvite' | 'notifyDraft' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationUpdate' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'chaserEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | 'electionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'electionApprovalResponsesReceived' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'dailyNotificationDigest' | 'existingApproverReplaced';
|
|
1995
|
+
export type EmailTemplate = 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'userTaggedInComment' | 'userTaggedInApprovalComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'negotiationInvite' | 'notifyDraft' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationUpdate' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'chaserEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | 'electionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'electionApprovalResponsesReceived' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'dailyNotificationDigest' | 'existingApproverReplaced';
|
|
1979
1996
|
|
|
1980
1997
|
export type PartyRelativeRef = 'our' | 'counterparty';
|
|
1981
1998
|
|
|
@@ -2615,7 +2632,6 @@ export type AdminAccountDetailDto = {
|
|
|
2615
2632
|
accountName: string;
|
|
2616
2633
|
features: Array<FeatureDto>;
|
|
2617
2634
|
logoUrl?: string;
|
|
2618
|
-
apiUsers: Array<ApiUserSummaryDto>;
|
|
2619
2635
|
accountId: string;
|
|
2620
2636
|
pendingEntities: Array<EntityMetadataDto>;
|
|
2621
2637
|
advisors: Array<AccountAndSubAccountsDto>;
|
|
@@ -2625,6 +2641,8 @@ export type AdminAccountDetailDto = {
|
|
|
2625
2641
|
[key: string]: AccountIntegrationDataDto;
|
|
2626
2642
|
};
|
|
2627
2643
|
isOneLink: boolean;
|
|
2644
|
+
apiUsers: Array<ApiUserSummaryDto>;
|
|
2645
|
+
presetApprovals: boolean;
|
|
2628
2646
|
subAccounts: Array<SubAccountDto>;
|
|
2629
2647
|
availableActions: AccountAvailableActionsDto;
|
|
2630
2648
|
allowedDomains: Array<string>;
|
|
@@ -3236,10 +3254,11 @@ export type NotificationTypeDto = {
|
|
|
3236
3254
|
};
|
|
3237
3255
|
|
|
3238
3256
|
export type SubAccountDto = {
|
|
3239
|
-
subAccountId: string;
|
|
3240
|
-
subAccountName: string;
|
|
3241
|
-
entities: Array<EntityDto>;
|
|
3242
3257
|
createdByIntegratorClientId?: string;
|
|
3258
|
+
entities: Array<EntityDto>;
|
|
3259
|
+
subAccountName: string;
|
|
3260
|
+
subAccountId: string;
|
|
3261
|
+
presetApprovals: boolean;
|
|
3243
3262
|
};
|
|
3244
3263
|
|
|
3245
3264
|
export type DocumentIdWithDraftingNotesFlagDto = {
|
|
@@ -3545,6 +3564,10 @@ export type UseForgottenPasswordCodeRequestDto = {
|
|
|
3545
3564
|
newPassword: string;
|
|
3546
3565
|
};
|
|
3547
3566
|
|
|
3567
|
+
export type RejectPresetDto = {
|
|
3568
|
+
comment: string;
|
|
3569
|
+
};
|
|
3570
|
+
|
|
3548
3571
|
export type LegacyNegotiationStatisticsDto = {
|
|
3549
3572
|
counterpartyTurn: LegacySidedNegotiationCountsDto;
|
|
3550
3573
|
ourTurn: LegacySidedNegotiationCountsDto;
|
|
@@ -4266,6 +4289,31 @@ export type PresetSetMultipleNestedAnswers_Responses = {
|
|
|
4266
4289
|
|
|
4267
4290
|
export type PresetSetMultipleNestedAnswers_Response = PresetSetMultipleNestedAnswers_Responses[keyof PresetSetMultipleNestedAnswers_Responses];
|
|
4268
4291
|
|
|
4292
|
+
export type Approve_Data = {
|
|
4293
|
+
body?: never;
|
|
4294
|
+
path: {
|
|
4295
|
+
presetId: string;
|
|
4296
|
+
};
|
|
4297
|
+
query?: never;
|
|
4298
|
+
url: '/api/v1/presets/{presetId}/approvals/approve';
|
|
4299
|
+
};
|
|
4300
|
+
|
|
4301
|
+
export type Approve_Errors = {
|
|
4302
|
+
/**
|
|
4303
|
+
* Preset not found
|
|
4304
|
+
*/
|
|
4305
|
+
404: unknown;
|
|
4306
|
+
};
|
|
4307
|
+
|
|
4308
|
+
export type Approve_Responses = {
|
|
4309
|
+
/**
|
|
4310
|
+
* The approved preset
|
|
4311
|
+
*/
|
|
4312
|
+
200: PresetSingleDto;
|
|
4313
|
+
};
|
|
4314
|
+
|
|
4315
|
+
export type Approve_Response = Approve_Responses[keyof Approve_Responses];
|
|
4316
|
+
|
|
4269
4317
|
export type OverrideApproveFinalDocument_Data = {
|
|
4270
4318
|
body: ApprovalCommentDto;
|
|
4271
4319
|
path: {
|
|
@@ -9492,6 +9540,56 @@ export type UpdateSubAccount_Responses = {
|
|
|
9492
9540
|
200: unknown;
|
|
9493
9541
|
};
|
|
9494
9542
|
|
|
9543
|
+
export type PresetRequestApproval_Data = {
|
|
9544
|
+
body?: never;
|
|
9545
|
+
path: {
|
|
9546
|
+
presetId: string;
|
|
9547
|
+
};
|
|
9548
|
+
query?: never;
|
|
9549
|
+
url: '/api/v1/presets/{presetId}/approvals/requestApproval';
|
|
9550
|
+
};
|
|
9551
|
+
|
|
9552
|
+
export type PresetRequestApproval_Errors = {
|
|
9553
|
+
/**
|
|
9554
|
+
* Preset not found
|
|
9555
|
+
*/
|
|
9556
|
+
404: unknown;
|
|
9557
|
+
};
|
|
9558
|
+
|
|
9559
|
+
export type PresetRequestApproval_Responses = {
|
|
9560
|
+
/**
|
|
9561
|
+
* The submitted preset
|
|
9562
|
+
*/
|
|
9563
|
+
200: PresetSingleDto;
|
|
9564
|
+
};
|
|
9565
|
+
|
|
9566
|
+
export type PresetRequestApproval_Response = PresetRequestApproval_Responses[keyof PresetRequestApproval_Responses];
|
|
9567
|
+
|
|
9568
|
+
export type RejectPresetApproval_Data = {
|
|
9569
|
+
body: RejectPresetDto;
|
|
9570
|
+
path: {
|
|
9571
|
+
presetId: string;
|
|
9572
|
+
};
|
|
9573
|
+
query?: never;
|
|
9574
|
+
url: '/api/v1/presets/{presetId}/approvals/reject';
|
|
9575
|
+
};
|
|
9576
|
+
|
|
9577
|
+
export type RejectPresetApproval_Errors = {
|
|
9578
|
+
/**
|
|
9579
|
+
* Preset not found
|
|
9580
|
+
*/
|
|
9581
|
+
404: unknown;
|
|
9582
|
+
};
|
|
9583
|
+
|
|
9584
|
+
export type RejectPresetApproval_Responses = {
|
|
9585
|
+
/**
|
|
9586
|
+
* The rejected preset
|
|
9587
|
+
*/
|
|
9588
|
+
200: PresetSingleDto;
|
|
9589
|
+
};
|
|
9590
|
+
|
|
9591
|
+
export type RejectPresetApproval_Response = RejectPresetApproval_Responses[keyof RejectPresetApproval_Responses];
|
|
9592
|
+
|
|
9495
9593
|
export type SetOwnerEntity_Data = {
|
|
9496
9594
|
body: OwnerEntityDto;
|
|
9497
9595
|
path: {
|
package/dist/index.cjs
CHANGED
|
@@ -34,6 +34,7 @@ __export(index_exports, {
|
|
|
34
34
|
addElectionRejection: () => addElectionRejection,
|
|
35
35
|
addWatchers: () => addWatchers,
|
|
36
36
|
applyExtractedAnswers: () => applyExtractedAnswers,
|
|
37
|
+
approve: () => approve,
|
|
37
38
|
approveFinalDocument: () => approveFinalDocument,
|
|
38
39
|
assignEntity: () => assignEntity,
|
|
39
40
|
assignToMe: () => assignToMe,
|
|
@@ -217,6 +218,7 @@ __export(index_exports, {
|
|
|
217
218
|
presetGetMultipleNestedAnswers: () => presetGetMultipleNestedAnswers,
|
|
218
219
|
presetGetNestedAnswers: () => presetGetNestedAnswers,
|
|
219
220
|
presetRenderTemplate: () => presetRenderTemplate,
|
|
221
|
+
presetRequestApproval: () => presetRequestApproval,
|
|
220
222
|
presetSendForApproval: () => presetSendForApproval,
|
|
221
223
|
presetSetElectionApproval: () => presetSetElectionApproval,
|
|
222
224
|
presetSetFinalApproval: () => presetSetFinalApproval,
|
|
@@ -226,6 +228,7 @@ __export(index_exports, {
|
|
|
226
228
|
publisherSummaries: () => publisherSummaries,
|
|
227
229
|
queueGenerateNegotiationDocumentJob: () => queueGenerateNegotiationDocumentJob,
|
|
228
230
|
rejectFinalDocument: () => rejectFinalDocument,
|
|
231
|
+
rejectPresetApproval: () => rejectPresetApproval,
|
|
229
232
|
removeWatchers: () => removeWatchers,
|
|
230
233
|
renameExecutionAttachment: () => renameExecutionAttachment,
|
|
231
234
|
resetUserAnswers: () => resetUserAnswers,
|
|
@@ -570,6 +573,18 @@ var presetSetMultipleNestedAnswers = (options) => {
|
|
|
570
573
|
}
|
|
571
574
|
});
|
|
572
575
|
};
|
|
576
|
+
var approve = (options) => {
|
|
577
|
+
return (options.client ?? client).put({
|
|
578
|
+
security: [
|
|
579
|
+
{
|
|
580
|
+
name: "Authorization",
|
|
581
|
+
type: "apiKey"
|
|
582
|
+
}
|
|
583
|
+
],
|
|
584
|
+
url: "/api/v1/presets/{presetId}/approvals/approve",
|
|
585
|
+
...options
|
|
586
|
+
});
|
|
587
|
+
};
|
|
573
588
|
var overrideApproveFinalDocument = (options) => {
|
|
574
589
|
return (options.client ?? client).put({
|
|
575
590
|
security: [
|
|
@@ -3096,6 +3111,34 @@ var updateSubAccount = (options) => {
|
|
|
3096
3111
|
}
|
|
3097
3112
|
});
|
|
3098
3113
|
};
|
|
3114
|
+
var presetRequestApproval = (options) => {
|
|
3115
|
+
return (options.client ?? client).put({
|
|
3116
|
+
security: [
|
|
3117
|
+
{
|
|
3118
|
+
name: "Authorization",
|
|
3119
|
+
type: "apiKey"
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
url: "/api/v1/presets/{presetId}/approvals/requestApproval",
|
|
3123
|
+
...options
|
|
3124
|
+
});
|
|
3125
|
+
};
|
|
3126
|
+
var rejectPresetApproval = (options) => {
|
|
3127
|
+
return (options.client ?? client).put({
|
|
3128
|
+
security: [
|
|
3129
|
+
{
|
|
3130
|
+
name: "Authorization",
|
|
3131
|
+
type: "apiKey"
|
|
3132
|
+
}
|
|
3133
|
+
],
|
|
3134
|
+
url: "/api/v1/presets/{presetId}/approvals/reject",
|
|
3135
|
+
...options,
|
|
3136
|
+
headers: {
|
|
3137
|
+
"Content-Type": "application/json",
|
|
3138
|
+
...options?.headers
|
|
3139
|
+
}
|
|
3140
|
+
});
|
|
3141
|
+
};
|
|
3099
3142
|
var setOwnerEntity = (options) => {
|
|
3100
3143
|
return (options.client ?? client).put({
|
|
3101
3144
|
security: [
|
|
@@ -3885,6 +3928,7 @@ var getProfile = (options) => {
|
|
|
3885
3928
|
addElectionRejection,
|
|
3886
3929
|
addWatchers,
|
|
3887
3930
|
applyExtractedAnswers,
|
|
3931
|
+
approve,
|
|
3888
3932
|
approveFinalDocument,
|
|
3889
3933
|
assignEntity,
|
|
3890
3934
|
assignToMe,
|
|
@@ -4068,6 +4112,7 @@ var getProfile = (options) => {
|
|
|
4068
4112
|
presetGetMultipleNestedAnswers,
|
|
4069
4113
|
presetGetNestedAnswers,
|
|
4070
4114
|
presetRenderTemplate,
|
|
4115
|
+
presetRequestApproval,
|
|
4071
4116
|
presetSendForApproval,
|
|
4072
4117
|
presetSetElectionApproval,
|
|
4073
4118
|
presetSetFinalApproval,
|
|
@@ -4077,6 +4122,7 @@ var getProfile = (options) => {
|
|
|
4077
4122
|
publisherSummaries,
|
|
4078
4123
|
queueGenerateNegotiationDocumentJob,
|
|
4079
4124
|
rejectFinalDocument,
|
|
4125
|
+
rejectPresetApproval,
|
|
4080
4126
|
removeWatchers,
|
|
4081
4127
|
renameExecutionAttachment,
|
|
4082
4128
|
resetUserAnswers,
|