@createiq/backend 1.0.121 → 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.
@@ -134,11 +134,6 @@ export type PresetActiveUserDto = {
134
134
  isAdvisor: boolean;
135
135
  };
136
136
 
137
- export type PresetMetadataDto = {
138
- name: string;
139
- description?: string;
140
- };
141
-
142
137
  export type DocumentVersionsSummaryDto = {
143
138
  versions: Array<DocumentVersionsSummaryDto_DocumentVersionSummaryDto>;
144
139
  year: number;
@@ -182,6 +177,17 @@ export type AttachmentsExistsDto = {
182
177
  files: Array<AttachmentsExistsDto_ExistingAttachmentDto>;
183
178
  };
184
179
 
180
+ export type PresetMetadataDto = {
181
+ name: string;
182
+ description?: string;
183
+ };
184
+
185
+ export type NegotiationFilenameHelperDto = {
186
+ name: string;
187
+ signature: string;
188
+ description: string;
189
+ };
190
+
185
191
  export type CreateSubAccountRequestDto = {
186
192
  name: string;
187
193
  };
@@ -692,6 +698,45 @@ export type SchemaDto = {
692
698
  [key: string]: unknown;
693
699
  };
694
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
+
695
740
  export type TerminationReason = 'NegotiationCancelled' | 'NegotiationDeleted' | 'DocumentWasUnlocked' | 'DocumentWasSentBack' | 'DocumentWasRecalled' | 'ReminderSequenceCompleted';
696
741
 
697
742
  export type AccountCorrelationIdDto = {
@@ -965,15 +1010,6 @@ export type AdminAccountSummaryDto = {
965
1010
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
966
1011
  };
967
1012
 
968
- export type AdvisorRelationshipSummaryDto = {
969
- id: string;
970
- advisorAccountName: string;
971
- clientSubAccounts: Array<SubAccountIdWithNameDto>;
972
- advisorAccountId: string;
973
- assignedUserCount: number;
974
- clientAccountName: string;
975
- };
976
-
977
1013
  export type ActiveUserDto = {
978
1014
  isCurrentUser: boolean;
979
1015
  profileColour: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
@@ -1104,6 +1140,17 @@ export type PlatformStatisticsDto = {
1104
1140
  presets: number;
1105
1141
  };
1106
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
+
1107
1154
  export type NewUserShareDto = {
1108
1155
  email: string;
1109
1156
  message?: string;
@@ -1138,6 +1185,7 @@ export type NegotiationWithTimelineAndPreviewDto = NegotiationSingleDto & {
1138
1185
  preview: RenderedTemplateDto;
1139
1186
  timeline: Array<TimelineEventDto>;
1140
1187
  timelineSummary?: ActivityTimelineSummaryDto;
1188
+ blackline?: BlacklineEnvelopeDto;
1141
1189
  };
1142
1190
 
1143
1191
  export type NegotiationFileDto_ExecutionDocumentDto = {
@@ -1224,6 +1272,15 @@ export type EntityIdDto = {
1224
1272
  name?: string;
1225
1273
  };
1226
1274
 
1275
+ export type NegotiationFilenameConfigDto = {
1276
+ executedTemplate: NegotiationFilenameTemplateDto;
1277
+ inProgressTemplate: NegotiationFilenameTemplateDto;
1278
+ draftTemplate: NegotiationFilenameTemplateDto;
1279
+ positionTemplate: NegotiationFilenameTemplateDto;
1280
+ executedSidedTemplate: NegotiationFilenameTemplateDto;
1281
+ draftSidedTemplate: NegotiationFilenameTemplateDto;
1282
+ };
1283
+
1227
1284
  export type PresetAuditEventsDto = {
1228
1285
  auditEvents: Array<PresetAuditEventDto>;
1229
1286
  };
@@ -1393,10 +1450,6 @@ export type UpdateUserProfileDto = {
1393
1450
  subAccountIds?: Array<string>;
1394
1451
  };
1395
1452
 
1396
- export type UpdateAccountPresetApprovalsDto = {
1397
- presetApprovals: boolean;
1398
- };
1399
-
1400
1453
  export type CreateSubAccountNSMRequestDto = {
1401
1454
  name: string;
1402
1455
  entities?: Array<EntityIdDto>;
@@ -1405,6 +1458,10 @@ export type CreateSubAccountNSMRequestDto = {
1405
1458
  presetApprovals?: boolean;
1406
1459
  };
1407
1460
 
1461
+ export type BulkBlacklineRequestDto = {
1462
+ eventIds: Array<string>;
1463
+ };
1464
+
1408
1465
  export type ComponentAnswerDto_EntityWithValuesDto = {
1409
1466
  entity: ComponentAnswerDto_FundListEntityDto;
1410
1467
  exhibitValues: ComponentAnswerDto_ExhibitValuesDto;
@@ -1459,6 +1516,15 @@ export type LegacySidedNegotiationCountsDto = {
1459
1516
  finalDocumentApprovals: number;
1460
1517
  };
1461
1518
 
1519
+ export type EditEventOp_Insert = {
1520
+ type: 'Insert';
1521
+ value: string;
1522
+ };
1523
+
1524
+ export type UpdateAccountPresetApprovalsDto = {
1525
+ presetApprovals: boolean;
1526
+ };
1527
+
1462
1528
  export type NestedAnswersSummariesWithAnswersDto = {
1463
1529
  partyB?: PartyAnswersDto;
1464
1530
  moderator?: PartyAnswersDto;
@@ -1570,6 +1636,15 @@ export type ComponentAnswerDto_ExhibitValuesDto = {
1570
1636
  };
1571
1637
  };
1572
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
+
1573
1648
  export type DocuSignEmailRestriction = 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
1574
1649
 
1575
1650
  export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
@@ -1613,6 +1688,12 @@ export type GetNegotiationDeltasDto = {
1613
1688
  negotiationGroupId?: string;
1614
1689
  };
1615
1690
 
1691
+ export type EditEventOp_Replace = {
1692
+ type: 'Replace';
1693
+ before: string;
1694
+ after: string;
1695
+ };
1696
+
1616
1697
  export type ESignAccountStatusDto = {
1617
1698
  value: string;
1618
1699
  };
@@ -1658,6 +1739,22 @@ export type ExecutedNegotiationSummaryDto = {
1658
1739
  };
1659
1740
  };
1660
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
+
1661
1758
  export type NegotiationAuditTrailEventDto = {
1662
1759
  timestamp: string;
1663
1760
  description?: string;
@@ -1753,6 +1850,11 @@ export type NegotiationFileNamesDto = {
1753
1850
  currentPartyNegotiationDocument: string;
1754
1851
  };
1755
1852
 
1853
+ export type EditEventOp_Delete = {
1854
+ type: 'Delete';
1855
+ value: string;
1856
+ };
1857
+
1756
1858
  export type ExecutedNegotiationSummaryDto_AccountMetadataDto = {
1757
1859
  id: string;
1758
1860
  name: string;
@@ -1795,12 +1897,6 @@ export type DocumentDraftingNoteDto = {
1795
1897
  draftingNotes: DraftingNotesDto;
1796
1898
  };
1797
1899
 
1798
- export type PresetEventHistoryDto = {
1799
- created: PresetEventHistoryDto_EventByDto;
1800
- lastModified: PresetEventHistoryDto_EventByDto;
1801
- approved?: PresetEventHistoryDto_EventByDto;
1802
- };
1803
-
1804
1900
  export type ReminderStatus = 'Pending' | 'Completed' | 'Terminated';
1805
1901
 
1806
1902
  export type ExecutedNegotiationSummaryDto_HistoryDto = {
@@ -1813,10 +1909,6 @@ export type ExecutedNegotiationSummaryDto_HistoryDto = {
1813
1909
  created: ExecutedNegotiationSummaryDto_EventByDto;
1814
1910
  };
1815
1911
 
1816
- export type UpdateLogoUrlDto = {
1817
- logoUrl: string;
1818
- };
1819
-
1820
1912
  export type CreateBulkSetDto = {
1821
1913
  presetId?: string;
1822
1914
  documentId?: string;
@@ -1885,6 +1977,18 @@ export type CDMOutputDto = {
1885
1977
  cdmContent: unknown;
1886
1978
  };
1887
1979
 
1980
+ export type NegotiationFilenameVariableDto = {
1981
+ name: string;
1982
+ description: string;
1983
+ example: string;
1984
+ };
1985
+
1986
+ export type PresetEventHistoryDto = {
1987
+ created: PresetEventHistoryDto_EventByDto;
1988
+ lastModified: PresetEventHistoryDto_EventByDto;
1989
+ approved?: PresetEventHistoryDto_EventByDto;
1990
+ };
1991
+
1888
1992
  export type EmailWithErrorDto = {
1889
1993
  email: string;
1890
1994
  isFreeEmail: boolean;
@@ -1896,6 +2000,12 @@ export type SubAccountWithIdAndOptionalNameDto = {
1896
2000
  name?: string;
1897
2001
  };
1898
2002
 
2003
+ export type AnswerValueKind = 'enum' | 'number' | 'date' | 'time' | 'list' | 'fundList';
2004
+
2005
+ export type UpdateLogoUrlDto = {
2006
+ logoUrl: string;
2007
+ };
2008
+
1899
2009
  export type EmailPreferenceDto = {
1900
2010
  enabled?: boolean;
1901
2011
  enableActiveUser?: boolean;
@@ -2063,6 +2173,8 @@ export type AccountUserShareDto = {
2063
2173
  message?: string;
2064
2174
  };
2065
2175
 
2176
+ export type FormattingTag = 'strong' | 'em' | 'underline' | 'subscript' | 'superscript';
2177
+
2066
2178
  export type NoteType = 'internal' | 'external';
2067
2179
 
2068
2180
  export type SubAccountSummaryDto = {
@@ -2107,6 +2219,7 @@ export type AdminAccountOnlyDto = {
2107
2219
  accountId: string;
2108
2220
  availableActions: AccountAvailableActionsDto;
2109
2221
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2222
+ negotiationFilenameConfig?: NegotiationFilenameConfigDto;
2110
2223
  isAdvisor: boolean;
2111
2224
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
2112
2225
  isOneLink: boolean;
@@ -2353,6 +2466,15 @@ export type DocumentPublisherDisclaimerDto = {
2353
2466
  document?: DocumentPublisherDocumentDisclaimerDto;
2354
2467
  };
2355
2468
 
2469
+ export type RenderedFilenameTemplatesDto = {
2470
+ executedTemplate: string;
2471
+ inProgressTemplate: string;
2472
+ draftTemplate: string;
2473
+ positionTemplate: string;
2474
+ executedSidedTemplate: string;
2475
+ draftSidedTemplate: string;
2476
+ };
2477
+
2356
2478
  export type ExternalSystemStatisticsDto = {
2357
2479
  usersInOkta: number;
2358
2480
  filesInMinio: number;
@@ -2734,8 +2856,6 @@ export type DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto = {
2734
2856
  disparity: boolean;
2735
2857
  };
2736
2858
 
2737
- export type ErrorResponse = ErrorResponseDto | DocumentErrorResponseDto | EntityMoveErrorResponseDto;
2738
-
2739
2859
  export type CounterpartyDto = {
2740
2860
  externalComment?: string;
2741
2861
  isFreeEmail?: boolean;
@@ -2779,6 +2899,15 @@ export type UpdateUserFlagsDto = {
2779
2899
  displayIntroduction: boolean;
2780
2900
  };
2781
2901
 
2902
+ export type ErrorResponse = ErrorResponseDto | DocumentErrorResponseDto | EntityMoveErrorResponseDto;
2903
+
2904
+ export type NegotiationFilenameConfigInfoDto = {
2905
+ defaultConfig: NegotiationFilenameConfigDto;
2906
+ variables: Array<NegotiationFilenameVariableDto>;
2907
+ helpers: Array<NegotiationFilenameHelperDto>;
2908
+ examples: RenderedFilenameTemplatesDto;
2909
+ };
2910
+
2782
2911
  export type FundListSpreadsheetSummaryDto = {
2783
2912
  columnsDetected: Array<string>;
2784
2913
  fundsModified: number;
@@ -2825,6 +2954,16 @@ export type ExtractionResultWithPreviewDto = ExtractionResultDto & {
2825
2954
  preview: RenderedTemplateDto;
2826
2955
  };
2827
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
+
2828
2967
  export type NegotiationAdvisorSummaryDto = {
2829
2968
  advisorAccountId: string;
2830
2969
  advisorAccountName: string;
@@ -2963,6 +3102,10 @@ export type RemovedUsersDto = {
2963
3102
  approvers: Array<string>;
2964
3103
  };
2965
3104
 
3105
+ export type NegotiationFilenameTemplateDto = {
3106
+ value: string;
3107
+ };
3108
+
2966
3109
  export type EntityDto = {
2967
3110
  name: string;
2968
3111
  lei?: string;
@@ -3046,6 +3189,10 @@ export type UserWatchlistDto = {
3046
3189
  users: Array<UserDto>;
3047
3190
  };
3048
3191
 
3192
+ export type UpdateNegotiationFilenameConfigDto = {
3193
+ negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3194
+ };
3195
+
3049
3196
  export type AdminAccountDetailDto = {
3050
3197
  shortCode: string;
3051
3198
  advisorClients: Array<AccountAndSubAccountsDto>;
@@ -3058,6 +3205,7 @@ export type AdminAccountDetailDto = {
3058
3205
  advisors: Array<AccountAndSubAccountsDto>;
3059
3206
  isSso: boolean;
3060
3207
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
3208
+ negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3061
3209
  isAdvisor: boolean;
3062
3210
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3063
3211
  integrationData: {
@@ -3295,6 +3443,8 @@ export type TemplateExtractionScoreDto = {
3295
3443
 
3296
3444
  export type ElectionAnswerTypeDto = 'preset' | 'approved';
3297
3445
 
3446
+ export type SpanChangeKind = 'colspan' | 'rowspan';
3447
+
3298
3448
  export type AdminAccountDetailWithDocumentPackDto = {
3299
3449
  shortCode: string;
3300
3450
  advisorClients: Array<AccountAndSubAccountsDto>;
@@ -3308,6 +3458,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
3308
3458
  advisors: Array<AccountAndSubAccountsDto>;
3309
3459
  isSso: boolean;
3310
3460
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
3461
+ negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3311
3462
  isAdvisor: boolean;
3312
3463
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3313
3464
  integrationData: {
@@ -3342,6 +3493,20 @@ export type SupportAccessClientDto = {
3342
3493
 
3343
3494
  export type ShowIncompleteElectionsOnTurnSwap = 'initiator' | 'receiver' | 'all';
3344
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
+
3345
3510
  export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
3346
3511
 
3347
3512
  export type NegotiationSingleDto = {
@@ -3542,6 +3707,13 @@ export type PresetAvailableActionsDto = {
3542
3707
  createInvite: boolean;
3543
3708
  };
3544
3709
 
3710
+ export type EditEventOp_SpanChange = {
3711
+ type: 'SpanChange';
3712
+ before: string;
3713
+ after: string;
3714
+ kind: 'colspan' | 'rowspan';
3715
+ };
3716
+
3545
3717
  export type AnnouncementDto = {
3546
3718
  lastModified: string;
3547
3719
  description: string;
@@ -5402,6 +5574,39 @@ export type getPreviousMajorVersionsNestedAnswerIdsResponses = {
5402
5574
 
5403
5575
  export type getPreviousMajorVersionsNestedAnswerIdsResponse = getPreviousMajorVersionsNestedAnswerIdsResponses[keyof getPreviousMajorVersionsNestedAnswerIdsResponses];
5404
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
+
5405
5610
  export type addElectionRejectionData = {
5406
5611
  body: ApprovalCommentDto;
5407
5612
  path: {
@@ -5637,35 +5842,6 @@ export type shareSubAccountResponses = {
5637
5842
 
5638
5843
  export type shareSubAccountResponse = shareSubAccountResponses[keyof shareSubAccountResponses];
5639
5844
 
5640
- export type assignEntityData = {
5641
- body: EntityIdDto;
5642
- path: {
5643
- subAccountId: string;
5644
- };
5645
- query?: never;
5646
- url: '/api/v1/subAccounts/{subAccountId}/entity';
5647
- };
5648
-
5649
- export type assignEntityErrors = {
5650
- /**
5651
- * Subaccount or Entity not found
5652
- */
5653
- 404: unknown;
5654
- /**
5655
- * Entity is already assigned to a subaccount in this account
5656
- */
5657
- 409: unknown;
5658
- };
5659
-
5660
- export type assignEntityResponses = {
5661
- /**
5662
- * A JSON describing the entity added
5663
- */
5664
- 200: EntityDto;
5665
- };
5666
-
5667
- export type assignEntityResponse = assignEntityResponses[keyof assignEntityResponses];
5668
-
5669
5845
  export type setFinalApprovalData = {
5670
5846
  body: SetApprovalRulesDto;
5671
5847
  path: {
@@ -5712,6 +5888,35 @@ export type setElectionApprovalResponses = {
5712
5888
 
5713
5889
  export type setElectionApprovalResponse = setElectionApprovalResponses[keyof setElectionApprovalResponses];
5714
5890
 
5891
+ export type assignEntityData = {
5892
+ body: EntityIdDto;
5893
+ path: {
5894
+ subAccountId: string;
5895
+ };
5896
+ query?: never;
5897
+ url: '/api/v1/subAccounts/{subAccountId}/entity';
5898
+ };
5899
+
5900
+ export type assignEntityErrors = {
5901
+ /**
5902
+ * Subaccount or Entity not found
5903
+ */
5904
+ 404: unknown;
5905
+ /**
5906
+ * Entity is already assigned to a subaccount in this account
5907
+ */
5908
+ 409: unknown;
5909
+ };
5910
+
5911
+ export type assignEntityResponses = {
5912
+ /**
5913
+ * A JSON describing the entity added
5914
+ */
5915
+ 200: EntityDto;
5916
+ };
5917
+
5918
+ export type assignEntityResponse = assignEntityResponses[keyof assignEntityResponses];
5919
+
5715
5920
  export type getPotentialReplacementApproversData = {
5716
5921
  body?: never;
5717
5922
  path: {
@@ -7201,6 +7406,34 @@ export type updateMetadataResponses = {
7201
7406
 
7202
7407
  export type updateMetadataResponse = updateMetadataResponses[keyof updateMetadataResponses];
7203
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
+
7204
7437
  export type suggestGroupNameData = {
7205
7438
  body?: never;
7206
7439
  path: {
@@ -7221,6 +7454,64 @@ export type suggestGroupNameResponses = {
7221
7454
 
7222
7455
  export type suggestGroupNameResponse = suggestGroupNameResponses[keyof suggestGroupNameResponses];
7223
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
+
7224
7515
  export type syncFundListData = {
7225
7516
  body?: never;
7226
7517
  path: {
@@ -7834,57 +8125,58 @@ export type approveFinalDocumentResponses = {
7834
8125
  200: unknown;
7835
8126
  };
7836
8127
 
7837
- export type negotiationRenderCounterpartyTemplateData = {
7838
- body?: never;
8128
+ export type resetUserAnswersData = {
8129
+ body: PartyAnswersDto;
7839
8130
  path: {
7840
8131
  subAccountId: string;
7841
8132
  negotiationId: string;
7842
8133
  };
7843
8134
  query?: never;
7844
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/counterpartyPreview';
8135
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers';
7845
8136
  };
7846
8137
 
7847
- export type negotiationRenderCounterpartyTemplateErrors = {
8138
+ export type resetUserAnswersErrors = {
7848
8139
  /**
7849
- * Negotiation not found
8140
+ * Negotiation or election not found
7850
8141
  */
7851
8142
  404: unknown;
7852
8143
  };
7853
8144
 
7854
- export type negotiationRenderCounterpartyTemplateResponses = {
8145
+ export type resetUserAnswersResponses = {
7855
8146
  /**
7856
- * An HTML representation of the document
8147
+ * A JSON document describing the current state of the extraction process for the given negotiation
7857
8148
  */
7858
- 200: RenderedTemplateDto;
8149
+ 200: ExtractionResultDto;
7859
8150
  };
7860
8151
 
7861
- export type negotiationRenderCounterpartyTemplateResponse = negotiationRenderCounterpartyTemplateResponses[keyof negotiationRenderCounterpartyTemplateResponses];
8152
+ export type resetUserAnswersResponse = resetUserAnswersResponses[keyof resetUserAnswersResponses];
7862
8153
 
7863
- export type resetUserAnswersData = {
7864
- body: PartyAnswersDto;
8154
+ export type negotiationRenderTemplateAtVersionData = {
8155
+ body?: never;
7865
8156
  path: {
7866
8157
  subAccountId: string;
7867
8158
  negotiationId: string;
8159
+ version: string;
7868
8160
  };
7869
8161
  query?: never;
7870
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/extraction/resetAnswers';
8162
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/preview/versions/{version}';
7871
8163
  };
7872
8164
 
7873
- export type resetUserAnswersErrors = {
8165
+ export type negotiationRenderTemplateAtVersionErrors = {
7874
8166
  /**
7875
- * Negotiation or election not found
8167
+ * Negotiation or version not found
7876
8168
  */
7877
8169
  404: unknown;
7878
8170
  };
7879
8171
 
7880
- export type resetUserAnswersResponses = {
8172
+ export type negotiationRenderTemplateAtVersionResponses = {
7881
8173
  /**
7882
- * 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
7883
8175
  */
7884
- 200: ExtractionResultDto;
8176
+ 200: RenderedTemplateDto;
7885
8177
  };
7886
8178
 
7887
- export type resetUserAnswersResponse = resetUserAnswersResponses[keyof resetUserAnswersResponses];
8179
+ export type negotiationRenderTemplateAtVersionResponse = negotiationRenderTemplateAtVersionResponses[keyof negotiationRenderTemplateAtVersionResponses];
7888
8180
 
7889
8181
  export type updateUserAnswersData = {
7890
8182
  body: PartyAnswersDto;
@@ -7912,6 +8204,64 @@ export type updateUserAnswersResponses = {
7912
8204
 
7913
8205
  export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
7914
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
+
7915
8265
  export type getMajorVersionsData = {
7916
8266
  body?: never;
7917
8267
  path: {
@@ -8890,6 +9240,39 @@ export type assignUserResponses = {
8890
9240
 
8891
9241
  export type assignUserResponse = assignUserResponses[keyof assignUserResponses];
8892
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
+
8893
9276
  export type assignDraftPresetToMeData = {
8894
9277
  body?: never;
8895
9278
  path: {
@@ -8915,6 +9298,32 @@ export type assignDraftPresetToMeResponses = {
8915
9298
 
8916
9299
  export type assignDraftPresetToMeResponse = assignDraftPresetToMeResponses[keyof assignDraftPresetToMeResponses];
8917
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
+
8918
9327
  export type generateCommentsReportData = {
8919
9328
  body?: never;
8920
9329
  path: {
@@ -11872,6 +12281,32 @@ export type getCompanyByEntityIdResponses = {
11872
12281
 
11873
12282
  export type getCompanyByEntityIdResponse = getCompanyByEntityIdResponses[keyof getCompanyByEntityIdResponses];
11874
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
+
11875
12310
  export type deleteDraftingNotesDocumentData = {
11876
12311
  body?: never;
11877
12312
  path: {