@createiq/backend 1.0.178 → 1.0.180
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 +91 -39
- package/client/types.gen.ts +237 -84
- package/dist/index.d.mts +249 -92
- package/dist/index.mjs +105 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.mjs
CHANGED
|
@@ -638,7 +638,7 @@ const getAmendDefaults = (options) => (options.client ?? client).get({
|
|
|
638
638
|
/**
|
|
639
639
|
* Render a preview of the document template using the current answers
|
|
640
640
|
*
|
|
641
|
-
* Render a preview of the document template using the current answers.
|
|
641
|
+
* Render a preview of the document template using the current answers. Pass editable=true to receive the clean, unannotated master render for in-place editing (no blackline annotations); the result round-trips through the editTemplate endpoint.
|
|
642
642
|
*/
|
|
643
643
|
const negotiationRenderTemplate = (options) => (options.client ?? client).get({
|
|
644
644
|
security: [{
|
|
@@ -899,6 +899,19 @@ const approve = (options) => (options.client ?? client).put({
|
|
|
899
899
|
...options
|
|
900
900
|
});
|
|
901
901
|
/**
|
|
902
|
+
* Upload the counterparty's DOCX on an existing Draft negotiation
|
|
903
|
+
*
|
|
904
|
+
* Schedules a DOCX extraction on behalf of the counterparty for an existing Draft negotiation. The Draft must already have an owner entity set and exactly one stub counterparty. The body is the raw DOCX bytes; Content-Type must be application/vnd.openxmlformats-officedocument.wordprocessingml.document and X-File-Name must be set. On extraction completion the initiator's answers are populated from the DOCX; on first SendToCounterpartyInitial the receiver row is seeded from the initiator's mustMatch.
|
|
905
|
+
*/
|
|
906
|
+
const scheduleCounterpartyDocxExtraction = (options) => (options.client ?? client).put({
|
|
907
|
+
security: [{
|
|
908
|
+
name: "Authorization",
|
|
909
|
+
type: "apiKey"
|
|
910
|
+
}],
|
|
911
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/uploadCounterpartyDocx",
|
|
912
|
+
...options
|
|
913
|
+
});
|
|
914
|
+
/**
|
|
902
915
|
* View a list of the presets in a Sub-Account
|
|
903
916
|
*
|
|
904
917
|
* View a list of the presets in a Sub-Account.
|
|
@@ -1956,32 +1969,6 @@ const getSubscribedPublishers = (options) => (options?.client ?? client).get({
|
|
|
1956
1969
|
...options
|
|
1957
1970
|
});
|
|
1958
1971
|
/**
|
|
1959
|
-
* Remove a negotiation from a draft package envelope
|
|
1960
|
-
*
|
|
1961
|
-
* Removes a negotiation from a draft package envelope.
|
|
1962
|
-
*/
|
|
1963
|
-
const removeNegotiationFromPackageEnvelope = (options) => (options.client ?? client).delete({
|
|
1964
|
-
security: [{
|
|
1965
|
-
name: "Authorization",
|
|
1966
|
-
type: "apiKey"
|
|
1967
|
-
}],
|
|
1968
|
-
url: "/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations/{negotiationId}",
|
|
1969
|
-
...options
|
|
1970
|
-
});
|
|
1971
|
-
/**
|
|
1972
|
-
* Add a completed negotiation to a draft package envelope
|
|
1973
|
-
*
|
|
1974
|
-
* Adds a completed negotiation to a draft package envelope.
|
|
1975
|
-
*/
|
|
1976
|
-
const addNegotiationToPackageEnvelope = (options) => (options.client ?? client).put({
|
|
1977
|
-
security: [{
|
|
1978
|
-
name: "Authorization",
|
|
1979
|
-
type: "apiKey"
|
|
1980
|
-
}],
|
|
1981
|
-
url: "/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations/{negotiationId}",
|
|
1982
|
-
...options
|
|
1983
|
-
});
|
|
1984
|
-
/**
|
|
1985
1972
|
* Upload master list spreadsheet to populate fund list data
|
|
1986
1973
|
*
|
|
1987
1974
|
* Upload master list spreadsheet to populate fund list data.
|
|
@@ -3417,6 +3404,40 @@ const assignUser = (options) => (options.client ?? client).put({
|
|
|
3417
3404
|
...options
|
|
3418
3405
|
});
|
|
3419
3406
|
/**
|
|
3407
|
+
* Remove multiple negotiations from a draft package envelope
|
|
3408
|
+
*
|
|
3409
|
+
* Removes multiple negotiations from a draft package envelope.
|
|
3410
|
+
*/
|
|
3411
|
+
const removeNegotiationsFromPackageEnvelope = (options) => (options.client ?? client).delete({
|
|
3412
|
+
security: [{
|
|
3413
|
+
name: "Authorization",
|
|
3414
|
+
type: "apiKey"
|
|
3415
|
+
}],
|
|
3416
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations",
|
|
3417
|
+
...options,
|
|
3418
|
+
headers: {
|
|
3419
|
+
"Content-Type": "application/json",
|
|
3420
|
+
...options.headers
|
|
3421
|
+
}
|
|
3422
|
+
});
|
|
3423
|
+
/**
|
|
3424
|
+
* Add completed negotiations to a draft package envelope
|
|
3425
|
+
*
|
|
3426
|
+
* Adds completed negotiations to a draft package envelope.
|
|
3427
|
+
*/
|
|
3428
|
+
const addNegotiationsToPackageEnvelope = (options) => (options.client ?? client).put({
|
|
3429
|
+
security: [{
|
|
3430
|
+
name: "Authorization",
|
|
3431
|
+
type: "apiKey"
|
|
3432
|
+
}],
|
|
3433
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations",
|
|
3434
|
+
...options,
|
|
3435
|
+
headers: {
|
|
3436
|
+
"Content-Type": "application/json",
|
|
3437
|
+
...options.headers
|
|
3438
|
+
}
|
|
3439
|
+
});
|
|
3440
|
+
/**
|
|
3420
3441
|
* Accept a single blackline edit event
|
|
3421
3442
|
*
|
|
3422
3443
|
* Transitions the event from Pending to Accepted. Only the non-author party may accept.
|
|
@@ -3942,23 +3963,6 @@ const acceptCounterpartyPosition = (options) => (options.client ?? client).put({
|
|
|
3942
3963
|
...options
|
|
3943
3964
|
});
|
|
3944
3965
|
/**
|
|
3945
|
-
* Cancel selected negotiations
|
|
3946
|
-
*
|
|
3947
|
-
* Cancel selected negotiations.
|
|
3948
|
-
*/
|
|
3949
|
-
const cancelNegotiations = (options) => (options.client ?? client).put({
|
|
3950
|
-
security: [{
|
|
3951
|
-
name: "Authorization",
|
|
3952
|
-
type: "apiKey"
|
|
3953
|
-
}],
|
|
3954
|
-
url: "/api/v1/subAccounts/{subAccountId}/cancelNegotiations",
|
|
3955
|
-
...options,
|
|
3956
|
-
headers: {
|
|
3957
|
-
"Content-Type": "application/json",
|
|
3958
|
-
...options.headers
|
|
3959
|
-
}
|
|
3960
|
-
});
|
|
3961
|
-
/**
|
|
3962
3966
|
* Get the activity timeline for negotiation insights
|
|
3963
3967
|
*
|
|
3964
3968
|
* Returns the negotiation's non-comment activity events grouped chronologically into major events and their minor children, along with timeline statistics.
|
|
@@ -4037,6 +4041,49 @@ const getExecutionAttachment = (options) => (options.client ?? client).get({
|
|
|
4037
4041
|
...options
|
|
4038
4042
|
});
|
|
4039
4043
|
/**
|
|
4044
|
+
* Create a draft negotiation seeded by extracting a DOCX template (start-from-DOCX)
|
|
4045
|
+
*
|
|
4046
|
+
* Creates a new Draft negotiation for the given document and immediately seeds the initiator's answers by extracting from an uploaded DOCX template. The body is the raw DOCX bytes; Content-Type must be application/vnd.openxmlformats-officedocument.wordprocessingml.document and X-File-Name must be set.
|
|
4047
|
+
*/
|
|
4048
|
+
const createFromDocx = (options) => (options.client ?? client).post({
|
|
4049
|
+
security: [{
|
|
4050
|
+
name: "Authorization",
|
|
4051
|
+
type: "apiKey"
|
|
4052
|
+
}],
|
|
4053
|
+
url: "/api/v1/subAccounts/{subAccountId}/documents/{documentId}/negotiations/fromDocx",
|
|
4054
|
+
...options
|
|
4055
|
+
});
|
|
4056
|
+
/**
|
|
4057
|
+
* Discard a completed DOCX extraction and return the negotiation to default
|
|
4058
|
+
*
|
|
4059
|
+
* Reverts a completed DOCX extraction. Clears extraction-derived metadata (pinnedDocumentVersion, electionsExcludedByExtraction, seedReceiverFromMustMatch, allowAnyTextAmendment) and resets initiator answers to schema defaults. Allowed only when the negotiation is in Draft state and has been through extraction. Distinct from cancel — cancel aborts an in-flight extraction; discard reverts a completed one.
|
|
4060
|
+
*/
|
|
4061
|
+
const discardExtraction = (options) => (options.client ?? client).put({
|
|
4062
|
+
security: [{
|
|
4063
|
+
name: "Authorization",
|
|
4064
|
+
type: "apiKey"
|
|
4065
|
+
}],
|
|
4066
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/discard",
|
|
4067
|
+
...options
|
|
4068
|
+
});
|
|
4069
|
+
/**
|
|
4070
|
+
* Cancel selected negotiations
|
|
4071
|
+
*
|
|
4072
|
+
* Cancel selected negotiations.
|
|
4073
|
+
*/
|
|
4074
|
+
const cancelNegotiations = (options) => (options.client ?? client).put({
|
|
4075
|
+
security: [{
|
|
4076
|
+
name: "Authorization",
|
|
4077
|
+
type: "apiKey"
|
|
4078
|
+
}],
|
|
4079
|
+
url: "/api/v1/subAccounts/{subAccountId}/cancelNegotiations",
|
|
4080
|
+
...options,
|
|
4081
|
+
headers: {
|
|
4082
|
+
"Content-Type": "application/json",
|
|
4083
|
+
...options.headers
|
|
4084
|
+
}
|
|
4085
|
+
});
|
|
4086
|
+
/**
|
|
4040
4087
|
* Assign a new approver to every approval for which an existing user is already an approver
|
|
4041
4088
|
*
|
|
4042
4089
|
* Sync a given user to all the approval rules of an existing user for templates and in-flight and future negotiations. Optionally, replace a previous approver or restrict to a specific sub-account.
|
|
@@ -4670,6 +4717,19 @@ const sendPackageToCounterparty = (options) => (options.client ?? client).put({
|
|
|
4670
4717
|
}
|
|
4671
4718
|
});
|
|
4672
4719
|
/**
|
|
4720
|
+
* Upload a DOCX for extraction against the negotiation, on behalf of the given party
|
|
4721
|
+
*
|
|
4722
|
+
* Upload a DOCX for extraction against the negotiation, on behalf of the given party. The body is the raw DOCX bytes; Content-Type must be application/vnd.openxmlformats-officedocument.wordprocessingml.document and X-File-Name must be set.
|
|
4723
|
+
*/
|
|
4724
|
+
const scheduleDocxExtraction = (options) => (options.client ?? client).put({
|
|
4725
|
+
security: [{
|
|
4726
|
+
name: "Authorization",
|
|
4727
|
+
type: "apiKey"
|
|
4728
|
+
}],
|
|
4729
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/uploadDocx/{partyId}",
|
|
4730
|
+
...options
|
|
4731
|
+
});
|
|
4732
|
+
/**
|
|
4673
4733
|
* Set the owner entity and counterparty details for every negotiation in a package
|
|
4674
4734
|
*
|
|
4675
4735
|
* Set the owner entity and counterparty details for every negotiation in a package. 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 external attachments already set on the existing counterparty member. 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.
|
|
@@ -5305,6 +5365,6 @@ const requestGuestElectionApproval = (options) => (options.client ?? client).put
|
|
|
5305
5365
|
}
|
|
5306
5366
|
});
|
|
5307
5367
|
//#endregion
|
|
5308
|
-
export { acceptAllCounterpartyPositions, acceptAllCustodianTemplatePositions, acceptAllEvents, acceptAllPositionsFromFork, acceptAllPositionsFromPreviousVersion, acceptAllPresetPositions, acceptCounterpartyPosition, acceptEvent, acceptNestedAnswersCounterpartyPosition, accountSummary, addApprovalComment, addComment, addElectionApproval, addElectionRejection,
|
|
5368
|
+
export { acceptAllCounterpartyPositions, acceptAllCustodianTemplatePositions, acceptAllEvents, acceptAllPositionsFromFork, acceptAllPositionsFromPreviousVersion, acceptAllPresetPositions, acceptCounterpartyPosition, acceptEvent, acceptNestedAnswersCounterpartyPosition, accountSummary, addApprovalComment, addComment, addElectionApproval, addElectionRejection, addNegotiationsToPackageEnvelope, addPackageMembers, addWatchers, applyExtractedAnswers, approve, approveAccessRequest, approveFinalDocument, assignDraftPresetToMe, assignEntity, assignToMe, assignUser, auditTrailFilters, auditTrailForAccountAsJson, auditTrailForSubAccountAsJson, authPing, backfillNegotiationProgressPercentage, breakingChanges, bulkSetsJobCount, cancel, cancelExtraction, cancelGuestElectionApprovalRequest, cancelGuestFinalApprovalRequest, cancelNegotiations, cancelNegotiationsJobCount, cancelPackageEnvelope, changeSigningMode, checkAuxiliaryDocument, checkForBrokenApprovers, checkOfflineNegotiatedDocument, checkSignedExecutedVersion, checkSignedSignaturePagePdf, clonePreset, confirm, confirmExecutionVersion, consentCodeCallback, contactForNewApprover, createAuditTrailJson, createAuditTrailPdf, createAuditTrailXlsx, createBulkSet, createFromDocx, createNegotiation, createPackage, createPackageEnvelope, createPackageWithDrafts, createPreset, createPresetAuditTrailJson, createPresetAuditTrailXlsx, createSignaturePagePdf, createSigningPack, deleteApprovalComment, deleteAuxiliaryDocument, deleteBulkSetAttachment, deleteComment, deleteCoverNote, deleteDocumentDraftingNote, deleteDocumentElectionDraftingNote, deleteDraftingNotesDocument, deleteEntity, deleteExecutionAttachment, deleteExternalAttachment, deleteGeneralCoverNote, deleteOfflineNegotiatedDocument, deletePackageAttachment, deletePackageEnvelope, deletePreset, deleteSignedExecutedVersion, deleteSignedSignaturePageForParty, discardExtraction, documentRenderTemplate, documentsFilter, downloadBlackline, downloadNegotiation, downloadPackageSignedDocument, 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, getNestedAnswerInsights, getNestedAnswers, getOfflineNegotiatedDocument, getOfflineNegotiatedDocumentAnnotations, getOriginalAnswersForForkNegotiation, getOtherPartyAnswers, getPackage, getPackageAttachment, getPackageDocuSignStatus, getPackageEnvelopes, 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, listPackageAttachments, 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, removeNegotiationsFromPackageEnvelope, removePackageMembers, removeWatchers, renameExecutionAttachment, requestGuestElectionApproval, requestGuestFinalApproval, resetUserAnswers, retract, revertToAmending, revokeNegotiationsAccess, revokePresetsAccess, revokeWindow, scheduleCounterpartyDocxExtraction, scheduleDocxExtraction, scheduleExtraction, schemaAvailableAsCdm, searchEntity, sendBulkSetToCounterpartiesInitial, sendDocumentApprovalReminder, sendElectionApprovalReminder, sendManualReminderEmail, sendPackageEnvelope, sendPackageToCounterparty, sendToCounterparty, sendToCounterpartyInitial, setAuxiliaryDocument, setBulkSetAttachments, setCounterparties, setElectionApproval, setExecutionAttachment, setExecutionAttachments, setExternalAttachment, setExternalAttachments, setFinalApproval, setGeneralCoverNote, setMultipleNestedAnswers, setNestedAnswers, setOfflineNegotiatedDocument, setOwnerEntity, setPackageAttachment, setPackageAttachments, 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 };
|
|
5309
5369
|
|
|
5310
5370
|
//# sourceMappingURL=index.mjs.map
|