@createiq/backend 1.0.170 → 1.0.172

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.
@@ -245,6 +245,14 @@ export type AuthnSuccessResponseDto = {
245
245
  sessionToken?: string;
246
246
  };
247
247
 
248
+ export type ValidatedEntityDto = {
249
+ type: 'ValidEntityDto';
250
+ entity: EntityDto;
251
+ } | {
252
+ type: 'InvalidEntityDto';
253
+ entityId: EntityIdDto;
254
+ };
255
+
248
256
  export type ApiUserSummaryDto = {
249
257
  name: string;
250
258
  role: string;
@@ -278,18 +286,6 @@ export type RenderedTemplateDto = {
278
286
  };
279
287
  };
280
288
 
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
-
293
289
  export type DocumentListDto = {
294
290
  filter: FilterResultsDto;
295
291
  documents: Array<DocumentListItemDto>;
@@ -1416,6 +1412,11 @@ export type ApprovalHistoryDto = {
1416
1412
  answers?: NegotiationAnswersDto;
1417
1413
  };
1418
1414
 
1415
+ export type CheckForBrokenApproversDto = {
1416
+ existingApproverId?: string;
1417
+ existingApproverEmail?: string;
1418
+ };
1419
+
1419
1420
  export type ClientSubAccountContextDto = {
1420
1421
  accountId: string;
1421
1422
  accountName: string;
@@ -2128,11 +2129,6 @@ export type ComponentAnswerDto_Tabular = {
2128
2129
  table: string;
2129
2130
  };
2130
2131
 
2131
- export type PersonNameDto = {
2132
- firstName: string;
2133
- lastName: string;
2134
- };
2135
-
2136
2132
  export type DraftReceiverEmailValidationDto = {
2137
2133
  primaryEmail: EmailWithErrorDto;
2138
2134
  additionalEmails?: Array<EmailWithErrorDto>;
@@ -2179,6 +2175,21 @@ export type PendingApprovalCountsDto = {
2179
2175
  electionLevelApprovals: number;
2180
2176
  };
2181
2177
 
2178
+ export type PersonNameDto = {
2179
+ firstName: string;
2180
+ lastName: string;
2181
+ };
2182
+
2183
+ export type InsightActiveUserDto = {
2184
+ profileColour: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
2185
+ lastName: string;
2186
+ firstName: string;
2187
+ isAdvisor: boolean;
2188
+ userId: string;
2189
+ email: string;
2190
+ role?: string;
2191
+ };
2192
+
2182
2193
  export type PresetSingleWithPreviewAndMultipleNestedAnswersDto = PresetSingleWithPreviewDto & {
2183
2194
  nestedAnswerFullSummaries: {
2184
2195
  [key: string]: NestedAnswersSummariesWithPresetAnswersDto;
@@ -4581,7 +4592,7 @@ export type VolumeBilledNegotiationAccess = 'Subscribed' | 'NotSellSide' | 'Orga
4581
4592
 
4582
4593
  export type InsightEventDto = TimelineEventDto & {
4583
4594
  progressPercentage?: number;
4584
- activeUserHistory?: Array<UserDto>;
4595
+ activeUserHistory?: Array<InsightActiveUserDto>;
4585
4596
  children?: Array<InsightEventDto>;
4586
4597
  };
4587
4598
 
@@ -8042,6 +8053,22 @@ export type getCommentsResponses = {
8042
8053
  200: unknown;
8043
8054
  };
8044
8055
 
8056
+ export type checkForBrokenApproversData = {
8057
+ body: CheckForBrokenApproversDto;
8058
+ path?: never;
8059
+ query?: never;
8060
+ url: '/api/v1/account/checkForBrokenApprovers';
8061
+ };
8062
+
8063
+ export type checkForBrokenApproversResponses = {
8064
+ /**
8065
+ * A list of workspaces that contain broken negotiations/presets in connection to a specific user and/or guest approval invitation email, which was caused by an admin action. Also includes a list of potential users that can replace the broken approver.
8066
+ */
8067
+ 200: BrokenApproversSummaryDto;
8068
+ };
8069
+
8070
+ export type checkForBrokenApproversResponse = checkForBrokenApproversResponses[keyof checkForBrokenApproversResponses];
8071
+
8045
8072
  export type contactForNewApproverData = {
8046
8073
  body?: never;
8047
8074
  path: {
@@ -8898,22 +8925,6 @@ export type assignToMeResponses = {
8898
8925
 
8899
8926
  export type assignToMeResponse = assignToMeResponses[keyof assignToMeResponses];
8900
8927
 
8901
- export type checkForBrokenGuestApprovalRequestsData = {
8902
- body: CheckForBrokenGuestApprovalRequestsDto;
8903
- path?: never;
8904
- query?: never;
8905
- url: '/api/v1/account/checkForBrokenGuestApprovalRequests';
8906
- };
8907
-
8908
- export type checkForBrokenGuestApprovalRequestsResponses = {
8909
- /**
8910
- * 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.
8911
- */
8912
- 200: BrokenApproversSummaryDto;
8913
- };
8914
-
8915
- export type checkForBrokenGuestApprovalRequestsResponse = checkForBrokenGuestApprovalRequestsResponses[keyof checkForBrokenGuestApprovalRequestsResponses];
8916
-
8917
8928
  export type getSignedSignaturePagePDFData = {
8918
8929
  body?: never;
8919
8930
  path: {
@@ -11177,6 +11188,44 @@ export type setMultipleNestedAnswersResponses = {
11177
11188
 
11178
11189
  export type setMultipleNestedAnswersResponse = setMultipleNestedAnswersResponses[keyof setMultipleNestedAnswersResponses];
11179
11190
 
11191
+ export type deleteBulkSetAttachmentData = {
11192
+ body?: never;
11193
+ path: {
11194
+ bulkSetId: string;
11195
+ fileName: string;
11196
+ };
11197
+ query?: never;
11198
+ url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
11199
+ };
11200
+
11201
+ export type deleteBulkSetAttachmentResponses = {
11202
+ /**
11203
+ * The bulk set attachment was deleted successfully. Returns all bulk set attachments
11204
+ */
11205
+ 200: AttachmentsExistsDto;
11206
+ };
11207
+
11208
+ export type deleteBulkSetAttachmentResponse = deleteBulkSetAttachmentResponses[keyof deleteBulkSetAttachmentResponses];
11209
+
11210
+ export type getBulkSetAttachmentData = {
11211
+ body?: never;
11212
+ path: {
11213
+ bulkSetId: string;
11214
+ fileName: string;
11215
+ };
11216
+ query?: never;
11217
+ url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
11218
+ };
11219
+
11220
+ export type getBulkSetAttachmentResponses = {
11221
+ /**
11222
+ * The uploaded bulk set attachment
11223
+ */
11224
+ 200: Blob | File;
11225
+ };
11226
+
11227
+ export type getBulkSetAttachmentResponse = getBulkSetAttachmentResponses[keyof getBulkSetAttachmentResponses];
11228
+
11180
11229
  export type getDocumentData = {
11181
11230
  body?: never;
11182
11231
  path: {
@@ -11449,62 +11498,6 @@ export type setPresetResponses = {
11449
11498
 
11450
11499
  export type setPresetResponse = setPresetResponses[keyof setPresetResponses];
11451
11500
 
11452
- export type checkForBrokenApproversData = {
11453
- body?: never;
11454
- path: {
11455
- existingApproverId: string;
11456
- };
11457
- query?: never;
11458
- url: '/api/v1/account/checkForBrokenApprovers/{existingApproverId}';
11459
- };
11460
-
11461
- export type checkForBrokenApproversResponses = {
11462
- /**
11463
- * A list of workspaces that contain broken negotiations/presets in connection to a specific user, which caused by an admin action. Also includes a list of potential users that can replace the broken user.
11464
- */
11465
- 200: BrokenApproversSummaryDto;
11466
- };
11467
-
11468
- export type checkForBrokenApproversResponse = checkForBrokenApproversResponses[keyof checkForBrokenApproversResponses];
11469
-
11470
- export type deleteBulkSetAttachmentData = {
11471
- body?: never;
11472
- path: {
11473
- bulkSetId: string;
11474
- fileName: string;
11475
- };
11476
- query?: never;
11477
- url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
11478
- };
11479
-
11480
- export type deleteBulkSetAttachmentResponses = {
11481
- /**
11482
- * The bulk set attachment was deleted successfully. Returns all bulk set attachments
11483
- */
11484
- 200: AttachmentsExistsDto;
11485
- };
11486
-
11487
- export type deleteBulkSetAttachmentResponse = deleteBulkSetAttachmentResponses[keyof deleteBulkSetAttachmentResponses];
11488
-
11489
- export type getBulkSetAttachmentData = {
11490
- body?: never;
11491
- path: {
11492
- bulkSetId: string;
11493
- fileName: string;
11494
- };
11495
- query?: never;
11496
- url: '/api/v1/bulkSets/{bulkSetId}/attachment/{fileName}';
11497
- };
11498
-
11499
- export type getBulkSetAttachmentResponses = {
11500
- /**
11501
- * The uploaded bulk set attachment
11502
- */
11503
- 200: Blob | File;
11504
- };
11505
-
11506
- export type getBulkSetAttachmentResponse = getBulkSetAttachmentResponses[keyof getBulkSetAttachmentResponses];
11507
-
11508
11501
  export type usersWithNegotiationAccessData = {
11509
11502
  body?: never;
11510
11503
  path: {