@createiq/backend 1.0.165 → 1.0.167

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/dist/index.mjs CHANGED
@@ -1982,6 +1982,23 @@ const getOtherPartyAnswers = (options) => (options.client ?? client).get({
1982
1982
  ...options
1983
1983
  });
1984
1984
  /**
1985
+ * Add negotiations to a negotiation package
1986
+ *
1987
+ * Adds negotiations to a negotiation package without removing its existing members.
1988
+ */
1989
+ const addPackageMembers = (options) => (options.client ?? client).put({
1990
+ security: [{
1991
+ name: "Authorization",
1992
+ type: "apiKey"
1993
+ }],
1994
+ url: "/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members/add",
1995
+ ...options,
1996
+ headers: {
1997
+ "Content-Type": "application/json",
1998
+ ...options.headers
1999
+ }
2000
+ });
2001
+ /**
1985
2002
  * Override approve an election
1986
2003
  *
1987
2004
  * Override approve an election.
@@ -2632,23 +2649,6 @@ const negotiationRenderTemplateAtVersion = (options) => (options.client ?? clien
2632
2649
  ...options
2633
2650
  });
2634
2651
  /**
2635
- * Overwrite the extraction election values (answers) of a negotiation
2636
- *
2637
- * Overwrite the extraction election values (answers) of a negotiation.
2638
- */
2639
- const updateUserAnswers = (options) => (options.client ?? client).put({
2640
- security: [{
2641
- name: "Authorization",
2642
- type: "apiKey"
2643
- }],
2644
- url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/answers",
2645
- ...options,
2646
- headers: {
2647
- "Content-Type": "application/json",
2648
- ...options.headers
2649
- }
2650
- });
2651
- /**
2652
2652
  * Get the per-version answer history for one nested answer
2653
2653
  *
2654
2654
  * Reconstructs the answer history for the specified nested answer across the whole negotiation from the stored negotiation versions. Versions where the nested answer does not exist are retained with empty answers, repeated values are collapsed to an `unchanged` marker, and every component includes its position status across the broadcast history. Status totals count every applicable component and text amendment in the response. Parties and negotiation state match the negotiation detail response.
@@ -2752,6 +2752,40 @@ const getMajorVersions = (options) => (options.client ?? client).get({
2752
2752
  ...options
2753
2753
  });
2754
2754
  /**
2755
+ * Overwrite the extraction election values (answers) of a negotiation
2756
+ *
2757
+ * Overwrite the extraction election values (answers) of a negotiation.
2758
+ */
2759
+ const updateUserAnswers = (options) => (options.client ?? client).put({
2760
+ security: [{
2761
+ name: "Authorization",
2762
+ type: "apiKey"
2763
+ }],
2764
+ url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/answers",
2765
+ ...options,
2766
+ headers: {
2767
+ "Content-Type": "application/json",
2768
+ ...options.headers
2769
+ }
2770
+ });
2771
+ /**
2772
+ * Remove negotiations from a negotiation package
2773
+ *
2774
+ * Removes negotiations from a negotiation package without changing its other members.
2775
+ */
2776
+ const removePackageMembers = (options) => (options.client ?? client).put({
2777
+ security: [{
2778
+ name: "Authorization",
2779
+ type: "apiKey"
2780
+ }],
2781
+ url: "/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members/remove",
2782
+ ...options,
2783
+ headers: {
2784
+ "Content-Type": "application/json",
2785
+ ...options.headers
2786
+ }
2787
+ });
2788
+ /**
2755
2789
  * Delete a document election level drafting note for the specified note type. Fails if note doesn't exists
2756
2790
  *
2757
2791
  * Delete a document election level drafting note for the specified note type. Fails if note doesn't exists.
@@ -3718,7 +3752,7 @@ const cancelNegotiations = (options) => (options.client ?? client).put({
3718
3752
  /**
3719
3753
  * Get the activity timeline for negotiation insights
3720
3754
  *
3721
- * Returns the negotiation's non-comment activity events grouped chronologically into major events and their minor children. The orderDirection parameter is retained for compatibility but ignored.
3755
+ * Returns the negotiation's non-comment activity events grouped chronologically into major events and their minor children, along with timeline statistics.
3722
3756
  */
