@createiq/backend 1.0.162 → 1.0.164
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/index.ts +2 -2
- package/client/sdk.gen.ts +45 -1
- package/client/types.gen.ts +208 -32
- package/dist/index.d.mts +202 -28
- package/dist/index.mjs +53 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2649,6 +2649,19 @@ const updateUserAnswers = (options) => (options.client ?? client).put({
|
|
|
2649
2649
|
}
|
|
2650
2650
|
});
|
|
2651
2651
|
/**
|
|
2652
|
+
* Get the per-version answer history for one nested answer
|
|
2653
|
+
*
|
|
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.
|
|
2655
|
+
*/
|
|
2656
|
+
const getNestedAnswerInsights = (options) => (options.client ?? client).get({
|
|
2657
|
+
security: [{
|
|
2658
|
+
name: "Authorization",
|
|
2659
|
+
type: "apiKey"
|
|
2660
|
+
}],
|
|
2661
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/nestedAnswers/{nestedAnswerId}",
|
|
2662
|
+
...options
|
|
2663
|
+
});
|
|
2664
|
+
/**
|
|
2652
2665
|
* Updates the provided negotiations with their corresponding deltas
|
|
2653
2666
|
*
|
|
2654
2667
|
* Updates the provided negotiations with their corresponding deltas.
|
|
@@ -3085,6 +3098,19 @@ const consentCodeCallback = (options) => (options?.client ?? client).get({
|
|
|
3085
3098
|
...options
|
|
3086
3099
|
});
|
|
3087
3100
|
/**
|
|
3101
|
+
* Get the per-version answer history for every election
|
|
3102
|
+
*
|
|
3103
|
+
* Reconstructs the answer history of every election in the negotiation's latest schema version from the stored negotiation versions - a per-broadcast-turn diff view showing, for each component of each election, the value at every version it changed, with repeated values collapsed to an `unchanged` marker and a status describing the component's position 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.
|
|
3104
|
+
*/
|
|
3105
|
+
const getNegotiationInsights = (options) => (options.client ?? client).get({
|
|
3106
|
+
security: [{
|
|
3107
|
+
name: "Authorization",
|
|
3108
|
+
type: "apiKey"
|
|
3109
|
+
}],
|
|
3110
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/elections",
|
|
3111
|
+
...options
|
|
3112
|
+
});
|
|
3113
|
+
/**
|
|
3088
3114
|
* Get the annotated extracted terms for an extracted document
|
|
3089
3115
|
*
|
|
3090
3116
|
* Get the annotated extracted terms for an extracted document.
|
|
@@ -3150,6 +3176,19 @@ const listAdvisorsForWorkspace = (options) => (options.client ?? client).get({
|
|
|
3150
3176
|
...options
|
|
3151
3177
|
});
|
|
3152
3178
|
/**
|
|
3179
|
+
* Get the per-version answer history for a single election
|
|
3180
|
+
*
|
|
3181
|
+
* Reconstructs the answer history of a single election across the whole negotiation from the stored negotiation versions - a per-broadcast-turn diff view showing, for each component, the value at every version it changed, with repeated values collapsed to an `unchanged` marker and a status describing the component's position across the broadcast history.
|
|
3182
|
+
*/
|
|
3183
|
+
const getElectionInsights = (options) => (options.client ?? client).get({
|
|
3184
|
+
security: [{
|
|
3185
|
+
name: "Authorization",
|
|
3186
|
+
type: "apiKey"
|
|
3187
|
+
}],
|
|
3188
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/elections/{electionId}",
|
|
3189
|
+
...options
|
|
3190
|
+
});
|
|
3191
|
+
/**
|
|
3153
3192
|
* Determine whether an offline negotiated document has been uploaded, or not
|
|
3154
3193
|
*
|
|
3155
3194
|
* Determine whether an offline negotiated document has been uploaded, or not.
|
|
@@ -3677,6 +3716,19 @@ const cancelNegotiations = (options) => (options.client ?? client).put({
|
|
|
3677
3716
|
}
|
|
3678
3717
|
});
|
|
3679
3718
|
/**
|
|
3719
|
+
* Get the activity timeline for negotiation insights
|
|
3720
|
+
*
|
|
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.
|
|
3722
|
+
*/
|
|
3723
|
+
const getInsightsTimeline = (options) => (options.client ?? client).get({
|
|
3724
|
+
security: [{
|
|
3725
|
+
name: "Authorization",
|
|
3726
|
+
type: "apiKey"
|
|
3727
|
+
}],
|
|
3728
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/timeline",
|
|
3729
|
+
...options
|
|
3730
|
+
});
|
|
3731
|
+
/**
|
|
3680
3732
|
* Get any drafting notes for a negotiations document - includes external notes set by the initiator
|
|
3681
3733
|
*
|
|
3682
3734
|
* Get any drafting notes for a negotiations document - includes external notes set by the initiator.
|
|
@@ -5023,6 +5075,6 @@ const requestGuestElectionApproval = (options) => (options.client ?? client).put
|
|
|
5023
5075
|
}
|
|
5024
5076
|
});
|
|
5025
5077
|
//#endregion
|
|
5026
|
-
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, getEvents, getExecutedNegotiationSummary, getExecutionAttachment, getExternalAttachment, getExtractionResults, getLatestDocumentSchema, getLegacyStatistics, getMajorVersions, getMultipleNestedAnswers, getNegotiation, getNegotiationDeltas, getNegotiationDraftingNotes, getNegotiationESignStatus, getNegotiationElectionAmendValues, getNegotiationFilesSummary, getNegotiationNestedAmendValue, getNegotiationsPackage, 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 };
|
|
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 };
|
|
5027
5079
|
|
|
5028
5080
|
//# sourceMappingURL=index.mjs.map
|