@createiq/backend 1.0.151 → 1.0.153
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 +32 -2
- package/client/types.gen.ts +132 -16
- package/dist/index.d.mts +127 -15
- package/dist/index.mjs +36 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -892,7 +892,7 @@ const authPing = (options) => (options?.client ?? client).get({
|
|
|
892
892
|
/**
|
|
893
893
|
* Create draft negotiations and add them to a new negotiation group
|
|
894
894
|
*
|
|
895
|
-
* Create one draft negotiation for every document ID and preset ID occurrence, then add all drafts to a new negotiation group.
|
|
895
|
+
* Create one draft negotiation for every document ID and preset ID occurrence, then add all drafts to a new negotiation group. A document pack ID expands to one draft per document in the pack that this workspace can use; a pack it cannot reach, or one holding no usable documents, is reported as a failed source. The group size limit applies after packs are expanded. Drafts created from a document ID are seeded with the schema default answers; drafts created from a preset ID keep the preset's own answers. Each draft is committed independently, so the response reports which sources produced a draft and which failed.
|
|
896
896
|
*/
|
|
897
897
|
const createGroupWithDrafts = (options) => (options.client ?? client).post({
|
|
898
898
|
security: [{
|
|
@@ -2360,6 +2360,23 @@ const markActivityEventsAsViewed = (options) => (options.client ?? client).put({
|
|
|
2360
2360
|
}
|
|
2361
2361
|
});
|
|
2362
2362
|
/**
|
|
2363
|
+
* Check what a negotiation group of draft negotiations would produce, without creating anything
|
|
2364
|
+
*
|
|
2365
|
+
* Runs every check the create call makes - group name, source count, and the accessibility of each document ID, preset ID and document pack ID - and reports which sources would produce a draft and which would not. Document packs are expanded, so valid lists the individual documents a pack would produce rather than the pack itself. Nothing is created. Fails with the same errors as the create call, so the outcome can be treated as a prediction of it.
|
|
2366
|
+
*/
|
|
2367
|
+
const dryRunGroupWithDrafts = (options) => (options.client ?? client).post({
|
|
2368
|
+
security: [{
|
|
2369
|
+
name: "Authorization",
|
|
2370
|
+
type: "apiKey"
|
|
2371
|
+
}],
|
|
2372
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/drafts/dryRun",
|
|
2373
|
+
...options,
|
|
2374
|
+
headers: {
|
|
2375
|
+
"Content-Type": "application/json",
|
|
2376
|
+
...options.headers
|
|
2377
|
+
}
|
|
2378
|
+
});
|
|
2379
|
+
/**
|
|
2363
2380
|
* Cancel extraction that is in progress or in the review stage
|
|
2364
2381
|
*
|
|
2365
2382
|
* Cancel extraction that is in progress or in the review stage.
|
|
@@ -2420,6 +2437,23 @@ const getComments = (options) => (options.client ?? client).get({
|
|
|
2420
2437
|
...options
|
|
2421
2438
|
});
|
|
2422
2439
|
/**
|
|
2440
|
+
* Set the owner entity and counterparty details for every negotiation in a group
|
|
2441
|
+
*
|
|
2442
|
+
* Set the owner entity and counterparty details for every negotiation in a group. Equivalent to calling the negotiation owner and counterparties endpoints on each member. Both fields are optional, but at least one must be supplied. Supplying a counterparty overwrites all counterparty data on each member, including any reference IDs and external attachments already set on it. Negotiations that cannot accept the change are reported individually in the failures list, unless no negotiation could accept it, in which case the whole request fails with that reason.
|
|
2443
|
+
*/
|
|
2444
|
+
const setGroupParties = (options) => (options.client ?? client).put({
|
|
2445
|
+
security: [{
|
|
2446
|
+
name: "Authorization",
|
|
2447
|
+
type: "apiKey"
|
|
2448
|
+
}],
|
|
2449
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/parties",
|
|
2450
|
+
...options,
|
|
2451
|
+
headers: {
|
|
2452
|
+
"Content-Type": "application/json",
|
|
2453
|
+
...options.headers
|
|
2454
|
+
}
|
|
2455
|
+
});
|
|
2456
|
+
/**
|
|
2423
2457
|
* Trigger email to contact the Super Manager and Manager to prompt them to assign a new approver
|
|
2424
2458
|
*
|
|
2425
2459
|
* Contact Super Manager and Manager to prompt them to assign a new approver.
|
|
@@ -4972,6 +5006,6 @@ const requestGuestElectionApproval = (options) => (options.client ?? client).put
|
|
|
4972
5006
|
}
|
|
4973
5007
|
});
|
|
4974
5008
|
//#endregion
|
|
4975
|
-
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, checkOfflineNegotiatedDocument, checkSignedExecutedVersion, checkSignedSignaturePagePdf, clonePreset, confirm, confirmExecutionVersion, consentCodeCallback, contactForNewApprover, createAuditTrailJson, createAuditTrailPdf, createAuditTrailXlsx, createBulkSet, createGroup, createGroupWithDrafts, createNegotiation, 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, 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, getGroupNames, getLatestDocumentSchema, getLegacyStatistics, getMajorVersions, getMultipleNestedAnswers, getNegotiation, getNegotiationDeltas, getNegotiationDraftingNotes, getNegotiationESignStatus, getNegotiationElectionAmendValues, getNegotiationFilesSummary, getNegotiationNestedAmendValue, getNegotiationsGroup, getNestedAnswers, getOfflineNegotiatedDocument, getOfflineNegotiatedDocumentAnnotations, getOriginalAnswersForForkNegotiation, getOtherPartyAnswers, 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, sendGroupToCounterparty, sendManualReminderEmail, sendToCounterparty, sendToCounterpartyInitial, setAuxiliaryDocument, setBulkSetAttachments, setCounterparties, setElectionApproval, setExecutionAttachment, setExecutionAttachments, setExternalAttachment, setExternalAttachments, setFinalApproval, setGeneralCoverNote, setMultipleNestedAnswers, setNestedAnswers, setOfflineNegotiatedDocument, setOwnerEntity, setPreset, setReceiverEntity, setSignedExecutedVersion, setSignedSignaturePageForParty, shareNegotiation, shareSubAccount, suggestGroupName, swapParties, syncFundList, syncNewApprover, unsubscribe, updateAttachDocx, updateComment, updateCommentReaction, updateCoverNote, updateCustomFields, updateDocumentDraftingNote, updateDocumentElectionDraftingNote, updateDraftingNotes, updateExtractionFeedback, updateGroupMembers, updateGroupName, updateMetadata, updateNegotiationsToMatch, updateSelectedElections, updateSubAccount, updateUserAnswers, upgradePresetSchema, upgradeSchema, uploadFundListSpreadsheet, usersWithNegotiationAccess, validateDraftReceiverEmails, validateEntities, version, voidESignEnvelopeForNegotiation };
|
|
5009
|
+
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, checkOfflineNegotiatedDocument, checkSignedExecutedVersion, checkSignedSignaturePagePdf, clonePreset, confirm, confirmExecutionVersion, consentCodeCallback, contactForNewApprover, createAuditTrailJson, createAuditTrailPdf, createAuditTrailXlsx, createBulkSet, createGroup, createGroupWithDrafts, createNegotiation, 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, dryRunGroupWithDrafts, 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, getGroupNames, getLatestDocumentSchema, getLegacyStatistics, getMajorVersions, getMultipleNestedAnswers, getNegotiation, getNegotiationDeltas, getNegotiationDraftingNotes, getNegotiationESignStatus, getNegotiationElectionAmendValues, getNegotiationFilesSummary, getNegotiationNestedAmendValue, getNegotiationsGroup, getNestedAnswers, getOfflineNegotiatedDocument, getOfflineNegotiatedDocumentAnnotations, getOriginalAnswersForForkNegotiation, getOtherPartyAnswers, 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, sendGroupToCounterparty, sendManualReminderEmail, sendToCounterparty, sendToCounterpartyInitial, setAuxiliaryDocument, setBulkSetAttachments, setCounterparties, setElectionApproval, setExecutionAttachment, setExecutionAttachments, setExternalAttachment, setExternalAttachments, setFinalApproval, setGeneralCoverNote, setGroupParties, setMultipleNestedAnswers, setNestedAnswers, setOfflineNegotiatedDocument, setOwnerEntity, setPreset, setReceiverEntity, setSignedExecutedVersion, setSignedSignaturePageForParty, shareNegotiation, shareSubAccount, suggestGroupName, swapParties, syncFundList, syncNewApprover, unsubscribe, updateAttachDocx, updateComment, updateCommentReaction, updateCoverNote, updateCustomFields, updateDocumentDraftingNote, updateDocumentElectionDraftingNote, updateDraftingNotes, updateExtractionFeedback, updateGroupMembers, updateGroupName, updateMetadata, updateNegotiationsToMatch, updateSelectedElections, updateSubAccount, updateUserAnswers, upgradePresetSchema, upgradeSchema, uploadFundListSpreadsheet, usersWithNegotiationAccess, validateDraftReceiverEmails, validateEntities, version, voidESignEnvelopeForNegotiation };
|
|
4976
5010
|
|
|
4977
5011
|
//# sourceMappingURL=index.mjs.map
|