@createiq/backend 1.0.130 → 1.0.132

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.
@@ -280,8 +280,12 @@ export type SharedSubAccountIdWithNegotiationsDto = {
280
280
 
281
281
  export type RenderedTemplateDto = {
282
282
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
283
- documentElementAttributes: unknown;
284
- electionSections: unknown;
283
+ documentElementAttributes: {
284
+ [key: string]: string;
285
+ };
286
+ electionSections: {
287
+ [key: string]: Array<string>;
288
+ };
285
289
  };
286
290
 
287
291
  export type DocumentListDto = {
@@ -336,6 +340,7 @@ export type SchemaUpgradeReleaseNotesDto = {
336
340
  };
337
341
 
338
342
  export type ActiveOrPendingUserDto = {
343
+ permittedNegotiationIds?: Array<string>;
339
344
  profileColour?: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
340
345
  subAccountIds: Array<string>;
341
346
  lastName: string;
@@ -666,7 +671,9 @@ export type ComponentDto = {
666
671
  export type NestedAnswersSummariesWithPresetAnswersDto = {
667
672
  completedElections: Array<string>;
668
673
  answeredElections: Array<string>;
669
- answerSummaries: unknown;
674
+ answerSummaries: {
675
+ [key: string]: ElectionAnswerSummaryDto;
676
+ };
670
677
  answers: PartyAnswersDto;
671
678
  };
672
679
 
@@ -799,6 +806,11 @@ export type ApprovalDto = {
799
806
  approvalInProgress?: ApprovalDecisionsWithSubmittedValuesDto;
800
807
  };
801
808
 
809
+ export type CommentReactionDto = {
810
+ user: UserDto;
811
+ timestamp: string;
812
+ };
813
+
802
814
  export type DocumentErrorResponseDto = {
803
815
  humanReadableMessage?: string;
804
816
  causes?: Array<CausesDto>;
@@ -1117,12 +1129,20 @@ export type FailedExtractionResultDto = {
1117
1129
 
1118
1130
  export type PlatformStatisticsDto = {
1119
1131
  entities: number;
1120
- roleCounts: unknown;
1121
- apiUserCounts: unknown;
1132
+ roleCounts: {
1133
+ [key: string]: number;
1134
+ };
1135
+ apiUserCounts: {
1136
+ [key: string]: number;
1137
+ };
1122
1138
  subAccounts: number;
1123
- negotiationCounts: unknown;
1139
+ negotiationCounts: {
1140
+ [key: string]: number;
1141
+ };
1124
1142
  accounts: number;
1125
- invitationCounts: unknown;
1143
+ invitationCounts: {
1144
+ [key: string]: number;
1145
+ };
1126
1146
  presets: number;
1127
1147
  };
1128
1148
 
@@ -1198,7 +1218,10 @@ export type ApprovalCommentAvailableActionsDto = {
1198
1218
  };
1199
1219
 
1200
1220
  export type UnreadNotificationCountsDto = {
1201
- unread: unknown;
1221
+ unread: {
1222
+ general?: number;
1223
+ personal?: number;
1224
+ };
1202
1225
  };
1203
1226
 
1204
1227
  export type TimelineEventDto = {
@@ -1210,7 +1233,9 @@ export type TimelineEventDto = {
1210
1233
  updated?: string;
1211
1234
  approvers?: ApprovalRuleChangesDto;
1212
1235
  removedApprovers?: Array<UserWithRoleDto>;
1213
- commentReactions?: unknown;
1236
+ commentReactions?: {
1237
+ [key: string]: Array<CommentReactionDto>;
1238
+ };
1214
1239
  negotiationReminder?: NegotiationReminderWithRecipientsDto;
1215
1240
  type: string;
1216
1241
  created: string;
@@ -1292,7 +1317,9 @@ export type DocumentPublisherPackDisclaimerDto = {
1292
1317
 
1293
1318
  export type ApprovalCommentsDto = {
1294
1319
  document: Array<ApprovalCommentDto>;
1295
- election: unknown;
1320
+ election: {
1321
+ [key: string]: Array<ApprovalCommentDto>;
1322
+ };
1296
1323
  availableActions: ApprovalCommentsAvailableActionsDto;
1297
1324
  };
1298
1325
 
@@ -1508,7 +1535,9 @@ export type NestedAnswersSummariesWithAnswersDto = {
1508
1535
  moderator?: PartyAnswersDto;
1509
1536
  matchingElections?: number;
1510
1537
  partyA?: PartyAnswersDto;
1511
- answerSummaries: unknown;
1538
+ answerSummaries: {
1539
+ [key: string]: ElectionAnswerSummaryDto;
1540
+ };
1512
1541
  answeredElections: Array<string>;
1513
1542
  answeredElectionsOtherSides?: Array<string>;
1514
1543
  completedElections: Array<string>;
@@ -1695,8 +1724,12 @@ export type ExecutedNegotiationSummaryDto = {
1695
1724
  participants: Array<UserDto>;
1696
1725
  answers: NegotiationAnswersDto;
1697
1726
  totalElections: number;
1698
- moderatorElectionComments?: unknown;
1699
- internalElectionComments?: unknown;
1727
+ moderatorElectionComments?: {
1728
+ [key: string]: Array<TimelineEventDto>;
1729
+ };
1730
+ internalElectionComments?: {
1731
+ [key: string]: Array<TimelineEventDto>;
1732
+ };
1700
1733
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1701
1734
  internalDocumentComments?: Array<TimelineEventDto>;
1702
1735
  negotiationGroup?: NegotiationGroupDto;
@@ -1706,7 +1739,9 @@ export type ExecutedNegotiationSummaryDto = {
1706
1739
  dates: NegotiationDatesDto;
1707
1740
  totalDuration?: number;
1708
1741
  documentApproval?: ApprovalDto;
1709
- externalElectionComments?: unknown;
1742
+ externalElectionComments?: {
1743
+ [key: string]: Array<TimelineEventDto>;
1744
+ };
1710
1745
  };
1711
1746
 
1712
1747
  export type BlacklineEnvelopeDto = {
@@ -1764,8 +1799,12 @@ export type InvitationDocumentDetailsDto = {
1764
1799
  };
1765
1800
 
1766
1801
  export type AnswersSummariesDto = {
1767
- answerSummaries: unknown;
1768
- nestedAnswersSummaries: unknown;
1802
+ answerSummaries: {
1803
+ [key: string]: ElectionAnswerSummaryDto;
1804
+ };
1805
+ nestedAnswersSummaries: {
1806
+ [key: string]: NestedAnswersSummariesWithAnswersDto;
1807
+ };
1769
1808
  };
1770
1809
 
1771
1810
  export type RenderedTemplateDto_RenderedTemplatePageDto = {
@@ -1846,7 +1885,9 @@ export type CompletedExtractionSimilarityResultDto = {
1846
1885
  expectedUnstructured: UnstructuredExtractionResultDto;
1847
1886
  actualUnstructured: UnstructuredExtractionResultDto;
1848
1887
  similarityUnstructured: TextSimilarityScoresDto;
1849
- similarityStructured: unknown;
1888
+ similarityStructured: {
1889
+ [key: string]: ElectionValueSimilarityScoreDto;
1890
+ };
1850
1891
  created: string;
1851
1892
  actualAnswers: PartyAnswersDto;
1852
1893
  version?: string;
@@ -2173,7 +2214,9 @@ export type CreateApiUserResponse = {
2173
2214
  };
2174
2215
 
2175
2216
  export type NestedPartyAnswersDto = {
2176
- nestedAnswers: unknown;
2217
+ nestedAnswers: {
2218
+ [key: string]: PartyAnswersDto;
2219
+ };
2177
2220
  };
2178
2221
 
2179
2222
  export type AdminAccountOnlyDto = {
@@ -2228,10 +2271,14 @@ export type PresetSingleDto = {
2228
2271
  permittedAdvisors?: Array<AdvisorWithShareSettingDto>;
2229
2272
  availableActions: PresetAvailableActionsDto;
2230
2273
  reservedElectionIds: Array<string>;
2231
- electionApprovals: unknown;
2274
+ electionApprovals: {
2275
+ [key: string]: ApprovalDto;
2276
+ };
2232
2277
  schemaUpgradeReleaseNotes: Array<SchemaUpgradeReleaseNotesDto>;
2233
2278
  lastAuthored: string;
2234
- answerSummaries: unknown;
2279
+ answerSummaries: {
2280
+ [key: string]: ElectionAnswerSummaryDto;
2281
+ };
2235
2282
  documentApproval?: ApprovalDto;
2236
2283
  eventHistory: PresetEventHistoryDto;
2237
2284
  currentparty: UIPartyPosition;
@@ -2239,7 +2286,9 @@ export type PresetSingleDto = {
2239
2286
  author: string;
2240
2287
  name: string;
2241
2288
  counterparty: UIPartyPosition;
2242
- nestedAnswersSummaries: unknown;
2289
+ nestedAnswersSummaries: {
2290
+ [key: string]: NestedAnswersSummaryDto;
2291
+ };
2243
2292
  phase2ReservedElectionIds: Array<string>;
2244
2293
  description?: string;
2245
2294
  document: DocumentWithPackDto;
@@ -2278,13 +2327,17 @@ export type ProcessingExtractionSimilarityResultDto = {
2278
2327
 
2279
2328
  export type FilterResultsDto = {
2280
2329
  total: number;
2281
- results: unknown;
2330
+ results: {
2331
+ [key: string]: Array<FilterResultDto>;
2332
+ };
2282
2333
  };
2283
2334
 
2284
2335
  export type CreateBulkSetItemDto = {
2285
2336
  ownerEntityId?: string;
2286
2337
  counterparty?: CounterpartyWithReferenceIdDto;
2287
- elections: unknown;
2338
+ elections: {
2339
+ [key: string]: ElectionAnswerDto;
2340
+ };
2288
2341
  };
2289
2342
 
2290
2343
  export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
@@ -2327,14 +2380,20 @@ export type PartyElectionNestedAnswersForVersionDto = {
2327
2380
 
2328
2381
  export type TemplatePreviewDto = {
2329
2382
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
2330
- documentElementAttributes: unknown;
2331
- electionSections: unknown;
2383
+ documentElementAttributes: {
2384
+ [key: string]: string;
2385
+ };
2386
+ electionSections: {
2387
+ [key: string]: Array<string>;
2388
+ };
2332
2389
  docuSignSigners: Array<DocuSignPreviewSignerDto>;
2333
2390
  };
2334
2391
 
2335
2392
  export type ComponentAnswerDto_NestedAnswers = {
2336
2393
  nestedAnswersId: string;
2337
- answers: PartyAnswersDto;
2394
+ answers: {
2395
+ [key: string]: ElectionAnswerDto;
2396
+ };
2338
2397
  };
2339
2398
 
2340
2399
  export type DocumentPackState = 'private' | 'public' | 'restricted';
@@ -2879,11 +2938,15 @@ export type ApprovalRoundDto = {
2879
2938
  submittedAt: string;
2880
2939
  id: string;
2881
2940
  overallDecision: string;
2882
- electionApprovals: unknown;
2941
+ electionApprovals: {
2942
+ [key: string]: ApprovalDto;
2943
+ };
2883
2944
  type: string;
2884
2945
  documentApproval?: ApprovalDto;
2885
2946
  decidedAt: string;
2886
- affectedElectionApprovals?: unknown;
2947
+ affectedElectionApprovals?: {
2948
+ [key: string]: ApprovalDto;
2949
+ };
2887
2950
  };
2888
2951
 
2889
2952
  export type ComponentAnswerDto_ExhibitValueSchemaDto = {
@@ -2972,7 +3035,9 @@ export type CancelGuestApprovalRequestDto = {
2972
3035
  export type NegotiationFilter_ApprovalsPendingForMe_ApprovalsPendingForMeValue = 'Approvals pending for me' | 'Approvals pending for others';
2973
3036
 
2974
3037
  export type ExtractionFeedbackDto = {
2975
- value: unknown;
3038
+ value: {
3039
+ [key: string]: boolean;
3040
+ };
2976
3041
  };
2977
3042
 
2978
3043
  export type StaleNegotiationBucketDto = {
@@ -3159,7 +3224,9 @@ export type AdminAccountDetailDto = {
3159
3224
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3160
3225
  isAdvisor: boolean;
3161
3226
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3162
- integrationData: unknown;
3227
+ integrationData: {
3228
+ [key: string]: AccountIntegrationDataDto;
3229
+ };
3163
3230
  isOneLink: boolean;
3164
3231
  secondarySsoExpiry?: string;
3165
3232
  primarySsoExpiry?: string;
@@ -3213,7 +3280,9 @@ export type ElectionApprovalCountsDto = {
3213
3280
  };
3214
3281
 
3215
3282
  export type NegotiationUpgradeChangesDto = {
3216
- majorChanges: unknown;
3283
+ majorChanges: {
3284
+ [key: string]: Array<MajorChangeSummaryDto>;
3285
+ };
3217
3286
  afterSchemaSubset: Array<{
3218
3287
  [key: string]: unknown;
3219
3288
  }>;
@@ -3262,7 +3331,9 @@ export type DocumentWithPackDto = {
3262
3331
  version?: MajorMinorDto;
3263
3332
  startNegotiationsAsPartyB: boolean;
3264
3333
  id: string;
3265
- copyMapping: unknown;
3334
+ copyMapping: {
3335
+ [key: string]: string;
3336
+ };
3266
3337
  uploadExecutedVersionOnlyNoSignaturePages: boolean;
3267
3338
  partyThatCanConfirmExecutionVersion?: 'initiator' | 'receiver' | 'moderator';
3268
3339
  autoAttachDocxToInvites: boolean;
@@ -3407,7 +3478,9 @@ export type AdminAccountDetailWithDocumentPackDto = {
3407
3478
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3408
3479
  isAdvisor: boolean;
3409
3480
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3410
- integrationData: unknown;
3481
+ integrationData: {
3482
+ [key: string]: AccountIntegrationDataDto;
3483
+ };
3411
3484
  isOneLink: boolean;
3412
3485
  secondarySsoExpiry?: string;
3413
3486
  primarySsoExpiry?: string;
@@ -3478,7 +3551,9 @@ export type NegotiationSingleDto = {
3478
3551
  isTurn: boolean;
3479
3552
  state: NegotiationUIState;
3480
3553
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
3481
- nestedAnswersSummaries: unknown;
3554
+ nestedAnswersSummaries: {
3555
+ [key: string]: NestedAnswersSummaryDto;
3556
+ };
3482
3557
  phase2ReservedElectionIds?: Array<string>;
3483
3558
  matchingElections?: number;
3484
3559
  phase2PreviouslyReservedElectionIds?: Array<string>;
@@ -3514,9 +3589,13 @@ export type NegotiationSingleDto = {
3514
3589
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3515
3590
  reservedElectionIds: Array<string>;
3516
3591
  isExtracted: boolean;
3517
- electionApprovals: unknown;
3592
+ electionApprovals: {
3593
+ [key: string]: ApprovalDto;
3594
+ };
3518
3595
  presetSwapped?: boolean;
3519
- answerSummaries: unknown;
3596
+ answerSummaries: {
3597
+ [key: string]: ElectionAnswerSummaryDto;
3598
+ };
3520
3599
  forkedFrom: Array<NegotiationSummaryDto>;
3521
3600
  progressStatus: NegotiationStateGroup;
3522
3601
  forkedTo: Array<NegotiationSummaryDto>;
@@ -3541,13 +3620,25 @@ export type AccountStatisticsDto = {
3541
3620
  entities: number;
3542
3621
  ssoEnabled: boolean;
3543
3622
  accountId: string;
3544
- roleCounts: unknown;
3545
- apiUserCounts: unknown;
3623
+ roleCounts: {
3624
+ [key: string]: number;
3625
+ };
3626
+ apiUserCounts: {
3627
+ [key: string]: number;
3628
+ };
3546
3629
  subAccounts: number;
3547
- negotiationCounts: unknown;
3548
- apiKeyUsageWrites: unknown;
3549
- apiKeyUsageReads: unknown;
3550
- invitationCounts: unknown;
3630
+ negotiationCounts: {
3631
+ [key: string]: number;
3632
+ };
3633
+ apiKeyUsageWrites: {
3634
+ [key: string]: number;
3635
+ };
3636
+ apiKeyUsageReads: {
3637
+ [key: string]: number;
3638
+ };
3639
+ invitationCounts: {
3640
+ [key: string]: number;
3641
+ };
3551
3642
  presets: number;
3552
3643
  };
3553
3644
 
@@ -3601,7 +3692,10 @@ export type ReceiverDto = {
3601
3692
  export type SubAccountContextStatisticsDto = {
3602
3693
  negotiationCount: number;
3603
3694
  presetCount: number;
3604
- unreadNotifications: unknown;
3695
+ unreadNotifications: {
3696
+ general?: number;
3697
+ personal?: number;
3698
+ };
3605
3699
  };
3606
3700
 
3607
3701
  export type LoginType = 'SSO' | 'UsernamePassword' | 'OneLink';
@@ -3613,7 +3707,9 @@ export type AdvisorRequestStatus = 'pending' | 'accepted' | 'rejected' | 'cancel
3613
3707
  export type AllowlistOrDenylist = 'allowlist' | 'denylist';
3614
3708
 
3615
3709
  export type TemplateSettingsDto = {
3616
- pages: unknown;
3710
+ pages: {
3711
+ [key: string]: TemplateSettingsDto_TemplatePageSettingsDto;
3712
+ };
3617
3713
  styles: TemplateSettingsDto_TemplateStylesDto;
3618
3714
  continuousPageNumbering: boolean;
3619
3715
  exhibitValueColumnMode: 'single' | 'multiple';
@@ -3666,7 +3762,9 @@ export type TemplateSettingsDto_TemplatePageSettingsDto = {
3666
3762
 
3667
3763
  export type OneLinkInvitationNegotiationDetailsDto = {
3668
3764
  yourEntityName: string;
3669
- guestCopyMapping: unknown;
3765
+ guestCopyMapping: {
3766
+ [key: string]: string;
3767
+ };
3670
3768
  cancelled: boolean;
3671
3769
  comment?: string;
3672
3770
  counterpartyAccountName: string;
@@ -4012,7 +4110,14 @@ export type DocumentAvailability = 'default' | 'new' | 'unavailable';
4012
4110
 
4013
4111
  export type EmailPreferencesDto = {
4014
4112
  enabled: boolean;
4015
- preferences: unknown;
4113
+ preferences: {
4114
+ always_enabled?: Array<EmailPreferenceDto>;
4115
+ invitation?: Array<EmailPreferenceDto>;
4116
+ approval?: Array<EmailPreferenceDto>;
4117
+ negotiation_updates?: Array<EmailPreferenceDto>;
4118
+ notifications_panel_updates?: Array<EmailPreferenceDto>;
4119
+ other?: Array<EmailPreferenceDto>;
4120
+ };
4016
4121
  };
4017
4122
 
4018
4123
  export type ComponentAnswerDto = ComponentAnswerDto_Single | ComponentAnswerDto_Tabular | ComponentAnswerDto_DataEditor | ComponentAnswerDto_Multiple | ComponentAnswerDto_RepeatingGroup | ComponentAnswerDto_NestedAnswers;
@@ -4041,7 +4146,9 @@ export type InitiatorDto = {
4041
4146
  };
4042
4147
 
4043
4148
  export type TextSimilarityScoresDto = {
4044
- scores: unknown;
4149
+ scores: {
4150
+ [key: string]: Array<TextSimilarityScoreDto>;
4151
+ };
4045
4152
  };
4046
4153
 
4047
4154
  export type SendAdvisorRequestDto = {
@@ -4061,7 +4168,9 @@ export type BulkSetWithAttachmentsDto = {
4061
4168
  };
4062
4169
 
4063
4170
  export type SchemaSampleConfigurationDto = {
4064
- configuration: unknown;
4171
+ configuration: {
4172
+ [key: string]: ElectionSampleConfigurationDto;
4173
+ };
4065
4174
  };
4066
4175
 
4067
4176
  export type AdvisorAccountRelationshipsDto = {
@@ -4100,7 +4209,9 @@ export type NegotiationUIFilterCountsDto = {
4100
4209
  inBulkSet: number;
4101
4210
  failedToSendInBulkSet: number;
4102
4211
  totalFailedBulkSendNegotiation: number;
4103
- states: unknown;
4212
+ states: {
4213
+ [key: string]: number;
4214
+ };
4104
4215
  total: number;
4105
4216
  assignedToMe: number;
4106
4217
  sentInBulkSet: number;
@@ -4259,7 +4370,9 @@ export type InvitationCodeDto = {
4259
4370
  };
4260
4371
 
4261
4372
  export type AmendDefaultsDto = {
4262
- elections: unknown;
4373
+ elections: {
4374
+ [key: string]: string;
4375
+ };
4263
4376
  };
4264
4377
 
4265
4378
  export type DocumentPackAccess = 'required' | 'granted' | 'restricted';