@createiq/backend 1.0.179 → 1.0.181
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 +61 -17
- package/client/types.gen.ts +215 -50
- package/dist/index.d.mts +220 -52
- package/dist/index.mjs +71 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/types.gen.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type BulkSetsCountsDto = {
|
|
|
23
23
|
totalBulkSets: number;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'MARK_AS_OFFLINE' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
26
|
+
export type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'MARK_AS_OFFLINE' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_DISCARDED' | 'EXTRACTION_FAILED';
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* A map of action name to boolean - true if the action can be performed, false otherwise. If and action cannot be performed a actionName_reason string property will be available that describes why that action is unavailable.
|
|
@@ -82,9 +82,11 @@ export type NegotiationAvailableActionsDto = {
|
|
|
82
82
|
approveDocumentOverride: boolean;
|
|
83
83
|
changeSigningModeOffline_reason?: string;
|
|
84
84
|
revertToAmending: boolean;
|
|
85
|
+
editTemplate_reason?: string;
|
|
85
86
|
confirm: boolean;
|
|
86
87
|
markElectionReserved: boolean;
|
|
87
88
|
setGeneralCoverNote: boolean;
|
|
89
|
+
uploadCounterpartyDocument_reason?: string;
|
|
88
90
|
setGeneralCoverNote_reason?: string;
|
|
89
91
|
downloadDocument: boolean;
|
|
90
92
|
setDocumentApprovals: boolean;
|
|
@@ -93,6 +95,7 @@ export type NegotiationAvailableActionsDto = {
|
|
|
93
95
|
confirmExecutionVersion_reason?: string;
|
|
94
96
|
rejectDocument_reason?: string;
|
|
95
97
|
view_reason?: string;
|
|
98
|
+
editTemplate: boolean;
|
|
96
99
|
sendToCounterparty: boolean;
|
|
97
100
|
setMultipleCounterparties_reason?: string;
|
|
98
101
|
downloadBlackline: boolean;
|
|
@@ -107,6 +110,7 @@ export type NegotiationAvailableActionsDto = {
|
|
|
107
110
|
edit_reason?: string;
|
|
108
111
|
setCounterparty: boolean;
|
|
109
112
|
setPreset_reason?: string;
|
|
113
|
+
uploadCounterpartyDocument: boolean;
|
|
110
114
|
notifyOfDraft: boolean;
|
|
111
115
|
approveElectionOverride_reason?: string;
|
|
112
116
|
setCounterpartyEntity: boolean;
|
|
@@ -379,6 +383,7 @@ export type ValidInvitationResponseDto = {
|
|
|
379
383
|
lastName?: string;
|
|
380
384
|
canForward: boolean;
|
|
381
385
|
firstName?: string;
|
|
386
|
+
oneLinkPackage?: OneLinkPackageInvitationDetailsDto;
|
|
382
387
|
};
|
|
383
388
|
|
|
384
389
|
export type ApprovalCountStatisticsDto = {
|
|
@@ -387,7 +392,7 @@ export type ApprovalCountStatisticsDto = {
|
|
|
387
392
|
};
|
|
388
393
|
|
|
389
394
|
export type CreateDocuSignPackageEnvelopeRequestDto = {
|
|
390
|
-
name
|
|
395
|
+
name?: string;
|
|
391
396
|
negotiationIds: Array<string>;
|
|
392
397
|
};
|
|
393
398
|
|
|
@@ -533,7 +538,7 @@ export type MarkEventAsReadRequestDto = {
|
|
|
533
538
|
eventIds: Array<string>;
|
|
534
539
|
};
|
|
535
540
|
|
|
536
|
-
export type NegotiationFilter = 'documentType' | 'userId' | 'historicalUserId' | 'displayReferenceId' | 'documentPublisherId' | 'turn' | 'accessibleToAdvisor' | 'isTriparty' | 'isOffline' | 'unassigned' | 'state' | 'status' | 'bulkSetIds' | 'forkedToOrFrom' | 'isForkedOrFork' | 'olderThanPeriod' | 'missingApprovers' | 'partyA' | 'partyB' | 'partyC' | 'partyAny' | 'approvalType' | 'approverUserId' | 'advisorRelationshipId' | 'fund' | 'approvalsPendingForMe';
|
|
541
|
+
export type NegotiationFilter = 'documentType' | 'userId' | 'historicalUserId' | 'displayReferenceId' | 'documentPublisherId' | 'turn' | 'accessibleToAdvisor' | 'isTriparty' | 'isOffline' | 'unassigned' | 'state' | 'status' | 'bulkSetIds' | 'forkedToOrFrom' | 'isForkedOrFork' | 'olderThanPeriod' | 'missingApprovers' | 'partyA' | 'partyB' | 'partyC' | 'partyAny' | 'approvalType' | 'approverUserId' | 'advisorRelationshipId' | 'fund' | 'approvalsPendingForMe' | 'packageId';
|
|
537
542
|
|
|
538
543
|
export type NegotiationFilesSummaryDto = {
|
|
539
544
|
signatureFiles: Array<NegotiationFileDto_SignatureFileDto>;
|
|
@@ -574,7 +579,7 @@ export type DocumentVersionsWithMajorChangesDto_DocumentVersionFlagsDto = {
|
|
|
574
579
|
majorChanges: DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto;
|
|
575
580
|
};
|
|
576
581
|
|
|
577
|
-
export type OneLinkDisplayTypeDto = 'oneLinkApproverLogin' | 'oneLinkEditorLogin';
|
|
582
|
+
export type OneLinkDisplayTypeDto = 'oneLinkApproverLogin' | 'oneLinkEditorLogin' | 'oneLinkPackageEditorLogin';
|
|
578
583
|
|
|
579
584
|
export type NotificationCategory = 'notifications_panel_updates' | 'invitation' | 'negotiation_updates' | 'approval' | 'other' | 'always_enabled';
|
|
580
585
|
|
|
@@ -853,6 +858,8 @@ export type UserIdDto = {
|
|
|
853
858
|
};
|
|
854
859
|
|
|
855
860
|
export type ProcessingExtractionResultDto = {
|
|
861
|
+
sourceFileType: 'pdf' | 'docx';
|
|
862
|
+
extractionVersion: number;
|
|
856
863
|
percentComplete: number;
|
|
857
864
|
partialStructured: StructuredExtractionResultDto;
|
|
858
865
|
updated?: string;
|
|
@@ -873,14 +880,6 @@ export type CommentReactionDto = {
|
|
|
873
880
|
timestamp: string;
|
|
874
881
|
};
|
|
875
882
|
|
|
876
|
-
export type DocumentErrorResponseDto = {
|
|
877
|
-
humanReadableMessage?: string;
|
|
878
|
-
causes?: Array<CausesDto>;
|
|
879
|
-
code: string;
|
|
880
|
-
message: string;
|
|
881
|
-
documentCauses?: Array<MajorChangeSummaryDto>;
|
|
882
|
-
};
|
|
883
|
-
|
|
884
883
|
export type PartyThatCanConfirmExecutionVersion = 'initiator' | 'receiver' | 'moderator';
|
|
885
884
|
|
|
886
885
|
export type SubAccountWithDocPackDto = {
|
|
@@ -972,6 +971,16 @@ export type BrokenApproversSummaryDto = {
|
|
|
972
971
|
affectedWorkspaces: Array<string>;
|
|
973
972
|
};
|
|
974
973
|
|
|
974
|
+
export type AmendmentDecisionReason = 'schemaValidatesRenderMatches' | 'renderMismatch' | 'schemaInvalid' | 'noStructuredAnswer';
|
|
975
|
+
|
|
976
|
+
export type DocumentErrorResponseDto = {
|
|
977
|
+
humanReadableMessage?: string;
|
|
978
|
+
causes?: Array<CausesDto>;
|
|
979
|
+
code: string;
|
|
980
|
+
message: string;
|
|
981
|
+
documentCauses?: Array<MajorChangeSummaryDto>;
|
|
982
|
+
};
|
|
983
|
+
|
|
975
984
|
export type PresetEventHistoryDto_EventByDto = {
|
|
976
985
|
user: UserDto;
|
|
977
986
|
timestamp: string;
|
|
@@ -1201,6 +1210,8 @@ export type NegotiationReminderDto = {
|
|
|
1201
1210
|
};
|
|
1202
1211
|
|
|
1203
1212
|
export type FailedExtractionResultDto = {
|
|
1213
|
+
sourceFileType: 'pdf' | 'docx';
|
|
1214
|
+
extractionVersion: number;
|
|
1204
1215
|
percentComplete: number;
|
|
1205
1216
|
partialStructured: StructuredExtractionResultDto;
|
|
1206
1217
|
partialUnstructured: UnstructuredExtractionResultDto;
|
|
@@ -1574,6 +1585,13 @@ export type BulkBlacklineRequestDto = {
|
|
|
1574
1585
|
eventIds: Array<string>;
|
|
1575
1586
|
};
|
|
1576
1587
|
|
|
1588
|
+
export type OneLinkPackageInvitationDetailsDto = {
|
|
1589
|
+
oneLinkId: string;
|
|
1590
|
+
negotiationPackageId: string;
|
|
1591
|
+
packageName: string;
|
|
1592
|
+
negotiations: Array<OneLinkPackageInvitationDetailsDto_OneLinkPackageNegotiationDto>;
|
|
1593
|
+
};
|
|
1594
|
+
|
|
1577
1595
|
export type ComponentAnswerDto_EntityWithValuesDto = {
|
|
1578
1596
|
entity: ComponentAnswerDto_FundListEntityDto;
|
|
1579
1597
|
exhibitValues: ComponentAnswerDto_ExhibitValuesDto;
|
|
@@ -1865,7 +1883,6 @@ export type BlacklineEnvelopeDto = {
|
|
|
1865
1883
|
* Diff-algorithm version stamped on every event in this envelope.
|
|
1866
1884
|
*/
|
|
1867
1885
|
algorithmVersion: number;
|
|
1868
|
-
events: Array<BlacklineEventDto>;
|
|
1869
1886
|
/**
|
|
1870
1887
|
* Per-answer-path map of the receiver's stored HTML with the visible-pending events overlaid as `<ins>` / `<del>` markup. Keys mirror the FE form paths (e.g. `specified_entity.partyB_DUST`); only paths whose annotation actually changed the receiver HTML are included.
|
|
1871
1888
|
*
|
|
@@ -1873,6 +1890,8 @@ export type BlacklineEnvelopeDto = {
|
|
|
1873
1890
|
annotatedAnswers: {
|
|
1874
1891
|
[key: string]: string;
|
|
1875
1892
|
};
|
|
1893
|
+
events: Array<BlacklineEventDto>;
|
|
1894
|
+
templateVariationEvents?: Array<TemplateVariationEventDto>;
|
|
1876
1895
|
};
|
|
1877
1896
|
|
|
1878
1897
|
export type NegotiationAuditTrailEventDto = {
|
|
@@ -2015,8 +2034,6 @@ export type DocumentDraftingNoteDto = {
|
|
|
2015
2034
|
draftingNotes: DraftingNotesDto;
|
|
2016
2035
|
};
|
|
2017
2036
|
|
|
2018
|
-
export type ReminderStatus = 'Pending' | 'Completed' | 'Terminated';
|
|
2019
|
-
|
|
2020
2037
|
export type ExecutedNegotiationSummaryDto_HistoryDto = {
|
|
2021
2038
|
cancelled?: ExecutedNegotiationSummaryDto_EventByDto;
|
|
2022
2039
|
acceptedInvite?: ExecutedNegotiationSummaryDto_EventByDto;
|
|
@@ -2109,6 +2126,10 @@ export type PresetEventHistoryDto = {
|
|
|
2109
2126
|
approved?: PresetEventHistoryDto_EventByDto;
|
|
2110
2127
|
};
|
|
2111
2128
|
|
|
2129
|
+
export type ExtractionSourceType = 'pdf' | 'docx';
|
|
2130
|
+
|
|
2131
|
+
export type ReminderStatus = 'Pending' | 'Completed' | 'Terminated';
|
|
2132
|
+
|
|
2112
2133
|
export type EmailWithErrorDto = {
|
|
2113
2134
|
email: string;
|
|
2114
2135
|
isFreeEmail: boolean;
|
|
@@ -2571,7 +2592,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
2571
2592
|
sigPageId: string;
|
|
2572
2593
|
};
|
|
2573
2594
|
|
|
2574
|
-
export type EmailTemplate = 'dailyNotificationDigest' | 'negotiationInvite' | 'userTaggedInComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'notifyDraft' | 'negotiationUpdate' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'userTaggedInApprovalComment' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'electionApprovalResponsesReceived' | 'shareSubAccount' | 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'accessRequestResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationPackageInvite' | 'negotiationPackageCreateAccountInvite' | 'negotiationPackageInviteApproverOrAdmin' | 'negotiationPackageInviteNamedWhereNoEntity' | 'negotiationPackageInviteEntityManagement' | 'negotiationPackageInviteNamedWhereNoUser' | 'negotiationPackageUpdate' | 'negotiationPackageDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'existingApproverReplaced' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
|
|
2595
|
+
export type EmailTemplate = 'dailyNotificationDigest' | 'negotiationInvite' | 'userTaggedInComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'notifyDraft' | 'negotiationUpdate' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'userTaggedInApprovalComment' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'electionApprovalResponsesReceived' | 'shareSubAccount' | 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'accessRequestResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationPackageInvite' | 'negotiationPackageCreateAccountInvite' | 'negotiationPackageInviteApproverOrAdmin' | 'negotiationPackageInviteNamedWhereNoEntity' | 'negotiationPackageInviteEntityManagement' | 'negotiationPackageInviteNamedWhereNoUser' | 'negotiationPackageOneLinkInvite' | 'negotiationPackageUpdate' | 'negotiationPackageDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'existingApproverReplaced' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
|
|
2575
2596
|
|
|
2576
2597
|
export type PartyRelativeRef = 'our' | 'counterparty';
|
|
2577
2598
|
|
|
@@ -3045,7 +3066,7 @@ export type NegotiationListDto = {
|
|
|
3045
3066
|
negotiationEntityFilters: NegotiationEntityFiltersDto;
|
|
3046
3067
|
};
|
|
3047
3068
|
|
|
3048
|
-
export type NegotiationStateType = 'draft' | 'draft_approval_required' | 'awaiting_receiving_sub_account' | 'inviting' | 'receiver_draft' | 'receiver_draft_approval_required' | 'amending' | 'extraction' | 'extraction_amending' | 'election_approval_required' | 'agreed' | 'confirmed' | 'confirmed_template' | 'execution_agreed' | 'executed' | 'cancelled';
|
|
3069
|
+
export type NegotiationStateType = 'draft' | 'draft_extracting' | 'draft_approval_required' | 'awaiting_receiving_sub_account' | 'inviting' | 'receiver_draft' | 'receiver_draft_approval_required' | 'amending' | 'extraction' | 'extraction_amending' | 'election_approval_required' | 'agreed' | 'confirmed' | 'confirmed_template' | 'execution_agreed' | 'executed' | 'cancelled';
|
|
3049
3070
|
|
|
3050
3071
|
export type DetailedInputValidationErrorDto = {
|
|
3051
3072
|
errorType: string;
|
|
@@ -3117,6 +3138,7 @@ export type CreateSubAccountResponseDto = {
|
|
|
3117
3138
|
export type SendPackageToCounterpartyRequestDto = {
|
|
3118
3139
|
negotiationIds: Array<string>;
|
|
3119
3140
|
reminderCadence?: 'OneWeek' | 'TwoWeeks' | 'ThreeWeeks';
|
|
3141
|
+
sendAsOneLink?: boolean;
|
|
3120
3142
|
};
|
|
3121
3143
|
|
|
3122
3144
|
export type CounterpartyDto = {
|
|
@@ -3265,7 +3287,7 @@ export type AccountSummaryFlatDto = {
|
|
|
3265
3287
|
allowedDomains: Array<string>;
|
|
3266
3288
|
};
|
|
3267
3289
|
|
|
3268
|
-
export type NegotiationAction = 'assignUser' | 'assignToMe' | 'cancel' | 'confirm' | 'confirmExecutionVersion' | 'downloadDocument' | 'downloadCounterpartyDocument' | 'downloadBlackline' | 'edit' | 'approveDocument' | 'approveDocumentOverride' | 'rejectDocument' | 'rejectDocumentOverride' | 'approveElectionOverride' | 'rejectElectionOverride' | 'setMultipleCounterparties' | 'setCounterparty' | 'setCounterpartyEntity' | 'sendToCounterparty' | 'sendForApproval' | 'sendManualReminderEmails' | 'setElectionApprovals' | 'setDocumentApprovals' | 'assignGuestApprovers' | 'setPreset' | 'revertToAmending' | 'view' | 'uploadDeleteSignature' | 'setInitiatorEntity' | 'canInvite' | 'canInviteNoPreset' | 'markAsOffline' | 'markAsFinal' | 'notifyOfDraft' | 'uploadDeleteAuxiliaryDocument' | 'fork' | 'uploadDeleteExecutedVersion' | 'markElectionReserved' | 'unmarkElectionReserved' | 'upgradeSchema' | 'updateCustomFields' | 'startESign' | 'changeSigningModeESign' | 'changeSigningModeOffline' | 'setGeneralCoverNote' | 'fixBrokenApprovalRules';
|
|
3290
|
+
export type NegotiationAction = 'assignUser' | 'assignToMe' | 'cancel' | 'confirm' | 'confirmExecutionVersion' | 'downloadDocument' | 'downloadCounterpartyDocument' | 'uploadCounterpartyDocument' | 'downloadBlackline' | 'edit' | 'editTemplate' | 'approveDocument' | 'approveDocumentOverride' | 'rejectDocument' | 'rejectDocumentOverride' | 'approveElectionOverride' | 'rejectElectionOverride' | 'setMultipleCounterparties' | 'setCounterparty' | 'setCounterpartyEntity' | 'sendToCounterparty' | 'sendForApproval' | 'sendManualReminderEmails' | 'setElectionApprovals' | 'setDocumentApprovals' | 'assignGuestApprovers' | 'setPreset' | 'revertToAmending' | 'view' | 'uploadDeleteSignature' | 'setInitiatorEntity' | 'canInvite' | 'canInviteNoPreset' | 'markAsOffline' | 'markAsFinal' | 'notifyOfDraft' | 'uploadDeleteAuxiliaryDocument' | 'fork' | 'uploadDeleteExecutedVersion' | 'markElectionReserved' | 'unmarkElectionReserved' | 'upgradeSchema' | 'updateCustomFields' | 'startESign' | 'changeSigningModeESign' | 'changeSigningModeOffline' | 'setGeneralCoverNote' | 'fixBrokenApprovalRules';
|
|
3269
3291
|
|
|
3270
3292
|
export type BulkDraftCounterpartyOptionsDto = {
|
|
3271
3293
|
overrideAnswers: PartyAnswersDto;
|
|
@@ -3648,18 +3670,6 @@ export type PartyElectionNestedAnswersDto = {
|
|
|
3648
3670
|
previousVersions: Array<PartyElectionNestedAnswersForVersionDto>;
|
|
3649
3671
|
};
|
|
3650
3672
|
|
|
3651
|
-
export type TemplateExtractionScoreDto = {
|
|
3652
|
-
actualAnswersValid: PartyAnswersDto;
|
|
3653
|
-
expectedUnstructured: Array<string>;
|
|
3654
|
-
actualAnswers: PartyAnswersDto;
|
|
3655
|
-
expectedAnswers: PartyAnswersDto;
|
|
3656
|
-
thoughts?: Array<string>;
|
|
3657
|
-
actualUnstructured: Array<string>;
|
|
3658
|
-
similarityUnstructured: TextSimilarityScoreDto;
|
|
3659
|
-
electionId: string;
|
|
3660
|
-
similarityStructured: ElectionValueSimilarityScoreDto;
|
|
3661
|
-
};
|
|
3662
|
-
|
|
3663
3673
|
export type ElectionAnswerTypeDto = 'preset' | 'approved';
|
|
3664
3674
|
|
|
3665
3675
|
export type SpanChangeKind = 'colspan' | 'rowspan';
|
|
@@ -3732,6 +3742,23 @@ export type EditEventOp = ({
|
|
|
3732
3742
|
type: 'EditEventOp.AnswerValueChange';
|
|
3733
3743
|
} & EditEventOp_AnswerValueChange);
|
|
3734
3744
|
|
|
3745
|
+
export type TemplateExtractionScoreDto = {
|
|
3746
|
+
actualAnswersValid: PartyAnswersDto;
|
|
3747
|
+
expectedUnstructured: Array<string>;
|
|
3748
|
+
actualAnswers: PartyAnswersDto;
|
|
3749
|
+
expectedAnswers: PartyAnswersDto;
|
|
3750
|
+
thoughts?: Array<string>;
|
|
3751
|
+
actualUnstructured: Array<string>;
|
|
3752
|
+
similarityUnstructured: TextSimilarityScoreDto;
|
|
3753
|
+
electionId: string;
|
|
3754
|
+
similarityStructured: ElectionValueSimilarityScoreDto;
|
|
3755
|
+
};
|
|
3756
|
+
|
|
3757
|
+
export type OneLinkPackageInvitationDetailsDto_OneLinkPackageNegotiationDto = {
|
|
3758
|
+
negotiationId: string;
|
|
3759
|
+
negotiationDetails: OneLinkInvitationNegotiationDetailsDto;
|
|
3760
|
+
};
|
|
3761
|
+
|
|
3735
3762
|
export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
|
|
3736
3763
|
|
|
3737
3764
|
export type NegotiationSingleDto = {
|
|
@@ -3775,6 +3802,7 @@ export type NegotiationSingleDto = {
|
|
|
3775
3802
|
markedAsFavourite: boolean;
|
|
3776
3803
|
electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
|
|
3777
3804
|
totalElections: number;
|
|
3805
|
+
electionsExcludedByExtraction: Array<string>;
|
|
3778
3806
|
generalCoverNote?: string;
|
|
3779
3807
|
forkDate?: string;
|
|
3780
3808
|
counterpartyHasChangedNestedAnswers: boolean;
|
|
@@ -4597,12 +4625,17 @@ export type DocuSignPreviewSignerDto = {
|
|
|
4597
4625
|
};
|
|
4598
4626
|
|
|
4599
4627
|
export type CompletedExtractionResultDto = {
|
|
4600
|
-
|
|
4628
|
+
sourceFileType: 'pdf' | 'docx';
|
|
4629
|
+
extractionVersion: number;
|
|
4601
4630
|
userAnswers: PartyAnswersDto;
|
|
4602
4631
|
selectedElections: Array<string>;
|
|
4603
4632
|
feedback: ExtractionFeedbackDto;
|
|
4604
4633
|
updated?: string;
|
|
4605
4634
|
extractionAnswers: PartyAnswersDto;
|
|
4635
|
+
amendmentDecisions: {
|
|
4636
|
+
[key: string]: string;
|
|
4637
|
+
};
|
|
4638
|
+
unstructured: UnstructuredExtractionResultDto;
|
|
4606
4639
|
structured: StructuredExtractionResultDto;
|
|
4607
4640
|
percentExtracted: number;
|
|
4608
4641
|
created: string;
|
|
@@ -4639,6 +4672,16 @@ export type NegotiationPackageDraftSourceDto = {
|
|
|
4639
4672
|
sourceId: string;
|
|
4640
4673
|
};
|
|
4641
4674
|
|
|
4675
|
+
export type TemplateVariationEventDto = {
|
|
4676
|
+
author: string;
|
|
4677
|
+
state: string;
|
|
4678
|
+
before?: string;
|
|
4679
|
+
variationIds: Array<string>;
|
|
4680
|
+
id: string;
|
|
4681
|
+
after?: string;
|
|
4682
|
+
kind: string;
|
|
4683
|
+
};
|
|
4684
|
+
|
|
4642
4685
|
export type ReportGenerationRequestDto = {
|
|
4643
4686
|
documentIds?: Array<string>;
|
|
4644
4687
|
timeZone?: string;
|
|
@@ -4810,7 +4853,12 @@ export type negotiationRenderTemplateData = {
|
|
|
4810
4853
|
subAccountId: string;
|
|
4811
4854
|
negotiationId: string;
|
|
4812
4855
|
};
|
|
4813
|
-
query?:
|
|
4856
|
+
query?: {
|
|
4857
|
+
/**
|
|
4858
|
+
* When true, skip blackline annotation and return the clean editable render.
|
|
4859
|
+
*/
|
|
4860
|
+
editable?: boolean;
|
|
4861
|
+
};
|
|
4814
4862
|
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview';
|
|
4815
4863
|
};
|
|
4816
4864
|
|
|
@@ -5324,6 +5372,36 @@ export type approveResponses = {
|
|
|
5324
5372
|
|
|
5325
5373
|
export type approveResponse = approveResponses[keyof approveResponses];
|
|
5326
5374
|
|
|
5375
|
+
export type scheduleCounterpartyDocxExtractionData = {
|
|
5376
|
+
body?: never;
|
|
5377
|
+
path: {
|
|
5378
|
+
subAccountId: string;
|
|
5379
|
+
negotiationId: string;
|
|
5380
|
+
};
|
|
5381
|
+
query?: never;
|
|
5382
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/uploadCounterpartyDocx';
|
|
5383
|
+
};
|
|
5384
|
+
|
|
5385
|
+
export type scheduleCounterpartyDocxExtractionErrors = {
|
|
5386
|
+
/**
|
|
5387
|
+
* Missing required header, no owner entity, or counterparty count != 1
|
|
5388
|
+
*/
|
|
5389
|
+
400: unknown;
|
|
5390
|
+
/**
|
|
5391
|
+
* Document does not support extraction or account does not allow generative AI features
|
|
5392
|
+
*/
|
|
5393
|
+
403: unknown;
|
|
5394
|
+
};
|
|
5395
|
+
|
|
5396
|
+
export type scheduleCounterpartyDocxExtractionResponses = {
|
|
5397
|
+
/**
|
|
5398
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
5399
|
+
*/
|
|
5400
|
+
202: NegotiationWithTimelineAndPreviewDto;
|
|
5401
|
+
};
|
|
5402
|
+
|
|
5403
|
+
export type scheduleCounterpartyDocxExtractionResponse = scheduleCounterpartyDocxExtractionResponses[keyof scheduleCounterpartyDocxExtractionResponses];
|
|
5404
|
+
|
|
5327
5405
|
export type listAllPresetsForSubAccountV1Data = {
|
|
5328
5406
|
body?: never;
|
|
5329
5407
|
path: {
|
|
@@ -11219,24 +11297,6 @@ export type acceptCounterpartyPositionResponses = {
|
|
|
11219
11297
|
|
|
11220
11298
|
export type acceptCounterpartyPositionResponse = acceptCounterpartyPositionResponses[keyof acceptCounterpartyPositionResponses];
|
|
11221
11299
|
|
|
11222
|
-
export type cancelNegotiationsData = {
|
|
11223
|
-
body: CancelNegotiationsDto;
|
|
11224
|
-
path: {
|
|
11225
|
-
subAccountId: string;
|
|
11226
|
-
};
|
|
11227
|
-
query?: never;
|
|
11228
|
-
url: '/api/v1/subAccounts/{subAccountId}/cancelNegotiations';
|
|
11229
|
-
};
|
|
11230
|
-
|
|
11231
|
-
export type cancelNegotiationsResponses = {
|
|
11232
|
-
/**
|
|
11233
|
-
* Selected negotiations canceled
|
|
11234
|
-
*/
|
|
11235
|
-
200: CancelNegotiationsDto;
|
|
11236
|
-
};
|
|
11237
|
-
|
|
11238
|
-
export type cancelNegotiationsResponse = cancelNegotiationsResponses[keyof cancelNegotiationsResponses];
|
|
11239
|
-
|
|
11240
11300
|
export type getInsightsTimelineData = {
|
|
11241
11301
|
body?: never;
|
|
11242
11302
|
path: {
|
|
@@ -11398,6 +11458,80 @@ export type getExecutionAttachmentResponses = {
|
|
|
11398
11458
|
|
|
11399
11459
|
export type getExecutionAttachmentResponse = getExecutionAttachmentResponses[keyof getExecutionAttachmentResponses];
|
|
11400
11460
|
|
|
11461
|
+
export type createFromDocxData = {
|
|
11462
|
+
body?: never;
|
|
11463
|
+
path: {
|
|
11464
|
+
subAccountId: string;
|
|
11465
|
+
documentId: string;
|
|
11466
|
+
};
|
|
11467
|
+
query?: never;
|
|
11468
|
+
url: '/api/v1/subAccounts/{subAccountId}/documents/{documentId}/negotiations/fromDocx';
|
|
11469
|
+
};
|
|
11470
|
+
|
|
11471
|
+
export type createFromDocxErrors = {
|
|
11472
|
+
/**
|
|
11473
|
+
* Missing required header or document does not support extraction
|
|
11474
|
+
*/
|
|
11475
|
+
400: unknown;
|
|
11476
|
+
/**
|
|
11477
|
+
* Account does not allow generative AI features
|
|
11478
|
+
*/
|
|
11479
|
+
403: unknown;
|
|
11480
|
+
};
|
|
11481
|
+
|
|
11482
|
+
export type createFromDocxResponses = {
|
|
11483
|
+
/**
|
|
11484
|
+
* A JSON document describing the newly-created negotiation
|
|
11485
|
+
*/
|
|
11486
|
+
201: NegotiationWithTimelineAndPreviewDto;
|
|
11487
|
+
};
|
|
11488
|
+
|
|
11489
|
+
export type createFromDocxResponse = createFromDocxResponses[keyof createFromDocxResponses];
|
|
11490
|
+
|
|
11491
|
+
export type discardExtractionData = {
|
|
11492
|
+
body?: never;
|
|
11493
|
+
path: {
|
|
11494
|
+
subAccountId: string;
|
|
11495
|
+
negotiationId: string;
|
|
11496
|
+
};
|
|
11497
|
+
query?: never;
|
|
11498
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/discard';
|
|
11499
|
+
};
|
|
11500
|
+
|
|
11501
|
+
export type discardExtractionErrors = {
|
|
11502
|
+
/**
|
|
11503
|
+
* Negotiation is not in Draft state, or no extraction has run on it
|
|
11504
|
+
*/
|
|
11505
|
+
403: unknown;
|
|
11506
|
+
};
|
|
11507
|
+
|
|
11508
|
+
export type discardExtractionResponses = {
|
|
11509
|
+
/**
|
|
11510
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
11511
|
+
*/
|
|
11512
|
+
202: NegotiationWithTimelineAndPreviewDto;
|
|
11513
|
+
};
|
|
11514
|
+
|
|
11515
|
+
export type discardExtractionResponse = discardExtractionResponses[keyof discardExtractionResponses];
|
|
11516
|
+
|
|
11517
|
+
export type cancelNegotiationsData = {
|
|
11518
|
+
body: CancelNegotiationsDto;
|
|
11519
|
+
path: {
|
|
11520
|
+
subAccountId: string;
|
|
11521
|
+
};
|
|
11522
|
+
query?: never;
|
|
11523
|
+
url: '/api/v1/subAccounts/{subAccountId}/cancelNegotiations';
|
|
11524
|
+
};
|
|
11525
|
+
|
|
11526
|
+
export type cancelNegotiationsResponses = {
|
|
11527
|
+
/**
|
|
11528
|
+
* Selected negotiations canceled
|
|
11529
|
+
*/
|
|
11530
|
+
200: CancelNegotiationsDto;
|
|
11531
|
+
};
|
|
11532
|
+
|
|
11533
|
+
export type cancelNegotiationsResponse = cancelNegotiationsResponses[keyof cancelNegotiationsResponses];
|
|
11534
|
+
|
|
11401
11535
|
export type syncNewApproverData = {
|
|
11402
11536
|
body: SyncNewApproverDto;
|
|
11403
11537
|
path?: never;
|
|
@@ -12570,6 +12704,37 @@ export type sendPackageToCounterpartyResponses = {
|
|
|
12570
12704
|
|
|
12571
12705
|
export type sendPackageToCounterpartyResponse = sendPackageToCounterpartyResponses[keyof sendPackageToCounterpartyResponses];
|
|
12572
12706
|
|
|
12707
|
+
export type scheduleDocxExtractionData = {
|
|
12708
|
+
body?: never;
|
|
12709
|
+
path: {
|
|
12710
|
+
subAccountId: string;
|
|
12711
|
+
negotiationId: string;
|
|
12712
|
+
partyId: string;
|
|
12713
|
+
};
|
|
12714
|
+
query?: never;
|
|
12715
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/uploadDocx/{partyId}';
|
|
12716
|
+
};
|
|
12717
|
+
|
|
12718
|
+
export type scheduleDocxExtractionErrors = {
|
|
12719
|
+
/**
|
|
12720
|
+
* Missing required header, unknown party, or upload-on-behalf-of-other-party (not yet supported)
|
|
12721
|
+
*/
|
|
12722
|
+
400: unknown;
|
|
12723
|
+
/**
|
|
12724
|
+
* Extraction is not enabled for the document type
|
|
12725
|
+
*/
|
|
12726
|
+
403: unknown;
|
|
12727
|
+
};
|
|
12728
|
+
|
|
12729
|
+
export type scheduleDocxExtractionResponses = {
|
|
12730
|
+
/**
|
|
12731
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
12732
|
+
*/
|
|
12733
|
+
202: NegotiationWithTimelineAndPreviewDto;
|
|
12734
|
+
};
|
|
12735
|
+
|
|
12736
|
+
export type scheduleDocxExtractionResponse = scheduleDocxExtractionResponses[keyof scheduleDocxExtractionResponses];
|
|
12737
|
+
|
|
12573
12738
|
export type setPackagePartiesData = {
|
|
12574
12739
|
body: SetNegotiationPackagePartiesDto;
|
|
12575
12740
|
path: {
|