@createiq/backend 1.0.153 → 1.0.154

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.
@@ -213,11 +213,6 @@ export type DocumentVersionsWithMajorChangesDto_DocumentGroupDto = {
213
213
  versions: Array<DocumentVersionsWithMajorChangesDto_DocumentVersionFlagsDto>;
214
214
  };
215
215
 
216
- export type SetNegotiationGroupPartiesResponseDto = {
217
- updated: Array<string>;
218
- failures: Array<NegotiationGroupPartiesFailureDto>;
219
- };
220
-
221
216
  export type AcceptInviteDto = {
222
217
  accountName?: string;
223
218
  firstName: string;
@@ -258,16 +253,6 @@ export type ValidatedEntityDto = {
258
253
  entityId: EntityIdDto;
259
254
  };
260
255
 
261
- export type NegotiationsGroupDto = {
262
- negotiations: Array<NegotiationSingleDto>;
263
- };
264
-
265
- export type NegotiationGroupPartiesFailureDto = {
266
- negotiationId: string;
267
- code: string;
268
- message: string;
269
- };
270
-
271
256
  export type ApiUserSummaryDto = {
272
257
  name: string;
273
258
  role: string;
@@ -399,11 +384,6 @@ export type ApprovalCountStatisticsDto = {
399
384
  teamPendingApprovals: PendingApprovalCountsDto;
400
385
  };
401
386
 
402
- export type ESignSessionStatusDto = {
403
- value: string;
404
- user?: UserDto;
405
- };
406
-
407
387
  export type SetApprovalRulesDto = {
408
388
  users: Array<string>;
409
389
  quorum: number;
@@ -482,7 +462,7 @@ export type VerifyMinioDto = {
482
462
  filesNotFound: Array<string>;
483
463
  };
484
464
 
485
- export type CreateNegotiationGroupDto = {
465
+ export type CreateNegotiationPackageDto = {
486
466
  name: string;
487
467
  negotiations: Array<string>;
488
468
  };
@@ -491,6 +471,17 @@ export type ZuvaFieldDto = {
491
471
  fieldIds: Array<string>;
492
472
  };
493
473
 
474
+ export type ESignSessionStatusDto = {
475
+ value: string;
476
+ user?: UserDto;
477
+ };
478
+
479
+ export type NegotiationPackagePartiesFailureDto = {
480
+ negotiationId: string;
481
+ code: string;
482
+ message: string;
483
+ };
484
+
494
485
  export type SigningMode = 'eSign' | 'offline';
495
486
 
496
487
  export type ExhibitValueBehaviour = 'internal' | 'auto_accept';
@@ -792,13 +783,6 @@ export type AuditEventCauseDto = {
792
783
  ipAddress?: string;
793
784
  };
794
785
 
795
- export type CreateNegotiationGroupDraftsDto = {
796
- name: string;
797
- documentIds?: Array<unknown>;
798
- presetIds?: Array<unknown>;
799
- documentPackIds?: Array<unknown>;
800
- };
801
-
802
786
  export type LegalEntityDto = {
803
787
  assignedDate: string;
804
788
  name: string;
@@ -870,6 +854,11 @@ export type NegotiationReminderWithRecipientsDto = {
870
854
 
871
855
  export type AuditReportType = 'audit_log_report' | 'comments_log_report';
872
856
 
857
+ export type SetNegotiationPackagePartiesDto = {
858
+ ownerEntityId?: string;
859
+ counterparty?: PackageCounterpartyDto;
860
+ };
861
+
873
862
  export type DocumentIntegrationRestriction = 'Integration Only' | 'CIQ Only';
874
863
 
875
864
  export type UserForPickerDto = {
@@ -1393,15 +1382,6 @@ export type SignatureStateDto = {
1393
1382
  moderator?: boolean;
1394
1383
  };
1395
1384
 
1396
- export type DocumentListItemDto = {
1397
- hasCustodianTemplates: boolean;
1398
- document: DocumentWithPackDto;
1399
- markedAsFavourite: boolean;
1400
- templates: number;
1401
- availableActions: DocumentListAvailableActionsDto;
1402
- requestingUserCanInvite?: boolean;
1403
- };
1404
-
1405
1385
  export type NegotiationWithTimelinePreviewAndMultipleNestedAnswersDto = NegotiationWithTimelineAndPreviewDto & {
1406
1386
  nestedAnswerFullSummaries: {
1407
1387
  [key: string]: NestedAnswersSummariesWithAnswersDto;
@@ -1486,6 +1466,25 @@ export type ValidatedSchemaDto = {
1486
1466
  errors: Array<ValidatedSchemaErrorDto>;
1487
1467
  };
1488
1468
 
1469
+ export type PackageCounterpartyDto = {
1470
+ externalComment?: string;
1471
+ entity: EntityIdDto;
1472
+ correlationId?: AccountCorrelationIdDto;
1473
+ attachDocx?: boolean;
1474
+ email?: DraftEmailDto;
1475
+ additionalEmails?: Array<DraftEmailDto>;
1476
+ attachPdf?: boolean;
1477
+ };
1478
+
1479
+ export type DocumentListItemDto = {
1480
+ hasCustodianTemplates: boolean;
1481
+ document: DocumentWithPackDto;
1482
+ markedAsFavourite: boolean;
1483
+ templates: number;
1484
+ availableActions: DocumentListAvailableActionsDto;
1485
+ requestingUserCanInvite?: boolean;
1486
+ };
1487
+
1489
1488
  export type UpdateUserProfileDto = {
1490
1489
  firstName: string;
1491
1490
  lastName: string;
@@ -1536,12 +1535,6 @@ export type OfflineNegotiatedDocumentExistsDto_OfflineNegotiatedDocumentAvailabl
1536
1535
  delete: boolean;
1537
1536
  };
1538
1537
 
1539
- export type SendGroupToCounterpartyRequestDto = {
1540
- negotiationIds: Array<string>;
1541
- attachDocx?: boolean;
1542
- attachPdf?: boolean;
1543
- };
1544
-
1545
1538
  export type SSOConfigDto = {
1546
1539
  secondaryX5cExpiry?: string;
1547
1540
  issuerUrl: string;
@@ -1694,12 +1687,6 @@ export type DocuSignEmailRestriction = 'exact_email_match' | 'in_allowed_domains
1694
1687
 
1695
1688
  export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
1696
1689
 
1697
- export type NegotiationGroupDraftSourceErrorDto = {
1698
- sourceType: 'document' | 'preset' | 'pack';
1699
- sourceId: string;
1700
- errorCode: string;
1701
- };
1702
-
1703
1690
  export type NegotiationFileAvailableActionDto = {
1704
1691
  showExecutedDocument: boolean;
1705
1692
  showSignaturePages: boolean;
@@ -1736,7 +1723,7 @@ export type TemplateSettingsDto_TemplateStylesDto = {
1736
1723
 
1737
1724
  export type GetNegotiationDeltasDto = {
1738
1725
  negotiationIds: Array<string>;
1739
- negotiationGroupId?: string;
1726
+ negotiationPackageId?: string;
1740
1727
  };
1741
1728
 
1742
1729
  export type EditEventOp_Replace = {
@@ -1745,6 +1732,11 @@ export type EditEventOp_Replace = {
1745
1732
  after: string;
1746
1733
  };
1747
1734
 
1735
+ export type RequestGuestApprovalDto = {
1736
+ email: DraftEmailDto;
1737
+ message: string;
1738
+ };
1739
+
1748
1740
  export type ESignAccountStatusDto = {
1749
1741
  value: string;
1750
1742
  };
@@ -1755,11 +1747,6 @@ export type ShareRequestDto = {
1755
1747
  newUsers: Array<NewUserShareDto>;
1756
1748
  };
1757
1749
 
1758
- export type NegotiationGroupDto = {
1759
- id: string;
1760
- name: string;
1761
- };
1762
-
1763
1750
  export type ExecutedNegotiationSummaryDto = {
1764
1751
  preset?: PresetDto;
1765
1752
  partyB?: ExecutedNegotiationSummaryDto_PartyDto;
@@ -1768,6 +1755,7 @@ export type ExecutedNegotiationSummaryDto = {
1768
1755
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
1769
1756
  document: DocumentWithPackDto;
1770
1757
  participants: Array<UserDto>;
1758
+ negotiationPackage?: NegotiationPackageDto;
1771
1759
  answers: NegotiationAnswersDto;
1772
1760
  totalElections: number;
1773
1761
  moderatorElectionComments?: {
@@ -1778,7 +1766,6 @@ export type ExecutedNegotiationSummaryDto = {
1778
1766
  };
1779
1767
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1780
1768
  internalDocumentComments?: Array<TimelineEventDto>;
1781
- negotiationGroup?: NegotiationGroupDto;
1782
1769
  externalDocumentComments?: Array<TimelineEventDto>;
1783
1770
  moderatorDocumentComments?: Array<TimelineEventDto>;
1784
1771
  version: string;
@@ -1823,6 +1810,11 @@ export type NegotiationAuditTrailEventDto = {
1823
1810
  negotiationId: string;
1824
1811
  };
1825
1812
 
1813
+ export type NegotiationPackageIdAndNameDto = {
1814
+ packageId: string;
1815
+ name: string;
1816
+ };
1817
+
1826
1818
  export type ErrorResponseDto = {
1827
1819
  code: string;
1828
1820
  message: string;
@@ -1863,15 +1855,6 @@ export type FixApprovalRulesDto = {
1863
1855
  user: string;
1864
1856
  };
1865
1857
 
1866
- export type RequestGuestApprovalDto = {
1867
- email: DraftEmailDto;
1868
- message: string;
1869
- };
1870
-
1871
- export type UpdateNegotiationGroupMembersDto = {
1872
- negotiations: Array<string>;
1873
- };
1874
-
1875
1858
  export type CreateApiUserRequest = {
1876
1859
  name: string;
1877
1860
  role: string;
@@ -2001,7 +1984,6 @@ export type NegotiationSearchDto = {
2001
1984
  requestingUserId?: string;
2002
1985
  advisorPresetIds: Array<unknown>;
2003
1986
  partyC: Array<string>;
2004
- groupId: Array<string>;
2005
1987
  bulkSetIds: Array<string>;
2006
1988
  orderDirection?: 'asc' | 'desc';
2007
1989
  displayReferenceId: Array<string>;
@@ -2017,6 +1999,7 @@ export type NegotiationSearchDto = {
2017
1999
  partyA: Array<string>;
2018
2000
  approverUserId?: string;
2019
2001
  fund: Array<string>;
2002
+ packageId: Array<string>;
2020
2003
  excludedUiStates: Array<NegotiationUIState>;
2021
2004
  partyAny: Array<string>;
2022
2005
  isForkedOrFork?: boolean;
@@ -2087,6 +2070,16 @@ export type DraftReceiverEmailValidationDto = {
2087
2070
  additionalEmails?: Array<EmailWithErrorDto>;
2088
2071
  };
2089
2072
 
2073
+ export type PresetStateDto = {
2074
+ requestedAt?: string;
2075
+ requestedBy?: UserWithRoleDto;
2076
+ approvedAt?: string;
2077
+ approvedBy?: UserWithRoleDto;
2078
+ type: string;
2079
+ rejectedAt?: string;
2080
+ rejectedBy?: UserWithRoleDto;
2081
+ };
2082
+
2090
2083
  export type NegotiationFilter_OlderThanPeriod_OlderThanPeriodValue = 'Older than 7 days' | 'Older than 14 days' | 'Older than 30 days';
2091
2084
 
2092
2085
  export type ExecutedNegotiationSummaryDto_PartyDto = {
@@ -2116,20 +2109,6 @@ export type PendingApprovalCountsDto = {
2116
2109
  electionLevelApprovals: number;
2117
2110
  };
2118
2111
 
2119
- export type NegotiationGroupIdDto = {
2120
- id: string;
2121
- };
2122
-
2123
- export type PresetStateDto = {
2124
- requestedAt?: string;
2125
- requestedBy?: UserWithRoleDto;
2126
- approvedAt?: string;
2127
- approvedBy?: UserWithRoleDto;
2128
- type: string;
2129
- rejectedAt?: string;
2130
- rejectedBy?: UserWithRoleDto;
2131
- };
2132
-
2133
2112
  export type PresetSingleWithPreviewAndMultipleNestedAnswersDto = PresetSingleWithPreviewDto & {
2134
2113
  nestedAnswerFullSummaries: {
2135
2114
  [key: string]: NestedAnswersSummariesWithPresetAnswersDto;
@@ -2215,6 +2194,10 @@ export type UnsubscribeRequestDto = {
2215
2194
  hash: string;
2216
2195
  };
2217
2196
 
2197
+ export type PresetSingleWithPreviewAndNestedAnswersDto = PresetSingleWithPreviewDto & {
2198
+ nestedAnswerFullSummary: NestedAnswersSummariesWithPresetAnswersDto;
2199
+ };
2200
+
2218
2201
  export type SearchContext = 'completed' | 'active' | 'confirmedTemplate';
2219
2202
 
2220
2203
  export type ApproverDto = ({
@@ -2223,11 +2206,6 @@ export type ApproverDto = ({
2223
2206
  type: 'AnonymousApproverDto';
2224
2207
  } & AnonymousApproverDto);
2225
2208
 
2226
- export type NegotiationGroupDraftSourceDto = {
2227
- sourceType: 'document' | 'preset' | 'pack';
2228
- sourceId: string;
2229
- };
2230
-
2231
2209
  export type ApprovalCommentsAvailableActionsDto = {
2232
2210
  canCreate: boolean;
2233
2211
  };
@@ -2237,15 +2215,6 @@ export type AccountUserShareDto = {
2237
2215
  message?: string;
2238
2216
  };
2239
2217
 
2240
- export type NegotiationGroupDraftsDryRunResponseDto = {
2241
- valid: Array<NegotiationGroupDraftSourceDto>;
2242
- failures: Array<NegotiationGroupDraftSourceErrorDto>;
2243
- };
2244
-
2245
- export type PresetSingleWithPreviewAndNestedAnswersDto = PresetSingleWithPreviewDto & {
2246
- nestedAnswerFullSummary: NestedAnswersSummariesWithPresetAnswersDto;
2247
- };
2248
-
2249
2218
  export type FormattingTag = 'strong' | 'em' | 'underline' | 'subscript' | 'superscript' | 'strikethrough';
2250
2219
 
2251
2220
  export type NoteType = 'internal' | 'external';
@@ -2260,11 +2229,9 @@ export type SubAccountSummaryDto = {
2260
2229
  status: string;
2261
2230
  };
2262
2231
 
2263
- export type NotificationSenderDto = {
2264
- email: string;
2265
- fullName?: string;
2266
- accountName?: string;
2267
- entityName?: string;
2232
+ export type NegotiationPackageDraftsDryRunResponseDto = {
2233
+ valid: Array<NegotiationPackageDraftSourceDto>;
2234
+ failures: Array<NegotiationPackageDraftSourceErrorDto>;
2268
2235
  };
2269
2236
 
2270
2237
  export type CreateApiUserResponse = {
@@ -2278,12 +2245,6 @@ export type CreateApiUserResponse = {
2278
2245
  lastUsedAt?: string;
2279
2246
  };
2280
2247
 
2281
- export type NestedPartyAnswersDto = {
2282
- nestedAnswers: {
2283
- [key: string]: PartyAnswersDto;
2284
- };
2285
- };
2286
-
2287
2248
  export type AdminAccountOnlyDto = {
2288
2249
  accountName: string;
2289
2250
  guestApproversEnabledForAllWorkspaces: boolean;
@@ -2312,6 +2273,19 @@ export type ForwardAccountInviteDto = {
2312
2273
  invitationCode: string;
2313
2274
  };
2314
2275
 
2276
+ export type NegotiationPackageDraftsResponseDto = {
2277
+ negotiationPackageId: string;
2278
+ created: Array<string>;
2279
+ failures: Array<NegotiationPackageDraftSourceErrorDto>;
2280
+ };
2281
+
2282
+ export type NotificationSenderDto = {
2283
+ email: string;
2284
+ fullName?: string;
2285
+ accountName?: string;
2286
+ entityName?: string;
2287
+ };
2288
+
2315
2289
  export type AuxiliaryDocumentExistsDto = {
2316
2290
  exists: boolean;
2317
2291
  };
@@ -2363,6 +2337,17 @@ export type PresetSingleDto = {
2363
2337
  id: string;
2364
2338
  };
2365
2339
 
2340
+ export type SetNegotiationPackagePartiesResponseDto = {
2341
+ updated: Array<string>;
2342
+ failures: Array<NegotiationPackagePartiesFailureDto>;
2343
+ };
2344
+
2345
+ export type NestedPartyAnswersDto = {
2346
+ nestedAnswers: {
2347
+ [key: string]: PartyAnswersDto;
2348
+ };
2349
+ };
2350
+
2366
2351
  export type ExtendInviteExpiryRequestDto = {
2367
2352
  invitationCode: string;
2368
2353
  days?: number;
@@ -2405,6 +2390,8 @@ export type CreateBulkSetItemDto = {
2405
2390
  };
2406
2391
  };
2407
2392
 
2393
+ export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2394
+
2408
2395
  export type NegotiationPartyDto = ({
2409
2396
  type: 'established_party';
2410
2397
  } & NegotiationEstablishedPartyDto) | ({
@@ -2471,7 +2458,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
2471
2458
  sigPageId: string;
2472
2459
  };
2473
2460
 
2474
- export type EmailTemplate = 'dailyNotificationDigest' | 'negotiationInvite' | 'userTaggedInComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'notifyDraft' | 'negotiationUpdate' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'userTaggedInApprovalComment' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'electionApprovalResponsesReceived' | 'shareSubAccount' | 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'accessRequestResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'existingApproverReplaced' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
2461
+ export type EmailTemplate = 'dailyNotificationDigest' | 'negotiationInvite' | 'userTaggedInComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'notifyDraft' | 'negotiationUpdate' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'userTaggedInApprovalComment' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'electionApprovalResponsesReceived' | 'shareSubAccount' | 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'accessRequestResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationPackageInvite' | 'negotiationPackageCreateAccountInvite' | 'negotiationPackageInviteApproverOrAdmin' | 'negotiationPackageInviteNamedWhereNoEntity' | 'negotiationPackageInviteEntityManagement' | 'negotiationPackageInviteNamedWhereNoUser' | 'negotiationPackageUpdate' | 'negotiationPackageDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'existingApproverReplaced' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
2475
2462
 
2476
2463
  export type PartyRelativeRef = 'our' | 'counterparty';
2477
2464
 
@@ -2498,10 +2485,6 @@ export type ManualReminderEmailInfoDto = {
2498
2485
  emailFailedToDeliver: boolean;
2499
2486
  };
2500
2487
 
2501
- export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2502
-
2503
- export type NegotiationGroupDraftSourceType = 'document' | 'preset' | 'pack';
2504
-
2505
2488
  export type ComponentAnswerDto_FundListEntityDto = {
2506
2489
  entityId: string;
2507
2490
  name: string;
@@ -2531,9 +2514,9 @@ export type QueryExecutionResponseDto = {
2531
2514
  resultSet: RawResultSetDto;
2532
2515
  };
2533
2516
 
2534
- export type SendGroupToCounterpartyResponseDto = {
2535
- negotiationId: string;
2536
- state: SendGroupToCounterpartyResponseDto_SendGroupToCounterpartyResultDto;
2517
+ export type DocumentPublisherDisclaimerDto = {
2518
+ pack?: DocumentPublisherPackDisclaimerDto;
2519
+ document?: DocumentPublisherDocumentDisclaimerDto;
2537
2520
  };
2538
2521
 
2539
2522
  export type RenderedFilenameTemplatesDto = {
@@ -2568,17 +2551,6 @@ export type UpdateCapitalMarketsOrganisationTypeDto = {
2568
2551
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2569
2552
  };
2570
2553
 
2571
- export type NegotiationGroupDraftsResponseDto = {
2572
- negotiationGroupId: string;
2573
- created: Array<string>;
2574
- failures: Array<NegotiationGroupDraftSourceErrorDto>;
2575
- };
2576
-
2577
- export type DocumentPublisherDisclaimerDto = {
2578
- pack?: DocumentPublisherPackDisclaimerDto;
2579
- document?: DocumentPublisherDocumentDisclaimerDto;
2580
- };
2581
-
2582
2554
  export type SubAccountIdNameShareSettingsDto = {
2583
2555
  id: string;
2584
2556
  name: string;
@@ -2642,7 +2614,6 @@ export type SendAdvisorPresetRequestDto = {
2642
2614
  export type NegotiationSummaryDto = {
2643
2615
  watching: boolean;
2644
2616
  document: DocumentWithPackDto;
2645
- subAccountId: string;
2646
2617
  version: string;
2647
2618
  id: string;
2648
2619
  presetSwapped?: boolean;
@@ -2666,10 +2637,11 @@ export type NegotiationSummaryDto = {
2666
2637
  manualReminderEmail?: ManualReminderEmailInfoDto;
2667
2638
  requester: NegotiationRequester;
2668
2639
  customFields: NegotiationCustomFieldsDto;
2640
+ subAccountId: string;
2641
+ packageName?: string;
2669
2642
  markedAsFavourite: boolean;
2670
2643
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
2671
2644
  totalElections: number;
2672
- groupId?: string;
2673
2645
  totalStage2Templates?: number;
2674
2646
  documentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
2675
2647
  bulkSetId?: string;
@@ -2678,7 +2650,6 @@ export type NegotiationSummaryDto = {
2678
2650
  draftCounterparties: Array<CounterpartyDto>;
2679
2651
  dates: NegotiationDatesDto;
2680
2652
  approvers?: Array<string>;
2681
- groupName?: string;
2682
2653
  receivers: Array<ReceiverDto>;
2683
2654
  availableActions: NegotiationSummaryAvailableActionsDto;
2684
2655
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
@@ -2687,6 +2658,7 @@ export type NegotiationSummaryDto = {
2687
2658
  progressStatus: NegotiationStateGroup;
2688
2659
  forkedTo: Array<string>;
2689
2660
  requestingPartyIsInitiator: boolean;
2661
+ packageId?: string;
2690
2662
  chaserEmail?: ManualReminderEmailInfoDto;
2691
2663
  permittedAdvisorAccounts?: Array<string>;
2692
2664
  errorFromLastJob?: NegotiationJobErrorDto;
@@ -2717,6 +2689,8 @@ export type UserFlagsDto = {
2717
2689
  displayIntroductionCounter: number;
2718
2690
  };
2719
2691
 
2692
+ export type NegotiationPackageDraftSourceType = 'document' | 'preset' | 'pack';
2693
+
2720
2694
  export type UserGroupDto = {
2721
2695
  id: string;
2722
2696
  name: string;
@@ -2825,16 +2799,6 @@ export type FeatureDto = {
2825
2799
  enabled: boolean;
2826
2800
  };
2827
2801
 
2828
- export type SendGroupToCounterpartyResponseDto_SendGroupToCounterpartyResultDto = {
2829
- primary?: NegotiationSingleDto;
2830
- additionalReceivers?: Array<string>;
2831
- type?: 'success';
2832
- } | {
2833
- code?: string;
2834
- message?: string;
2835
- type?: 'failure';
2836
- };
2837
-
2838
2802
  export type NegotiationFileDto_SignatureFileDto = {
2839
2803
  isRequired: boolean;
2840
2804
  modifiableByPartyIds: Array<string>;
@@ -2937,32 +2901,14 @@ export type DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto = {
2937
2901
  disparity: boolean;
2938
2902
  };
2939
2903
 
2940
- export type CounterpartyDto = {
2941
- externalComment?: string;
2942
- isMixedCorporateGuest: boolean;
2943
- isFreeEmail?: boolean;
2944
- displayReferenceId?: string;
2945
- bulkDraft?: BulkDraftCounterpartyOptionsDto;
2946
- correlationId?: AccountCorrelationIdDto;
2947
- attachDocx?: boolean;
2948
- email?: string;
2949
- additionalEmails?: Array<EmailWithErrorDto>;
2950
- attachPdf?: boolean;
2951
- referenceId?: string;
2952
- error?: string;
2953
- externalAttachments?: Array<string>;
2954
- referenceIdError?: Array<DetailedInputValidationErrorDto>;
2955
- entity: EntityDto;
2956
- };
2957
-
2958
2904
  export type NegotiationListDto = {
2959
2905
  result: Array<NegotiationSummaryDto>;
2906
+ negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
2960
2907
  pagingMeta?: PagingMetaDto;
2961
2908
  displayReferenceIds: Array<string>;
2909
+ parameters: NegotiationSearchDto;
2962
2910
  negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
2963
2911
  negotiationEntityFilters: NegotiationEntityFiltersDto;
2964
- parameters: NegotiationSearchDto;
2965
- negotiationGroupNames: Array<NegotiationGroupIdAndNameDto>;
2966
2912
  };
2967
2913
 
2968
2914
  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';
@@ -3034,6 +2980,30 @@ export type CreateSubAccountResponseDto = {
3034
2980
  id: string;
3035
2981
  };
3036
2982
 
2983
+ export type SendPackageToCounterpartyRequestDto = {
2984
+ negotiationIds: Array<string>;
2985
+ attachDocx?: boolean;
2986
+ attachPdf?: boolean;
2987
+ };
2988
+
2989
+ export type CounterpartyDto = {
2990
+ externalComment?: string;
2991
+ isMixedCorporateGuest: boolean;
2992
+ isFreeEmail?: boolean;
2993
+ displayReferenceId?: string;
2994
+ bulkDraft?: BulkDraftCounterpartyOptionsDto;
2995
+ correlationId?: AccountCorrelationIdDto;
2996
+ attachDocx?: boolean;
2997
+ email?: string;
2998
+ additionalEmails?: Array<EmailWithErrorDto>;
2999
+ attachPdf?: boolean;
3000
+ referenceId?: string;
3001
+ error?: string;
3002
+ externalAttachments?: Array<string>;
3003
+ referenceIdError?: Array<DetailedInputValidationErrorDto>;
3004
+ entity: EntityDto;
3005
+ };
3006
+
3037
3007
  export type UserInviteDto = {
3038
3008
  subAccountIds?: Array<string>;
3039
3009
  lastName: string;
@@ -3168,6 +3138,13 @@ export type BulkDraftCounterpartyOptionsDto = {
3168
3138
  overrideAnswers: PartyAnswersDto;
3169
3139
  };
3170
3140
 
3141
+ export type CreateNegotiationPackageDraftsDto = {
3142
+ name: string;
3143
+ documentIds?: Array<unknown>;
3144
+ presetIds?: Array<unknown>;
3145
+ documentPackIds?: Array<unknown>;
3146
+ };
3147
+
3171
3148
  export type ComponentAnswerDto_NameChangeDto = {
3172
3149
  newName?: string;
3173
3150
  newLei?: string;
@@ -3176,6 +3153,11 @@ export type ComponentAnswerDto_NameChangeDto = {
3176
3153
  exhibitValues: ComponentAnswerDto_ExhibitValuesDto;
3177
3154
  };
3178
3155
 
3156
+ export type FormSubmissionErrorResponseDto = {
3157
+ message: string;
3158
+ errors: Array<string>;
3159
+ };
3160
+
3179
3161
  export type ElectionsDto = {
3180
3162
  standard: Array<ElectionDto>;
3181
3163
  executionDate: ElectionDto;
@@ -3223,16 +3205,6 @@ export type ComponentAnswerDto_BaseColumnLabelDto = {
3223
3205
  label: string;
3224
3206
  };
3225
3207
 
3226
- export type NegotiationGroupIdAndNameDto = {
3227
- groupId: string;
3228
- name: string;
3229
- };
3230
-
3231
- export type FormSubmissionErrorResponseDto = {
3232
- message: string;
3233
- errors: Array<string>;
3234
- };
3235
-
3236
3208
  export type ESignNegotiationSessionStatus = 'completed' | 'cancelled';
3237
3209
 
3238
3210
  export type AuthEndpointsResponseDto = {
@@ -3463,6 +3435,10 @@ export type UserListForPickerDto = {
3463
3435
  users: Array<UserForPickerDto>;
3464
3436
  };
3465
3437
 
3438
+ export type UpdateNegotiationPackageMembersDto = {
3439
+ negotiations: Array<string>;
3440
+ };
3441
+
3466
3442
  export type NegotiationFilter_Status_StatusValue = 'Our turn' | 'Counterparty turn';
3467
3443
 
3468
3444
  export type SubAccountComplexStatisticsDto = {
@@ -3584,6 +3560,11 @@ export type CreatePresetRequestDto = {
3584
3560
  documentId?: string;
3585
3561
  };
3586
3562
 
3563
+ export type SendPackageToCounterpartyResponseDto = {
3564
+ negotiationId: string;
3565
+ state: SendPackageToCounterpartyResponseDto_SendPackageToCounterpartyResultDto;
3566
+ };
3567
+
3587
3568
  export type SupportAccessClientDto = {
3588
3569
  clientAccountName: string;
3589
3570
  clientRole: string;
@@ -3609,16 +3590,6 @@ export type EditEventOp = ({
3609
3590
  type: 'EditEventOp.AnswerValueChange';
3610
3591
  } & EditEventOp_AnswerValueChange);
3611
3592
 
3612
- export type GroupCounterpartyDto = {
3613
- externalComment?: string;
3614
- entity: EntityIdDto;
3615
- correlationId?: AccountCorrelationIdDto;
3616
- attachDocx?: boolean;
3617
- email?: DraftEmailDto;
3618
- additionalEmails?: Array<DraftEmailDto>;
3619
- attachPdf?: boolean;
3620
- };
3621
-
3622
3593
  export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
3623
3594
 
3624
3595
  export type NegotiationSingleDto = {
@@ -3655,13 +3626,13 @@ export type NegotiationSingleDto = {
3655
3626
  customFields: NegotiationCustomFieldsDto;
3656
3627
  previouslyReservedElectionIds: Array<string>;
3657
3628
  subAccountId: string;
3629
+ packageName?: string;
3658
3630
  fileExtensionsSupported: Array<string>;
3659
3631
  fundListMetadata?: FundListMetadataDto;
3660
3632
  groupMemberSummaries: Array<NegotiationSummaryDto>;
3661
3633
  markedAsFavourite: boolean;
3662
3634
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3663
3635
  totalElections: number;
3664
- groupId?: string;
3665
3636
  generalCoverNote?: string;
3666
3637
  forkDate?: string;
3667
3638
  counterpartyHasChangedNestedAnswers: boolean;
@@ -3674,7 +3645,6 @@ export type NegotiationSingleDto = {
3674
3645
  statusLabel: NegotiationStatusLabel;
3675
3646
  permittedAdvisors?: Array<NegotiationAdvisorSummaryDto>;
3676
3647
  draftCounterparties: Array<CounterpartyDto>;
3677
- groupName?: string;
3678
3648
  receivers: Array<ReceiverDto>;
3679
3649
  externalDocumentApproval?: ApprovalDto;
3680
3650
  availableActions: NegotiationAvailableActionsDto;
@@ -3693,6 +3663,7 @@ export type NegotiationSingleDto = {
3693
3663
  progressStatus: NegotiationStateGroup;
3694
3664
  forkedTo: Array<NegotiationSummaryDto>;
3695
3665
  requestingPartyIsInitiator: boolean;
3666
+ packageId?: string;
3696
3667
  defaultsSet: boolean;
3697
3668
  chaserEmail?: ManualReminderEmailInfoDto;
3698
3669
  errorFromLastJob?: NegotiationJobErrorDto;
@@ -3826,6 +3797,10 @@ export type EditEventOp_SpanChange = {
3826
3797
  kind: 'colspan' | 'rowspan';
3827
3798
  };
3828
3799
 
3800
+ export type NegotiationPackageIdDto = {
3801
+ id: string;
3802
+ };
3803
+
3829
3804
  export type AnnouncementDto = {
3830
3805
  lastModified: string;
3831
3806
  description: string;
@@ -4018,6 +3993,8 @@ export type DocumentIdWithDraftingNotesFlagDto = {
4018
3993
  hasExternalDraftingNotes: boolean;
4019
3994
  };
4020
3995
 
3996
+ export type NegotiationOrderKey = 'activeUser' | 'created' | 'documentType' | 'status' | 'lastAction' | 'lastActionWithFavouritesFirst' | 'myEntityName' | 'counterPartyEntityName' | 'displayReferenceId' | 'approverName';
3997
+
4021
3998
  export type WorkflowType = 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
4022
3999
 
4023
4000
  export type FilterResultDto = {
@@ -4083,13 +4060,6 @@ export type ElectionAnswerSummaryDto = {
4083
4060
  amendMatched?: boolean;
4084
4061
  };
4085
4062
 
4086
- export type SetNegotiationGroupPartiesDto = {
4087
- ownerEntityId?: string;
4088
- counterparty?: GroupCounterpartyDto;
4089
- };
4090
-
4091
- export type NegotiationOrderKey = 'activeUser' | 'created' | 'documentType' | 'status' | 'lastAction' | 'lastActionWithFavouritesFirst' | 'myEntityName' | 'counterPartyEntityName' | 'displayReferenceId' | 'approverName';
4092
-
4093
4063
  export type GuestApprovalRequestDto = {
4094
4064
  email: string;
4095
4065
  message: string;
@@ -4099,10 +4069,6 @@ export type ChangeSigningModeDto = {
4099
4069
  signingMode: string;
4100
4070
  };
4101
4071
 
4102
- export type UpdateNegotiationGroupNameDto = {
4103
- name: string;
4104
- };
4105
-
4106
4072
  export type NotificationSubscriptionStatusDto = {
4107
4073
  email: string;
4108
4074
  mutedNotifications: boolean;
@@ -4196,12 +4162,6 @@ export type DraftingNotesDto = {
4196
4162
  externalDraftingNotes: Array<DraftingNoteDto>;
4197
4163
  };
4198
4164
 
4199
- export type FundListSpreadsheetErrorResponseDto = {
4200
- code: string;
4201
- message: string;
4202
- validationErrors: Array<FundListSpreadsheetValidationErrorDto>;
4203
- };
4204
-
4205
4165
  export type ReceiverUserDto = {
4206
4166
  email: string;
4207
4167
  emailFailedToDeliver?: boolean;
@@ -4238,6 +4198,17 @@ export type SidedNegotiationCountsDto = {
4238
4198
  amendAndRestatement: number;
4239
4199
  };
4240
4200
 
4201
+ export type NegotiationPackageDto = {
4202
+ id: string;
4203
+ name: string;
4204
+ };
4205
+
4206
+ export type FundListSpreadsheetErrorResponseDto = {
4207
+ code: string;
4208
+ message: string;
4209
+ validationErrors: Array<FundListSpreadsheetValidationErrorDto>;
4210
+ };
4211
+
4241
4212
  export type CrossAccountMoveRequestDto = {
4242
4213
  entityId: string;
4243
4214
  notifyIntegrator?: boolean;
@@ -4283,6 +4254,16 @@ export type SchemaSampleConfigurationDto = {
4283
4254
  };
4284
4255
  };
4285
4256
 
4257
+ export type SendPackageToCounterpartyResponseDto_SendPackageToCounterpartyResultDto = {
4258
+ primary?: NegotiationSingleDto;
4259
+ additionalReceivers?: Array<string>;
4260
+ type?: 'success';
4261
+ } | {
4262
+ code?: string;
4263
+ message?: string;
4264
+ type?: 'failure';
4265
+ };
4266
+
4286
4267
  export type AdvisorAccountRelationshipsDto = {
4287
4268
  clients: Array<AdvisorAccountRelationshipDto>;
4288
4269
  advisors: Array<AdvisorAccountRelationshipDto>;
@@ -4393,12 +4374,6 @@ export type LegacyNegotiationStatisticsDto = {
4393
4374
  executedNegotiationCount: number;
4394
4375
  };
4395
4376
 
4396
- export type ReportGenerationRequestDto = {
4397
- documentIds?: Array<string>;
4398
- timeZone?: string;
4399
- subAccountIdForNotification?: string;
4400
- };
4401
-
4402
4377
  export type NonUserWatcherDto = {
4403
4378
  name?: PersonNameDto;
4404
4379
  email: string;
@@ -4428,11 +4403,11 @@ export type PartyAnswersDto = {
4428
4403
  export type NegotiationListMetadataDto = {
4429
4404
  hasPendingExtractions: boolean;
4430
4405
  activeFilters: FilterResultsDto;
4431
- totalFavouriteConfirmedTemplates: number;
4432
4406
  pagingMeta?: PagingMetaDto;
4433
4407
  totalPhase2Templates: number;
4434
4408
  displayReferenceIds: Array<string>;
4435
- negotiationGroupNames: Array<NegotiationGroupIdAndNameDto>;
4409
+ negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
4410
+ totalFavouriteConfirmedTemplates: number;
4436
4411
  negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
4437
4412
  negotiationEntityFilters: NegotiationEntityFiltersDto;
4438
4413
  };
@@ -4450,6 +4425,10 @@ export type DocuSignPreviewSignerDto = {
4450
4425
  emailPath: string;
4451
4426
  };
4452
4427
 
4428
+ export type NegotiationsPackageDto = {
4429
+ negotiations: Array<NegotiationSingleDto>;
4430
+ };
4431
+
4453
4432
  export type CompletedExtractionResultDto = {
4454
4433
  unstructured: UnstructuredExtractionResultDto;
4455
4434
  userAnswers: PartyAnswersDto;
@@ -4488,6 +4467,17 @@ export type AmendDefaultsDto = {
4488
4467
 
4489
4468
  export type DocumentPackAccess = 'required' | 'granted' | 'restricted';
4490
4469
 
4470
+ export type NegotiationPackageDraftSourceDto = {
4471
+ sourceType: 'document' | 'preset' | 'pack';
4472
+ sourceId: string;
4473
+ };
4474
+
4475
+ export type ReportGenerationRequestDto = {
4476
+ documentIds?: Array<string>;
4477
+ timeZone?: string;
4478
+ subAccountIdForNotification?: string;
4479
+ };
4480
+
4491
4481
  export type AccountNameDto = {
4492
4482
  accountName: string;
4493
4483
  };
@@ -4500,6 +4490,12 @@ export type DocumentListAvailableActionsDto = {
4500
4490
  canInviteNoPreset: boolean;
4501
4491
  };
4502
4492
 
4493
+ export type NegotiationPackageDraftSourceErrorDto = {
4494
+ sourceType: 'document' | 'preset' | 'pack';
4495
+ sourceId: string;
4496
+ errorCode: string;
4497
+ };
4498
+
4503
4499
  export type ClonePresetDto = {
4504
4500
  newName?: string;
4505
4501
  newDescription?: string;
@@ -4514,6 +4510,10 @@ export type UserNegotiationStatisticsDto = {
4514
4510
  userId: string;
4515
4511
  };
4516
4512
 
4513
+ export type UpdateNegotiationPackageNameDto = {
4514
+ name: string;
4515
+ };
4516
+
4517
4517
  export type SidedExecutionAttachmentsExistsDto_SidedExistingExecutionAttachmentDto = {
4518
4518
  availableActions: SidedExecutionAttachmentsExistsDto_SidedExistingExecutionAttachmentAvailableActionsDto;
4519
4519
  fileName: string;
@@ -4564,22 +4564,6 @@ export type NestedAnswerPartyElectionsForVersionDto = {
4564
4564
  partyElections: Array<PartyElectionDto>;
4565
4565
  };
4566
4566
 
4567
- export type getNegotiationDeltasData = {
4568
- body: GetNegotiationDeltasDto;
4569
- path: {
4570
- subAccountId: string;
4571
- };
4572
- query?: never;
4573
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/deltas/calculate';
4574
- };
4575
-
4576
- export type getNegotiationDeltasResponses = {
4577
- /**
4578
- * Negotiations deltas (if any).
4579
- */
4580
- 200: unknown;
4581
- };
4582
-
4583
4567
  export type getAmendDefaultsData = {
4584
4568
  body?: never;
4585
4569
  path: {
@@ -5081,39 +5065,6 @@ export type authPingResponses = {
5081
5065
  200: unknown;
5082
5066
  };
5083
5067
 
5084
- export type createGroupWithDraftsData = {
5085
- body: CreateNegotiationGroupDraftsDto;
5086
- path: {
5087
- subAccountId: string;
5088
- };
5089
- query?: never;
5090
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/drafts';
5091
- };
5092
-
5093
- export type createGroupWithDraftsErrors = {
5094
- /**
5095
- * No sources, too many sources, or no source produced a draft. Each failed source is reported as a cause naming its type and ID
5096
- */
5097
- 400: unknown;
5098
- /**
5099
- * The role cannot create negotiation groups
5100
- */
5101
- 403: unknown;
5102
- /**
5103
- * The negotiation group name is already used in this workspace
5104
- */
5105
- 409: unknown;
5106
- };
5107
-
5108
- export type createGroupWithDraftsResponses = {
5109
- /**
5110
- * The negotiation group was created, along with a draft for at least one source. Sources that produced no draft are listed in failures
5111
- */
5112
- 201: NegotiationGroupDraftsResponseDto;
5113
- };
5114
-
5115
- export type createGroupWithDraftsResponse = createGroupWithDraftsResponses[keyof createGroupWithDraftsResponses];
5116
-
5117
5068
  export type listAllPresetsForSubAccountV1Data = {
5118
5069
  body?: never;
5119
5070
  path: {
@@ -5128,7 +5079,7 @@ export type listAllPresetsForSubAccountV1Data = {
5128
5079
  */
5129
5080
  pageIndex?: number;
5130
5081
  /**
5131
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
5082
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
5132
5083
  */
5133
5084
  pageSize?: number;
5134
5085
  /**
@@ -5487,6 +5438,30 @@ export type updateCommentResponses = {
5487
5438
 
5488
5439
  export type updateCommentResponse = updateCommentResponses[keyof updateCommentResponses];
5489
5440
 
5441
+ export type updatePackageNameData = {
5442
+ body: UpdateNegotiationPackageNameDto;
5443
+ path: {
5444
+ subAccountId: string;
5445
+ negotiationPackageId: string;
5446
+ };
5447
+ query?: never;
5448
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}';
5449
+ };
5450
+
5451
+ export type updatePackageNameErrors = {
5452
+ /**
5453
+ * Negotiation package not found
5454
+ */
5455
+ 404: unknown;
5456
+ };
5457
+
5458
+ export type updatePackageNameResponses = {
5459
+ /**
5460
+ * Negotiation package name updated
5461
+ */
5462
+ 200: unknown;
5463
+ };
5464
+
5490
5465
  export type deleteGeneralCoverNoteData = {
5491
5466
  body?: never;
5492
5467
  path: {
@@ -5883,7 +5858,7 @@ export type listPresetsData = {
5883
5858
  */
5884
5859
  pageIndex?: number;
5885
5860
  /**
5886
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
5861
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
5887
5862
  */
5888
5863
  pageSize?: number;
5889
5864
  /**
@@ -6374,9 +6349,9 @@ export type generateNegotiationsReportData = {
6374
6349
  */
6375
6350
  staleTo?: number;
6376
6351
  /**
6377
- * Filter by negotiation group id
6352
+ * Filter by negotiation package id
6378
6353
  */
6379
- groupId?: Array<string>;
6354
+ packageId?: Array<string>;
6380
6355
  /**
6381
6356
  * Filter by negotiation provided list of bulk set ids
6382
6357
  */
@@ -6398,7 +6373,7 @@ export type generateNegotiationsReportData = {
6398
6373
  */
6399
6374
  pageIndex?: number;
6400
6375
  /**
6401
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
6376
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
6402
6377
  */
6403
6378
  pageSize?: number;
6404
6379
  /**
@@ -6575,30 +6550,6 @@ export type negotiationGetDocumentSchemaResponses = {
6575
6550
 
6576
6551
  export type negotiationGetDocumentSchemaResponse = negotiationGetDocumentSchemaResponses[keyof negotiationGetDocumentSchemaResponses];
6577
6552
 
6578
- export type updateGroupNameData = {
6579
- body: UpdateNegotiationGroupNameDto;
6580
- path: {
6581
- subAccountId: string;
6582
- negotiationGroupId: string;
6583
- };
6584
- query?: never;
6585
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}';
6586
- };
6587
-
6588
- export type updateGroupNameErrors = {
6589
- /**
6590
- * Negotiation group not found
6591
- */
6592
- 404: unknown;
6593
- };
6594
-
6595
- export type updateGroupNameResponses = {
6596
- /**
6597
- * Negotiation group name updated
6598
- */
6599
- 200: unknown;
6600
- };
6601
-
6602
6553
  export type changeSigningModeData = {
6603
6554
  body?: ChangeSigningModeDto;
6604
6555
  path: {
@@ -6972,29 +6923,6 @@ export type createAuditTrailJsonResponses = {
6972
6923
 
6973
6924
  export type createAuditTrailJsonResponse = createAuditTrailJsonResponses[keyof createAuditTrailJsonResponses];
6974
6925
 
6975
- export type updateNegotiationsToMatchData = {
6976
- body: UpdateNegotiationsToMatchDto;
6977
- path: {
6978
- subAccountId: string;
6979
- };
6980
- query?: never;
6981
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/deltas/apply';
6982
- };
6983
-
6984
- export type updateNegotiationsToMatchErrors = {
6985
- /**
6986
- * One or more negotiations could not be updated, so none were updated.
6987
- */
6988
- 409: unknown;
6989
- };
6990
-
6991
- export type updateNegotiationsToMatchResponses = {
6992
- /**
6993
- * Negotiations updated.
6994
- */
6995
- 200: unknown;
6996
- };
6997
-
6998
6926
  export type getApprovalHistoryData = {
6999
6927
  body?: never;
7000
6928
  path: {
@@ -7168,35 +7096,24 @@ export type uploadFundListSpreadsheetResponses = {
7168
7096
 
7169
7097
  export type uploadFundListSpreadsheetResponse = uploadFundListSpreadsheetResponses[keyof uploadFundListSpreadsheetResponses];
7170
7098
 
7171
- export type sendGroupToCounterpartyData = {
7172
- body: SendGroupToCounterpartyRequestDto;
7099
+ export type getNegotiationsPackageData = {
7100
+ body?: never;
7173
7101
  path: {
7174
7102
  subAccountId: string;
7175
- negotiationGroupId: string;
7103
+ negotiationPackageId: string;
7176
7104
  };
7177
7105
  query?: never;
7178
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/sendToCounterparty';
7179
- };
7180
-
7181
- export type sendGroupToCounterpartyErrors = {
7182
- /**
7183
- * Unauthorised access of the negotiation group and the Sub-Account
7184
- */
7185
- 403: unknown;
7186
- /**
7187
- * Could not save new version
7188
- */
7189
- 409: unknown;
7106
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/negotiations';
7190
7107
  };
7191
7108
 
7192
- export type sendGroupToCounterpartyResponses = {
7109
+ export type getNegotiationsPackageResponses = {
7193
7110
  /**
7194
- * Negotiations in the group sent to counterparty
7111
+ * A negotiation package
7195
7112
  */
7196
- 200: Array<SendGroupToCounterpartyResponseDto>;
7113
+ 200: NegotiationsPackageDto;
7197
7114
  };
7198
7115
 
7199
- export type sendGroupToCounterpartyResponse = sendGroupToCounterpartyResponses[keyof sendGroupToCounterpartyResponses];
7116
+ export type getNegotiationsPackageResponse = getNegotiationsPackageResponses[keyof getNegotiationsPackageResponses];
7200
7117
 
7201
7118
  export type breakingChangesData = {
7202
7119
  body?: never;
@@ -7544,7 +7461,7 @@ export type getNegotiationData = {
7544
7461
 
7545
7462
  export type getNegotiationResponses = {
7546
7463
  /**
7547
- * A negotiation and summaries of other group members
7464
+ * A negotiation and summaries of other package members
7548
7465
  */
7549
7466
  200: Array<NegotiationSingleDto>;
7550
7467
  };
@@ -7694,26 +7611,6 @@ export type negotiationRenderCounterpartyTemplateAtVersionResponses = {
7694
7611
 
7695
7612
  export type negotiationRenderCounterpartyTemplateAtVersionResponse = negotiationRenderCounterpartyTemplateAtVersionResponses[keyof negotiationRenderCounterpartyTemplateAtVersionResponses];
7696
7613
 
7697
- export type suggestGroupNameData = {
7698
- body?: never;
7699
- path: {
7700
- subAccountId: string;
7701
- };
7702
- query: {
7703
- desiredName: string;
7704
- };
7705
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/nameSuggestions';
7706
- };
7707
-
7708
- export type suggestGroupNameResponses = {
7709
- /**
7710
- * Available negotiation group name
7711
- */
7712
- 200: NegotiationGroupIdDto;
7713
- };
7714
-
7715
- export type suggestGroupNameResponse = suggestGroupNameResponses[keyof suggestGroupNameResponses];
7716
-
7717
7614
  export type acceptAllEventsData = {
7718
7615
  body: BulkBlacklineRequestDto;
7719
7616
  path: {
@@ -7814,66 +7711,66 @@ export type syncFundListResponses = {
7814
7711
 
7815
7712
  export type syncFundListResponse = syncFundListResponses[keyof syncFundListResponses];
7816
7713
 
7817
- export type markActivityEventsAsViewedData = {
7818
- /**
7819
- * An empty payload `{}` will mark all activities as read
7820
- */
7821
- body?: MarkEventAsReadRequestDto;
7714
+ export type createPackageWithDraftsData = {
7715
+ body: CreateNegotiationPackageDraftsDto;
7822
7716
  path: {
7823
7717
  subAccountId: string;
7824
- negotiationId: string;
7825
7718
  };
7826
7719
  query?: never;
7827
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead';
7720
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/drafts';
7828
7721
  };
7829
7722
 
7830
- export type markActivityEventsAsViewedErrors = {
7723
+ export type createPackageWithDraftsErrors = {
7831
7724
  /**
7832
- * Negotiation not found
7725
+ * No sources, too many sources, or no source produced a draft. Each failed source is reported as a cause naming its type and ID
7833
7726
  */
7834
- 404: unknown;
7727
+ 400: unknown;
7728
+ /**
7729
+ * The role cannot create negotiation packages
7730
+ */
7731
+ 403: unknown;
7732
+ /**
7733
+ * The negotiation package name is already used in this workspace
7734
+ */
7735
+ 409: unknown;
7835
7736
  };
7836
7737
 
7837
- export type markActivityEventsAsViewedResponses = {
7738
+ export type createPackageWithDraftsResponses = {
7838
7739
  /**
7839
- * All specified activities timeline events for a negotiation and requesting user as read
7740
+ * The negotiation package was created, along with a draft for at least one source. Sources that produced no draft are listed in failures
7840
7741
  */
7841
- 200: unknown;
7742
+ 201: NegotiationPackageDraftsResponseDto;
7842
7743
  };
7843
7744
 
7844
- export type dryRunGroupWithDraftsData = {
7845
- body: CreateNegotiationGroupDraftsDto;
7745
+ export type createPackageWithDraftsResponse = createPackageWithDraftsResponses[keyof createPackageWithDraftsResponses];
7746
+
7747
+ export type markActivityEventsAsViewedData = {
7748
+ /**
7749
+ * An empty payload `{}` will mark all activities as read
7750
+ */
7751
+ body?: MarkEventAsReadRequestDto;
7846
7752
  path: {
7847
7753
  subAccountId: string;
7754
+ negotiationId: string;
7848
7755
  };
7849
7756
  query?: never;
7850
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/drafts/dryRun';
7757
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead';
7851
7758
  };
7852
7759
 
7853
- export type dryRunGroupWithDraftsErrors = {
7854
- /**
7855
- * No sources, too many sources, or no source would produce a draft. Each failed source is reported as a cause naming its type and ID
7856
- */
7857
- 400: unknown;
7858
- /**
7859
- * The role cannot create negotiation groups
7860
- */
7861
- 403: unknown;
7760
+ export type markActivityEventsAsViewedErrors = {
7862
7761
  /**
7863
- * The negotiation group name is already used in this workspace
7762
+ * Negotiation not found
7864
7763
  */
7865
- 409: unknown;
7764
+ 404: unknown;
7866
7765
  };
7867
7766
 
7868
- export type dryRunGroupWithDraftsResponses = {
7767
+ export type markActivityEventsAsViewedResponses = {
7869
7768
  /**
7870
- * At least one source would produce a draft. Sources that would not are listed in failures
7769
+ * All specified activities timeline events for a negotiation and requesting user as read
7871
7770
  */
7872
- 200: NegotiationGroupDraftsDryRunResponseDto;
7771
+ 200: unknown;
7873
7772
  };
7874
7773
 
7875
- export type dryRunGroupWithDraftsResponse = dryRunGroupWithDraftsResponses[keyof dryRunGroupWithDraftsResponses];
7876
-
7877
7774
  export type cancelExtractionData = {
7878
7775
  body?: never;
7879
7776
  path: {
@@ -7962,54 +7859,20 @@ export type getCommentsData = {
7962
7859
  url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/comments';
7963
7860
  };
7964
7861
 
7965
- export type getCommentsErrors = {
7966
- /**
7967
- * Negotiation not found
7968
- */
7969
- 404: unknown;
7970
- };
7971
-
7972
- export type getCommentsResponses = {
7973
- /**
7974
- * All comments for a negotiation grouped by document comments or corresponding election ID
7975
- */
7976
- 200: unknown;
7977
- };
7978
-
7979
- export type setGroupPartiesData = {
7980
- body: SetNegotiationGroupPartiesDto;
7981
- path: {
7982
- subAccountId: string;
7983
- negotiationGroupId: string;
7984
- };
7985
- query?: never;
7986
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/parties';
7987
- };
7988
-
7989
- export type setGroupPartiesErrors = {
7990
- /**
7991
- * Neither an owner entity nor a counterparty was supplied, or the supplied details are invalid
7992
- */
7993
- 400: unknown;
7994
- /**
7995
- * Unauthorised access of the negotiation group and the Sub-Account, or no negotiation in the group is in a state that accepts the change
7996
- */
7997
- 403: unknown;
7862
+ export type getCommentsErrors = {
7998
7863
  /**
7999
- * Negotiation group not found, or the owner entity is not available in this workspace
7864
+ * Negotiation not found
8000
7865
  */
8001
7866
  404: unknown;
8002
7867
  };
8003
7868
 
8004
- export type setGroupPartiesResponses = {
7869
+ export type getCommentsResponses = {
8005
7870
  /**
8006
- * The negotiations that were updated, and any that could not be
7871
+ * All comments for a negotiation packageed by document comments or corresponding election ID
8007
7872
  */
8008
- 200: SetNegotiationGroupPartiesResponseDto;
7873
+ 200: unknown;
8009
7874
  };
8010
7875
 
8011
- export type setGroupPartiesResponse = setGroupPartiesResponses[keyof setGroupPartiesResponses];
8012
-
8013
7876
  export type contactForNewApproverData = {
8014
7877
  body?: never;
8015
7878
  path: {
@@ -8056,6 +7919,26 @@ export type getDraftingNotesDocumentResponses = {
8056
7919
 
8057
7920
  export type getDraftingNotesDocumentResponse = getDraftingNotesDocumentResponses[keyof getDraftingNotesDocumentResponses];
8058
7921
 
7922
+ export type suggestPackageNameData = {
7923
+ body?: never;
7924
+ path: {
7925
+ subAccountId: string;
7926
+ };
7927
+ query: {
7928
+ desiredName: string;
7929
+ };
7930
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/nameSuggestions';
7931
+ };
7932
+
7933
+ export type suggestPackageNameResponses = {
7934
+ /**
7935
+ * Available negotiation package name
7936
+ */
7937
+ 200: NegotiationPackageIdDto;
7938
+ };
7939
+
7940
+ export type suggestPackageNameResponse = suggestPackageNameResponses[keyof suggestPackageNameResponses];
7941
+
8059
7942
  export type acceptAllPositionsFromForkData = {
8060
7943
  body?: never;
8061
7944
  path: {
@@ -8136,41 +8019,45 @@ export type createSigningPackResponses = {
8136
8019
 
8137
8020
  export type createSigningPackResponse = createSigningPackResponses[keyof createSigningPackResponses];
8138
8021
 
8139
- export type getGroupNamesData = {
8140
- body?: never;
8022
+ export type getNegotiationDeltasData = {
8023
+ body: GetNegotiationDeltasDto;
8141
8024
  path: {
8142
8025
  subAccountId: string;
8143
8026
  };
8144
8027
  query?: never;
8145
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups';
8028
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/deltas/calculate';
8146
8029
  };
8147
8030
 
8148
- export type getGroupNamesResponses = {
8031
+ export type getNegotiationDeltasResponses = {
8149
8032
  /**
8150
- * Names of the groups within a Sub-Account
8033
+ * Negotiations deltas (if any).
8151
8034
  */
8152
- 200: Array<NegotiationGroupDto>;
8035
+ 200: unknown;
8153
8036
  };
8154
8037
 
8155
- export type getGroupNamesResponse = getGroupNamesResponses[keyof getGroupNamesResponses];
8156
-
8157
- export type createGroupData = {
8158
- body: CreateNegotiationGroupDto;
8038
+ export type updatePackageMembersData = {
8039
+ body: UpdateNegotiationPackageMembersDto;
8159
8040
  path: {
8160
8041
  subAccountId: string;
8042
+ negotiationPackageId: string;
8161
8043
  };
8162
8044
  query?: never;
8163
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups';
8045
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members';
8164
8046
  };
8165
8047
 
8166
- export type createGroupResponses = {
8048
+ export type updatePackageMembersErrors = {
8167
8049
  /**
8168
- * Negotiation group created
8050
+ * Negotiation package not found
8169
8051
  */
8170
- 201: NegotiationGroupIdDto;
8052
+ 404: unknown;
8171
8053
  };
8172
8054
 
8173
- export type createGroupResponse = createGroupResponses[keyof createGroupResponses];
8055
+ export type updatePackageMembersResponses = {
8056
+ /**
8057
+ * Negotiation package members updated
8058
+ */
8059
+ 200: unknown;
8060
+ };
8174
8061
 
8175
8062
  export type getNegotiationNestedAmendValueData = {
8176
8063
  body?: never;
@@ -8563,6 +8450,65 @@ export type updateUserAnswersResponses = {
8563
8450
 
8564
8451
  export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
8565
8452
 
8453
+ export type updateNegotiationsToMatchData = {
8454
+ body: UpdateNegotiationsToMatchDto;
8455
+ path: {
8456
+ subAccountId: string;
8457
+ };
8458
+ query?: never;
8459
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/deltas/apply';
8460
+ };
8461
+
8462
+ export type updateNegotiationsToMatchErrors = {
8463
+ /**
8464
+ * One or more negotiations could not be updated, so none were updated.
8465
+ */
8466
+ 409: unknown;
8467
+ };
8468
+
8469
+ export type updateNegotiationsToMatchResponses = {
8470
+ /**
8471
+ * Negotiations updated.
8472
+ */
8473
+ 200: unknown;
8474
+ };
8475
+
8476
+ export type getPackageNamesData = {
8477
+ body?: never;
8478
+ path: {
8479
+ subAccountId: string;
8480
+ };
8481
+ query?: never;
8482
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages';
8483
+ };
8484
+
8485
+ export type getPackageNamesResponses = {
8486
+ /**
8487
+ * Names of the packages within a Sub-Account
8488
+ */
8489
+ 200: Array<NegotiationPackageDto>;
8490
+ };
8491
+
8492
+ export type getPackageNamesResponse = getPackageNamesResponses[keyof getPackageNamesResponses];
8493
+
8494
+ export type createPackageData = {
8495
+ body: CreateNegotiationPackageDto;
8496
+ path: {
8497
+ subAccountId: string;
8498
+ };
8499
+ query?: never;
8500
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages';
8501
+ };
8502
+
8503
+ export type createPackageResponses = {
8504
+ /**
8505
+ * Negotiation package created
8506
+ */
8507
+ 201: NegotiationPackageIdDto;
8508
+ };
8509
+
8510
+ export type createPackageResponse = createPackageResponses[keyof createPackageResponses];
8511
+
8566
8512
  export type rejectAllEventsData = {
8567
8513
  body: BulkBlacklineRequestDto;
8568
8514
  path: {
@@ -8732,30 +8678,6 @@ export type assignToMeResponses = {
8732
8678
 
8733
8679
  export type assignToMeResponse = assignToMeResponses[keyof assignToMeResponses];
8734
8680
 
8735
- export type updateGroupMembersData = {
8736
- body: UpdateNegotiationGroupMembersDto;
8737
- path: {
8738
- subAccountId: string;
8739
- negotiationGroupId: string;
8740
- };
8741
- query?: never;
8742
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/members';
8743
- };
8744
-
8745
- export type updateGroupMembersErrors = {
8746
- /**
8747
- * Negotiation group not found
8748
- */
8749
- 404: unknown;
8750
- };
8751
-
8752
- export type updateGroupMembersResponses = {
8753
- /**
8754
- * Negotiation group members updated
8755
- */
8756
- 200: unknown;
8757
- };
8758
-
8759
8681
  export type getSignedSignaturePagePDFData = {
8760
8682
  body?: never;
8761
8683
  path: {
@@ -8854,7 +8776,7 @@ export type documentsFilterData = {
8854
8776
  */
8855
8777
  pageIndex?: number;
8856
8778
  /**
8857
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
8779
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
8858
8780
  */
8859
8781
  pageSize?: number;
8860
8782
  };
@@ -9225,6 +9147,44 @@ export type getPartyAnswersResponses = {
9225
9147
 
9226
9148
  export type getPartyAnswersResponse = getPartyAnswersResponses[keyof getPartyAnswersResponses];
9227
9149
 
9150
+ export type getPotentialUsersData = {
9151
+ body?: never;
9152
+ path: {
9153
+ subAccountId: string;
9154
+ };
9155
+ query?: {
9156
+ /**
9157
+ * Include super managers (who are in all Sub-Accounts) in the response
9158
+ */
9159
+ includeSuperManagers?: boolean;
9160
+ /**
9161
+ * Include admins (who are in all Sub-Accounts) in the response
9162
+ */
9163
+ includeAdmins?: boolean;
9164
+ /**
9165
+ * Include advisors in the response
9166
+ */
9167
+ includeAdvisors?: boolean;
9168
+ };
9169
+ url: '/api/v1/subaccount/{subAccountId}/potentialUsers';
9170
+ };
9171
+
9172
+ export type getPotentialUsersErrors = {
9173
+ /**
9174
+ * Sub-account not found
9175
+ */
9176
+ 404: unknown;
9177
+ };
9178
+
9179
+ export type getPotentialUsersResponses = {
9180
+ /**
9181
+ * List all of the potential users of the specified subaccount
9182
+ */
9183
+ 200: UserListForPickerDto;
9184
+ };
9185
+
9186
+ export type getPotentialUsersResponse = getPotentialUsersResponses[keyof getPotentialUsersResponses];
9187
+
9228
9188
  export type deletePresetData = {
9229
9189
  body?: never;
9230
9190
  path: {
@@ -9277,63 +9237,6 @@ export type createPresetAuditTrailJsonResponses = {
9277
9237
 
9278
9238
  export type createPresetAuditTrailJsonResponse = createPresetAuditTrailJsonResponses[keyof createPresetAuditTrailJsonResponses];
9279
9239
 
9280
- export type getPotentialUsersData = {
9281
- body?: never;
9282
- path: {
9283
- subAccountId: string;
9284
- };
9285
- query?: {
9286
- /**
9287
- * Include super managers (who are in all Sub-Accounts) in the response
9288
- */
9289
- includeSuperManagers?: boolean;
9290
- /**
9291
- * Include admins (who are in all Sub-Accounts) in the response
9292
- */
9293
- includeAdmins?: boolean;
9294
- /**
9295
- * Include advisors in the response
9296
- */
9297
- includeAdvisors?: boolean;
9298
- };
9299
- url: '/api/v1/subaccount/{subAccountId}/potentialUsers';
9300
- };
9301
-
9302
- export type getPotentialUsersErrors = {
9303
- /**
9304
- * Sub-account not found
9305
- */
9306
- 404: unknown;
9307
- };
9308
-
9309
- export type getPotentialUsersResponses = {
9310
- /**
9311
- * List all of the potential users of the specified subaccount
9312
- */
9313
- 200: UserListForPickerDto;
9314
- };
9315
-
9316
- export type getPotentialUsersResponse = getPotentialUsersResponses[keyof getPotentialUsersResponses];
9317
-
9318
- export type getNegotiationsGroupData = {
9319
- body?: never;
9320
- path: {
9321
- subAccountId: string;
9322
- negotiationGroupId: string;
9323
- };
9324
- query?: never;
9325
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations';
9326
- };
9327
-
9328
- export type getNegotiationsGroupResponses = {
9329
- /**
9330
- * A negotiation group
9331
- */
9332
- 200: NegotiationsGroupDto;
9333
- };
9334
-
9335
- export type getNegotiationsGroupResponse = getNegotiationsGroupResponses[keyof getNegotiationsGroupResponses];
9336
-
9337
9240
  export type consentCodeCallbackData = {
9338
9241
  body?: never;
9339
9242
  path?: never;
@@ -9443,7 +9346,7 @@ export type getApprovalCommentsErrors = {
9443
9346
 
9444
9347
  export type getApprovalCommentsResponses = {
9445
9348
  /**
9446
- * All approval comments for a negotiation grouped by document comments or corresponding election ID
9349
+ * All approval comments for a negotiation packageed by document comments or corresponding election ID
9447
9350
  */
9448
9351
  200: ApprovalCommentsDto;
9449
9352
  };
@@ -9897,9 +9800,9 @@ export type listNegotiationsData = {
9897
9800
  */
9898
9801
  staleTo?: number;
9899
9802
  /**
9900
- * Filter by negotiation group id
9803
+ * Filter by negotiation package id
9901
9804
  */
9902
- groupId?: Array<string>;
9805
+ packageId?: Array<string>;
9903
9806
  /**
9904
9807
  * Filter by negotiation provided list of bulk set ids
9905
9808
  */
@@ -9921,7 +9824,7 @@ export type listNegotiationsData = {
9921
9824
  */
9922
9825
  pageIndex?: number;
9923
9826
  /**
9924
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
9827
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
9925
9828
  */
9926
9829
  pageSize?: number;
9927
9830
  /**
@@ -10033,7 +9936,7 @@ export type listNegotiationsData = {
10033
9936
 
10034
9937
  export type listNegotiationsResponses = {
10035
9938
  /**
10036
- * A list of negotiations that match the search criteria provided. Paging metadata is returned if paging query parameters are passed. pagingMeta.total is a sum of non grouped negotiations and a number of negotiation groups.
9939
+ * A list of negotiations that match the search criteria provided. Paging metadata is returned if paging query parameters are passed. pagingMeta.total is a sum of non-packaged negotiations and a number of negotiation packages.
10037
9940
  */
10038
9941
  200: NegotiationListDto;
10039
9942
  };
@@ -10209,7 +10112,7 @@ export type listDocumentsWithPaginationData = {
10209
10112
  */
10210
10113
  pageIndex: number;
10211
10114
  /**
10212
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
10115
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
10213
10116
  */
10214
10117
  pageSize: number;
10215
10118
  /**
@@ -10343,7 +10246,7 @@ export type listAllPresetsForSubAccountV2Data = {
10343
10246
  */
10344
10247
  pageIndex?: number;
10345
10248
  /**
10346
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
10249
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
10347
10250
  */
10348
10251
  pageSize?: number;
10349
10252
  /**
@@ -10868,7 +10771,7 @@ export type createBulkSetData = {
10868
10771
 
10869
10772
  export type createBulkSetResponses = {
10870
10773
  /**
10871
- * Negotiation group created
10774
+ * Negotiation package created
10872
10775
  */
10873
10776
  201: CreateBulkSetResponseDto;
10874
10777
  };
@@ -11015,7 +10918,7 @@ export type negotiationsFilterData = {
11015
10918
  */
11016
10919
  pageIndex?: number;
11017
10920
  /**
11018
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
10921
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
11019
10922
  */
11020
10923
  pageSize?: number;
11021
10924
  };
@@ -11900,6 +11803,70 @@ export type schemaAvailableAsCDMResponses = {
11900
11803
 
11901
11804
  export type schemaAvailableAsCDMResponse = schemaAvailableAsCDMResponses[keyof schemaAvailableAsCDMResponses];
11902
11805
 
11806
+ export type sendPackageToCounterpartyData = {
11807
+ body: SendPackageToCounterpartyRequestDto;
11808
+ path: {
11809
+ subAccountId: string;
11810
+ negotiationPackageId: string;
11811
+ };
11812
+ query?: never;
11813
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/sendToCounterparty';
11814
+ };
11815
+
11816
+ export type sendPackageToCounterpartyErrors = {
11817
+ /**
11818
+ * Unauthorised access of the negotiation package and the Sub-Account
11819
+ */
11820
+ 403: unknown;
11821
+ /**
11822
+ * Could not save new version
11823
+ */
11824
+ 409: unknown;
11825
+ };
11826
+
11827
+ export type sendPackageToCounterpartyResponses = {
11828
+ /**
11829
+ * Negotiations in the package sent to counterparty
11830
+ */
11831
+ 200: Array<SendPackageToCounterpartyResponseDto>;
11832
+ };
11833
+
11834
+ export type sendPackageToCounterpartyResponse = sendPackageToCounterpartyResponses[keyof sendPackageToCounterpartyResponses];
11835
+
11836
+ export type setPackagePartiesData = {
11837
+ body: SetNegotiationPackagePartiesDto;
11838
+ path: {
11839
+ subAccountId: string;
11840
+ negotiationPackageId: string;
11841
+ };
11842
+ query?: never;
11843
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/parties';
11844
+ };
11845
+
11846
+ export type setPackagePartiesErrors = {
11847
+ /**
11848
+ * Neither an owner entity nor a counterparty was supplied, or the supplied details are invalid
11849
+ */
11850
+ 400: unknown;
11851
+ /**
11852
+ * Unauthorised access of the negotiation package and the Sub-Account, or no negotiation in the package is in a state that accepts the change
11853
+ */
11854
+ 403: unknown;
11855
+ /**
11856
+ * Negotiation package not found, or the owner entity is not available in this workspace
11857
+ */
11858
+ 404: unknown;
11859
+ };
11860
+
11861
+ export type setPackagePartiesResponses = {
11862
+ /**
11863
+ * The negotiations that were updated, and any that could not be
11864
+ */
11865
+ 200: SetNegotiationPackagePartiesResponseDto;
11866
+ };
11867
+
11868
+ export type setPackagePartiesResponse = setPackagePartiesResponses[keyof setPackagePartiesResponses];
11869
+
11903
11870
  export type revokeWindowData = {
11904
11871
  body?: never;
11905
11872
  path?: never;
@@ -12219,6 +12186,39 @@ export type createSignaturePagePDFResponses = {
12219
12186
 
12220
12187
  export type createSignaturePagePDFResponse = createSignaturePagePDFResponses[keyof createSignaturePagePDFResponses];
12221
12188
 
12189
+ export type dryRunPackageWithDraftsData = {
12190
+ body: CreateNegotiationPackageDraftsDto;
12191
+ path: {
12192
+ subAccountId: string;
12193
+ };
12194
+ query?: never;
12195
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/drafts/dryRun';
12196
+ };
12197
+
12198
+ export type dryRunPackageWithDraftsErrors = {
12199
+ /**
12200
+ * No sources, too many sources, or no source would produce a draft. Each failed source is reported as a cause naming its type and ID
12201
+ */
12202
+ 400: unknown;
12203
+ /**
12204
+ * The role cannot create negotiation packages
12205
+ */
12206
+ 403: unknown;
12207
+ /**
12208
+ * The negotiation package name is already used in this workspace
12209
+ */
12210
+ 409: unknown;
12211
+ };
12212
+
12213
+ export type dryRunPackageWithDraftsResponses = {
12214
+ /**
12215
+ * At least one source would produce a draft. Sources that would not are listed in failures
12216
+ */
12217
+ 200: NegotiationPackageDraftsDryRunResponseDto;
12218
+ };
12219
+
12220
+ export type dryRunPackageWithDraftsResponse = dryRunPackageWithDraftsResponses[keyof dryRunPackageWithDraftsResponses];
12221
+
12222
12222
  export type upgradePresetSchemaData = {
12223
12223
  body?: never;
12224
12224
  path: {