@createiq/backend 1.0.20 → 1.0.22

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.
@@ -323,6 +323,12 @@ export type ValidInvitationResponseDto = {
323
323
  firstName?: string;
324
324
  };
325
325
 
326
+ export type ShareNegotiationRequestDto = {
327
+ generalMessage?: string;
328
+ accountUsers: Array<AccountUserShareDto>;
329
+ newUsers: Array<NewUserShareDto>;
330
+ };
331
+
326
332
  export type ApprovalCountStatisticsDto = {
327
333
  myPendingApprovals: PendingApprovalCountsDto;
328
334
  teamPendingApprovals: PendingApprovalCountsDto;
@@ -680,6 +686,8 @@ export type DocumentErrorResponseDto = {
680
686
  documentCauses?: Array<MajorChangeSummaryDto>;
681
687
  };
682
688
 
689
+ export type AuditReportType = 'audit_log_report' | 'comments_log_report';
690
+
683
691
  export type UserForPickerDto = {
684
692
  role: string;
685
693
  profileColour: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
@@ -870,6 +878,11 @@ export type ActiveOrPendingUserForNakhodaAdminDto = {
870
878
  status: string;
871
879
  };
872
880
 
881
+ export type NewUserShareDto = {
882
+ email: string;
883
+ message?: string;
884
+ };
885
+
873
886
  export type ESignNegotiationStatusDto = {
874
887
  subAccountId: string;
875
888
  sessionStatus?: ESignSessionStatusDto;
@@ -1501,7 +1514,7 @@ export type CreateApiUserRequest = {
1501
1514
  externalParty?: ExternalPartyDto;
1502
1515
  };
1503
1516
 
1504
- export type NotificationSearchType = 'taggedInComment' | 'electionApprovalResponseReceived' | 'finalApprovalResponseReceived' | 'taggedInApprovalComment' | 'comment' | 'approvalComment' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'newDocumentAvailable' | 'subAccountAssignedToAdvisor' | 'negotiationAssignedToAdvisor' | 'negotiationCancelled';
1517
+ export type NotificationSearchType = 'taggedInComment' | 'electionApprovalResponseReceived' | 'finalApprovalResponseReceived' | 'taggedInApprovalComment' | 'comment' | 'approvalComment' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'newDocumentAvailable' | 'subAccountAssignedToAdvisor' | 'negotiationAssignedToAdvisor' | 'negotiationCancelled' | 'negotiationAccessRequested';
1505
1518
 
1506
1519
  export type ComponentAnswerDto_RepeatingGroup = {
1507
1520
  isPendingReorder?: boolean;
@@ -1739,10 +1752,6 @@ export type AdminAccountWithEntitiesDto = {
1739
1752
  accountDomains: Array<string>;
1740
1753
  };
1741
1754
 
1742
- export type ApprovalCommentsAvailableActionsDto = {
1743
- canCreate: boolean;
1744
- };
1745
-
1746
1755
  export type UnsubscribeRequestDto = {
1747
1756
  email: string;
1748
1757
  hash: string;
@@ -1760,6 +1769,15 @@ export type ApproverDto = ({
1760
1769
  type: 'AnonymousApproverDto';
1761
1770
  } & AnonymousApproverDto);
1762
1771
 
1772
+ export type ApprovalCommentsAvailableActionsDto = {
1773
+ canCreate: boolean;
1774
+ };
1775
+
1776
+ export type AccountUserShareDto = {
1777
+ userId: string;
1778
+ message?: string;
1779
+ };
1780
+
1763
1781
  export type NoteType = 'internal' | 'external';
1764
1782
 
1765
1783
  export type SubAccountSummaryDto = {
@@ -1950,7 +1968,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
1950
1968
  sigPageId: string;
1951
1969
  };
1952
1970
 
1953
- export type EmailTemplate = 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'userTaggedInComment' | 'userTaggedInApprovalComment' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'negotiationInvite' | 'notifyDraft' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationUpdate' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'chaserEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | 'electionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'electionApprovalResponsesReceived' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'notifyCounterpartyUnsubscribed' | 'dailyNotificationDigest' | 'existingApproverReplaced';
1971
+ export type EmailTemplate = 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'userTaggedInComment' | 'userTaggedInApprovalComment' | 'shareNegotiation' | 'accessRequest' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'negotiationInvite' | 'notifyDraft' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationUpdate' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'chaserEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | 'electionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'electionApprovalResponsesReceived' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'dailyNotificationDigest' | 'existingApproverReplaced';
1954
1972
 
1955
1973
  export type PartyRelativeRef = 'our' | 'counterparty';
1956
1974
 
@@ -2721,8 +2739,6 @@ export type SelectedElectionsRequestDto = {
2721
2739
  electionIds: Array<string>;
2722
2740
  };
2723
2741
 
2724
- export type TimelineEventType = unknown;
2725
-
2726
2742
  export type SubAccountIdAndNameDto = {
2727
2743
  subAccountId: string;
2728
2744
  subAccountName: string;
@@ -2795,6 +2811,10 @@ export type ExtractionResultSummaryDto = {
2795
2811
  error?: ErrorResponse;
2796
2812
  };
2797
2813
 
2814
+ export type TimelineEventType = unknown;
2815
+
2816
+ export type AccessRequestState = 'pending' | 'approved' | 'rejected';
2817
+
2798
2818
  export type UserId = string;
2799
2819
 
2800
2820
  export type PartyElectionNestedAnswersDto = {
@@ -4338,25 +4358,23 @@ export type UpdateSelectedElections_Responses = {
4338
4358
 
4339
4359
  export type UpdateSelectedElections_Response = UpdateSelectedElections_Responses[keyof UpdateSelectedElections_Responses];
4340
4360
 
4341
- export type AuditTrailForAccountAsExcel_Data = {
4361
+ export type GenerateAuditTrailForAccountAsExcel_Data = {
4342
4362
  body?: never;
4343
4363
  path?: never;
4344
4364
  query: {
4345
4365
  includeSubAccountEvents: boolean;
4346
- yearMonths: Array<string>;
4366
+ yearMonths?: Array<string>;
4347
4367
  };
4348
4368
  url: '/api/v1/account/audit_trail/xlsx';
4349
4369
  };
4350
4370
 
4351
- export type AuditTrailForAccountAsExcel_Responses = {
4371
+ export type GenerateAuditTrailForAccountAsExcel_Responses = {
4352
4372
  /**
4353
- * XLSX formatted data
4373
+ * The report was generated and the email was sent
4354
4374
  */
4355
- 200: Blob | File;
4375
+ 202: unknown;
4356
4376
  };
4357
4377
 
4358
- export type AuditTrailForAccountAsExcel_Response = AuditTrailForAccountAsExcel_Responses[keyof AuditTrailForAccountAsExcel_Responses];
4359
-
4360
4378
  export type PresetEditAnswers_Data = {
4361
4379
  body: PartyAnswersDto;
4362
4380
  path: {
@@ -4871,6 +4889,36 @@ export type NegotiationForkHistory_Responses = {
4871
4889
 
4872
4890
  export type NegotiationForkHistory_Response = NegotiationForkHistory_Responses[keyof NegotiationForkHistory_Responses];
4873
4891
 
4892
+ export type MoveEntity_Data = {
4893
+ body: MoveEntityDto;
4894
+ path: {
4895
+ entityId: string;
4896
+ subAccountId: string;
4897
+ };
4898
+ query?: never;
4899
+ url: '/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move';
4900
+ };
4901
+
4902
+ export type MoveEntity_Errors = {
4903
+ /**
4904
+ * Entity could not be found on the Sub-Account
4905
+ */
4906
+ 404: unknown;
4907
+ /**
4908
+ * Entity cannot be moved from and to the same Sub-Account
4909
+ */
4910
+ 419: unknown;
4911
+ };
4912
+
4913
+ export type MoveEntity_Responses = {
4914
+ /**
4915
+ * Entity successfully moved
4916
+ */
4917
+ 200: RemovedUsersDto;
4918
+ };
4919
+
4920
+ export type MoveEntity_Response = MoveEntity_Responses[keyof MoveEntity_Responses];
4921
+
4874
4922
  export type ListEntities_Data = {
4875
4923
  body?: never;
4876
4924
  path?: never;
@@ -4964,10 +5012,147 @@ export type SetElectionApproval_Responses = {
4964
5012
 
4965
5013
  export type SetElectionApproval_Response = SetElectionApproval_Responses[keyof SetElectionApproval_Responses];
4966
5014
 
4967
- export type DownloadDashboardReportAsExcel_Data = {
5015
+ export type DeleteApprovalComment_Data = {
4968
5016
  body?: never;
4969
5017
  path: {
4970
5018
  subAccountId: string;
5019
+ negotiationId: string;
5020
+ approvalCommentId: string;
5021
+ };
5022
+ query?: never;
5023
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}';
5024
+ };
5025
+
5026
+ export type DeleteApprovalComment_Errors = {
5027
+ /**
5028
+ * Action not permitted (user does not have permission)
5029
+ */
5030
+ 403: unknown;
5031
+ };
5032
+
5033
+ export type DeleteApprovalComment_Responses = {
5034
+ /**
5035
+ * The deleted comment
5036
+ */
5037
+ 200: unknown;
5038
+ };
5039
+
5040
+ export type EditApprovalComment_Data = {
5041
+ body: UpdateCommentDto;
5042
+ path: {
5043
+ subAccountId: string;
5044
+ negotiationId: string;
5045
+ approvalCommentId: string;
5046
+ };
5047
+ query?: never;
5048
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}';
5049
+ };
5050
+
5051
+ export type EditApprovalComment_Errors = {
5052
+ /**
5053
+ * Comment value is empty
5054
+ */
5055
+ 403: unknown;
5056
+ };
5057
+
5058
+ export type EditApprovalComment_Responses = {
5059
+ /**
5060
+ * The updated comment
5061
+ */
5062
+ 200: ApprovalCommentDto;
5063
+ };
5064
+
5065
+ export type EditApprovalComment_Response = EditApprovalComment_Responses[keyof EditApprovalComment_Responses];
5066
+
5067
+ export type DeleteExternalAttachment_Data = {
5068
+ body?: never;
5069
+ path: {
5070
+ subAccountId: string;
5071
+ negotiationId: string;
5072
+ fileName: string;
5073
+ };
5074
+ query?: never;
5075
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}';
5076
+ };
5077
+
5078
+ export type DeleteExternalAttachment_Responses = {
5079
+ /**
5080
+ * The invite attachment was deleted successfully. Returns all invite attachments
5081
+ */
5082
+ 200: AttachmentsExistsDto;
5083
+ };
5084
+
5085
+ export type DeleteExternalAttachment_Response = DeleteExternalAttachment_Responses[keyof DeleteExternalAttachment_Responses];
5086
+
5087
+ export type GetExternalAttachment_Data = {
5088
+ body?: never;
5089
+ path: {
5090
+ subAccountId: string;
5091
+ negotiationId: string;
5092
+ fileName: string;
5093
+ };
5094
+ query?: never;
5095
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}';
5096
+ };
5097
+
5098
+ export type GetExternalAttachment_Errors = {
5099
+ /**
5100
+ * Missing document
5101
+ */
5102
+ 404: unknown;
5103
+ };
5104
+
5105
+ export type GetExternalAttachment_Responses = {
5106
+ /**
5107
+ * The uploaded invite attachment
5108
+ */
5109
+ 200: Blob | File;
5110
+ };
5111
+
5112
+ export type GetExternalAttachment_Response = GetExternalAttachment_Responses[keyof GetExternalAttachment_Responses];
5113
+
5114
+ export type ListPotentialNegotiationAdvisors_Data = {
5115
+ body?: never;
5116
+ path: {
5117
+ subAccountId: string;
5118
+ negotiationId: string;
5119
+ };
5120
+ query?: never;
5121
+ url: '/api/v1/advisor/subAccounts/{subAccountId}/negotiations/{negotiationId}/potentialAdvisors';
5122
+ };
5123
+
5124
+ export type ListPotentialNegotiationAdvisors_Responses = {
5125
+ /**
5126
+ * A list of all advisors that can be given access to the specified negotiation
5127
+ */
5128
+ 200: Array<PotentialAdvisorSummaryDto>;
5129
+ };
5130
+
5131
+ export type ListPotentialNegotiationAdvisors_Response = ListPotentialNegotiationAdvisors_Responses[keyof ListPotentialNegotiationAdvisors_Responses];
5132
+
5133
+ export type GetAccessibleNegotiation_Data = {
5134
+ body?: never;
5135
+ path: {
5136
+ negotiationId: string;
5137
+ };
5138
+ query?: never;
5139
+ url: '/api/v1/negotiations/{negotiationId}';
5140
+ };
5141
+
5142
+ export type GetAccessibleNegotiation_Responses = {
5143
+ /**
5144
+ * A negotiation
5145
+ */
5146
+ 200: Array<NegotiationSingleDto>;
5147
+ };
5148
+
5149
+ export type GetAccessibleNegotiation_Response = GetAccessibleNegotiation_Responses[keyof GetAccessibleNegotiation_Responses];
5150
+
5151
+ export type GenerateNegotiationsReport_Data = {
5152
+ body?: never;
5153
+ path: {
5154
+ subAccountId: string;
5155
+ fileType: string;
4971
5156
  };
4972
5157
  query: {
4973
5158
  /**
@@ -5139,184 +5324,16 @@ export type DownloadDashboardReportAsExcel_Data = {
5139
5324
  */
5140
5325
  missingApprovers?: boolean;
5141
5326
  };
5142
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/xlsx';
5327
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}';
5143
5328
  };
5144
5329
 
5145
- export type DownloadDashboardReportAsExcel_Responses = {
5330
+ export type GenerateNegotiationsReport_Responses = {
5146
5331
  /**
5147
- * A list of negotiations in XLSX formatted data
5332
+ * The report was generated and the email was sent
5148
5333
  */
5149
- 200: Blob | File;
5334
+ 202: unknown;
5150
5335
  };
5151
5336
 
5152
- export type DownloadDashboardReportAsExcel_Response = DownloadDashboardReportAsExcel_Responses[keyof DownloadDashboardReportAsExcel_Responses];
5153
-
5154
- export type MoveEntity_Data = {
5155
- body: MoveEntityDto;
5156
- path: {
5157
- entityId: string;
5158
- subAccountId: string;
5159
- };
5160
- query?: never;
5161
- url: '/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move';
5162
- };
5163
-
5164
- export type MoveEntity_Errors = {
5165
- /**
5166
- * Entity could not be found on the Sub-Account
5167
- */
5168
- 404: unknown;
5169
- /**
5170
- * Entity cannot be moved from and to the same Sub-Account
5171
- */
5172
- 419: unknown;
5173
- };
5174
-
5175
- export type MoveEntity_Responses = {
5176
- /**
5177
- * Entity successfully moved
5178
- */
5179
- 200: RemovedUsersDto;
5180
- };
5181
-
5182
- export type MoveEntity_Response = MoveEntity_Responses[keyof MoveEntity_Responses];
5183
-
5184
- export type DeleteApprovalComment_Data = {
5185
- body?: never;
5186
- path: {
5187
- subAccountId: string;
5188
- negotiationId: string;
5189
- approvalCommentId: string;
5190
- };
5191
- query?: never;
5192
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}';
5193
- };
5194
-
5195
- export type DeleteApprovalComment_Errors = {
5196
- /**
5197
- * Action not permitted (user does not have permission)
5198
- */
5199
- 403: unknown;
5200
- };
5201
-
5202
- export type DeleteApprovalComment_Responses = {
5203
- /**
5204
- * The deleted comment
5205
- */
5206
- 200: unknown;
5207
- };
5208
-
5209
- export type EditApprovalComment_Data = {
5210
- body: UpdateCommentDto;
5211
- path: {
5212
- subAccountId: string;
5213
- negotiationId: string;
5214
- approvalCommentId: string;
5215
- };
5216
- query?: never;
5217
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}';
5218
- };
5219
-
5220
- export type EditApprovalComment_Errors = {
5221
- /**
5222
- * Comment value is empty
5223
- */
5224
- 403: unknown;
5225
- };
5226
-
5227
- export type EditApprovalComment_Responses = {
5228
- /**
5229
- * The updated comment
5230
- */
5231
- 200: ApprovalCommentDto;
5232
- };
5233
-
5234
- export type EditApprovalComment_Response = EditApprovalComment_Responses[keyof EditApprovalComment_Responses];
5235
-
5236
- export type DeleteExternalAttachment_Data = {
5237
- body?: never;
5238
- path: {
5239
- subAccountId: string;
5240
- negotiationId: string;
5241
- fileName: string;
5242
- };
5243
- query?: never;
5244
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}';
5245
- };
5246
-
5247
- export type DeleteExternalAttachment_Responses = {
5248
- /**
5249
- * The invite attachment was deleted successfully. Returns all invite attachments
5250
- */
5251
- 200: AttachmentsExistsDto;
5252
- };
5253
-
5254
- export type DeleteExternalAttachment_Response = DeleteExternalAttachment_Responses[keyof DeleteExternalAttachment_Responses];
5255
-
5256
- export type GetExternalAttachment_Data = {
5257
- body?: never;
5258
- path: {
5259
- subAccountId: string;
5260
- negotiationId: string;
5261
- fileName: string;
5262
- };
5263
- query?: never;
5264
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}';
5265
- };
5266
-
5267
- export type GetExternalAttachment_Errors = {
5268
- /**
5269
- * Missing document
5270
- */
5271
- 404: unknown;
5272
- };
5273
-
5274
- export type GetExternalAttachment_Responses = {
5275
- /**
5276
- * The uploaded invite attachment
5277
- */
5278
- 200: Blob | File;
5279
- };
5280
-
5281
- export type GetExternalAttachment_Response = GetExternalAttachment_Responses[keyof GetExternalAttachment_Responses];
5282
-
5283
- export type ListPotentialNegotiationAdvisors_Data = {
5284
- body?: never;
5285
- path: {
5286
- subAccountId: string;
5287
- negotiationId: string;
5288
- };
5289
- query?: never;
5290
- url: '/api/v1/advisor/subAccounts/{subAccountId}/negotiations/{negotiationId}/potentialAdvisors';
5291
- };
5292
-
5293
- export type ListPotentialNegotiationAdvisors_Responses = {
5294
- /**
5295
- * A list of all advisors that can be given access to the specified negotiation
5296
- */
5297
- 200: Array<PotentialAdvisorSummaryDto>;
5298
- };
5299
-
5300
- export type ListPotentialNegotiationAdvisors_Response = ListPotentialNegotiationAdvisors_Responses[keyof ListPotentialNegotiationAdvisors_Responses];
5301
-
5302
- export type GetAccessibleNegotiation_Data = {
5303
- body?: never;
5304
- path: {
5305
- negotiationId: string;
5306
- };
5307
- query?: never;
5308
- url: '/api/v1/negotiations/{negotiationId}';
5309
- };
5310
-
5311
- export type GetAccessibleNegotiation_Responses = {
5312
- /**
5313
- * A negotiation
5314
- */
5315
- 200: Array<NegotiationSingleDto>;
5316
- };
5317
-
5318
- export type GetAccessibleNegotiation_Response = GetAccessibleNegotiation_Responses[keyof GetAccessibleNegotiation_Responses];
5319
-
5320
5337
  export type ForkNegotiation_Data = {
5321
5338
  body?: never;
5322
5339
  path: {
@@ -5574,6 +5591,32 @@ export type UpdateDocumentDraftingNote_Responses = {
5574
5591
 
5575
5592
  export type UpdateDocumentDraftingNote_Response = UpdateDocumentDraftingNote_Responses[keyof UpdateDocumentDraftingNote_Responses];
5576
5593
 
5594
+ export type ShareNegotiation_Data = {
5595
+ body: ShareNegotiationRequestDto;
5596
+ path: {
5597
+ subAccountId: string;
5598
+ negotiationId: string;
5599
+ };
5600
+ query?: never;
5601
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/share';
5602
+ };
5603
+
5604
+ export type ShareNegotiation_Errors = {
5605
+ /**
5606
+ * Invalid email address for one or more new users or one or more existing users doesnt exist
5607
+ */
5608
+ 400: unknown;
5609
+ };
5610
+
5611
+ export type ShareNegotiation_Responses = {
5612
+ /**
5613
+ * The negotiation from the point of view of the requester
5614
+ */
5615
+ 200: NegotiationWithTimelineAndPreviewDto;
5616
+ };
5617
+
5618
+ export type ShareNegotiation_Response = ShareNegotiation_Responses[keyof ShareNegotiation_Responses];
5619
+
5577
5620
  export type SetBulkSetAttachments_Data = {
5578
5621
  body: {
5579
5622
  file?: Array<Blob | File>;
@@ -6330,7 +6373,7 @@ export type GetDownloadExecutedNegotiationsAsExcel_Responses = {
6330
6373
 
6331
6374
  export type GetDownloadExecutedNegotiationsAsExcel_Response = GetDownloadExecutedNegotiationsAsExcel_Responses[keyof GetDownloadExecutedNegotiationsAsExcel_Responses];
6332
6375
 
6333
- export type DownloadExecutedNegotiationsAsExcel_Data = {
6376
+ export type GenerateExecutedNegotiationsReportAsExcel_Data = {
6334
6377
  body?: ReportGenerationRequestDto;
6335
6378
  path: {
6336
6379
  subAccountId: string;
@@ -6339,22 +6382,20 @@ export type DownloadExecutedNegotiationsAsExcel_Data = {
6339
6382
  url: '/api/v1/subAccounts/{subAccountId}/executed_negotiations/xlsx';
6340
6383
  };
6341
6384
 
6342
- export type DownloadExecutedNegotiationsAsExcel_Errors = {
6385
+ export type GenerateExecutedNegotiationsReportAsExcel_Errors = {
6343
6386
  /**
6344
6387
  * Negotiation not found
6345
6388
  */
6346
6389
  404: unknown;
6347
6390
  };
6348
6391
 
6349
- export type DownloadExecutedNegotiationsAsExcel_Responses = {
6392
+ export type GenerateExecutedNegotiationsReportAsExcel_Responses = {
6350
6393
  /**
6351
- * XLSX formatted data
6394
+ * The report was generated and the email was sent
6352
6395
  */
6353
- 200: Blob | File;
6396
+ 202: unknown;
6354
6397
  };
6355
6398
 
6356
- export type DownloadExecutedNegotiationsAsExcel_Response = DownloadExecutedNegotiationsAsExcel_Responses[keyof DownloadExecutedNegotiationsAsExcel_Responses];
6357
-
6358
6399
  export type DeleteSignedSignaturePageForParty_Data = {
6359
6400
  body?: never;
6360
6401
  path: {
@@ -7956,26 +7997,25 @@ export type AssignUser_Responses = {
7956
7997
 
7957
7998
  export type AssignUser_Response = AssignUser_Responses[keyof AssignUser_Responses];
7958
7999
 
7959
- export type GetAllNegotiationCommentsForSubAccount_Data = {
8000
+ export type GenerateCommentsReport_Data = {
7960
8001
  body?: never;
7961
8002
  path: {
7962
8003
  subAccountId: string;
7963
8004
  };
7964
8005
  query?: {
7965
8006
  yearMonths?: Array<string>;
8007
+ timeZone?: string;
7966
8008
  };
7967
8009
  url: '/api/v1/subAccounts/{subAccountId}/comments/xlsx';
7968
8010
  };
7969
8011
 
7970
- export type GetAllNegotiationCommentsForSubAccount_Responses = {
8012
+ export type GenerateCommentsReport_Responses = {
7971
8013
  /**
7972
- * XLSX formatted data
8014
+ * The report was generated and the email was sent
7973
8015
  */
7974
- 200: Blob | File;
8016
+ 202: unknown;
7975
8017
  };
7976
8018
 
7977
- export type GetAllNegotiationCommentsForSubAccount_Response = GetAllNegotiationCommentsForSubAccount_Responses[keyof GetAllNegotiationCommentsForSubAccount_Responses];
7978
-
7979
8019
  export type GetExtractionResults_Data = {
7980
8020
  body?: never;
7981
8021
  path: {
@@ -8721,26 +8761,24 @@ export type SetExternalAttachment_Responses = {
8721
8761
 
8722
8762
  export type SetExternalAttachment_Response = SetExternalAttachment_Responses[keyof SetExternalAttachment_Responses];
8723
8763
 
8724
- export type AuditTrailForSubAccountAsExcel_Data = {
8764
+ export type GenerateAuditTrailForSubAccountAsExcel_Data = {
8725
8765
  body?: never;
8726
8766
  path: {
8727
8767
  subAccountId: string;
8728
8768
  };
8729
- query: {
8730
- yearMonths: Array<string>;
8769
+ query?: {
8770
+ yearMonths?: Array<string>;
8731
8771
  };
8732
8772
  url: '/api/v1/subAccounts/{subAccountId}/audit_trail/xlsx';
8733
8773
  };
8734
8774
 
8735
- export type AuditTrailForSubAccountAsExcel_Responses = {
8775
+ export type GenerateAuditTrailForSubAccountAsExcel_Responses = {
8736
8776
  /**
8737
- * XLSX formatted data
8777
+ * The report was generated and the email was sent
8738
8778
  */
8739
- 200: Blob | File;
8779
+ 202: unknown;
8740
8780
  };
8741
8781
 
8742
- export type AuditTrailForSubAccountAsExcel_Response = AuditTrailForSubAccountAsExcel_Responses[keyof AuditTrailForSubAccountAsExcel_Responses];
8743
-
8744
8782
  export type ValidateDraftReceiverEmails_Data = {
8745
8783
  body: Array<DraftReceiverEmailsDto>;
8746
8784
  path: {
@@ -9903,7 +9941,7 @@ export type GetDownloadActiveNegotiationsReportAsExcel_Responses = {
9903
9941
 
9904
9942
  export type GetDownloadActiveNegotiationsReportAsExcel_Response = GetDownloadActiveNegotiationsReportAsExcel_Responses[keyof GetDownloadActiveNegotiationsReportAsExcel_Responses];
9905
9943
 
9906
- export type DownloadActiveNegotiationsReportAsExcel_Data = {
9944
+ export type GenerateActiveNegotiationsReportAsExcel_Data = {
9907
9945
  body?: ReportGenerationRequestDto;
9908
9946
  path: {
9909
9947
  subAccountId: string;
@@ -9912,22 +9950,13 @@ export type DownloadActiveNegotiationsReportAsExcel_Data = {
9912
9950
  url: '/api/v1/subAccounts/{subAccountId}/negotiations/analytics/xlsx';
9913
9951
  };
9914
9952
 
9915
- export type DownloadActiveNegotiationsReportAsExcel_Errors = {
9916
- /**
9917
- * Negotiation not found
9918
- */
9919
- 404: unknown;
9920
- };
9921
-
9922
- export type DownloadActiveNegotiationsReportAsExcel_Responses = {
9953
+ export type GenerateActiveNegotiationsReportAsExcel_Responses = {
9923
9954
  /**
9924
- * XLSX formatted data
9955
+ * The report was generated and the email was sent
9925
9956
  */
9926
- 200: Blob | File;
9957
+ 202: unknown;
9927
9958
  };
9928
9959
 
9929
- export type DownloadActiveNegotiationsReportAsExcel_Response = DownloadActiveNegotiationsReportAsExcel_Responses[keyof DownloadActiveNegotiationsReportAsExcel_Responses];
9930
-
9931
9960
  export type SetCounterparties_Data = {
9932
9961
  body: Array<CounterpartyWithReferenceIdDto>;
9933
9962
  path: {