@createiq/backend 1.0.122 → 1.0.123

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.
@@ -698,6 +698,45 @@ export type SchemaDto = {
698
698
  [key: string]: unknown;
699
699
  };
700
700
 
701
+ export type BlacklineEventDto = {
702
+ /**
703
+ * The moment the author sent these answers to the counterparty (the turn-swap moment). Surfaced in the FE compare-bubble's per-change popover as "Sent at". Renamed from `createdAt` to make the semantic explicit; the underlying value is captured from the workflow event timestamp at emission time.
704
+ *
705
+ */
706
+ sentToCounterpartyAt: string;
707
+ state: 'pending' | 'accepted' | 'rejected' | 'retracted' | 'orphaned';
708
+ /**
709
+ * Canonical `/`-separated path identifying the targeted answer leaf.
710
+ */
711
+ answerPath: string;
712
+ /**
713
+ * Two-element `[start, endExclusive]` character-offset range into the rendered anchored block's HTML. `null` for typed-value answers (`AnswerValueChange`) which don't anchor in HTML.
714
+ *
715
+ */
716
+ tokenRange?: [
717
+ number,
718
+ number
719
+ ];
720
+ id: string;
721
+ /**
722
+ * Layout coordinate identifying a block-level element in the rendered template. Reserved.
723
+ */
724
+ anchorId?: string;
725
+ templateVersion: MajorMinorDto;
726
+ authorPartyId: string;
727
+ resolvedAt?: string;
728
+ resolvedByPartyId?: string;
729
+ /**
730
+ * Runtime-derived: `true` when the proposed change has been invalidated by a subsequent edit (the author's anchor text is gone). State stays `pending` (no DB transition); the FE renders the row distinctly so the operator sees the proposal lapsed rather than silently disappearing.
731
+ *
732
+ */
733
+ superseded: boolean;
734
+ algorithmVersion: number;
735
+ acceptedImplicitly?: boolean;
736
+ emittedAtVersion: MajorMinorDto;
737
+ op: EditEventOp;
738
+ };
739
+
701
740
  export type TerminationReason = 'NegotiationCancelled' | 'NegotiationDeleted' | 'DocumentWasUnlocked' | 'DocumentWasSentBack' | 'DocumentWasRecalled' | 'ReminderSequenceCompleted';
702
741
 
