@createiq/backend 1.0.152 → 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.
@@ -253,10 +253,6 @@ export type ValidatedEntityDto = {
253
253
  entityId: EntityIdDto;
254
254
  };
255
255
 
256
- export type NegotiationsGroupDto = {
257
- negotiations: Array<NegotiationSingleDto>;
258
- };
259
-
260
256
  export type ApiUserSummaryDto = {
261
257
  name: string;
262
258
  role: string;
@@ -388,11 +384,6 @@ export type ApprovalCountStatisticsDto = {
388
384
  teamPendingApprovals: PendingApprovalCountsDto;
389
385
  };
390
386
 
391
- export type ESignSessionStatusDto = {
392
- value: string;
393
- user?: UserDto;
394
- };
395
-
396
387
  export type SetApprovalRulesDto = {
397
388
  users: Array<string>;
398
389
  quorum: number;
@@ -471,7 +462,7 @@ export type VerifyMinioDto = {
471
462
  filesNotFound: Array<string>;
472
463
  };
473
464
 
474
- export type CreateNegotiationGroupDto = {
465
+ export type CreateNegotiationPackageDto = {
475
466
  name: string;
476
467
  negotiations: Array<string>;
477
468
  };
@@ -480,6 +471,17 @@ export type ZuvaFieldDto = {
480
471
  fieldIds: Array<string>;
481
472
  };
482
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
+
483
485
  export type SigningMode = 'eSign' | 'offline';
484
486
 
485
487
  export type ExhibitValueBehaviour = 'internal' | 'auto_accept';
@@ -781,13 +783,6 @@ export type AuditEventCauseDto = {
781
783
  ipAddress?: string;
782
784
  };
783
785
 
784
- export type CreateNegotiationGroupDraftsDto = {
785
- name: string;
786
- documentIds?: Array<unknown>;
787
- presetIds?: Array<unknown>;
788
- documentPackIds?: Array<unknown>;
789
- };
790
-
791
786
  export type LegalEntityDto = {
792
787
  assignedDate: string;
793
788
  name: string;
@@ -859,6 +854,11 @@ export type NegotiationReminderWithRecipientsDto = {
859
854
 
860
855
  export type AuditReportType = 'audit_log_report' | 'comments_log_report';
861
856
 
857
+ export type SetNegotiationPackagePartiesDto = {
858
+ ownerEntityId?: string;
859
+ counterparty?: PackageCounterpartyDto;
860
+ };
861
+
862
862
  export type DocumentIntegrationRestriction = 'Integration Only' | 'CIQ Only';
863
863
 
864
864
  export type UserForPickerDto = {
@@ -1382,15 +1382,6 @@ export type SignatureStateDto = {
1382
1382
  moderator?: boolean;
1383
1383
  };
1384
1384
 
1385
- export type DocumentListItemDto = {
1386
- hasCustodianTemplates: boolean;
1387
- document: DocumentWithPackDto;
1388
- markedAsFavourite: boolean;
1389
- templates: number;
1390
- availableActions: DocumentListAvailableActionsDto;
1391
- requestingUserCanInvite?: boolean;
1392
- };
1393
-
1394
1385
  export type NegotiationWithTimelinePreviewAndMultipleNestedAnswersDto = NegotiationWithTimelineAndPreviewDto & {
1395
1386
  nestedAnswerFullSummaries: {
1396
1387
  [key: string]: NestedAnswersSummariesWithAnswersDto;
@@ -1475,6 +1466,25 @@ export type ValidatedSchemaDto = {
1475
1466
  errors: Array<ValidatedSchemaErrorDto>;
1476
1467
  };
1477
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
+
1478
1488
  export type UpdateUserProfileDto = {
1479
1489
  firstName: string;
1480
1490
  lastName: string;
@@ -1525,12 +1535,6 @@ export type OfflineNegotiatedDocumentExistsDto_OfflineNegotiatedDocumentAvailabl
1525
1535
  delete: boolean;
1526
1536
  };
1527
1537
 
1528
- export type SendGroupToCounterpartyRequestDto = {
1529
- negotiationIds: Array<string>;
1530
- attachDocx?: boolean;
1531
- attachPdf?: boolean;
1532
- };
1533
-
1534
1538
  export type SSOConfigDto = {
1535
1539
  secondaryX5cExpiry?: string;
1536
1540
  issuerUrl: string;
@@ -1683,12 +1687,6 @@ export type DocuSignEmailRestriction = 'exact_email_match' | 'in_allowed_domains
1683
1687
 
1684
1688
  export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
1685
1689
 
1686
- export type NegotiationGroupDraftSourceErrorDto = {
1687
- sourceType: 'document' | 'preset' | 'pack';
1688
- sourceId: string;
1689
- errorCode: string;
1690
- };
1691
-
1692
1690
  export type NegotiationFileAvailableActionDto = {
1693
1691
  showExecutedDocument: boolean;
1694
1692
  showSignaturePages: boolean;
@@ -1725,7 +1723,7 @@ export type TemplateSettingsDto_TemplateStylesDto = {
1725
1723
 
1726
1724
  export type GetNegotiationDeltasDto = {
1727
1725
  negotiationIds: Array<string>;
1728
- negotiationGroupId?: string;
1726
+ negotiationPackageId?: string;
1729
1727
  };
1730
1728
 
1731
1729
  export type EditEventOp_Replace = {
@@ -1734,6 +1732,11 @@ export type EditEventOp_Replace = {
1734
1732
  after: string;
1735
1733
  };
1736
1734
 
1735
+ export type RequestGuestApprovalDto = {
1736
+ email: DraftEmailDto;
1737
+ message: string;
1738
+ };
1739
+
1737
1740
  export type ESignAccountStatusDto = {
1738
1741
  value: string;
1739
1742
  };
@@ -1744,11 +1747,6 @@ export type ShareRequestDto = {
1744
1747
  newUsers: Array<NewUserShareDto>;
1745
1748
  };
1746
1749
 
1747
- export type NegotiationGroupDto = {
1748
- id: string;
1749
- name: string;
1750
- };
1751
-
1752
1750
  export type ExecutedNegotiationSummaryDto = {
1753
1751
  preset?: PresetDto;
1754
1752
  partyB?: ExecutedNegotiationSummaryDto_PartyDto;
@@ -1757,6 +1755,7 @@ export type ExecutedNegotiationSummaryDto = {
1757
1755
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
1758
1756
  document: DocumentWithPackDto;
1759
1757
  participants: Array<UserDto>;
1758
+ negotiationPackage?: NegotiationPackageDto;
1760
1759
  answers: NegotiationAnswersDto;
1761
1760
  totalElections: number;
1762
1761
  moderatorElectionComments?: {
@@ -1767,7 +1766,6 @@ export type ExecutedNegotiationSummaryDto = {
1767
1766
  };
1768
1767
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1769
1768
  internalDocumentComments?: Array<TimelineEventDto>;
1770
- negotiationGroup?: NegotiationGroupDto;
1771
1769
  externalDocumentComments?: Array<TimelineEventDto>;
1772
1770
  moderatorDocumentComments?: Array<TimelineEventDto>;
1773
1771
  version: string;
@@ -1812,6 +1810,11 @@ export type NegotiationAuditTrailEventDto = {
1812
1810
  negotiationId: string;
1813
1811
  };
1814
1812
 
1813
+ export type NegotiationPackageIdAndNameDto = {
1814
+ packageId: string;
1815
+ name: string;
1816
+ };
1817
+
1815
1818
  export type ErrorResponseDto = {
1816
1819
  code: string;
1817
1820
  message: string;
@@ -1852,15 +1855,6 @@ export type FixApprovalRulesDto = {
1852
1855
  user: string;
1853
1856
  };
1854
1857
 
1855
- export type RequestGuestApprovalDto = {
1856
- email: DraftEmailDto;
1857
- message: string;
1858
- };
1859
-
1860
- export type UpdateNegotiationGroupMembersDto = {
1861
- negotiations: Array<string>;
1862
- };
1863
-
1864
1858
  export type CreateApiUserRequest = {
1865
1859
  name: string;
1866
1860
  role: string;
@@ -1990,7 +1984,6 @@ export type NegotiationSearchDto = {
1990
1984
  requestingUserId?: string;
1991
1985
  advisorPresetIds: Array<unknown>;
1992
1986
  partyC: Array<string>;
1993
- groupId: Array<string>;
1994
1987
  bulkSetIds: Array<string>;
1995
1988
  orderDirection?: 'asc' | 'desc';
1996
1989
  displayReferenceId: Array<string>;
@@ -2006,6 +1999,7 @@ export type NegotiationSearchDto = {
2006
1999
  partyA: Array<string>;
2007
2000
  approverUserId?: string;
2008
2001
  fund: Array<string>;
2002
+ packageId: Array<string>;
2009
2003
  excludedUiStates: Array<NegotiationUIState>;
2010
2004
  partyAny: Array<string>;
2011
2005
  isForkedOrFork?: boolean;
@@ -2076,6 +2070,16 @@ export type DraftReceiverEmailValidationDto = {
2076
2070
  additionalEmails?: Array<EmailWithErrorDto>;
2077
2071
  };
2078
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
+
2079
2083
  export type NegotiationFilter_OlderThanPeriod_OlderThanPeriodValue = 'Older than 7 days' | 'Older than 14 days' | 'Older than 30 days';
2080
2084
 
2081
2085
  export type ExecutedNegotiationSummaryDto_PartyDto = {
@@ -2105,20 +2109,6 @@ export type PendingApprovalCountsDto = {
2105
2109
  electionLevelApprovals: number;
2106
2110
  };
2107
2111
 
2108
- export type NegotiationGroupIdDto = {
2109
- id: string;
2110
- };
2111
-
2112
- export type PresetStateDto = {
2113
- requestedAt?: string;
2114
- requestedBy?: UserWithRoleDto;
2115
- approvedAt?: string;
2116
- approvedBy?: UserWithRoleDto;
2117
- type: string;
2118
- rejectedAt?: string;
2119
- rejectedBy?: UserWithRoleDto;
2120
- };
2121
-
2122
2112
  export type PresetSingleWithPreviewAndMultipleNestedAnswersDto = PresetSingleWithPreviewDto & {
2123
2113
  nestedAnswerFullSummaries: {
2124
2114
  [key: string]: NestedAnswersSummariesWithPresetAnswersDto;
@@ -2204,6 +2194,10 @@ export type UnsubscribeRequestDto = {
2204
2194
  hash: string;
2205
2195
  };
2206
2196
 
2197
+ export type PresetSingleWithPreviewAndNestedAnswersDto = PresetSingleWithPreviewDto & {
2198
+ nestedAnswerFullSummary: NestedAnswersSummariesWithPresetAnswersDto;
2199
+ };
2200
+
2207
2201
  export type SearchContext = 'completed' | 'active' | 'confirmedTemplate';
2208
2202
 
2209
2203
  export type ApproverDto = ({
@@ -2212,11 +2206,6 @@ export type ApproverDto = ({
2212
2206
  type: 'AnonymousApproverDto';
2213
2207
  } & AnonymousApproverDto);
2214
2208
 
2215
- export type NegotiationGroupDraftSourceDto = {
2216
- sourceType: 'document' | 'preset' | 'pack';
2217
- sourceId: string;
2218
- };
2219
-
2220
2209
  export type ApprovalCommentsAvailableActionsDto = {
2221
2210
  canCreate: boolean;
2222
2211
  };
@@ -2226,15 +2215,6 @@ export type AccountUserShareDto = {
2226
2215
  message?: string;
2227
2216
  };
2228
2217
 
2229
- export type NegotiationGroupDraftsDryRunResponseDto = {
2230
- valid: Array<NegotiationGroupDraftSourceDto>;
2231
- failures: Array<NegotiationGroupDraftSourceErrorDto>;
2232
- };
2233
-
2234
- export type PresetSingleWithPreviewAndNestedAnswersDto = PresetSingleWithPreviewDto & {
2235
- nestedAnswerFullSummary: NestedAnswersSummariesWithPresetAnswersDto;
2236
- };
2237
-
2238
2218
  export type FormattingTag = 'strong' | 'em' | 'underline' | 'subscript' | 'superscript' | 'strikethrough';
2239
2219
 
2240
2220
  export type NoteType = 'internal' | 'external';
@@ -2249,11 +2229,9 @@ export type SubAccountSummaryDto = {
2249
2229
  status: string;
2250
2230
  };
2251
2231
 
2252
- export type NotificationSenderDto = {
2253
- email: string;
2254
- fullName?: string;
2255
- accountName?: string;
2256
- entityName?: string;
2232
+ export type NegotiationPackageDraftsDryRunResponseDto = {
2233
+ valid: Array<NegotiationPackageDraftSourceDto>;
2234
+ failures: Array<NegotiationPackageDraftSourceErrorDto>;
2257
2235
  };
2258
2236
 
2259
2237
  export type CreateApiUserResponse = {
@@ -2267,12 +2245,6 @@ export type CreateApiUserResponse = {
2267
2245
  lastUsedAt?: string;
2268
2246
  };
2269
2247
 
2270
- export type NestedPartyAnswersDto = {
2271
- nestedAnswers: {
2272
- [key: string]: PartyAnswersDto;
2273
- };
2274
- };
2275
-
2276
2248
  export type AdminAccountOnlyDto = {
2277
2249
  accountName: string;
2278
2250
  guestApproversEnabledForAllWorkspaces: boolean;
@@ -2301,6 +2273,19 @@ export type ForwardAccountInviteDto = {
2301
2273
  invitationCode: string;
2302
2274
  };
2303
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
+
2304
2289
  export type AuxiliaryDocumentExistsDto = {
2305
2290
  exists: boolean;
2306
2291
  };
@@ -2352,6 +2337,17 @@ export type PresetSingleDto = {
2352
2337
  id: string;
2353
2338
  };
2354
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
+
2355
2351
  export type ExtendInviteExpiryRequestDto = {
2356
2352
  invitationCode: string;
2357
2353
  days?: number;
@@ -2394,6 +2390,8 @@ export type CreateBulkSetItemDto = {
2394
2390
  };
2395
2391
  };
2396
2392
 
2393
+ export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2394
+
2397
2395
  export type NegotiationPartyDto = ({
2398
2396
  type: 'established_party';
2399
2397
  } & NegotiationEstablishedPartyDto) | ({
@@ -2460,7 +2458,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
2460
2458
  sigPageId: string;
2461
2459
  };
2462
2460
 
2463
- 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';
2464
2462
 
2465
2463
  export type PartyRelativeRef = 'our' | 'counterparty';
2466
2464
 
@@ -2487,10 +2485,6 @@ export type ManualReminderEmailInfoDto = {
2487
2485
  emailFailedToDeliver: boolean;
2488
2486
  };
2489
2487
 
2490
- export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2491
-
2492
- export type NegotiationGroupDraftSourceType = 'document' | 'preset' | 'pack';
2493
-
2494
2488
  export type ComponentAnswerDto_FundListEntityDto = {
2495
2489
  entityId: string;
2496
2490
  name: string;
@@ -2520,9 +2514,9 @@ export type QueryExecutionResponseDto = {
2520
2514
  resultSet: RawResultSetDto;
2521
2515
  };
2522
2516
 
2523
- export type SendGroupToCounterpartyResponseDto = {
2524
- negotiationId: string;
2525
- state: SendGroupToCounterpartyResponseDto_SendGroupToCounterpartyResultDto;
2517
+ export type DocumentPublisherDisclaimerDto = {
2518
+ pack?: DocumentPublisherPackDisclaimerDto;
2519
+ document?: DocumentPublisherDocumentDisclaimerDto;
2526
2520
  };
2527
2521
 
2528
2522
  export type RenderedFilenameTemplatesDto = {
@@ -2557,17 +2551,6 @@ export type UpdateCapitalMarketsOrganisationTypeDto = {
2557
2551
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2558
2552
  };
2559
2553
 
2560
- export type NegotiationGroupDraftsResponseDto = {
2561
- negotiationGroupId: string;
2562
- created: Array<string>;
2563
- failures: Array<NegotiationGroupDraftSourceErrorDto>;
2564
- };
2565
-
2566
- export type DocumentPublisherDisclaimerDto = {
2567
- pack?: DocumentPublisherPackDisclaimerDto;
2568
- document?: DocumentPublisherDocumentDisclaimerDto;
2569
- };
2570
-
2571
2554
  export type SubAccountIdNameShareSettingsDto = {
2572
2555
  id: string;
2573
2556
  name: string;
@@ -2631,7 +2614,6 @@ export type SendAdvisorPresetRequestDto = {
2631
2614
  export type NegotiationSummaryDto = {
2632
2615
  watching: boolean;
2633
2616
  document: DocumentWithPackDto;
2634
- subAccountId: string;
2635
2617
  version: string;
2636
2618
  id: string;
2637
2619
  presetSwapped?: boolean;
@@ -2655,10 +2637,11 @@ export type NegotiationSummaryDto = {
2655
2637
  manualReminderEmail?: ManualReminderEmailInfoDto;
2656
2638
  requester: NegotiationRequester;
2657
2639
  customFields: NegotiationCustomFieldsDto;
2640
+ subAccountId: string;
2641
+ packageName?: string;
2658
2642
  markedAsFavourite: boolean;
2659
2643
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
2660
2644
  totalElections: number;
2661
- groupId?: string;
2662
2645
  totalStage2Templates?: number;
2663
2646
  documentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
2664
2647
  bulkSetId?: string;
@@ -2667,7 +2650,6 @@ export type NegotiationSummaryDto = {
2667
2650
  draftCounterparties: Array<CounterpartyDto>;
2668
2651
  dates: NegotiationDatesDto;
2669
2652
  approvers?: Array<string>;
2670
- groupName?: string;
2671
2653
  receivers: Array<ReceiverDto>;
2672
2654
  availableActions: NegotiationSummaryAvailableActionsDto;
2673
2655
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
@@ -2676,6 +2658,7 @@ export type NegotiationSummaryDto = {
2676
2658
  progressStatus: NegotiationStateGroup;
2677
2659
  forkedTo: Array<string>;
2678
2660
  requestingPartyIsInitiator: boolean;
2661
+ packageId?: string;
2679
2662
  chaserEmail?: ManualReminderEmailInfoDto;
2680
2663
  permittedAdvisorAccounts?: Array<string>;
2681
2664
  errorFromLastJob?: NegotiationJobErrorDto;
@@ -2706,6 +2689,8 @@ export type UserFlagsDto = {
2706
2689
  displayIntroductionCounter: number;
2707
2690
  };
2708
2691
 
2692
+ export type NegotiationPackageDraftSourceType = 'document' | 'preset' | 'pack';
2693
+
2709
2694
  export type UserGroupDto = {
2710
2695
  id: string;
2711
2696
  name: string;
@@ -2814,16 +2799,6 @@ export type FeatureDto = {
2814
2799
  enabled: boolean;
2815
2800
  };
2816
2801
 
2817
- export type SendGroupToCounterpartyResponseDto_SendGroupToCounterpartyResultDto = {
2818
- primary?: NegotiationSingleDto;
2819
- additionalReceivers?: Array<string>;
2820
- type?: 'success';
2821
- } | {
2822
- code?: string;
2823
- message?: string;
2824
- type?: 'failure';
2825
- };
2826
-
2827
2802
  export type NegotiationFileDto_SignatureFileDto = {
2828
2803
  isRequired: boolean;
2829
2804
  modifiableByPartyIds: Array<string>;
@@ -2926,32 +2901,14 @@ export type DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto = {
2926
2901
  disparity: boolean;
2927
2902
  };
2928
2903
 
2929
- export type CounterpartyDto = {
2930
- externalComment?: string;
2931
- isMixedCorporateGuest: boolean;
2932
- isFreeEmail?: boolean;
2933
- displayReferenceId?: string;
2934
- bulkDraft?: BulkDraftCounterpartyOptionsDto;
2935
- correlationId?: AccountCorrelationIdDto;
2936
- attachDocx?: boolean;
2937
- email?: string;
2938
- additionalEmails?: Array<EmailWithErrorDto>;
2939
- attachPdf?: boolean;
2940
- referenceId?: string;
2941
- error?: string;
2942
- externalAttachments?: Array<string>;
2943
- referenceIdError?: Array<DetailedInputValidationErrorDto>;
2944
- entity: EntityDto;
2945
- };
2946
-
2947
2904
  export type NegotiationListDto = {
2948
2905
  result: Array<NegotiationSummaryDto>;
2906
+ negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
2949
2907
  pagingMeta?: PagingMetaDto;
2950
2908
  displayReferenceIds: Array<string>;
2909
+ parameters: NegotiationSearchDto;
2951
2910
  negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
2952
2911
  negotiationEntityFilters: NegotiationEntityFiltersDto;
2953
- parameters: NegotiationSearchDto;
2954
- negotiationGroupNames: Array<NegotiationGroupIdAndNameDto>;
2955
2912
  };
2956
2913
 
2957
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';
@@ -3023,6 +2980,30 @@ export type CreateSubAccountResponseDto = {
3023
2980
  id: string;
3024
2981
  };
3025
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
+
3026
3007
  export type UserInviteDto = {
3027
3008
  subAccountIds?: Array<string>;
3028
3009
  lastName: string;
@@ -3157,6 +3138,13 @@ export type BulkDraftCounterpartyOptionsDto = {
3157
3138
  overrideAnswers: PartyAnswersDto;
3158
3139
  };
3159
3140
 
3141
+ export type CreateNegotiationPackageDraftsDto = {
3142
+ name: string;
3143
+ documentIds?: Array<unknown>;
3144
+ presetIds?: Array<unknown>;
3145
+ documentPackIds?: Array<unknown>;
3146
+ };
3147
+
3160
3148
  export type ComponentAnswerDto_NameChangeDto = {
3161
3149
  newName?: string;
3162
3150
  newLei?: string;
@@ -3165,6 +3153,11 @@ export type ComponentAnswerDto_NameChangeDto = {
3165
3153
  exhibitValues: ComponentAnswerDto_ExhibitValuesDto;
3166
3154
  };
3167
3155
 
3156
+ export type FormSubmissionErrorResponseDto = {
3157
+ message: string;
3158
+ errors: Array<string>;
3159
+ };
3160
+
3168
3161
  export type ElectionsDto = {
3169
3162
  standard: Array<ElectionDto>;
3170
3163
  executionDate: ElectionDto;
@@ -3212,16 +3205,6 @@ export type ComponentAnswerDto_BaseColumnLabelDto = {
3212
3205
  label: string;
3213
3206
  };
3214
3207
 
3215
- export type NegotiationGroupIdAndNameDto = {
3216
- groupId: string;
3217
- name: string;
3218
- };
3219
-
3220
- export type FormSubmissionErrorResponseDto = {
3221
- message: string;
3222
- errors: Array<string>;
3223
- };
3224
-
3225
3208
  export type ESignNegotiationSessionStatus = 'completed' | 'cancelled';
3226
3209
 
3227
3210
  export type AuthEndpointsResponseDto = {
@@ -3452,6 +3435,10 @@ export type UserListForPickerDto = {
3452
3435
  users: Array<UserForPickerDto>;
3453
3436
  };
3454
3437
 
3438
+ export type UpdateNegotiationPackageMembersDto = {
3439
+ negotiations: Array<string>;
3440
+ };
3441
+
3455
3442
  export type NegotiationFilter_Status_StatusValue = 'Our turn' | 'Counterparty turn';
3456
3443
 
3457
3444
  export type SubAccountComplexStatisticsDto = {
@@ -3573,6 +3560,11 @@ export type CreatePresetRequestDto = {
3573
3560
  documentId?: string;
3574
3561
  };
3575
3562
 
3563
+ export type SendPackageToCounterpartyResponseDto = {
3564
+ negotiationId: string;
3565
+ state: SendPackageToCounterpartyResponseDto_SendPackageToCounterpartyResultDto;
3566
+ };
3567
+
3576
3568
  export type SupportAccessClientDto = {
3577
3569
  clientAccountName: string;
3578
3570
  clientRole: string;
@@ -3634,13 +3626,13 @@ export type NegotiationSingleDto = {
3634
3626
  customFields: NegotiationCustomFieldsDto;
3635
3627
  previouslyReservedElectionIds: Array<string>;
3636
3628
  subAccountId: string;
3629
+ packageName?: string;
3637
3630
  fileExtensionsSupported: Array<string>;
3638
3631
  fundListMetadata?: FundListMetadataDto;
3639
3632
  groupMemberSummaries: Array<NegotiationSummaryDto>;
3640
3633
  markedAsFavourite: boolean;
3641
3634
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3642
3635
  totalElections: number;
3643
- groupId?: string;
3644
3636
  generalCoverNote?: string;
3645
3637
  forkDate?: string;
3646
3638
  counterpartyHasChangedNestedAnswers: boolean;
@@ -3653,7 +3645,6 @@ export type NegotiationSingleDto = {
3653
3645
  statusLabel: NegotiationStatusLabel;
3654
3646
  permittedAdvisors?: Array<NegotiationAdvisorSummaryDto>;
3655
3647
  draftCounterparties: Array<CounterpartyDto>;
3656
- groupName?: string;
3657
3648
  receivers: Array<ReceiverDto>;
3658
3649
  externalDocumentApproval?: ApprovalDto;
3659
3650
  availableActions: NegotiationAvailableActionsDto;
@@ -3672,6 +3663,7 @@ export type NegotiationSingleDto = {
3672
3663
  progressStatus: NegotiationStateGroup;
3673
3664
  forkedTo: Array<NegotiationSummaryDto>;
3674
3665
  requestingPartyIsInitiator: boolean;
3666
+ packageId?: string;
3675
3667
  defaultsSet: boolean;
3676
3668
  chaserEmail?: ManualReminderEmailInfoDto;
3677
3669
  errorFromLastJob?: NegotiationJobErrorDto;
@@ -3805,6 +3797,10 @@ export type EditEventOp_SpanChange = {
3805
3797
  kind: 'colspan' | 'rowspan';
3806
3798
  };
3807
3799
 
3800
+ export type NegotiationPackageIdDto = {
3801
+ id: string;
3802
+ };
3803
+
3808
3804
  export type AnnouncementDto = {
3809
3805
  lastModified: string;
3810
3806
  description: string;
@@ -4073,10 +4069,6 @@ export type ChangeSigningModeDto = {
4073
4069
  signingMode: string;
4074
4070
  };
4075
4071
 
4076
- export type UpdateNegotiationGroupNameDto = {
4077
- name: string;
4078
- };
4079
-
4080
4072
  export type NotificationSubscriptionStatusDto = {
4081
4073
  email: string;
4082
4074
  mutedNotifications: boolean;
@@ -4170,12 +4162,6 @@ export type DraftingNotesDto = {
4170
4162
  externalDraftingNotes: Array<DraftingNoteDto>;
4171
4163
  };
4172
4164
 
4173
- export type FundListSpreadsheetErrorResponseDto = {
4174
- code: string;
4175
- message: string;
4176
- validationErrors: Array<FundListSpreadsheetValidationErrorDto>;
4177
- };
4178
-
4179
4165
  export type ReceiverUserDto = {
4180
4166
  email: string;
4181
4167
  emailFailedToDeliver?: boolean;
@@ -4212,6 +4198,17 @@ export type SidedNegotiationCountsDto = {
4212
4198
  amendAndRestatement: number;
4213
4199
  };
4214
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
+
4215
4212
  export type CrossAccountMoveRequestDto = {
4216
4213
  entityId: string;
4217
4214
  notifyIntegrator?: boolean;
@@ -4257,6 +4254,16 @@ export type SchemaSampleConfigurationDto = {
4257
4254
  };
4258
4255
  };
4259
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
+
4260
4267
  export type AdvisorAccountRelationshipsDto = {
4261
4268
  clients: Array<AdvisorAccountRelationshipDto>;
4262
4269
  advisors: Array<AdvisorAccountRelationshipDto>;
@@ -4367,12 +4374,6 @@ export type LegacyNegotiationStatisticsDto = {
4367
4374
  executedNegotiationCount: number;
4368
4375
  };
4369
4376
 
4370
- export type ReportGenerationRequestDto = {
4371
- documentIds?: Array<string>;
4372
- timeZone?: string;
4373
- subAccountIdForNotification?: string;
4374
- };
4375
-
4376
4377
  export type NonUserWatcherDto = {
4377
4378
  name?: PersonNameDto;
4378
4379
  email: string;
@@ -4402,11 +4403,11 @@ export type PartyAnswersDto = {
4402
4403
  export type NegotiationListMetadataDto = {
4403
4404
  hasPendingExtractions: boolean;
4404
4405
  activeFilters: FilterResultsDto;
4405
- totalFavouriteConfirmedTemplates: number;
4406
4406
  pagingMeta?: PagingMetaDto;
4407
4407
  totalPhase2Templates: number;
4408
4408
  displayReferenceIds: Array<string>;
4409
- negotiationGroupNames: Array<NegotiationGroupIdAndNameDto>;
4409
+ negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
4410
+ totalFavouriteConfirmedTemplates: number;
4410
4411
  negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
4411
4412
  negotiationEntityFilters: NegotiationEntityFiltersDto;
4412
4413
  };
@@ -4424,6 +4425,10 @@ export type DocuSignPreviewSignerDto = {
4424
4425
  emailPath: string;
4425
4426
  };
4426
4427
 
4428
+ export type NegotiationsPackageDto = {
4429
+ negotiations: Array<NegotiationSingleDto>;
4430
+ };
4431
+
4427
4432
  export type CompletedExtractionResultDto = {
4428
4433
  unstructured: UnstructuredExtractionResultDto;
4429
4434
  userAnswers: PartyAnswersDto;
@@ -4462,6 +4467,17 @@ export type AmendDefaultsDto = {
4462
4467
 
4463
4468
  export type DocumentPackAccess = 'required' | 'granted' | 'restricted';
4464
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
+
4465
4481
  export type AccountNameDto = {
4466
4482
  accountName: string;
4467
4483
  };
@@ -4474,6 +4490,12 @@ export type DocumentListAvailableActionsDto = {
4474
4490
  canInviteNoPreset: boolean;
4475
4491
  };
4476
4492
 
4493
+ export type NegotiationPackageDraftSourceErrorDto = {
4494
+ sourceType: 'document' | 'preset' | 'pack';
4495
+ sourceId: string;
4496
+ errorCode: string;
4497
+ };
4498
+
4477
4499
  export type ClonePresetDto = {
4478
4500
  newName?: string;
4479
4501
  newDescription?: string;
@@ -4488,6 +4510,10 @@ export type UserNegotiationStatisticsDto = {
4488
4510
  userId: string;
4489
4511
  };
4490
4512
 
4513
+ export type UpdateNegotiationPackageNameDto = {
4514
+ name: string;
4515
+ };
4516
+
4491
4517
  export type SidedExecutionAttachmentsExistsDto_SidedExistingExecutionAttachmentDto = {
4492
4518
  availableActions: SidedExecutionAttachmentsExistsDto_SidedExistingExecutionAttachmentAvailableActionsDto;
4493
4519
  fileName: string;
@@ -4538,22 +4564,6 @@ export type NestedAnswerPartyElectionsForVersionDto = {
4538
4564
  partyElections: Array<PartyElectionDto>;
4539
4565
  };
4540
4566
 
4541
- export type getNegotiationDeltasData = {
4542
- body: GetNegotiationDeltasDto;
4543
- path: {
4544
- subAccountId: string;
4545
- };
4546
- query?: never;
4547
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/deltas/calculate';
4548
- };
4549
-
4550
- export type getNegotiationDeltasResponses = {
4551
- /**
4552
- * Negotiations deltas (if any).
4553
- */
4554
- 200: unknown;
4555
- };
4556
-
4557
4567
  export type getAmendDefaultsData = {
4558
4568
  body?: never;
4559
4569
  path: {
@@ -5055,39 +5065,6 @@ export type authPingResponses = {
5055
5065
  200: unknown;
5056
5066
  };
5057
5067
 
5058
- export type createGroupWithDraftsData = {
5059
- body: CreateNegotiationGroupDraftsDto;
5060
- path: {
5061
- subAccountId: string;
5062
- };
5063
- query?: never;
5064
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/drafts';
5065
- };
5066
-
5067
- export type createGroupWithDraftsErrors = {
5068
- /**
5069
- * No sources, too many sources, or no source produced a draft. Each failed source is reported as a cause naming its type and ID
5070
- */
5071
- 400: unknown;
5072
- /**
5073
- * The role cannot create negotiation groups
5074
- */
5075
- 403: unknown;
5076
- /**
5077
- * The negotiation group name is already used in this workspace
5078
- */
5079
- 409: unknown;
5080
- };
5081
-
5082
- export type createGroupWithDraftsResponses = {
5083
- /**
5084
- * The negotiation group was created, along with a draft for at least one source. Sources that produced no draft are listed in failures
5085
- */
5086
- 201: NegotiationGroupDraftsResponseDto;
5087
- };
5088
-
5089
- export type createGroupWithDraftsResponse = createGroupWithDraftsResponses[keyof createGroupWithDraftsResponses];
5090
-
5091
5068
  export type listAllPresetsForSubAccountV1Data = {
5092
5069
  body?: never;
5093
5070
  path: {
@@ -5102,7 +5079,7 @@ export type listAllPresetsForSubAccountV1Data = {
5102
5079
  */
5103
5080
  pageIndex?: number;
5104
5081
  /**
5105
- * 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.
5106
5083
  */
5107
5084
  pageSize?: number;
5108
5085
  /**
@@ -5461,6 +5438,30 @@ export type updateCommentResponses = {
5461
5438
 
5462
5439
  export type updateCommentResponse = updateCommentResponses[keyof updateCommentResponses];
5463
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
+
5464
5465
  export type deleteGeneralCoverNoteData = {
5465
5466
  body?: never;
5466
5467
  path: {
@@ -5857,7 +5858,7 @@ export type listPresetsData = {
5857
5858
  */
5858
5859
  pageIndex?: number;
5859
5860
  /**
5860
- * 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.
5861
5862
  */
5862
5863
  pageSize?: number;
5863
5864
  /**
@@ -6348,9 +6349,9 @@ export type generateNegotiationsReportData = {
6348
6349
  */
6349
6350
  staleTo?: number;
6350
6351
  /**
6351
- * Filter by negotiation group id
6352
+ * Filter by negotiation package id
6352
6353
  */
6353
- groupId?: Array<string>;
6354
+ packageId?: Array<string>;
6354
6355
  /**
6355
6356
  * Filter by negotiation provided list of bulk set ids
6356
6357
  */
@@ -6372,7 +6373,7 @@ export type generateNegotiationsReportData = {
6372
6373
  */
6373
6374
  pageIndex?: number;
6374
6375
  /**
6375
- * 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.
6376
6377
  */
6377
6378
  pageSize?: number;
6378
6379
  /**
@@ -6549,30 +6550,6 @@ export type negotiationGetDocumentSchemaResponses = {
6549
6550
 
6550
6551
  export type negotiationGetDocumentSchemaResponse = negotiationGetDocumentSchemaResponses[keyof negotiationGetDocumentSchemaResponses];
6551
6552
 
6552
- export type updateGroupNameData = {
6553
- body: UpdateNegotiationGroupNameDto;
6554
- path: {
6555
- subAccountId: string;
6556
- negotiationGroupId: string;
6557
- };
6558
- query?: never;
6559
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}';
6560
- };
6561
-
6562
- export type updateGroupNameErrors = {
6563
- /**
6564
- * Negotiation group not found
6565
- */
6566
- 404: unknown;
6567
- };
6568
-
6569
- export type updateGroupNameResponses = {
6570
- /**
6571
- * Negotiation group name updated
6572
- */
6573
- 200: unknown;
6574
- };
6575
-
6576
6553
  export type changeSigningModeData = {
6577
6554
  body?: ChangeSigningModeDto;
6578
6555
  path: {
@@ -6946,29 +6923,6 @@ export type createAuditTrailJsonResponses = {
6946
6923
 
6947
6924
  export type createAuditTrailJsonResponse = createAuditTrailJsonResponses[keyof createAuditTrailJsonResponses];
6948
6925
 
6949
- export type updateNegotiationsToMatchData = {
6950
- body: UpdateNegotiationsToMatchDto;
6951
- path: {
6952
- subAccountId: string;
6953
- };
6954
- query?: never;
6955
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/deltas/apply';
6956
- };
6957
-
6958
- export type updateNegotiationsToMatchErrors = {
6959
- /**
6960
- * One or more negotiations could not be updated, so none were updated.
6961
- */
6962
- 409: unknown;
6963
- };
6964
-
6965
- export type updateNegotiationsToMatchResponses = {
6966
- /**
6967
- * Negotiations updated.
6968
- */
6969
- 200: unknown;
6970
- };
6971
-
6972
6926
  export type getApprovalHistoryData = {
6973
6927
  body?: never;
6974
6928
  path: {
@@ -7142,35 +7096,24 @@ export type uploadFundListSpreadsheetResponses = {
7142
7096
 
7143
7097
  export type uploadFundListSpreadsheetResponse = uploadFundListSpreadsheetResponses[keyof uploadFundListSpreadsheetResponses];
7144
7098
 
7145
- export type sendGroupToCounterpartyData = {
7146
- body: SendGroupToCounterpartyRequestDto;
7099
+ export type getNegotiationsPackageData = {
7100
+ body?: never;
7147
7101
  path: {
7148
7102
  subAccountId: string;
7149
- negotiationGroupId: string;
7103
+ negotiationPackageId: string;
7150
7104
  };
7151
7105
  query?: never;
7152
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/sendToCounterparty';
7153
- };
7154
-
7155
- export type sendGroupToCounterpartyErrors = {
7156
- /**
7157
- * Unauthorised access of the negotiation group and the Sub-Account
7158
- */
7159
- 403: unknown;
7160
- /**
7161
- * Could not save new version
7162
- */
7163
- 409: unknown;
7106
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/negotiations';
7164
7107
  };
7165
7108
 
7166
- export type sendGroupToCounterpartyResponses = {
7109
+ export type getNegotiationsPackageResponses = {
7167
7110
  /**
7168
- * Negotiations in the group sent to counterparty
7111
+ * A negotiation package
7169
7112
  */
7170
- 200: Array<SendGroupToCounterpartyResponseDto>;
7113
+ 200: NegotiationsPackageDto;
7171
7114
  };
7172
7115
 
7173
- export type sendGroupToCounterpartyResponse = sendGroupToCounterpartyResponses[keyof sendGroupToCounterpartyResponses];
7116
+ export type getNegotiationsPackageResponse = getNegotiationsPackageResponses[keyof getNegotiationsPackageResponses];
7174
7117
 
7175
7118
  export type breakingChangesData = {
7176
7119
  body?: never;
@@ -7518,7 +7461,7 @@ export type getNegotiationData = {
7518
7461
 
7519
7462
  export type getNegotiationResponses = {
7520
7463
  /**
7521
- * A negotiation and summaries of other group members
7464
+ * A negotiation and summaries of other package members
7522
7465
  */
7523
7466
  200: Array<NegotiationSingleDto>;
7524
7467
  };
@@ -7668,26 +7611,6 @@ export type negotiationRenderCounterpartyTemplateAtVersionResponses = {
7668
7611
 
7669
7612
  export type negotiationRenderCounterpartyTemplateAtVersionResponse = negotiationRenderCounterpartyTemplateAtVersionResponses[keyof negotiationRenderCounterpartyTemplateAtVersionResponses];
7670
7613
 
7671
- export type suggestGroupNameData = {
7672
- body?: never;
7673
- path: {
7674
- subAccountId: string;
7675
- };
7676
- query: {
7677
- desiredName: string;
7678
- };
7679
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/nameSuggestions';
7680
- };
7681
-
7682
- export type suggestGroupNameResponses = {
7683
- /**
7684
- * Available negotiation group name
7685
- */
7686
- 200: NegotiationGroupIdDto;
7687
- };
7688
-
7689
- export type suggestGroupNameResponse = suggestGroupNameResponses[keyof suggestGroupNameResponses];
7690
-
7691
7614
  export type acceptAllEventsData = {
7692
7615
  body: BulkBlacklineRequestDto;
7693
7616
  path: {
@@ -7788,66 +7711,66 @@ export type syncFundListResponses = {
7788
7711
 
7789
7712
  export type syncFundListResponse = syncFundListResponses[keyof syncFundListResponses];
7790
7713
 
7791
- export type markActivityEventsAsViewedData = {
7792
- /**
7793
- * An empty payload `{}` will mark all activities as read
7794
- */
7795
- body?: MarkEventAsReadRequestDto;
7714
+ export type createPackageWithDraftsData = {
7715
+ body: CreateNegotiationPackageDraftsDto;
7796
7716
  path: {
7797
7717
  subAccountId: string;
7798
- negotiationId: string;
7799
7718
  };
7800
7719
  query?: never;
7801
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead';
7720
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/drafts';
7802
7721
  };
7803
7722
 
7804
- export type markActivityEventsAsViewedErrors = {
7723
+ export type createPackageWithDraftsErrors = {
7805
7724
  /**
7806
- * 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
7807
7726
  */
7808
- 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;
7809
7736
  };
7810
7737
 
7811
- export type markActivityEventsAsViewedResponses = {
7738
+ export type createPackageWithDraftsResponses = {
7812
7739
  /**
7813
- * 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
7814
7741
  */
7815
- 200: unknown;
7742
+ 201: NegotiationPackageDraftsResponseDto;
7816
7743
  };
7817
7744
 
7818
- export type dryRunGroupWithDraftsData = {
7819
- body: CreateNegotiationGroupDraftsDto;
7820
- path: {
7821
- subAccountId: string;
7822
- };
7823
- query?: never;
7824
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/drafts/dryRun';
7825
- };
7745
+ export type createPackageWithDraftsResponse = createPackageWithDraftsResponses[keyof createPackageWithDraftsResponses];
7826
7746
 
7827
- export type dryRunGroupWithDraftsErrors = {
7828
- /**
7829
- * 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
7830
- */
7831
- 400: unknown;
7747
+ export type markActivityEventsAsViewedData = {
7832
7748
  /**
7833
- * The role cannot create negotiation groups
7749
+ * An empty payload `{}` will mark all activities as read
7834
7750
  */
7835
- 403: unknown;
7751
+ body?: MarkEventAsReadRequestDto;
7752
+ path: {
7753
+ subAccountId: string;
7754
+ negotiationId: string;
7755
+ };
7756
+ query?: never;
7757
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead';
7758
+ };
7759
+
7760
+ export type markActivityEventsAsViewedErrors = {
7836
7761
  /**
7837
- * The negotiation group name is already used in this workspace
7762
+ * Negotiation not found
7838
7763
  */
7839
- 409: unknown;
7764
+ 404: unknown;
7840
7765
  };
7841
7766
 
7842
- export type dryRunGroupWithDraftsResponses = {
7767
+ export type markActivityEventsAsViewedResponses = {
7843
7768
  /**
7844
- * 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
7845
7770
  */
7846
- 200: NegotiationGroupDraftsDryRunResponseDto;
7771
+ 200: unknown;
7847
7772
  };
7848
7773
 
7849
- export type dryRunGroupWithDraftsResponse = dryRunGroupWithDraftsResponses[keyof dryRunGroupWithDraftsResponses];
7850
-
7851
7774
  export type cancelExtractionData = {
7852
7775
  body?: never;
7853
7776
  path: {
@@ -7945,7 +7868,7 @@ export type getCommentsErrors = {
7945
7868
 
7946
7869
  export type getCommentsResponses = {
7947
7870
  /**
7948
- * All comments for a negotiation grouped by document comments or corresponding election ID
7871
+ * All comments for a negotiation packageed by document comments or corresponding election ID
7949
7872
  */
7950
7873
  200: unknown;
7951
7874
  };
@@ -7996,6 +7919,26 @@ export type getDraftingNotesDocumentResponses = {
7996
7919
 
7997
7920
  export type getDraftingNotesDocumentResponse = getDraftingNotesDocumentResponses[keyof getDraftingNotesDocumentResponses];
7998
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
+
7999
7942
  export type acceptAllPositionsFromForkData = {
8000
7943
  body?: never;
8001
7944
  path: {
@@ -8076,41 +8019,45 @@ export type createSigningPackResponses = {
8076
8019
 
8077
8020
  export type createSigningPackResponse = createSigningPackResponses[keyof createSigningPackResponses];
8078
8021
 
8079
- export type getGroupNamesData = {
8080
- body?: never;
8022
+ export type getNegotiationDeltasData = {
8023
+ body: GetNegotiationDeltasDto;
8081
8024
  path: {
8082
8025
  subAccountId: string;
8083
8026
  };
8084
8027
  query?: never;
8085
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups';
8028
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/deltas/calculate';
8086
8029
  };
8087
8030
 
8088
- export type getGroupNamesResponses = {
8031
+ export type getNegotiationDeltasResponses = {
8089
8032
  /**
8090
- * Names of the groups within a Sub-Account
8033
+ * Negotiations deltas (if any).
8091
8034
  */
8092
- 200: Array<NegotiationGroupDto>;
8035
+ 200: unknown;
8093
8036
  };
8094
8037
 
8095
- export type getGroupNamesResponse = getGroupNamesResponses[keyof getGroupNamesResponses];
8096
-
8097
- export type createGroupData = {
8098
- body: CreateNegotiationGroupDto;
8038
+ export type updatePackageMembersData = {
8039
+ body: UpdateNegotiationPackageMembersDto;
8099
8040
  path: {
8100
8041
  subAccountId: string;
8042
+ negotiationPackageId: string;
8101
8043
  };
8102
8044
  query?: never;
8103
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups';
8045
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members';
8104
8046
  };
8105
8047
 
8106
- export type createGroupResponses = {
8048
+ export type updatePackageMembersErrors = {
8107
8049
  /**
8108
- * Negotiation group created
8050
+ * Negotiation package not found
8109
8051
  */
8110
- 201: NegotiationGroupIdDto;
8052
+ 404: unknown;
8111
8053
  };
8112
8054
 
8113
- export type createGroupResponse = createGroupResponses[keyof createGroupResponses];
8055
+ export type updatePackageMembersResponses = {
8056
+ /**
8057
+ * Negotiation package members updated
8058
+ */
8059
+ 200: unknown;
8060
+ };
8114
8061
 
8115
8062
  export type getNegotiationNestedAmendValueData = {
8116
8063
  body?: never;
@@ -8503,6 +8450,65 @@ export type updateUserAnswersResponses = {
8503
8450
 
8504
8451
  export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
8505
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
+
8506
8512
  export type rejectAllEventsData = {
8507
8513
  body: BulkBlacklineRequestDto;
8508
8514
  path: {
@@ -8672,30 +8678,6 @@ export type assignToMeResponses = {
8672
8678
 
8673
8679
  export type assignToMeResponse = assignToMeResponses[keyof assignToMeResponses];
8674
8680
 
8675
- export type updateGroupMembersData = {
8676
- body: UpdateNegotiationGroupMembersDto;
8677
- path: {
8678
- subAccountId: string;
8679
- negotiationGroupId: string;
8680
- };
8681
- query?: never;
8682
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/members';
8683
- };
8684
-
8685
- export type updateGroupMembersErrors = {
8686
- /**
8687
- * Negotiation group not found
8688
- */
8689
- 404: unknown;
8690
- };
8691
-
8692
- export type updateGroupMembersResponses = {
8693
- /**
8694
- * Negotiation group members updated
8695
- */
8696
- 200: unknown;
8697
- };
8698
-
8699
8681
  export type getSignedSignaturePagePDFData = {
8700
8682
  body?: never;
8701
8683
  path: {
@@ -8794,7 +8776,7 @@ export type documentsFilterData = {
8794
8776
  */
8795
8777
  pageIndex?: number;
8796
8778
  /**
8797
- * 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.
8798
8780
  */
8799
8781
  pageSize?: number;
8800
8782
  };
@@ -9165,6 +9147,44 @@ export type getPartyAnswersResponses = {
9165
9147
 
9166
9148
  export type getPartyAnswersResponse = getPartyAnswersResponses[keyof getPartyAnswersResponses];
9167
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
+
9168
9188
  export type deletePresetData = {
9169
9189
  body?: never;
9170
9190
  path: {
@@ -9217,63 +9237,6 @@ export type createPresetAuditTrailJsonResponses = {
9217
9237
 
9218
9238
  export type createPresetAuditTrailJsonResponse = createPresetAuditTrailJsonResponses[keyof createPresetAuditTrailJsonResponses];
9219
9239
 
9220
- export type getPotentialUsersData = {
9221
- body?: never;
9222
- path: {
9223
- subAccountId: string;
9224
- };
9225
- query?: {
9226
- /**
9227
- * Include super managers (who are in all Sub-Accounts) in the response
9228
- */
9229
- includeSuperManagers?: boolean;
9230
- /**
9231
- * Include admins (who are in all Sub-Accounts) in the response
9232
- */
9233
- includeAdmins?: boolean;
9234
- /**
9235
- * Include advisors in the response
9236
- */
9237
- includeAdvisors?: boolean;
9238
- };
9239
- url: '/api/v1/subaccount/{subAccountId}/potentialUsers';
9240
- };
9241
-
9242
- export type getPotentialUsersErrors = {
9243
- /**
9244
- * Sub-account not found
9245
- */
9246
- 404: unknown;
9247
- };
9248
-
9249
- export type getPotentialUsersResponses = {
9250
- /**
9251
- * List all of the potential users of the specified subaccount
9252
- */
9253
- 200: UserListForPickerDto;
9254
- };
9255
-
9256
- export type getPotentialUsersResponse = getPotentialUsersResponses[keyof getPotentialUsersResponses];
9257
-
9258
- export type getNegotiationsGroupData = {
9259
- body?: never;
9260
- path: {
9261
- subAccountId: string;
9262
- negotiationGroupId: string;
9263
- };
9264
- query?: never;
9265
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations';
9266
- };
9267
-
9268
- export type getNegotiationsGroupResponses = {
9269
- /**
9270
- * A negotiation group
9271
- */
9272
- 200: NegotiationsGroupDto;
9273
- };
9274
-
9275
- export type getNegotiationsGroupResponse = getNegotiationsGroupResponses[keyof getNegotiationsGroupResponses];
9276
-
9277
9240
  export type consentCodeCallbackData = {
9278
9241
  body?: never;
9279
9242
  path?: never;
@@ -9383,7 +9346,7 @@ export type getApprovalCommentsErrors = {
9383
9346
 
9384
9347
  export type getApprovalCommentsResponses = {
9385
9348
  /**
9386
- * 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
9387
9350
  */
9388
9351
  200: ApprovalCommentsDto;
9389
9352
  };
@@ -9837,9 +9800,9 @@ export type listNegotiationsData = {
9837
9800
  */
9838
9801
  staleTo?: number;
9839
9802
  /**
9840
- * Filter by negotiation group id
9803
+ * Filter by negotiation package id
9841
9804
  */
9842
- groupId?: Array<string>;
9805
+ packageId?: Array<string>;
9843
9806
  /**
9844
9807
  * Filter by negotiation provided list of bulk set ids
9845
9808
  */
@@ -9861,7 +9824,7 @@ export type listNegotiationsData = {
9861
9824
  */
9862
9825
  pageIndex?: number;
9863
9826
  /**
9864
- * 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.
9865
9828
  */
9866
9829
  pageSize?: number;
9867
9830
  /**
@@ -9973,7 +9936,7 @@ export type listNegotiationsData = {
9973
9936
 
9974
9937
  export type listNegotiationsResponses = {
9975
9938
  /**
9976
- * 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.
9977
9940
  */
9978
9941
  200: NegotiationListDto;
9979
9942
  };
@@ -10149,7 +10112,7 @@ export type listDocumentsWithPaginationData = {
10149
10112
  */
10150
10113
  pageIndex: number;
10151
10114
  /**
10152
- * 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.
10153
10116
  */
10154
10117
  pageSize: number;
10155
10118
  /**
@@ -10283,7 +10246,7 @@ export type listAllPresetsForSubAccountV2Data = {
10283
10246
  */
10284
10247
  pageIndex?: number;
10285
10248
  /**
10286
- * 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.
10287
10250
  */
10288
10251
  pageSize?: number;
10289
10252
  /**
@@ -10808,7 +10771,7 @@ export type createBulkSetData = {
10808
10771
 
10809
10772
  export type createBulkSetResponses = {
10810
10773
  /**
10811
- * Negotiation group created
10774
+ * Negotiation package created
10812
10775
  */
10813
10776
  201: CreateBulkSetResponseDto;
10814
10777
  };
@@ -10955,7 +10918,7 @@ export type negotiationsFilterData = {
10955
10918
  */
10956
10919
  pageIndex?: number;
10957
10920
  /**
10958
- * 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.
10959
10922
  */
10960
10923
  pageSize?: number;
10961
10924
  };
@@ -11840,6 +11803,70 @@ export type schemaAvailableAsCDMResponses = {
11840
11803
 
11841
11804
  export type schemaAvailableAsCDMResponse = schemaAvailableAsCDMResponses[keyof schemaAvailableAsCDMResponses];
11842
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
+
11843
11870
  export type revokeWindowData = {
11844
11871
  body?: never;
11845
11872
  path?: never;
@@ -12159,6 +12186,39 @@ export type createSignaturePagePDFResponses = {
12159
12186
 
12160
12187
  export type createSignaturePagePDFResponse = createSignaturePagePDFResponses[keyof createSignaturePagePDFResponses];
12161
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
+
12162
12222
  export type upgradePresetSchemaData = {
12163
12223
  body?: never;
12164
12224
  path: {