@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/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;
|
|
@@ -387,7 +391,7 @@ export type ApprovalCountStatisticsDto = {
|
|
|
387
391
|
};
|
|
388
392
|
|
|
389
393
|
export type CreateDocuSignPackageEnvelopeRequestDto = {
|
|
390
|
-
name
|
|
394
|
+
name?: string;
|
|
391
395
|
negotiationIds: Array<string>;
|
|
392
396
|
};
|
|
393
397
|
|
|
@@ -533,7 +537,7 @@ export type MarkEventAsReadRequestDto = {
|
|
|
533
537
|
eventIds: Array<string>;
|
|
534
538
|
};
|
|
535
539
|
|
|
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';
|
|
540
|
+
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
541
|
|
|
538
542
|
export type NegotiationFilesSummaryDto = {
|
|
539
543
|
signatureFiles: Array<NegotiationFileDto_SignatureFileDto>;
|
|
@@ -853,6 +857,8 @@ export type UserIdDto = {
|
|
|
853
857
|
};
|
|
854
858
|
|
|
855
859
|
export type ProcessingExtractionResultDto = {
|
|
860
|
+
sourceFileType: 'pdf' | 'docx';
|
|
861
|
+
extractionVersion: number;
|
|
856
862
|
percentComplete: number;
|
|
857
863
|
partialStructured: StructuredExtractionResultDto;
|
|
858
864
|
updated?: string;
|
|
@@ -873,14 +879,6 @@ export type CommentReactionDto = {
|
|
|
873
879
|
timestamp: string;
|
|
874
880
|
};
|
|
875
881
|
|
|
876
|
-
export type DocumentErrorResponseDto = {
|
|
877
|
-
humanReadableMessage?: string;
|
|
878
|
-
causes?: Array<CausesDto>;
|
|
879
|
-
code: string;
|
|
880
|
-
message: string;
|
|
881
|
-
documentCauses?: Array<MajorChangeSummaryDto>;
|
|
882
|
-
};
|
|
883
|
-
|
|
884
882
|
export type PartyThatCanConfirmExecutionVersion = 'initiator' | 'receiver' | 'moderator';
|
|
885
883
|
|
|
886
884
|
export type SubAccountWithDocPackDto = {
|
|
@@ -972,6 +970,16 @@ export type BrokenApproversSummaryDto = {
|
|
|
972
970
|
affectedWorkspaces: Array<string>;
|
|
973
971
|
};
|
|
974
972
|
|
|
973
|
+
export type AmendmentDecisionReason = 'schemaValidatesRenderMatches' | 'renderMismatch' | 'schemaInvalid' | 'noStructuredAnswer';
|
|
974
|
+
|
|
975
|
+
export type DocumentErrorResponseDto = {
|
|
976
|
+
humanReadableMessage?: string;
|
|
977
|
+
causes?: Array<CausesDto>;
|
|
978
|
+
code: string;
|
|
979
|
+
message: string;
|
|
980
|
+
documentCauses?: Array<MajorChangeSummaryDto>;
|
|
981
|
+
};
|
|
982
|
+
|
|
975
983
|
export type PresetEventHistoryDto_EventByDto = {
|
|
976
984
|
user: UserDto;
|
|
977
985
|
timestamp: string;
|
|
@@ -1201,6 +1209,8 @@ export type NegotiationReminderDto = {
|
|
|
1201
1209
|
};
|
|
1202
1210
|
|
|
1203
1211
|
export type FailedExtractionResultDto = {
|
|
1212
|
+
sourceFileType: 'pdf' | 'docx';
|
|
1213
|
+
extractionVersion: number;
|
|
1204
1214
|
percentComplete: number;
|
|
1205
1215
|
partialStructured: StructuredExtractionResultDto;
|
|
1206
1216
|
partialUnstructured: UnstructuredExtractionResultDto;
|
|
@@ -1865,7 +1875,6 @@ export type BlacklineEnvelopeDto = {
|
|
|
1865
1875
|
* Diff-algorithm version stamped on every event in this envelope.
|
|
1866
1876
|
*/
|
|
1867
1877
|
algorithmVersion: number;
|
|
1868
|
-
events: Array<BlacklineEventDto>;
|
|
1869
1878
|
/**
|
|
1870
1879
|
* 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
1880
|
*
|
|
@@ -1873,6 +1882,8 @@ export type BlacklineEnvelopeDto = {
|
|
|
1873
1882
|
annotatedAnswers: {
|
|
1874
1883
|
[key: string]: string;
|
|
1875
1884
|
};
|
|
1885
|
+
events: Array<BlacklineEventDto>;
|
|
1886
|
+
templateVariationEvents?: Array<TemplateVariationEventDto>;
|
|
1876
1887
|
};
|
|
1877
1888
|
|
|
1878
1889
|
export type NegotiationAuditTrailEventDto = {
|
|
@@ -2015,8 +2026,6 @@ export type DocumentDraftingNoteDto = {
|
|
|
2015
2026
|
draftingNotes: DraftingNotesDto;
|
|
2016
2027
|
};
|
|
2017
2028
|
|
|
2018
|
-
export type ReminderStatus = 'Pending' | 'Completed' | 'Terminated';
|
|
2019
|
-
|
|
2020
2029
|
export type ExecutedNegotiationSummaryDto_HistoryDto = {
|
|
2021
2030
|
cancelled?: ExecutedNegotiationSummaryDto_EventByDto;
|
|
2022
2031
|
acceptedInvite?: ExecutedNegotiationSummaryDto_EventByDto;
|
|
@@ -2109,6 +2118,10 @@ export type PresetEventHistoryDto = {
|
|
|
2109
2118
|
approved?: PresetEventHistoryDto_EventByDto;
|
|
2110
2119
|
};
|
|
2111
2120
|
|
|
2121
|
+
export type ExtractionSourceType = 'pdf' | 'docx';
|
|
2122
|
+
|
|
2123
|
+
export type ReminderStatus = 'Pending' | 'Completed' | 'Terminated';
|
|
2124
|
+
|
|
2112
2125
|
export type EmailWithErrorDto = {
|
|
2113
2126
|
email: string;
|
|
2114
2127
|
isFreeEmail: boolean;
|
|
@@ -2513,12 +2526,6 @@ export type CreateBulkSetItemDto = {
|
|
|
2513
2526
|
|
|
2514
2527
|
export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
|
|
2515
2528
|
|
|
2516
|
-
export type NegotiationPartyDto = ({
|
|
2517
|
-
type: 'established_party';
|
|
2518
|
-
} & NegotiationEstablishedPartyDto) | ({
|
|
2519
|
-
type: 'stubbed_party';
|
|
2520
|
-
} & NegotiationStubbedPartyDto);
|
|
2521
|
-
|
|
2522
2529
|
export type AccountWithAddedDomainsDto = {
|
|
2523
2530
|
accountId: string;
|
|
2524
2531
|
accountName: string;
|
|
@@ -2604,6 +2611,16 @@ export type ManualReminderEmailInfoDto = {
|
|
|
2604
2611
|
emailFailedToDeliver: boolean;
|
|
2605
2612
|
};
|
|
2606
2613
|
|
|
2614
|
+
export type EnvelopeNegotiationIdsRequestDto = {
|
|
2615
|
+
negotiationIds: Array<string>;
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
export type NegotiationPartyDto = ({
|
|
2619
|
+
type: 'established_party';
|
|
2620
|
+
} & NegotiationEstablishedPartyDto) | ({
|
|
2621
|
+
type: 'stubbed_party';
|
|
2622
|
+
} & NegotiationStubbedPartyDto);
|
|
2623
|
+
|
|
2607
2624
|
export type ComponentAnswerDto_Multiple = Array<string>;
|
|
2608
2625
|
|
|
2609
2626
|
export type AddAllowedDomainDto = {
|
|
@@ -3041,7 +3058,7 @@ export type NegotiationListDto = {
|
|
|
3041
3058
|
negotiationEntityFilters: NegotiationEntityFiltersDto;
|
|
3042
3059
|
};
|
|
3043
3060
|
|
|
3044
|
-
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';
|
|
3061
|
+
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';
|
|
3045
3062
|
|
|
3046
3063
|
export type DetailedInputValidationErrorDto = {
|
|
3047
3064
|
errorType: string;
|
|
@@ -3261,7 +3278,7 @@ export type AccountSummaryFlatDto = {
|
|
|
3261
3278
|
allowedDomains: Array<string>;
|
|
3262
3279
|
};
|
|
3263
3280
|
|
|
3264
|
-
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';
|
|
3281
|
+
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';
|
|
3265
3282
|
|
|
3266
3283
|
export type BulkDraftCounterpartyOptionsDto = {
|
|
3267
3284
|
overrideAnswers: PartyAnswersDto;
|
|
@@ -3771,6 +3788,7 @@ export type NegotiationSingleDto = {
|
|
|
3771
3788
|
markedAsFavourite: boolean;
|
|
3772
3789
|
electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
|
|
3773
3790
|
totalElections: number;
|
|
3791
|
+
electionsExcludedByExtraction: Array<string>;
|
|
3774
3792
|
generalCoverNote?: string;
|
|
3775
3793
|
forkDate?: string;
|
|
3776
3794
|
counterpartyHasChangedNestedAnswers: boolean;
|
|
@@ -4593,12 +4611,17 @@ export type DocuSignPreviewSignerDto = {
|
|
|
4593
4611
|
};
|
|
4594
4612
|
|
|
4595
4613
|
export type CompletedExtractionResultDto = {
|
|
4596
|
-
|
|
4614
|
+
sourceFileType: 'pdf' | 'docx';
|
|
4615
|
+
extractionVersion: number;
|
|
4597
4616
|
userAnswers: PartyAnswersDto;
|
|
4598
4617
|
selectedElections: Array<string>;
|
|
4599
4618
|
feedback: ExtractionFeedbackDto;
|
|
4600
4619
|
updated?: string;
|
|
4601
4620
|
extractionAnswers: PartyAnswersDto;
|
|
4621
|
+
amendmentDecisions: {
|
|
4622
|
+
[key: string]: string;
|
|
4623
|
+
};
|
|
4624
|
+
unstructured: UnstructuredExtractionResultDto;
|
|
4602
4625
|
structured: StructuredExtractionResultDto;
|
|
4603
4626
|
percentExtracted: number;
|
|
4604
4627
|
created: string;
|
|
@@ -4635,6 +4658,16 @@ export type NegotiationPackageDraftSourceDto = {
|
|
|
4635
4658
|
sourceId: string;
|
|
4636
4659
|
};
|
|
4637
4660
|
|
|
4661
|
+
export type TemplateVariationEventDto = {
|
|
4662
|
+
author: string;
|
|
4663
|
+
state: string;
|
|
4664
|
+
before?: string;
|
|
4665
|
+
variationIds: Array<string>;
|
|
4666
|
+
id: string;
|
|
4667
|
+
after?: string;
|
|
4668
|
+
kind: string;
|
|
4669
|
+
};
|
|
4670
|
+
|
|
4638
4671
|
export type ReportGenerationRequestDto = {
|
|
4639
4672
|
documentIds?: Array<string>;
|
|
4640
4673
|
timeZone?: string;
|
|
@@ -4806,7 +4839,12 @@ export type negotiationRenderTemplateData = {
|
|
|
4806
4839
|
subAccountId: string;
|
|
4807
4840
|
negotiationId: string;
|
|
4808
4841
|
};
|
|
4809
|
-
query?:
|
|
4842
|
+
query?: {
|
|
4843
|
+
/**
|
|
4844
|
+
* When true, skip blackline annotation and return the clean editable render.
|
|
4845
|
+
*/
|
|
4846
|
+
editable?: boolean;
|
|
4847
|
+
};
|
|
4810
4848
|
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview';
|
|
4811
4849
|
};
|
|
4812
4850
|
|
|
@@ -5320,6 +5358,36 @@ export type approveResponses = {
|
|
|
5320
5358
|
|
|
5321
5359
|
export type approveResponse = approveResponses[keyof approveResponses];
|
|
5322
5360
|
|
|
5361
|
+
export type scheduleCounterpartyDocxExtractionData = {
|
|
5362
|
+
body?: never;
|
|
5363
|
+
path: {
|
|
5364
|
+
subAccountId: string;
|
|
5365
|
+
negotiationId: string;
|
|
5366
|
+
};
|
|
5367
|
+
query?: never;
|
|
5368
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/uploadCounterpartyDocx';
|
|
5369
|
+
};
|
|
5370
|
+
|
|
5371
|
+
export type scheduleCounterpartyDocxExtractionErrors = {
|
|
5372
|
+
/**
|
|
5373
|
+
* Missing required header, no owner entity, or counterparty count != 1
|
|
5374
|
+
*/
|
|
5375
|
+
400: unknown;
|
|
5376
|
+
/**
|
|
5377
|
+
* Document does not support extraction or account does not allow generative AI features
|
|
5378
|
+
*/
|
|
5379
|
+
403: unknown;
|
|
5380
|
+
};
|
|
5381
|
+
|
|
5382
|
+
export type scheduleCounterpartyDocxExtractionResponses = {
|
|
5383
|
+
/**
|
|
5384
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
5385
|
+
*/
|
|
5386
|
+
202: NegotiationWithTimelineAndPreviewDto;
|
|
5387
|
+
};
|
|
5388
|
+
|
|
5389
|
+
export type scheduleCounterpartyDocxExtractionResponse = scheduleCounterpartyDocxExtractionResponses[keyof scheduleCounterpartyDocxExtractionResponses];
|
|
5390
|
+
|
|
5323
5391
|
export type listAllPresetsForSubAccountV1Data = {
|
|
5324
5392
|
body?: never;
|
|
5325
5393
|
path: {
|
|
@@ -7354,48 +7422,6 @@ export type getSubscribedPublishersResponses = {
|
|
|
7354
7422
|
|
|
7355
7423
|
export type getSubscribedPublishersResponse = getSubscribedPublishersResponses[keyof getSubscribedPublishersResponses];
|
|
7356
7424
|
|
|
7357
|
-
export type removeNegotiationFromPackageEnvelopeData = {
|
|
7358
|
-
body?: never;
|
|
7359
|
-
path: {
|
|
7360
|
-
subAccountId: string;
|
|
7361
|
-
negotiationPackageId: string;
|
|
7362
|
-
envelopeId: string;
|
|
7363
|
-
negotiationId: string;
|
|
7364
|
-
};
|
|
7365
|
-
query?: never;
|
|
7366
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations/{negotiationId}';
|
|
7367
|
-
};
|
|
7368
|
-
|
|
7369
|
-
export type removeNegotiationFromPackageEnvelopeResponses = {
|
|
7370
|
-
/**
|
|
7371
|
-
* Updated envelope
|
|
7372
|
-
*/
|
|
7373
|
-
200: DocuSignPackageEnvelopeDto;
|
|
7374
|
-
};
|
|
7375
|
-
|
|
7376
|
-
export type removeNegotiationFromPackageEnvelopeResponse = removeNegotiationFromPackageEnvelopeResponses[keyof removeNegotiationFromPackageEnvelopeResponses];
|
|
7377
|
-
|
|
7378
|
-
export type addNegotiationToPackageEnvelopeData = {
|
|
7379
|
-
body?: never;
|
|
7380
|
-
path: {
|
|
7381
|
-
subAccountId: string;
|
|
7382
|
-
negotiationPackageId: string;
|
|
7383
|
-
envelopeId: string;
|
|
7384
|
-
negotiationId: string;
|
|
7385
|
-
};
|
|
7386
|
-
query?: never;
|
|
7387
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations/{negotiationId}';
|
|
7388
|
-
};
|
|
7389
|
-
|
|
7390
|
-
export type addNegotiationToPackageEnvelopeResponses = {
|
|
7391
|
-
/**
|
|
7392
|
-
* Updated envelope
|
|
7393
|
-
*/
|
|
7394
|
-
200: DocuSignPackageEnvelopeDto;
|
|
7395
|
-
};
|
|
7396
|
-
|
|
7397
|
-
export type addNegotiationToPackageEnvelopeResponse = addNegotiationToPackageEnvelopeResponses[keyof addNegotiationToPackageEnvelopeResponses];
|
|
7398
|
-
|
|
7399
7425
|
export type uploadFundListSpreadsheetData = {
|
|
7400
7426
|
body: {
|
|
7401
7427
|
/**
|
|
@@ -10070,6 +10096,46 @@ export type assignUserResponses = {
|
|
|
10070
10096
|
|
|
10071
10097
|
export type assignUserResponse = assignUserResponses[keyof assignUserResponses];
|
|
10072
10098
|
|
|
10099
|
+
export type removeNegotiationsFromPackageEnvelopeData = {
|
|
10100
|
+
body: EnvelopeNegotiationIdsRequestDto;
|
|
10101
|
+
path: {
|
|
10102
|
+
subAccountId: string;
|
|
10103
|
+
negotiationPackageId: string;
|
|
10104
|
+
envelopeId: string;
|
|
10105
|
+
};
|
|
10106
|
+
query?: never;
|
|
10107
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations';
|
|
10108
|
+
};
|
|
10109
|
+
|
|
10110
|
+
export type removeNegotiationsFromPackageEnvelopeResponses = {
|
|
10111
|
+
/**
|
|
10112
|
+
* Updated envelope
|
|
10113
|
+
*/
|
|
10114
|
+
200: DocuSignPackageEnvelopeDto;
|
|
10115
|
+
};
|
|
10116
|
+
|
|
10117
|
+
export type removeNegotiationsFromPackageEnvelopeResponse = removeNegotiationsFromPackageEnvelopeResponses[keyof removeNegotiationsFromPackageEnvelopeResponses];
|
|
10118
|
+
|
|
10119
|
+
export type addNegotiationsToPackageEnvelopeData = {
|
|
10120
|
+
body: EnvelopeNegotiationIdsRequestDto;
|
|
10121
|
+
path: {
|
|
10122
|
+
subAccountId: string;
|
|
10123
|
+
negotiationPackageId: string;
|
|
10124
|
+
envelopeId: string;
|
|
10125
|
+
};
|
|
10126
|
+
query?: never;
|
|
10127
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/envelopes/{envelopeId}/negotiations';
|
|
10128
|
+
};
|
|
10129
|
+
|
|
10130
|
+
export type addNegotiationsToPackageEnvelopeResponses = {
|
|
10131
|
+
/**
|
|
10132
|
+
* Updated envelope
|
|
10133
|
+
*/
|
|
10134
|
+
200: DocuSignPackageEnvelopeDto;
|
|
10135
|
+
};
|
|
10136
|
+
|
|
10137
|
+
export type addNegotiationsToPackageEnvelopeResponse = addNegotiationsToPackageEnvelopeResponses[keyof addNegotiationsToPackageEnvelopeResponses];
|
|
10138
|
+
|
|
10073
10139
|
export type acceptEventData = {
|
|
10074
10140
|
body?: never;
|
|
10075
10141
|
path: {
|
|
@@ -11217,24 +11283,6 @@ export type acceptCounterpartyPositionResponses = {
|
|
|
11217
11283
|
|
|
11218
11284
|
export type acceptCounterpartyPositionResponse = acceptCounterpartyPositionResponses[keyof acceptCounterpartyPositionResponses];
|
|
11219
11285
|
|
|
11220
|
-
export type cancelNegotiationsData = {
|
|
11221
|
-
body: CancelNegotiationsDto;
|
|
11222
|
-
path: {
|
|
11223
|
-
subAccountId: string;
|
|
11224
|
-
};
|
|
11225
|
-
query?: never;
|
|
11226
|
-
url: '/api/v1/subAccounts/{subAccountId}/cancelNegotiations';
|
|
11227
|
-
};
|
|
11228
|
-
|
|
11229
|
-
export type cancelNegotiationsResponses = {
|
|
11230
|
-
/**
|
|
11231
|
-
* Selected negotiations canceled
|
|
11232
|
-
*/
|
|
11233
|
-
200: CancelNegotiationsDto;
|
|
11234
|
-
};
|
|
11235
|
-
|
|
11236
|
-
export type cancelNegotiationsResponse = cancelNegotiationsResponses[keyof cancelNegotiationsResponses];
|
|
11237
|
-
|
|
11238
11286
|
export type getInsightsTimelineData = {
|
|
11239
11287
|
body?: never;
|
|
11240
11288
|
path: {
|
|
@@ -11396,6 +11444,80 @@ export type getExecutionAttachmentResponses = {
|
|
|
11396
11444
|
|
|
11397
11445
|
export type getExecutionAttachmentResponse = getExecutionAttachmentResponses[keyof getExecutionAttachmentResponses];
|
|
11398
11446
|
|
|
11447
|
+
export type createFromDocxData = {
|
|
11448
|
+
body?: never;
|
|
11449
|
+
path: {
|
|
11450
|
+
subAccountId: string;
|
|
11451
|
+
documentId: string;
|
|
11452
|
+
};
|
|
11453
|
+
query?: never;
|
|
11454
|
+
url: '/api/v1/subAccounts/{subAccountId}/documents/{documentId}/negotiations/fromDocx';
|
|
11455
|
+
};
|
|
11456
|
+
|
|
11457
|
+
export type createFromDocxErrors = {
|
|
11458
|
+
/**
|
|
11459
|
+
* Missing required header or document does not support extraction
|
|
11460
|
+
*/
|
|
11461
|
+
400: unknown;
|
|
11462
|
+
/**
|
|
11463
|
+
* Account does not allow generative AI features
|
|
11464
|
+
*/
|
|
11465
|
+
403: unknown;
|
|
11466
|
+
};
|
|
11467
|
+
|
|
11468
|
+
export type createFromDocxResponses = {
|
|
11469
|
+
/**
|
|
11470
|
+
* A JSON document describing the newly-created negotiation
|
|
11471
|
+
*/
|
|
11472
|
+
201: NegotiationWithTimelineAndPreviewDto;
|
|
11473
|
+
};
|
|
11474
|
+
|
|
11475
|
+
export type createFromDocxResponse = createFromDocxResponses[keyof createFromDocxResponses];
|
|
11476
|
+
|
|
11477
|
+
export type discardExtractionData = {
|
|
11478
|
+
body?: never;
|
|
11479
|
+
path: {
|
|
11480
|
+
subAccountId: string;
|
|
11481
|
+
negotiationId: string;
|
|
11482
|
+
};
|
|
11483
|
+
query?: never;
|
|
11484
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/discard';
|
|
11485
|
+
};
|
|
11486
|
+
|
|
11487
|
+
export type discardExtractionErrors = {
|
|
11488
|
+
/**
|
|
11489
|
+
* Negotiation is not in Draft state, or no extraction has run on it
|
|
11490
|
+
*/
|
|
11491
|
+
403: unknown;
|
|
11492
|
+
};
|
|
11493
|
+
|
|
11494
|
+
export type discardExtractionResponses = {
|
|
11495
|
+
/**
|
|
11496
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
11497
|
+
*/
|
|
11498
|
+
202: NegotiationWithTimelineAndPreviewDto;
|
|
11499
|
+
};
|
|
11500
|
+
|
|
11501
|
+
export type discardExtractionResponse = discardExtractionResponses[keyof discardExtractionResponses];
|
|
11502
|
+
|
|
11503
|
+
export type cancelNegotiationsData = {
|
|
11504
|
+
body: CancelNegotiationsDto;
|
|
11505
|
+
path: {
|
|
11506
|
+
subAccountId: string;
|
|
11507
|
+
};
|
|
11508
|
+
query?: never;
|
|
11509
|
+
url: '/api/v1/subAccounts/{subAccountId}/cancelNegotiations';
|
|
11510
|
+
};
|
|
11511
|
+
|
|
11512
|
+
export type cancelNegotiationsResponses = {
|
|
11513
|
+
/**
|
|
11514
|
+
* Selected negotiations canceled
|
|
11515
|
+
*/
|
|
11516
|
+
200: CancelNegotiationsDto;
|
|
11517
|
+
};
|
|
11518
|
+
|
|
11519
|
+
export type cancelNegotiationsResponse = cancelNegotiationsResponses[keyof cancelNegotiationsResponses];
|
|
11520
|
+
|
|
11399
11521
|
export type syncNewApproverData = {
|
|
11400
11522
|
body: SyncNewApproverDto;
|
|
11401
11523
|
path?: never;
|
|
@@ -12568,6 +12690,37 @@ export type sendPackageToCounterpartyResponses = {
|
|
|
12568
12690
|
|
|
12569
12691
|
export type sendPackageToCounterpartyResponse = sendPackageToCounterpartyResponses[keyof sendPackageToCounterpartyResponses];
|
|
12570
12692
|
|
|
12693
|
+
export type scheduleDocxExtractionData = {
|
|
12694
|
+
body?: never;
|
|
12695
|
+
path: {
|
|
12696
|
+
subAccountId: string;
|
|
12697
|
+
negotiationId: string;
|
|
12698
|
+
partyId: string;
|
|
12699
|
+
};
|
|
12700
|
+
query?: never;
|
|
12701
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/uploadDocx/{partyId}';
|
|
12702
|
+
};
|
|
12703
|
+
|
|
12704
|
+
export type scheduleDocxExtractionErrors = {
|
|
12705
|
+
/**
|
|
12706
|
+
* Missing required header, unknown party, or upload-on-behalf-of-other-party (not yet supported)
|
|
12707
|
+
*/
|
|
12708
|
+
400: unknown;
|
|
12709
|
+
/**
|
|
12710
|
+
* Extraction is not enabled for the document type
|
|
12711
|
+
*/
|
|
12712
|
+
403: unknown;
|
|
12713
|
+
};
|
|
12714
|
+
|
|
12715
|
+
export type scheduleDocxExtractionResponses = {
|
|
12716
|
+
/**
|
|
12717
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
12718
|
+
*/
|
|
12719
|
+
202: NegotiationWithTimelineAndPreviewDto;
|
|
12720
|
+
};
|
|
12721
|
+
|
|
12722
|
+
export type scheduleDocxExtractionResponse = scheduleDocxExtractionResponses[keyof scheduleDocxExtractionResponses];
|
|
12723
|
+
|
|
12571
12724
|
export type setPackagePartiesData = {
|
|
12572
12725
|
body: SetNegotiationPackagePartiesDto;
|
|
12573
12726
|
path: {
|