@createiq/backend 1.0.153 → 1.0.155

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;
@@ -250,24 +245,6 @@ export type AuthnSuccessResponseDto = {
250
245
  sessionToken?: string;
251
246
  };
252
247
 
253
- export type ValidatedEntityDto = {
254
- type: 'ValidEntityDto';
255
- entity: EntityDto;
256
- } | {
257
- type: 'InvalidEntityDto';
258
- entityId: EntityIdDto;
259
- };
260
-
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
248
  export type ApiUserSummaryDto = {
272
249
  name: string;
273
250
  role: string;
@@ -301,6 +278,18 @@ export type RenderedTemplateDto = {
301
278
  };
302
279
  };
303
280
 
281
+ export type ValidatedEntityDto = {
282
+ type: 'ValidEntityDto';
283
+ entity: EntityDto;
284
+ } | {
285
+ type: 'InvalidEntityDto';
286
+ entityId: EntityIdDto;
287
+ };
288
+
289
+ export type CheckForBrokenGuestApprovalRequestsDto = {
290
+ existingApproverEmail: string;
291
+ };
292
+
304
293
  export type DocumentListDto = {
305
294
  filter: FilterResultsDto;
306
295
  documents: Array<DocumentListItemDto>;
@@ -399,11 +388,6 @@ export type ApprovalCountStatisticsDto = {
399
388
  teamPendingApprovals: PendingApprovalCountsDto;
400
389
  };
401
390
 
402
- export type ESignSessionStatusDto = {
403
- value: string;
404
- user?: UserDto;
405
- };
406
-
407
391
  export type SetApprovalRulesDto = {
408
392
  users: Array<string>;
409
393
  quorum: number;
@@ -482,7 +466,7 @@ export type VerifyMinioDto = {
482
466
  filesNotFound: Array<string>;
483
467
  };
484
468
 
485
- export type CreateNegotiationGroupDto = {
469
+ export type CreateNegotiationPackageDto = {
486
470
  name: string;
487
471
  negotiations: Array<string>;
488
472
  };
@@ -491,6 +475,17 @@ export type ZuvaFieldDto = {
491
475
  fieldIds: Array<string>;
492
476
  };
493
477
 
478
+ export type ESignSessionStatusDto = {
479
+ value: string;
480
+ user?: UserDto;
481
+ };
482
+
483
+ export type NegotiationPackagePartiesFailureDto = {
484
+ negotiationId: string;
485
+ code: string;
486
+ message: string;
487
+ };
488
+
494
489
  export type SigningMode = 'eSign' | 'offline';
495
490
 
496
491
  export type ExhibitValueBehaviour = 'internal' | 'auto_accept';
@@ -792,13 +787,6 @@ export type AuditEventCauseDto = {
792
787
  ipAddress?: string;
793
788
  };
794
789
 
795
- export type CreateNegotiationGroupDraftsDto = {
796
- name: string;
797
- documentIds?: Array<unknown>;
798
- presetIds?: Array<unknown>;
799
- documentPackIds?: Array<unknown>;
800
- };
801
-
802
790
  export type LegalEntityDto = {
803
791
  assignedDate: string;
804
792
  name: string;
@@ -870,6 +858,11 @@ export type NegotiationReminderWithRecipientsDto = {
870
858
 
871
859
  export type AuditReportType = 'audit_log_report' | 'comments_log_report';
872
860
 
861
+ export type SetNegotiationPackagePartiesDto = {
862
+ ownerEntityId?: string;
863
+ counterparty?: PackageCounterpartyDto;
864
+ };
865
+
873
866
  export type DocumentIntegrationRestriction = 'Integration Only' | 'CIQ Only';
874
867
 
875
868
  export type UserForPickerDto = {
@@ -1277,6 +1270,7 @@ export type TimelineEventDto = {
1277
1270
  availableActions: TimelineEventAvailableActionsDto;
1278
1271
  comment?: string;
1279
1272
  authorPartyPosition: UIPartyPosition;
1273
+ removedGuestEmails?: Array<string>;
1280
1274
  removedApprovers?: Array<UserWithRoleDto>;
1281
1275
  electionId?: string;
1282
1276
  user: TimelineEventUserDto;
@@ -1393,15 +1387,6 @@ export type SignatureStateDto = {
1393
1387
  moderator?: boolean;
1394
1388
  };
1395
1389
 
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
1390
  export type NegotiationWithTimelinePreviewAndMultipleNestedAnswersDto = NegotiationWithTimelineAndPreviewDto & {
1406
1391
  nestedAnswerFullSummaries: {
1407
1392
  [key: string]: NestedAnswersSummariesWithAnswersDto;
@@ -1423,10 +1408,11 @@ export type PresetDto = {
1423
1408
  };
1424
1409
 
1425
1410
  export type SyncNewApproverDto = {
1426
- existingApproverId: string;
1427
- newApproverId: string;
1428
1411
  isReplacingRemovedApprover: boolean;
1429
1412
  isRemovedApproverDeleted: boolean;
1413
+ existingApproverId?: string;
1414
+ existingApproverEmail?: string;
1415
+ newApproverId: string;
1430
1416
  };
1431
1417
 
1432
1418
  export type DraftReceiverEmailsDto = {
@@ -1486,6 +1472,25 @@ export type ValidatedSchemaDto = {
1486
1472
  errors: Array<ValidatedSchemaErrorDto>;
1487
1473
  };
1488
1474
 
1475
+ export type PackageCounterpartyDto = {
1476
+ externalComment?: string;
1477
+ entity: EntityIdDto;
1478
+ correlationId?: AccountCorrelationIdDto;
1479
+ attachDocx?: boolean;
1480
+ email?: DraftEmailDto;
1481
+ additionalEmails?: Array<DraftEmailDto>;
1482
+ attachPdf?: boolean;
1483
+ };
1484
+
1485
+ export type DocumentListItemDto = {
1486
+ hasCustodianTemplates: boolean;
1487
+ document: DocumentWithPackDto;
1488
+ markedAsFavourite: boolean;
1489
+ templates: number;
1490
+ availableActions: DocumentListAvailableActionsDto;
1491
+ requestingUserCanInvite?: boolean;
1492
+ };
1493
+
1489
1494
  export type UpdateUserProfileDto = {
1490
1495
  firstName: string;
1491
1496
  lastName: string;
@@ -1536,12 +1541,6 @@ export type OfflineNegotiatedDocumentExistsDto_OfflineNegotiatedDocumentAvailabl
1536
1541
  delete: boolean;
1537
1542
  };
1538
1543
 
1539
- export type SendGroupToCounterpartyRequestDto = {
1540
- negotiationIds: Array<string>;
1541
- attachDocx?: boolean;
1542
- attachPdf?: boolean;
1543
- };
1544
-
1545
1544
  export type SSOConfigDto = {
1546
1545
  secondaryX5cExpiry?: string;
1547
1546
  issuerUrl: string;
@@ -1694,12 +1693,6 @@ export type DocuSignEmailRestriction = 'exact_email_match' | 'in_allowed_domains
1694
1693
 
1695
1694
  export type UserProfileColour = '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
1696
1695
 
1697
- export type NegotiationGroupDraftSourceErrorDto = {
1698
- sourceType: 'document' | 'preset' | 'pack';
1699
- sourceId: string;
1700
- errorCode: string;
1701
- };
1702
-
1703
1696
  export type NegotiationFileAvailableActionDto = {
1704
1697
  showExecutedDocument: boolean;
1705
1698
  showSignaturePages: boolean;
@@ -1736,7 +1729,7 @@ export type TemplateSettingsDto_TemplateStylesDto = {
1736
1729
 
1737
1730
  export type GetNegotiationDeltasDto = {
1738
1731
  negotiationIds: Array<string>;
1739
- negotiationGroupId?: string;
1732
+ negotiationPackageId?: string;
1740
1733
  };
1741
1734
 
1742
1735
  export type EditEventOp_Replace = {
@@ -1745,6 +1738,11 @@ export type EditEventOp_Replace = {
1745
1738
  after: string;
1746
1739
  };
1747
1740
 
1741
+ export type RequestGuestApprovalDto = {
1742
+ email: DraftEmailDto;
1743
+ message: string;
1744
+ };
1745
+
1748
1746
  export type ESignAccountStatusDto = {
1749
1747
  value: string;
1750
1748
  };
@@ -1755,11 +1753,6 @@ export type ShareRequestDto = {
1755
1753
  newUsers: Array<NewUserShareDto>;
1756
1754
  };
1757
1755
 
1758
- export type NegotiationGroupDto = {
1759
- id: string;
1760
- name: string;
1761
- };
1762
-
1763
1756
  export type ExecutedNegotiationSummaryDto = {
1764
1757
  preset?: PresetDto;
1765
1758
  partyB?: ExecutedNegotiationSummaryDto_PartyDto;
@@ -1768,6 +1761,7 @@ export type ExecutedNegotiationSummaryDto = {
1768
1761
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
1769
1762
  document: DocumentWithPackDto;
1770
1763
  participants: Array<UserDto>;
1764
+ negotiationPackage?: NegotiationPackageDto;
1771
1765
  answers: NegotiationAnswersDto;
1772
1766
  totalElections: number;
1773
1767
  moderatorElectionComments?: {
@@ -1778,7 +1772,6 @@ export type ExecutedNegotiationSummaryDto = {
1778
1772
  };
1779
1773
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1780
1774
  internalDocumentComments?: Array<TimelineEventDto>;
1781
- negotiationGroup?: NegotiationGroupDto;
1782
1775
  externalDocumentComments?: Array<TimelineEventDto>;
1783
1776
  moderatorDocumentComments?: Array<TimelineEventDto>;
1784
1777
  version: string;
@@ -1823,6 +1816,11 @@ export type NegotiationAuditTrailEventDto = {
1823
1816
  negotiationId: string;
1824
1817
  };
1825
1818
 
1819
+ export type NegotiationPackageIdAndNameDto = {
1820
+ packageId: string;
1821
+ name: string;
1822
+ };
1823
+
1826
1824
  export type ErrorResponseDto = {
1827
1825
  code: string;
1828
1826
  message: string;
@@ -1863,15 +1861,6 @@ export type FixApprovalRulesDto = {
1863
1861
  user: string;
1864
1862
  };
1865
1863
 
1866
- export type RequestGuestApprovalDto = {
1867
- email: DraftEmailDto;
1868
- message: string;
1869
- };
1870
-
1871
- export type UpdateNegotiationGroupMembersDto = {
1872
- negotiations: Array<string>;
1873
- };
1874
-
1875
1864
  export type CreateApiUserRequest = {
1876
1865
  name: string;
1877
1866
  role: string;
@@ -2001,7 +1990,6 @@ export type NegotiationSearchDto = {
2001
1990
  requestingUserId?: string;
2002
1991
  advisorPresetIds: Array<unknown>;
2003
1992
  partyC: Array<string>;
2004
- groupId: Array<string>;
2005
1993
  bulkSetIds: Array<string>;
2006
1994
  orderDirection?: 'asc' | 'desc';
2007
1995
  displayReferenceId: Array<string>;
@@ -2017,6 +2005,7 @@ export type NegotiationSearchDto = {
2017
2005
  partyA: Array<string>;
2018
2006
  approverUserId?: string;
2019
2007
  fund: Array<string>;
2008
+ packageId: Array<string>;
2020
2009
  excludedUiStates: Array<NegotiationUIState>;
2021
2010
  partyAny: Array<string>;
2022
2011
  isForkedOrFork?: boolean;
@@ -2087,6 +2076,16 @@ export type DraftReceiverEmailValidationDto = {
2087
2076
  additionalEmails?: Array<EmailWithErrorDto>;
2088
2077
  };
2089
2078
 
2079
+ export type PresetStateDto = {
2080
+ requestedAt?: string;
2081
+ requestedBy?: UserWithRoleDto;
2082
+ approvedAt?: string;
2083
+ approvedBy?: UserWithRoleDto;
2084
+ type: string;
2085
+ rejectedAt?: string;
2086
+ rejectedBy?: UserWithRoleDto;
2087
+ };
2088
+
2090
2089
  export type NegotiationFilter_OlderThanPeriod_OlderThanPeriodValue = 'Older than 7 days' | 'Older than 14 days' | 'Older than 30 days';
2091
2090
 
2092
2091
  export type ExecutedNegotiationSummaryDto_PartyDto = {
@@ -2116,20 +2115,6 @@ export type PendingApprovalCountsDto = {
2116
2115
  electionLevelApprovals: number;
2117
2116
  };
2118
2117
 
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
2118
  export type PresetSingleWithPreviewAndMultipleNestedAnswersDto = PresetSingleWithPreviewDto & {
2134
2119
  nestedAnswerFullSummaries: {
2135
2120
  [key: string]: NestedAnswersSummariesWithPresetAnswersDto;
@@ -2215,6 +2200,10 @@ export type UnsubscribeRequestDto = {
2215
2200
  hash: string;
2216
2201
  };
2217
2202
 
2203
+ export type PresetSingleWithPreviewAndNestedAnswersDto = PresetSingleWithPreviewDto & {
2204
+ nestedAnswerFullSummary: NestedAnswersSummariesWithPresetAnswersDto;
2205
+ };
2206
+
2218
2207
  export type SearchContext = 'completed' | 'active' | 'confirmedTemplate';
2219
2208
 
2220
2209
  export type ApproverDto = ({
@@ -2223,11 +2212,6 @@ export type ApproverDto = ({
2223
2212
  type: 'AnonymousApproverDto';
2224
2213
  } & AnonymousApproverDto);
2225
2214
 
2226
- export type NegotiationGroupDraftSourceDto = {
2227
- sourceType: 'document' | 'preset' | 'pack';
2228
- sourceId: string;
2229
- };
2230
-
2231
2215
  export type ApprovalCommentsAvailableActionsDto = {
2232
2216
  canCreate: boolean;
2233
2217
  };
@@ -2237,15 +2221,6 @@ export type AccountUserShareDto = {
2237
2221
  message?: string;
2238
2222
  };
2239
2223
 
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
2224
  export type FormattingTag = 'strong' | 'em' | 'underline' | 'subscript' | 'superscript' | 'strikethrough';
2250
2225
 
2251
2226
  export type NoteType = 'internal' | 'external';
@@ -2260,11 +2235,9 @@ export type SubAccountSummaryDto = {
2260
2235
  status: string;
2261
2236
  };
2262
2237
 
2263
- export type NotificationSenderDto = {
2264
- email: string;
2265
- fullName?: string;
2266
- accountName?: string;
2267
- entityName?: string;
2238
+ export type NegotiationPackageDraftsDryRunResponseDto = {
2239
+ valid: Array<NegotiationPackageDraftSourceDto>;
2240
+ failures: Array<NegotiationPackageDraftSourceErrorDto>;
2268
2241
  };
2269
2242
 
2270
2243
  export type CreateApiUserResponse = {
@@ -2278,12 +2251,6 @@ export type CreateApiUserResponse = {
2278
2251
  lastUsedAt?: string;
2279
2252
  };
2280
2253
 
2281
- export type NestedPartyAnswersDto = {
2282
- nestedAnswers: {
2283
- [key: string]: PartyAnswersDto;
2284
- };
2285
- };
2286
-
2287
2254
  export type AdminAccountOnlyDto = {
2288
2255
  accountName: string;
2289
2256
  guestApproversEnabledForAllWorkspaces: boolean;
@@ -2312,11 +2279,24 @@ export type ForwardAccountInviteDto = {
2312
2279
  invitationCode: string;
2313
2280
  };
2314
2281
 
2282
+ export type NegotiationPackageDraftsResponseDto = {
2283
+ negotiationPackageId: string;
2284
+ created: Array<string>;
2285
+ failures: Array<NegotiationPackageDraftSourceErrorDto>;
2286
+ };
2287
+
2288
+ export type NotificationSenderDto = {
2289
+ email: string;
2290
+ fullName?: string;
2291
+ accountName?: string;
2292
+ entityName?: string;
2293
+ };
2294
+
2315
2295
  export type AuxiliaryDocumentExistsDto = {
2316
2296
  exists: boolean;
2317
2297
  };
2318
2298
 
2319
- export type ApproverRemovalReason = 'RoleChange' | 'SubAccountRemovedFromAdvisorRelationship' | 'RemovedFromSubAccount' | 'NotInDestinationSubAccount' | 'RemovedFromAccount' | 'GuestApproversDisabled';
2299
+ export type ApproverRemovalReason = 'RoleChange' | 'SubAccountRemovedFromAdvisorRelationship' | 'RemovedFromSubAccount' | 'NotInDestinationSubAccount' | 'RemovedFromAccount' | 'GuestApproversDisabled' | 'GuestApproverInvitationCancelled';
2320
2300
 
2321
2301
  export type ActivityTimelineSummaryDto = {
2322
2302
  totalUnreadComments: number;
@@ -2363,6 +2343,17 @@ export type PresetSingleDto = {
2363
2343
  id: string;
2364
2344
  };
2365
2345
 
2346
+ export type SetNegotiationPackagePartiesResponseDto = {
2347
+ updated: Array<string>;
2348
+ failures: Array<NegotiationPackagePartiesFailureDto>;
2349
+ };
2350
+
2351
+ export type NestedPartyAnswersDto = {
2352
+ nestedAnswers: {
2353
+ [key: string]: PartyAnswersDto;
2354
+ };
2355
+ };
2356
+
2366
2357
  export type ExtendInviteExpiryRequestDto = {
2367
2358
  invitationCode: string;
2368
2359
  days?: number;
@@ -2405,6 +2396,8 @@ export type CreateBulkSetItemDto = {
2405
2396
  };
2406
2397
  };
2407
2398
 
2399
+ export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2400
+
2408
2401
  export type NegotiationPartyDto = ({
2409
2402
  type: 'established_party';
2410
2403
  } & NegotiationEstablishedPartyDto) | ({
@@ -2471,7 +2464,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
2471
2464
  sigPageId: string;
2472
2465
  };
2473
2466
 
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';
2467
+ 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
2468
 
2476
2469
  export type PartyRelativeRef = 'our' | 'counterparty';
2477
2470
 
@@ -2498,10 +2491,6 @@ export type ManualReminderEmailInfoDto = {
2498
2491
  emailFailedToDeliver: boolean;
2499
2492
  };
2500
2493
 
2501
- export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2502
-
2503
- export type NegotiationGroupDraftSourceType = 'document' | 'preset' | 'pack';
2504
-
2505
2494
  export type ComponentAnswerDto_FundListEntityDto = {
2506
2495
  entityId: string;
2507
2496
  name: string;
@@ -2531,9 +2520,9 @@ export type QueryExecutionResponseDto = {
2531
2520
  resultSet: RawResultSetDto;
2532
2521
  };
2533
2522
 
2534
- export type SendGroupToCounterpartyResponseDto = {
2535
- negotiationId: string;
2536
- state: SendGroupToCounterpartyResponseDto_SendGroupToCounterpartyResultDto;
2523
+ export type DocumentPublisherDisclaimerDto = {
2524
+ pack?: DocumentPublisherPackDisclaimerDto;
2525
+ document?: DocumentPublisherDocumentDisclaimerDto;
2537
2526
  };
2538
2527
 
2539
2528
  export type RenderedFilenameTemplatesDto = {
@@ -2568,17 +2557,6 @@ export type UpdateCapitalMarketsOrganisationTypeDto = {
2568
2557
  capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
2569
2558
  };
2570
2559
 
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
2560
  export type SubAccountIdNameShareSettingsDto = {
2583
2561
  id: string;
2584
2562
  name: string;
@@ -2642,7 +2620,6 @@ export type SendAdvisorPresetRequestDto = {
2642
2620
  export type NegotiationSummaryDto = {
2643
2621
  watching: boolean;
2644
2622
  document: DocumentWithPackDto;
2645
- subAccountId: string;
2646
2623
  version: string;
2647
2624
  id: string;
2648
2625
  presetSwapped?: boolean;
@@ -2666,10 +2643,11 @@ export type NegotiationSummaryDto = {
2666
2643
  manualReminderEmail?: ManualReminderEmailInfoDto;
2667
2644
  requester: NegotiationRequester;
2668
2645
  customFields: NegotiationCustomFieldsDto;
2646
+ subAccountId: string;
2647
+ packageName?: string;
2669
2648
  markedAsFavourite: boolean;
2670
2649
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
2671
2650
  totalElections: number;
2672
- groupId?: string;
2673
2651
  totalStage2Templates?: number;
2674
2652
  documentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
2675
2653
  bulkSetId?: string;
@@ -2678,7 +2656,6 @@ export type NegotiationSummaryDto = {
2678
2656
  draftCounterparties: Array<CounterpartyDto>;
2679
2657
  dates: NegotiationDatesDto;
2680
2658
  approvers?: Array<string>;
2681
- groupName?: string;
2682
2659
  receivers: Array<ReceiverDto>;
2683
2660
  availableActions: NegotiationSummaryAvailableActionsDto;
2684
2661
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
@@ -2687,6 +2664,7 @@ export type NegotiationSummaryDto = {
2687
2664
  progressStatus: NegotiationStateGroup;
2688
2665
  forkedTo: Array<string>;
2689
2666
  requestingPartyIsInitiator: boolean;
2667
+ packageId?: string;
2690
2668
  chaserEmail?: ManualReminderEmailInfoDto;
2691
2669
  permittedAdvisorAccounts?: Array<string>;
2692
2670
  errorFromLastJob?: NegotiationJobErrorDto;
@@ -2717,6 +2695,8 @@ export type UserFlagsDto = {
2717
2695
  displayIntroductionCounter: number;
2718
2696
  };
2719
2697
 
2698
+ export type NegotiationPackageDraftSourceType = 'document' | 'preset' | 'pack';
2699
+
2720
2700
  export type UserGroupDto = {
2721
2701
  id: string;
2722
2702
  name: string;
@@ -2825,16 +2805,6 @@ export type FeatureDto = {
2825
2805
  enabled: boolean;
2826
2806
  };
2827
2807
 
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
2808
  export type NegotiationFileDto_SignatureFileDto = {
2839
2809
  isRequired: boolean;
2840
2810
  modifiableByPartyIds: Array<string>;
@@ -2937,32 +2907,14 @@ export type DocumentVersionsWithMajorChangesDto_MajorChangesFlagDto = {
2937
2907
  disparity: boolean;
2938
2908
  };
2939
2909
 
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
2910
  export type NegotiationListDto = {
2959
2911
  result: Array<NegotiationSummaryDto>;
2912
+ negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
2960
2913
  pagingMeta?: PagingMetaDto;
2961
2914
  displayReferenceIds: Array<string>;
2915
+ parameters: NegotiationSearchDto;
2962
2916
  negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
2963
2917
  negotiationEntityFilters: NegotiationEntityFiltersDto;
2964
- parameters: NegotiationSearchDto;
2965
- negotiationGroupNames: Array<NegotiationGroupIdAndNameDto>;
2966
2918
  };
2967
2919
 
2968
2920
  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 +2986,30 @@ export type CreateSubAccountResponseDto = {
3034
2986
  id: string;
3035
2987
  };
3036
2988
 
2989
+ export type SendPackageToCounterpartyRequestDto = {
2990
+ negotiationIds: Array<string>;
2991
+ attachDocx?: boolean;
2992
+ attachPdf?: boolean;
2993
+ };
2994
+
2995
+ export type CounterpartyDto = {
2996
+ externalComment?: string;
2997
+ isMixedCorporateGuest: boolean;
2998
+ isFreeEmail?: boolean;
2999
+ displayReferenceId?: string;
3000
+ bulkDraft?: BulkDraftCounterpartyOptionsDto;
3001
+ correlationId?: AccountCorrelationIdDto;
3002
+ attachDocx?: boolean;
3003
+ email?: string;
3004
+ additionalEmails?: Array<EmailWithErrorDto>;
3005
+ attachPdf?: boolean;
3006
+ referenceId?: string;
3007
+ error?: string;
3008
+ externalAttachments?: Array<string>;
3009
+ referenceIdError?: Array<DetailedInputValidationErrorDto>;
3010
+ entity: EntityDto;
3011
+ };
3012
+
3037
3013
  export type UserInviteDto = {
3038
3014
  subAccountIds?: Array<string>;
3039
3015
  lastName: string;
@@ -3168,6 +3144,13 @@ export type BulkDraftCounterpartyOptionsDto = {
3168
3144
  overrideAnswers: PartyAnswersDto;
3169
3145
  };
3170
3146
 
3147
+ export type CreateNegotiationPackageDraftsDto = {
3148
+ name: string;
3149
+ documentIds?: Array<unknown>;
3150
+ presetIds?: Array<unknown>;
3151
+ documentPackIds?: Array<unknown>;
3152
+ };
3153
+
3171
3154
  export type ComponentAnswerDto_NameChangeDto = {
3172
3155
  newName?: string;
3173
3156
  newLei?: string;
@@ -3176,6 +3159,11 @@ export type ComponentAnswerDto_NameChangeDto = {
3176
3159
  exhibitValues: ComponentAnswerDto_ExhibitValuesDto;
3177
3160
  };
3178
3161
 
3162
+ export type FormSubmissionErrorResponseDto = {
3163
+ message: string;
3164
+ errors: Array<string>;
3165
+ };
3166
+
3179
3167
  export type ElectionsDto = {
3180
3168
  standard: Array<ElectionDto>;
3181
3169
  executionDate: ElectionDto;
@@ -3223,16 +3211,6 @@ export type ComponentAnswerDto_BaseColumnLabelDto = {
3223
3211
  label: string;
3224
3212
  };
3225
3213
 
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
3214
  export type ESignNegotiationSessionStatus = 'completed' | 'cancelled';
3237
3215
 
3238
3216
  export type AuthEndpointsResponseDto = {
@@ -3463,6 +3441,10 @@ export type UserListForPickerDto = {
3463
3441
  users: Array<UserForPickerDto>;
3464
3442
  };
3465
3443
 
3444
+ export type UpdateNegotiationPackageMembersDto = {
3445
+ negotiations: Array<string>;
3446
+ };
3447
+
3466
3448
  export type NegotiationFilter_Status_StatusValue = 'Our turn' | 'Counterparty turn';
3467
3449
 
3468
3450
  export type SubAccountComplexStatisticsDto = {
@@ -3584,6 +3566,11 @@ export type CreatePresetRequestDto = {
3584
3566
  documentId?: string;
3585
3567
  };
3586
3568
 
3569
+ export type SendPackageToCounterpartyResponseDto = {
3570
+ negotiationId: string;
3571
+ state: SendPackageToCounterpartyResponseDto_SendPackageToCounterpartyResultDto;
3572
+ };
3573
+
3587
3574
  export type SupportAccessClientDto = {
3588
3575
  clientAccountName: string;
3589
3576
  clientRole: string;
@@ -3606,18 +3593,8 @@ export type EditEventOp = ({
3606
3593
  } & EditEventOp_Formatting) | ({
3607
3594
  type: 'EditEventOp.SpanChange';
3608
3595
  } & EditEventOp_SpanChange) | ({
3609
- type: 'EditEventOp.AnswerValueChange';
3610
- } & EditEventOp_AnswerValueChange);
3611
-
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
- };
3596
+ type: 'EditEventOp.AnswerValueChange';
3597
+ } & EditEventOp_AnswerValueChange);
3621
3598
 
3622
3599
  export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
3623
3600
 
@@ -3655,13 +3632,13 @@ export type NegotiationSingleDto = {
3655
3632
  customFields: NegotiationCustomFieldsDto;
3656
3633
  previouslyReservedElectionIds: Array<string>;
3657
3634
  subAccountId: string;
3635
+ packageName?: string;
3658
3636
  fileExtensionsSupported: Array<string>;
3659
3637
  fundListMetadata?: FundListMetadataDto;
3660
3638
  groupMemberSummaries: Array<NegotiationSummaryDto>;
3661
3639
  markedAsFavourite: boolean;
3662
3640
  electionApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3663
3641
  totalElections: number;
3664
- groupId?: string;
3665
3642
  generalCoverNote?: string;
3666
3643
  forkDate?: string;
3667
3644
  counterpartyHasChangedNestedAnswers: boolean;
@@ -3674,7 +3651,6 @@ export type NegotiationSingleDto = {
3674
3651
  statusLabel: NegotiationStatusLabel;
3675
3652
  permittedAdvisors?: Array<NegotiationAdvisorSummaryDto>;
3676
3653
  draftCounterparties: Array<CounterpartyDto>;
3677
- groupName?: string;
3678
3654
  receivers: Array<ReceiverDto>;
3679
3655
  externalDocumentApproval?: ApprovalDto;
3680
3656
  availableActions: NegotiationAvailableActionsDto;
@@ -3693,6 +3669,7 @@ export type NegotiationSingleDto = {
3693
3669
  progressStatus: NegotiationStateGroup;
3694
3670
  forkedTo: Array<NegotiationSummaryDto>;
3695
3671
  requestingPartyIsInitiator: boolean;
3672
+ packageId?: string;
3696
3673
  defaultsSet: boolean;
3697
3674
  chaserEmail?: ManualReminderEmailInfoDto;
3698
3675
  errorFromLastJob?: NegotiationJobErrorDto;
@@ -3826,6 +3803,10 @@ export type EditEventOp_SpanChange = {
3826
3803
  kind: 'colspan' | 'rowspan';
3827
3804
  };
3828
3805
 
3806
+ export type NegotiationPackageIdDto = {
3807
+ id: string;
3808
+ };
3809
+
3829
3810
  export type AnnouncementDto = {
3830
3811
  lastModified: string;
3831
3812
  description: string;
@@ -4018,6 +3999,8 @@ export type DocumentIdWithDraftingNotesFlagDto = {
4018
3999
  hasExternalDraftingNotes: boolean;
4019
4000
  };
4020
4001
 
4002
+ export type NegotiationOrderKey = 'activeUser' | 'created' | 'documentType' | 'status' | 'lastAction' | 'lastActionWithFavouritesFirst' | 'myEntityName' | 'counterPartyEntityName' | 'displayReferenceId' | 'approverName';
4003
+
4021
4004
  export type WorkflowType = 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
4022
4005
 
4023
4006
  export type FilterResultDto = {
@@ -4083,26 +4066,16 @@ export type ElectionAnswerSummaryDto = {
4083
4066
  amendMatched?: boolean;
4084
4067
  };
4085
4068
 
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
4069
  export type GuestApprovalRequestDto = {
4094
4070
  email: string;
4095
4071
  message: string;
4072
+ brokenBecause?: string;
4096
4073
  };
4097
4074
 
4098
4075
  export type ChangeSigningModeDto = {
4099
4076
  signingMode: string;
4100
4077
  };
4101
4078
 
4102
- export type UpdateNegotiationGroupNameDto = {
4103
- name: string;
4104
- };
4105
-
4106
4079
  export type NotificationSubscriptionStatusDto = {
4107
4080
  email: string;
4108
4081
  mutedNotifications: boolean;
@@ -4196,12 +4169,6 @@ export type DraftingNotesDto = {
4196
4169
  externalDraftingNotes: Array<DraftingNoteDto>;
4197
4170
  };
4198
4171
 
4199
- export type FundListSpreadsheetErrorResponseDto = {
4200
- code: string;
4201
- message: string;
4202
- validationErrors: Array<FundListSpreadsheetValidationErrorDto>;
4203
- };
4204
-
4205
4172
  export type ReceiverUserDto = {
4206
4173
  email: string;
4207
4174
  emailFailedToDeliver?: boolean;
@@ -4238,6 +4205,17 @@ export type SidedNegotiationCountsDto = {
4238
4205
  amendAndRestatement: number;
4239
4206
  };
4240
4207
 
4208
+ export type NegotiationPackageDto = {
4209
+ id: string;
4210
+ name: string;
4211
+ };
4212
+
4213
+ export type FundListSpreadsheetErrorResponseDto = {
4214
+ code: string;
4215
+ message: string;
4216
+ validationErrors: Array<FundListSpreadsheetValidationErrorDto>;
4217
+ };
4218
+
4241
4219
  export type CrossAccountMoveRequestDto = {
4242
4220
  entityId: string;
4243
4221
  notifyIntegrator?: boolean;
@@ -4283,6 +4261,16 @@ export type SchemaSampleConfigurationDto = {
4283
4261
  };
4284
4262
  };
4285
4263
 
4264
+ export type SendPackageToCounterpartyResponseDto_SendPackageToCounterpartyResultDto = {
4265
+ primary?: NegotiationSingleDto;
4266
+ additionalReceivers?: Array<string>;
4267
+ type?: 'success';
4268
+ } | {
4269
+ code?: string;
4270
+ message?: string;
4271
+ type?: 'failure';
4272
+ };
4273
+
4286
4274
  export type AdvisorAccountRelationshipsDto = {
4287
4275
  clients: Array<AdvisorAccountRelationshipDto>;
4288
4276
  advisors: Array<AdvisorAccountRelationshipDto>;
@@ -4393,12 +4381,6 @@ export type LegacyNegotiationStatisticsDto = {
4393
4381
  executedNegotiationCount: number;
4394
4382
  };
4395
4383
 
4396
- export type ReportGenerationRequestDto = {
4397
- documentIds?: Array<string>;
4398
- timeZone?: string;
4399
- subAccountIdForNotification?: string;
4400
- };
4401
-
4402
4384
  export type NonUserWatcherDto = {
4403
4385
  name?: PersonNameDto;
4404
4386
  email: string;
@@ -4428,11 +4410,11 @@ export type PartyAnswersDto = {
4428
4410
  export type NegotiationListMetadataDto = {
4429
4411
  hasPendingExtractions: boolean;
4430
4412
  activeFilters: FilterResultsDto;
4431
- totalFavouriteConfirmedTemplates: number;
4432
4413
  pagingMeta?: PagingMetaDto;
4433
4414
  totalPhase2Templates: number;
4434
4415
  displayReferenceIds: Array<string>;
4435
- negotiationGroupNames: Array<NegotiationGroupIdAndNameDto>;
4416
+ negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
4417
+ totalFavouriteConfirmedTemplates: number;
4436
4418
  negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
4437
4419
  negotiationEntityFilters: NegotiationEntityFiltersDto;
4438
4420
  };
@@ -4450,6 +4432,10 @@ export type DocuSignPreviewSignerDto = {
4450
4432
  emailPath: string;
4451
4433
  };
4452
4434
 
4435
+ export type NegotiationsPackageDto = {
4436
+ negotiations: Array<NegotiationSingleDto>;
4437
+ };
4438
+
4453
4439
  export type CompletedExtractionResultDto = {
4454
4440
  unstructured: UnstructuredExtractionResultDto;
4455
4441
  userAnswers: PartyAnswersDto;
@@ -4488,6 +4474,17 @@ export type AmendDefaultsDto = {
4488
4474
 
4489
4475
  export type DocumentPackAccess = 'required' | 'granted' | 'restricted';
4490
4476
 
4477
+ export type NegotiationPackageDraftSourceDto = {
4478
+ sourceType: 'document' | 'preset' | 'pack';
4479
+ sourceId: string;
4480
+ };
4481
+
4482
+ export type ReportGenerationRequestDto = {
4483
+ documentIds?: Array<string>;
4484
+ timeZone?: string;
4485
+ subAccountIdForNotification?: string;
4486
+ };
4487
+
4491
4488
  export type AccountNameDto = {
4492
4489
  accountName: string;
4493
4490
  };
@@ -4500,6 +4497,12 @@ export type DocumentListAvailableActionsDto = {
4500
4497
  canInviteNoPreset: boolean;
4501
4498
  };
4502
4499
 
4500
+ export type NegotiationPackageDraftSourceErrorDto = {
4501
+ sourceType: 'document' | 'preset' | 'pack';
4502
+ sourceId: string;
4503
+ errorCode: string;
4504
+ };
4505
+
4503
4506
  export type ClonePresetDto = {
4504
4507
  newName?: string;
4505
4508
  newDescription?: string;
@@ -4514,6 +4517,10 @@ export type UserNegotiationStatisticsDto = {
4514
4517
  userId: string;
4515
4518
  };
4516
4519
 
4520
+ export type UpdateNegotiationPackageNameDto = {
4521
+ name: string;
4522
+ };
4523
+
4517
4524
  export type SidedExecutionAttachmentsExistsDto_SidedExistingExecutionAttachmentDto = {
4518
4525
  availableActions: SidedExecutionAttachmentsExistsDto_SidedExistingExecutionAttachmentAvailableActionsDto;
4519
4526
  fileName: string;
@@ -4564,22 +4571,6 @@ export type NestedAnswerPartyElectionsForVersionDto = {
4564
4571
  partyElections: Array<PartyElectionDto>;
4565
4572
  };
4566
4573
 
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
4574
  export type getAmendDefaultsData = {
4584
4575
  body?: never;
4585
4576
  path: {
@@ -5081,39 +5072,6 @@ export type authPingResponses = {
5081
5072
  200: unknown;
5082
5073
  };
5083
5074
 
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
5075
  export type listAllPresetsForSubAccountV1Data = {
5118
5076
  body?: never;
5119
5077
  path: {
@@ -5128,7 +5086,7 @@ export type listAllPresetsForSubAccountV1Data = {
5128
5086
  */
5129
5087
  pageIndex?: number;
5130
5088
  /**
5131
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
5089
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
5132
5090
  */
5133
5091
  pageSize?: number;
5134
5092
  /**
@@ -5487,6 +5445,30 @@ export type updateCommentResponses = {
5487
5445
 
5488
5446
  export type updateCommentResponse = updateCommentResponses[keyof updateCommentResponses];
5489
5447
 
5448
+ export type updatePackageNameData = {
5449
+ body: UpdateNegotiationPackageNameDto;
5450
+ path: {
5451
+ subAccountId: string;
5452
+ negotiationPackageId: string;
5453
+ };
5454
+ query?: never;
5455
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}';
5456
+ };
5457
+
5458
+ export type updatePackageNameErrors = {
5459
+ /**
5460
+ * Negotiation package not found
5461
+ */
5462
+ 404: unknown;
5463
+ };
5464
+
5465
+ export type updatePackageNameResponses = {
5466
+ /**
5467
+ * Negotiation package name updated
5468
+ */
5469
+ 200: unknown;
5470
+ };
5471
+
5490
5472
  export type deleteGeneralCoverNoteData = {
5491
5473
  body?: never;
5492
5474
  path: {
@@ -5883,7 +5865,7 @@ export type listPresetsData = {
5883
5865
  */
5884
5866
  pageIndex?: number;
5885
5867
  /**
5886
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
5868
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
5887
5869
  */
5888
5870
  pageSize?: number;
5889
5871
  /**
@@ -6374,9 +6356,9 @@ export type generateNegotiationsReportData = {
6374
6356
  */
6375
6357
  staleTo?: number;
6376
6358
  /**
6377
- * Filter by negotiation group id
6359
+ * Filter by negotiation package id
6378
6360
  */
6379
- groupId?: Array<string>;
6361
+ packageId?: Array<string>;
6380
6362
  /**
6381
6363
  * Filter by negotiation provided list of bulk set ids
6382
6364
  */
@@ -6398,7 +6380,7 @@ export type generateNegotiationsReportData = {
6398
6380
  */
6399
6381
  pageIndex?: number;
6400
6382
  /**
6401
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
6383
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
6402
6384
  */
6403
6385
  pageSize?: number;
6404
6386
  /**
@@ -6575,30 +6557,6 @@ export type negotiationGetDocumentSchemaResponses = {
6575
6557
 
6576
6558
  export type negotiationGetDocumentSchemaResponse = negotiationGetDocumentSchemaResponses[keyof negotiationGetDocumentSchemaResponses];
6577
6559
 
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
6560
  export type changeSigningModeData = {
6603
6561
  body?: ChangeSigningModeDto;
6604
6562
  path: {
@@ -6972,29 +6930,6 @@ export type createAuditTrailJsonResponses = {
6972
6930
 
6973
6931
  export type createAuditTrailJsonResponse = createAuditTrailJsonResponses[keyof createAuditTrailJsonResponses];
6974
6932
 
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
6933
  export type getApprovalHistoryData = {
6999
6934
  body?: never;
7000
6935
  path: {
@@ -7168,35 +7103,24 @@ export type uploadFundListSpreadsheetResponses = {
7168
7103
 
7169
7104
  export type uploadFundListSpreadsheetResponse = uploadFundListSpreadsheetResponses[keyof uploadFundListSpreadsheetResponses];
7170
7105
 
7171
- export type sendGroupToCounterpartyData = {
7172
- body: SendGroupToCounterpartyRequestDto;
7106
+ export type getNegotiationsPackageData = {
7107
+ body?: never;
7173
7108
  path: {
7174
7109
  subAccountId: string;
7175
- negotiationGroupId: string;
7110
+ negotiationPackageId: string;
7176
7111
  };
7177
7112
  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;
7113
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/negotiations';
7190
7114
  };
7191
7115
 
7192
- export type sendGroupToCounterpartyResponses = {
7116
+ export type getNegotiationsPackageResponses = {
7193
7117
  /**
7194
- * Negotiations in the group sent to counterparty
7118
+ * A negotiation package
7195
7119
  */
7196
- 200: Array<SendGroupToCounterpartyResponseDto>;
7120
+ 200: NegotiationsPackageDto;
7197
7121
  };
7198
7122
 
7199
- export type sendGroupToCounterpartyResponse = sendGroupToCounterpartyResponses[keyof sendGroupToCounterpartyResponses];
7123
+ export type getNegotiationsPackageResponse = getNegotiationsPackageResponses[keyof getNegotiationsPackageResponses];
7200
7124
 
7201
7125
  export type breakingChangesData = {
7202
7126
  body?: never;
@@ -7544,7 +7468,7 @@ export type getNegotiationData = {
7544
7468
 
7545
7469
  export type getNegotiationResponses = {
7546
7470
  /**
7547
- * A negotiation and summaries of other group members
7471
+ * A negotiation and summaries of other package members
7548
7472
  */
7549
7473
  200: Array<NegotiationSingleDto>;
7550
7474
  };
@@ -7694,26 +7618,6 @@ export type negotiationRenderCounterpartyTemplateAtVersionResponses = {
7694
7618
 
7695
7619
  export type negotiationRenderCounterpartyTemplateAtVersionResponse = negotiationRenderCounterpartyTemplateAtVersionResponses[keyof negotiationRenderCounterpartyTemplateAtVersionResponses];
7696
7620
 
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
7621
  export type acceptAllEventsData = {
7718
7622
  body: BulkBlacklineRequestDto;
7719
7623
  path: {
@@ -7814,66 +7718,66 @@ export type syncFundListResponses = {
7814
7718
 
7815
7719
  export type syncFundListResponse = syncFundListResponses[keyof syncFundListResponses];
7816
7720
 
7817
- export type markActivityEventsAsViewedData = {
7818
- /**
7819
- * An empty payload `{}` will mark all activities as read
7820
- */
7821
- body?: MarkEventAsReadRequestDto;
7721
+ export type createPackageWithDraftsData = {
7722
+ body: CreateNegotiationPackageDraftsDto;
7822
7723
  path: {
7823
7724
  subAccountId: string;
7824
- negotiationId: string;
7825
7725
  };
7826
7726
  query?: never;
7827
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead';
7727
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/drafts';
7828
7728
  };
7829
7729
 
7830
- export type markActivityEventsAsViewedErrors = {
7730
+ export type createPackageWithDraftsErrors = {
7831
7731
  /**
7832
- * Negotiation not found
7732
+ * 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
7733
  */
7834
- 404: unknown;
7734
+ 400: unknown;
7735
+ /**
7736
+ * The role cannot create negotiation packages
7737
+ */
7738
+ 403: unknown;
7739
+ /**
7740
+ * The negotiation package name is already used in this workspace
7741
+ */
7742
+ 409: unknown;
7835
7743
  };
7836
7744
 
7837
- export type markActivityEventsAsViewedResponses = {
7745
+ export type createPackageWithDraftsResponses = {
7838
7746
  /**
7839
- * All specified activities timeline events for a negotiation and requesting user as read
7747
+ * The negotiation package was created, along with a draft for at least one source. Sources that produced no draft are listed in failures
7840
7748
  */
7841
- 200: unknown;
7749
+ 201: NegotiationPackageDraftsResponseDto;
7842
7750
  };
7843
7751
 
7844
- export type dryRunGroupWithDraftsData = {
7845
- body: CreateNegotiationGroupDraftsDto;
7752
+ export type createPackageWithDraftsResponse = createPackageWithDraftsResponses[keyof createPackageWithDraftsResponses];
7753
+
7754
+ export type markActivityEventsAsViewedData = {
7755
+ /**
7756
+ * An empty payload `{}` will mark all activities as read
7757
+ */
7758
+ body?: MarkEventAsReadRequestDto;
7846
7759
  path: {
7847
7760
  subAccountId: string;
7761
+ negotiationId: string;
7848
7762
  };
7849
7763
  query?: never;
7850
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/drafts/dryRun';
7764
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/activities/markAsRead';
7851
7765
  };
7852
7766
 
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;
7767
+ export type markActivityEventsAsViewedErrors = {
7862
7768
  /**
7863
- * The negotiation group name is already used in this workspace
7769
+ * Negotiation not found
7864
7770
  */
7865
- 409: unknown;
7771
+ 404: unknown;
7866
7772
  };
7867
7773
 
7868
- export type dryRunGroupWithDraftsResponses = {
7774
+ export type markActivityEventsAsViewedResponses = {
7869
7775
  /**
7870
- * At least one source would produce a draft. Sources that would not are listed in failures
7776
+ * All specified activities timeline events for a negotiation and requesting user as read
7871
7777
  */
7872
- 200: NegotiationGroupDraftsDryRunResponseDto;
7778
+ 200: unknown;
7873
7779
  };
7874
7780
 
7875
- export type dryRunGroupWithDraftsResponse = dryRunGroupWithDraftsResponses[keyof dryRunGroupWithDraftsResponses];
7876
-
7877
7781
  export type cancelExtractionData = {
7878
7782
  body?: never;
7879
7783
  path: {
@@ -7950,66 +7854,32 @@ export type editAnswersResponses = {
7950
7854
  200: NegotiationWithTimelineAndPreviewDto;
7951
7855
  };
7952
7856
 
7953
- export type editAnswersResponse = editAnswersResponses[keyof editAnswersResponses];
7954
-
7955
- export type getCommentsData = {
7956
- body?: never;
7957
- path: {
7958
- subAccountId: string;
7959
- negotiationId: string;
7960
- };
7961
- query?: never;
7962
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/comments';
7963
- };
7964
-
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;
7857
+ export type editAnswersResponse = editAnswersResponses[keyof editAnswersResponses];
7858
+
7859
+ export type getCommentsData = {
7860
+ body?: never;
7981
7861
  path: {
7982
7862
  subAccountId: string;
7983
- negotiationGroupId: string;
7863
+ negotiationId: string;
7984
7864
  };
7985
7865
  query?: never;
7986
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/parties';
7866
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/timeline/comments';
7987
7867
  };
7988
7868
 
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;
7869
+ export type getCommentsErrors = {
7998
7870
  /**
7999
- * Negotiation group not found, or the owner entity is not available in this workspace
7871
+ * Negotiation not found
8000
7872
  */
8001
7873
  404: unknown;
8002
7874
  };
8003
7875
 
8004
- export type setGroupPartiesResponses = {
7876
+ export type getCommentsResponses = {
8005
7877
  /**
8006
- * The negotiations that were updated, and any that could not be
7878
+ * All comments for a negotiation packageed by document comments or corresponding election ID
8007
7879
  */
8008
- 200: SetNegotiationGroupPartiesResponseDto;
7880
+ 200: unknown;
8009
7881
  };
8010
7882
 
8011
- export type setGroupPartiesResponse = setGroupPartiesResponses[keyof setGroupPartiesResponses];
8012
-
8013
7883
  export type contactForNewApproverData = {
8014
7884
  body?: never;
8015
7885
  path: {
@@ -8056,6 +7926,26 @@ export type getDraftingNotesDocumentResponses = {
8056
7926
 
8057
7927
  export type getDraftingNotesDocumentResponse = getDraftingNotesDocumentResponses[keyof getDraftingNotesDocumentResponses];
8058
7928
 
7929
+ export type suggestPackageNameData = {
7930
+ body?: never;
7931
+ path: {
7932
+ subAccountId: string;
7933
+ };
7934
+ query: {
7935
+ desiredName: string;
7936
+ };
7937
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/nameSuggestions';
7938
+ };
7939
+
7940
+ export type suggestPackageNameResponses = {
7941
+ /**
7942
+ * Available negotiation package name
7943
+ */
7944
+ 200: NegotiationPackageIdDto;
7945
+ };
7946
+
7947
+ export type suggestPackageNameResponse = suggestPackageNameResponses[keyof suggestPackageNameResponses];
7948
+
8059
7949
  export type acceptAllPositionsFromForkData = {
8060
7950
  body?: never;
8061
7951
  path: {
@@ -8136,41 +8026,45 @@ export type createSigningPackResponses = {
8136
8026
 
8137
8027
  export type createSigningPackResponse = createSigningPackResponses[keyof createSigningPackResponses];
8138
8028
 
8139
- export type getGroupNamesData = {
8140
- body?: never;
8029
+ export type getNegotiationDeltasData = {
8030
+ body: GetNegotiationDeltasDto;
8141
8031
  path: {
8142
8032
  subAccountId: string;
8143
8033
  };
8144
8034
  query?: never;
8145
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups';
8035
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/deltas/calculate';
8146
8036
  };
8147
8037
 
8148
- export type getGroupNamesResponses = {
8038
+ export type getNegotiationDeltasResponses = {
8149
8039
  /**
8150
- * Names of the groups within a Sub-Account
8040
+ * Negotiations deltas (if any).
8151
8041
  */
8152
- 200: Array<NegotiationGroupDto>;
8042
+ 200: unknown;
8153
8043
  };
8154
8044
 
8155
- export type getGroupNamesResponse = getGroupNamesResponses[keyof getGroupNamesResponses];
8156
-
8157
- export type createGroupData = {
8158
- body: CreateNegotiationGroupDto;
8045
+ export type updatePackageMembersData = {
8046
+ body: UpdateNegotiationPackageMembersDto;
8159
8047
  path: {
8160
8048
  subAccountId: string;
8049
+ negotiationPackageId: string;
8161
8050
  };
8162
8051
  query?: never;
8163
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups';
8052
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/members';
8164
8053
  };
8165
8054
 
8166
- export type createGroupResponses = {
8055
+ export type updatePackageMembersErrors = {
8167
8056
  /**
8168
- * Negotiation group created
8057
+ * Negotiation package not found
8169
8058
  */
8170
- 201: NegotiationGroupIdDto;
8059
+ 404: unknown;
8171
8060
  };
8172
8061
 
8173
- export type createGroupResponse = createGroupResponses[keyof createGroupResponses];
8062
+ export type updatePackageMembersResponses = {
8063
+ /**
8064
+ * Negotiation package members updated
8065
+ */
8066
+ 200: unknown;
8067
+ };
8174
8068
 
8175
8069
  export type getNegotiationNestedAmendValueData = {
8176
8070
  body?: never;
@@ -8563,6 +8457,65 @@ export type updateUserAnswersResponses = {
8563
8457
 
8564
8458
  export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
8565
8459
 
8460
+ export type updateNegotiationsToMatchData = {
8461
+ body: UpdateNegotiationsToMatchDto;
8462
+ path: {
8463
+ subAccountId: string;
8464
+ };
8465
+ query?: never;
8466
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/deltas/apply';
8467
+ };
8468
+
8469
+ export type updateNegotiationsToMatchErrors = {
8470
+ /**
8471
+ * One or more negotiations could not be updated, so none were updated.
8472
+ */
8473
+ 409: unknown;
8474
+ };
8475
+
8476
+ export type updateNegotiationsToMatchResponses = {
8477
+ /**
8478
+ * Negotiations updated.
8479
+ */
8480
+ 200: unknown;
8481
+ };
8482
+
8483
+ export type getPackageNamesData = {
8484
+ body?: never;
8485
+ path: {
8486
+ subAccountId: string;
8487
+ };
8488
+ query?: never;
8489
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages';
8490
+ };
8491
+
8492
+ export type getPackageNamesResponses = {
8493
+ /**
8494
+ * Names of the packages within a Sub-Account
8495
+ */
8496
+ 200: Array<NegotiationPackageDto>;
8497
+ };
8498
+
8499
+ export type getPackageNamesResponse = getPackageNamesResponses[keyof getPackageNamesResponses];
8500
+
8501
+ export type createPackageData = {
8502
+ body: CreateNegotiationPackageDto;
8503
+ path: {
8504
+ subAccountId: string;
8505
+ };
8506
+ query?: never;
8507
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages';
8508
+ };
8509
+
8510
+ export type createPackageResponses = {
8511
+ /**
8512
+ * Negotiation package created
8513
+ */
8514
+ 201: NegotiationPackageIdDto;
8515
+ };
8516
+
8517
+ export type createPackageResponse = createPackageResponses[keyof createPackageResponses];
8518
+
8566
8519
  export type rejectAllEventsData = {
8567
8520
  body: BulkBlacklineRequestDto;
8568
8521
  path: {
@@ -8732,29 +8685,21 @@ export type assignToMeResponses = {
8732
8685
 
8733
8686
  export type assignToMeResponse = assignToMeResponses[keyof assignToMeResponses];
8734
8687
 
8735
- export type updateGroupMembersData = {
8736
- body: UpdateNegotiationGroupMembersDto;
8737
- path: {
8738
- subAccountId: string;
8739
- negotiationGroupId: string;
8740
- };
8688
+ export type checkForBrokenGuestApprovalRequestsData = {
8689
+ body: CheckForBrokenGuestApprovalRequestsDto;
8690
+ path?: never;
8741
8691
  query?: never;
8742
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/members';
8692
+ url: '/api/v1/account/checkForBrokenGuestApprovalRequests';
8743
8693
  };
8744
8694
 
8745
- export type updateGroupMembersErrors = {
8695
+ export type checkForBrokenGuestApprovalRequestsResponses = {
8746
8696
  /**
8747
- * Negotiation group not found
8697
+ * A list of workspaces that contain broken negotiations in connection to a specific guest approval invitation email, which was caused by an admin action. Also includes a list of potential users that can replace the broken guest approver.
8748
8698
  */
8749
- 404: unknown;
8699
+ 200: BrokenApproversSummaryDto;
8750
8700
  };
8751
8701
 
8752
- export type updateGroupMembersResponses = {
8753
- /**
8754
- * Negotiation group members updated
8755
- */
8756
- 200: unknown;
8757
- };
8702
+ export type checkForBrokenGuestApprovalRequestsResponse = checkForBrokenGuestApprovalRequestsResponses[keyof checkForBrokenGuestApprovalRequestsResponses];
8758
8703
 
8759
8704
  export type getSignedSignaturePagePDFData = {
8760
8705
  body?: never;
@@ -8854,7 +8799,7 @@ export type documentsFilterData = {
8854
8799
  */
8855
8800
  pageIndex?: number;
8856
8801
  /**
8857
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
8802
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
8858
8803
  */
8859
8804
  pageSize?: number;
8860
8805
  };
@@ -9225,6 +9170,44 @@ export type getPartyAnswersResponses = {
9225
9170
 
9226
9171
  export type getPartyAnswersResponse = getPartyAnswersResponses[keyof getPartyAnswersResponses];
9227
9172
 
9173
+ export type getPotentialUsersData = {
9174
+ body?: never;
9175
+ path: {
9176
+ subAccountId: string;
9177
+ };
9178
+ query?: {
9179
+ /**
9180
+ * Include super managers (who are in all Sub-Accounts) in the response
9181
+ */
9182
+ includeSuperManagers?: boolean;
9183
+ /**
9184
+ * Include admins (who are in all Sub-Accounts) in the response
9185
+ */
9186
+ includeAdmins?: boolean;
9187
+ /**
9188
+ * Include advisors in the response
9189
+ */
9190
+ includeAdvisors?: boolean;
9191
+ };
9192
+ url: '/api/v1/subaccount/{subAccountId}/potentialUsers';
9193
+ };
9194
+
9195
+ export type getPotentialUsersErrors = {
9196
+ /**
9197
+ * Sub-account not found
9198
+ */
9199
+ 404: unknown;
9200
+ };
9201
+
9202
+ export type getPotentialUsersResponses = {
9203
+ /**
9204
+ * List all of the potential users of the specified subaccount
9205
+ */
9206
+ 200: UserListForPickerDto;
9207
+ };
9208
+
9209
+ export type getPotentialUsersResponse = getPotentialUsersResponses[keyof getPotentialUsersResponses];
9210
+
9228
9211
  export type deletePresetData = {
9229
9212
  body?: never;
9230
9213
  path: {
@@ -9277,63 +9260,6 @@ export type createPresetAuditTrailJsonResponses = {
9277
9260
 
9278
9261
  export type createPresetAuditTrailJsonResponse = createPresetAuditTrailJsonResponses[keyof createPresetAuditTrailJsonResponses];
9279
9262
 
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
9263
  export type consentCodeCallbackData = {
9338
9264
  body?: never;
9339
9265
  path?: never;
@@ -9443,7 +9369,7 @@ export type getApprovalCommentsErrors = {
9443
9369
 
9444
9370
  export type getApprovalCommentsResponses = {
9445
9371
  /**
9446
- * All approval comments for a negotiation grouped by document comments or corresponding election ID
9372
+ * All approval comments for a negotiation packageed by document comments or corresponding election ID
9447
9373
  */
9448
9374
  200: ApprovalCommentsDto;
9449
9375
  };
@@ -9897,9 +9823,9 @@ export type listNegotiationsData = {
9897
9823
  */
9898
9824
  staleTo?: number;
9899
9825
  /**
9900
- * Filter by negotiation group id
9826
+ * Filter by negotiation package id
9901
9827
  */
9902
- groupId?: Array<string>;
9828
+ packageId?: Array<string>;
9903
9829
  /**
9904
9830
  * Filter by negotiation provided list of bulk set ids
9905
9831
  */
@@ -9921,7 +9847,7 @@ export type listNegotiationsData = {
9921
9847
  */
9922
9848
  pageIndex?: number;
9923
9849
  /**
9924
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
9850
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
9925
9851
  */
9926
9852
  pageSize?: number;
9927
9853
  /**
@@ -10033,7 +9959,7 @@ export type listNegotiationsData = {
10033
9959
 
10034
9960
  export type listNegotiationsResponses = {
10035
9961
  /**
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.
9962
+ * 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
9963
  */
10038
9964
  200: NegotiationListDto;
10039
9965
  };
@@ -10209,7 +10135,7 @@ export type listDocumentsWithPaginationData = {
10209
10135
  */
10210
10136
  pageIndex: number;
10211
10137
  /**
10212
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
10138
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
10213
10139
  */
10214
10140
  pageSize: number;
10215
10141
  /**
@@ -10343,7 +10269,7 @@ export type listAllPresetsForSubAccountV2Data = {
10343
10269
  */
10344
10270
  pageIndex?: number;
10345
10271
  /**
10346
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
10272
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
10347
10273
  */
10348
10274
  pageSize?: number;
10349
10275
  /**
@@ -10868,7 +10794,7 @@ export type createBulkSetData = {
10868
10794
 
10869
10795
  export type createBulkSetResponses = {
10870
10796
  /**
10871
- * Negotiation group created
10797
+ * Negotiation package created
10872
10798
  */
10873
10799
  201: CreateBulkSetResponseDto;
10874
10800
  };
@@ -11015,7 +10941,7 @@ export type negotiationsFilterData = {
11015
10941
  */
11016
10942
  pageIndex?: number;
11017
10943
  /**
11018
- * Number of items to return in one page. One Item is either one non grouped negotiation or all negotiations in a group.
10944
+ * Number of items to return in one page. One Item is either one non-packaged negotiation or all negotiations in a package.
11019
10945
  */
11020
10946
  pageSize?: number;
11021
10947
  };
@@ -11900,6 +11826,70 @@ export type schemaAvailableAsCDMResponses = {
11900
11826
 
11901
11827
  export type schemaAvailableAsCDMResponse = schemaAvailableAsCDMResponses[keyof schemaAvailableAsCDMResponses];
11902
11828
 
11829
+ export type sendPackageToCounterpartyData = {
11830
+ body: SendPackageToCounterpartyRequestDto;
11831
+ path: {
11832
+ subAccountId: string;
11833
+ negotiationPackageId: string;
11834
+ };
11835
+ query?: never;
11836
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/sendToCounterparty';
11837
+ };
11838
+
11839
+ export type sendPackageToCounterpartyErrors = {
11840
+ /**
11841
+ * Unauthorised access of the negotiation package and the Sub-Account
11842
+ */
11843
+ 403: unknown;
11844
+ /**
11845
+ * Could not save new version
11846
+ */
11847
+ 409: unknown;
11848
+ };
11849
+
11850
+ export type sendPackageToCounterpartyResponses = {
11851
+ /**
11852
+ * Negotiations in the package sent to counterparty
11853
+ */
11854
+ 200: Array<SendPackageToCounterpartyResponseDto>;
11855
+ };
11856
+
11857
+ export type sendPackageToCounterpartyResponse = sendPackageToCounterpartyResponses[keyof sendPackageToCounterpartyResponses];
11858
+
11859
+ export type setPackagePartiesData = {
11860
+ body: SetNegotiationPackagePartiesDto;
11861
+ path: {
11862
+ subAccountId: string;
11863
+ negotiationPackageId: string;
11864
+ };
11865
+ query?: never;
11866
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/{negotiationPackageId}/parties';
11867
+ };
11868
+
11869
+ export type setPackagePartiesErrors = {
11870
+ /**
11871
+ * Neither an owner entity nor a counterparty was supplied, or the supplied details are invalid
11872
+ */
11873
+ 400: unknown;
11874
+ /**
11875
+ * Unauthorised access of the negotiation package and the Sub-Account, or no negotiation in the package is in a state that accepts the change
11876
+ */
11877
+ 403: unknown;
11878
+ /**
11879
+ * Negotiation package not found, or the owner entity is not available in this workspace
11880
+ */
11881
+ 404: unknown;
11882
+ };
11883
+
11884
+ export type setPackagePartiesResponses = {
11885
+ /**
11886
+ * The negotiations that were updated, and any that could not be
11887
+ */
11888
+ 200: SetNegotiationPackagePartiesResponseDto;
11889
+ };
11890
+
11891
+ export type setPackagePartiesResponse = setPackagePartiesResponses[keyof setPackagePartiesResponses];
11892
+
11903
11893
  export type revokeWindowData = {
11904
11894
  body?: never;
11905
11895
  path?: never;
@@ -12219,6 +12209,39 @@ export type createSignaturePagePDFResponses = {
12219
12209
 
12220
12210
  export type createSignaturePagePDFResponse = createSignaturePagePDFResponses[keyof createSignaturePagePDFResponses];
12221
12211
 
12212
+ export type dryRunPackageWithDraftsData = {
12213
+ body: CreateNegotiationPackageDraftsDto;
12214
+ path: {
12215
+ subAccountId: string;
12216
+ };
12217
+ query?: never;
12218
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationPackages/drafts/dryRun';
12219
+ };
12220
+
12221
+ export type dryRunPackageWithDraftsErrors = {
12222
+ /**
12223
+ * 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
12224
+ */
12225
+ 400: unknown;
12226
+ /**
12227
+ * The role cannot create negotiation packages
12228
+ */
12229
+ 403: unknown;
12230
+ /**
12231
+ * The negotiation package name is already used in this workspace
12232
+ */
12233
+ 409: unknown;
12234
+ };
12235
+
12236
+ export type dryRunPackageWithDraftsResponses = {
12237
+ /**
12238
+ * At least one source would produce a draft. Sources that would not are listed in failures
12239
+ */
12240
+ 200: NegotiationPackageDraftsDryRunResponseDto;
12241
+ };
12242
+
12243
+ export type dryRunPackageWithDraftsResponse = dryRunPackageWithDraftsResponses[keyof dryRunPackageWithDraftsResponses];
12244
+
12222
12245
  export type upgradePresetSchemaData = {
12223
12246
  body?: never;
12224
12247
  path: {