@createiq/backend 1.0.19 → 1.0.21

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.
@@ -680,6 +680,8 @@ export type DocumentErrorResponseDto = {
680
680
  documentCauses?: Array<MajorChangeSummaryDto>;
681
681
  };
682
682
 
683
+ export type AuditReportType = 'audit_log_report' | 'comments_log_report';
684
+
683
685
  export type UserForPickerDto = {
684
686
  role: string;
685
687
  profileColour: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
@@ -1950,7 +1952,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
1950
1952
  sigPageId: string;
1951
1953
  };
1952
1954
 
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';
1955
+ 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' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'dailyNotificationDigest' | 'existingApproverReplaced';
1954
1956
 
1955
1957
  export type PartyRelativeRef = 'our' | 'counterparty';
1956
1958
 
@@ -4338,25 +4340,23 @@ export type UpdateSelectedElections_Responses = {
4338
4340
 
4339
4341
  export type UpdateSelectedElections_Response = UpdateSelectedElections_Responses[keyof UpdateSelectedElections_Responses];
4340
4342
 
4341
- export type AuditTrailForAccountAsExcel_Data = {
4343
+ export type GenerateAuditTrailForAccountAsExcel_Data = {
4342
4344
  body?: never;
4343
4345
  path?: never;
4344
4346
  query: {
4345
4347
  includeSubAccountEvents: boolean;
4346
- yearMonths: Array<string>;
4348
+ yearMonths?: Array<string>;
4347
4349
  };
4348
4350
  url: '/api/v1/account/audit_trail/xlsx';
4349
4351
  };
4350
4352
 
4351
- export type AuditTrailForAccountAsExcel_Responses = {
4353
+ export type GenerateAuditTrailForAccountAsExcel_Responses = {
4352
4354
  /**
4353
- * XLSX formatted data
4355
+ * The report was generated and the email was sent
4354
4356
  */
4355
- 200: Blob | File;
4357
+ 202: unknown;
4356
4358
  };
4357
4359
 
4358
- export type AuditTrailForAccountAsExcel_Response = AuditTrailForAccountAsExcel_Responses[keyof AuditTrailForAccountAsExcel_Responses];
4359
-
4360
4360
  export type PresetEditAnswers_Data = {
4361
4361
  body: PartyAnswersDto;
4362
4362
  path: {
@@ -4871,6 +4871,36 @@ export type NegotiationForkHistory_Responses = {
4871
4871
 
4872
4872
  export type NegotiationForkHistory_Response = NegotiationForkHistory_Responses[keyof NegotiationForkHistory_Responses];
4873
4873
 
4874
+ export type MoveEntity_Data = {
4875
+ body: MoveEntityDto;
4876
+ path: {
4877
+ entityId: string;
4878
+ subAccountId: string;
4879
+ };
4880
+ query?: never;
4881
+ url: '/api/v1/subAccounts/{subAccountId}/entity/{entityId}/move';
4882
+ };
4883
+
4884
+ export type MoveEntity_Errors = {
4885
+ /**
4886
+ * Entity could not be found on the Sub-Account
4887
+ */
4888
+ 404: unknown;
4889
+ /**
4890
+ * Entity cannot be moved from and to the same Sub-Account
4891
+ */
4892
+ 419: unknown;
4893
+ };
4894
+
4895
+ export type MoveEntity_Responses = {
4896
+ /**
4897
+ * Entity successfully moved
4898
+ */
4899
+ 200: RemovedUsersDto;
4900
+ };
4901
+
4902
+ export type MoveEntity_Response = MoveEntity_Responses[keyof MoveEntity_Responses];
4903
+
4874
4904
  export type ListEntities_Data = {
4875
4905
  body?: never;
4876
4906
  path?: never;
@@ -4964,10 +4994,147 @@ export type SetElectionApproval_Responses = {
4964
4994
 
4965
4995
  export type SetElectionApproval_Response = SetElectionApproval_Responses[keyof SetElectionApproval_Responses];
4966
4996
 
4967
- export type DownloadDashboardReportAsExcel_Data = {
4997
+ export type DeleteApprovalComment_Data = {
4998
+ body?: never;
4999
+ path: {
5000
+ subAccountId: string;
5001
+ negotiationId: string;
5002
+ approvalCommentId: string;
5003
+ };
5004
+ query?: never;
5005
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}';
5006
+ };
5007
+
5008
+ export type DeleteApprovalComment_Errors = {
5009
+ /**
5010
+ * Action not permitted (user does not have permission)
5011
+ */
5012
+ 403: unknown;
5013
+ };
5014
+
5015
+ export type DeleteApprovalComment_Responses = {
5016
+ /**
5017
+ * The deleted comment
5018
+ */
5019
+ 200: unknown;
5020
+ };
5021
+
5022
+ export type EditApprovalComment_Data = {
5023
+ body: UpdateCommentDto;
5024
+ path: {
5025
+ subAccountId: string;
5026
+ negotiationId: string;
5027
+ approvalCommentId: string;
5028
+ };
5029
+ query?: never;
5030
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/comment/{approvalCommentId}';
5031
+ };
5032
+
5033
+ export type EditApprovalComment_Errors = {
5034
+ /**
5035
+ * Comment value is empty
5036
+ */
5037
+ 403: unknown;
5038
+ };
5039
+
5040
+ export type EditApprovalComment_Responses = {
5041
+ /**
5042
+ * The updated comment
5043
+ */
5044
+ 200: ApprovalCommentDto;
5045
+ };
5046
+
5047
+ export type EditApprovalComment_Response = EditApprovalComment_Responses[keyof EditApprovalComment_Responses];
5048
+
5049
+ export type DeleteExternalAttachment_Data = {
4968
5050
  body?: never;
4969
5051
  path: {
4970
5052
  subAccountId: string;
5053
+ negotiationId: string;
5054
+ fileName: string;
5055
+ };
5056
+ query?: never;
5057
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}';
5058
+ };
5059
+
5060
+ export type DeleteExternalAttachment_Responses = {
5061
+ /**
5062
+ * The invite attachment was deleted successfully. Returns all invite attachments
5063
+ */
5064
+ 200: AttachmentsExistsDto;
5065
+ };
5066
+
5067
+ export type DeleteExternalAttachment_Response = DeleteExternalAttachment_Responses[keyof DeleteExternalAttachment_Responses];
5068
+
5069
+ export type GetExternalAttachment_Data = {
5070
+ body?: never;
5071
+ path: {
5072
+ subAccountId: string;
5073
+ negotiationId: string;
5074
+ fileName: string;
5075
+ };
5076
+ query?: never;
5077
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/attachment/{fileName}';
5078
+ };
5079
+
5080
+ export type GetExternalAttachment_Errors = {
5081
+ /**
5082
+ * Missing document
5083
+ */
5084
+ 404: unknown;
5085
+ };
5086
+
5087
+ export type GetExternalAttachment_Responses = {
5088
+ /**
5089
+ * The uploaded invite attachment
5090
+ */
5091
+ 200: Blob | File;
5092
+ };
5093
+
5094
+ export type GetExternalAttachment_Response = GetExternalAttachment_Responses[keyof GetExternalAttachment_Responses];
5095
+
5096
+ export type ListPotentialNegotiationAdvisors_Data = {
5097
+ body?: never;
5098
+ path: {
5099
+ subAccountId: string;
5100
+ negotiationId: string;
5101
+ };
5102
+ query?: never;
5103
+ url: '/api/v1/advisor/subAccounts/{subAccountId}/negotiations/{negotiationId}/potentialAdvisors';
5104
+ };
5105
+
5106
+ export type ListPotentialNegotiationAdvisors_Responses = {
5107
+ /**
5108
+ * A list of all advisors that can be given access to the specified negotiation
5109
+ */
5110
+ 200: Array<PotentialAdvisorSummaryDto>;
5111
+ };
5112
+
5113
+ export type ListPotentialNegotiationAdvisors_Response = ListPotentialNegotiationAdvisors_Responses[keyof ListPotentialNegotiationAdvisors_Responses];
5114
+
5115
+ export type GetAccessibleNegotiation_Data = {
5116
+ body?: never;
5117
+ path: {
5118
+ negotiationId: string;
5119
+ };
5120
+ query?: never;
5121
+ url: '/api/v1/negotiations/{negotiationId}';
5122
+ };
5123
+
5124
+ export type GetAccessibleNegotiation_Responses = {
5125
+ /**
5126
+ * A negotiation
5127
+ */
5128
+ 200: Array<NegotiationSingleDto>;
5129
+ };
5130
+
5131
+ export type GetAccessibleNegotiation_Response = GetAccessibleNegotiation_Responses[keyof GetAccessibleNegotiation_Responses];
5132
+
5133
+ export type GenerateNegotiationsReport_Data = {
5134
+ body?: never;
5135
+ path: {
5136
+ subAccountId: string;
5137
+ fileType: string;
4971
5138
  };
4972
5139
  query: {
4973
5140
  /**
@@ -5139,184 +5306,16 @@ export type DownloadDashboardReportAsExcel_Data = {
5139
5306
  */
5140
5307
  missingApprovers?: boolean;
5141
5308
  };
5142
- url: '/api/v1/subAccounts/{subAccountId}/negotiations/xlsx';
5309
+ url: '/api/v1/subAccounts/{subAccountId}/negotiations/report/{fileType}';
5143
5310
  };
5144
5311
 
5145
- export type DownloadDashboardReportAsExcel_Responses = {
5312
+ export type GenerateNegotiationsReport_Responses = {
5146
5313
  /**
5147
- * A list of negotiations in XLSX formatted data
5314
+ * The report was generated and the email was sent
5148
5315
  */
5149
- 200: Blob | File;
5150
- };
5151
-
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}';
5316
+ 202: unknown;
5193
5317
  };
5194
5318
 
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
5319
  export type ForkNegotiation_Data = {
5321
5320
  body?: never;
5322
5321
  path: {
@@ -6330,7 +6329,7 @@ export type GetDownloadExecutedNegotiationsAsExcel_Responses = {
6330
6329
 
6331
6330
  export type GetDownloadExecutedNegotiationsAsExcel_Response = GetDownloadExecutedNegotiationsAsExcel_Responses[keyof GetDownloadExecutedNegotiationsAsExcel_Responses];
6332
6331
 
6333
- export type DownloadExecutedNegotiationsAsExcel_Data = {
6332
+ export type GenerateExecutedNegotiationsReportAsExcel_Data = {
6334
6333
  body?: ReportGenerationRequestDto;
6335
6334
  path: {
6336
6335
  subAccountId: string;
@@ -6339,22 +6338,20 @@ export type DownloadExecutedNegotiationsAsExcel_Data = {
6339
6338
  url: '/api/v1/subAccounts/{subAccountId}/executed_negotiations/xlsx';
6340
6339
  };
6341
6340
 
6342
- export type DownloadExecutedNegotiationsAsExcel_Errors = {
6341
+ export type GenerateExecutedNegotiationsReportAsExcel_Errors = {
6343
6342
  /**
6344
6343
  * Negotiation not found
6345
6344
  */
6346
6345
  404: unknown;
6347
6346
  };
6348
6347
 
6349
- export type DownloadExecutedNegotiationsAsExcel_Responses = {
6348
+ export type GenerateExecutedNegotiationsReportAsExcel_Responses = {
6350
6349
  /**
6351
- * XLSX formatted data
6350
+ * The report was generated and the email was sent
6352
6351
  */
6353
- 200: Blob | File;
6352
+ 202: unknown;
6354
6353
  };
6355
6354
 
6356
- export type DownloadExecutedNegotiationsAsExcel_Response = DownloadExecutedNegotiationsAsExcel_Responses[keyof DownloadExecutedNegotiationsAsExcel_Responses];
6357
-
6358
6355
  export type DeleteSignedSignaturePageForParty_Data = {
6359
6356
  body?: never;
6360
6357
  path: {
@@ -7638,25 +7635,6 @@ export type GetPartyAnswers_Responses = {
7638
7635
 
7639
7636
  export type GetPartyAnswers_Response = GetPartyAnswers_Responses[keyof GetPartyAnswers_Responses];
7640
7637
 
7641
- export type GetNegotiationsGroup_Data = {
7642
- body?: never;
7643
- path: {
7644
- subAccountId: string;
7645
- negotiationGroupId: string;
7646
- };
7647
- query?: never;
7648
- url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations';
7649
- };
7650
-
7651
- export type GetNegotiationsGroup_Responses = {
7652
- /**
7653
- * A negotiation group
7654
- */
7655
- 200: NegotiationsGroupDto;
7656
- };
7657
-
7658
- export type GetNegotiationsGroup_Response = GetNegotiationsGroup_Responses[keyof GetNegotiationsGroup_Responses];
7659
-
7660
7638
  export type DeletePreset_Data = {
7661
7639
  body?: never;
7662
7640
  path: {
@@ -7709,6 +7687,59 @@ export type CreatePresetAuditTrailJson_Responses = {
7709
7687
 
7710
7688
  export type CreatePresetAuditTrailJson_Response = CreatePresetAuditTrailJson_Responses[keyof CreatePresetAuditTrailJson_Responses];
7711
7689
 
7690
+ export type GetPotentialUsers_Data = {
7691
+ body?: never;
7692
+ path: {
7693
+ subAccountId: string;
7694
+ };
7695
+ query?: {
7696
+ /**
7697
+ * Include super managers (who are in all Sub-Accounts) in the response
7698
+ */
7699
+ includeSuperManagers?: boolean;
7700
+ /**
7701
+ * Include advisors in the response
7702
+ */
7703
+ includeAdvisors?: boolean;
7704
+ };
7705
+ url: '/api/v1/subaccount/{subAccountId}/potentialUsers';
7706
+ };
7707
+
7708
+ export type GetPotentialUsers_Errors = {
7709
+ /**
7710
+ * Sub-account not found
7711
+ */
7712
+ 404: unknown;
7713
+ };
7714
+
7715
+ export type GetPotentialUsers_Responses = {
7716
+ /**
7717
+ * List all of the potential users of the specified subaccount
7718
+ */
7719
+ 200: UserListForPickerDto;
7720
+ };
7721
+
7722
+ export type GetPotentialUsers_Response = GetPotentialUsers_Responses[keyof GetPotentialUsers_Responses];
7723
+
7724
+ export type GetNegotiationsGroup_Data = {
7725
+ body?: never;
7726
+ path: {
7727
+ subAccountId: string;
7728
+ negotiationGroupId: string;
7729
+ };
7730
+ query?: never;
7731
+ url: '/api/v1/subAccounts/{subAccountId}/negotiationGroups/{negotiationGroupId}/negotiations';
7732
+ };
7733
+
7734
+ export type GetNegotiationsGroup_Responses = {
7735
+ /**
7736
+ * A negotiation group
7737
+ */
7738
+ 200: NegotiationsGroupDto;
7739
+ };
7740
+
7741
+ export type GetNegotiationsGroup_Response = GetNegotiationsGroup_Responses[keyof GetNegotiationsGroup_Responses];
7742
+
7712
7743
  export type ConsentCodeCallback_Data = {
7713
7744
  body?: never;
7714
7745
  path?: never;
@@ -7922,26 +7953,25 @@ export type AssignUser_Responses = {
7922
7953
 
7923
7954
  export type AssignUser_Response = AssignUser_Responses[keyof AssignUser_Responses];
7924
7955
 
7925
- export type GetAllNegotiationCommentsForSubAccount_Data = {
7956
+ export type GenerateCommentsReport_Data = {
7926
7957
  body?: never;
7927
7958
  path: {
7928
7959
  subAccountId: string;
7929
7960
  };
7930
7961
  query?: {
7931
7962
  yearMonths?: Array<string>;
7963
+ timeZone?: string;
7932
7964
  };
7933
7965
  url: '/api/v1/subAccounts/{subAccountId}/comments/xlsx';
7934
7966
  };
7935
7967
 
7936
- export type GetAllNegotiationCommentsForSubAccount_Responses = {
7968
+ export type GenerateCommentsReport_Responses = {
7937
7969
  /**
7938
- * XLSX formatted data
7970
+ * The report was generated and the email was sent
7939
7971
  */
7940
- 200: Blob | File;
7972
+ 202: unknown;
7941
7973
  };
7942
7974
 
7943
- export type GetAllNegotiationCommentsForSubAccount_Response = GetAllNegotiationCommentsForSubAccount_Responses[keyof GetAllNegotiationCommentsForSubAccount_Responses];
7944
-
7945
7975
  export type GetExtractionResults_Data = {
7946
7976
  body?: never;
7947
7977
  path: {
@@ -8687,26 +8717,24 @@ export type SetExternalAttachment_Responses = {
8687
8717
 
8688
8718
  export type SetExternalAttachment_Response = SetExternalAttachment_Responses[keyof SetExternalAttachment_Responses];
8689
8719
 
8690
- export type AuditTrailForSubAccountAsExcel_Data = {
8720
+ export type GenerateAuditTrailForSubAccountAsExcel_Data = {
8691
8721
  body?: never;
8692
8722
  path: {
8693
8723
  subAccountId: string;
8694
8724
  };
8695
- query: {
8696
- yearMonths: Array<string>;
8725
+ query?: {
8726
+ yearMonths?: Array<string>;
8697
8727
  };
8698
8728
  url: '/api/v1/subAccounts/{subAccountId}/audit_trail/xlsx';
8699
8729
  };
8700
8730
 
8701
- export type AuditTrailForSubAccountAsExcel_Responses = {
8731
+ export type GenerateAuditTrailForSubAccountAsExcel_Responses = {
8702
8732
  /**
8703
- * XLSX formatted data
8733
+ * The report was generated and the email was sent
8704
8734
  */
8705
- 200: Blob | File;
8735
+ 202: unknown;
8706
8736
  };
8707
8737
 
8708
- export type AuditTrailForSubAccountAsExcel_Response = AuditTrailForSubAccountAsExcel_Responses[keyof AuditTrailForSubAccountAsExcel_Responses];
8709
-
8710
8738
  export type ValidateDraftReceiverEmails_Data = {
8711
8739
  body: Array<DraftReceiverEmailsDto>;
8712
8740
  path: {
@@ -9869,7 +9897,7 @@ export type GetDownloadActiveNegotiationsReportAsExcel_Responses = {
9869
9897
 
9870
9898
  export type GetDownloadActiveNegotiationsReportAsExcel_Response = GetDownloadActiveNegotiationsReportAsExcel_Responses[keyof GetDownloadActiveNegotiationsReportAsExcel_Responses];
9871
9899
 
9872
- export type DownloadActiveNegotiationsReportAsExcel_Data = {
9900
+ export type GenerateActiveNegotiationsReportAsExcel_Data = {
9873
9901
  body?: ReportGenerationRequestDto;
9874
9902
  path: {
9875
9903
  subAccountId: string;
@@ -9878,22 +9906,13 @@ export type DownloadActiveNegotiationsReportAsExcel_Data = {
9878
9906
  url: '/api/v1/subAccounts/{subAccountId}/negotiations/analytics/xlsx';
9879
9907
  };
9880
9908
 
9881
- export type DownloadActiveNegotiationsReportAsExcel_Errors = {
9909
+ export type GenerateActiveNegotiationsReportAsExcel_Responses = {
9882
9910
  /**
9883
- * Negotiation not found
9911
+ * The report was generated and the email was sent
9884
9912
  */
9885
- 404: unknown;
9913
+ 202: unknown;
9886
9914
  };
9887
9915
 
9888
- export type DownloadActiveNegotiationsReportAsExcel_Responses = {
9889
- /**
9890
- * XLSX formatted data
9891
- */
9892
- 200: Blob | File;
9893
- };
9894
-
9895
- export type DownloadActiveNegotiationsReportAsExcel_Response = DownloadActiveNegotiationsReportAsExcel_Responses[keyof DownloadActiveNegotiationsReportAsExcel_Responses];
9896
-
9897
9916
  export type SetCounterparties_Data = {
9898
9917
  body: Array<CounterpartyWithReferenceIdDto>;
9899
9918
  path: {