@createiq/backend 1.0.122 → 1.0.124

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 = {
@@ -2767,6 +2858,7 @@ export type DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto = {
2767
2858
 
2768
2859
  export type CounterpartyDto = {
2769
2860
  externalComment?: string;
2861
+ isMixedCorporateGuest: boolean;
2770
2862
  isFreeEmail?: boolean;
2771
2863
  displayReferenceId?: string;
2772
2864
  bulkDraft?: BulkDraftCounterpartyOptionsDto;
@@ -2863,6 +2955,16 @@ export type ExtractionResultWithPreviewDto = ExtractionResultDto & {
2863
2955
  preview: RenderedTemplateDto;
2864
2956
  };
2865
2957
 
2958
+ export type EditEventOp_AnswerValueChange = {
2959
+ type: 'AnswerValueChange';
2960
+ /**
2961
+ * Storage-shape string representation (raw enum code / decimal / ISO date / HH:mm).
2962
+ */
2963
+ before: string;
2964
+ after: string;
2965
+ kind: 'enum' | 'number' | 'date' | 'time';
2966
+ };
2967
+
2866
2968
  export type NegotiationAdvisorSummaryDto = {
2867
2969
  advisorAccountId: string;
2868
2970
  advisorAccountName: string;
@@ -3342,6 +3444,8 @@ export type TemplateExtractionScoreDto = {
3342
3444
 
3343
3445
  export type ElectionAnswerTypeDto = 'preset' | 'approved';
3344
3446
 
3447
+ export type SpanChangeKind = 'colspan' | 'rowspan';
3448
+
3345
3449
  export type AdminAccountDetailWithDocumentPackDto = {
3346
3450
  shortCode: string;
3347
3451
  advisorClients: Array<AccountAndSubAccountsDto>;
@@ -3390,6 +3494,20 @@ export type SupportAccessClientDto = {
3390
3494
 
3391
3495
  export type ShowIncompleteElectionsOnTurnSwap = 'initiator' | 'receiver' | 'all';
3392
3496
 
3497
+ export type EditEventOp = ({
3498
+ type: 'EditEventOp.Insert';
3499
+ } & EditEventOp_Insert) | ({
3500
+ type: 'EditEventOp.Delete';
3501
+ } & EditEventOp_Delete) | ({
3502
+ type: 'EditEventOp.Replace';
3503
+ } & EditEventOp_Replace) | ({
3504
+ type: 'EditEventOp.Formatting';
3505
+ } & EditEventOp_Formatting) | ({
3506
+ type: 'EditEventOp.SpanChange';
3507
+ } & EditEventOp_SpanChange) | ({
3508
+ type: 'EditEventOp.AnswerValueChange';
3509
+ } & EditEventOp_AnswerValueChange);
3510
+
3393
3511
  export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
3394
3512
 
3395
3513
  export type NegotiationSingleDto = {
@@ -3590,6 +3708,13 @@ export type PresetAvailableActionsDto = {
3590
3708
  createInvite: boolean;
3591
3709
  };
3592
3710
 
3711
+ export type EditEventOp_SpanChange = {
3712
+ type: 'SpanChange';
3713
+ before: string;
3714
+ after: string;
3715
+ kind: 'colspan' | 'rowspan';
3716
+ };
3717
+
3593
3718
  export type AnnouncementDto = {
3594
3719
  lastModified: string;
3595
3720
  description: string;
@@ -5450,6 +5575,39 @@ export type getPreviousMajorVersionsNestedAnswerIdsResponses = {
5450
5575
 
5451
5576
  export type getPreviousMajorVersionsNestedAnswerIdsResponse = getPreviousMajorVersionsNestedAnswerIdsResponses[keyof getPreviousMajorVersionsNestedAnswerIdsResponses];
5452
5577
 
5578
+ export type rejectEventData = {
5579
+ body?: never;
5580
+ path: {
5581
+ subAccountId: string;
5582
+ negotiationId: string;
5583
+ eventId: unknown;
5584
+ };
5585
+ query?: never;
5586
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/{eventId}/reject';
5587
+ };
5588
+
5589
+ export type rejectEventErrors = {
5590
+ /**
5591
+ * The requester is the author of the event (cannot resolve own).
5592
+ */
5593
+ 403: unknown;
5594
+ /**
5595
+ * Event not found in this negotiation.
5596
+ */
5597
+ 404: unknown;
5598
+ /**
5599
+ * Event is not in Pending state.
5600
+ */
5601
+ 409: unknown;
5602
+ };
5603
+
5604
+ export type rejectEventResponses = {
5605
+ /**
5606
+ * The updated event in BlacklineEventDto shape.
5607
+ */
5608
+ 200: unknown;
5609
+ };
5610
+
5453
5611
  export type addElectionRejectionData = {
5454
5612
  body: ApprovalCommentDto;
5455
5613
  path: {
@@ -7249,6 +7407,34 @@ export type updateMetadataResponses = {
7249
7407
 
7250
7408
  export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
7251
7409
 
7410
+ export type negotiationRenderCounterpartyTemplateAtVersionData = {
7411
+ body?: never;
7412
+ path: {
7413
+ subAccountId: string;
7414
+ negotiationId: string;
7415
+ partyId: string;
7416
+ version: string;
7417
+ };
7418
+ query?: never;
7419
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/parties/{partyId}/preview/versions/{version}';
7420
+ };
7421
+
7422
+ export type negotiationRenderCounterpartyTemplateAtVersionErrors = {
7423
+ /**
7424
+ * Negotiation, counterparty, or version not found
7425
+ */
7426
+ 404: unknown;
7427
+ };
7428
+
7429
+ export type negotiationRenderCounterpartyTemplateAtVersionResponses = {
7430
+ /**
7431
+ * An HTML representation of the counterparty's document at that version
7432
+ */
7433
+ 200: RenderedTemplateDto;
7434
+ };
7435
+
7436
+ export type negotiationRenderCounterpartyTemplateAtVersionResponse = negotiationRenderCounterpartyTemplateAtVersionResponses[keyof negotiationRenderCounterpartyTemplateAtVersionResponses];
7437
+
7252
7438
  export type suggestGroupNameData = {
7253
7439
  body?: never;
7254
7440
  path: {
@@ -7269,6 +7455,64 @@ export type suggestGroupNameResponses = {
7269
7455
 
7270
7456
  export type suggestGroupNameResponse = suggestGroupNameResponses[keyof suggestGroupNameResponses];
7271
7457
 
7458
+ export type acceptAllEventsData = {
7459
+ body: BulkBlacklineRequestDto;
7460
+ path: {
7461
+ subAccountId: string;
7462
+ negotiationId: string;
7463
+ };
7464
+ query?: never;
7465
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/accept-all';
7466
+ };
7467
+
7468
+ export type acceptAllEventsErrors = {
7469
+ /**
7470
+ * The requester is the author of one of the events (cannot resolve own).
7471
+ */
7472
+ 403: unknown;
7473
+ /**
7474
+ * One of the events was not found in this negotiation.
7475
+ */
7476
+ 404: unknown;
7477
+ /**
7478
+ * One of the events is not in Pending state.
7479
+ */
7480
+ 409: unknown;
7481
+ };
7482
+
7483
+ export type acceptAllEventsResponses = {
7484
+ /**
7485
+ * The negotiation with updated preview and timeline.
7486
+ */
7487
+ 200: unknown;
7488
+ };
7489
+
7490
+ export type negotiationRenderPhaseOneTemplateData = {
7491
+ body?: never;
7492
+ path: {
7493
+ subAccountId: string;
7494
+ negotiationId: string;
7495
+ };
7496
+ query?: never;
7497
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/phaseOneAnswers';
7498
+ };
7499
+
7500
+ export type negotiationRenderPhaseOneTemplateErrors = {
7501
+ /**
7502
+ * Negotiation not found, or this negotiation has no phase-one parent
7503
+ */
7504
+ 404: unknown;
7505
+ };
7506
+
7507
+ export type negotiationRenderPhaseOneTemplateResponses = {
7508
+ /**
7509
+ * An HTML representation of the custodian template state
7510
+ */
7511
+ 200: RenderedTemplateDto;
7512
+ };
7513
+
7514
+ export type negotiationRenderPhaseOneTemplateResponse = negotiationRenderPhaseOneTemplateResponses[keyof negotiationRenderPhaseOneTemplateResponses];
7515
+
7272
7516
  export type syncFundListData = {
7273
7517
  body?: never;
7274
7518
  path: {
@@ -7882,57 +8126,58 @@ export type approveFinalDocumentResponses = {
7882
8126
  200: unknown;
7883
8127
  };
7884
8128
 
7885
- export type negotiationRenderCounterpartyTemplateData = {
7886
- body?: never;
8129
+ export type resetUserAnswersData = {
8130
+ body: PartyAnswersDto;
7887
8131
  path: {
7888
8132
  subAccountId: string;
7889
8133
  negotiationId: string;
7890
8134
  };
7891
8135
  query?: never;
7892
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterpartyPreview';
8136
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers';
7893
8137
  };
7894
8138
 
7895
- export type negotiationRenderCounterpartyTemplateErrors = {
8139
+ export type resetUserAnswersErrors = {
7896
8140
  /**
7897
- * Negotiation not found
8141
+ * Negotiation or election not found
7898
8142
  */
7899
8143
  404: unknown;
7900
8144
  };
7901
8145
 
7902
- export type negotiationRenderCounterpartyTemplateResponses = {
8146
+ export type resetUserAnswersResponses = {
7903
8147
  /**
7904
- * An HTML representation of the document
8148
+ * A JSON document describing the current state of the extraction process for the given negotiation
7905
8149
  */
7906
- 200: RenderedTemplateDto;
8150
+ 200: ExtractionResultDto;
7907
8151
  };
7908
8152
 
7909
- export type negotiationRenderCounterpartyTemplateResponse = negotiationRenderCounterpartyTemplateResponses[keyof negotiationRenderCounterpartyTemplateResponses];
8153
+ export type resetUserAnswersResponse = resetUserAnswersResponses[keyof resetUserAnswersResponses];
7910
8154
 
7911
- export type resetUserAnswersData = {
7912
- body: PartyAnswersDto;
8155
+ export type negotiationRenderTemplateAtVersionData = {
8156
+ body?: never;
7913
8157
  path: {
7914
8158
  subAccountId: string;
7915
8159
  negotiationId: string;
8160
+ version: string;
7916
8161
  };
7917
8162
  query?: never;
7918
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers';
8163
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/versions/{version}';
7919
8164
  };
7920
8165
 
7921
- export type resetUserAnswersErrors = {
8166
+ export type negotiationRenderTemplateAtVersionErrors = {
7922
8167
  /**
7923
- * Negotiation or election not found
8168
+ * Negotiation or version not found
7924
8169
  */
7925
8170
  404: unknown;
7926
8171
  };
7927
8172
 
7928
- export type resetUserAnswersResponses = {
8173
+ export type negotiationRenderTemplateAtVersionResponses = {
7929
8174
  /**
7930
- * A JSON document describing the current state of the extraction process for the given negotiation
8175
+ * An HTML representation of the document at that version
7931
8176
  */
7932
- 200: ExtractionResultDto;
8177
+ 200: RenderedTemplateDto;
7933
8178
  };
7934
8179
 
7935
- export type resetUserAnswersResponse = resetUserAnswersResponses[keyof resetUserAnswersResponses];
8180
+ export type negotiationRenderTemplateAtVersionResponse = negotiationRenderTemplateAtVersionResponses[keyof negotiationRenderTemplateAtVersionResponses];
7936
8181
 
7937
8182
  export type updateUserAnswersData = {
7938
8183
  body: PartyAnswersDto;
@@ -7960,6 +8205,64 @@ export type updateUserAnswersResponses = {
7960
8205
 
7961
8206
  export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
7962
8207
 
8208
+ export type rejectAllEventsData = {
8209
+ body: BulkBlacklineRequestDto;
8210
+ path: {
8211
+ subAccountId: string;
8212
+ negotiationId: string;
8213
+ };
8214
+ query?: never;
8215
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/reject-all';
8216
+ };
8217
+
8218
+ export type rejectAllEventsErrors = {
8219
+ /**
8220
+ * The requester is the author of one of the events (cannot resolve own).
8221
+ */
8222
+ 403: unknown;
8223
+ /**
8224
+ * One of the events was not found in this negotiation.
8225
+ */
8226
+ 404: unknown;
8227
+ /**
8228
+ * One of the events is not in Pending state.
8229
+ */
8230
+ 409: unknown;
8231
+ };
8232
+
8233
+ export type rejectAllEventsResponses = {
8234
+ /**
8235
+ * The negotiation with updated preview and timeline.
8236
+ */
8237
+ 200: unknown;
8238
+ };
8239
+
8240
+ export type negotiationRenderCounterpartyTemplateData = {
8241
+ body?: never;
8242
+ path: {
8243
+ subAccountId: string;
8244
+ negotiationId: string;
8245
+ };
8246
+ query?: never;
8247
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterpartyPreview';
8248
+ };
8249
+
8250
+ export type negotiationRenderCounterpartyTemplateErrors = {
8251
+ /**
8252
+ * Negotiation not found
8253
+ */
8254
+ 404: unknown;
8255
+ };
8256
+
8257
+ export type negotiationRenderCounterpartyTemplateResponses = {
8258
+ /**
8259
+ * An HTML representation of the document
8260
+ */
8261
+ 200: RenderedTemplateDto;
8262
+ };
8263
+
8264
+ export type negotiationRenderCounterpartyTemplateResponse = negotiationRenderCounterpartyTemplateResponses[keyof negotiationRenderCounterpartyTemplateResponses];
8265
+
7963
8266
  export type getMajorVersionsData = {
7964
8267
  body?: never;
7965
8268
  path: {
@@ -8938,6 +9241,39 @@ export type assignUserResponses = {
8938
9241
 
8939
9242
  export type assignUserResponse = assignUserResponses[keyof assignUserResponses];
8940
9243
 
9244
+ export type acceptEventData = {
9245
+ body?: never;
9246
+ path: {
9247
+ subAccountId: string;
9248
+ negotiationId: string;
9249
+ eventId: unknown;
9250
+ };
9251
+ query?: never;
9252
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events/{eventId}/accept';
9253
+ };
9254
+
9255
+ export type acceptEventErrors = {
9256
+ /**
9257
+ * The requester is the author of the event (cannot resolve own).
9258
+ */
9259
+ 403: unknown;
9260
+ /**
9261
+ * Event not found in this negotiation.
9262
+ */
9263
+ 404: unknown;
9264
+ /**
9265
+ * Event is not in Pending state.
9266
+ */
9267
+ 409: unknown;
9268
+ };
9269
+
9270
+ export type acceptEventResponses = {
9271
+ /**
9272
+ * The updated event in BlacklineEventDto shape.
9273
+ */
9274
+ 200: unknown;
9275
+ };
9276
+
8941
9277
  export type assignDraftPresetToMeData = {
8942
9278
  body?: never;
8943
9279
  path: {
@@ -8963,6 +9299,32 @@ export type assignDraftPresetToMeResponses = {
8963
9299
 
8964
9300
  export type assignDraftPresetToMeResponse = assignDraftPresetToMeResponses[keyof assignDraftPresetToMeResponses];
8965
9301
 
9302
+ export type getEventsData = {
9303
+ body?: never;
9304
+ path: {
9305
+ subAccountId: string;
9306
+ negotiationId: string;
9307
+ };
9308
+ query?: never;
9309
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/blackline/events';
9310
+ };
9311
+
9312
+ export type getEventsErrors = {
9313
+ /**
9314
+ * Negotiation not found
9315
+ */
9316
+ 404: unknown;
9317
+ };
9318
+
9319
+ export type getEventsResponses = {
9320
+ /**
9321
+ * An envelope carrying the negotiation version and edit-event list.
9322
+ */
9323
+ 200: BlacklineEnvelopeDto;
9324
+ };
9325
+
9326
+ export type getEventsResponse = getEventsResponses[keyof getEventsResponses];
9327
+
8966
9328
  export type generateCommentsReportData = {
8967
9329
  body?: never;
8968
9330
  path: {
@@ -11920,6 +12282,32 @@ export type getCompanyByEntityIdResponses = {
11920
12282
 
11921
12283
  export type getCompanyByEntityIdResponse = getCompanyByEntityIdResponses[keyof getCompanyByEntityIdResponses];
11922
12284
 
12285
+ export type negotiationRenderInitialAnswersTemplateData = {
12286
+ body?: never;
12287
+ path: {
12288
+ subAccountId: string;
12289
+ negotiationId: string;
12290
+ };
12291
+ query?: never;
12292
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/initialAnswers';
12293
+ };
12294
+
12295
+ export type negotiationRenderInitialAnswersTemplateErrors = {
12296
+ /**
12297
+ * Negotiation not found
12298
+ */
12299
+ 404: unknown;
12300
+ };
12301
+
12302
+ export type negotiationRenderInitialAnswersTemplateResponses = {
12303
+ /**
12304
+ * An HTML representation of the preset / initial document state
12305
+ */
12306
+ 200: RenderedTemplateDto;
12307
+ };
12308
+
12309
+ export type negotiationRenderInitialAnswersTemplateResponse = negotiationRenderInitialAnswersTemplateResponses[keyof negotiationRenderInitialAnswersTemplateResponses];
12310
+
11923
12311
  export type deleteDraftingNotesDocumentData = {
11924
12312
  body?: never;
11925
12313
  path: {