@createiq/backend 1.0.179 → 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.
@@ -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: string;
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;
@@ -3045,7 +3058,7 @@ export type NegotiationListDto = {
3045
3058
  negotiationEntityFilters: NegotiationEntityFiltersDto;
3046
3059
  };
3047
3060
 
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';
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';
3049
3062
 
3050
3063
  export type DetailedInputValidationErrorDto = {
3051
3064
  errorType: string;
@@ -3265,7 +3278,7 @@ export type AccountSummaryFlatDto = {
3265
3278
  allowedDomains: Array<string>;
3266
3279
  };
3267
3280
 
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';
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';
3269
3282
 
3270
3283
  export type BulkDraftCounterpartyOptionsDto = {
3271
3284
  overrideAnswers: PartyAnswersDto;
@@ -3775,6 +3788,7 @@ export type NegotiationSingleDto = {
3775
3788
  markedAsFavourite: boolean;
3776
3789
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3777
3790
  totalElections: number;
3791
+ electionsExcludedByExtraction: Array<string>;
3778
3792
  generalCoverNote?: string;
3779
3793
  forkDate?: string;
3780
3794
  counterpartyHasChangedNestedAnswers: boolean;
@@ -4597,12 +4611,17 @@ export type DocuSignPreviewSignerDto = {
4597
4611
  };
4598
4612
 
4599
4613
  export type CompletedExtractionResultDto = {
4600
- unstructured: UnstructuredExtractionResultDto;
4614
+ sourceFileType: 'pdf' | 'docx';
4615
+ extractionVersion: number;
4601
4616
  userAnswers: PartyAnswersDto;
4602
4617
  selectedElections: Array<string>;
4603
4618
  feedback: ExtractionFeedbackDto;
4604
4619
  updated?: string;
4605
4620
  extractionAnswers: PartyAnswersDto;
4621
+ amendmentDecisions: {
4622
+ [key: string]: string;
4623
+ };
4624
+ unstructured: UnstructuredExtractionResultDto;
4606
4625
  structured: StructuredExtractionResultDto;
4607
4626
  percentExtracted: number;
4608
4627
  created: string;
@@ -4639,6 +4658,16 @@ export type NegotiationPackageDraftSourceDto = {
4639
4658
  sourceId: string;
4640
4659
  };
4641
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
+
4642
4671
  export type ReportGenerationRequestDto = {
4643
4672
  documentIds?: Array<string>;
4644
4673
  timeZone?: string;
@@ -4810,7 +4839,12 @@ export type negotiationRenderTemplateData = {
4810
4839
  subAccountId: string;
4811
4840
  negotiationId: string;
4812
4841
  };
4813
- query?: never;
4842
+ query?: {
4843
+ /**
4844
+ * When true, skip blackline annotation and return the clean editable render.
4845
+ */
4846
+ editable?: boolean;
4847
+ };
4814
4848
  url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview';
4815
4849
  };
4816
4850
 
@@ -5324,6 +5358,36 @@ export type approveResponses = {
5324
5358
 
5325
5359
  export type approveResponse = approveResponses[keyof approveResponses];
5326
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
+
5327
5391
  export type listAllPresetsForSubAccountV1Data = {
5328
5392
  body?: never;
5329
5393
  path: {
@@ -11219,24 +11283,6 @@ export type acceptCounterpartyPositionResponses = {
11219
11283
 
11220
11284
  export type acceptCounterpartyPositionResponse = acceptCounterpartyPositionResponses[keyof acceptCounterpartyPositionResponses];
11221
11285
 
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
11286
  export type getInsightsTimelineData = {
11241
11287
  body?: never;
11242
11288
  path: {
@@ -11398,6 +11444,80 @@ export type getExecutionAttachmentResponses = {
11398
11444
 
11399
11445
  export type getExecutionAttachmentResponse = getExecutionAttachmentResponses[keyof getExecutionAttachmentResponses];
11400
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
+
11401
11521
  export type syncNewApproverData = {
11402
11522
  body: SyncNewApproverDto;
11403
11523
  path?: never;
@@ -12570,6 +12690,37 @@ export type sendPackageToCounterpartyResponses = {
12570
12690
 
12571
12691
  export type sendPackageToCounterpartyResponse = sendPackageToCounterpartyResponses[keyof sendPackageToCounterpartyResponses];
12572
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
+
12573
12724
  export type setPackagePartiesData = {
12574
12725
  body: SetNegotiationPackagePartiesDto;
12575
12726
  path: {