3723
3757
  const getInsightsTimeline = (options) => (options.client ?? client).get({
3724
3758
  security: [{
@@ -5075,6 +5109,6 @@ const requestGuestElectionApproval = (options) => (options.client ?? client).put
5075
5109
  }
5076
5110
  });
5077
5111
  //#endregion
5078
- export { acceptAllCounterpartyPositions, acceptAllCustodianTemplatePositions, acceptAllEvents, acceptAllPositionsFromFork, acceptAllPositionsFromPreviousVersion, acceptAllPresetPositions, acceptCounterpartyPosition, acceptEvent, acceptNestedAnswersCounterpartyPosition, accountSummary, addApprovalComment, addComment, addElectionApproval, addElectionRejection, addWatchers, applyExtractedAnswers, approve, approveAccessRequest, approveFinalDocument, assignDraftPresetToMe, assignEntity, assignToMe, assignUser, auditTrailFilters, auditTrailForAccountAsJson, auditTrailForSubAccountAsJson, authPing, breakingChanges, bulkSetsJobCount, cancel, cancelExtraction, cancelGuestElectionApprovalRequest, cancelGuestFinalApprovalRequest, cancelNegotiations, cancelNegotiationsJobCount, changeSigningMode, checkAuxiliaryDocument, checkForBrokenApprovers, checkForBrokenGuestApprovalRequests, checkOfflineNegotiatedDocument, checkSignedExecutedVersion, checkSignedSignaturePagePdf, clonePreset, confirm, confirmExecutionVersion, consentCodeCallback, contactForNewApprover, createAuditTrailJson, createAuditTrailPdf, createAuditTrailXlsx, createBulkSet, createNegotiation, createPackage, createPackageWithDrafts, createPreset, createPresetAuditTrailJson, createPresetAuditTrailXlsx, createSignaturePagePdf, createSigningPack, deleteApprovalComment, deleteAuxiliaryDocument, deleteBulkSetAttachment, deleteComment, deleteCoverNote, deleteDocumentDraftingNote, deleteDocumentElectionDraftingNote, deleteDraftingNotesDocument, deleteEntity, deleteExecutionAttachment, deleteExternalAttachment, deleteGeneralCoverNote, deleteOfflineNegotiatedDocument, deletePreset, deleteSignedExecutedVersion, deleteSignedSignaturePageForParty, documentRenderTemplate, documentsFilter, downloadBlackline, downloadNegotiation, downloadPostExecutionPack, downloadPreExecutionCounterpartyNegotiation, downloadPreset, dryRunPackageWithDrafts, editAnswers, editApprovalComment, editDefaultAnswers, emailPreferences, extendWindow, fixApprovalRules, forkNegotiation, generateActiveNegotiationsReportAsExcel, generateAndMaybeSendEnvelope, generateAuditTrailForAccountAsExcel, generateAuditTrailForSubAccountAsExcel, generateCommentsReport, generateExecutedNegotiationsReportAsExcel, generateNegotiationsReport, getAccessibleNegotiation, getAccountRelationshipSummaries, getAdminLikeUsers, getAllVersions, getAmendDefaults, getAnnotatedOfflineNegotiatedDocument, getApprovalComments, getApprovalHistory, getApprovalRound, getAsCdm, getAuxiliaryDocument, getBulkSet, getBulkSetAttachment, getChannelTimeline, getCommentSummary, getComments, getCompanyByEntityId, getDocument, getDocumentSchema, getDownloadActiveNegotiationsReportAsExcel, getDownloadExecutedNegotiationsAsExcel, getDraftingNotes, getDraftingNotesDocument, getElectionAnswer, getElectionInsights, getEvents, getExecutedNegotiationSummary, getExecutionAttachment, getExternalAttachment, getExtractionResults, getInsightsTimeline, getLatestDocumentSchema, getLegacyStatistics, getMajorVersions, getMultipleNestedAnswers, getNegotiation, getNegotiationDeltas, getNegotiationDraftingNotes, getNegotiationESignStatus, getNegotiationElectionAmendValues, getNegotiationFilesSummary, getNegotiationInsights, getNegotiationNestedAmendValue, getNegotiationsPackage, getNestedAnswerInsights, getNestedAnswers, getOfflineNegotiatedDocument, getOfflineNegotiatedDocumentAnnotations, getOriginalAnswersForForkNegotiation, getOtherPartyAnswers, getPackageNames, getPartyAnswers, getPotentialReplacementApprovers, getPotentialUsers, getPreset, getPresetElectionAmendValues, getPresetNestedAmendValue, getPreviousActiveUsers, getPreviousMajorVersionsNestedAnswerElections, getPreviousMajorVersionsNestedAnswerIds, getProfile, getSecurityContext, getSettings, getSignedExecutedVersion, getSignedSignaturePagePdf, getSsoConfig, getStatistics, getStatisticsOverview, getSubAccount, getSubscribedPublishers, getTimeline, getTimelineActivity, getUserStatistics, getUsers, getUsersForPicker, getWatchers, getWindow, grantAllNegotiationsAccess, grantNegotiationsAccess, grantPresetsAccess, grantWindow, initialAnswers, listAdvisorsForWorkspace, listAllPresetsForSubAccountV1, listAllPresetsForSubAccountV2, listBulkSets, listDocuments, listDocumentsVersionsSummary, listDocumentsWithPagination, listEntities, listExecutionAttachments, listExternalAttachments, listNegotiations, listPotentialNegotiationAdvisors, listPotentialPresetAdvisors, listPresets, listRecentExtractions, listSubAccounts, markActivityEventsAsViewed, markApprovalCommentsAsViewed, markAsFinal, markAsOffline, markCommentEventsAsViewed, markEventsAsViewed, moveEntity, negotiationForkHistory, negotiationGetDocumentSchema, negotiationRenderCounterpartyTemplate, negotiationRenderCounterpartyTemplateAtVersion, negotiationRenderInitialAnswersTemplate, negotiationRenderPhaseOneTemplate, negotiationRenderTemplate, negotiationRenderTemplateAtVersion, negotiationSendForApproval, negotiationsFilter, notifyOfDraft, obtainConsent, overrideApproveFinalDocument, overrideElectionApproval, overrideElectionRejection, overrideRejectFinalDocument, patchAnswers, patchEmailPreferences, phase1Answers, presetEditAnswers, presetGetDocumentSchema, presetGetMultipleNestedAnswers, presetGetNestedAnswers, presetRenderTemplate, presetRequestApproval, presetSendForApproval, presetSetElectionApproval, presetSetFinalApproval, presetSetMultipleNestedAnswers, presetSetNestedAnswers, presetSwapParties, publisherSummaries, queueGenerateNegotiationDocumentJob, rejectAccessRequest, rejectAllEvents, rejectEvent, rejectFinalDocument, rejectPresetApproval, removeWatchers, renameExecutionAttachment, requestGuestElectionApproval, requestGuestFinalApproval, resetUserAnswers, retract, revertToAmending, revokeNegotiationsAccess, revokePresetsAccess, revokeWindow, scheduleExtraction, schemaAvailableAsCdm, searchEntity, sendBulkSetToCounterpartiesInitial, sendDocumentApprovalReminder, sendElectionApprovalReminder, sendManualReminderEmail, sendPackageToCounterparty, sendToCounterparty, sendToCounterpartyInitial, setAuxiliaryDocument, setBulkSetAttachments, setCounterparties, setElectionApproval, setExecutionAttachment, setExecutionAttachments, setExternalAttachment, setExternalAttachments, setFinalApproval, setGeneralCoverNote, setMultipleNestedAnswers, setNestedAnswers, setOfflineNegotiatedDocument, setOwnerEntity, setPackageParties, setPreset, setReceiverEntity, setSignedExecutedVersion, setSignedSignaturePageForParty, shareNegotiation, shareSubAccount, suggestPackageName, swapParties, syncFundList, syncNewApprover, unsubscribe, updateAttachDocx, updateComment, updateCommentReaction, updateCoverNote, updateCustomFields, updateDocumentDraftingNote, updateDocumentElectionDraftingNote, updateDraftingNotes, updateExtractionFeedback, updateMetadata, updateNegotiationsToMatch, updatePackageMembers, updatePackageName, updateSelectedElections, updateSubAccount, updateUserAnswers, upgradePresetSchema, upgradeSchema, uploadFundListSpreadsheet, usersWithNegotiationAccess, validateDraftReceiverEmails, validateEntities, version, voidESignEnvelopeForNegotiation };
5112
+ export { acceptAllCounterpartyPositions, acceptAllCustodianTemplatePositions, acceptAllEvents, acceptAllPositionsFromFork, acceptAllPositionsFromPreviousVersion, acceptAllPresetPositions, acceptCounterpartyPosition, acceptEvent, acceptNestedAnswersCounterpartyPosition, accountSummary, addApprovalComment, addComment, addElectionApproval, addElectionRejection, addPackageMembers, addWatchers, applyExtractedAnswers, approve, approveAccessRequest, approveFinalDocument, assignDraftPresetToMe, assignEntity, assignToMe, assignUser, auditTrailFilters, auditTrailForAccountAsJson, auditTrailForSubAccountAsJson, authPing, breakingChanges, bulkSetsJobCount, cancel, cancelExtraction, cancelGuestElectionApprovalRequest, cancelGuestFinalApprovalRequest, cancelNegotiations, cancelNegotiationsJobCount, changeSigningMode, checkAuxiliaryDocument, checkForBrokenApprovers, checkForBrokenGuestApprovalRequests, checkOfflineNegotiatedDocument, checkSignedExecutedVersion, checkSignedSignaturePagePdf, clonePreset, confirm, confirmExecutionVersion, consentCodeCallback, contactForNewApprover, createAuditTrailJson, createAuditTrailPdf, createAuditTrailXlsx, createBulkSet, createNegotiation, createPackage, createPackageWithDrafts, createPreset, createPresetAuditTrailJson, createPresetAuditTrailXlsx, createSignaturePagePdf, createSigningPack, deleteApprovalComment, deleteAuxiliaryDocument, deleteBulkSetAttachment, deleteComment, deleteCoverNote, deleteDocumentDraftingNote, deleteDocumentElectionDraftingNote, deleteDraftingNotesDocument, deleteEntity, deleteExecutionAttachment, deleteExternalAttachment, deleteGeneralCoverNote, deleteOfflineNegotiatedDocument, deletePreset, deleteSignedExecutedVersion, deleteSignedSignaturePageForParty, documentRenderTemplate, documentsFilter, downloadBlackline, downloadNegotiation, downloadPostExecutionPack, downloadPreExecutionCounterpartyNegotiation, downloadPreset, dryRunPackageWithDrafts, editAnswers, editApprovalComment, editDefaultAnswers, emailPreferences, extendWindow, fixApprovalRules, forkNegotiation, generateActiveNegotiationsReportAsExcel, generateAndMaybeSendEnvelope, generateAuditTrailForAccountAsExcel, generateAuditTrailForSubAccountAsExcel, generateCommentsReport, generateExecutedNegotiationsReportAsExcel, generateNegotiationsReport, getAccessibleNegotiation, getAccountRelationshipSummaries, getAdminLikeUsers, getAllVersions, getAmendDefaults, getAnnotatedOfflineNegotiatedDocument, getApprovalComments, getApprovalHistory, getApprovalRound, getAsCdm, getAuxiliaryDocument, getBulkSet, getBulkSetAttachment, getChannelTimeline, getCommentSummary, getComments, getCompanyByEntityId, getDocument, getDocumentSchema, getDownloadActiveNegotiationsReportAsExcel, getDownloadExecutedNegotiationsAsExcel, getDraftingNotes, getDraftingNotesDocument, getElectionAnswer, getElectionInsights, getEvents, getExecutedNegotiationSummary, getExecutionAttachment, getExternalAttachment, getExtractionResults, getInsightsTimeline, getLatestDocumentSchema, getLegacyStatistics, getMajorVersions, getMultipleNestedAnswers, getNegotiation, getNegotiationDeltas, getNegotiationDraftingNotes, getNegotiationESignStatus, getNegotiationElectionAmendValues, getNegotiationFilesSummary, getNegotiationInsights, getNegotiationNestedAmendValue, getNegotiationsPackage, getNestedAnswerInsights, getNestedAnswers, getOfflineNegotiatedDocument, getOfflineNegotiatedDocumentAnnotations, getOriginalAnswersForForkNegotiation, getOtherPartyAnswers, getPackageNames, getPartyAnswers, getPotentialReplacementApprovers, getPotentialUsers, getPreset, getPresetElectionAmendValues, getPresetNestedAmendValue, getPreviousActiveUsers, getPreviousMajorVersionsNestedAnswerElections, getPreviousMajorVersionsNestedAnswerIds, getProfile, getSecurityContext, getSettings, getSignedExecutedVersion, getSignedSignaturePagePdf, getSsoConfig, getStatistics, getStatisticsOverview, getSubAccount, getSubscribedPublishers, getTimeline, getTimelineActivity, getUserStatistics, getUsers, getUsersForPicker, getWatchers, getWindow, grantAllNegotiationsAccess, grantNegotiationsAccess, grantPresetsAccess, grantWindow, initialAnswers, listAdvisorsForWorkspace, listAllPresetsForSubAccountV1, listAllPresetsForSubAccountV2, listBulkSets, listDocuments, listDocumentsVersionsSummary, listDocumentsWithPagination, listEntities, listExecutionAttachments, listExternalAttachments, listNegotiations, listPotentialNegotiationAdvisors, listPotentialPresetAdvisors, listPresets, listRecentExtractions, listSubAccounts, markActivityEventsAsViewed, markApprovalCommentsAsViewed, markAsFinal, markAsOffline, markCommentEventsAsViewed, markEventsAsViewed, moveEntity, negotiationForkHistory, negotiationGetDocumentSchema, negotiationRenderCounterpartyTemplate, negotiationRenderCounterpartyTemplateAtVersion, negotiationRenderInitialAnswersTemplate, negotiationRenderPhaseOneTemplate, negotiationRenderTemplate, negotiationRenderTemplateAtVersion, negotiationSendForApproval, negotiationsFilter, notifyOfDraft, obtainConsent, overrideApproveFinalDocument, overrideElectionApproval, overrideElectionRejection, overrideRejectFinalDocument, patchAnswers, patchEmailPreferences, phase1Answers, presetEditAnswers, presetGetDocumentSchema, presetGetMultipleNestedAnswers, presetGetNestedAnswers, presetRenderTemplate, presetRequestApproval, presetSendForApproval, presetSetElectionApproval, presetSetFinalApproval, presetSetMultipleNestedAnswers, presetSetNestedAnswers, presetSwapParties, publisherSummaries, queueGenerateNegotiationDocumentJob, rejectAccessRequest, rejectAllEvents, rejectEvent, rejectFinalDocument, rejectPresetApproval, removePackageMembers, removeWatchers, renameExecutionAttachment, requestGuestElectionApproval, requestGuestFinalApproval, resetUserAnswers, retract, revertToAmending, revokeNegotiationsAccess, revokePresetsAccess, revokeWindow, scheduleExtraction, schemaAvailableAsCdm, searchEntity, sendBulkSetToCounterpartiesInitial, sendDocumentApprovalReminder, sendElectionApprovalReminder, sendManualReminderEmail, sendPackageToCounterparty, sendToCounterparty, sendToCounterpartyInitial, setAuxiliaryDocument, setBulkSetAttachments, setCounterparties, setElectionApproval, setExecutionAttachment, setExecutionAttachments, setExternalAttachment, setExternalAttachments, setFinalApproval, setGeneralCoverNote, setMultipleNestedAnswers, setNestedAnswers, setOfflineNegotiatedDocument, setOwnerEntity, setPackageParties, setPreset, setReceiverEntity, setSignedExecutedVersion, setSignedSignaturePageForParty, shareNegotiation, shareSubAccount, suggestPackageName, swapParties, syncFundList, syncNewApprover, unsubscribe, updateAttachDocx, updateComment, updateCommentReaction, updateCoverNote, updateCustomFields, updateDocumentDraftingNote, updateDocumentElectionDraftingNote, updateDraftingNotes, updateExtractionFeedback, updateMetadata, updateNegotiationsToMatch, updatePackageMembers, updatePackageName, updateSelectedElections, updateSubAccount, updateUserAnswers, upgradePresetSchema, upgradeSchema, uploadFundListSpreadsheet, usersWithNegotiationAccess, validateDraftReceiverEmails, validateEntities, version, voidESignEnvelopeForNegotiation };
5079
5113
 
5080
5114
  //# sourceMappingURL=index.mjs.map