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