703
742
  export type AccountCorrelationIdDto = {
@@ -971,15 +1010,6 @@ export type AdminAccountSummaryDto = {
971
1010
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
972
1011
  };
973
1012
 
974
- export type AdvisorRelationshipSummaryDto = {
975
- id: string;
976
- advisorAccountName: string;
977
- clientSubAccounts: Array<SubAccountIdWithNameDto>;
978
- advisorAccountId: string;
979
- assignedUserCount: number;
980
- clientAccountName: string;
981
- };
982
-
983
1013
  export type ActiveUserDto = {
984
1014
  isCurrentUser: boolean;
985
1015
  profileColour: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
@@ -1110,6 +1140,17 @@ export type PlatformStatisticsDto = {
1110
1140
  presets: number;
1111
1141
  };
1112
1142
 
1143
+ export type EditEventStateTag = 'pending' | 'accepted' | 'rejected' | 'retracted' | 'orphaned';
1144
+
1145
+ export type AdvisorRelationshipSummaryDto = {
1146
+ id: string;
1147
+ advisorAccountName: string;
1148
+ clientSubAccounts: Array<SubAccountIdWithNameDto>;
1149
+ advisorAccountId: string;
1150
+ assignedUserCount: number;
1151
+ clientAccountName: string;
1152
+ };
1153
+
1113
1154
  export type NewUserShareDto = {
1114
1155
  email: string;
1115
1156
  message?: string;
@@ -1144,6 +1185,7 @@ export type NegotiationWithTimelineAndPreviewDto = NegotiationSingleDto & {
1144
1185
  preview: RenderedTemplateDto;
1145
1186
  timeline: Array<TimelineEventDto>;
1146
1187
  timelineSummary?: ActivityTimelineSummaryDto;
1188
+ blackline?: BlacklineEnvelopeDto;
1147
1189
  };
1148
1190
 
1149
1191
  export type NegotiationFileDto_ExecutionDocumentDto = {
@@ -1408,10 +1450,6 @@ export type UpdateUserProfileDto = {
1408
1450
  subAccountIds?: Array<string>;
1409
1451
  };
1410
1452
 
1411
- export type UpdateAccountPresetApprovalsDto = {
1412
- presetApprovals: boolean;
1413
- };
1414
-
1415
1453
  export type CreateSubAccountNSMRequestDto = {
1416
1454
  name: string;
1417
1455
  entities?: Array<EntityIdDto>;
@@ -1420,6 +1458,10 @@ export type CreateSubAccountNSMRequestDto = {
1420
1458
  presetApprovals?: boolean;
1421
1459
  };
1422
1460
 
1461
+ export type BulkBlacklineRequestDto = {
1462
+ eventIds: Array<string>;
1463
+ };
1464
+
1423
1465
  export type ComponentAnswerDto_EntityWithValuesDto = {
1424
1466
  entity: ComponentAnswerDto_FundListEntityDto;
1425
1467
  exhibitValues: ComponentAnswerDto_ExhibitValuesDto;
@@ -1474,6 +1516,15 @@ export type LegacySidedNegotiationCountsDto = {
1474
1516
  finalDocumentApprovals: number;
1475
1517
  };
1476
1518
 
1519
+ export type EditEventOp_Insert = {
1520
+ type: 'Insert';
1521
+ value: string;
1522
+ };
1523
+
1524
+ export type UpdateAccountPresetApprovalsDto = {
1525
+ presetApprovals: boolean;
1526
+ };
1527
+
1477
1528
  export type NestedAnswersSummariesWithAnswersDto = {
1478
1529
  partyB?: PartyAnswersDto;
1479
1530
  moderator?: PartyAnswersDto;
@@ -1585,6 +1636,15 @@ export type ComponentAnswerDto_ExhibitValuesDto = {
1585
1636
  };
1586
1637
  };
1587
1638
 
1639
+ export type EditEventOp_Formatting = {
1640
+ type: 'Formatting';
1641
+ tag: 'strong' | 'em' | 'underline' | 'subscript' | 'superscript';
1642
+ /**
1643
+ * True when the tag is being added; false when stripped.
1644
+ */
1645
+ added: boolean;
1646
+ };
1647
+
1588
1648
  export type DocuSignEmailRestriction = 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
1589
1649
 
1590
1650
  export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
@@ -1628,6 +1688,12 @@ export type GetNegotiationDeltasDto = {
1628
1688
  negotiationGroupId?: string;
1629
1689
  };
1630
1690
 
1691
+ export type EditEventOp_Replace = {
1692
+ type: 'Replace';
1693
+ before: string;
1694
+ after: string;
1695
+ };
1696
+
1631
1697
  export type ESignAccountStatusDto = {
1632
1698
  value: string;
1633
1699
  };
@@ -1673,6 +1739,22 @@ export type ExecutedNegotiationSummaryDto = {
1673
1739
  };
1674
1740
  };
1675
1741
 
1742
+ export type BlacklineEnvelopeDto = {
1743
+ negotiationVersion: MajorMinorDto;
1744
+ /**
1745
+ * Diff-algorithm version stamped on every event in this envelope.
1746
+ */
1747
+ algorithmVersion: number;
1748
+ events: Array<BlacklineEventDto>;
1749
+ /**
1750
+ * 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.
1751
+ *
1752
+ */
1753
+ annotatedAnswers: {
1754
+ [key: string]: string;
1755
+ };
1756
+ };
1757
+
1676
1758
  export type NegotiationAuditTrailEventDto = {
1677
1759
  timestamp: string;
1678
1760
  description?: string;
@@ -1768,6 +1850,11 @@ export type NegotiationFileNamesDto = {
1768
1850
  currentPartyNegotiationDocument: string;
1769
1851
  };
1770
1852
 
1853
+ export type EditEventOp_Delete = {
1854
+ type: 'Delete';
1855
+ value: string;
1856
+ };
1857
+
1771
1858
  export type ExecutedNegotiationSummaryDto_AccountMetadataDto = {
1772
1859
  id: string;
1773
1860
  name: string;
@@ -1822,10 +1909,6 @@ export type ExecutedNegotiationSummaryDto_HistoryDto = {
1822
1909
  created: ExecutedNegotiationSummaryDto_EventByDto;
1823
1910
  };
1824
1911
 
1825
- export type UpdateLogoUrlDto = {
1826
- logoUrl: string;
1827
- };
1828
-
1829
1912
  export type CreateBulkSetDto = {
1830
1913
  presetId?: string;
1831
1914
  documentId?: string;
@@ -1917,6 +2000,12 @@ export type SubAccountWithIdAndOptionalNameDto = {
1917
2000
  name?: string;
1918
2001
  };
1919
2002
 
2003
+ export type AnswerValueKind = 'enum' | 'number' | 'date' | 'time' | 'list' | 'fundList';
2004
+
2005
+ export type UpdateLogoUrlDto = {
2006
+ logoUrl: string;
2007
+ };
2008
+
1920
2009
  export type EmailPreferenceDto = {
1921
2010
  enabled?: boolean;
1922
2011
  enableActiveUser?: boolean;
@@ -2084,6 +2173,8 @@ export type AccountUserShareDto = {
2084
2173
  message?: string;
2085
2174
  };
2086
2175
 
2176
+ export type FormattingTag = 'strong' | 'em' | 'underline' | 'subscript' | 'superscript';
2177
+
2087
2178
  export type NoteType = 'internal' | 'external';
2088
2179
 
2089
2180
  export type SubAccountSummaryDto = {
@@ -2863,6 +2954,16 @@ export type ExtractionResultWithPreviewDto = ExtractionResultDto & {
2863
2954
  preview: RenderedTemplateDto;
2864
2955
  };
2865
2956
 
2957
+ export type EditEventOp_AnswerValueChange = {
2958
+ type: 'AnswerValueChange';
2959
+ /**
2960
+ * Storage-shape string representation (raw enum code / decimal / ISO date / HH:mm).
2961
+ */
2962
+ before: string;
2963
+ after: string;
2964
+ kind: 'enum' | 'number' | 'date' | 'time';
2965
+ };
2966
+
2866
2967
  export type NegotiationAdvisorSummaryDto = {
2867
2968
  advisorAccountId: string;
2868
2969
  advisorAccountName: string;
@@ -3342,6 +3443,8 @@ export type TemplateExtractionScoreDto = {
3342
3443
 
3343
3444
  export type ElectionAnswerTypeDto = 'preset' | 'approved';
3344
3445
 
3446
+ export type SpanChangeKind = 'colspan' | 'rowspan';
3447
+
3345
3448
  export type AdminAccountDetailWithDocumentPackDto = {
3346
3449
  shortCode: string;
3347
3450
  advisorClients: Array<AccountAndSubAccountsDto>;
@@ -3390,6 +3493,20 @@ export type SupportAccessClientDto = {
3390
3493
 
3391
3494
  export type ShowIncompleteElectionsOnTurnSwap = 'initiator' | 'receiver' | 'all';
3392
3495
 
3496
+ export type EditEventOp = ({
3497
+ type: 'EditEventOp.Insert';
3498
+ } & EditEventOp_Insert) | ({
3499
+ type: 'EditEventOp.Delete';
3500
+ } & EditEventOp_Delete) | ({
3501
+ type: 'EditEventOp.Replace';
3502
+ } & EditEventOp_Replace) | ({
3503
+ type: 'EditEventOp.Formatting';
3504
+ } & EditEventOp_Formatting) | ({
3505
+ type: 'EditEventOp.SpanChange';
3506
+ } & EditEventOp_SpanChange) | ({
3507
+ type: 'EditEventOp.AnswerValueChange';
3508
+ } & EditEventOp_AnswerValueChange);
3509
+
3393
3510
  export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
3394
3511
 
3395
3512
  export type NegotiationSingleDto = {
@@ -3590,6 +3707,13 @@ export type PresetAvailableActionsDto = {
3590
3707
  createInvite: boolean;
3591
3708
  };
3592
3709
 
3710
+ export type EditEventOp_SpanChange = {
3711
+ type: 'SpanChange';
3712
+ before: string;
3713
+ after: string;
3714
+ kind: 'colspan' | 'rowspan';
3715
+ };
3716
+
3593
3717
  export type AnnouncementDto = {
3594
3718
  lastModified: string;
3595
3719
  description: string;
@@ -5450,6 +5574,39 @@ export type getPreviousMajorVersionsNestedAnswerIdsResponses = {
5450
5574
 
5451
5575
  export type getPreviousMajorVersionsNestedAnswerIdsResponse = getPreviousMajorVersionsNestedAnswerIdsResponses[keyof getPreviousMajorVersionsNestedAnswerIdsResponses];
5452
5576
 
5577
+ export type rejectEventData = {
5578
+ body?: never;
5579
+ path: {
5580
+ subAccountId: string;
5581
+ negotiationId: string;
5582
+ eventId: unknown;
5583
+ };
5584
+ query?: never;
5585
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/{eventId}/reject';
5586
+ };
5587
+
5588
+ export type rejectEventErrors = {
5589
+ /**
5590
+ * The requester is the author of the event (cannot resolve own).
5591
+ */
5592
+ 403: unknown;
5593
+ /**
5594
+ * Event not found in this negotiation.
5595
+ */
5596
+ 404: unknown;
5597
+ /**
5598
+ * Event is not in Pending state.
5599
+ */
5600
+ 409: unknown;
5601
+ };
5602
+
5603
+ export type rejectEventResponses = {
5604
+ /**
5605
+ * The updated event in BlacklineEventDto shape.
5606
+ */
5607
+ 200: unknown;
5608
+ };
5609
+
5453
5610
  export type addElectionRejectionData = {
5454
5611
  body: ApprovalCommentDto;
5455
5612
  path: {
@@ -7249,6 +7406,34 @@ export type updateMetadataResponses = {
7249
7406
 
7250
7407
  export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
7251
7408
 
7409
+ export type negotiationRenderCounterpartyTemplateAtVersionData = {
7410
+ body?: never;
7411
+ path: {
7412
+ subAccountId: string;
7413
+ negotiationId: string;
7414
+ partyId: string;
7415
+ version: string;
7416
+ };
7417
+ query?: never;
7418
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{partyId}/preview/versions/{version}';
7419
+ };
7420
+
7421
+ export type negotiationRenderCounterpartyTemplateAtVersionErrors = {
7422
+ /**
7423
+ * Negotiation, counterparty, or version not found
7424
+ */
7425
+ 404: unknown;
7426
+ };
7427
+
7428
+ export type negotiationRenderCounterpartyTemplateAtVersionResponses = {
7429
+ /**
7430
+ * An HTML representation of the counterparty's document at that version
7431
+ */
7432
+ 200: RenderedTemplateDto;
7433
+ };
7434
+
7435
+ export type negotiationRenderCounterpartyTemplateAtVersionResponse = negotiationRenderCounterpartyTemplateAtVersionResponses[keyof negotiationRenderCounterpartyTemplateAtVersionResponses];
7436
+
7252
7437
  export type suggestGroupNameData = {
7253
7438
  body?: never;
7254
7439
  path: {
@@ -7269,6 +7454,64 @@ export type suggestGroupNameResponses = {
7269
7454
 
7270
7455
  export type suggestGroupNameResponse = suggestGroupNameResponses[keyof suggestGroupNameResponses];
7271
7456
 
7457
+ export type acceptAllEventsData = {
7458
+ body: BulkBlacklineRequestDto;
7459
+ path: {
7460
+ subAccountId: string;
7461
+ negotiationId: string;
7462
+ };
7463
+ query?: never;
7464
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/accept-all';
7465
+ };
7466
+
7467
+ export type acceptAllEventsErrors = {
7468
+ /**
7469
+ * The requester is the author of one of the events (cannot resolve own).
7470
+ */
7471
+ 403: unknown;
7472
+ /**
7473
+ * One of the events was not found in this negotiation.
7474
+ */
7475
+ 404: unknown;
7476
+ /**
7477
+ * One of the events is not in Pending state.
7478
+ */
7479
+ 409: unknown;
7480
+ };
7481
+
7482
+ export type acceptAllEventsResponses = {
7483
+ /**
7484
+ * The negotiation with updated preview and timeline.
7485
+ */
7486
+ 200: unknown;
7487
+ };
7488
+
7489
+ export type negotiationRenderPhaseOneTemplateData = {
7490
+ body?: never;
7491
+ path: {
7492
+ subAccountId: string;
7493
+ negotiationId: string;
7494
+ };
7495
+ query?: never;
7496
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/phaseOneAnswers';
7497
+ };
7498
+
7499
+ export type negotiationRenderPhaseOneTemplateErrors = {
7500
+ /**
7501
+ * Negotiation not found, or this negotiation has no phase-one parent
7502
+ */
7503
+ 404: unknown;
7504
+ };
7505
+
7506
+ export type negotiationRenderPhaseOneTemplateResponses = {
7507
+ /**
7508
+ * An HTML representation of the custodian template state
7509
+ */
7510
+ 200: RenderedTemplateDto;
7511
+ };
7512
+
7513
+ export type negotiationRenderPhaseOneTemplateResponse = negotiationRenderPhaseOneTemplateResponses[keyof negotiationRenderPhaseOneTemplateResponses];
7514
+
7272
7515
  export type syncFundListData = {
7273
7516
  body?: never;
7274
7517
  path: {
@@ -7882,57 +8125,58 @@ export type approveFinalDocumentResponses = {
7882
8125
  200: unknown;
7883
8126
  };
7884
8127
 
7885
- export type negotiationRenderCounterpartyTemplateData = {
7886
- body?: never;
8128
+ export type resetUserAnswersData = {
8129
+ body: PartyAnswersDto;
7887
8130
  path: {
7888
8131
  subAccountId: string;
7889
8132
  negotiationId: string;
7890
8133
  };
7891
8134
  query?: never;
7892
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterpartyPreview';
8135
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers';
7893
8136
  };
7894
8137
 
7895
- export type negotiationRenderCounterpartyTemplateErrors = {
8138
+ export type resetUserAnswersErrors = {
7896
8139
  /**
7897
- * Negotiation not found
8140
+ * Negotiation or election not found
7898
8141
  */
7899
8142
  404: unknown;
7900
8143
  };
7901
8144
 
7902
- export type negotiationRenderCounterpartyTemplateResponses = {
8145
+ export type resetUserAnswersResponses = {
7903
8146
  /**
7904
- * An HTML representation of the document
8147
+ * A JSON document describing the current state of the extraction process for the given negotiation
7905
8148
  */
7906
- 200: RenderedTemplateDto;
8149
+ 200: ExtractionResultDto;
7907
8150
  };
7908
8151
 
7909
- export type negotiationRenderCounterpartyTemplateResponse = negotiationRenderCounterpartyTemplateResponses[keyof negotiationRenderCounterpartyTemplateResponses];
8152
+ export type resetUserAnswersResponse = resetUserAnswersResponses[keyof resetUserAnswersResponses];
7910
8153
 
7911
- export type resetUserAnswersData = {
7912
- body: PartyAnswersDto;
8154
+ export type negotiationRenderTemplateAtVersionData = {
8155
+ body?: never;
7913
8156
  path: {
7914
8157
  subAccountId: string;
7915
8158
  negotiationId: string;
8159
+ version: string;
7916
8160
  };
7917
8161
  query?: never;
7918
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers';
8162
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/versions/{version}';
7919
8163
  };
7920
8164
 
7921
- export type resetUserAnswersErrors = {
8165
+ export type negotiationRenderTemplateAtVersionErrors = {
7922
8166
  /**
7923
- * Negotiation or election not found
8167
+ * Negotiation or version not found
7924
8168
  */
7925
8169
  404: unknown;
7926
8170
  };
7927
8171
 
7928
- export type resetUserAnswersResponses = {
8172
+ export type negotiationRenderTemplateAtVersionResponses = {
7929
8173
  /**
7930
- * A JSON document describing the current state of the extraction process for the given negotiation
8174
+ * An HTML representation of the document at that version
7931
8175
  */
7932
- 200: ExtractionResultDto;
8176
+ 200: RenderedTemplateDto;
7933
8177
  };
7934
8178
 
7935
- export type resetUserAnswersResponse = resetUserAnswersResponses[keyof resetUserAnswersResponses];
8179
+ export type negotiationRenderTemplateAtVersionResponse = negotiationRenderTemplateAtVersionResponses[keyof negotiationRenderTemplateAtVersionResponses];
7936
8180
 
7937
8181
  export type updateUserAnswersData = {
7938
8182
  body: PartyAnswersDto;
@@ -7960,6 +8204,64 @@ export type updateUserAnswersResponses = {
7960
8204
 
7961
8205
  export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
7962
8206
 
8207
+ export type rejectAllEventsData = {
8208
+ body: BulkBlacklineRequestDto;
8209
+ path: {
8210
+ subAccountId: string;
8211
+ negotiationId: string;
8212
+ };
8213
+ query?: never;
8214
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/reject-all';
8215
+ };
8216
+
8217
+ export type rejectAllEventsErrors = {
8218
+ /**
8219
+ * The requester is the author of one of the events (cannot resolve own).
8220
+ */
8221
+ 403: unknown;
8222
+ /**
8223
+ * One of the events was not found in this negotiation.
8224
+ */
8225
+ 404: unknown;
8226
+ /**
8227
+ * One of the events is not in Pending state.
8228
+ */
8229
+ 409: unknown;
8230
+ };
8231
+
8232
+ export type rejectAllEventsResponses = {
8233
+ /**
8234
+ * The negotiation with updated preview and timeline.
8235
+ */
8236
+ 200: unknown;
8237
+ };
8238
+
8239
+ export type negotiationRenderCounterpartyTemplateData = {
8240
+ body?: never;
8241
+ path: {
8242
+ subAccountId: string;
8243
+ negotiationId: string;
8244
+ };
8245
+ query?: never;
8246
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterpartyPreview';
8247
+ };
8248
+
8249
+ export type negotiationRenderCounterpartyTemplateErrors = {
8250
+ /**
8251
+ * Negotiation not found
8252
+ */
8253
+ 404: unknown;
8254
+ };
8255
+
8256
+ export type negotiationRenderCounterpartyTemplateResponses = {
8257
+ /**
8258
+ * An HTML representation of the document
8259
+ */
8260
+ 200: RenderedTemplateDto;
8261
+ };
8262
+
8263
+ export type negotiationRenderCounterpartyTemplateResponse = negotiationRenderCounterpartyTemplateResponses[keyof negotiationRenderCounterpartyTemplateResponses];
8264
+
7963
8265
  export type getMajorVersionsData = {
7964
8266
  body?: never;
7965
8267
  path: {
@@ -8938,6 +9240,39 @@ export type assignUserResponses = {
8938
9240
 
8939
9241
  export type assignUserResponse = assignUserResponses[keyof assignUserResponses];
8940
9242
 
9243
+ export type acceptEventData = {
9244
+ body?: never;
9245
+ path: {
9246
+ subAccountId: string;
9247
+ negotiationId: string;
9248
+ eventId: unknown;
9249
+ };
9250
+ query?: never;
9251
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/{eventId}/accept';
9252
+ };
9253
+
9254
+ export type acceptEventErrors = {
9255
+ /**
9256
+ * The requester is the author of the event (cannot resolve own).
9257
+ */
9258
+ 403: unknown;
9259
+ /**
9260
+ * Event not found in this negotiation.
9261
+ */
9262
+ 404: unknown;
9263
+ /**
9264
+ * Event is not in Pending state.
9265
+ */
9266
+ 409: unknown;
9267
+ };
9268
+
9269
+ export type acceptEventResponses = {
9270
+ /**
9271
+ * The updated event in BlacklineEventDto shape.
9272
+ */
9273
+ 200: unknown;
9274
+ };
9275
+
8941
9276
  export type assignDraftPresetToMeData = {
8942
9277
  body?: never;
8943
9278
  path: {
@@ -8963,6 +9298,32 @@ export type assignDraftPresetToMeResponses = {
8963
9298
 
8964
9299
  export type assignDraftPresetToMeResponse = assignDraftPresetToMeResponses[keyof assignDraftPresetToMeResponses];
8965
9300
 
9301
+ export type getEventsData = {
9302
+ body?: never;
9303
+ path: {
9304
+ subAccountId: string;
9305
+ negotiationId: string;
9306
+ };
9307
+ query?: never;
9308
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events';
9309
+ };
9310
+
9311
+ export type getEventsErrors = {
9312
+ /**
9313
+ * Negotiation not found
9314
+ */
9315
+ 404: unknown;
9316
+ };
9317
+
9318
+ export type getEventsResponses = {
9319
+ /**
9320
+ * An envelope carrying the negotiation version and edit-event list.
9321
+ */
9322
+ 200: BlacklineEnvelopeDto;
9323
+ };
9324
+
9325
+ export type getEventsResponse = getEventsResponses[keyof getEventsResponses];
9326
+
8966
9327
  export type generateCommentsReportData = {
8967
9328
  body?: never;
8968
9329
  path: {
@@ -11920,6 +12281,32 @@ export type getCompanyByEntityIdResponses = {
11920
12281
 
11921
12282
  export type getCompanyByEntityIdResponse = getCompanyByEntityIdResponses[keyof getCompanyByEntityIdResponses];
11922
12283
 
12284
+ export type negotiationRenderInitialAnswersTemplateData = {
12285
+ body?: never;
12286
+ path: {
12287
+ subAccountId: string;
12288
+ negotiationId: string;
12289
+ };
12290
+ query?: never;
12291
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/initialAnswers';
12292
+ };
12293
+
12294
+ export type negotiationRenderInitialAnswersTemplateErrors = {
12295
+ /**
12296
+ * Negotiation not found
12297
+ */
12298
+ 404: unknown;
12299
+ };
12300
+
12301
+ export type negotiationRenderInitialAnswersTemplateResponses = {
12302
+ /**
12303
+ * An HTML representation of the preset / initial document state
12304
+ */
12305
+ 200: RenderedTemplateDto;
12306
+ };
12307
+
12308
+ export type negotiationRenderInitialAnswersTemplateResponse = negotiationRenderInitialAnswersTemplateResponses[keyof negotiationRenderInitialAnswersTemplateResponses];
12309
+
11923
12310
  export type deleteDraftingNotesDocumentData = {
11924
12311
  body?: never;
11925
12312
  path: {