@createiq/backend 1.0.2 → 1.0.4
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 +486 -486
- package/client/types.gen.ts +1116 -1712
- package/dist/index.cjs +0 -900
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1370 -1945
- package/dist/index.d.ts +1370 -1945
- package/dist/index.js +0 -817
- 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 { GetNegotiationDeltasData, GetAmendDefaultsData, GetAmendDefaultsResponse, NegotiationRenderTemplateData, NegotiationRenderTemplateResponse, CancelNegotiationsJobCountData, CancelNegotiationsJobCountResponse, AuditTrailForSubAccountAsJsonData, AuditTrailForSubAccountAsJsonResponse, GetDocumentSchemaData, GetDocumentSchemaResponse, AuditTrailForAccountAsJsonData, AuditTrailForAccountAsJsonResponse, SendBulkSetToCounterpartiesInitialData, SendBulkSetToCounterpartiesInitialResponse, GetWatchersData, GetWatchersResponse, AddWatchersData, AddWatchersResponse, GetUserStatisticsData, GetUserStatisticsResponse, RevertToAmendingData, RevertToAmendingResponse, SetReceiverEntityData, SetReceiverEntityResponse, MarkCommentEventsAsViewedData, PresetSetFinalApprovalData, PresetSetFinalApprovalResponse, AuthPingData, ListAllPresetsForSubAccountV1Data, ListAllPresetsForSubAccountV1Response, CreatePresetData, CreatePresetResponse, PresetGetMultipleNestedAnswersData, PresetGetMultipleNestedAnswersResponse, PresetSetMultipleNestedAnswersData, PresetSetMultipleNestedAnswersResponse, OverrideApproveFinalDocumentData, DeleteEntityData, DeleteEntityResponse, GetSecurityContextData, GetSecurityContextResponse, UpdateSelectedElectionsData, UpdateSelectedElectionsResponse, AuditTrailForAccountAsExcelData, AuditTrailForAccountAsExcelResponse, PresetEditAnswersData, PresetEditAnswersResponse, DeleteCommentData, DeleteCommentResponse, UpdateCommentData, UpdateCommentResponse, DeleteGeneralCoverNoteData, DeleteGeneralCoverNoteResponse, SetGeneralCoverNoteData, SetGeneralCoverNoteResponse, PublisherSummariesData, PublisherSummariesResponse, ValidateEntitiesData, ValidateEntitiesResponse, GrantAllNegotiationsAccessData, GrantAllNegotiationsAccessResponse, GetNegotiationESignStatusData, GetNegotiationESignStatusResponse, UnsubscribeData, OverrideRejectFinalDocumentData, VersionData, UpdateExtractionFeedbackData, UpdateExtractionFeedbackResponse, GetLatestDocumentSchemaData, GetLatestDocumentSchemaResponse, GetPreviousMajorVersionsNestedAnswerIdsData, GetPreviousMajorVersionsNestedAnswerIdsResponse, AddElectionRejectionData, AddElectionRejectionResponse, ListPresetsData, ListPresetsResponse, GetTimelineData, MarkEventsAsViewedData, NegotiationForkHistoryData, NegotiationForkHistoryResponse, ListEntitiesData, ListEntitiesResponse, AssignEntityData, AssignEntityResponse, SetFinalApprovalData, SetFinalApprovalResponse, SetElectionApprovalData, SetElectionApprovalResponse, DownloadDashboardReportAsExcelData, DownloadDashboardReportAsExcelResponse, MoveEntityData, DeleteApprovalCommentData, EditApprovalCommentData, EditApprovalCommentResponse, DeleteExternalAttachmentData, DeleteExternalAttachmentResponse, GetExternalAttachmentData, GetExternalAttachmentResponse, ListPotentialNegotiationAdvisorsData, ListPotentialNegotiationAdvisorsResponse, GetAccessibleNegotiationData, GetAccessibleNegotiationResponse, ForkNegotiationData, ForkNegotiationResponse, AcceptAllCounterpartyPositionsData, AcceptAllCounterpartyPositionsResponse, NegotiationGetDocumentSchemaData, NegotiationGetDocumentSchemaResponse, UpdateGroupNameData, ChangeSigningModeData, ChangeSigningModeResponse, SendToCounterpartyData, SendToCounterpartyResponse, VoidESignEnvelopeForNegotiationData, DeleteDocumentDraftingNoteData, UpdateDocumentDraftingNoteData, UpdateDocumentDraftingNoteResponse, SetBulkSetAttachmentsData, SetBulkSetAttachmentsResponse, AddElectionApprovalData, AddElectionApprovalResponse, RejectFinalDocumentData, GenerateAndMaybeSendEnvelopeData, GetElectionAnswerData, GetElectionAnswerResponse, PresetSendForApprovalData, PresetSendForApprovalResponse, CreateAuditTrailJsonData, CreateAuditTrailJsonResponse, UpdateNegotiationsToMatchData, GetApprovalHistoryData, GetApprovalHistoryResponse, BulkSetsJobCountData, BulkSetsJobCountResponse, EditDefaultAnswersData, EditDefaultAnswersResponse, GetSubscribedPublishersData, GetSubscribedPublishersResponse, SendGroupToCounterpartyData, SendGroupToCounterpartyResponse, BreakingChangesData, BreakingChangesResponse, GetOtherPartyAnswersData, GetOtherPartyAnswersResponse, OverrideElectionRejectionData, OverrideElectionRejectionResponse, OverrideElectionApprovalData, OverrideElectionApprovalResponse, GetAllVersionsData, GetAllVersionsResponse, ListPotentialPresetAdvisorsData, ListPotentialPresetAdvisorsResponse, GetAsCdmData, GetAsCdmResponse, GetApprovalRoundData, GetApprovalRoundResponse, GetPreviousActiveUsersData, GetPreviousActiveUsersResponse, RevokePresetsAccessData, RevokePresetsAccessResponse, GrantPresetsAccessData, GrantPresetsAccessResponse, NotifyOfDraftData, RemoveWatchersData, RemoveWatchersResponse, GetNegotiationData, GetNegotiationResponse, UpdateMetadataData, UpdateMetadataResponse, GetDownloadExecutedNegotiationsAsExcelData, GetDownloadExecutedNegotiationsAsExcelResponse, DownloadExecutedNegotiationsAsExcelData, DownloadExecutedNegotiationsAsExcelResponse, DeleteSignedSignaturePageForPartyData, SetSignedSignaturePageForPartyData, SetSignedSignaturePageForPartyResponse, SuggestGroupNameData, SuggestGroupNameResponse, MarkActivityEventsAsViewedData, CancelExtractionData, CancelExtractionResponse, EditAnswersData, EditAnswersResponse, GetCommentsData, GetDraftingNotesDocumentData, GetDraftingNotesDocumentResponse, AcceptAllPositionsFromForkData, AcceptAllPositionsFromForkResponse, AcceptAllPresetPositionsData, AcceptAllPresetPositionsResponse, SendChaserEmailData, CreateSigningPackData, CreateSigningPackResponse, GetGroupNamesData, GetGroupNamesResponse, CreateGroupData, CreateGroupResponse, GetNegotiationFilesSummaryData, GetNegotiationFilesSummaryResponse, GetUsersData, GetUsersResponse, GetSettingsData, GetSettingsResponse, ConfirmData, ConfirmResponse, SendDocumentApprovalReminderData, GetStatisticsData, GetStatisticsResponse, PresetSwapPartiesData, PresetSwapPartiesResponse, ApproveFinalDocumentData, ResetUserAnswersData, ResetUserAnswersResponse, GetMajorVersionsData, GetMajorVersionsResponse, UpdateUserAnswersData, UpdateUserAnswersResponse, DeleteDocumentElectionDraftingNoteData, UpdateDocumentElectionDraftingNoteData, UpdateDocumentElectionDraftingNoteResponse, AssignToMeData, AssignToMeResponse, UpdateGroupMembersData, GetSignedSignaturePagePdfData, GetSignedSignaturePagePdfResponse, PresetGetDocumentSchemaData, PresetGetDocumentSchemaResponse, ListSubAccountsData, DocumentsFilterData, DocumentsFilterResponse, MarkAsOfflineData, MarkAsOfflineResponse, CheckSignedSignaturePagePdfData, CheckSignedSignaturePagePdfResponse, GetAnnotatedOfflineNegotiatedDocumentData, GetAnnotatedOfflineNegotiatedDocumentResponse, DeleteAuxiliaryDocumentData, DeleteAuxiliaryDocumentResponse, GetAuxiliaryDocumentData, GetAuxiliaryDocumentResponse, SetAuxiliaryDocumentData, SetAuxiliaryDocumentResponse, DownloadPreExecutionCounterpartyNegotiationData, DownloadPreExecutionCounterpartyNegotiationResponse, CancelData, CancelResponse, RevokeNegotiationsAccessData, RevokeNegotiationsAccessResponse, GrantNegotiationsAccessData, GrantNegotiationsAccessResponse, ListDocumentsData, ListDocumentsResponse, GetPartyAnswersData, GetPartyAnswersResponse, GetNegotiationsGroupData, GetNegotiationsGroupResponse, DeletePresetData, GetPresetData, GetPresetResponse, CreatePresetAuditTrailJsonData, CreatePresetAuditTrailJsonResponse, ConsentCodeCallbackData, GetOfflineNegotiatedDocumentAnnotationsData, GetOfflineNegotiatedDocumentAnnotationsResponse, AcceptAllCustodianTemplatePositionsData, AcceptAllCustodianTemplatePositionsResponse, AccountSummaryData, AccountSummaryResponse, GetApprovalCommentsData, GetApprovalCommentsResponse, ListAdvisorsForWorkspaceData, ListAdvisorsForWorkspaceResponse, CheckOfflineNegotiatedDocumentData, CheckOfflineNegotiatedDocumentResponse, DownloadPresetData, DownloadPresetResponse, AssignUserData, AssignUserResponse, GetAllNegotiationCommentsForSubAccountData, GetAllNegotiationCommentsForSubAccountResponse, GetExtractionResultsData, GetExtractionResultsResponse, ApplyExtractedAnswersData, ApplyExtractedAnswersResponse, GetOriginalAnswersForForkNegotiationData, GetOriginalAnswersForForkNegotiationResponse, MarkAsFinalData, MarkAsFinalResponse, GetPreviousMajorVersionsNestedAnswerElectionsData, GetPreviousMajorVersionsNestedAnswerElectionsResponse, ListNegotiationsData, ListNegotiationsResponse, CreateNegotiationData, CreateNegotiationResponse, PresetGetNestedAnswersData, PresetGetNestedAnswersResponse, PresetSetNestedAnswersData, PresetSetNestedAnswersResponse, CreatePresetAuditTrailXlsxData, CreatePresetAuditTrailXlsxResponse, ClonePresetData, ClonePresetResponse, ObtainConsentData, CheckAuxiliaryDocumentData, CheckAuxiliaryDocumentResponse, ListDocumentsWithPaginationData, ListDocumentsWithPaginationResponse, EmailPreferencesData, EmailPreferencesResponse, PatchEmailPreferencesData, ConfirmExecutionVersionData, ConfirmExecutionVersionResponse, ListAllPresetsForSubAccountV2Data, ListAllPresetsForSubAccountV2Response, ListExternalAttachmentsData, ListExternalAttachmentsResponse, SetExternalAttachmentsData, SetExternalAttachmentsResponse, SetExternalAttachmentData, SetExternalAttachmentResponse, AuditTrailForSubAccountAsExcelData, AuditTrailForSubAccountAsExcelResponse, ValidateDraftReceiverEmailsData, ValidateDraftReceiverEmailsResponse, DownloadPostExecutionPackData, DownloadPostExecutionPackResponse, MarkApprovalCommentsAsViewedData, AcceptCounterpartyPositionData, AcceptCounterpartyPositionResponse, CancelNegotiationsData, CancelNegotiationsResponse, GetNegotiationDraftingNotesData, GetNegotiationDraftingNotesResponse, AuditTrailFiltersData, AuditTrailFiltersResponse, GetCommentSummaryData, DeleteExecutionAttachmentData, DeleteExecutionAttachmentResponse, GetExecutionAttachmentData, GetExecutionAttachmentResponse, GetUsersForPickerData, GetUsersForPickerResponse, GetMultipleNestedAnswersData, GetMultipleNestedAnswersResponse, SetMultipleNestedAnswersData, SetMultipleNestedAnswersResponse, DeleteBulkSetAttachmentData, DeleteBulkSetAttachmentResponse, GetBulkSetAttachmentData, GetBulkSetAttachmentResponse, GetDocumentData, GetDocumentResponse, ListBulkSetsData, CreateBulkSetData, CreateBulkSetResponse, AddApprovalCommentData, AddApprovalCommentResponse, ScheduleExtractionData, ScheduleExtractionResponse, NegotiationsFilterData, NegotiationsFilterResponse, CreateAuditTrailXlsxData, CreateAuditTrailXlsxResponse, SetPresetData, SetPresetResponse, UsersWithNegotiationAccessData, UsersWithNegotiationAccessResponse, GetStatisticsOverviewData, GetStatisticsOverviewResponse, GetSubAccountData, UpdateSubAccountData, SetOwnerEntityData, SetOwnerEntityResponse, NegotiationSendForApprovalData, NegotiationSendForApprovalResponse, SearchEntityData, SearchEntityResponse, ListDocumentsVersionsSummaryData, ListDocumentsVersionsSummaryResponse, RetractData, RetractResponse, AcceptAllPositionsFromPreviousVersionData, AcceptAllPositionsFromPreviousVersionResponse, RenameExecutionAttachmentData, RenameExecutionAttachmentResponse, GetNestedAnswersData, GetNestedAnswersResponse, SetNestedAnswersData, SetNestedAnswersResponse, GetBulkSetData, GetBulkSetResponse, ListExecutionAttachmentsData, ListExecutionAttachmentsResponse, SetExecutionAttachmentsData, SetExecutionAttachmentsResponse, SetExecutionAttachmentData, SetExecutionAttachmentResponse, CheckSignedExecutedVersionData, CheckSignedExecutedVersionResponse, GetDownloadActiveNegotiationsReportAsExcelData, GetDownloadActiveNegotiationsReportAsExcelResponse, DownloadActiveNegotiationsReportAsExcelData, DownloadActiveNegotiationsReportAsExcelResponse, SetCounterpartiesData, SetCounterpartiesResponse, GetLegacyStatisticsData, GetLegacyStatisticsResponse, GetChannelTimelineData, SchemaAvailableAsCdmData, SchemaAvailableAsCdmResponse, RevokeWindowData, GetWindowData, GetWindowResponse, GrantWindowData, GrantWindowResponse, ExtendWindowData, ExtendWindowResponse, DeleteOfflineNegotiatedDocumentData, DeleteOfflineNegotiatedDocumentResponse, GetOfflineNegotiatedDocumentData, GetOfflineNegotiatedDocumentResponse, SetOfflineNegotiatedDocumentData, SetOfflineNegotiatedDocumentResponse, DeleteSignedExecutedVersionData, DeleteSignedExecutedVersionResponse, GetSignedExecutedVersionData, GetSignedExecutedVersionResponse, SetSignedExecutedVersionData, SetSignedExecutedVersionResponse, DeleteCoverNoteData, DeleteCoverNoteResponse, UpdateCoverNoteData, UpdateCoverNoteResponse, SendToCounterpartyInitialData, SendToCounterpartyInitialResponse, QueueGenerateNegotiationDocumentJobData, QueueGenerateNegotiationDocumentJobResponse, CreateSignaturePagePdfData, CreateSignaturePagePdfResponse, UpgradePresetSchemaData, UpgradePresetSchemaResponse, DocumentRenderTemplateData, DocumentRenderTemplateResponse, GetAccountRelationshipSummariesData, GetAccountRelationshipSummariesResponse, PresetRenderTemplateData, PresetRenderTemplateResponse, AddCommentData, AddCommentResponse, PresetSetElectionApprovalData, PresetSetElectionApprovalResponse, GetSsoConfigData, GetSsoConfigResponse, UpdateCustomFieldsData, UpdateCustomFieldsResponse, SendElectionApprovalReminderData, GetExecutedNegotiationSummaryData, GetExecutedNegotiationSummaryResponse, SwapPartiesData, SwapPartiesResponse, AcceptNestedAnswersCounterpartyPositionData, AcceptNestedAnswersCounterpartyPositionResponse, UpgradeSchemaData, UpgradeSchemaResponse, UpdateAttachDocxData, UpdateAttachDocxResponse, GetCompanyByEntityIdData, GetCompanyByEntityIdResponse, DeleteDraftingNotesDocumentData, GetDraftingNotesData, GetDraftingNotesResponse, UpdateDraftingNotesData, UpdateDraftingNotesResponse, CreateAuditTrailPdfData, CreateAuditTrailPdfResponse, ListRecentExtractionsData, ListRecentExtractionsResponse, InitialAnswersData, InitialAnswersResponse, DownloadNegotiationData, DownloadNegotiationResponse, GetTimelineActivityData, GetProfileData, GetProfileResponse } 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, 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, 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, PresetSendForApproval_Data, PresetSendForApproval_Response, CreateAuditTrailJson_Data, CreateAuditTrailJson_Response, UpdateNegotiationsToMatch_Data, GetApprovalHistory_Data, GetApprovalHistory_Response, BulkSetsJobCount_Data, BulkSetsJobCount_Response, EditDefaultAnswers_Data, EditDefaultAnswers_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, 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, GetMultipleNestedAnswers_Data, GetMultipleNestedAnswers_Response, SetMultipleNestedAnswers_Data, SetMultipleNestedAnswers_Response, DeleteBulkSetAttachment_Data, DeleteBulkSetAttachment_Response, GetBulkSetAttachment_Data, GetBulkSetAttachment_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, 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';
|
|
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> & {
|
|
@@ -22,7 +22,7 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
22
22
|
* Calculates the delta of each negotiation from the signature of the group as defined by the majority
|
|
23
23
|
* Calculates the delta of each negotiation from the signature of the group as defined by the majority.
|
|
24
24
|
*/
|
|
25
|
-
export const getNegotiationDeltas = <ThrowOnError extends boolean = false>(options: Options<
|
|
25
|
+
export const getNegotiationDeltas = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationDeltas_Data, ThrowOnError>) => {
|
|
26
26
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
27
27
|
security: [
|
|
28
28
|
{
|
|
@@ -43,8 +43,8 @@ export const getNegotiationDeltas = <ThrowOnError extends boolean = false>(optio
|
|
|
43
43
|
* Get the default values for amendable elections for the specified schema version
|
|
44
44
|
* Get the default values for amendable elections for the specified schema version.
|
|
45
45
|
*/
|
|
46
|
-
export const getAmendDefaults = <ThrowOnError extends boolean = false>(options: Options<
|
|
47
|
-
return (options.client ?? _heyApiClient).get<
|
|
46
|
+
export const getAmendDefaults = <ThrowOnError extends boolean = false>(options: Options<GetAmendDefaults_Data, ThrowOnError>) => {
|
|
47
|
+
return (options.client ?? _heyApiClient).get<GetAmendDefaults_Response, unknown, ThrowOnError>({
|
|
48
48
|
security: [
|
|
49
49
|
{
|
|
50
50
|
name: 'Authorization',
|
|
@@ -60,8 +60,8 @@ export const getAmendDefaults = <ThrowOnError extends boolean = false>(options:
|
|
|
60
60
|
* Render a preview of the document template using the current answers
|
|
61
61
|
* Render a preview of the document template using the current answers.
|
|
62
62
|
*/
|
|
63
|
-
export const negotiationRenderTemplate = <ThrowOnError extends boolean = false>(options: Options<
|
|
64
|
-
return (options.client ?? _heyApiClient).get<
|
|
63
|
+
export const negotiationRenderTemplate = <ThrowOnError extends boolean = false>(options: Options<NegotiationRenderTemplate_Data, ThrowOnError>) => {
|
|
64
|
+
return (options.client ?? _heyApiClient).get<NegotiationRenderTemplate_Response, unknown, ThrowOnError>({
|
|
65
65
|
security: [
|
|
66
66
|
{
|
|
67
67
|
name: 'Authorization',
|
|
@@ -77,8 +77,8 @@ export const negotiationRenderTemplate = <ThrowOnError extends boolean = false>(
|
|
|
77
77
|
* Gets the count of cancel negotiation jobs for a Sub-Account
|
|
78
78
|
* Gets the count of cancel negotiation jobs for a Sub-Account.
|
|
79
79
|
*/
|
|
80
|
-
export const cancelNegotiationsJobCount = <ThrowOnError extends boolean = false>(options: Options<
|
|
81
|
-
return (options.client ?? _heyApiClient).get<
|
|
80
|
+
export const cancelNegotiationsJobCount = <ThrowOnError extends boolean = false>(options: Options<CancelNegotiationsJobCount_Data, ThrowOnError>) => {
|
|
81
|
+
return (options.client ?? _heyApiClient).get<CancelNegotiationsJobCount_Response, unknown, ThrowOnError>({
|
|
82
82
|
security: [
|
|
83
83
|
{
|
|
84
84
|
name: 'Authorization',
|
|
@@ -94,8 +94,8 @@ export const cancelNegotiationsJobCount = <ThrowOnError extends boolean = false>
|
|
|
94
94
|
* View the audit trail for a Sub-Account as JSON
|
|
95
95
|
* View the audit trail for a Sub-Account as JSON.
|
|
96
96
|
*/
|
|
97
|
-
export const auditTrailForSubAccountAsJson = <ThrowOnError extends boolean = false>(options: Options<
|
|
98
|
-
return (options.client ?? _heyApiClient).get<
|
|
97
|
+
export const auditTrailForSubAccountAsJson = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForSubAccountAsJson_Data, ThrowOnError>) => {
|
|
98
|
+
return (options.client ?? _heyApiClient).get<AuditTrailForSubAccountAsJson_Response, unknown, ThrowOnError>({
|
|
99
99
|
security: [
|
|
100
100
|
{
|
|
101
101
|
name: 'Authorization',
|
|
@@ -111,8 +111,8 @@ export const auditTrailForSubAccountAsJson = <ThrowOnError extends boolean = fal
|
|
|
111
111
|
* View the schema for a document
|
|
112
112
|
* View the schema for a document.
|
|
113
113
|
*/
|
|
114
|
-
export const getDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<
|
|
115
|
-
return (options.client ?? _heyApiClient).get<
|
|
114
|
+
export const getDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<GetDocumentSchema_Data, ThrowOnError>) => {
|
|
115
|
+
return (options.client ?? _heyApiClient).get<GetDocumentSchema_Response, unknown, ThrowOnError>({
|
|
116
116
|
security: [
|
|
117
117
|
{
|
|
118
118
|
name: 'Authorization',
|
|
@@ -128,8 +128,8 @@ export const getDocumentSchema = <ThrowOnError extends boolean = false>(options:
|
|
|
128
128
|
* View an audit trail for an account as JSON
|
|
129
129
|
* View an audit trail for an account as JSON.
|
|
130
130
|
*/
|
|
131
|
-
export const auditTrailForAccountAsJson = <ThrowOnError extends boolean = false>(options: Options<
|
|
132
|
-
return (options.client ?? _heyApiClient).get<
|
|
131
|
+
export const auditTrailForAccountAsJson = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForAccountAsJson_Data, ThrowOnError>) => {
|
|
132
|
+
return (options.client ?? _heyApiClient).get<AuditTrailForAccountAsJson_Response, unknown, ThrowOnError>({
|
|
133
133
|
security: [
|
|
134
134
|
{
|
|
135
135
|
name: 'Authorization',
|
|
@@ -145,8 +145,8 @@ export const auditTrailForAccountAsJson = <ThrowOnError extends boolean = false>
|
|
|
145
145
|
* Performs an "initial send to counterparty" for each negotiation specified
|
|
146
146
|
* Performs an "initial send to counterparty" for each negotiation specified.
|
|
147
147
|
*/
|
|
148
|
-
export const sendBulkSetToCounterpartiesInitial = <ThrowOnError extends boolean = false>(options: Options<
|
|
149
|
-
return (options.client ?? _heyApiClient).put<
|
|
148
|
+
export const sendBulkSetToCounterpartiesInitial = <ThrowOnError extends boolean = false>(options: Options<SendBulkSetToCounterpartiesInitial_Data, ThrowOnError>) => {
|
|
149
|
+
return (options.client ?? _heyApiClient).put<SendBulkSetToCounterpartiesInitial_Response, unknown, ThrowOnError>({
|
|
150
150
|
security: [
|
|
151
151
|
{
|
|
152
152
|
name: 'Authorization',
|
|
@@ -162,8 +162,8 @@ export const sendBulkSetToCounterpartiesInitial = <ThrowOnError extends boolean
|
|
|
162
162
|
* List all negotiation watchers for a negotiation in a subaccount
|
|
163
163
|
* List all negotiation watchers for a negotiation in a subaccount.
|
|
164
164
|
*/
|
|
165
|
-
export const getWatchers = <ThrowOnError extends boolean = false>(options: Options<
|
|
166
|
-
return (options.client ?? _heyApiClient).get<
|
|
165
|
+
export const getWatchers = <ThrowOnError extends boolean = false>(options: Options<GetWatchers_Data, ThrowOnError>) => {
|
|
166
|
+
return (options.client ?? _heyApiClient).get<GetWatchers_Response, unknown, ThrowOnError>({
|
|
167
167
|
security: [
|
|
168
168
|
{
|
|
169
169
|
name: 'Authorization',
|
|
@@ -179,8 +179,8 @@ export const getWatchers = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
179
179
|
* Append specified negotiation watchers to existing watchers for a negotiation in a subaccount
|
|
180
180
|
* Append specified negotiation watchers to existing watchers for a negotiation in a subaccount.
|
|
181
181
|
*/
|
|
182
|
-
export const addWatchers = <ThrowOnError extends boolean = false>(options: Options<
|
|
183
|
-
return (options.client ?? _heyApiClient).post<
|
|
182
|
+
export const addWatchers = <ThrowOnError extends boolean = false>(options: Options<AddWatchers_Data, ThrowOnError>) => {
|
|
183
|
+
return (options.client ?? _heyApiClient).post<AddWatchers_Response, unknown, ThrowOnError>({
|
|
184
184
|
security: [
|
|
185
185
|
{
|
|
186
186
|
name: 'Authorization',
|
|
@@ -200,8 +200,8 @@ export const addWatchers = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
200
200
|
* View aggregate statistics for the user in a Sub-Account
|
|
201
201
|
* View aggregate statistics for the user in a Sub-Account.
|
|
202
202
|
*/
|
|
203
|
-
export const getUserStatistics = <ThrowOnError extends boolean = false>(options: Options<
|
|
204
|
-
return (options.client ?? _heyApiClient).get<
|
|
203
|
+
export const getUserStatistics = <ThrowOnError extends boolean = false>(options: Options<GetUserStatistics_Data, ThrowOnError>) => {
|
|
204
|
+
return (options.client ?? _heyApiClient).get<GetUserStatistics_Response, unknown, ThrowOnError>({
|
|
205
205
|
security: [
|
|
206
206
|
{
|
|
207
207
|
name: 'Authorization',
|
|
@@ -217,8 +217,8 @@ export const getUserStatistics = <ThrowOnError extends boolean = false>(options:
|
|
|
217
217
|
* Reverts a negotiation that has not yet been finalised so that election answers can be amended
|
|
218
218
|
* Reverts a negotiation that has not yet been finalised so that election answers can be amended.
|
|
219
219
|
*/
|
|
220
|
-
export const revertToAmending = <ThrowOnError extends boolean = false>(options: Options<
|
|
221
|
-
return (options.client ?? _heyApiClient).put<
|
|
220
|
+
export const revertToAmending = <ThrowOnError extends boolean = false>(options: Options<RevertToAmending_Data, ThrowOnError>) => {
|
|
221
|
+
return (options.client ?? _heyApiClient).put<RevertToAmending_Response, unknown, ThrowOnError>({
|
|
222
222
|
security: [
|
|
223
223
|
{
|
|
224
224
|
name: 'Authorization',
|
|
@@ -238,8 +238,8 @@ export const revertToAmending = <ThrowOnError extends boolean = false>(options:
|
|
|
238
238
|
* Set the receiving party's entity for a negotiation
|
|
239
239
|
* Set the receiving party's entity for a negotiation.
|
|
240
240
|
*/
|
|
241
|
-
export const setReceiverEntity = <ThrowOnError extends boolean = false>(options: Options<
|
|
242
|
-
return (options.client ?? _heyApiClient).put<
|
|
241
|
+
export const setReceiverEntity = <ThrowOnError extends boolean = false>(options: Options<SetReceiverEntity_Data, ThrowOnError>) => {
|
|
242
|
+
return (options.client ?? _heyApiClient).put<SetReceiverEntity_Response, unknown, ThrowOnError>({
|
|
243
243
|
security: [
|
|
244
244
|
{
|
|
245
245
|
name: 'Authorization',
|
|
@@ -259,7 +259,7 @@ export const setReceiverEntity = <ThrowOnError extends boolean = false>(options:
|
|
|
259
259
|
* Mark comments timeline events associated with a negotiation and requesting user as read
|
|
260
260
|
* Mark comments timeline events associated with a negotiation and requesting user as read.
|
|
261
261
|
*/
|
|
262
|
-
export const markCommentEventsAsViewed = <ThrowOnError extends boolean = false>(options: Options<
|
|
262
|
+
export const markCommentEventsAsViewed = <ThrowOnError extends boolean = false>(options: Options<MarkCommentEventsAsViewed_Data, ThrowOnError>) => {
|
|
263
263
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
264
264
|
security: [
|
|
265
265
|
{
|
|
@@ -280,8 +280,8 @@ export const markCommentEventsAsViewed = <ThrowOnError extends boolean = false>(
|
|
|
280
280
|
* Update the document approval rules for a preset
|
|
281
281
|
* Update the document approval rules for a preset.
|
|
282
282
|
*/
|
|
283
|
-
export const presetSetFinalApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
284
|
-
return (options.client ?? _heyApiClient).put<
|
|
283
|
+
export const presetSetFinalApproval = <ThrowOnError extends boolean = false>(options: Options<PresetSetFinalApproval_Data, ThrowOnError>) => {
|
|
284
|
+
return (options.client ?? _heyApiClient).put<PresetSetFinalApproval_Response, unknown, ThrowOnError>({
|
|
285
285
|
security: [
|
|
286
286
|
{
|
|
287
287
|
name: 'Authorization',
|
|
@@ -301,7 +301,7 @@ export const presetSetFinalApproval = <ThrowOnError extends boolean = false>(opt
|
|
|
301
301
|
* Check that your access token is valid
|
|
302
302
|
* Check that your access token is valid with this ping endpoint that requires authentication.
|
|
303
303
|
*/
|
|
304
|
-
export const authPing = <ThrowOnError extends boolean = false>(options?: Options<
|
|
304
|
+
export const authPing = <ThrowOnError extends boolean = false>(options?: Options<AuthPing_Data, ThrowOnError>) => {
|
|
305
305
|
return (options?.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
306
306
|
url: '/api/v1/authPing',
|
|
307
307
|
...options
|
|
@@ -312,8 +312,8 @@ export const authPing = <ThrowOnError extends boolean = false>(options?: Options
|
|
|
312
312
|
* View a list of the presets in a Sub-Account
|
|
313
313
|
* View a list of the presets in a Sub-Account.
|
|
314
314
|
*/
|
|
315
|
-
export const listAllPresetsForSubAccountV1 = <ThrowOnError extends boolean = false>(options: Options<
|
|
316
|
-
return (options.client ?? _heyApiClient).get<
|
|
315
|
+
export const listAllPresetsForSubAccountV1 = <ThrowOnError extends boolean = false>(options: Options<ListAllPresetsForSubAccountV1_Data, ThrowOnError>) => {
|
|
316
|
+
return (options.client ?? _heyApiClient).get<ListAllPresetsForSubAccountV1_Response, unknown, ThrowOnError>({
|
|
317
317
|
security: [
|
|
318
318
|
{
|
|
319
319
|
name: 'Authorization',
|
|
@@ -329,8 +329,8 @@ export const listAllPresetsForSubAccountV1 = <ThrowOnError extends boolean = fal
|
|
|
329
329
|
* Create a preset
|
|
330
330
|
* Create a preset.
|
|
331
331
|
*/
|
|
332
|
-
export const createPreset = <ThrowOnError extends boolean = false>(options: Options<
|
|
333
|
-
return (options.client ?? _heyApiClient).post<
|
|
332
|
+
export const createPreset = <ThrowOnError extends boolean = false>(options: Options<CreatePreset_Data, ThrowOnError>) => {
|
|
333
|
+
return (options.client ?? _heyApiClient).post<CreatePreset_Response, unknown, ThrowOnError>({
|
|
334
334
|
security: [
|
|
335
335
|
{
|
|
336
336
|
name: 'Authorization',
|
|
@@ -350,8 +350,8 @@ export const createPreset = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
350
350
|
* Get the value for multiple nested answers
|
|
351
351
|
* Get the value for multiple nested answers.
|
|
352
352
|
*/
|
|
353
|
-
export const presetGetMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
354
|
-
return (options.client ?? _heyApiClient).post<
|
|
353
|
+
export const presetGetMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<PresetGetMultipleNestedAnswers_Data, ThrowOnError>) => {
|
|
354
|
+
return (options.client ?? _heyApiClient).post<PresetGetMultipleNestedAnswers_Response, unknown, ThrowOnError>({
|
|
355
355
|
security: [
|
|
356
356
|
{
|
|
357
357
|
name: 'Authorization',
|
|
@@ -371,8 +371,8 @@ export const presetGetMultipleNestedAnswers = <ThrowOnError extends boolean = fa
|
|
|
371
371
|
* Sets the values for multiple nested answers
|
|
372
372
|
* Sets the values for multiple nested answers, used in umbrella agreements.
|
|
373
373
|
*/
|
|
374
|
-
export const presetSetMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
375
|
-
return (options.client ?? _heyApiClient).put<
|
|
374
|
+
export const presetSetMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<PresetSetMultipleNestedAnswers_Data, ThrowOnError>) => {
|
|
375
|
+
return (options.client ?? _heyApiClient).put<PresetSetMultipleNestedAnswers_Response, unknown, ThrowOnError>({
|
|
376
376
|
security: [
|
|
377
377
|
{
|
|
378
378
|
name: 'Authorization',
|
|
@@ -392,7 +392,7 @@ export const presetSetMultipleNestedAnswers = <ThrowOnError extends boolean = fa
|
|
|
392
392
|
* Override Approve the final document before working towards Agreed form
|
|
393
393
|
* Override Approve the final document before working towards Agreed form.
|
|
394
394
|
*/
|
|
395
|
-
export const overrideApproveFinalDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
395
|
+
export const overrideApproveFinalDocument = <ThrowOnError extends boolean = false>(options: Options<OverrideApproveFinalDocument_Data, ThrowOnError>) => {
|
|
396
396
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
397
397
|
security: [
|
|
398
398
|
{
|
|
@@ -413,8 +413,8 @@ export const overrideApproveFinalDocument = <ThrowOnError extends boolean = fals
|
|
|
413
413
|
* Delete an entity from an account when it's not used in any non final negotiation
|
|
414
414
|
* Delete an entity from an account when it's not used in any non final negotiation.
|
|
415
415
|
*/
|
|
416
|
-
export const deleteEntity = <ThrowOnError extends boolean = false>(options: Options<
|
|
417
|
-
return (options.client ?? _heyApiClient).delete<
|
|
416
|
+
export const deleteEntity = <ThrowOnError extends boolean = false>(options: Options<DeleteEntity_Data, ThrowOnError>) => {
|
|
417
|
+
return (options.client ?? _heyApiClient).delete<DeleteEntity_Response, unknown, ThrowOnError>({
|
|
418
418
|
security: [
|
|
419
419
|
{
|
|
420
420
|
name: 'Authorization',
|
|
@@ -430,8 +430,8 @@ export const deleteEntity = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
430
430
|
* View information about you, your abilities and permissions
|
|
431
431
|
* View information about you, your abilities and permissions.
|
|
432
432
|
*/
|
|
433
|
-
export const getSecurityContext = <ThrowOnError extends boolean = false>(options?: Options<
|
|
434
|
-
return (options?.client ?? _heyApiClient).get<
|
|
433
|
+
export const getSecurityContext = <ThrowOnError extends boolean = false>(options?: Options<GetSecurityContext_Data, ThrowOnError>) => {
|
|
434
|
+
return (options?.client ?? _heyApiClient).get<GetSecurityContext_Response, unknown, ThrowOnError>({
|
|
435
435
|
security: [
|
|
436
436
|
{
|
|
437
437
|
name: 'Authorization',
|
|
@@ -447,8 +447,8 @@ export const getSecurityContext = <ThrowOnError extends boolean = false>(options
|
|
|
447
447
|
* Overwrite the extraction selected elections.
|
|
448
448
|
* Overwrite the extraction selected elections.
|
|
449
449
|
*/
|
|
450
|
-
export const updateSelectedElections = <ThrowOnError extends boolean = false>(options: Options<
|
|
451
|
-
return (options.client ?? _heyApiClient).put<
|
|
450
|
+
export const updateSelectedElections = <ThrowOnError extends boolean = false>(options: Options<UpdateSelectedElections_Data, ThrowOnError>) => {
|
|
451
|
+
return (options.client ?? _heyApiClient).put<UpdateSelectedElections_Response, unknown, ThrowOnError>({
|
|
452
452
|
security: [
|
|
453
453
|
{
|
|
454
454
|
name: 'Authorization',
|
|
@@ -468,8 +468,8 @@ export const updateSelectedElections = <ThrowOnError extends boolean = false>(op
|
|
|
468
468
|
* View an audit trail for an account as XLSX
|
|
469
469
|
* View an audit trail for an account as XLSX.
|
|
470
470
|
*/
|
|
471
|
-
export const auditTrailForAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
472
|
-
return (options.client ?? _heyApiClient).get<
|
|
471
|
+
export const auditTrailForAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForAccountAsExcel_Data, ThrowOnError>) => {
|
|
472
|
+
return (options.client ?? _heyApiClient).get<AuditTrailForAccountAsExcel_Response, unknown, ThrowOnError>({
|
|
473
473
|
security: [
|
|
474
474
|
{
|
|
475
475
|
name: 'Authorization',
|
|
@@ -485,8 +485,8 @@ export const auditTrailForAccountAsExcel = <ThrowOnError extends boolean = false
|
|
|
485
485
|
* Update the answers for a preset
|
|
486
486
|
* Update the answers for a preset.
|
|
487
487
|
*/
|
|
488
|
-
export const presetEditAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
489
|
-
return (options.client ?? _heyApiClient).put<
|
|
488
|
+
export const presetEditAnswers = <ThrowOnError extends boolean = false>(options: Options<PresetEditAnswers_Data, ThrowOnError>) => {
|
|
489
|
+
return (options.client ?? _heyApiClient).put<PresetEditAnswers_Response, unknown, ThrowOnError>({
|
|
490
490
|
security: [
|
|
491
491
|
{
|
|
492
492
|
name: 'Authorization',
|
|
@@ -506,8 +506,8 @@ export const presetEditAnswers = <ThrowOnError extends boolean = false>(options:
|
|
|
506
506
|
* Delete a comment that has not yet been published
|
|
507
507
|
* Delete a comment that has not yet been published.
|
|
508
508
|
*/
|
|
509
|
-
export const deleteComment = <ThrowOnError extends boolean = false>(options: Options<
|
|
510
|
-
return (options.client ?? _heyApiClient).delete<
|
|
509
|
+
export const deleteComment = <ThrowOnError extends boolean = false>(options: Options<DeleteComment_Data, ThrowOnError>) => {
|
|
510
|
+
return (options.client ?? _heyApiClient).delete<DeleteComment_Response, unknown, ThrowOnError>({
|
|
511
511
|
security: [
|
|
512
512
|
{
|
|
513
513
|
name: 'Authorization',
|
|
@@ -527,8 +527,8 @@ export const deleteComment = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
527
527
|
* Amend a comment
|
|
528
528
|
* Amend a comment.
|
|
529
529
|
*/
|
|
530
|
-
export const updateComment = <ThrowOnError extends boolean = false>(options: Options<
|
|
531
|
-
return (options.client ?? _heyApiClient).put<
|
|
530
|
+
export const updateComment = <ThrowOnError extends boolean = false>(options: Options<UpdateComment_Data, ThrowOnError>) => {
|
|
531
|
+
return (options.client ?? _heyApiClient).put<UpdateComment_Response, unknown, ThrowOnError>({
|
|
532
532
|
security: [
|
|
533
533
|
{
|
|
534
534
|
name: 'Authorization',
|
|
@@ -548,8 +548,8 @@ export const updateComment = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
548
548
|
* Delete a cover note from a draft negotiation
|
|
549
549
|
* Delete a cover note from a draft negotiation.
|
|
550
550
|
*/
|
|
551
|
-
export const deleteGeneralCoverNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
552
|
-
return (options.client ?? _heyApiClient).delete<
|
|
551
|
+
export const deleteGeneralCoverNote = <ThrowOnError extends boolean = false>(options: Options<DeleteGeneralCoverNote_Data, ThrowOnError>) => {
|
|
552
|
+
return (options.client ?? _heyApiClient).delete<DeleteGeneralCoverNote_Response, unknown, ThrowOnError>({
|
|
553
553
|
security: [
|
|
554
554
|
{
|
|
555
555
|
name: 'Authorization',
|
|
@@ -565,8 +565,8 @@ export const deleteGeneralCoverNote = <ThrowOnError extends boolean = false>(opt
|
|
|
565
565
|
* Adds or updates a covering note on a draft negotiation
|
|
566
566
|
* Adds or updates a covering note on a draft negotiation.
|
|
567
567
|
*/
|
|
568
|
-
export const setGeneralCoverNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
569
|
-
return (options.client ?? _heyApiClient).put<
|
|
568
|
+
export const setGeneralCoverNote = <ThrowOnError extends boolean = false>(options: Options<SetGeneralCoverNote_Data, ThrowOnError>) => {
|
|
569
|
+
return (options.client ?? _heyApiClient).put<SetGeneralCoverNote_Response, unknown, ThrowOnError>({
|
|
570
570
|
security: [
|
|
571
571
|
{
|
|
572
572
|
name: 'Authorization',
|
|
@@ -586,8 +586,8 @@ export const setGeneralCoverNote = <ThrowOnError extends boolean = false>(option
|
|
|
586
586
|
* Lists all the document publisher summaries
|
|
587
587
|
* Lists all the document publisher summaries.
|
|
588
588
|
*/
|
|
589
|
-
export const publisherSummaries = <ThrowOnError extends boolean = false>(options?: Options<
|
|
590
|
-
return (options?.client ?? _heyApiClient).get<
|
|
589
|
+
export const publisherSummaries = <ThrowOnError extends boolean = false>(options?: Options<PublisherSummaries_Data, ThrowOnError>) => {
|
|
590
|
+
return (options?.client ?? _heyApiClient).get<PublisherSummaries_Response, unknown, ThrowOnError>({
|
|
591
591
|
security: [
|
|
592
592
|
{
|
|
593
593
|
name: 'Authorization',
|
|
@@ -603,8 +603,8 @@ export const publisherSummaries = <ThrowOnError extends boolean = false>(options
|
|
|
603
603
|
* Send a list of entities to validate against the GLEIF database
|
|
604
604
|
* Send a list of entities to validate against the GLEIF database.
|
|
605
605
|
*/
|
|
606
|
-
export const validateEntities = <ThrowOnError extends boolean = false>(options: Options<
|
|
607
|
-
return (options.client ?? _heyApiClient).post<
|
|
606
|
+
export const validateEntities = <ThrowOnError extends boolean = false>(options: Options<ValidateEntities_Data, ThrowOnError>) => {
|
|
607
|
+
return (options.client ?? _heyApiClient).post<ValidateEntities_Response, unknown, ThrowOnError>({
|
|
608
608
|
security: [
|
|
609
609
|
{
|
|
610
610
|
name: 'Authorization',
|
|
@@ -624,8 +624,8 @@ export const validateEntities = <ThrowOnError extends boolean = false>(options:
|
|
|
624
624
|
* Grant access to all negotiations in a subaccount to an Advisor
|
|
625
625
|
* Grant access to all negotiations in a subaccount to an Advisor.
|
|
626
626
|
*/
|
|
627
|
-
export const grantAllNegotiationsAccess = <ThrowOnError extends boolean = false>(options: Options<
|
|
628
|
-
return (options.client ?? _heyApiClient).put<
|
|
627
|
+
export const grantAllNegotiationsAccess = <ThrowOnError extends boolean = false>(options: Options<GrantAllNegotiationsAccess_Data, ThrowOnError>) => {
|
|
628
|
+
return (options.client ?? _heyApiClient).put<GrantAllNegotiationsAccess_Response, unknown, ThrowOnError>({
|
|
629
629
|
security: [
|
|
630
630
|
{
|
|
631
631
|
name: 'Authorization',
|
|
@@ -641,8 +641,8 @@ export const grantAllNegotiationsAccess = <ThrowOnError extends boolean = false>
|
|
|
641
641
|
* Obtain signing status corresponding to a negotiation
|
|
642
642
|
* Obtain signing status corresponding to a negotiation.
|
|
643
643
|
*/
|
|
644
|
-
export const getNegotiationESignStatus = <ThrowOnError extends boolean = false>(options: Options<
|
|
645
|
-
return (options.client ?? _heyApiClient).get<
|
|
644
|
+
export const getNegotiationESignStatus = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationESignStatus_Data, ThrowOnError>) => {
|
|
645
|
+
return (options.client ?? _heyApiClient).get<GetNegotiationESignStatus_Response, unknown, ThrowOnError>({
|
|
646
646
|
security: [
|
|
647
647
|
{
|
|
648
648
|
name: 'Authorization',
|
|
@@ -658,7 +658,7 @@ export const getNegotiationESignStatus = <ThrowOnError extends boolean = false>(
|
|
|
658
658
|
* Stop receiving emails relating to the specified notification
|
|
659
659
|
* Stop receiving emails relating to the specified notification.
|
|
660
660
|
*/
|
|
661
|
-
export const unsubscribe = <ThrowOnError extends boolean = false>(options: Options<
|
|
661
|
+
export const unsubscribe = <ThrowOnError extends boolean = false>(options: Options<Unsubscribe_Data, ThrowOnError>) => {
|
|
662
662
|
return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
|
|
663
663
|
security: [
|
|
664
664
|
{
|
|
@@ -679,7 +679,7 @@ export const unsubscribe = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
679
679
|
* Override Reject the final document and revert to an amending state
|
|
680
680
|
* Override Reject the final document and revert to an amending state.
|
|
681
681
|
*/
|
|
682
|
-
export const overrideRejectFinalDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
682
|
+
export const overrideRejectFinalDocument = <ThrowOnError extends boolean = false>(options: Options<OverrideRejectFinalDocument_Data, ThrowOnError>) => {
|
|
683
683
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
684
684
|
security: [
|
|
685
685
|
{
|
|
@@ -700,7 +700,7 @@ export const overrideRejectFinalDocument = <ThrowOnError extends boolean = false
|
|
|
700
700
|
* View information about the version of the platform that is currently deployed
|
|
701
701
|
* View information about the version of the platform that is currently deployed.
|
|
702
702
|
*/
|
|
703
|
-
export const version = <ThrowOnError extends boolean = false>(options?: Options<
|
|
703
|
+
export const version = <ThrowOnError extends boolean = false>(options?: Options<Version_Data, ThrowOnError>) => {
|
|
704
704
|
return (options?.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
705
705
|
security: [
|
|
706
706
|
{
|
|
@@ -717,8 +717,8 @@ export const version = <ThrowOnError extends boolean = false>(options?: Options<
|
|
|
717
717
|
* Overwrite the extraction feedback for the negotiation.
|
|
718
718
|
* Overwrite the extraction feedback for the negotiation.
|
|
719
719
|
*/
|
|
720
|
-
export const updateExtractionFeedback = <ThrowOnError extends boolean = false>(options: Options<
|
|
721
|
-
return (options.client ?? _heyApiClient).put<
|
|
720
|
+
export const updateExtractionFeedback = <ThrowOnError extends boolean = false>(options: Options<UpdateExtractionFeedback_Data, ThrowOnError>) => {
|
|
721
|
+
return (options.client ?? _heyApiClient).put<UpdateExtractionFeedback_Response, unknown, ThrowOnError>({
|
|
722
722
|
security: [
|
|
723
723
|
{
|
|
724
724
|
name: 'Authorization',
|
|
@@ -738,8 +738,8 @@ export const updateExtractionFeedback = <ThrowOnError extends boolean = false>(o
|
|
|
738
738
|
* View the latest schema for a document
|
|
739
739
|
* View the latest schema for a document.
|
|
740
740
|
*/
|
|
741
|
-
export const getLatestDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<
|
|
742
|
-
return (options.client ?? _heyApiClient).get<
|
|
741
|
+
export const getLatestDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<GetLatestDocumentSchema_Data, ThrowOnError>) => {
|
|
742
|
+
return (options.client ?? _heyApiClient).get<GetLatestDocumentSchema_Response, unknown, ThrowOnError>({
|
|
743
743
|
security: [
|
|
744
744
|
{
|
|
745
745
|
name: 'Authorization',
|
|
@@ -755,8 +755,8 @@ export const getLatestDocumentSchema = <ThrowOnError extends boolean = false>(op
|
|
|
755
755
|
* Get the nested answer IDs of all parties for all previous major versions
|
|
756
756
|
* Get the value for a nested answer IDs of all parties for all previous major versions.
|
|
757
757
|
*/
|
|
758
|
-
export const getPreviousMajorVersionsNestedAnswerIds = <ThrowOnError extends boolean = false>(options: Options<
|
|
759
|
-
return (options.client ?? _heyApiClient).get<
|
|
758
|
+
export const getPreviousMajorVersionsNestedAnswerIds = <ThrowOnError extends boolean = false>(options: Options<GetPreviousMajorVersionsNestedAnswerIds_Data, ThrowOnError>) => {
|
|
759
|
+
return (options.client ?? _heyApiClient).get<GetPreviousMajorVersionsNestedAnswerIds_Response, unknown, ThrowOnError>({
|
|
760
760
|
security: [
|
|
761
761
|
{
|
|
762
762
|
name: 'Authorization',
|
|
@@ -772,8 +772,8 @@ export const getPreviousMajorVersionsNestedAnswerIds = <ThrowOnError extends boo
|
|
|
772
772
|
* Reject an election
|
|
773
773
|
* Reject an election.
|
|
774
774
|
*/
|
|
775
|
-
export const addElectionRejection = <ThrowOnError extends boolean = false>(options: Options<
|
|
776
|
-
return (options.client ?? _heyApiClient).put<
|
|
775
|
+
export const addElectionRejection = <ThrowOnError extends boolean = false>(options: Options<AddElectionRejection_Data, ThrowOnError>) => {
|
|
776
|
+
return (options.client ?? _heyApiClient).put<AddElectionRejection_Response, unknown, ThrowOnError>({
|
|
777
777
|
security: [
|
|
778
778
|
{
|
|
779
779
|
name: 'Authorization',
|
|
@@ -793,8 +793,8 @@ export const addElectionRejection = <ThrowOnError extends boolean = false>(optio
|
|
|
793
793
|
* View a list of the presets with a documentId in a Sub-Account
|
|
794
794
|
* View a list of the presets with a documentId in a Sub-Account.
|
|
795
795
|
*/
|
|
796
|
-
export const listPresets = <ThrowOnError extends boolean = false>(options: Options<
|
|
797
|
-
return (options.client ?? _heyApiClient).get<
|
|
796
|
+
export const listPresets = <ThrowOnError extends boolean = false>(options: Options<ListPresets_Data, ThrowOnError>) => {
|
|
797
|
+
return (options.client ?? _heyApiClient).get<ListPresets_Response, unknown, ThrowOnError>({
|
|
798
798
|
security: [
|
|
799
799
|
{
|
|
800
800
|
name: 'Authorization',
|
|
@@ -810,7 +810,7 @@ export const listPresets = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
810
810
|
* View all timeline events associated with a negotiation
|
|
811
811
|
* View all timeline events associated with a negotiation.
|
|
812
812
|
*/
|
|
813
|
-
export const getTimeline = <ThrowOnError extends boolean = false>(options: Options<
|
|
813
|
+
export const getTimeline = <ThrowOnError extends boolean = false>(options: Options<GetTimeline_Data, ThrowOnError>) => {
|
|
814
814
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
815
815
|
security: [
|
|
816
816
|
{
|
|
@@ -827,7 +827,7 @@ export const getTimeline = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
827
827
|
* Mark all timeline events associated with a negotiation and requesting user as read
|
|
828
828
|
* Mark all timeline events associated with a negotiation and requesting user as read.
|
|
829
829
|
*/
|
|
830
|
-
export const markEventsAsViewed = <ThrowOnError extends boolean = false>(options: Options<
|
|
830
|
+
export const markEventsAsViewed = <ThrowOnError extends boolean = false>(options: Options<MarkEventsAsViewed_Data, ThrowOnError>) => {
|
|
831
831
|
return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
|
|
832
832
|
security: [
|
|
833
833
|
{
|
|
@@ -844,8 +844,8 @@ export const markEventsAsViewed = <ThrowOnError extends boolean = false>(options
|
|
|
844
844
|
* See the history of restatements for this negotiation
|
|
845
845
|
* Shows the full restatement history for this negotiation starting at the original and ending with the most recent restatement.
|
|
846
846
|
*/
|
|
847
|
-
export const negotiationForkHistory = <ThrowOnError extends boolean = false>(options: Options<
|
|
848
|
-
return (options.client ?? _heyApiClient).get<
|
|
847
|
+
export const negotiationForkHistory = <ThrowOnError extends boolean = false>(options: Options<NegotiationForkHistory_Data, ThrowOnError>) => {
|
|
848
|
+
return (options.client ?? _heyApiClient).get<NegotiationForkHistory_Response, unknown, ThrowOnError>({
|
|
849
849
|
security: [
|
|
850
850
|
{
|
|
851
851
|
name: 'Authorization',
|
|
@@ -861,8 +861,8 @@ export const negotiationForkHistory = <ThrowOnError extends boolean = false>(opt
|
|
|
861
861
|
* View a list of all entities assigned to Sub-Accounts, account-wide
|
|
862
862
|
* View a list of all entities assigned to Sub-Accounts, account-wide.
|
|
863
863
|
*/
|
|
864
|
-
export const listEntities = <ThrowOnError extends boolean = false>(options?: Options<
|
|
865
|
-
return (options?.client ?? _heyApiClient).get<
|
|
864
|
+
export const listEntities = <ThrowOnError extends boolean = false>(options?: Options<ListEntities_Data, ThrowOnError>) => {
|
|
865
|
+
return (options?.client ?? _heyApiClient).get<ListEntities_Response, unknown, ThrowOnError>({
|
|
866
866
|
security: [
|
|
867
867
|
{
|
|
868
868
|
name: 'Authorization',
|
|
@@ -878,8 +878,8 @@ export const listEntities = <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
878
878
|
* Assign an entity to a Sub-Account
|
|
879
879
|
* Assign an entity to a subaccount.
|
|
880
880
|
*/
|
|
881
|
-
export const assignEntity = <ThrowOnError extends boolean = false>(options: Options<
|
|
882
|
-
return (options.client ?? _heyApiClient).put<
|
|
881
|
+
export const assignEntity = <ThrowOnError extends boolean = false>(options: Options<AssignEntity_Data, ThrowOnError>) => {
|
|
882
|
+
return (options.client ?? _heyApiClient).put<AssignEntity_Response, unknown, ThrowOnError>({
|
|
883
883
|
security: [
|
|
884
884
|
{
|
|
885
885
|
name: 'Authorization',
|
|
@@ -899,8 +899,8 @@ export const assignEntity = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
899
899
|
* Update the document approval rules for a negotiation
|
|
900
900
|
* Update the document approval rules for a negotiation.
|
|
901
901
|
*/
|
|
902
|
-
export const setFinalApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
903
|
-
return (options.client ?? _heyApiClient).put<
|
|
902
|
+
export const setFinalApproval = <ThrowOnError extends boolean = false>(options: Options<SetFinalApproval_Data, ThrowOnError>) => {
|
|
903
|
+
return (options.client ?? _heyApiClient).put<SetFinalApproval_Response, unknown, ThrowOnError>({
|
|
904
904
|
security: [
|
|
905
905
|
{
|
|
906
906
|
name: 'Authorization',
|
|
@@ -920,8 +920,8 @@ export const setFinalApproval = <ThrowOnError extends boolean = false>(options:
|
|
|
920
920
|
* Update the approval rules for an election
|
|
921
921
|
* Update the approval rules for an election.
|
|
922
922
|
*/
|
|
923
|
-
export const setElectionApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
924
|
-
return (options.client ?? _heyApiClient).put<
|
|
923
|
+
export const setElectionApproval = <ThrowOnError extends boolean = false>(options: Options<SetElectionApproval_Data, ThrowOnError>) => {
|
|
924
|
+
return (options.client ?? _heyApiClient).put<SetElectionApproval_Response, unknown, ThrowOnError>({
|
|
925
925
|
security: [
|
|
926
926
|
{
|
|
927
927
|
name: 'Authorization',
|
|
@@ -941,8 +941,8 @@ export const setElectionApproval = <ThrowOnError extends boolean = false>(option
|
|
|
941
941
|
* List negotiations in a Sub-Account and return the result as a report
|
|
942
942
|
* List negotiations in a Sub-Account and return the result as a report.
|
|
943
943
|
*/
|
|
944
|
-
export const downloadDashboardReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
945
|
-
return (options.client ?? _heyApiClient).get<
|
|
944
|
+
export const downloadDashboardReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadDashboardReportAsExcel_Data, ThrowOnError>) => {
|
|
945
|
+
return (options.client ?? _heyApiClient).get<DownloadDashboardReportAsExcel_Response, unknown, ThrowOnError>({
|
|
946
946
|
security: [
|
|
947
947
|
{
|
|
948
948
|
name: 'Authorization',
|
|
@@ -958,7 +958,7 @@ export const downloadDashboardReportAsExcel = <ThrowOnError extends boolean = fa
|
|
|
958
958
|
* Move an entity from one Sub-Account to another
|
|
959
959
|
* Move an entity (and it's associated negotiations) from one Sub-Account to another.
|
|
960
960
|
*/
|
|
961
|
-
export const moveEntity = <ThrowOnError extends boolean = false>(options: Options<
|
|
961
|
+
export const moveEntity = <ThrowOnError extends boolean = false>(options: Options<MoveEntity_Data, ThrowOnError>) => {
|
|
962
962
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
963
963
|
security: [
|
|
964
964
|
{
|
|
@@ -979,7 +979,7 @@ export const moveEntity = <ThrowOnError extends boolean = false>(options: Option
|
|
|
979
979
|
* Delete an approval comment
|
|
980
980
|
* Delete an approval comment.
|
|
981
981
|
*/
|
|
982
|
-
export const deleteApprovalComment = <ThrowOnError extends boolean = false>(options: Options<
|
|
982
|
+
export const deleteApprovalComment = <ThrowOnError extends boolean = false>(options: Options<DeleteApprovalComment_Data, ThrowOnError>) => {
|
|
983
983
|
return (options.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
984
984
|
security: [
|
|
985
985
|
{
|
|
@@ -996,8 +996,8 @@ export const deleteApprovalComment = <ThrowOnError extends boolean = false>(opti
|
|
|
996
996
|
* Amend an approval comment
|
|
997
997
|
* Amend an approval comment.
|
|
998
998
|
*/
|
|
999
|
-
export const editApprovalComment = <ThrowOnError extends boolean = false>(options: Options<
|
|
1000
|
-
return (options.client ?? _heyApiClient).put<
|
|
999
|
+
export const editApprovalComment = <ThrowOnError extends boolean = false>(options: Options<EditApprovalComment_Data, ThrowOnError>) => {
|
|
1000
|
+
return (options.client ?? _heyApiClient).put<EditApprovalComment_Response, unknown, ThrowOnError>({
|
|
1001
1001
|
security: [
|
|
1002
1002
|
{
|
|
1003
1003
|
name: 'Authorization',
|
|
@@ -1017,8 +1017,8 @@ export const editApprovalComment = <ThrowOnError extends boolean = false>(option
|
|
|
1017
1017
|
* Delete an invite attachment from a negotiation
|
|
1018
1018
|
* Delete an invite attachment from a negotiation.
|
|
1019
1019
|
*/
|
|
1020
|
-
export const deleteExternalAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
1021
|
-
return (options.client ?? _heyApiClient).delete<
|
|
1020
|
+
export const deleteExternalAttachment = <ThrowOnError extends boolean = false>(options: Options<DeleteExternalAttachment_Data, ThrowOnError>) => {
|
|
1021
|
+
return (options.client ?? _heyApiClient).delete<DeleteExternalAttachment_Response, unknown, ThrowOnError>({
|
|
1022
1022
|
security: [
|
|
1023
1023
|
{
|
|
1024
1024
|
name: 'Authorization',
|
|
@@ -1034,8 +1034,8 @@ export const deleteExternalAttachment = <ThrowOnError extends boolean = false>(o
|
|
|
1034
1034
|
* Download an invite attachment that has been uploaded for a negotiation
|
|
1035
1035
|
* Download an invite attachment that has been uploaded for a negotiation.
|
|
1036
1036
|
*/
|
|
1037
|
-
export const getExternalAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
1038
|
-
return (options.client ?? _heyApiClient).get<
|
|
1037
|
+
export const getExternalAttachment = <ThrowOnError extends boolean = false>(options: Options<GetExternalAttachment_Data, ThrowOnError>) => {
|
|
1038
|
+
return (options.client ?? _heyApiClient).get<GetExternalAttachment_Response, unknown, ThrowOnError>({
|
|
1039
1039
|
security: [
|
|
1040
1040
|
{
|
|
1041
1041
|
name: 'Authorization',
|
|
@@ -1051,8 +1051,8 @@ export const getExternalAttachment = <ThrowOnError extends boolean = false>(opti
|
|
|
1051
1051
|
* Get a list of all advisors that can be given access to the specified negotiation
|
|
1052
1052
|
* Get a list of all advisors that can be given access to the specified negotiation. Dont include advisors that already have access.
|
|
1053
1053
|
*/
|
|
1054
|
-
export const listPotentialNegotiationAdvisors = <ThrowOnError extends boolean = false>(options: Options<
|
|
1055
|
-
return (options.client ?? _heyApiClient).get<
|
|
1054
|
+
export const listPotentialNegotiationAdvisors = <ThrowOnError extends boolean = false>(options: Options<ListPotentialNegotiationAdvisors_Data, ThrowOnError>) => {
|
|
1055
|
+
return (options.client ?? _heyApiClient).get<ListPotentialNegotiationAdvisors_Response, unknown, ThrowOnError>({
|
|
1056
1056
|
security: [
|
|
1057
1057
|
{
|
|
1058
1058
|
name: 'Authorization',
|
|
@@ -1068,8 +1068,8 @@ export const listPotentialNegotiationAdvisors = <ThrowOnError extends boolean =
|
|
|
1068
1068
|
* View a negotiation, if you have access to it. Searches all of your Sub-Accounts
|
|
1069
1069
|
* View a negotiation, if you have access to it. Searches all of your Sub-Accounts.
|
|
1070
1070
|
*/
|
|
1071
|
-
export const getAccessibleNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
1072
|
-
return (options.client ?? _heyApiClient).get<
|
|
1071
|
+
export const getAccessibleNegotiation = <ThrowOnError extends boolean = false>(options: Options<GetAccessibleNegotiation_Data, ThrowOnError>) => {
|
|
1072
|
+
return (options.client ?? _heyApiClient).get<GetAccessibleNegotiation_Response, unknown, ThrowOnError>({
|
|
1073
1073
|
security: [
|
|
1074
1074
|
{
|
|
1075
1075
|
name: 'Authorization',
|
|
@@ -1085,8 +1085,8 @@ export const getAccessibleNegotiation = <ThrowOnError extends boolean = false>(o
|
|
|
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.
|
|
1087
1087
|
*/
|
|
1088
|
-
export const forkNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
1089
|
-
return (options.client ?? _heyApiClient).post<
|
|
1088
|
+
export const forkNegotiation = <ThrowOnError extends boolean = false>(options: Options<ForkNegotiation_Data, ThrowOnError>) => {
|
|
1089
|
+
return (options.client ?? _heyApiClient).post<ForkNegotiation_Response, unknown, ThrowOnError>({
|
|
1090
1090
|
security: [
|
|
1091
1091
|
{
|
|
1092
1092
|
name: 'Authorization',
|
|
@@ -1102,8 +1102,8 @@ export const forkNegotiation = <ThrowOnError extends boolean = false>(options: O
|
|
|
1102
1102
|
* Accept the counterparty position for all elections of a negotiation
|
|
1103
1103
|
* Accept the counterparty position for all elections of a negotiation.
|
|
1104
1104
|
*/
|
|
1105
|
-
export const acceptAllCounterpartyPositions = <ThrowOnError extends boolean = false>(options: Options<
|
|
1106
|
-
return (options.client ?? _heyApiClient).put<
|
|
1105
|
+
export const acceptAllCounterpartyPositions = <ThrowOnError extends boolean = false>(options: Options<AcceptAllCounterpartyPositions_Data, ThrowOnError>) => {
|
|
1106
|
+
return (options.client ?? _heyApiClient).put<AcceptAllCounterpartyPositions_Response, unknown, ThrowOnError>({
|
|
1107
1107
|
security: [
|
|
1108
1108
|
{
|
|
1109
1109
|
name: 'Authorization',
|
|
@@ -1119,8 +1119,8 @@ export const acceptAllCounterpartyPositions = <ThrowOnError extends boolean = fa
|
|
|
1119
1119
|
* View the schema for a negotiation's document
|
|
1120
1120
|
* View the schema for a negotiation's document.
|
|
1121
1121
|
*/
|
|
1122
|
-
export const negotiationGetDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<
|
|
1123
|
-
return (options.client ?? _heyApiClient).get<
|
|
1122
|
+
export const negotiationGetDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<NegotiationGetDocumentSchema_Data, ThrowOnError>) => {
|
|
1123
|
+
return (options.client ?? _heyApiClient).get<NegotiationGetDocumentSchema_Response, unknown, ThrowOnError>({
|
|
1124
1124
|
security: [
|
|
1125
1125
|
{
|
|
1126
1126
|
name: 'Authorization',
|
|
@@ -1136,7 +1136,7 @@ export const negotiationGetDocumentSchema = <ThrowOnError extends boolean = fals
|
|
|
1136
1136
|
* Update the name for a negotiation group
|
|
1137
1137
|
* Update the name for a negotiation group.
|
|
1138
1138
|
*/
|
|
1139
|
-
export const updateGroupName = <ThrowOnError extends boolean = false>(options: Options<
|
|
1139
|
+
export const updateGroupName = <ThrowOnError extends boolean = false>(options: Options<UpdateGroupName_Data, ThrowOnError>) => {
|
|
1140
1140
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
1141
1141
|
security: [
|
|
1142
1142
|
{
|
|
@@ -1157,8 +1157,8 @@ export const updateGroupName = <ThrowOnError extends boolean = false>(options: O
|
|
|
1157
1157
|
* Change the Signing Mode for a negotiation in Execution
|
|
1158
1158
|
* Change the Signing Mode for a negotiation in Execution.
|
|
1159
1159
|
*/
|
|
1160
|
-
export const changeSigningMode = <ThrowOnError extends boolean = false>(options: Options<
|
|
1161
|
-
return (options.client ?? _heyApiClient).put<
|
|
1160
|
+
export const changeSigningMode = <ThrowOnError extends boolean = false>(options: Options<ChangeSigningMode_Data, ThrowOnError>) => {
|
|
1161
|
+
return (options.client ?? _heyApiClient).put<ChangeSigningMode_Response, unknown, ThrowOnError>({
|
|
1162
1162
|
security: [
|
|
1163
1163
|
{
|
|
1164
1164
|
name: 'Authorization',
|
|
@@ -1178,8 +1178,8 @@ export const changeSigningMode = <ThrowOnError extends boolean = false>(options:
|
|
|
1178
1178
|
* Send a negotiation back to the counterparty
|
|
1179
1179
|
* Send a negotiation back to the counterparty.
|
|
1180
1180
|
*/
|
|
1181
|
-
export const sendToCounterparty = <ThrowOnError extends boolean = false>(options: Options<
|
|
1182
|
-
return (options.client ?? _heyApiClient).put<
|
|
1181
|
+
export const sendToCounterparty = <ThrowOnError extends boolean = false>(options: Options<SendToCounterparty_Data, ThrowOnError>) => {
|
|
1182
|
+
return (options.client ?? _heyApiClient).put<SendToCounterparty_Response, unknown, ThrowOnError>({
|
|
1183
1183
|
security: [
|
|
1184
1184
|
{
|
|
1185
1185
|
name: 'Authorization',
|
|
@@ -1199,7 +1199,7 @@ export const sendToCounterparty = <ThrowOnError extends boolean = false>(options
|
|
|
1199
1199
|
* Cancel an ESign active signing session
|
|
1200
1200
|
* Cancel an ESign active signing session by voiding the envelope.
|
|
1201
1201
|
*/
|
|
1202
|
-
export const voidESignEnvelopeForNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
1202
|
+
export const voidESignEnvelopeForNegotiation = <ThrowOnError extends boolean = false>(options: Options<VoidESignEnvelopeForNegotiation_Data, ThrowOnError>) => {
|
|
1203
1203
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
1204
1204
|
security: [
|
|
1205
1205
|
{
|
|
@@ -1216,7 +1216,7 @@ export const voidESignEnvelopeForNegotiation = <ThrowOnError extends boolean = f
|
|
|
1216
1216
|
* Delete a document level drafting note for the specified note type. Fails if note doesn't exists
|
|
1217
1217
|
* Delete a document level drafting note for the specified note type. Fails if note doesn't exists.
|
|
1218
1218
|
*/
|
|
1219
|
-
export const deleteDocumentDraftingNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
1219
|
+
export const deleteDocumentDraftingNote = <ThrowOnError extends boolean = false>(options: Options<DeleteDocumentDraftingNote_Data, ThrowOnError>) => {
|
|
1220
1220
|
return (options.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
1221
1221
|
security: [
|
|
1222
1222
|
{
|
|
@@ -1233,8 +1233,8 @@ export const deleteDocumentDraftingNote = <ThrowOnError extends boolean = false>
|
|
|
1233
1233
|
* Update a document drafting note for the specified note type. Adds a new one if no note exists before
|
|
1234
1234
|
* Update a document drafting note for the specified note type. Adds a new one if no note exists before.
|
|
1235
1235
|
*/
|
|
1236
|
-
export const updateDocumentDraftingNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
1237
|
-
return (options.client ?? _heyApiClient).put<
|
|
1236
|
+
export const updateDocumentDraftingNote = <ThrowOnError extends boolean = false>(options: Options<UpdateDocumentDraftingNote_Data, ThrowOnError>) => {
|
|
1237
|
+
return (options.client ?? _heyApiClient).put<UpdateDocumentDraftingNote_Response, unknown, ThrowOnError>({
|
|
1238
1238
|
security: [
|
|
1239
1239
|
{
|
|
1240
1240
|
name: 'Authorization',
|
|
@@ -1250,8 +1250,8 @@ export const updateDocumentDraftingNote = <ThrowOnError extends boolean = false>
|
|
|
1250
1250
|
* Upload one or more bulk set attachments for a bulk set
|
|
1251
1251
|
* Upload one or more bulk set attachments for a bulk set.
|
|
1252
1252
|
*/
|
|
1253
|
-
export const setBulkSetAttachments = <ThrowOnError extends boolean = false>(options: Options<
|
|
1254
|
-
return (options.client ?? _heyApiClient).post<
|
|
1253
|
+
export const setBulkSetAttachments = <ThrowOnError extends boolean = false>(options: Options<SetBulkSetAttachments_Data, ThrowOnError>) => {
|
|
1254
|
+
return (options.client ?? _heyApiClient).post<SetBulkSetAttachments_Response, unknown, ThrowOnError>({
|
|
1255
1255
|
...formDataBodySerializer,
|
|
1256
1256
|
security: [
|
|
1257
1257
|
{
|
|
@@ -1272,8 +1272,8 @@ export const setBulkSetAttachments = <ThrowOnError extends boolean = false>(opti
|
|
|
1272
1272
|
* Approve an election
|
|
1273
1273
|
* Approve an election.
|
|
1274
1274
|
*/
|
|
1275
|
-
export const addElectionApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
1276
|
-
return (options.client ?? _heyApiClient).put<
|
|
1275
|
+
export const addElectionApproval = <ThrowOnError extends boolean = false>(options: Options<AddElectionApproval_Data, ThrowOnError>) => {
|
|
1276
|
+
return (options.client ?? _heyApiClient).put<AddElectionApproval_Response, unknown, ThrowOnError>({
|
|
1277
1277
|
security: [
|
|
1278
1278
|
{
|
|
1279
1279
|
name: 'Authorization',
|
|
@@ -1293,7 +1293,7 @@ export const addElectionApproval = <ThrowOnError extends boolean = false>(option
|
|
|
1293
1293
|
* Reject the final document and revert to an amending state
|
|
1294
1294
|
* Reject the final document and revert to an amending state.
|
|
1295
1295
|
*/
|
|
1296
|
-
export const rejectFinalDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
1296
|
+
export const rejectFinalDocument = <ThrowOnError extends boolean = false>(options: Options<RejectFinalDocument_Data, ThrowOnError>) => {
|
|
1297
1297
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
1298
1298
|
security: [
|
|
1299
1299
|
{
|
|
@@ -1314,7 +1314,7 @@ export const rejectFinalDocument = <ThrowOnError extends boolean = false>(option
|
|
|
1314
1314
|
* Sign document via DocuSign
|
|
1315
1315
|
* Sign document via DocuSign.
|
|
1316
1316
|
*/
|
|
1317
|
-
export const generateAndMaybeSendEnvelope = <ThrowOnError extends boolean = false>(options: Options<
|
|
1317
|
+
export const generateAndMaybeSendEnvelope = <ThrowOnError extends boolean = false>(options: Options<GenerateAndMaybeSendEnvelope_Data, ThrowOnError>) => {
|
|
1318
1318
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
1319
1319
|
security: [
|
|
1320
1320
|
{
|
|
@@ -1331,8 +1331,8 @@ export const generateAndMaybeSendEnvelope = <ThrowOnError extends boolean = fals
|
|
|
1331
1331
|
* View the answer for a specific election
|
|
1332
1332
|
* View answer for a specific election.
|
|
1333
1333
|
*/
|
|
1334
|
-
export const getElectionAnswer = <ThrowOnError extends boolean = false>(options: Options<
|
|
1335
|
-
return (options.client ?? _heyApiClient).get<
|
|
1334
|
+
export const getElectionAnswer = <ThrowOnError extends boolean = false>(options: Options<GetElectionAnswer_Data, ThrowOnError>) => {
|
|
1335
|
+
return (options.client ?? _heyApiClient).get<GetElectionAnswer_Response, unknown, ThrowOnError>({
|
|
1336
1336
|
security: [
|
|
1337
1337
|
{
|
|
1338
1338
|
name: 'Authorization',
|
|
@@ -1348,8 +1348,8 @@ export const getElectionAnswer = <ThrowOnError extends boolean = false>(options:
|
|
|
1348
1348
|
* Submit a preset for approval
|
|
1349
1349
|
* Submit the preset for approval.
|
|
1350
1350
|
*/
|
|
1351
|
-
export const presetSendForApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
1352
|
-
return (options.client ?? _heyApiClient).put<
|
|
1351
|
+
export const presetSendForApproval = <ThrowOnError extends boolean = false>(options: Options<PresetSendForApproval_Data, ThrowOnError>) => {
|
|
1352
|
+
return (options.client ?? _heyApiClient).put<PresetSendForApproval_Response, unknown, ThrowOnError>({
|
|
1353
1353
|
security: [
|
|
1354
1354
|
{
|
|
1355
1355
|
name: 'Authorization',
|
|
@@ -1365,8 +1365,8 @@ export const presetSendForApproval = <ThrowOnError extends boolean = false>(opti
|
|
|
1365
1365
|
* Download the audit trail for a negotiation as a Json
|
|
1366
1366
|
* Download the audit trail for a negotiation as a Json.
|
|
1367
1367
|
*/
|
|
1368
|
-
export const createAuditTrailJson = <ThrowOnError extends boolean = false>(options: Options<
|
|
1369
|
-
return (options.client ?? _heyApiClient).get<
|
|
1368
|
+
export const createAuditTrailJson = <ThrowOnError extends boolean = false>(options: Options<CreateAuditTrailJson_Data, ThrowOnError>) => {
|
|
1369
|
+
return (options.client ?? _heyApiClient).get<CreateAuditTrailJson_Response, unknown, ThrowOnError>({
|
|
1370
1370
|
security: [
|
|
1371
1371
|
{
|
|
1372
1372
|
name: 'Authorization',
|
|
@@ -1382,7 +1382,7 @@ export const createAuditTrailJson = <ThrowOnError extends boolean = false>(optio
|
|
|
1382
1382
|
* Updates the provided negotiations with their corresponding deltas
|
|
1383
1383
|
* Updates the provided negotiations with their corresponding deltas.
|
|
1384
1384
|
*/
|
|
1385
|
-
export const updateNegotiationsToMatch = <ThrowOnError extends boolean = false>(options: Options<
|
|
1385
|
+
export const updateNegotiationsToMatch = <ThrowOnError extends boolean = false>(options: Options<UpdateNegotiationsToMatch_Data, ThrowOnError>) => {
|
|
1386
1386
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
1387
1387
|
security: [
|
|
1388
1388
|
{
|
|
@@ -1403,8 +1403,8 @@ export const updateNegotiationsToMatch = <ThrowOnError extends boolean = false>(
|
|
|
1403
1403
|
* View the approval history of a negotiation
|
|
1404
1404
|
* View the approval history of a negotiation. Includes document and election approval.
|
|
1405
1405
|
*/
|
|
1406
|
-
export const getApprovalHistory = <ThrowOnError extends boolean = false>(options: Options<
|
|
1407
|
-
return (options.client ?? _heyApiClient).get<
|
|
1406
|
+
export const getApprovalHistory = <ThrowOnError extends boolean = false>(options: Options<GetApprovalHistory_Data, ThrowOnError>) => {
|
|
1407
|
+
return (options.client ?? _heyApiClient).get<GetApprovalHistory_Response, unknown, ThrowOnError>({
|
|
1408
1408
|
security: [
|
|
1409
1409
|
{
|
|
1410
1410
|
name: 'Authorization',
|
|
@@ -1420,8 +1420,8 @@ export const getApprovalHistory = <ThrowOnError extends boolean = false>(options
|
|
|
1420
1420
|
* Gets the count of bulk sets job for a Sub-Account
|
|
1421
1421
|
* Gets the count of bulk sets job for a Sub-Account.
|
|
1422
1422
|
*/
|
|
1423
|
-
export const bulkSetsJobCount = <ThrowOnError extends boolean = false>(options: Options<
|
|
1424
|
-
return (options.client ?? _heyApiClient).get<
|
|
1423
|
+
export const bulkSetsJobCount = <ThrowOnError extends boolean = false>(options: Options<BulkSetsJobCount_Data, ThrowOnError>) => {
|
|
1424
|
+
return (options.client ?? _heyApiClient).get<BulkSetsJobCount_Response, unknown, ThrowOnError>({
|
|
1425
1425
|
security: [
|
|
1426
1426
|
{
|
|
1427
1427
|
name: 'Authorization',
|
|
@@ -1437,8 +1437,8 @@ export const bulkSetsJobCount = <ThrowOnError extends boolean = false>(options:
|
|
|
1437
1437
|
* Set the inital election values (answers) of a negotiation.
|
|
1438
1438
|
* Set the inital election values (answers) of a negotiation.
|
|
1439
1439
|
*/
|
|
1440
|
-
export const editDefaultAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
1441
|
-
return (options.client ?? _heyApiClient).put<
|
|
1440
|
+
export const editDefaultAnswers = <ThrowOnError extends boolean = false>(options: Options<EditDefaultAnswers_Data, ThrowOnError>) => {
|
|
1441
|
+
return (options.client ?? _heyApiClient).put<EditDefaultAnswers_Response, unknown, ThrowOnError>({
|
|
1442
1442
|
security: [
|
|
1443
1443
|
{
|
|
1444
1444
|
name: 'Authorization',
|
|
@@ -1458,8 +1458,8 @@ export const editDefaultAnswers = <ThrowOnError extends boolean = false>(options
|
|
|
1458
1458
|
* Lists publishers where pack subscriptions are held
|
|
1459
1459
|
* Lists publishers where pack subscriptions are held.
|
|
1460
1460
|
*/
|
|
1461
|
-
export const getSubscribedPublishers = <ThrowOnError extends boolean = false>(options?: Options<
|
|
1462
|
-
return (options?.client ?? _heyApiClient).get<
|
|
1461
|
+
export const getSubscribedPublishers = <ThrowOnError extends boolean = false>(options?: Options<GetSubscribedPublishers_Data, ThrowOnError>) => {
|
|
1462
|
+
return (options?.client ?? _heyApiClient).get<GetSubscribedPublishers_Response, unknown, ThrowOnError>({
|
|
1463
1463
|
security: [
|
|
1464
1464
|
{
|
|
1465
1465
|
name: 'Authorization',
|
|
@@ -1475,8 +1475,8 @@ export const getSubscribedPublishers = <ThrowOnError extends boolean = false>(op
|
|
|
1475
1475
|
* Send negotiations in a group to the counterparty
|
|
1476
1476
|
* Send negotiations in a group to the counterparty. It should be used for the initial send as well.
|
|
1477
1477
|
*/
|
|
1478
|
-
export const sendGroupToCounterparty = <ThrowOnError extends boolean = false>(options: Options<
|
|
1479
|
-
return (options.client ?? _heyApiClient).put<
|
|
1478
|
+
export const sendGroupToCounterparty = <ThrowOnError extends boolean = false>(options: Options<SendGroupToCounterparty_Data, ThrowOnError>) => {
|
|
1479
|
+
return (options.client ?? _heyApiClient).put<SendGroupToCounterparty_Response, unknown, ThrowOnError>({
|
|
1480
1480
|
security: [
|
|
1481
1481
|
{
|
|
1482
1482
|
name: 'Authorization',
|
|
@@ -1496,8 +1496,8 @@ export const sendGroupToCounterparty = <ThrowOnError extends boolean = false>(op
|
|
|
1496
1496
|
* Get the breaking changes for a negotiation using older version of a published document
|
|
1497
1497
|
* Get the breaking changes for a negotiation using older version of a published document.
|
|
1498
1498
|
*/
|
|
1499
|
-
export const breakingChanges = <ThrowOnError extends boolean = false>(options: Options<
|
|
1500
|
-
return (options.client ?? _heyApiClient).get<
|
|
1499
|
+
export const breakingChanges = <ThrowOnError extends boolean = false>(options: Options<BreakingChanges_Data, ThrowOnError>) => {
|
|
1500
|
+
return (options.client ?? _heyApiClient).get<BreakingChanges_Response, unknown, ThrowOnError>({
|
|
1501
1501
|
security: [
|
|
1502
1502
|
{
|
|
1503
1503
|
name: 'Authorization',
|
|
@@ -1513,8 +1513,8 @@ export const breakingChanges = <ThrowOnError extends boolean = false>(options: O
|
|
|
1513
1513
|
* View all answers for the major version numbers of the other party in a sided negotiation
|
|
1514
1514
|
* View all answers for the major version numbers of the other party in a sided negotiation.
|
|
1515
1515
|
*/
|
|
1516
|
-
export const getOtherPartyAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
1517
|
-
return (options.client ?? _heyApiClient).get<
|
|
1516
|
+
export const getOtherPartyAnswers = <ThrowOnError extends boolean = false>(options: Options<GetOtherPartyAnswers_Data, ThrowOnError>) => {
|
|
1517
|
+
return (options.client ?? _heyApiClient).get<GetOtherPartyAnswers_Response, unknown, ThrowOnError>({
|
|
1518
1518
|
security: [
|
|
1519
1519
|
{
|
|
1520
1520
|
name: 'Authorization',
|
|
@@ -1530,8 +1530,8 @@ export const getOtherPartyAnswers = <ThrowOnError extends boolean = false>(optio
|
|
|
1530
1530
|
* Override reject an election
|
|
1531
1531
|
* Override reject an election.
|
|
1532
1532
|
*/
|
|
1533
|
-
export const overrideElectionRejection = <ThrowOnError extends boolean = false>(options: Options<
|
|
1534
|
-
return (options.client ?? _heyApiClient).put<
|
|
1533
|
+
export const overrideElectionRejection = <ThrowOnError extends boolean = false>(options: Options<OverrideElectionRejection_Data, ThrowOnError>) => {
|
|
1534
|
+
return (options.client ?? _heyApiClient).put<OverrideElectionRejection_Response, unknown, ThrowOnError>({
|
|
1535
1535
|
security: [
|
|
1536
1536
|
{
|
|
1537
1537
|
name: 'Authorization',
|
|
@@ -1551,8 +1551,8 @@ export const overrideElectionRejection = <ThrowOnError extends boolean = false>(
|
|
|
1551
1551
|
* Override approve an election
|
|
1552
1552
|
* Override approve an election.
|
|
1553
1553
|
*/
|
|
1554
|
-
export const overrideElectionApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
1555
|
-
return (options.client ?? _heyApiClient).put<
|
|
1554
|
+
export const overrideElectionApproval = <ThrowOnError extends boolean = false>(options: Options<OverrideElectionApproval_Data, ThrowOnError>) => {
|
|
1555
|
+
return (options.client ?? _heyApiClient).put<OverrideElectionApproval_Response, unknown, ThrowOnError>({
|
|
1556
1556
|
security: [
|
|
1557
1557
|
{
|
|
1558
1558
|
name: 'Authorization',
|
|
@@ -1572,8 +1572,8 @@ export const overrideElectionApproval = <ThrowOnError extends boolean = false>(o
|
|
|
1572
1572
|
* View all version numbers of the negotiation in a Sub-Account with their creation times
|
|
1573
1573
|
* View all the version numbers of the negotiation in a Sub-Account with their respective creation times.
|
|
1574
1574
|
*/
|
|
1575
|
-
export const getAllVersions = <ThrowOnError extends boolean = false>(options: Options<
|
|
1576
|
-
return (options.client ?? _heyApiClient).get<
|
|
1575
|
+
export const getAllVersions = <ThrowOnError extends boolean = false>(options: Options<GetAllVersions_Data, ThrowOnError>) => {
|
|
1576
|
+
return (options.client ?? _heyApiClient).get<GetAllVersions_Response, unknown, ThrowOnError>({
|
|
1577
1577
|
security: [
|
|
1578
1578
|
{
|
|
1579
1579
|
name: 'Authorization',
|
|
@@ -1589,8 +1589,8 @@ export const getAllVersions = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1589
1589
|
* Get a list of all advisors that can be given access to the specified preset
|
|
1590
1590
|
* Get a list of all advisors that can be given access to the specified preset. Dont include advisors that already have access.
|
|
1591
1591
|
*/
|
|
1592
|
-
export const listPotentialPresetAdvisors = <ThrowOnError extends boolean = false>(options: Options<
|
|
1593
|
-
return (options.client ?? _heyApiClient).get<
|
|
1592
|
+
export const listPotentialPresetAdvisors = <ThrowOnError extends boolean = false>(options: Options<ListPotentialPresetAdvisors_Data, ThrowOnError>) => {
|
|
1593
|
+
return (options.client ?? _heyApiClient).get<ListPotentialPresetAdvisors_Response, unknown, ThrowOnError>({
|
|
1594
1594
|
security: [
|
|
1595
1595
|
{
|
|
1596
1596
|
name: 'Authorization',
|
|
@@ -1606,8 +1606,8 @@ export const listPotentialPresetAdvisors = <ThrowOnError extends boolean = false
|
|
|
1606
1606
|
* View CDM metadata for a negotiation
|
|
1607
1607
|
* View CDM metadata for a negotiation.
|
|
1608
1608
|
*/
|
|
1609
|
-
export const getAsCdm = <ThrowOnError extends boolean = false>(options: Options<
|
|
1610
|
-
return (options.client ?? _heyApiClient).get<
|
|
1609
|
+
export const getAsCdm = <ThrowOnError extends boolean = false>(options: Options<GetAsCdm_Data, ThrowOnError>) => {
|
|
1610
|
+
return (options.client ?? _heyApiClient).get<GetAsCdm_Response, unknown, ThrowOnError>({
|
|
1611
1611
|
security: [
|
|
1612
1612
|
{
|
|
1613
1613
|
name: 'Authorization',
|
|
@@ -1623,8 +1623,8 @@ export const getAsCdm = <ThrowOnError extends boolean = false>(options: Options<
|
|
|
1623
1623
|
* View the approval history of a negotiation, limited to a specific round
|
|
1624
1624
|
* View the approval history of a negotiation, limited to a specific round.
|
|
1625
1625
|
*/
|
|
1626
|
-
export const getApprovalRound = <ThrowOnError extends boolean = false>(options: Options<
|
|
1627
|
-
return (options.client ?? _heyApiClient).get<
|
|
1626
|
+
export const getApprovalRound = <ThrowOnError extends boolean = false>(options: Options<GetApprovalRound_Data, ThrowOnError>) => {
|
|
1627
|
+
return (options.client ?? _heyApiClient).get<GetApprovalRound_Response, unknown, ThrowOnError>({
|
|
1628
1628
|
security: [
|
|
1629
1629
|
{
|
|
1630
1630
|
name: 'Authorization',
|
|
@@ -1640,8 +1640,8 @@ export const getApprovalRound = <ThrowOnError extends boolean = false>(options:
|
|
|
1640
1640
|
* Gets previous active users in a negotiation. Doesn't gets the current active user in that list
|
|
1641
1641
|
* Gets previous active users in a negotiation. Doesn't gets the current active user in that list.
|
|
1642
1642
|
*/
|
|
1643
|
-
export const getPreviousActiveUsers = <ThrowOnError extends boolean = false>(options: Options<
|
|
1644
|
-
return (options.client ?? _heyApiClient).get<
|
|
1643
|
+
export const getPreviousActiveUsers = <ThrowOnError extends boolean = false>(options: Options<GetPreviousActiveUsers_Data, ThrowOnError>) => {
|
|
1644
|
+
return (options.client ?? _heyApiClient).get<GetPreviousActiveUsers_Response, unknown, ThrowOnError>({
|
|
1645
1645
|
security: [
|
|
1646
1646
|
{
|
|
1647
1647
|
name: 'Authorization',
|
|
@@ -1657,8 +1657,8 @@ export const getPreviousActiveUsers = <ThrowOnError extends boolean = false>(opt
|
|
|
1657
1657
|
* Revoke preset access from Advisor
|
|
1658
1658
|
* Revoke existing advisor access over specified presets. All supplied presets are removed from existing list.
|
|
1659
1659
|
*/
|
|
1660
|
-
export const revokePresetsAccess = <ThrowOnError extends boolean = false>(options: Options<
|
|
1661
|
-
return (options.client ?? _heyApiClient).delete<
|
|
1660
|
+
export const revokePresetsAccess = <ThrowOnError extends boolean = false>(options: Options<RevokePresetsAccess_Data, ThrowOnError>) => {
|
|
1661
|
+
return (options.client ?? _heyApiClient).delete<RevokePresetsAccess_Response, unknown, ThrowOnError>({
|
|
1662
1662
|
security: [
|
|
1663
1663
|
{
|
|
1664
1664
|
name: 'Authorization',
|
|
@@ -1678,8 +1678,8 @@ export const revokePresetsAccess = <ThrowOnError extends boolean = false>(option
|
|
|
1678
1678
|
* Grant preset access to Advisor
|
|
1679
1679
|
* Grant existing advisor access over specified presets. All supplied presets are appended to existing list.
|
|
1680
1680
|
*/
|
|
1681
|
-
export const grantPresetsAccess = <ThrowOnError extends boolean = false>(options: Options<
|
|
1682
|
-
return (options.client ?? _heyApiClient).post<
|
|
1681
|
+
export const grantPresetsAccess = <ThrowOnError extends boolean = false>(options: Options<GrantPresetsAccess_Data, ThrowOnError>) => {
|
|
1682
|
+
return (options.client ?? _heyApiClient).post<GrantPresetsAccess_Response, unknown, ThrowOnError>({
|
|
1683
1683
|
security: [
|
|
1684
1684
|
{
|
|
1685
1685
|
name: 'Authorization',
|
|
@@ -1699,7 +1699,7 @@ export const grantPresetsAccess = <ThrowOnError extends boolean = false>(options
|
|
|
1699
1699
|
* Notify all named approvers in your subaccount that a specific draft negotiation exists
|
|
1700
1700
|
* Notify all named approvers in your subaccount that a specific draft negotiation exists.
|
|
1701
1701
|
*/
|
|
1702
|
-
export const notifyOfDraft = <ThrowOnError extends boolean = false>(options: Options<
|
|
1702
|
+
export const notifyOfDraft = <ThrowOnError extends boolean = false>(options: Options<NotifyOfDraft_Data, ThrowOnError>) => {
|
|
1703
1703
|
return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
|
|
1704
1704
|
security: [
|
|
1705
1705
|
{
|
|
@@ -1716,8 +1716,8 @@ export const notifyOfDraft = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
1716
1716
|
* Remove specified negotiation watchers from existing watchers for a negotiation in a subaccount
|
|
1717
1717
|
* Remove specified negotiation watchers from existing watchers for a negotiation in a subaccount.
|
|
1718
1718
|
*/
|
|
1719
|
-
export const removeWatchers = <ThrowOnError extends boolean = false>(options: Options<
|
|
1720
|
-
return (options.client ?? _heyApiClient).post<
|
|
1719
|
+
export const removeWatchers = <ThrowOnError extends boolean = false>(options: Options<RemoveWatchers_Data, ThrowOnError>) => {
|
|
1720
|
+
return (options.client ?? _heyApiClient).post<RemoveWatchers_Response, unknown, ThrowOnError>({
|
|
1721
1721
|
security: [
|
|
1722
1722
|
{
|
|
1723
1723
|
name: 'Authorization',
|
|
@@ -1737,8 +1737,8 @@ export const removeWatchers = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1737
1737
|
* View a negotiation from a specific Sub-Account
|
|
1738
1738
|
* View a negotiation from a specific Sub-Account.
|
|
1739
1739
|
*/
|
|
1740
|
-
export const getNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
1741
|
-
return (options.client ?? _heyApiClient).get<
|
|
1740
|
+
export const getNegotiation = <ThrowOnError extends boolean = false>(options: Options<GetNegotiation_Data, ThrowOnError>) => {
|
|
1741
|
+
return (options.client ?? _heyApiClient).get<GetNegotiation_Response, unknown, ThrowOnError>({
|
|
1742
1742
|
security: [
|
|
1743
1743
|
{
|
|
1744
1744
|
name: 'Authorization',
|
|
@@ -1754,8 +1754,8 @@ export const getNegotiation = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1754
1754
|
* Update metadata for a preset
|
|
1755
1755
|
* Update metadata for a preset.
|
|
1756
1756
|
*/
|
|
1757
|
-
export const updateMetadata = <ThrowOnError extends boolean = false>(options: Options<
|
|
1758
|
-
return (options.client ?? _heyApiClient).put<
|
|
1757
|
+
export const updateMetadata = <ThrowOnError extends boolean = false>(options: Options<UpdateMetadata_Data, ThrowOnError>) => {
|
|
1758
|
+
return (options.client ?? _heyApiClient).put<UpdateMetadata_Response, unknown, ThrowOnError>({
|
|
1759
1759
|
security: [
|
|
1760
1760
|
{
|
|
1761
1761
|
name: 'Authorization',
|
|
@@ -1775,8 +1775,8 @@ export const updateMetadata = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1775
1775
|
* View election data for all executed negotiations in a Sub-Account
|
|
1776
1776
|
* View election data for all executed negotiations in a Sub-Account.
|
|
1777
1777
|
*/
|
|
1778
|
-
export const getDownloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
1779
|
-
return (options.client ?? _heyApiClient).get<
|
|
1778
|
+
export const getDownloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean = false>(options: Options<GetDownloadExecutedNegotiationsAsExcel_Data, ThrowOnError>) => {
|
|
1779
|
+
return (options.client ?? _heyApiClient).get<GetDownloadExecutedNegotiationsAsExcel_Response, unknown, ThrowOnError>({
|
|
1780
1780
|
security: [
|
|
1781
1781
|
{
|
|
1782
1782
|
name: 'Authorization',
|
|
@@ -1792,8 +1792,8 @@ export const getDownloadExecutedNegotiationsAsExcel = <ThrowOnError extends bool
|
|
|
1792
1792
|
* View election data for all executed negotiations in a Sub-Account
|
|
1793
1793
|
* View election data for all executed negotiations in a Sub-Account.
|
|
1794
1794
|
*/
|
|
1795
|
-
export const downloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
1796
|
-
return (options.client ?? _heyApiClient).post<
|
|
1795
|
+
export const downloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadExecutedNegotiationsAsExcel_Data, ThrowOnError>) => {
|
|
1796
|
+
return (options.client ?? _heyApiClient).post<DownloadExecutedNegotiationsAsExcel_Response, unknown, ThrowOnError>({
|
|
1797
1797
|
security: [
|
|
1798
1798
|
{
|
|
1799
1799
|
name: 'Authorization',
|
|
@@ -1813,7 +1813,7 @@ export const downloadExecutedNegotiationsAsExcel = <ThrowOnError extends boolean
|
|
|
1813
1813
|
* Delete a signed signature page for a specific party
|
|
1814
1814
|
* Delete a signed signature page for a specific party.
|
|
1815
1815
|
*/
|
|
1816
|
-
export const deleteSignedSignaturePageForParty = <ThrowOnError extends boolean = false>(options: Options<
|
|
1816
|
+
export const deleteSignedSignaturePageForParty = <ThrowOnError extends boolean = false>(options: Options<DeleteSignedSignaturePageForParty_Data, ThrowOnError>) => {
|
|
1817
1817
|
return (options.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
1818
1818
|
security: [
|
|
1819
1819
|
{
|
|
@@ -1830,8 +1830,8 @@ export const deleteSignedSignaturePageForParty = <ThrowOnError extends boolean =
|
|
|
1830
1830
|
* Upload a signed signature page for a specific party as a PDF
|
|
1831
1831
|
* Upload a signed signature page for a specific party as a PDF.
|
|
1832
1832
|
*/
|
|
1833
|
-
export const setSignedSignaturePageForParty = <ThrowOnError extends boolean = false>(options: Options<
|
|
1834
|
-
return (options.client ?? _heyApiClient).put<
|
|
1833
|
+
export const setSignedSignaturePageForParty = <ThrowOnError extends boolean = false>(options: Options<SetSignedSignaturePageForParty_Data, ThrowOnError>) => {
|
|
1834
|
+
return (options.client ?? _heyApiClient).put<SetSignedSignaturePageForParty_Response, unknown, ThrowOnError>({
|
|
1835
1835
|
security: [
|
|
1836
1836
|
{
|
|
1837
1837
|
name: 'Authorization',
|
|
@@ -1851,8 +1851,8 @@ export const setSignedSignaturePageForParty = <ThrowOnError extends boolean = fa
|
|
|
1851
1851
|
* Validate a potential negotiation group name, and display alternatives if it is taken
|
|
1852
1852
|
* Validate a potential negotiation group name, and display alternatives if it is taken.
|
|
1853
1853
|
*/
|
|
1854
|
-
export const suggestGroupName = <ThrowOnError extends boolean = false>(options: Options<
|
|
1855
|
-
return (options.client ?? _heyApiClient).get<
|
|
1854
|
+
export const suggestGroupName = <ThrowOnError extends boolean = false>(options: Options<SuggestGroupName_Data, ThrowOnError>) => {
|
|
1855
|
+
return (options.client ?? _heyApiClient).get<SuggestGroupName_Response, unknown, ThrowOnError>({
|
|
1856
1856
|
security: [
|
|
1857
1857
|
{
|
|
1858
1858
|
name: 'Authorization',
|
|
@@ -1868,7 +1868,7 @@ export const suggestGroupName = <ThrowOnError extends boolean = false>(options:
|
|
|
1868
1868
|
* Mark activity timeline events associated with a negotiation and requesting user as read
|
|
1869
1869
|
* Mark activity timeline events associated with a negotiation and requesting user as read.
|
|
1870
1870
|
*/
|
|
1871
|
-
export const markActivityEventsAsViewed = <ThrowOnError extends boolean = false>(options: Options<
|
|
1871
|
+
export const markActivityEventsAsViewed = <ThrowOnError extends boolean = false>(options: Options<MarkActivityEventsAsViewed_Data, ThrowOnError>) => {
|
|
1872
1872
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
1873
1873
|
security: [
|
|
1874
1874
|
{
|
|
@@ -1889,8 +1889,8 @@ export const markActivityEventsAsViewed = <ThrowOnError extends boolean = false>
|
|
|
1889
1889
|
* Cancel extraction that is in progress or in the review stage
|
|
1890
1890
|
* Cancel extraction that is in progress or in the review stage.
|
|
1891
1891
|
*/
|
|
1892
|
-
export const cancelExtraction = <ThrowOnError extends boolean = false>(options: Options<
|
|
1893
|
-
return (options.client ?? _heyApiClient).put<
|
|
1892
|
+
export const cancelExtraction = <ThrowOnError extends boolean = false>(options: Options<CancelExtraction_Data, ThrowOnError>) => {
|
|
1893
|
+
return (options.client ?? _heyApiClient).put<CancelExtraction_Response, unknown, ThrowOnError>({
|
|
1894
1894
|
security: [
|
|
1895
1895
|
{
|
|
1896
1896
|
name: 'Authorization',
|
|
@@ -1906,8 +1906,8 @@ export const cancelExtraction = <ThrowOnError extends boolean = false>(options:
|
|
|
1906
1906
|
* Overwrite the election values (answers) of a negotiation
|
|
1907
1907
|
* Overwrite the election values (answers) of a negotiation.
|
|
1908
1908
|
*/
|
|
1909
|
-
export const editAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
1910
|
-
return (options.client ?? _heyApiClient).put<
|
|
1909
|
+
export const editAnswers = <ThrowOnError extends boolean = false>(options: Options<EditAnswers_Data, ThrowOnError>) => {
|
|
1910
|
+
return (options.client ?? _heyApiClient).put<EditAnswers_Response, unknown, ThrowOnError>({
|
|
1911
1911
|
security: [
|
|
1912
1912
|
{
|
|
1913
1913
|
name: 'Authorization',
|
|
@@ -1927,7 +1927,7 @@ export const editAnswers = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1927
1927
|
* View all comments associated with a negotiation
|
|
1928
1928
|
* View all comments associated with a negotiation.
|
|
1929
1929
|
*/
|
|
1930
|
-
export const getComments = <ThrowOnError extends boolean = false>(options: Options<
|
|
1930
|
+
export const getComments = <ThrowOnError extends boolean = false>(options: Options<GetComments_Data, ThrowOnError>) => {
|
|
1931
1931
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
1932
1932
|
security: [
|
|
1933
1933
|
{
|
|
@@ -1944,8 +1944,8 @@ export const getComments = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1944
1944
|
* Get drafting notes flag for documents
|
|
1945
1945
|
* Get drafting notes flag for documents.
|
|
1946
1946
|
*/
|
|
1947
|
-
export const getDraftingNotesDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
1948
|
-
return (options.client ?? _heyApiClient).get<
|
|
1947
|
+
export const getDraftingNotesDocument = <ThrowOnError extends boolean = false>(options: Options<GetDraftingNotesDocument_Data, ThrowOnError>) => {
|
|
1948
|
+
return (options.client ?? _heyApiClient).get<GetDraftingNotesDocument_Response, unknown, ThrowOnError>({
|
|
1949
1949
|
security: [
|
|
1950
1950
|
{
|
|
1951
1951
|
name: 'Authorization',
|
|
@@ -1961,8 +1961,8 @@ export const getDraftingNotesDocument = <ThrowOnError extends boolean = false>(o
|
|
|
1961
1961
|
* Accept the fork position for all elections of a negotiation at the specified version
|
|
1962
1962
|
* Accept the fork position for all elections of a negotiation at the specified version.
|
|
1963
1963
|
*/
|
|
1964
|
-
export const acceptAllPositionsFromFork = <ThrowOnError extends boolean = false>(options: Options<
|
|
1965
|
-
return (options.client ?? _heyApiClient).put<
|
|
1964
|
+
export const acceptAllPositionsFromFork = <ThrowOnError extends boolean = false>(options: Options<AcceptAllPositionsFromFork_Data, ThrowOnError>) => {
|
|
1965
|
+
return (options.client ?? _heyApiClient).put<AcceptAllPositionsFromFork_Response, unknown, ThrowOnError>({
|
|
1966
1966
|
security: [
|
|
1967
1967
|
{
|
|
1968
1968
|
name: 'Authorization',
|
|
@@ -1978,8 +1978,8 @@ export const acceptAllPositionsFromFork = <ThrowOnError extends boolean = false>
|
|
|
1978
1978
|
* Accept the preset position for all elections of a negotiation
|
|
1979
1979
|
* Accept the preset position for all elections of a negotiation.
|
|
1980
1980
|
*/
|
|
1981
|
-
export const acceptAllPresetPositions = <ThrowOnError extends boolean = false>(options: Options<
|
|
1982
|
-
return (options.client ?? _heyApiClient).put<
|
|
1981
|
+
export const acceptAllPresetPositions = <ThrowOnError extends boolean = false>(options: Options<AcceptAllPresetPositions_Data, ThrowOnError>) => {
|
|
1982
|
+
return (options.client ?? _heyApiClient).put<AcceptAllPresetPositions_Response, unknown, ThrowOnError>({
|
|
1983
1983
|
security: [
|
|
1984
1984
|
{
|
|
1985
1985
|
name: 'Authorization',
|
|
@@ -1995,7 +1995,7 @@ export const acceptAllPresetPositions = <ThrowOnError extends boolean = false>(o
|
|
|
1995
1995
|
* Send a chaser email to your counterparty to remind them a response is required
|
|
1996
1996
|
* Send a chaser email to your counterparty to remind them a response is required.
|
|
1997
1997
|
*/
|
|
1998
|
-
export const sendChaserEmail = <ThrowOnError extends boolean = false>(options: Options<
|
|
1998
|
+
export const sendChaserEmail = <ThrowOnError extends boolean = false>(options: Options<SendChaserEmail_Data, ThrowOnError>) => {
|
|
1999
1999
|
return (options.client ?? _heyApiClient).post<unknown, unknown, ThrowOnError>({
|
|
2000
2000
|
security: [
|
|
2001
2001
|
{
|
|
@@ -2012,8 +2012,8 @@ export const sendChaserEmail = <ThrowOnError extends boolean = false>(options: O
|
|
|
2012
2012
|
* Download signing pack zip including execution version of the document and signature pages for all parties as PDFs
|
|
2013
2013
|
* Download signing pack zip including execution version of the document and signature pages for all parties as PDFs.
|
|
2014
2014
|
*/
|
|
2015
|
-
export const createSigningPack = <ThrowOnError extends boolean = false>(options: Options<
|
|
2016
|
-
return (options.client ?? _heyApiClient).get<
|
|
2015
|
+
export const createSigningPack = <ThrowOnError extends boolean = false>(options: Options<CreateSigningPack_Data, ThrowOnError>) => {
|
|
2016
|
+
return (options.client ?? _heyApiClient).get<CreateSigningPack_Response, unknown, ThrowOnError>({
|
|
2017
2017
|
security: [
|
|
2018
2018
|
{
|
|
2019
2019
|
name: 'Authorization',
|
|
@@ -2029,8 +2029,8 @@ export const createSigningPack = <ThrowOnError extends boolean = false>(options:
|
|
|
2029
2029
|
* Gets the names of the groups within a Sub-Account
|
|
2030
2030
|
* Gets the names of the groups within a Sub-Account.
|
|
2031
2031
|
*/
|
|
2032
|
-
export const getGroupNames = <ThrowOnError extends boolean = false>(options: Options<
|
|
2033
|
-
return (options.client ?? _heyApiClient).get<
|
|
2032
|
+
export const getGroupNames = <ThrowOnError extends boolean = false>(options: Options<GetGroupNames_Data, ThrowOnError>) => {
|
|
2033
|
+
return (options.client ?? _heyApiClient).get<GetGroupNames_Response, unknown, ThrowOnError>({
|
|
2034
2034
|
security: [
|
|
2035
2035
|
{
|
|
2036
2036
|
name: 'Authorization',
|
|
@@ -2046,8 +2046,8 @@ export const getGroupNames = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
2046
2046
|
* Create a negotiation group
|
|
2047
2047
|
* Create a negotiation group.
|
|
2048
2048
|
*/
|
|
2049
|
-
export const createGroup = <ThrowOnError extends boolean = false>(options: Options<
|
|
2050
|
-
return (options.client ?? _heyApiClient).post<
|
|
2049
|
+
export const createGroup = <ThrowOnError extends boolean = false>(options: Options<CreateGroup_Data, ThrowOnError>) => {
|
|
2050
|
+
return (options.client ?? _heyApiClient).post<CreateGroup_Response, unknown, ThrowOnError>({
|
|
2051
2051
|
security: [
|
|
2052
2052
|
{
|
|
2053
2053
|
name: 'Authorization',
|
|
@@ -2067,8 +2067,8 @@ export const createGroup = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
2067
2067
|
* Get the summary of negotiations files present for a negotiation
|
|
2068
2068
|
* Get the summary of negotiations files present for a negotiation.
|
|
2069
2069
|
*/
|
|
2070
|
-
export const getNegotiationFilesSummary = <ThrowOnError extends boolean = false>(options: Options<
|
|
2071
|
-
return (options.client ?? _heyApiClient).get<
|
|
2070
|
+
export const getNegotiationFilesSummary = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationFilesSummary_Data, ThrowOnError>) => {
|
|
2071
|
+
return (options.client ?? _heyApiClient).get<GetNegotiationFilesSummary_Response, unknown, ThrowOnError>({
|
|
2072
2072
|
security: [
|
|
2073
2073
|
{
|
|
2074
2074
|
name: 'Authorization',
|
|
@@ -2084,8 +2084,8 @@ export const getNegotiationFilesSummary = <ThrowOnError extends boolean = false>
|
|
|
2084
2084
|
* View a list of the active users in a Sub-Account
|
|
2085
2085
|
* View a list of the active users in a Sub-Account.
|
|
2086
2086
|
*/
|
|
2087
|
-
export const getUsers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2088
|
-
return (options.client ?? _heyApiClient).get<
|
|
2087
|
+
export const getUsers = <ThrowOnError extends boolean = false>(options: Options<GetUsers_Data, ThrowOnError>) => {
|
|
2088
|
+
return (options.client ?? _heyApiClient).get<GetUsers_Response, unknown, ThrowOnError>({
|
|
2089
2089
|
security: [
|
|
2090
2090
|
{
|
|
2091
2091
|
name: 'Authorization',
|
|
@@ -2101,8 +2101,8 @@ export const getUsers = <ThrowOnError extends boolean = false>(options: Options<
|
|
|
2101
2101
|
* View information about your account
|
|
2102
2102
|
* View information about your account.
|
|
2103
2103
|
*/
|
|
2104
|
-
export const getSettings = <ThrowOnError extends boolean = false>(options?: Options<
|
|
2105
|
-
return (options?.client ?? _heyApiClient).get<
|
|
2104
|
+
export const getSettings = <ThrowOnError extends boolean = false>(options?: Options<GetSettings_Data, ThrowOnError>) => {
|
|
2105
|
+
return (options?.client ?? _heyApiClient).get<GetSettings_Response, unknown, ThrowOnError>({
|
|
2106
2106
|
security: [
|
|
2107
2107
|
{
|
|
2108
2108
|
name: 'Authorization',
|
|
@@ -2118,8 +2118,8 @@ export const getSettings = <ThrowOnError extends boolean = false>(options?: Opti
|
|
|
2118
2118
|
* Confirm that you are happy for this negotiation to go to agreed form
|
|
2119
2119
|
* Confirm that you are happy for this negotiation to go to agreed form.
|
|
2120
2120
|
*/
|
|
2121
|
-
export const confirm = <ThrowOnError extends boolean = false>(options: Options<
|
|
2122
|
-
return (options.client ?? _heyApiClient).put<
|
|
2121
|
+
export const confirm = <ThrowOnError extends boolean = false>(options: Options<Confirm_Data, ThrowOnError>) => {
|
|
2122
|
+
return (options.client ?? _heyApiClient).put<Confirm_Response, unknown, ThrowOnError>({
|
|
2123
2123
|
security: [
|
|
2124
2124
|
{
|
|
2125
2125
|
name: 'Authorization',
|
|
@@ -2135,7 +2135,7 @@ export const confirm = <ThrowOnError extends boolean = false>(options: Options<C
|
|
|
2135
2135
|
* Sends the approval reminder email to pending approvers in a quorum for the document
|
|
2136
2136
|
* Sends the approval reminder email to pending approvers in a quorum for the document.
|
|
2137
2137
|
*/
|
|
2138
|
-
export const sendDocumentApprovalReminder = <ThrowOnError extends boolean = false>(options: Options<
|
|
2138
|
+
export const sendDocumentApprovalReminder = <ThrowOnError extends boolean = false>(options: Options<SendDocumentApprovalReminder_Data, ThrowOnError>) => {
|
|
2139
2139
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
2140
2140
|
security: [
|
|
2141
2141
|
{
|
|
@@ -2152,8 +2152,8 @@ export const sendDocumentApprovalReminder = <ThrowOnError extends boolean = fals
|
|
|
2152
2152
|
* View aggregate statistics for a Sub-Account
|
|
2153
2153
|
* View aggregate statistics for a Sub-Account.
|
|
2154
2154
|
*/
|
|
2155
|
-
export const getStatistics = <ThrowOnError extends boolean = false>(options: Options<
|
|
2156
|
-
return (options.client ?? _heyApiClient).get<
|
|
2155
|
+
export const getStatistics = <ThrowOnError extends boolean = false>(options: Options<GetStatistics_Data, ThrowOnError>) => {
|
|
2156
|
+
return (options.client ?? _heyApiClient).get<GetStatistics_Response, unknown, ThrowOnError>({
|
|
2157
2157
|
security: [
|
|
2158
2158
|
{
|
|
2159
2159
|
name: 'Authorization',
|
|
@@ -2169,8 +2169,8 @@ export const getStatistics = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
2169
2169
|
* Perform a party swap for a preset
|
|
2170
2170
|
* Perform a party swap for a preset.
|
|
2171
2171
|
*/
|
|
2172
|
-
export const presetSwapParties = <ThrowOnError extends boolean = false>(options: Options<
|
|
2173
|
-
return (options.client ?? _heyApiClient).put<
|
|
2172
|
+
export const presetSwapParties = <ThrowOnError extends boolean = false>(options: Options<PresetSwapParties_Data, ThrowOnError>) => {
|
|
2173
|
+
return (options.client ?? _heyApiClient).put<PresetSwapParties_Response, unknown, ThrowOnError>({
|
|
2174
2174
|
security: [
|
|
2175
2175
|
{
|
|
2176
2176
|
name: 'Authorization',
|
|
@@ -2186,7 +2186,7 @@ export const presetSwapParties = <ThrowOnError extends boolean = false>(options:
|
|
|
2186
2186
|
* Approve the final document before working towards Agreed form
|
|
2187
2187
|
* Approve the final document before working towards Agreed form.
|
|
2188
2188
|
*/
|
|
2189
|
-
export const approveFinalDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
2189
|
+
export const approveFinalDocument = <ThrowOnError extends boolean = false>(options: Options<ApproveFinalDocument_Data, ThrowOnError>) => {
|
|
2190
2190
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
2191
2191
|
security: [
|
|
2192
2192
|
{
|
|
@@ -2207,8 +2207,8 @@ export const approveFinalDocument = <ThrowOnError extends boolean = false>(optio
|
|
|
2207
2207
|
* Overwrite the extraction election values (answers) of a negotiation
|
|
2208
2208
|
* Overwrite the extraction election values (answers) of a negotiation.
|
|
2209
2209
|
*/
|
|
2210
|
-
export const resetUserAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2211
|
-
return (options.client ?? _heyApiClient).post<
|
|
2210
|
+
export const resetUserAnswers = <ThrowOnError extends boolean = false>(options: Options<ResetUserAnswers_Data, ThrowOnError>) => {
|
|
2211
|
+
return (options.client ?? _heyApiClient).post<ResetUserAnswers_Response, unknown, ThrowOnError>({
|
|
2212
2212
|
security: [
|
|
2213
2213
|
{
|
|
2214
2214
|
name: 'Authorization',
|
|
@@ -2228,8 +2228,8 @@ export const resetUserAnswers = <ThrowOnError extends boolean = false>(options:
|
|
|
2228
2228
|
* View all the major version numbers of the negotiation in a Sub-Account
|
|
2229
2229
|
* View all the major version numbers of the negotiation in a Sub-Account.
|
|
2230
2230
|
*/
|
|
2231
|
-
export const getMajorVersions = <ThrowOnError extends boolean = false>(options: Options<
|
|
2232
|
-
return (options.client ?? _heyApiClient).get<
|
|
2231
|
+
export const getMajorVersions = <ThrowOnError extends boolean = false>(options: Options<GetMajorVersions_Data, ThrowOnError>) => {
|
|
2232
|
+
return (options.client ?? _heyApiClient).get<GetMajorVersions_Response, unknown, ThrowOnError>({
|
|
2233
2233
|
security: [
|
|
2234
2234
|
{
|
|
2235
2235
|
name: 'Authorization',
|
|
@@ -2245,8 +2245,8 @@ export const getMajorVersions = <ThrowOnError extends boolean = false>(options:
|
|
|
2245
2245
|
* Overwrite the extraction election values (answers) of a negotiation
|
|
2246
2246
|
* Overwrite the extraction election values (answers) of a negotiation.
|
|
2247
2247
|
*/
|
|
2248
|
-
export const updateUserAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2249
|
-
return (options.client ?? _heyApiClient).put<
|
|
2248
|
+
export const updateUserAnswers = <ThrowOnError extends boolean = false>(options: Options<UpdateUserAnswers_Data, ThrowOnError>) => {
|
|
2249
|
+
return (options.client ?? _heyApiClient).put<UpdateUserAnswers_Response, unknown, ThrowOnError>({
|
|
2250
2250
|
security: [
|
|
2251
2251
|
{
|
|
2252
2252
|
name: 'Authorization',
|
|
@@ -2266,7 +2266,7 @@ export const updateUserAnswers = <ThrowOnError extends boolean = false>(options:
|
|
|
2266
2266
|
* Delete a document election level drafting note for the specified note type. Fails if note doesn't exists
|
|
2267
2267
|
* Delete a document election level drafting note for the specified note type. Fails if note doesn't exists.
|
|
2268
2268
|
*/
|
|
2269
|
-
export const deleteDocumentElectionDraftingNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
2269
|
+
export const deleteDocumentElectionDraftingNote = <ThrowOnError extends boolean = false>(options: Options<DeleteDocumentElectionDraftingNote_Data, ThrowOnError>) => {
|
|
2270
2270
|
return (options.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
2271
2271
|
security: [
|
|
2272
2272
|
{
|
|
@@ -2283,8 +2283,8 @@ export const deleteDocumentElectionDraftingNote = <ThrowOnError extends boolean
|
|
|
2283
2283
|
* Update a document election drafting note for the specified note type. Adds a new one if no note exists before
|
|
2284
2284
|
* Update a document election drafting note for the specified note type. Adds a new one if no note exists before.
|
|
2285
2285
|
*/
|
|
2286
|
-
export const updateDocumentElectionDraftingNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
2287
|
-
return (options.client ?? _heyApiClient).put<
|
|
2286
|
+
export const updateDocumentElectionDraftingNote = <ThrowOnError extends boolean = false>(options: Options<UpdateDocumentElectionDraftingNote_Data, ThrowOnError>) => {
|
|
2287
|
+
return (options.client ?? _heyApiClient).put<UpdateDocumentElectionDraftingNote_Response, unknown, ThrowOnError>({
|
|
2288
2288
|
security: [
|
|
2289
2289
|
{
|
|
2290
2290
|
name: 'Authorization',
|
|
@@ -2300,8 +2300,8 @@ export const updateDocumentElectionDraftingNote = <ThrowOnError extends boolean
|
|
|
2300
2300
|
* Assign yourself to a negotiation
|
|
2301
2301
|
* Assign yourself to a negotiation.
|
|
2302
2302
|
*/
|
|
2303
|
-
export const assignToMe = <ThrowOnError extends boolean = false>(options: Options<
|
|
2304
|
-
return (options.client ?? _heyApiClient).put<
|
|
2303
|
+
export const assignToMe = <ThrowOnError extends boolean = false>(options: Options<AssignToMe_Data, ThrowOnError>) => {
|
|
2304
|
+
return (options.client ?? _heyApiClient).put<AssignToMe_Response, unknown, ThrowOnError>({
|
|
2305
2305
|
security: [
|
|
2306
2306
|
{
|
|
2307
2307
|
name: 'Authorization',
|
|
@@ -2317,7 +2317,7 @@ export const assignToMe = <ThrowOnError extends boolean = false>(options: Option
|
|
|
2317
2317
|
* Add or remove negotiations from a negotiation group
|
|
2318
2318
|
* Add or remove negotiations from a negotiation group.
|
|
2319
2319
|
*/
|
|
2320
|
-
export const updateGroupMembers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2320
|
+
export const updateGroupMembers = <ThrowOnError extends boolean = false>(options: Options<UpdateGroupMembers_Data, ThrowOnError>) => {
|
|
2321
2321
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
2322
2322
|
security: [
|
|
2323
2323
|
{
|
|
@@ -2338,8 +2338,8 @@ export const updateGroupMembers = <ThrowOnError extends boolean = false>(options
|
|
|
2338
2338
|
* Download the signed signature page for a party as a PDF
|
|
2339
2339
|
* Download the signed signature page for a party as a PDF.
|
|
2340
2340
|
*/
|
|
2341
|
-
export const getSignedSignaturePagePdf = <ThrowOnError extends boolean = false>(options: Options<
|
|
2342
|
-
return (options.client ?? _heyApiClient).get<
|
|
2341
|
+
export const getSignedSignaturePagePdf = <ThrowOnError extends boolean = false>(options: Options<GetSignedSignaturePagePdf_Data, ThrowOnError>) => {
|
|
2342
|
+
return (options.client ?? _heyApiClient).get<GetSignedSignaturePagePdf_Response, unknown, ThrowOnError>({
|
|
2343
2343
|
security: [
|
|
2344
2344
|
{
|
|
2345
2345
|
name: 'Authorization',
|
|
@@ -2355,8 +2355,8 @@ export const getSignedSignaturePagePdf = <ThrowOnError extends boolean = false>(
|
|
|
2355
2355
|
* View the schema for a preset's document
|
|
2356
2356
|
* View the schema for a preset's document.
|
|
2357
2357
|
*/
|
|
2358
|
-
export const presetGetDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<
|
|
2359
|
-
return (options.client ?? _heyApiClient).get<
|
|
2358
|
+
export const presetGetDocumentSchema = <ThrowOnError extends boolean = false>(options: Options<PresetGetDocumentSchema_Data, ThrowOnError>) => {
|
|
2359
|
+
return (options.client ?? _heyApiClient).get<PresetGetDocumentSchema_Response, unknown, ThrowOnError>({
|
|
2360
2360
|
security: [
|
|
2361
2361
|
{
|
|
2362
2362
|
name: 'Authorization',
|
|
@@ -2372,7 +2372,7 @@ export const presetGetDocumentSchema = <ThrowOnError extends boolean = false>(op
|
|
|
2372
2372
|
* View a list of Sub-Accounts in your account
|
|
2373
2373
|
* View a list of Sub-Accounts in your account.
|
|
2374
2374
|
*/
|
|
2375
|
-
export const listSubAccounts = <ThrowOnError extends boolean = false>(options?: Options<
|
|
2375
|
+
export const listSubAccounts = <ThrowOnError extends boolean = false>(options?: Options<ListSubAccounts_Data, ThrowOnError>) => {
|
|
2376
2376
|
return (options?.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
2377
2377
|
security: [
|
|
2378
2378
|
{
|
|
@@ -2389,8 +2389,8 @@ export const listSubAccounts = <ThrowOnError extends boolean = false>(options?:
|
|
|
2389
2389
|
* Get the names of the matching items for the specified free text under a particular `filter`
|
|
2390
2390
|
* Get the names of the matching items for the specified free text under a particular `filter`.
|
|
2391
2391
|
*/
|
|
2392
|
-
export const documentsFilter = <ThrowOnError extends boolean = false>(options: Options<
|
|
2393
|
-
return (options.client ?? _heyApiClient).get<
|
|
2392
|
+
export const documentsFilter = <ThrowOnError extends boolean = false>(options: Options<DocumentsFilter_Data, ThrowOnError>) => {
|
|
2393
|
+
return (options.client ?? _heyApiClient).get<DocumentsFilter_Response, unknown, ThrowOnError>({
|
|
2394
2394
|
security: [
|
|
2395
2395
|
{
|
|
2396
2396
|
name: 'Authorization',
|
|
@@ -2406,8 +2406,8 @@ export const documentsFilter = <ThrowOnError extends boolean = false>(options: O
|
|
|
2406
2406
|
* Mark a negotiation as offline
|
|
2407
2407
|
* Mark a negotiation as offline.
|
|
2408
2408
|
*/
|
|
2409
|
-
export const markAsOffline = <ThrowOnError extends boolean = false>(options: Options<
|
|
2410
|
-
return (options.client ?? _heyApiClient).put<
|
|
2409
|
+
export const markAsOffline = <ThrowOnError extends boolean = false>(options: Options<MarkAsOffline_Data, ThrowOnError>) => {
|
|
2410
|
+
return (options.client ?? _heyApiClient).put<MarkAsOffline_Response, unknown, ThrowOnError>({
|
|
2411
2411
|
security: [
|
|
2412
2412
|
{
|
|
2413
2413
|
name: 'Authorization',
|
|
@@ -2423,8 +2423,8 @@ export const markAsOffline = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
2423
2423
|
* Determine whether a party has a signed signature page, or not
|
|
2424
2424
|
* Determine whether a party has a signed signature page, or not.
|
|
2425
2425
|
*/
|
|
2426
|
-
export const checkSignedSignaturePagePdf = <ThrowOnError extends boolean = false>(options: Options<
|
|
2427
|
-
return (options.client ?? _heyApiClient).get<
|
|
2426
|
+
export const checkSignedSignaturePagePdf = <ThrowOnError extends boolean = false>(options: Options<CheckSignedSignaturePagePdf_Data, ThrowOnError>) => {
|
|
2427
|
+
return (options.client ?? _heyApiClient).get<CheckSignedSignaturePagePdf_Response, unknown, ThrowOnError>({
|
|
2428
2428
|
security: [
|
|
2429
2429
|
{
|
|
2430
2430
|
name: 'Authorization',
|
|
@@ -2440,8 +2440,8 @@ export const checkSignedSignaturePagePdf = <ThrowOnError extends boolean = false
|
|
|
2440
2440
|
* Download an uploaded offline negotiated document for a negotiation, annotated with extracted terms
|
|
2441
2441
|
* Download an uploaded offline negotiated document for a negotiation, annotated with extracted terms.
|
|
2442
2442
|
*/
|
|
2443
|
-
export const getAnnotatedOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
2444
|
-
return (options.client ?? _heyApiClient).get<
|
|
2443
|
+
export const getAnnotatedOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<GetAnnotatedOfflineNegotiatedDocument_Data, ThrowOnError>) => {
|
|
2444
|
+
return (options.client ?? _heyApiClient).get<GetAnnotatedOfflineNegotiatedDocument_Response, unknown, ThrowOnError>({
|
|
2445
2445
|
security: [
|
|
2446
2446
|
{
|
|
2447
2447
|
name: 'Authorization',
|
|
@@ -2457,8 +2457,8 @@ export const getAnnotatedOfflineNegotiatedDocument = <ThrowOnError extends boole
|
|
|
2457
2457
|
* Delete an auxiliary document from a negotiation
|
|
2458
2458
|
* Delete an auxiliary document from a negotiation.
|
|
2459
2459
|
*/
|
|
2460
|
-
export const deleteAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
2461
|
-
return (options.client ?? _heyApiClient).delete<
|
|
2460
|
+
export const deleteAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<DeleteAuxiliaryDocument_Data, ThrowOnError>) => {
|
|
2461
|
+
return (options.client ?? _heyApiClient).delete<DeleteAuxiliaryDocument_Response, unknown, ThrowOnError>({
|
|
2462
2462
|
security: [
|
|
2463
2463
|
{
|
|
2464
2464
|
name: 'Authorization',
|
|
@@ -2474,8 +2474,8 @@ export const deleteAuxiliaryDocument = <ThrowOnError extends boolean = false>(op
|
|
|
2474
2474
|
* Download an uploaded auxiliary document that has been uploaded for a negotiation
|
|
2475
2475
|
* Download an uploaded auxiliary document that has been uploaded for a negotiation.
|
|
2476
2476
|
*/
|
|
2477
|
-
export const getAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
2478
|
-
return (options.client ?? _heyApiClient).get<
|
|
2477
|
+
export const getAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<GetAuxiliaryDocument_Data, ThrowOnError>) => {
|
|
2478
|
+
return (options.client ?? _heyApiClient).get<GetAuxiliaryDocument_Response, unknown, ThrowOnError>({
|
|
2479
2479
|
security: [
|
|
2480
2480
|
{
|
|
2481
2481
|
name: 'Authorization',
|
|
@@ -2491,8 +2491,8 @@ export const getAuxiliaryDocument = <ThrowOnError extends boolean = false>(optio
|
|
|
2491
2491
|
* Upload an auxiliary document for a negotiation
|
|
2492
2492
|
* Upload an auxiliary document for a negotiation.
|
|
2493
2493
|
*/
|
|
2494
|
-
export const setAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
2495
|
-
return (options.client ?? _heyApiClient).put<
|
|
2494
|
+
export const setAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<SetAuxiliaryDocument_Data, ThrowOnError>) => {
|
|
2495
|
+
return (options.client ?? _heyApiClient).put<SetAuxiliaryDocument_Response, unknown, ThrowOnError>({
|
|
2496
2496
|
security: [
|
|
2497
2497
|
{
|
|
2498
2498
|
name: 'Authorization',
|
|
@@ -2512,8 +2512,8 @@ export const setAuxiliaryDocument = <ThrowOnError extends boolean = false>(optio
|
|
|
2512
2512
|
* Download the pre-execution version of a negotiation as a DOCX or PDF
|
|
2513
2513
|
* Download the pre-execution version of a negotiation as a DOCX or PDF.
|
|
2514
2514
|
*/
|
|
2515
|
-
export const downloadPreExecutionCounterpartyNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
2516
|
-
return (options.client ?? _heyApiClient).get<
|
|
2515
|
+
export const downloadPreExecutionCounterpartyNegotiation = <ThrowOnError extends boolean = false>(options: Options<DownloadPreExecutionCounterpartyNegotiation_Data, ThrowOnError>) => {
|
|
2516
|
+
return (options.client ?? _heyApiClient).get<DownloadPreExecutionCounterpartyNegotiation_Response, unknown, ThrowOnError>({
|
|
2517
2517
|
security: [
|
|
2518
2518
|
{
|
|
2519
2519
|
name: 'Authorization',
|
|
@@ -2529,8 +2529,8 @@ export const downloadPreExecutionCounterpartyNegotiation = <ThrowOnError extends
|
|
|
2529
2529
|
* Cancel a negotiation
|
|
2530
2530
|
* Cancels a negotiation.
|
|
2531
2531
|
*/
|
|
2532
|
-
export const cancel = <ThrowOnError extends boolean = false>(options: Options<
|
|
2533
|
-
return (options.client ?? _heyApiClient).put<
|
|
2532
|
+
export const cancel = <ThrowOnError extends boolean = false>(options: Options<Cancel_Data, ThrowOnError>) => {
|
|
2533
|
+
return (options.client ?? _heyApiClient).put<Cancel_Response, unknown, ThrowOnError>({
|
|
2534
2534
|
security: [
|
|
2535
2535
|
{
|
|
2536
2536
|
name: 'Authorization',
|
|
@@ -2550,8 +2550,8 @@ export const cancel = <ThrowOnError extends boolean = false>(options: Options<Ca
|
|
|
2550
2550
|
* Revoke negotiation access from Advisor
|
|
2551
2551
|
* Revoke existing advisor access over specified negotiations. All supplied negotiations are removed from existing list.
|
|
2552
2552
|
*/
|
|
2553
|
-
export const revokeNegotiationsAccess = <ThrowOnError extends boolean = false>(options: Options<
|
|
2554
|
-
return (options.client ?? _heyApiClient).delete<
|
|
2553
|
+
export const revokeNegotiationsAccess = <ThrowOnError extends boolean = false>(options: Options<RevokeNegotiationsAccess_Data, ThrowOnError>) => {
|
|
2554
|
+
return (options.client ?? _heyApiClient).delete<RevokeNegotiationsAccess_Response, unknown, ThrowOnError>({
|
|
2555
2555
|
security: [
|
|
2556
2556
|
{
|
|
2557
2557
|
name: 'Authorization',
|
|
@@ -2571,8 +2571,8 @@ export const revokeNegotiationsAccess = <ThrowOnError extends boolean = false>(o
|
|
|
2571
2571
|
* Grant access for specific negotiations to an Advisor
|
|
2572
2572
|
* Grant existing advisor access over specified negotiations. All supplied negotiations are appended to existing list.
|
|
2573
2573
|
*/
|
|
2574
|
-
export const grantNegotiationsAccess = <ThrowOnError extends boolean = false>(options: Options<
|
|
2575
|
-
return (options.client ?? _heyApiClient).post<
|
|
2574
|
+
export const grantNegotiationsAccess = <ThrowOnError extends boolean = false>(options: Options<GrantNegotiationsAccess_Data, ThrowOnError>) => {
|
|
2575
|
+
return (options.client ?? _heyApiClient).post<GrantNegotiationsAccess_Response, unknown, ThrowOnError>({
|
|
2576
2576
|
security: [
|
|
2577
2577
|
{
|
|
2578
2578
|
name: 'Authorization',
|
|
@@ -2592,8 +2592,8 @@ export const grantNegotiationsAccess = <ThrowOnError extends boolean = false>(op
|
|
|
2592
2592
|
* View a list of documents available to you
|
|
2593
2593
|
* List of documents that can be downloaded, with a list of supported extensions for each one.
|
|
2594
2594
|
*/
|
|
2595
|
-
export const listDocuments = <ThrowOnError extends boolean = false>(options: Options<
|
|
2596
|
-
return (options.client ?? _heyApiClient).get<
|
|
2595
|
+
export const listDocuments = <ThrowOnError extends boolean = false>(options: Options<ListDocuments_Data, ThrowOnError>) => {
|
|
2596
|
+
return (options.client ?? _heyApiClient).get<ListDocuments_Response, unknown, ThrowOnError>({
|
|
2597
2597
|
security: [
|
|
2598
2598
|
{
|
|
2599
2599
|
name: 'Authorization',
|
|
@@ -2609,8 +2609,8 @@ export const listDocuments = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
2609
2609
|
* View all answers for the major version numbers of the negotiation in a Sub-Account
|
|
2610
2610
|
* View all answers for the major version numbers of the negotiation in a Sub-Account.
|
|
2611
2611
|
*/
|
|
2612
|
-
export const getPartyAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2613
|
-
return (options.client ?? _heyApiClient).get<
|
|
2612
|
+
export const getPartyAnswers = <ThrowOnError extends boolean = false>(options: Options<GetPartyAnswers_Data, ThrowOnError>) => {
|
|
2613
|
+
return (options.client ?? _heyApiClient).get<GetPartyAnswers_Response, unknown, ThrowOnError>({
|
|
2614
2614
|
security: [
|
|
2615
2615
|
{
|
|
2616
2616
|
name: 'Authorization',
|
|
@@ -2626,8 +2626,8 @@ export const getPartyAnswers = <ThrowOnError extends boolean = false>(options: O
|
|
|
2626
2626
|
* View a negotiation group, and the negotiations within it
|
|
2627
2627
|
* View a negotiation group, and the negotiations within it.
|
|
2628
2628
|
*/
|
|
2629
|
-
export const getNegotiationsGroup = <ThrowOnError extends boolean = false>(options: Options<
|
|
2630
|
-
return (options.client ?? _heyApiClient).get<
|
|
2629
|
+
export const getNegotiationsGroup = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationsGroup_Data, ThrowOnError>) => {
|
|
2630
|
+
return (options.client ?? _heyApiClient).get<GetNegotiationsGroup_Response, unknown, ThrowOnError>({
|
|
2631
2631
|
security: [
|
|
2632
2632
|
{
|
|
2633
2633
|
name: 'Authorization',
|
|
@@ -2643,7 +2643,7 @@ export const getNegotiationsGroup = <ThrowOnError extends boolean = false>(optio
|
|
|
2643
2643
|
* Delete a preset
|
|
2644
2644
|
* Delete a preset.
|
|
2645
2645
|
*/
|
|
2646
|
-
export const deletePreset = <ThrowOnError extends boolean = false>(options: Options<
|
|
2646
|
+
export const deletePreset = <ThrowOnError extends boolean = false>(options: Options<DeletePreset_Data, ThrowOnError>) => {
|
|
2647
2647
|
return (options.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
2648
2648
|
security: [
|
|
2649
2649
|
{
|
|
@@ -2660,8 +2660,8 @@ export const deletePreset = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
2660
2660
|
* View a specific preset
|
|
2661
2661
|
* View a specific preset.
|
|
2662
2662
|
*/
|
|
2663
|
-
export const getPreset = <ThrowOnError extends boolean = false>(options: Options<
|
|
2664
|
-
return (options.client ?? _heyApiClient).get<
|
|
2663
|
+
export const getPreset = <ThrowOnError extends boolean = false>(options: Options<GetPreset_Data, ThrowOnError>) => {
|
|
2664
|
+
return (options.client ?? _heyApiClient).get<GetPreset_Response, unknown, ThrowOnError>({
|
|
2665
2665
|
security: [
|
|
2666
2666
|
{
|
|
2667
2667
|
name: 'Authorization',
|
|
@@ -2677,8 +2677,8 @@ export const getPreset = <ThrowOnError extends boolean = false>(options: Options
|
|
|
2677
2677
|
* Download the audit trail for a preset as JSON
|
|
2678
2678
|
* Download the audit trail for a preset as JSON.
|
|
2679
2679
|
*/
|
|
2680
|
-
export const createPresetAuditTrailJson = <ThrowOnError extends boolean = false>(options: Options<
|
|
2681
|
-
return (options.client ?? _heyApiClient).get<
|
|
2680
|
+
export const createPresetAuditTrailJson = <ThrowOnError extends boolean = false>(options: Options<CreatePresetAuditTrailJson_Data, ThrowOnError>) => {
|
|
2681
|
+
return (options.client ?? _heyApiClient).get<CreatePresetAuditTrailJson_Response, unknown, ThrowOnError>({
|
|
2682
2682
|
security: [
|
|
2683
2683
|
{
|
|
2684
2684
|
name: 'Authorization',
|
|
@@ -2694,7 +2694,7 @@ export const createPresetAuditTrailJson = <ThrowOnError extends boolean = false>
|
|
|
2694
2694
|
* Endpoint used for callback from DocuSign
|
|
2695
2695
|
* Connect CIQ account with DocuSign.
|
|
2696
2696
|
*/
|
|
2697
|
-
export const consentCodeCallback = <ThrowOnError extends boolean = false>(options?: Options<
|
|
2697
|
+
export const consentCodeCallback = <ThrowOnError extends boolean = false>(options?: Options<ConsentCodeCallback_Data, ThrowOnError>) => {
|
|
2698
2698
|
return (options?.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
2699
2699
|
security: [
|
|
2700
2700
|
{
|
|
@@ -2711,8 +2711,8 @@ export const consentCodeCallback = <ThrowOnError extends boolean = false>(option
|
|
|
2711
2711
|
* Get the annotated extracted terms for an extracted document
|
|
2712
2712
|
* Get the annotated extracted terms for an extracted document.
|
|
2713
2713
|
*/
|
|
2714
|
-
export const getOfflineNegotiatedDocumentAnnotations = <ThrowOnError extends boolean = false>(options: Options<
|
|
2715
|
-
return (options.client ?? _heyApiClient).get<
|
|
2714
|
+
export const getOfflineNegotiatedDocumentAnnotations = <ThrowOnError extends boolean = false>(options: Options<GetOfflineNegotiatedDocumentAnnotations_Data, ThrowOnError>) => {
|
|
2715
|
+
return (options.client ?? _heyApiClient).get<GetOfflineNegotiatedDocumentAnnotations_Response, unknown, ThrowOnError>({
|
|
2716
2716
|
security: [
|
|
2717
2717
|
{
|
|
2718
2718
|
name: 'Authorization',
|
|
@@ -2728,8 +2728,8 @@ export const getOfflineNegotiatedDocumentAnnotations = <ThrowOnError extends boo
|
|
|
2728
2728
|
* Accept the custodian template position for all elections of a negotiation
|
|
2729
2729
|
* Accept the custodian template position for all elections of a negotiation.
|
|
2730
2730
|
*/
|
|
2731
|
-
export const acceptAllCustodianTemplatePositions = <ThrowOnError extends boolean = false>(options: Options<
|
|
2732
|
-
return (options.client ?? _heyApiClient).put<
|
|
2731
|
+
export const acceptAllCustodianTemplatePositions = <ThrowOnError extends boolean = false>(options: Options<AcceptAllCustodianTemplatePositions_Data, ThrowOnError>) => {
|
|
2732
|
+
return (options.client ?? _heyApiClient).put<AcceptAllCustodianTemplatePositions_Response, unknown, ThrowOnError>({
|
|
2733
2733
|
security: [
|
|
2734
2734
|
{
|
|
2735
2735
|
name: 'Authorization',
|
|
@@ -2745,8 +2745,8 @@ export const acceptAllCustodianTemplatePositions = <ThrowOnError extends boolean
|
|
|
2745
2745
|
* View information about your account, its Sub-Accounts and entities
|
|
2746
2746
|
* View information about your account, its Sub-Accounts and entities.
|
|
2747
2747
|
*/
|
|
2748
|
-
export const accountSummary = <ThrowOnError extends boolean = false>(options?: Options<
|
|
2749
|
-
return (options?.client ?? _heyApiClient).get<
|
|
2748
|
+
export const accountSummary = <ThrowOnError extends boolean = false>(options?: Options<AccountSummary_Data, ThrowOnError>) => {
|
|
2749
|
+
return (options?.client ?? _heyApiClient).get<AccountSummary_Response, unknown, ThrowOnError>({
|
|
2750
2750
|
security: [
|
|
2751
2751
|
{
|
|
2752
2752
|
name: 'Authorization',
|
|
@@ -2762,8 +2762,8 @@ export const accountSummary = <ThrowOnError extends boolean = false>(options?: O
|
|
|
2762
2762
|
* View all approval comments associated with a negotiation
|
|
2763
2763
|
* View all approval comments associated with a negotiation.
|
|
2764
2764
|
*/
|
|
2765
|
-
export const getApprovalComments = <ThrowOnError extends boolean = false>(options: Options<
|
|
2766
|
-
return (options.client ?? _heyApiClient).get<
|
|
2765
|
+
export const getApprovalComments = <ThrowOnError extends boolean = false>(options: Options<GetApprovalComments_Data, ThrowOnError>) => {
|
|
2766
|
+
return (options.client ?? _heyApiClient).get<GetApprovalComments_Response, unknown, ThrowOnError>({
|
|
2767
2767
|
security: [
|
|
2768
2768
|
{
|
|
2769
2769
|
name: 'Authorization',
|
|
@@ -2779,8 +2779,8 @@ export const getApprovalComments = <ThrowOnError extends boolean = false>(option
|
|
|
2779
2779
|
* Get a list of all advisors accounts that have access to the specified workspace
|
|
2780
2780
|
* Get a list of all advisors accounts that have access to the specified workspace. Only lists active relationships.
|
|
2781
2781
|
*/
|
|
2782
|
-
export const listAdvisorsForWorkspace = <ThrowOnError extends boolean = false>(options: Options<
|
|
2783
|
-
return (options.client ?? _heyApiClient).get<
|
|
2782
|
+
export const listAdvisorsForWorkspace = <ThrowOnError extends boolean = false>(options: Options<ListAdvisorsForWorkspace_Data, ThrowOnError>) => {
|
|
2783
|
+
return (options.client ?? _heyApiClient).get<ListAdvisorsForWorkspace_Response, unknown, ThrowOnError>({
|
|
2784
2784
|
security: [
|
|
2785
2785
|
{
|
|
2786
2786
|
name: 'Authorization',
|
|
@@ -2796,8 +2796,8 @@ export const listAdvisorsForWorkspace = <ThrowOnError extends boolean = false>(o
|
|
|
2796
2796
|
* Determine whether an offline negotiated document has been uploaded, or not
|
|
2797
2797
|
* Determine whether an offline negotiated document has been uploaded, or not.
|
|
2798
2798
|
*/
|
|
2799
|
-
export const checkOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
2800
|
-
return (options.client ?? _heyApiClient).get<
|
|
2799
|
+
export const checkOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<CheckOfflineNegotiatedDocument_Data, ThrowOnError>) => {
|
|
2800
|
+
return (options.client ?? _heyApiClient).get<CheckOfflineNegotiatedDocument_Response, unknown, ThrowOnError>({
|
|
2801
2801
|
security: [
|
|
2802
2802
|
{
|
|
2803
2803
|
name: 'Authorization',
|
|
@@ -2813,8 +2813,8 @@ export const checkOfflineNegotiatedDocument = <ThrowOnError extends boolean = fa
|
|
|
2813
2813
|
* Download a preset in PDF or DOCX format
|
|
2814
2814
|
* Download a preset in PDF or DOCX format.
|
|
2815
2815
|
*/
|
|
2816
|
-
export const downloadPreset = <ThrowOnError extends boolean = false>(options: Options<
|
|
2817
|
-
return (options.client ?? _heyApiClient).get<
|
|
2816
|
+
export const downloadPreset = <ThrowOnError extends boolean = false>(options: Options<DownloadPreset_Data, ThrowOnError>) => {
|
|
2817
|
+
return (options.client ?? _heyApiClient).get<DownloadPreset_Response, unknown, ThrowOnError>({
|
|
2818
2818
|
security: [
|
|
2819
2819
|
{
|
|
2820
2820
|
name: 'Authorization',
|
|
@@ -2830,8 +2830,8 @@ export const downloadPreset = <ThrowOnError extends boolean = false>(options: Op
|
|
|
2830
2830
|
* Assign a user to a negotiation
|
|
2831
2831
|
* Assign a user to a negotiation.
|
|
2832
2832
|
*/
|
|
2833
|
-
export const assignUser = <ThrowOnError extends boolean = false>(options: Options<
|
|
2834
|
-
return (options.client ?? _heyApiClient).put<
|
|
2833
|
+
export const assignUser = <ThrowOnError extends boolean = false>(options: Options<AssignUser_Data, ThrowOnError>) => {
|
|
2834
|
+
return (options.client ?? _heyApiClient).put<AssignUser_Response, unknown, ThrowOnError>({
|
|
2835
2835
|
security: [
|
|
2836
2836
|
{
|
|
2837
2837
|
name: 'Authorization',
|
|
@@ -2847,8 +2847,8 @@ export const assignUser = <ThrowOnError extends boolean = false>(options: Option
|
|
|
2847
2847
|
* Download excel report containing comments for all negotiations that belongs to the Sub-Account
|
|
2848
2848
|
* Download excel report containing comments for all negotiations that belongs to the Sub-Account.
|
|
2849
2849
|
*/
|
|
2850
|
-
export const getAllNegotiationCommentsForSubAccount = <ThrowOnError extends boolean = false>(options: Options<
|
|
2851
|
-
return (options.client ?? _heyApiClient).get<
|
|
2850
|
+
export const getAllNegotiationCommentsForSubAccount = <ThrowOnError extends boolean = false>(options: Options<GetAllNegotiationCommentsForSubAccount_Data, ThrowOnError>) => {
|
|
2851
|
+
return (options.client ?? _heyApiClient).get<GetAllNegotiationCommentsForSubAccount_Response, unknown, ThrowOnError>({
|
|
2852
2852
|
security: [
|
|
2853
2853
|
{
|
|
2854
2854
|
name: 'Authorization',
|
|
@@ -2864,8 +2864,8 @@ export const getAllNegotiationCommentsForSubAccount = <ThrowOnError extends bool
|
|
|
2864
2864
|
* Get the current extraction status and results
|
|
2865
2865
|
* Get the current extraction status and results.
|
|
2866
2866
|
*/
|
|
2867
|
-
export const getExtractionResults = <ThrowOnError extends boolean = false>(options: Options<
|
|
2868
|
-
return (options.client ?? _heyApiClient).get<
|
|
2867
|
+
export const getExtractionResults = <ThrowOnError extends boolean = false>(options: Options<GetExtractionResults_Data, ThrowOnError>) => {
|
|
2868
|
+
return (options.client ?? _heyApiClient).get<GetExtractionResults_Response, unknown, ThrowOnError>({
|
|
2869
2869
|
security: [
|
|
2870
2870
|
{
|
|
2871
2871
|
name: 'Authorization',
|
|
@@ -2881,8 +2881,8 @@ export const getExtractionResults = <ThrowOnError extends boolean = false>(optio
|
|
|
2881
2881
|
* Apply extracted answers to the negotiation
|
|
2882
2882
|
* Apply extracted answers to the negotiation.
|
|
2883
2883
|
*/
|
|
2884
|
-
export const applyExtractedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2885
|
-
return (options.client ?? _heyApiClient).put<
|
|
2884
|
+
export const applyExtractedAnswers = <ThrowOnError extends boolean = false>(options: Options<ApplyExtractedAnswers_Data, ThrowOnError>) => {
|
|
2885
|
+
return (options.client ?? _heyApiClient).put<ApplyExtractedAnswers_Response, unknown, ThrowOnError>({
|
|
2886
2886
|
security: [
|
|
2887
2887
|
{
|
|
2888
2888
|
name: 'Authorization',
|
|
@@ -2898,8 +2898,8 @@ export const applyExtractedAnswers = <ThrowOnError extends boolean = false>(opti
|
|
|
2898
2898
|
* Get original negotiations answers before a restatement
|
|
2899
2899
|
* Get original negotiations answers before a restatement.
|
|
2900
2900
|
*/
|
|
2901
|
-
export const getOriginalAnswersForForkNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
2902
|
-
return (options.client ?? _heyApiClient).get<
|
|
2901
|
+
export const getOriginalAnswersForForkNegotiation = <ThrowOnError extends boolean = false>(options: Options<GetOriginalAnswersForForkNegotiation_Data, ThrowOnError>) => {
|
|
2902
|
+
return (options.client ?? _heyApiClient).get<GetOriginalAnswersForForkNegotiation_Response, unknown, ThrowOnError>({
|
|
2903
2903
|
security: [
|
|
2904
2904
|
{
|
|
2905
2905
|
name: 'Authorization',
|
|
@@ -2915,8 +2915,8 @@ export const getOriginalAnswersForForkNegotiation = <ThrowOnError extends boolea
|
|
|
2915
2915
|
* Mark an offline negotiation as final
|
|
2916
2916
|
* Mark an offline negotiation as final.
|
|
2917
2917
|
*/
|
|
2918
|
-
export const markAsFinal = <ThrowOnError extends boolean = false>(options: Options<
|
|
2919
|
-
return (options.client ?? _heyApiClient).put<
|
|
2918
|
+
export const markAsFinal = <ThrowOnError extends boolean = false>(options: Options<MarkAsFinal_Data, ThrowOnError>) => {
|
|
2919
|
+
return (options.client ?? _heyApiClient).put<MarkAsFinal_Response, unknown, ThrowOnError>({
|
|
2920
2920
|
security: [
|
|
2921
2921
|
{
|
|
2922
2922
|
name: 'Authorization',
|
|
@@ -2932,8 +2932,8 @@ export const markAsFinal = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
2932
2932
|
* Get the nested election IDs of all parties for all previous major versions
|
|
2933
2933
|
* Get the value for a nested election IDs of all parties for all previous major versions.
|
|
2934
2934
|
*/
|
|
2935
|
-
export const getPreviousMajorVersionsNestedAnswerElections = <ThrowOnError extends boolean = false>(options: Options<
|
|
2936
|
-
return (options.client ?? _heyApiClient).get<
|
|
2935
|
+
export const getPreviousMajorVersionsNestedAnswerElections = <ThrowOnError extends boolean = false>(options: Options<GetPreviousMajorVersionsNestedAnswerElections_Data, ThrowOnError>) => {
|
|
2936
|
+
return (options.client ?? _heyApiClient).get<GetPreviousMajorVersionsNestedAnswerElections_Response, unknown, ThrowOnError>({
|
|
2937
2937
|
security: [
|
|
2938
2938
|
{
|
|
2939
2939
|
name: 'Authorization',
|
|
@@ -2949,8 +2949,8 @@ export const getPreviousMajorVersionsNestedAnswerElections = <ThrowOnError exten
|
|
|
2949
2949
|
* List negotiations in a Sub-Account
|
|
2950
2950
|
* List negotiations in a Sub-Account.
|
|
2951
2951
|
*/
|
|
2952
|
-
export const listNegotiations = <ThrowOnError extends boolean = false>(options: Options<
|
|
2953
|
-
return (options.client ?? _heyApiClient).get<
|
|
2952
|
+
export const listNegotiations = <ThrowOnError extends boolean = false>(options: Options<ListNegotiations_Data, ThrowOnError>) => {
|
|
2953
|
+
return (options.client ?? _heyApiClient).get<ListNegotiations_Response, unknown, ThrowOnError>({
|
|
2954
2954
|
security: [
|
|
2955
2955
|
{
|
|
2956
2956
|
name: 'Authorization',
|
|
@@ -2966,8 +2966,8 @@ export const listNegotiations = <ThrowOnError extends boolean = false>(options:
|
|
|
2966
2966
|
* Create an empty negotiation from a preset, document or template negotiation
|
|
2967
2967
|
* Create an empty negotiation from a preset, document or template negotiation.
|
|
2968
2968
|
*/
|
|
2969
|
-
export const createNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
2970
|
-
return (options.client ?? _heyApiClient).post<
|
|
2969
|
+
export const createNegotiation = <ThrowOnError extends boolean = false>(options: Options<CreateNegotiation_Data, ThrowOnError>) => {
|
|
2970
|
+
return (options.client ?? _heyApiClient).post<CreateNegotiation_Response, unknown, ThrowOnError>({
|
|
2971
2971
|
security: [
|
|
2972
2972
|
{
|
|
2973
2973
|
name: 'Authorization',
|
|
@@ -2987,8 +2987,8 @@ export const createNegotiation = <ThrowOnError extends boolean = false>(options:
|
|
|
2987
2987
|
* Get the value for a nested answer
|
|
2988
2988
|
* Get the value for a nested answer.
|
|
2989
2989
|
*/
|
|
2990
|
-
export const presetGetNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
2991
|
-
return (options.client ?? _heyApiClient).get<
|
|
2990
|
+
export const presetGetNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<PresetGetNestedAnswers_Data, ThrowOnError>) => {
|
|
2991
|
+
return (options.client ?? _heyApiClient).get<PresetGetNestedAnswers_Response, unknown, ThrowOnError>({
|
|
2992
2992
|
security: [
|
|
2993
2993
|
{
|
|
2994
2994
|
name: 'Authorization',
|
|
@@ -3004,8 +3004,8 @@ export const presetGetNestedAnswers = <ThrowOnError extends boolean = false>(opt
|
|
|
3004
3004
|
* Sets the value for a nested answer
|
|
3005
3005
|
* Sets the value for a nested answer.
|
|
3006
3006
|
*/
|
|
3007
|
-
export const presetSetNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
3008
|
-
return (options.client ?? _heyApiClient).put<
|
|
3007
|
+
export const presetSetNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<PresetSetNestedAnswers_Data, ThrowOnError>) => {
|
|
3008
|
+
return (options.client ?? _heyApiClient).put<PresetSetNestedAnswers_Response, unknown, ThrowOnError>({
|
|
3009
3009
|
security: [
|
|
3010
3010
|
{
|
|
3011
3011
|
name: 'Authorization',
|
|
@@ -3025,8 +3025,8 @@ export const presetSetNestedAnswers = <ThrowOnError extends boolean = false>(opt
|
|
|
3025
3025
|
* Download the audit trail for a preset as XLSX
|
|
3026
3026
|
* Download the audit trail for a preset as XLSX.
|
|
3027
3027
|
*/
|
|
3028
|
-
export const createPresetAuditTrailXlsx = <ThrowOnError extends boolean = false>(options: Options<
|
|
3029
|
-
return (options.client ?? _heyApiClient).get<
|
|
3028
|
+
export const createPresetAuditTrailXlsx = <ThrowOnError extends boolean = false>(options: Options<CreatePresetAuditTrailXlsx_Data, ThrowOnError>) => {
|
|
3029
|
+
return (options.client ?? _heyApiClient).get<CreatePresetAuditTrailXlsx_Response, unknown, ThrowOnError>({
|
|
3030
3030
|
security: [
|
|
3031
3031
|
{
|
|
3032
3032
|
name: 'Authorization',
|
|
@@ -3042,8 +3042,8 @@ export const createPresetAuditTrailXlsx = <ThrowOnError extends boolean = false>
|
|
|
3042
3042
|
* Create a copy of a preset
|
|
3043
3043
|
* Create a copy of a preset.
|
|
3044
3044
|
*/
|
|
3045
|
-
export const clonePreset = <ThrowOnError extends boolean = false>(options: Options<
|
|
3046
|
-
return (options.client ?? _heyApiClient).post<
|
|
3045
|
+
export const clonePreset = <ThrowOnError extends boolean = false>(options: Options<ClonePreset_Data, ThrowOnError>) => {
|
|
3046
|
+
return (options.client ?? _heyApiClient).post<ClonePreset_Response, unknown, ThrowOnError>({
|
|
3047
3047
|
security: [
|
|
3048
3048
|
{
|
|
3049
3049
|
name: 'Authorization',
|
|
@@ -3059,7 +3059,7 @@ export const clonePreset = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
3059
3059
|
* Connect CIQ account with DocuSign
|
|
3060
3060
|
* Connect CIQ account with DocuSign.
|
|
3061
3061
|
*/
|
|
3062
|
-
export const obtainConsent = <ThrowOnError extends boolean = false>(options?: Options<
|
|
3062
|
+
export const obtainConsent = <ThrowOnError extends boolean = false>(options?: Options<ObtainConsent_Data, ThrowOnError>) => {
|
|
3063
3063
|
return (options?.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
3064
3064
|
security: [
|
|
3065
3065
|
{
|
|
@@ -3076,8 +3076,8 @@ export const obtainConsent = <ThrowOnError extends boolean = false>(options?: Op
|
|
|
3076
3076
|
* Determine whether an auxiliary document has been uploaded, or not
|
|
3077
3077
|
* Determine whether an auxiliary document has been uploaded, or not.
|
|
3078
3078
|
*/
|
|
3079
|
-
export const checkAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
3080
|
-
return (options.client ?? _heyApiClient).get<
|
|
3079
|
+
export const checkAuxiliaryDocument = <ThrowOnError extends boolean = false>(options: Options<CheckAuxiliaryDocument_Data, ThrowOnError>) => {
|
|
3080
|
+
return (options.client ?? _heyApiClient).get<CheckAuxiliaryDocument_Response, unknown, ThrowOnError>({
|
|
3081
3081
|
security: [
|
|
3082
3082
|
{
|
|
3083
3083
|
name: 'Authorization',
|
|
@@ -3093,8 +3093,8 @@ export const checkAuxiliaryDocument = <ThrowOnError extends boolean = false>(opt
|
|
|
3093
3093
|
* View a paginated list of documents available to an account user
|
|
3094
3094
|
* Paginated list of documents that can be downloaded, with a list of supported extensions for each one.
|
|
3095
3095
|
*/
|
|
3096
|
-
export const listDocumentsWithPagination = <ThrowOnError extends boolean = false>(options: Options<
|
|
3097
|
-
return (options.client ?? _heyApiClient).get<
|
|
3096
|
+
export const listDocumentsWithPagination = <ThrowOnError extends boolean = false>(options: Options<ListDocumentsWithPagination_Data, ThrowOnError>) => {
|
|
3097
|
+
return (options.client ?? _heyApiClient).get<ListDocumentsWithPagination_Response, unknown, ThrowOnError>({
|
|
3098
3098
|
security: [
|
|
3099
3099
|
{
|
|
3100
3100
|
name: 'Authorization',
|
|
@@ -3110,8 +3110,8 @@ export const listDocumentsWithPagination = <ThrowOnError extends boolean = false
|
|
|
3110
3110
|
* View your email preferences
|
|
3111
3111
|
* View your email preferences.
|
|
3112
3112
|
*/
|
|
3113
|
-
export const emailPreferences = <ThrowOnError extends boolean = false>(options?: Options<
|
|
3114
|
-
return (options?.client ?? _heyApiClient).get<
|
|
3113
|
+
export const emailPreferences = <ThrowOnError extends boolean = false>(options?: Options<EmailPreferences_Data, ThrowOnError>) => {
|
|
3114
|
+
return (options?.client ?? _heyApiClient).get<EmailPreferences_Response, unknown, ThrowOnError>({
|
|
3115
3115
|
security: [
|
|
3116
3116
|
{
|
|
3117
3117
|
name: 'Authorization',
|
|
@@ -3127,7 +3127,7 @@ export const emailPreferences = <ThrowOnError extends boolean = false>(options?:
|
|
|
3127
3127
|
* Submit partial or complete changes to your email preferences
|
|
3128
3128
|
* Submit partial or complete changes to your email preferences.
|
|
3129
3129
|
*/
|
|
3130
|
-
export const patchEmailPreferences = <ThrowOnError extends boolean = false>(options: Options<
|
|
3130
|
+
export const patchEmailPreferences = <ThrowOnError extends boolean = false>(options: Options<PatchEmailPreferences_Data, ThrowOnError>) => {
|
|
3131
3131
|
return (options.client ?? _heyApiClient).patch<unknown, unknown, ThrowOnError>({
|
|
3132
3132
|
security: [
|
|
3133
3133
|
{
|
|
@@ -3148,8 +3148,8 @@ export const patchEmailPreferences = <ThrowOnError extends boolean = false>(opti
|
|
|
3148
3148
|
* Confirm the execution version of a negotiation
|
|
3149
3149
|
* Confirm the execution version of a negotiation.
|
|
3150
3150
|
*/
|
|
3151
|
-
export const confirmExecutionVersion = <ThrowOnError extends boolean = false>(options: Options<
|
|
3152
|
-
return (options.client ?? _heyApiClient).put<
|
|
3151
|
+
export const confirmExecutionVersion = <ThrowOnError extends boolean = false>(options: Options<ConfirmExecutionVersion_Data, ThrowOnError>) => {
|
|
3152
|
+
return (options.client ?? _heyApiClient).put<ConfirmExecutionVersion_Response, unknown, ThrowOnError>({
|
|
3153
3153
|
security: [
|
|
3154
3154
|
{
|
|
3155
3155
|
name: 'Authorization',
|
|
@@ -3165,8 +3165,8 @@ export const confirmExecutionVersion = <ThrowOnError extends boolean = false>(op
|
|
|
3165
3165
|
* View a list of the presets in a Sub-Account
|
|
3166
3166
|
* View a list of the presets in a Sub-Account.
|
|
3167
3167
|
*/
|
|
3168
|
-
export const listAllPresetsForSubAccountV2 = <ThrowOnError extends boolean = false>(options: Options<
|
|
3169
|
-
return (options.client ?? _heyApiClient).get<
|
|
3168
|
+
export const listAllPresetsForSubAccountV2 = <ThrowOnError extends boolean = false>(options: Options<ListAllPresetsForSubAccountV2_Data, ThrowOnError>) => {
|
|
3169
|
+
return (options.client ?? _heyApiClient).get<ListAllPresetsForSubAccountV2_Response, unknown, ThrowOnError>({
|
|
3170
3170
|
security: [
|
|
3171
3171
|
{
|
|
3172
3172
|
name: 'Authorization',
|
|
@@ -3182,8 +3182,8 @@ export const listAllPresetsForSubAccountV2 = <ThrowOnError extends boolean = fal
|
|
|
3182
3182
|
* List uploaded invite attachments for a negotiation
|
|
3183
3183
|
* List uploaded invite attachments for a negotiation.
|
|
3184
3184
|
*/
|
|
3185
|
-
export const listExternalAttachments = <ThrowOnError extends boolean = false>(options: Options<
|
|
3186
|
-
return (options.client ?? _heyApiClient).get<
|
|
3185
|
+
export const listExternalAttachments = <ThrowOnError extends boolean = false>(options: Options<ListExternalAttachments_Data, ThrowOnError>) => {
|
|
3186
|
+
return (options.client ?? _heyApiClient).get<ListExternalAttachments_Response, unknown, ThrowOnError>({
|
|
3187
3187
|
security: [
|
|
3188
3188
|
{
|
|
3189
3189
|
name: 'Authorization',
|
|
@@ -3199,8 +3199,8 @@ export const listExternalAttachments = <ThrowOnError extends boolean = false>(op
|
|
|
3199
3199
|
* Upload one or more invite attachments for a negotiation
|
|
3200
3200
|
* Upload one or more invite attachments for a negotiation.
|
|
3201
3201
|
*/
|
|
3202
|
-
export const setExternalAttachments = <ThrowOnError extends boolean = false>(options: Options<
|
|
3203
|
-
return (options.client ?? _heyApiClient).post<
|
|
3202
|
+
export const setExternalAttachments = <ThrowOnError extends boolean = false>(options: Options<SetExternalAttachments_Data, ThrowOnError>) => {
|
|
3203
|
+
return (options.client ?? _heyApiClient).post<SetExternalAttachments_Response, unknown, ThrowOnError>({
|
|
3204
3204
|
...formDataBodySerializer,
|
|
3205
3205
|
security: [
|
|
3206
3206
|
{
|
|
@@ -3221,8 +3221,8 @@ export const setExternalAttachments = <ThrowOnError extends boolean = false>(opt
|
|
|
3221
3221
|
* Upload an invite attachment for a negotiation
|
|
3222
3222
|
* Upload an invite attachment for a negotiation.
|
|
3223
3223
|
*/
|
|
3224
|
-
export const setExternalAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3225
|
-
return (options.client ?? _heyApiClient).put<
|
|
3224
|
+
export const setExternalAttachment = <ThrowOnError extends boolean = false>(options: Options<SetExternalAttachment_Data, ThrowOnError>) => {
|
|
3225
|
+
return (options.client ?? _heyApiClient).put<SetExternalAttachment_Response, unknown, ThrowOnError>({
|
|
3226
3226
|
security: [
|
|
3227
3227
|
{
|
|
3228
3228
|
name: 'Authorization',
|
|
@@ -3242,8 +3242,8 @@ export const setExternalAttachment = <ThrowOnError extends boolean = false>(opti
|
|
|
3242
3242
|
* View the audit trail for a Sub-Account as XLSX
|
|
3243
3243
|
* View the audit trail for a Sub-Account as XLSX.
|
|
3244
3244
|
*/
|
|
3245
|
-
export const auditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
3246
|
-
return (options.client ?? _heyApiClient).get<
|
|
3245
|
+
export const auditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = false>(options: Options<AuditTrailForSubAccountAsExcel_Data, ThrowOnError>) => {
|
|
3246
|
+
return (options.client ?? _heyApiClient).get<AuditTrailForSubAccountAsExcel_Response, unknown, ThrowOnError>({
|
|
3247
3247
|
security: [
|
|
3248
3248
|
{
|
|
3249
3249
|
name: 'Authorization',
|
|
@@ -3259,8 +3259,8 @@ export const auditTrailForSubAccountAsExcel = <ThrowOnError extends boolean = fa
|
|
|
3259
3259
|
* Validates sets of proposed receiver email addresses to be used in bulk creation
|
|
3260
3260
|
* Validates sets of proposed receiver email addresses to be used in bulk creation.
|
|
3261
3261
|
*/
|
|
3262
|
-
export const validateDraftReceiverEmails = <ThrowOnError extends boolean = false>(options: Options<
|
|
3263
|
-
return (options.client ?? _heyApiClient).post<
|
|
3262
|
+
export const validateDraftReceiverEmails = <ThrowOnError extends boolean = false>(options: Options<ValidateDraftReceiverEmails_Data, ThrowOnError>) => {
|
|
3263
|
+
return (options.client ?? _heyApiClient).post<ValidateDraftReceiverEmails_Response, unknown, ThrowOnError>({
|
|
3264
3264
|
security: [
|
|
3265
3265
|
{
|
|
3266
3266
|
name: 'Authorization',
|
|
@@ -3280,8 +3280,8 @@ export const validateDraftReceiverEmails = <ThrowOnError extends boolean = false
|
|
|
3280
3280
|
* Download post execution pack zip including executed version of the document, negotiation audit trail, schedule files (optional) and additional files (optional) for all parties as PDFs
|
|
3281
3281
|
* Download post execution pack zip including executed version of the document, negotiation audit trail, schedule files (optional) and additional files (optional) for all parties as PDFs.
|
|
3282
3282
|
*/
|
|
3283
|
-
export const downloadPostExecutionPack = <ThrowOnError extends boolean = false>(options: Options<
|
|
3284
|
-
return (options.client ?? _heyApiClient).get<
|
|
3283
|
+
export const downloadPostExecutionPack = <ThrowOnError extends boolean = false>(options: Options<DownloadPostExecutionPack_Data, ThrowOnError>) => {
|
|
3284
|
+
return (options.client ?? _heyApiClient).get<DownloadPostExecutionPack_Response, unknown, ThrowOnError>({
|
|
3285
3285
|
security: [
|
|
3286
3286
|
{
|
|
3287
3287
|
name: 'Authorization',
|
|
@@ -3297,7 +3297,7 @@ export const downloadPostExecutionPack = <ThrowOnError extends boolean = false>(
|
|
|
3297
3297
|
* Mark approval comments associated with a negotiation and requesting user as read
|
|
3298
3298
|
* Mark approval comments associated with a negotiation and requesting user as read.
|
|
3299
3299
|
*/
|
|
3300
|
-
export const markApprovalCommentsAsViewed = <ThrowOnError extends boolean = false>(options: Options<
|
|
3300
|
+
export const markApprovalCommentsAsViewed = <ThrowOnError extends boolean = false>(options: Options<MarkApprovalCommentsAsViewed_Data, ThrowOnError>) => {
|
|
3301
3301
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
3302
3302
|
security: [
|
|
3303
3303
|
{
|
|
@@ -3318,8 +3318,8 @@ export const markApprovalCommentsAsViewed = <ThrowOnError extends boolean = fals
|
|
|
3318
3318
|
* Accept the counterparty position for a specific election
|
|
3319
3319
|
* Accept the counterparty position for a specific election.
|
|
3320
3320
|
*/
|
|
3321
|
-
export const acceptCounterpartyPosition = <ThrowOnError extends boolean = false>(options: Options<
|
|
3322
|
-
return (options.client ?? _heyApiClient).put<
|
|
3321
|
+
export const acceptCounterpartyPosition = <ThrowOnError extends boolean = false>(options: Options<AcceptCounterpartyPosition_Data, ThrowOnError>) => {
|
|
3322
|
+
return (options.client ?? _heyApiClient).put<AcceptCounterpartyPosition_Response, unknown, ThrowOnError>({
|
|
3323
3323
|
security: [
|
|
3324
3324
|
{
|
|
3325
3325
|
name: 'Authorization',
|
|
@@ -3335,8 +3335,8 @@ export const acceptCounterpartyPosition = <ThrowOnError extends boolean = false>
|
|
|
3335
3335
|
* Cancel selected negotiations
|
|
3336
3336
|
* Cancel selected negotiations.
|
|
3337
3337
|
*/
|
|
3338
|
-
export const cancelNegotiations = <ThrowOnError extends boolean = false>(options: Options<
|
|
3339
|
-
return (options.client ?? _heyApiClient).put<
|
|
3338
|
+
export const cancelNegotiations = <ThrowOnError extends boolean = false>(options: Options<CancelNegotiations_Data, ThrowOnError>) => {
|
|
3339
|
+
return (options.client ?? _heyApiClient).put<CancelNegotiations_Response, unknown, ThrowOnError>({
|
|
3340
3340
|
security: [
|
|
3341
3341
|
{
|
|
3342
3342
|
name: 'Authorization',
|
|
@@ -3356,8 +3356,8 @@ export const cancelNegotiations = <ThrowOnError extends boolean = false>(options
|
|
|
3356
3356
|
* Get any drafting notes for a negotiations document - includes external notes set by the initiator
|
|
3357
3357
|
* Get any drafting notes for a negotiations document - includes external notes set by the initiator.
|
|
3358
3358
|
*/
|
|
3359
|
-
export const getNegotiationDraftingNotes = <ThrowOnError extends boolean = false>(options: Options<
|
|
3360
|
-
return (options.client ?? _heyApiClient).get<
|
|
3359
|
+
export const getNegotiationDraftingNotes = <ThrowOnError extends boolean = false>(options: Options<GetNegotiationDraftingNotes_Data, ThrowOnError>) => {
|
|
3360
|
+
return (options.client ?? _heyApiClient).get<GetNegotiationDraftingNotes_Response, unknown, ThrowOnError>({
|
|
3361
3361
|
security: [
|
|
3362
3362
|
{
|
|
3363
3363
|
name: 'Authorization',
|
|
@@ -3373,8 +3373,8 @@ export const getNegotiationDraftingNotes = <ThrowOnError extends boolean = false
|
|
|
3373
3373
|
* View your available audit log filters
|
|
3374
3374
|
* View your available audit log filters.
|
|
3375
3375
|
*/
|
|
3376
|
-
export const auditTrailFilters = <ThrowOnError extends boolean = false>(options?: Options<
|
|
3377
|
-
return (options?.client ?? _heyApiClient).get<
|
|
3376
|
+
export const auditTrailFilters = <ThrowOnError extends boolean = false>(options?: Options<AuditTrailFilters_Data, ThrowOnError>) => {
|
|
3377
|
+
return (options?.client ?? _heyApiClient).get<AuditTrailFilters_Response, unknown, ThrowOnError>({
|
|
3378
3378
|
security: [
|
|
3379
3379
|
{
|
|
3380
3380
|
name: 'Authorization',
|
|
@@ -3390,7 +3390,7 @@ export const auditTrailFilters = <ThrowOnError extends boolean = false>(options?
|
|
|
3390
3390
|
* Use generative AI to summarise negotiation comments
|
|
3391
3391
|
* Use generative AI to summarise negotiation comments. Generates summaries for a specified set of comments.
|
|
3392
3392
|
*/
|
|
3393
|
-
export const getCommentSummary = <ThrowOnError extends boolean = false>(options: Options<
|
|
3393
|
+
export const getCommentSummary = <ThrowOnError extends boolean = false>(options: Options<GetCommentSummary_Data, ThrowOnError>) => {
|
|
3394
3394
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
3395
3395
|
security: [
|
|
3396
3396
|
{
|
|
@@ -3407,8 +3407,8 @@ export const getCommentSummary = <ThrowOnError extends boolean = false>(options:
|
|
|
3407
3407
|
* Delete an execution attachment from a negotiation
|
|
3408
3408
|
* Delete an execution attachment from a negotiation.
|
|
3409
3409
|
*/
|
|
3410
|
-
export const deleteExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3411
|
-
return (options.client ?? _heyApiClient).delete<
|
|
3410
|
+
export const deleteExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<DeleteExecutionAttachment_Data, ThrowOnError>) => {
|
|
3411
|
+
return (options.client ?? _heyApiClient).delete<DeleteExecutionAttachment_Response, unknown, ThrowOnError>({
|
|
3412
3412
|
security: [
|
|
3413
3413
|
{
|
|
3414
3414
|
name: 'Authorization',
|
|
@@ -3424,8 +3424,8 @@ export const deleteExecutionAttachment = <ThrowOnError extends boolean = false>(
|
|
|
3424
3424
|
* Download an execution attachment that has been uploaded for a negotiation
|
|
3425
3425
|
* Download an execution attachment that has been uploaded for a negotiation.
|
|
3426
3426
|
*/
|
|
3427
|
-
export const getExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3428
|
-
return (options.client ?? _heyApiClient).get<
|
|
3427
|
+
export const getExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<GetExecutionAttachment_Data, ThrowOnError>) => {
|
|
3428
|
+
return (options.client ?? _heyApiClient).get<GetExecutionAttachment_Response, unknown, ThrowOnError>({
|
|
3429
3429
|
security: [
|
|
3430
3430
|
{
|
|
3431
3431
|
name: 'Authorization',
|
|
@@ -3441,8 +3441,8 @@ export const getExecutionAttachment = <ThrowOnError extends boolean = false>(opt
|
|
|
3441
3441
|
* View a list of the active users in a Sub-Account.
|
|
3442
3442
|
* View a list of the active users in a Sub-Account. Returns a minimal set of data for the user picker. Returns only fully-registered users.
|
|
3443
3443
|
*/
|
|
3444
|
-
export const getUsersForPicker = <ThrowOnError extends boolean = false>(options: Options<
|
|
3445
|
-
return (options.client ?? _heyApiClient).get<
|
|
3444
|
+
export const getUsersForPicker = <ThrowOnError extends boolean = false>(options: Options<GetUsersForPicker_Data, ThrowOnError>) => {
|
|
3445
|
+
return (options.client ?? _heyApiClient).get<GetUsersForPicker_Response, unknown, ThrowOnError>({
|
|
3446
3446
|
security: [
|
|
3447
3447
|
{
|
|
3448
3448
|
name: 'Authorization',
|
|
@@ -3458,8 +3458,8 @@ export const getUsersForPicker = <ThrowOnError extends boolean = false>(options:
|
|
|
3458
3458
|
* Get the value for multiple nested answers
|
|
3459
3459
|
* Get the value for multiple nested answers, used in umbrella agreements.
|
|
3460
3460
|
*/
|
|
3461
|
-
export const getMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
3462
|
-
return (options.client ?? _heyApiClient).post<
|
|
3461
|
+
export const getMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<GetMultipleNestedAnswers_Data, ThrowOnError>) => {
|
|
3462
|
+
return (options.client ?? _heyApiClient).post<GetMultipleNestedAnswers_Response, unknown, ThrowOnError>({
|
|
3463
3463
|
security: [
|
|
3464
3464
|
{
|
|
3465
3465
|
name: 'Authorization',
|
|
@@ -3479,8 +3479,8 @@ export const getMultipleNestedAnswers = <ThrowOnError extends boolean = false>(o
|
|
|
3479
3479
|
* Sets the values for multiple nested answers
|
|
3480
3480
|
* Sets the values for multiple nested answers, used in umbrella agreements.
|
|
3481
3481
|
*/
|
|
3482
|
-
export const setMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
3483
|
-
return (options.client ?? _heyApiClient).put<
|
|
3482
|
+
export const setMultipleNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<SetMultipleNestedAnswers_Data, ThrowOnError>) => {
|
|
3483
|
+
return (options.client ?? _heyApiClient).put<SetMultipleNestedAnswers_Response, unknown, ThrowOnError>({
|
|
3484
3484
|
security: [
|
|
3485
3485
|
{
|
|
3486
3486
|
name: 'Authorization',
|
|
@@ -3500,8 +3500,8 @@ export const setMultipleNestedAnswers = <ThrowOnError extends boolean = false>(o
|
|
|
3500
3500
|
* Delete a bulk set attachment from a bulk set
|
|
3501
3501
|
* Delete a bulk set attachment from a bulk set.
|
|
3502
3502
|
*/
|
|
3503
|
-
export const deleteBulkSetAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3504
|
-
return (options.client ?? _heyApiClient).delete<
|
|
3503
|
+
export const deleteBulkSetAttachment = <ThrowOnError extends boolean = false>(options: Options<DeleteBulkSetAttachment_Data, ThrowOnError>) => {
|
|
3504
|
+
return (options.client ?? _heyApiClient).delete<DeleteBulkSetAttachment_Response, unknown, ThrowOnError>({
|
|
3505
3505
|
security: [
|
|
3506
3506
|
{
|
|
3507
3507
|
name: 'Authorization',
|
|
@@ -3517,8 +3517,8 @@ export const deleteBulkSetAttachment = <ThrowOnError extends boolean = false>(op
|
|
|
3517
3517
|
* Download a bulk set attachment that has been uploaded for a bulk set
|
|
3518
3518
|
* Download a bulk set attachment that has been uploaded for a bulk set.
|
|
3519
3519
|
*/
|
|
3520
|
-
export const getBulkSetAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3521
|
-
return (options.client ?? _heyApiClient).get<
|
|
3520
|
+
export const getBulkSetAttachment = <ThrowOnError extends boolean = false>(options: Options<GetBulkSetAttachment_Data, ThrowOnError>) => {
|
|
3521
|
+
return (options.client ?? _heyApiClient).get<GetBulkSetAttachment_Response, unknown, ThrowOnError>({
|
|
3522
3522
|
security: [
|
|
3523
3523
|
{
|
|
3524
3524
|
name: 'Authorization',
|
|
@@ -3534,8 +3534,8 @@ export const getBulkSetAttachment = <ThrowOnError extends boolean = false>(optio
|
|
|
3534
3534
|
* View a document
|
|
3535
3535
|
* View a document.
|
|
3536
3536
|
*/
|
|
3537
|
-
export const getDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
3538
|
-
return (options.client ?? _heyApiClient).get<
|
|
3537
|
+
export const getDocument = <ThrowOnError extends boolean = false>(options: Options<GetDocument_Data, ThrowOnError>) => {
|
|
3538
|
+
return (options.client ?? _heyApiClient).get<GetDocument_Response, unknown, ThrowOnError>({
|
|
3539
3539
|
security: [
|
|
3540
3540
|
{
|
|
3541
3541
|
name: 'Authorization',
|
|
@@ -3551,7 +3551,7 @@ export const getDocument = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
3551
3551
|
* List bulk sets for a Sub-Account, and their bulk set ID
|
|
3552
3552
|
* List bulk sets for a Sub-Account, and their bulk set ID.
|
|
3553
3553
|
*/
|
|
3554
|
-
export const listBulkSets = <ThrowOnError extends boolean = false>(options: Options<
|
|
3554
|
+
export const listBulkSets = <ThrowOnError extends boolean = false>(options: Options<ListBulkSets_Data, ThrowOnError>) => {
|
|
3555
3555
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
3556
3556
|
security: [
|
|
3557
3557
|
{
|
|
@@ -3568,8 +3568,8 @@ export const listBulkSets = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
3568
3568
|
* Create a bulk set
|
|
3569
3569
|
* Create a bulk set.
|
|
3570
3570
|
*/
|
|
3571
|
-
export const createBulkSet = <ThrowOnError extends boolean = false>(options: Options<
|
|
3572
|
-
return (options.client ?? _heyApiClient).post<
|
|
3571
|
+
export const createBulkSet = <ThrowOnError extends boolean = false>(options: Options<CreateBulkSet_Data, ThrowOnError>) => {
|
|
3572
|
+
return (options.client ?? _heyApiClient).post<CreateBulkSet_Response, unknown, ThrowOnError>({
|
|
3573
3573
|
security: [
|
|
3574
3574
|
{
|
|
3575
3575
|
name: 'Authorization',
|
|
@@ -3589,8 +3589,8 @@ export const createBulkSet = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
3589
3589
|
* Add an approval comment on a negotiation
|
|
3590
3590
|
* Add an approval comment on a negotiation.
|
|
3591
3591
|
*/
|
|
3592
|
-
export const addApprovalComment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3593
|
-
return (options.client ?? _heyApiClient).post<
|
|
3592
|
+
export const addApprovalComment = <ThrowOnError extends boolean = false>(options: Options<AddApprovalComment_Data, ThrowOnError>) => {
|
|
3593
|
+
return (options.client ?? _heyApiClient).post<AddApprovalComment_Response, unknown, ThrowOnError>({
|
|
3594
3594
|
security: [
|
|
3595
3595
|
{
|
|
3596
3596
|
name: 'Authorization',
|
|
@@ -3610,8 +3610,8 @@ export const addApprovalComment = <ThrowOnError extends boolean = false>(options
|
|
|
3610
3610
|
* Extract answers from the offline negotiated document linked to the negotiation
|
|
3611
3611
|
* Extract answers from the offline negotiated document linked to the negotiation.
|
|
3612
3612
|
*/
|
|
3613
|
-
export const scheduleExtraction = <ThrowOnError extends boolean = false>(options: Options<
|
|
3614
|
-
return (options.client ?? _heyApiClient).put<
|
|
3613
|
+
export const scheduleExtraction = <ThrowOnError extends boolean = false>(options: Options<ScheduleExtraction_Data, ThrowOnError>) => {
|
|
3614
|
+
return (options.client ?? _heyApiClient).put<ScheduleExtraction_Response, unknown, ThrowOnError>({
|
|
3615
3615
|
security: [
|
|
3616
3616
|
{
|
|
3617
3617
|
name: 'Authorization',
|
|
@@ -3627,8 +3627,8 @@ export const scheduleExtraction = <ThrowOnError extends boolean = false>(options
|
|
|
3627
3627
|
* Get the names of the matching items for the specified free text under a particular `filter`
|
|
3628
3628
|
* Get the names of the matching items for the specified free text under a particular `filter`.
|
|
3629
3629
|
*/
|
|
3630
|
-
export const negotiationsFilter = <ThrowOnError extends boolean = false>(options: Options<
|
|
3631
|
-
return (options.client ?? _heyApiClient).get<
|
|
3630
|
+
export const negotiationsFilter = <ThrowOnError extends boolean = false>(options: Options<NegotiationsFilter_Data, ThrowOnError>) => {
|
|
3631
|
+
return (options.client ?? _heyApiClient).get<NegotiationsFilter_Response, unknown, ThrowOnError>({
|
|
3632
3632
|
security: [
|
|
3633
3633
|
{
|
|
3634
3634
|
name: 'Authorization',
|
|
@@ -3644,8 +3644,8 @@ export const negotiationsFilter = <ThrowOnError extends boolean = false>(options
|
|
|
3644
3644
|
* Download the audit trail for a negotiation as a XLSX
|
|
3645
3645
|
* Download the audit trail for a negotiation as a XLSX.
|
|
3646
3646
|
*/
|
|
3647
|
-
export const createAuditTrailXlsx = <ThrowOnError extends boolean = false>(options: Options<
|
|
3648
|
-
return (options.client ?? _heyApiClient).get<
|
|
3647
|
+
export const createAuditTrailXlsx = <ThrowOnError extends boolean = false>(options: Options<CreateAuditTrailXlsx_Data, ThrowOnError>) => {
|
|
3648
|
+
return (options.client ?? _heyApiClient).get<CreateAuditTrailXlsx_Response, unknown, ThrowOnError>({
|
|
3649
3649
|
security: [
|
|
3650
3650
|
{
|
|
3651
3651
|
name: 'Authorization',
|
|
@@ -3661,8 +3661,8 @@ export const createAuditTrailXlsx = <ThrowOnError extends boolean = false>(optio
|
|
|
3661
3661
|
* Apply a preset to a negotiation
|
|
3662
3662
|
* Apply a preset to a negotiation.
|
|
3663
3663
|
*/
|
|
3664
|
-
export const setPreset = <ThrowOnError extends boolean = false>(options: Options<
|
|
3665
|
-
return (options.client ?? _heyApiClient).put<
|
|
3664
|
+
export const setPreset = <ThrowOnError extends boolean = false>(options: Options<SetPreset_Data, ThrowOnError>) => {
|
|
3665
|
+
return (options.client ?? _heyApiClient).put<SetPreset_Response, unknown, ThrowOnError>({
|
|
3666
3666
|
security: [
|
|
3667
3667
|
{
|
|
3668
3668
|
name: 'Authorization',
|
|
@@ -3682,8 +3682,8 @@ export const setPreset = <ThrowOnError extends boolean = false>(options: Options
|
|
|
3682
3682
|
* Search for users with negotiation permissions
|
|
3683
3683
|
* Returns users who can access a sided negotiation.
|
|
3684
3684
|
*/
|
|
3685
|
-
export const usersWithNegotiationAccess = <ThrowOnError extends boolean = false>(options: Options<
|
|
3686
|
-
return (options.client ?? _heyApiClient).get<
|
|
3685
|
+
export const usersWithNegotiationAccess = <ThrowOnError extends boolean = false>(options: Options<UsersWithNegotiationAccess_Data, ThrowOnError>) => {
|
|
3686
|
+
return (options.client ?? _heyApiClient).get<UsersWithNegotiationAccess_Response, unknown, ThrowOnError>({
|
|
3687
3687
|
security: [
|
|
3688
3688
|
{
|
|
3689
3689
|
name: 'Authorization',
|
|
@@ -3699,8 +3699,8 @@ export const usersWithNegotiationAccess = <ThrowOnError extends boolean = false>
|
|
|
3699
3699
|
* View aggregate statistics overview for the requester
|
|
3700
3700
|
* View aggregate statistics overview for the requester.
|
|
3701
3701
|
*/
|
|
3702
|
-
export const getStatisticsOverview = <ThrowOnError extends boolean = false>(options: Options<
|
|
3703
|
-
return (options.client ?? _heyApiClient).get<
|
|
3702
|
+
export const getStatisticsOverview = <ThrowOnError extends boolean = false>(options: Options<GetStatisticsOverview_Data, ThrowOnError>) => {
|
|
3703
|
+
return (options.client ?? _heyApiClient).get<GetStatisticsOverview_Response, unknown, ThrowOnError>({
|
|
3704
3704
|
security: [
|
|
3705
3705
|
{
|
|
3706
3706
|
name: 'Authorization',
|
|
@@ -3716,7 +3716,7 @@ export const getStatisticsOverview = <ThrowOnError extends boolean = false>(opti
|
|
|
3716
3716
|
* View information about a Sub-Account
|
|
3717
3717
|
* View information about a Sub-Account.
|
|
3718
3718
|
*/
|
|
3719
|
-
export const getSubAccount = <ThrowOnError extends boolean = false>(options: Options<
|
|
3719
|
+
export const getSubAccount = <ThrowOnError extends boolean = false>(options: Options<GetSubAccount_Data, ThrowOnError>) => {
|
|
3720
3720
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
3721
3721
|
security: [
|
|
3722
3722
|
{
|
|
@@ -3733,7 +3733,7 @@ export const getSubAccount = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
3733
3733
|
* Update the details of one of your Sub-Accounts
|
|
3734
3734
|
* Update the details of one of your Sub-Accounts.
|
|
3735
3735
|
*/
|
|
3736
|
-
export const updateSubAccount = <ThrowOnError extends boolean = false>(options: Options<
|
|
3736
|
+
export const updateSubAccount = <ThrowOnError extends boolean = false>(options: Options<UpdateSubAccount_Data, ThrowOnError>) => {
|
|
3737
3737
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
3738
3738
|
security: [
|
|
3739
3739
|
{
|
|
@@ -3754,8 +3754,8 @@ export const updateSubAccount = <ThrowOnError extends boolean = false>(options:
|
|
|
3754
3754
|
* Set the initiating party's entity for a negotiation
|
|
3755
3755
|
* Set the initiating party's entity for a negotiation.
|
|
3756
3756
|
*/
|
|
3757
|
-
export const setOwnerEntity = <ThrowOnError extends boolean = false>(options: Options<
|
|
3758
|
-
return (options.client ?? _heyApiClient).put<
|
|
3757
|
+
export const setOwnerEntity = <ThrowOnError extends boolean = false>(options: Options<SetOwnerEntity_Data, ThrowOnError>) => {
|
|
3758
|
+
return (options.client ?? _heyApiClient).put<SetOwnerEntity_Response, unknown, ThrowOnError>({
|
|
3759
3759
|
security: [
|
|
3760
3760
|
{
|
|
3761
3761
|
name: 'Authorization',
|
|
@@ -3775,8 +3775,8 @@ export const setOwnerEntity = <ThrowOnError extends boolean = false>(options: Op
|
|
|
3775
3775
|
* Send a negotiation for either election or document approval, depending on the state of the negotiation
|
|
3776
3776
|
* Send a negotiation for either election or document approval, depending on the state of the negotiation.
|
|
3777
3777
|
*/
|
|
3778
|
-
export const negotiationSendForApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
3779
|
-
return (options.client ?? _heyApiClient).put<
|
|
3778
|
+
export const negotiationSendForApproval = <ThrowOnError extends boolean = false>(options: Options<NegotiationSendForApproval_Data, ThrowOnError>) => {
|
|
3779
|
+
return (options.client ?? _heyApiClient).put<NegotiationSendForApproval_Response, unknown, ThrowOnError>({
|
|
3780
3780
|
security: [
|
|
3781
3781
|
{
|
|
3782
3782
|
name: 'Authorization',
|
|
@@ -3796,8 +3796,8 @@ export const negotiationSendForApproval = <ThrowOnError extends boolean = false>
|
|
|
3796
3796
|
* View entities that match a list of search terms
|
|
3797
3797
|
* View entities that match a list of search terms.
|
|
3798
3798
|
*/
|
|
3799
|
-
export const searchEntity = <ThrowOnError extends boolean = false>(options: Options<
|
|
3800
|
-
return (options.client ?? _heyApiClient).get<
|
|
3799
|
+
export const searchEntity = <ThrowOnError extends boolean = false>(options: Options<SearchEntity_Data, ThrowOnError>) => {
|
|
3800
|
+
return (options.client ?? _heyApiClient).get<SearchEntity_Response, unknown, ThrowOnError>({
|
|
3801
3801
|
security: [
|
|
3802
3802
|
{
|
|
3803
3803
|
name: 'Authorization',
|
|
@@ -3813,8 +3813,8 @@ export const searchEntity = <ThrowOnError extends boolean = false>(options: Opti
|
|
|
3813
3813
|
* List all the versions of all documents available to you
|
|
3814
3814
|
* List all the versions of all documents available to you.
|
|
3815
3815
|
*/
|
|
3816
|
-
export const listDocumentsVersionsSummary = <ThrowOnError extends boolean = false>(options: Options<
|
|
3817
|
-
return (options.client ?? _heyApiClient).get<
|
|
3816
|
+
export const listDocumentsVersionsSummary = <ThrowOnError extends boolean = false>(options: Options<ListDocumentsVersionsSummary_Data, ThrowOnError>) => {
|
|
3817
|
+
return (options.client ?? _heyApiClient).get<ListDocumentsVersionsSummary_Response, unknown, ThrowOnError>({
|
|
3818
3818
|
security: [
|
|
3819
3819
|
{
|
|
3820
3820
|
name: 'Authorization',
|
|
@@ -3830,8 +3830,8 @@ export const listDocumentsVersionsSummary = <ThrowOnError extends boolean = fals
|
|
|
3830
3830
|
* Retract an invitation to negotiate
|
|
3831
3831
|
* Cancels an unaccepted invitation to negotiate, and creates a new draft negotiation containing the same values so that errors in the initial invitation can be corrected.
|
|
3832
3832
|
*/
|
|
3833
|
-
export const retract = <ThrowOnError extends boolean = false>(options: Options<
|
|
3834
|
-
return (options.client ?? _heyApiClient).put<
|
|
3833
|
+
export const retract = <ThrowOnError extends boolean = false>(options: Options<Retract_Data, ThrowOnError>) => {
|
|
3834
|
+
return (options.client ?? _heyApiClient).put<Retract_Response, unknown, ThrowOnError>({
|
|
3835
3835
|
security: [
|
|
3836
3836
|
{
|
|
3837
3837
|
name: 'Authorization',
|
|
@@ -3851,8 +3851,8 @@ export const retract = <ThrowOnError extends boolean = false>(options: Options<R
|
|
|
3851
3851
|
* Accept the previous positions for all elections of a negotiation at the specified version
|
|
3852
3852
|
* Accept the previous positions for all elections of a negotiation at the specified version.
|
|
3853
3853
|
*/
|
|
3854
|
-
export const acceptAllPositionsFromPreviousVersion = <ThrowOnError extends boolean = false>(options: Options<
|
|
3855
|
-
return (options.client ?? _heyApiClient).put<
|
|
3854
|
+
export const acceptAllPositionsFromPreviousVersion = <ThrowOnError extends boolean = false>(options: Options<AcceptAllPositionsFromPreviousVersion_Data, ThrowOnError>) => {
|
|
3855
|
+
return (options.client ?? _heyApiClient).put<AcceptAllPositionsFromPreviousVersion_Response, unknown, ThrowOnError>({
|
|
3856
3856
|
security: [
|
|
3857
3857
|
{
|
|
3858
3858
|
name: 'Authorization',
|
|
@@ -3868,8 +3868,8 @@ export const acceptAllPositionsFromPreviousVersion = <ThrowOnError extends boole
|
|
|
3868
3868
|
* Upload an execution attachment for a negotiation
|
|
3869
3869
|
* Upload an execution attachment for a negotiation.
|
|
3870
3870
|
*/
|
|
3871
|
-
export const renameExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3872
|
-
return (options.client ?? _heyApiClient).patch<
|
|
3871
|
+
export const renameExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<RenameExecutionAttachment_Data, ThrowOnError>) => {
|
|
3872
|
+
return (options.client ?? _heyApiClient).patch<RenameExecutionAttachment_Response, unknown, ThrowOnError>({
|
|
3873
3873
|
security: [
|
|
3874
3874
|
{
|
|
3875
3875
|
name: 'Authorization',
|
|
@@ -3885,8 +3885,8 @@ export const renameExecutionAttachment = <ThrowOnError extends boolean = false>(
|
|
|
3885
3885
|
* Get the value for a nested answer
|
|
3886
3886
|
* Get the value for a nested answer, used in umbrella agreements.
|
|
3887
3887
|
*/
|
|
3888
|
-
export const getNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
3889
|
-
return (options.client ?? _heyApiClient).get<
|
|
3888
|
+
export const getNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<GetNestedAnswers_Data, ThrowOnError>) => {
|
|
3889
|
+
return (options.client ?? _heyApiClient).get<GetNestedAnswers_Response, unknown, ThrowOnError>({
|
|
3890
3890
|
security: [
|
|
3891
3891
|
{
|
|
3892
3892
|
name: 'Authorization',
|
|
@@ -3902,8 +3902,8 @@ export const getNestedAnswers = <ThrowOnError extends boolean = false>(options:
|
|
|
3902
3902
|
* Sets the value for a nested answer
|
|
3903
3903
|
* Sets the value for a nested answer.
|
|
3904
3904
|
*/
|
|
3905
|
-
export const setNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
3906
|
-
return (options.client ?? _heyApiClient).put<
|
|
3905
|
+
export const setNestedAnswers = <ThrowOnError extends boolean = false>(options: Options<SetNestedAnswers_Data, ThrowOnError>) => {
|
|
3906
|
+
return (options.client ?? _heyApiClient).put<SetNestedAnswers_Response, unknown, ThrowOnError>({
|
|
3907
3907
|
security: [
|
|
3908
3908
|
{
|
|
3909
3909
|
name: 'Authorization',
|
|
@@ -3923,8 +3923,8 @@ export const setNestedAnswers = <ThrowOnError extends boolean = false>(options:
|
|
|
3923
3923
|
* Get information about a bulk set.
|
|
3924
3924
|
* Get information about a bulk set.
|
|
3925
3925
|
*/
|
|
3926
|
-
export const getBulkSet = <ThrowOnError extends boolean = false>(options: Options<
|
|
3927
|
-
return (options.client ?? _heyApiClient).get<
|
|
3926
|
+
export const getBulkSet = <ThrowOnError extends boolean = false>(options: Options<GetBulkSet_Data, ThrowOnError>) => {
|
|
3927
|
+
return (options.client ?? _heyApiClient).get<GetBulkSet_Response, unknown, ThrowOnError>({
|
|
3928
3928
|
security: [
|
|
3929
3929
|
{
|
|
3930
3930
|
name: 'Authorization',
|
|
@@ -3940,8 +3940,8 @@ export const getBulkSet = <ThrowOnError extends boolean = false>(options: Option
|
|
|
3940
3940
|
* List execution attachments for a negotiation
|
|
3941
3941
|
* List execution attachments for a negotiation.
|
|
3942
3942
|
*/
|
|
3943
|
-
export const listExecutionAttachments = <ThrowOnError extends boolean = false>(options: Options<
|
|
3944
|
-
return (options.client ?? _heyApiClient).get<
|
|
3943
|
+
export const listExecutionAttachments = <ThrowOnError extends boolean = false>(options: Options<ListExecutionAttachments_Data, ThrowOnError>) => {
|
|
3944
|
+
return (options.client ?? _heyApiClient).get<ListExecutionAttachments_Response, unknown, ThrowOnError>({
|
|
3945
3945
|
security: [
|
|
3946
3946
|
{
|
|
3947
3947
|
name: 'Authorization',
|
|
@@ -3957,8 +3957,8 @@ export const listExecutionAttachments = <ThrowOnError extends boolean = false>(o
|
|
|
3957
3957
|
* Upload one or more execution attachments for a negotiation
|
|
3958
3958
|
* Upload one or more execution attachments for a negotiation.
|
|
3959
3959
|
*/
|
|
3960
|
-
export const setExecutionAttachments = <ThrowOnError extends boolean = false>(options: Options<
|
|
3961
|
-
return (options.client ?? _heyApiClient).post<
|
|
3960
|
+
export const setExecutionAttachments = <ThrowOnError extends boolean = false>(options: Options<SetExecutionAttachments_Data, ThrowOnError>) => {
|
|
3961
|
+
return (options.client ?? _heyApiClient).post<SetExecutionAttachments_Response, unknown, ThrowOnError>({
|
|
3962
3962
|
...formDataBodySerializer,
|
|
3963
3963
|
security: [
|
|
3964
3964
|
{
|
|
@@ -3979,8 +3979,8 @@ export const setExecutionAttachments = <ThrowOnError extends boolean = false>(op
|
|
|
3979
3979
|
* Upload an execution attachment for a negotiation
|
|
3980
3980
|
* Upload an execution attachment for a negotiation.
|
|
3981
3981
|
*/
|
|
3982
|
-
export const setExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<
|
|
3983
|
-
return (options.client ?? _heyApiClient).put<
|
|
3982
|
+
export const setExecutionAttachment = <ThrowOnError extends boolean = false>(options: Options<SetExecutionAttachment_Data, ThrowOnError>) => {
|
|
3983
|
+
return (options.client ?? _heyApiClient).put<SetExecutionAttachment_Response, unknown, ThrowOnError>({
|
|
3984
3984
|
security: [
|
|
3985
3985
|
{
|
|
3986
3986
|
name: 'Authorization',
|
|
@@ -4000,8 +4000,8 @@ export const setExecutionAttachment = <ThrowOnError extends boolean = false>(opt
|
|
|
4000
4000
|
* Determine whether an executed version has been generated, or not
|
|
4001
4001
|
* Determine whether an executed version has been generated, or not.
|
|
4002
4002
|
*/
|
|
4003
|
-
export const checkSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<
|
|
4004
|
-
return (options.client ?? _heyApiClient).get<
|
|
4003
|
+
export const checkSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<CheckSignedExecutedVersion_Data, ThrowOnError>) => {
|
|
4004
|
+
return (options.client ?? _heyApiClient).get<CheckSignedExecutedVersion_Response, unknown, ThrowOnError>({
|
|
4005
4005
|
security: [
|
|
4006
4006
|
{
|
|
4007
4007
|
name: 'Authorization',
|
|
@@ -4017,8 +4017,8 @@ export const checkSignedExecutedVersion = <ThrowOnError extends boolean = false>
|
|
|
4017
4017
|
* View an election analytics report for all negotiations that you can access in a Sub-Account
|
|
4018
4018
|
* View an election analytics report for all negotiations that you can access in a Sub-Account.
|
|
4019
4019
|
*/
|
|
4020
|
-
export const getDownloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
4021
|
-
return (options.client ?? _heyApiClient).get<
|
|
4020
|
+
export const getDownloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<GetDownloadActiveNegotiationsReportAsExcel_Data, ThrowOnError>) => {
|
|
4021
|
+
return (options.client ?? _heyApiClient).get<GetDownloadActiveNegotiationsReportAsExcel_Response, unknown, ThrowOnError>({
|
|
4022
4022
|
security: [
|
|
4023
4023
|
{
|
|
4024
4024
|
name: 'Authorization',
|
|
@@ -4034,8 +4034,8 @@ export const getDownloadActiveNegotiationsReportAsExcel = <ThrowOnError extends
|
|
|
4034
4034
|
* View an election analytics report for all negotiations that you can access in a Sub-Account
|
|
4035
4035
|
* View an election analytics report for all negotiations that you can access in a Sub-Account.
|
|
4036
4036
|
*/
|
|
4037
|
-
export const downloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<
|
|
4038
|
-
return (options.client ?? _heyApiClient).post<
|
|
4037
|
+
export const downloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boolean = false>(options: Options<DownloadActiveNegotiationsReportAsExcel_Data, ThrowOnError>) => {
|
|
4038
|
+
return (options.client ?? _heyApiClient).post<DownloadActiveNegotiationsReportAsExcel_Response, unknown, ThrowOnError>({
|
|
4039
4039
|
security: [
|
|
4040
4040
|
{
|
|
4041
4041
|
name: 'Authorization',
|
|
@@ -4055,8 +4055,8 @@ export const downloadActiveNegotiationsReportAsExcel = <ThrowOnError extends boo
|
|
|
4055
4055
|
* Set one or more counterparties for a negotiation
|
|
4056
4056
|
* Set one or more counterparties for a negotiation.
|
|
4057
4057
|
*/
|
|
4058
|
-
export const setCounterparties = <ThrowOnError extends boolean = false>(options: Options<
|
|
4059
|
-
return (options.client ?? _heyApiClient).put<
|
|
4058
|
+
export const setCounterparties = <ThrowOnError extends boolean = false>(options: Options<SetCounterparties_Data, ThrowOnError>) => {
|
|
4059
|
+
return (options.client ?? _heyApiClient).put<SetCounterparties_Response, unknown, ThrowOnError>({
|
|
4060
4060
|
security: [
|
|
4061
4061
|
{
|
|
4062
4062
|
name: 'Authorization',
|
|
@@ -4076,8 +4076,8 @@ export const setCounterparties = <ThrowOnError extends boolean = false>(options:
|
|
|
4076
4076
|
* View aggregate statistics for a Sub-Account
|
|
4077
4077
|
* View aggregate statistics for a Sub-Account.
|
|
4078
4078
|
*/
|
|
4079
|
-
export const getLegacyStatistics = <ThrowOnError extends boolean = false>(options: Options<
|
|
4080
|
-
return (options.client ?? _heyApiClient).get<
|
|
4079
|
+
export const getLegacyStatistics = <ThrowOnError extends boolean = false>(options: Options<GetLegacyStatistics_Data, ThrowOnError>) => {
|
|
4080
|
+
return (options.client ?? _heyApiClient).get<GetLegacyStatistics_Response, unknown, ThrowOnError>({
|
|
4081
4081
|
security: [
|
|
4082
4082
|
{
|
|
4083
4083
|
name: 'Authorization',
|
|
@@ -4093,7 +4093,7 @@ export const getLegacyStatistics = <ThrowOnError extends boolean = false>(option
|
|
|
4093
4093
|
* View a negotiation's timeline, including comments
|
|
4094
4094
|
* View a negotiation's timeline, including comments.
|
|
4095
4095
|
*/
|
|
4096
|
-
export const getChannelTimeline = <ThrowOnError extends boolean = false>(options: Options<
|
|
4096
|
+
export const getChannelTimeline = <ThrowOnError extends boolean = false>(options: Options<GetChannelTimeline_Data, ThrowOnError>) => {
|
|
4097
4097
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
4098
4098
|
security: [
|
|
4099
4099
|
{
|
|
@@ -4110,8 +4110,8 @@ export const getChannelTimeline = <ThrowOnError extends boolean = false>(options
|
|
|
4110
4110
|
* See whether CDM is supported for a given document schema
|
|
4111
4111
|
* See whether CDM is supported for a given document schema.
|
|
4112
4112
|
*/
|
|
4113
|
-
export const schemaAvailableAsCdm = <ThrowOnError extends boolean = false>(options: Options<
|
|
4114
|
-
return (options.client ?? _heyApiClient).get<
|
|
4113
|
+
export const schemaAvailableAsCdm = <ThrowOnError extends boolean = false>(options: Options<SchemaAvailableAsCdm_Data, ThrowOnError>) => {
|
|
4114
|
+
return (options.client ?? _heyApiClient).get<SchemaAvailableAsCdm_Response, unknown, ThrowOnError>({
|
|
4115
4115
|
security: [
|
|
4116
4116
|
{
|
|
4117
4117
|
name: 'Authorization',
|
|
@@ -4127,7 +4127,7 @@ export const schemaAvailableAsCdm = <ThrowOnError extends boolean = false>(optio
|
|
|
4127
4127
|
* Revoke access of client account from CreateiQ Support
|
|
4128
4128
|
* Revoke access of client account from CreateiQ Support.
|
|
4129
4129
|
*/
|
|
4130
|
-
export const revokeWindow = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4130
|
+
export const revokeWindow = <ThrowOnError extends boolean = false>(options?: Options<RevokeWindow_Data, ThrowOnError>) => {
|
|
4131
4131
|
return (options?.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
4132
4132
|
security: [
|
|
4133
4133
|
{
|
|
@@ -4144,8 +4144,8 @@ export const revokeWindow = <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
4144
4144
|
* Provides expiry time of CreateiQ Support access for a client account
|
|
4145
4145
|
* Provides expiry time of CreateiQ Support access for a client account.
|
|
4146
4146
|
*/
|
|
4147
|
-
export const getWindow = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4148
|
-
return (options?.client ?? _heyApiClient).get<
|
|
4147
|
+
export const getWindow = <ThrowOnError extends boolean = false>(options?: Options<GetWindow_Data, ThrowOnError>) => {
|
|
4148
|
+
return (options?.client ?? _heyApiClient).get<GetWindow_Response, unknown, ThrowOnError>({
|
|
4149
4149
|
security: [
|
|
4150
4150
|
{
|
|
4151
4151
|
name: 'Authorization',
|
|
@@ -4161,8 +4161,8 @@ export const getWindow = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
4161
4161
|
* Grants access of client account to CreateiQ Support for 24 hours
|
|
4162
4162
|
* Grants access of client account to CreateiQ Support for 24 hours.
|
|
4163
4163
|
*/
|
|
4164
|
-
export const grantWindow = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4165
|
-
return (options?.client ?? _heyApiClient).post<
|
|
4164
|
+
export const grantWindow = <ThrowOnError extends boolean = false>(options?: Options<GrantWindow_Data, ThrowOnError>) => {
|
|
4165
|
+
return (options?.client ?? _heyApiClient).post<GrantWindow_Response, unknown, ThrowOnError>({
|
|
4166
4166
|
security: [
|
|
4167
4167
|
{
|
|
4168
4168
|
name: 'Authorization',
|
|
@@ -4178,8 +4178,8 @@ export const grantWindow = <ThrowOnError extends boolean = false>(options?: Opti
|
|
|
4178
4178
|
* Extends access of client account to CreateiQ Support by 24 hours. The maximum duration to which support access can be granted is one week
|
|
4179
4179
|
* Extends access of client account to CreateiQ Support by 24 hours. The maximum duration to which support access can be granted is one week.
|
|
4180
4180
|
*/
|
|
4181
|
-
export const extendWindow = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4182
|
-
return (options?.client ?? _heyApiClient).put<
|
|
4181
|
+
export const extendWindow = <ThrowOnError extends boolean = false>(options?: Options<ExtendWindow_Data, ThrowOnError>) => {
|
|
4182
|
+
return (options?.client ?? _heyApiClient).put<ExtendWindow_Response, unknown, ThrowOnError>({
|
|
4183
4183
|
security: [
|
|
4184
4184
|
{
|
|
4185
4185
|
name: 'Authorization',
|
|
@@ -4195,8 +4195,8 @@ export const extendWindow = <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
4195
4195
|
* Delete an offline negotiated document from a negotiation
|
|
4196
4196
|
* Delete an offline negotiated document from a negotiation.
|
|
4197
4197
|
*/
|
|
4198
|
-
export const deleteOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
4199
|
-
return (options.client ?? _heyApiClient).delete<
|
|
4198
|
+
export const deleteOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<DeleteOfflineNegotiatedDocument_Data, ThrowOnError>) => {
|
|
4199
|
+
return (options.client ?? _heyApiClient).delete<DeleteOfflineNegotiatedDocument_Response, unknown, ThrowOnError>({
|
|
4200
4200
|
security: [
|
|
4201
4201
|
{
|
|
4202
4202
|
name: 'Authorization',
|
|
@@ -4212,8 +4212,8 @@ export const deleteOfflineNegotiatedDocument = <ThrowOnError extends boolean = f
|
|
|
4212
4212
|
* Download an uploaded offline negotiated document for a negotiation
|
|
4213
4213
|
* Download an uploaded offline negotiated document for a negotiation.
|
|
4214
4214
|
*/
|
|
4215
|
-
export const getOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
4216
|
-
return (options.client ?? _heyApiClient).get<
|
|
4215
|
+
export const getOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<GetOfflineNegotiatedDocument_Data, ThrowOnError>) => {
|
|
4216
|
+
return (options.client ?? _heyApiClient).get<GetOfflineNegotiatedDocument_Response, unknown, ThrowOnError>({
|
|
4217
4217
|
security: [
|
|
4218
4218
|
{
|
|
4219
4219
|
name: 'Authorization',
|
|
@@ -4229,8 +4229,8 @@ export const getOfflineNegotiatedDocument = <ThrowOnError extends boolean = fals
|
|
|
4229
4229
|
* Upload an offline negotiated document for a negotiation
|
|
4230
4230
|
* Upload an offline negotiated document for a negotiation.
|
|
4231
4231
|
*/
|
|
4232
|
-
export const setOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
4233
|
-
return (options.client ?? _heyApiClient).put<
|
|
4232
|
+
export const setOfflineNegotiatedDocument = <ThrowOnError extends boolean = false>(options: Options<SetOfflineNegotiatedDocument_Data, ThrowOnError>) => {
|
|
4233
|
+
return (options.client ?? _heyApiClient).put<SetOfflineNegotiatedDocument_Response, unknown, ThrowOnError>({
|
|
4234
4234
|
security: [
|
|
4235
4235
|
{
|
|
4236
4236
|
name: 'Authorization',
|
|
@@ -4250,8 +4250,8 @@ export const setOfflineNegotiatedDocument = <ThrowOnError extends boolean = fals
|
|
|
4250
4250
|
* Delete an executed version from a negotiation
|
|
4251
4251
|
* Delete an executed version from a negotiation.
|
|
4252
4252
|
*/
|
|
4253
|
-
export const deleteSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<
|
|
4254
|
-
return (options.client ?? _heyApiClient).delete<
|
|
4253
|
+
export const deleteSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<DeleteSignedExecutedVersion_Data, ThrowOnError>) => {
|
|
4254
|
+
return (options.client ?? _heyApiClient).delete<DeleteSignedExecutedVersion_Response, unknown, ThrowOnError>({
|
|
4255
4255
|
security: [
|
|
4256
4256
|
{
|
|
4257
4257
|
name: 'Authorization',
|
|
@@ -4267,8 +4267,8 @@ export const deleteSignedExecutedVersion = <ThrowOnError extends boolean = false
|
|
|
4267
4267
|
* Download the executed version of a negotiation as a PDF
|
|
4268
4268
|
* Download the executed version of a negotiation as a PDF.
|
|
4269
4269
|
*/
|
|
4270
|
-
export const getSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<
|
|
4271
|
-
return (options.client ?? _heyApiClient).get<
|
|
4270
|
+
export const getSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<GetSignedExecutedVersion_Data, ThrowOnError>) => {
|
|
4271
|
+
return (options.client ?? _heyApiClient).get<GetSignedExecutedVersion_Response, unknown, ThrowOnError>({
|
|
4272
4272
|
security: [
|
|
4273
4273
|
{
|
|
4274
4274
|
name: 'Authorization',
|
|
@@ -4284,8 +4284,8 @@ export const getSignedExecutedVersion = <ThrowOnError extends boolean = false>(o
|
|
|
4284
4284
|
* Upload an executed version for a negotiation
|
|
4285
4285
|
* Upload an executed version for a negotiation.
|
|
4286
4286
|
*/
|
|
4287
|
-
export const setSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<
|
|
4288
|
-
return (options.client ?? _heyApiClient).put<
|
|
4287
|
+
export const setSignedExecutedVersion = <ThrowOnError extends boolean = false>(options: Options<SetSignedExecutedVersion_Data, ThrowOnError>) => {
|
|
4288
|
+
return (options.client ?? _heyApiClient).put<SetSignedExecutedVersion_Response, unknown, ThrowOnError>({
|
|
4289
4289
|
security: [
|
|
4290
4290
|
{
|
|
4291
4291
|
name: 'Authorization',
|
|
@@ -4305,8 +4305,8 @@ export const setSignedExecutedVersion = <ThrowOnError extends boolean = false>(o
|
|
|
4305
4305
|
* Delete the cover note for the bulk set.
|
|
4306
4306
|
* Delete the cover note for the bulk set.
|
|
4307
4307
|
*/
|
|
4308
|
-
export const deleteCoverNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
4309
|
-
return (options.client ?? _heyApiClient).delete<
|
|
4308
|
+
export const deleteCoverNote = <ThrowOnError extends boolean = false>(options: Options<DeleteCoverNote_Data, ThrowOnError>) => {
|
|
4309
|
+
return (options.client ?? _heyApiClient).delete<DeleteCoverNote_Response, unknown, ThrowOnError>({
|
|
4310
4310
|
security: [
|
|
4311
4311
|
{
|
|
4312
4312
|
name: 'Authorization',
|
|
@@ -4322,8 +4322,8 @@ export const deleteCoverNote = <ThrowOnError extends boolean = false>(options: O
|
|
|
4322
4322
|
* Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
|
|
4323
4323
|
* Add a cover note for the bulk set that will be sent to each recipient when the bulk set is sent.
|
|
4324
4324
|
*/
|
|
4325
|
-
export const updateCoverNote = <ThrowOnError extends boolean = false>(options: Options<
|
|
4326
|
-
return (options.client ?? _heyApiClient).put<
|
|
4325
|
+
export const updateCoverNote = <ThrowOnError extends boolean = false>(options: Options<UpdateCoverNote_Data, ThrowOnError>) => {
|
|
4326
|
+
return (options.client ?? _heyApiClient).put<UpdateCoverNote_Response, unknown, ThrowOnError>({
|
|
4327
4327
|
security: [
|
|
4328
4328
|
{
|
|
4329
4329
|
name: 'Authorization',
|
|
@@ -4343,8 +4343,8 @@ export const updateCoverNote = <ThrowOnError extends boolean = false>(options: O
|
|
|
4343
4343
|
* Send a negotiation to all counterparties for the first time
|
|
4344
4344
|
* Send a negotiation to all counterparties for the first time.
|
|
4345
4345
|
*/
|
|
4346
|
-
export const sendToCounterpartyInitial = <ThrowOnError extends boolean = false>(options: Options<
|
|
4347
|
-
return (options.client ?? _heyApiClient).put<
|
|
4346
|
+
export const sendToCounterpartyInitial = <ThrowOnError extends boolean = false>(options: Options<SendToCounterpartyInitial_Data, ThrowOnError>) => {
|
|
4347
|
+
return (options.client ?? _heyApiClient).put<SendToCounterpartyInitial_Response, unknown, ThrowOnError>({
|
|
4348
4348
|
security: [
|
|
4349
4349
|
{
|
|
4350
4350
|
name: 'Authorization',
|
|
@@ -4364,8 +4364,8 @@ export const sendToCounterpartyInitial = <ThrowOnError extends boolean = false>(
|
|
|
4364
4364
|
* Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user
|
|
4365
4365
|
* Enqueues a job to generate negotiation document and sends it as an email attachment to the reqeusting user.
|
|
4366
4366
|
*/
|
|
4367
|
-
export const queueGenerateNegotiationDocumentJob = <ThrowOnError extends boolean = false>(options: Options<
|
|
4368
|
-
return (options.client ?? _heyApiClient).post<
|
|
4367
|
+
export const queueGenerateNegotiationDocumentJob = <ThrowOnError extends boolean = false>(options: Options<QueueGenerateNegotiationDocumentJob_Data, ThrowOnError>) => {
|
|
4368
|
+
return (options.client ?? _heyApiClient).post<QueueGenerateNegotiationDocumentJob_Response, unknown, ThrowOnError>({
|
|
4369
4369
|
security: [
|
|
4370
4370
|
{
|
|
4371
4371
|
name: 'Authorization',
|
|
@@ -4385,8 +4385,8 @@ export const queueGenerateNegotiationDocumentJob = <ThrowOnError extends boolean
|
|
|
4385
4385
|
* Download unsigned signature page for a party as a PDF
|
|
4386
4386
|
* Download unsigned signature page for a party as a PDF.
|
|
4387
4387
|
*/
|
|
4388
|
-
export const createSignaturePagePdf = <ThrowOnError extends boolean = false>(options: Options<
|
|
4389
|
-
return (options.client ?? _heyApiClient).get<
|
|
4388
|
+
export const createSignaturePagePdf = <ThrowOnError extends boolean = false>(options: Options<CreateSignaturePagePdf_Data, ThrowOnError>) => {
|
|
4389
|
+
return (options.client ?? _heyApiClient).get<CreateSignaturePagePdf_Response, unknown, ThrowOnError>({
|
|
4390
4390
|
security: [
|
|
4391
4391
|
{
|
|
4392
4392
|
name: 'Authorization',
|
|
@@ -4402,8 +4402,8 @@ export const createSignaturePagePdf = <ThrowOnError extends boolean = false>(opt
|
|
|
4402
4402
|
* Create a new version of this preset with the latest schema
|
|
4403
4403
|
* Create a new version of this preset with the latest schema.
|
|
4404
4404
|
*/
|
|
4405
|
-
export const upgradePresetSchema = <ThrowOnError extends boolean = false>(options: Options<
|
|
4406
|
-
return (options.client ?? _heyApiClient).put<
|
|
4405
|
+
export const upgradePresetSchema = <ThrowOnError extends boolean = false>(options: Options<UpgradePresetSchema_Data, ThrowOnError>) => {
|
|
4406
|
+
return (options.client ?? _heyApiClient).put<UpgradePresetSchema_Response, unknown, ThrowOnError>({
|
|
4407
4407
|
security: [
|
|
4408
4408
|
{
|
|
4409
4409
|
name: 'Authorization',
|
|
@@ -4419,8 +4419,8 @@ export const upgradePresetSchema = <ThrowOnError extends boolean = false>(option
|
|
|
4419
4419
|
* Render a preview of the document template for the specified schema version
|
|
4420
4420
|
* Render a preview of the document template for the specified schema version.
|
|
4421
4421
|
*/
|
|
4422
|
-
export const documentRenderTemplate = <ThrowOnError extends boolean = false>(options: Options<
|
|
4423
|
-
return (options.client ?? _heyApiClient).get<
|
|
4422
|
+
export const documentRenderTemplate = <ThrowOnError extends boolean = false>(options: Options<DocumentRenderTemplate_Data, ThrowOnError>) => {
|
|
4423
|
+
return (options.client ?? _heyApiClient).get<DocumentRenderTemplate_Response, unknown, ThrowOnError>({
|
|
4424
4424
|
security: [
|
|
4425
4425
|
{
|
|
4426
4426
|
name: 'Authorization',
|
|
@@ -4436,8 +4436,8 @@ export const documentRenderTemplate = <ThrowOnError extends boolean = false>(opt
|
|
|
4436
4436
|
* Get a list of all the relationships where a user is an advisor or is a client in a given account
|
|
4437
4437
|
* Get a list of all the relationships where a user is an advisor or is a client in a given account.
|
|
4438
4438
|
*/
|
|
4439
|
-
export const getAccountRelationshipSummaries = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4440
|
-
return (options?.client ?? _heyApiClient).get<
|
|
4439
|
+
export const getAccountRelationshipSummaries = <ThrowOnError extends boolean = false>(options?: Options<GetAccountRelationshipSummaries_Data, ThrowOnError>) => {
|
|
4440
|
+
return (options?.client ?? _heyApiClient).get<GetAccountRelationshipSummaries_Response, unknown, ThrowOnError>({
|
|
4441
4441
|
security: [
|
|
4442
4442
|
{
|
|
4443
4443
|
name: 'Authorization',
|
|
@@ -4453,8 +4453,8 @@ export const getAccountRelationshipSummaries = <ThrowOnError extends boolean = f
|
|
|
4453
4453
|
* Render a preview of the document template using the current answers
|
|
4454
4454
|
* Render a preview of the document template using the current answers.
|
|
4455
4455
|
*/
|
|
4456
|
-
export const presetRenderTemplate = <ThrowOnError extends boolean = false>(options: Options<
|
|
4457
|
-
return (options.client ?? _heyApiClient).get<
|
|
4456
|
+
export const presetRenderTemplate = <ThrowOnError extends boolean = false>(options: Options<PresetRenderTemplate_Data, ThrowOnError>) => {
|
|
4457
|
+
return (options.client ?? _heyApiClient).get<PresetRenderTemplate_Response, unknown, ThrowOnError>({
|
|
4458
4458
|
security: [
|
|
4459
4459
|
{
|
|
4460
4460
|
name: 'Authorization',
|
|
@@ -4470,8 +4470,8 @@ export const presetRenderTemplate = <ThrowOnError extends boolean = false>(optio
|
|
|
4470
4470
|
* Add an internal or external comment on a negotiation
|
|
4471
4471
|
* Add an internal or external comment on a negotiation.
|
|
4472
4472
|
*/
|
|
4473
|
-
export const addComment = <ThrowOnError extends boolean = false>(options: Options<
|
|
4474
|
-
return (options.client ?? _heyApiClient).post<
|
|
4473
|
+
export const addComment = <ThrowOnError extends boolean = false>(options: Options<AddComment_Data, ThrowOnError>) => {
|
|
4474
|
+
return (options.client ?? _heyApiClient).post<AddComment_Response, unknown, ThrowOnError>({
|
|
4475
4475
|
security: [
|
|
4476
4476
|
{
|
|
4477
4477
|
name: 'Authorization',
|
|
@@ -4491,8 +4491,8 @@ export const addComment = <ThrowOnError extends boolean = false>(options: Option
|
|
|
4491
4491
|
* Update the election-level approval rules for an election in a preset
|
|
4492
4492
|
* Update the election-level approval rules for an election in a preset.
|
|
4493
4493
|
*/
|
|
4494
|
-
export const presetSetElectionApproval = <ThrowOnError extends boolean = false>(options: Options<
|
|
4495
|
-
return (options.client ?? _heyApiClient).put<
|
|
4494
|
+
export const presetSetElectionApproval = <ThrowOnError extends boolean = false>(options: Options<PresetSetElectionApproval_Data, ThrowOnError>) => {
|
|
4495
|
+
return (options.client ?? _heyApiClient).put<PresetSetElectionApproval_Response, unknown, ThrowOnError>({
|
|
4496
4496
|
security: [
|
|
4497
4497
|
{
|
|
4498
4498
|
name: 'Authorization',
|
|
@@ -4512,8 +4512,8 @@ export const presetSetElectionApproval = <ThrowOnError extends boolean = false>(
|
|
|
4512
4512
|
* View the single sign-on settings for your account
|
|
4513
4513
|
* View the single sign-on settings for your account.
|
|
4514
4514
|
*/
|
|
4515
|
-
export const getSsoConfig = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4516
|
-
return (options?.client ?? _heyApiClient).get<
|
|
4515
|
+
export const getSsoConfig = <ThrowOnError extends boolean = false>(options?: Options<GetSsoConfig_Data, ThrowOnError>) => {
|
|
4516
|
+
return (options?.client ?? _heyApiClient).get<GetSsoConfig_Response, unknown, ThrowOnError>({
|
|
4517
4517
|
security: [
|
|
4518
4518
|
{
|
|
4519
4519
|
name: 'Authorization',
|
|
@@ -4529,8 +4529,8 @@ export const getSsoConfig = <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
4529
4529
|
* Update the custom fields for a negotiation
|
|
4530
4530
|
* Update the custom fields for a negotiation.
|
|
4531
4531
|
*/
|
|
4532
|
-
export const updateCustomFields = <ThrowOnError extends boolean = false>(options: Options<
|
|
4533
|
-
return (options.client ?? _heyApiClient).put<
|
|
4532
|
+
export const updateCustomFields = <ThrowOnError extends boolean = false>(options: Options<UpdateCustomFields_Data, ThrowOnError>) => {
|
|
4533
|
+
return (options.client ?? _heyApiClient).put<UpdateCustomFields_Response, unknown, ThrowOnError>({
|
|
4534
4534
|
security: [
|
|
4535
4535
|
{
|
|
4536
4536
|
name: 'Authorization',
|
|
@@ -4550,7 +4550,7 @@ export const updateCustomFields = <ThrowOnError extends boolean = false>(options
|
|
|
4550
4550
|
* Sends the approval reminder email to all approvers in a quorum for an election
|
|
4551
4551
|
* Sends the approval reminder email to all approvers in a quorum for an election.
|
|
4552
4552
|
*/
|
|
4553
|
-
export const sendElectionApprovalReminder = <ThrowOnError extends boolean = false>(options: Options<
|
|
4553
|
+
export const sendElectionApprovalReminder = <ThrowOnError extends boolean = false>(options: Options<SendElectionApprovalReminder_Data, ThrowOnError>) => {
|
|
4554
4554
|
return (options.client ?? _heyApiClient).put<unknown, unknown, ThrowOnError>({
|
|
4555
4555
|
security: [
|
|
4556
4556
|
{
|
|
@@ -4567,8 +4567,8 @@ export const sendElectionApprovalReminder = <ThrowOnError extends boolean = fals
|
|
|
4567
4567
|
* View metadata for an executed negotiation
|
|
4568
4568
|
* View metadata for an executed negotiation.
|
|
4569
4569
|
*/
|
|
4570
|
-
export const getExecutedNegotiationSummary = <ThrowOnError extends boolean = false>(options: Options<
|
|
4571
|
-
return (options.client ?? _heyApiClient).get<
|
|
4570
|
+
export const getExecutedNegotiationSummary = <ThrowOnError extends boolean = false>(options: Options<GetExecutedNegotiationSummary_Data, ThrowOnError>) => {
|
|
4571
|
+
return (options.client ?? _heyApiClient).get<GetExecutedNegotiationSummary_Response, unknown, ThrowOnError>({
|
|
4572
4572
|
security: [
|
|
4573
4573
|
{
|
|
4574
4574
|
name: 'Authorization',
|
|
@@ -4584,8 +4584,8 @@ export const getExecutedNegotiationSummary = <ThrowOnError extends boolean = fal
|
|
|
4584
4584
|
* Change your party in a negotiation (A->B or B->A)
|
|
4585
4585
|
* Change your party in a negotiation (A->B or B->A).
|
|
4586
4586
|
*/
|
|
4587
|
-
export const swapParties = <ThrowOnError extends boolean = false>(options: Options<
|
|
4588
|
-
return (options.client ?? _heyApiClient).put<
|
|
4587
|
+
export const swapParties = <ThrowOnError extends boolean = false>(options: Options<SwapParties_Data, ThrowOnError>) => {
|
|
4588
|
+
return (options.client ?? _heyApiClient).put<SwapParties_Response, unknown, ThrowOnError>({
|
|
4589
4589
|
security: [
|
|
4590
4590
|
{
|
|
4591
4591
|
name: 'Authorization',
|
|
@@ -4601,8 +4601,8 @@ export const swapParties = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
4601
4601
|
* Accept the counterparty position for a nested answer
|
|
4602
4602
|
* Accept the counterparty position for a nested answer.
|
|
4603
4603
|
*/
|
|
4604
|
-
export const acceptNestedAnswersCounterpartyPosition = <ThrowOnError extends boolean = false>(options: Options<
|
|
4605
|
-
return (options.client ?? _heyApiClient).put<
|
|
4604
|
+
export const acceptNestedAnswersCounterpartyPosition = <ThrowOnError extends boolean = false>(options: Options<AcceptNestedAnswersCounterpartyPosition_Data, ThrowOnError>) => {
|
|
4605
|
+
return (options.client ?? _heyApiClient).put<AcceptNestedAnswersCounterpartyPosition_Response, unknown, ThrowOnError>({
|
|
4606
4606
|
security: [
|
|
4607
4607
|
{
|
|
4608
4608
|
name: 'Authorization',
|
|
@@ -4618,8 +4618,8 @@ export const acceptNestedAnswersCounterpartyPosition = <ThrowOnError extends boo
|
|
|
4618
4618
|
* Upgrade the specified side's answers to the latest document schema
|
|
4619
4619
|
* Upgrade the specified side's answers to the latest document schema.
|
|
4620
4620
|
*/
|
|
4621
|
-
export const upgradeSchema = <ThrowOnError extends boolean = false>(options: Options<
|
|
4622
|
-
return (options.client ?? _heyApiClient).put<
|
|
4621
|
+
export const upgradeSchema = <ThrowOnError extends boolean = false>(options: Options<UpgradeSchema_Data, ThrowOnError>) => {
|
|
4622
|
+
return (options.client ?? _heyApiClient).put<UpgradeSchema_Response, unknown, ThrowOnError>({
|
|
4623
4623
|
security: [
|
|
4624
4624
|
{
|
|
4625
4625
|
name: 'Authorization',
|
|
@@ -4635,8 +4635,8 @@ export const upgradeSchema = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
4635
4635
|
* Update the attachDocx setting for all of the receivers, for every negotiation in the bulk set
|
|
4636
4636
|
* Update the attachDocx setting for all of the receivers, for every negotiation in the bulk set.
|
|
4637
4637
|
*/
|
|
4638
|
-
export const updateAttachDocx = <ThrowOnError extends boolean = false>(options: Options<
|
|
4639
|
-
return (options.client ?? _heyApiClient).put<
|
|
4638
|
+
export const updateAttachDocx = <ThrowOnError extends boolean = false>(options: Options<UpdateAttachDocx_Data, ThrowOnError>) => {
|
|
4639
|
+
return (options.client ?? _heyApiClient).put<UpdateAttachDocx_Response, unknown, ThrowOnError>({
|
|
4640
4640
|
security: [
|
|
4641
4641
|
{
|
|
4642
4642
|
name: 'Authorization',
|
|
@@ -4652,8 +4652,8 @@ export const updateAttachDocx = <ThrowOnError extends boolean = false>(options:
|
|
|
4652
4652
|
* View information about a specific entity
|
|
4653
4653
|
* View information about a specific entity.
|
|
4654
4654
|
*/
|
|
4655
|
-
export const getCompanyByEntityId = <ThrowOnError extends boolean = false>(options: Options<
|
|
4656
|
-
return (options.client ?? _heyApiClient).get<
|
|
4655
|
+
export const getCompanyByEntityId = <ThrowOnError extends boolean = false>(options: Options<GetCompanyByEntityId_Data, ThrowOnError>) => {
|
|
4656
|
+
return (options.client ?? _heyApiClient).get<GetCompanyByEntityId_Response, unknown, ThrowOnError>({
|
|
4657
4657
|
security: [
|
|
4658
4658
|
{
|
|
4659
4659
|
name: 'Authorization',
|
|
@@ -4669,7 +4669,7 @@ export const getCompanyByEntityId = <ThrowOnError extends boolean = false>(optio
|
|
|
4669
4669
|
* Delete drafting notes of a document
|
|
4670
4670
|
* Delete drafting notes of a document.
|
|
4671
4671
|
*/
|
|
4672
|
-
export const deleteDraftingNotesDocument = <ThrowOnError extends boolean = false>(options: Options<
|
|
4672
|
+
export const deleteDraftingNotesDocument = <ThrowOnError extends boolean = false>(options: Options<DeleteDraftingNotesDocument_Data, ThrowOnError>) => {
|
|
4673
4673
|
return (options.client ?? _heyApiClient).delete<unknown, unknown, ThrowOnError>({
|
|
4674
4674
|
security: [
|
|
4675
4675
|
{
|
|
@@ -4686,8 +4686,8 @@ export const deleteDraftingNotesDocument = <ThrowOnError extends boolean = false
|
|
|
4686
4686
|
* Get all drafting notes for a document
|
|
4687
4687
|
* Get all drafting notes for a document.
|
|
4688
4688
|
*/
|
|
4689
|
-
export const getDraftingNotes = <ThrowOnError extends boolean = false>(options: Options<
|
|
4690
|
-
return (options.client ?? _heyApiClient).get<
|
|
4689
|
+
export const getDraftingNotes = <ThrowOnError extends boolean = false>(options: Options<GetDraftingNotes_Data, ThrowOnError>) => {
|
|
4690
|
+
return (options.client ?? _heyApiClient).get<GetDraftingNotes_Response, unknown, ThrowOnError>({
|
|
4691
4691
|
security: [
|
|
4692
4692
|
{
|
|
4693
4693
|
name: 'Authorization',
|
|
@@ -4703,8 +4703,8 @@ export const getDraftingNotes = <ThrowOnError extends boolean = false>(options:
|
|
|
4703
4703
|
* Update internal drafting notes in a document. These are not visible to counterparties when negotiating
|
|
4704
4704
|
* Update internal drafting notes in a document. These are not visible to counterparties when negotiating.
|
|
4705
4705
|
*/
|
|
4706
|
-
export const updateDraftingNotes = <ThrowOnError extends boolean = false>(options: Options<
|
|
4707
|
-
return (options.client ?? _heyApiClient).post<
|
|
4706
|
+
export const updateDraftingNotes = <ThrowOnError extends boolean = false>(options: Options<UpdateDraftingNotes_Data, ThrowOnError>) => {
|
|
4707
|
+
return (options.client ?? _heyApiClient).post<UpdateDraftingNotes_Response, unknown, ThrowOnError>({
|
|
4708
4708
|
security: [
|
|
4709
4709
|
{
|
|
4710
4710
|
name: 'Authorization',
|
|
@@ -4720,8 +4720,8 @@ export const updateDraftingNotes = <ThrowOnError extends boolean = false>(option
|
|
|
4720
4720
|
* Download the audit trail for a negotiation as a PDF
|
|
4721
4721
|
* Download the audit trail for a negotiation as a PDF.
|
|
4722
4722
|
*/
|
|
4723
|
-
export const createAuditTrailPdf = <ThrowOnError extends boolean = false>(options: Options<
|
|
4724
|
-
return (options.client ?? _heyApiClient).get<
|
|
4723
|
+
export const createAuditTrailPdf = <ThrowOnError extends boolean = false>(options: Options<CreateAuditTrailPdf_Data, ThrowOnError>) => {
|
|
4724
|
+
return (options.client ?? _heyApiClient).get<CreateAuditTrailPdf_Response, unknown, ThrowOnError>({
|
|
4725
4725
|
security: [
|
|
4726
4726
|
{
|
|
4727
4727
|
name: 'Authorization',
|
|
@@ -4737,8 +4737,8 @@ export const createAuditTrailPdf = <ThrowOnError extends boolean = false>(option
|
|
|
4737
4737
|
* List all extraction results that have been updated in the last hour for the given workspace
|
|
4738
4738
|
* List all extraction results that have been updated in the last hour for the given workspace.
|
|
4739
4739
|
*/
|
|
4740
|
-
export const listRecentExtractions = <ThrowOnError extends boolean = false>(options: Options<
|
|
4741
|
-
return (options.client ?? _heyApiClient).get<
|
|
4740
|
+
export const listRecentExtractions = <ThrowOnError extends boolean = false>(options: Options<ListRecentExtractions_Data, ThrowOnError>) => {
|
|
4741
|
+
return (options.client ?? _heyApiClient).get<ListRecentExtractions_Response, unknown, ThrowOnError>({
|
|
4742
4742
|
security: [
|
|
4743
4743
|
{
|
|
4744
4744
|
name: 'Authorization',
|
|
@@ -4754,8 +4754,8 @@ export const listRecentExtractions = <ThrowOnError extends boolean = false>(opti
|
|
|
4754
4754
|
* View the initial set of answers for a negotiation
|
|
4755
4755
|
* View the initial set of answers for a negotiation.
|
|
4756
4756
|
*/
|
|
4757
|
-
export const initialAnswers = <ThrowOnError extends boolean = false>(options: Options<
|
|
4758
|
-
return (options.client ?? _heyApiClient).get<
|
|
4757
|
+
export const initialAnswers = <ThrowOnError extends boolean = false>(options: Options<InitialAnswers_Data, ThrowOnError>) => {
|
|
4758
|
+
return (options.client ?? _heyApiClient).get<InitialAnswers_Response, unknown, ThrowOnError>({
|
|
4759
4759
|
security: [
|
|
4760
4760
|
{
|
|
4761
4761
|
name: 'Authorization',
|
|
@@ -4771,8 +4771,8 @@ export const initialAnswers = <ThrowOnError extends boolean = false>(options: Op
|
|
|
4771
4771
|
* Download the execution version of a negotiation as a DOCX or PDF
|
|
4772
4772
|
* Download the execution version of a negotiation as a DOCX or PDF.
|
|
4773
4773
|
*/
|
|
4774
|
-
export const downloadNegotiation = <ThrowOnError extends boolean = false>(options: Options<
|
|
4775
|
-
return (options.client ?? _heyApiClient).get<
|
|
4774
|
+
export const downloadNegotiation = <ThrowOnError extends boolean = false>(options: Options<DownloadNegotiation_Data, ThrowOnError>) => {
|
|
4775
|
+
return (options.client ?? _heyApiClient).get<DownloadNegotiation_Response, unknown, ThrowOnError>({
|
|
4776
4776
|
security: [
|
|
4777
4777
|
{
|
|
4778
4778
|
name: 'Authorization',
|
|
@@ -4788,7 +4788,7 @@ export const downloadNegotiation = <ThrowOnError extends boolean = false>(option
|
|
|
4788
4788
|
* View all timeline activities (non-comments) associated with a negotiation
|
|
4789
4789
|
* View all timeline activities (non-comments) associated with a negotiation.
|
|
4790
4790
|
*/
|
|
4791
|
-
export const getTimelineActivity = <ThrowOnError extends boolean = false>(options: Options<
|
|
4791
|
+
export const getTimelineActivity = <ThrowOnError extends boolean = false>(options: Options<GetTimelineActivity_Data, ThrowOnError>) => {
|
|
4792
4792
|
return (options.client ?? _heyApiClient).get<unknown, unknown, ThrowOnError>({
|
|
4793
4793
|
security: [
|
|
4794
4794
|
{
|
|
@@ -4805,8 +4805,8 @@ export const getTimelineActivity = <ThrowOnError extends boolean = false>(option
|
|
|
4805
4805
|
* View your user profile
|
|
4806
4806
|
* View your user profile.
|
|
4807
4807
|
*/
|
|
4808
|
-
export const getProfile = <ThrowOnError extends boolean = false>(options?: Options<
|
|
4809
|
-
return (options?.client ?? _heyApiClient).get<
|
|
4808
|
+
export const getProfile = <ThrowOnError extends boolean = false>(options?: Options<GetProfile_Data, ThrowOnError>) => {
|
|
4809
|
+
return (options?.client ?? _heyApiClient).get<GetProfile_Response, unknown, ThrowOnError>({
|
|
4810
4810
|
security: [
|
|
4811
4811
|
{
|
|
4812
4812
|
name: 'Authorization',
|