@createiq/backend 1.0.135 → 1.0.136

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 = {
@@ -675,7 +679,9 @@ export type ComponentDto = {
675
679
  export type NestedAnswersSummariesWithPresetAnswersDto = {
676
680
  completedElections: Array<string>;
677
681
  answeredElections: Array<string>;
678
- answerSummaries: unknown;
682
+ answerSummaries: {
683
+ [key: string]: ElectionAnswerSummaryDto;
684
+ };
679
685
  answers: PartyAnswersDto;
680
686
  };
681
687
 
@@ -808,6 +814,11 @@ export type ApprovalDto = {
808
814
  approvalInProgress?: ApprovalDecisionsWithSubmittedValuesDto;
809
815
  };
810
816
 
817
+ export type CommentReactionDto = {
818
+ user: UserDto;
819
+ timestamp: string;
820
+ };
821
+
811
822
  export type DocumentErrorResponseDto = {
812
823
  humanReadableMessage?: string;
813
824
  causes?: Array<CausesDto>;
@@ -1128,12 +1139,20 @@ export type FailedExtractionResultDto = {
1128
1139
 
1129
1140
  export type PlatformStatisticsDto = {
1130
1141
  entities: number;
1131
- roleCounts: unknown;
1132
- apiUserCounts: unknown;
1142
+ roleCounts: {
1143
+ [key: string]: number;
1144
+ };
1145
+ apiUserCounts: {
1146
+ [key: string]: number;
1147
+ };
1133
1148
  subAccounts: number;
1134
- negotiationCounts: unknown;
1149
+ negotiationCounts: {
1150
+ [key: string]: number;
1151
+ };
1135
1152
  accounts: number;
1136
- invitationCounts: unknown;
1153
+ invitationCounts: {
1154
+ [key: string]: number;
1155
+ };
1137
1156
  presets: number;
1138
1157
  };
1139
1158
 
@@ -1209,7 +1228,10 @@ export type ApprovalCommentAvailableActionsDto = {
1209
1228
  };
1210
1229
 
1211
1230
  export type UnreadNotificationCountsDto = {
1212
- unread: unknown;
1231
+ unread: {
1232
+ general?: number;
1233
+ personal?: number;
1234
+ };
1213
1235
  };
1214
1236
 
1215
1237
  export type TimelineEventDto = {
@@ -1221,7 +1243,9 @@ export type TimelineEventDto = {
1221
1243
  updated?: string;
1222
1244
  approvers?: ApprovalRuleChangesDto;
1223
1245
  removedApprovers?: Array<UserWithRoleDto>;
1224
- commentReactions?: unknown;
1246
+ commentReactions?: {
1247
+ [key: string]: Array<CommentReactionDto>;
1248
+ };
1225
1249
  negotiationReminder?: NegotiationReminderWithRecipientsDto;
1226
1250
  type: string;
1227
1251
  created: string;
@@ -1303,7 +1327,9 @@ export type DocumentPublisherPackDisclaimerDto = {
1303
1327
 
1304
1328
  export type ApprovalCommentsDto = {
1305
1329
  document: Array<ApprovalCommentDto>;
1306
- election: unknown;
1330
+ election: {
1331
+ [key: string]: Array<ApprovalCommentDto>;
1332
+ };
1307
1333
  availableActions: ApprovalCommentsAvailableActionsDto;
1308
1334
  };
1309
1335
 
@@ -1519,7 +1545,9 @@ export type NestedAnswersSummariesWithAnswersDto = {
1519
1545
  moderator?: PartyAnswersDto;
1520
1546
  matchingElections?: number;
1521
1547
  partyA?: PartyAnswersDto;
1522
- answerSummaries: unknown;
1548
+ answerSummaries: {
1549
+ [key: string]: ElectionAnswerSummaryDto;
1550
+ };
1523
1551
  answeredElections: Array<string>;
1524
1552
  answeredElectionsOtherSides?: Array<string>;
1525
1553
  completedElections: Array<string>;
@@ -1706,8 +1734,12 @@ export type ExecutedNegotiationSummaryDto = {
1706
1734
  participants: Array<UserDto>;
1707
1735
  answers: NegotiationAnswersDto;
1708
1736
  totalElections: number;
1709
- moderatorElectionComments?: unknown;
1710
- internalElectionComments?: unknown;
1737
+ moderatorElectionComments?: {
1738
+ [key: string]: Array<TimelineEventDto>;
1739
+ };
1740
+ internalElectionComments?: {
1741
+ [key: string]: Array<TimelineEventDto>;
1742
+ };
1711
1743
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1712
1744
  internalDocumentComments?: Array<TimelineEventDto>;
1713
1745
  negotiationGroup?: NegotiationGroupDto;
@@ -1717,7 +1749,9 @@ export type ExecutedNegotiationSummaryDto = {
1717
1749
  dates: NegotiationDatesDto;
1718
1750
  totalDuration?: number;
1719
1751
  documentApproval?: ApprovalDto;
1720
- externalElectionComments?: unknown;
1752
+ externalElectionComments?: {
1753
+ [key: string]: Array<TimelineEventDto>;
1754
+ };
1721
1755
  };
1722
1756
 
1723
1757
  export type BlacklineEnvelopeDto = {
@@ -1775,8 +1809,12 @@ export type InvitationDocumentDetailsDto = {
1775
1809
  };
1776
1810
 
1777
1811
  export type AnswersSummariesDto = {
1778
- answerSummaries: unknown;
1779
- nestedAnswersSummaries: unknown;
1812
+ answerSummaries: {
1813
+ [key: string]: ElectionAnswerSummaryDto;
1814
+ };
1815
+ nestedAnswersSummaries: {
1816
+ [key: string]: NestedAnswersSummariesWithAnswersDto;
1817
+ };
1780
1818
  };
1781
1819
 
1782
1820
  export type RenderedTemplateDto_RenderedTemplatePageDto = {
@@ -1857,7 +1895,9 @@ export type CompletedExtractionSimilarityResultDto = {
1857
1895
  expectedUnstructured: UnstructuredExtractionResultDto;
1858
1896
  actualUnstructured: UnstructuredExtractionResultDto;
1859
1897
  similarityUnstructured: TextSimilarityScoresDto;
1860
- similarityStructured: unknown;
1898
+ similarityStructured: {
1899
+ [key: string]: ElectionValueSimilarityScoreDto;
1900
+ };
1861
1901
  created: string;
1862
1902
  actualAnswers: PartyAnswersDto;
1863
1903
  version?: string;
@@ -2189,7 +2229,9 @@ export type CreateApiUserResponse = {
2189
2229
  };
2190
2230
 
2191
2231
  export type NestedPartyAnswersDto = {
2192
- nestedAnswers: unknown;
2232
+ nestedAnswers: {
2233
+ [key: string]: PartyAnswersDto;
2234
+ };
2193
2235
  };
2194
2236
 
2195
2237
  export type AdminAccountOnlyDto = {
@@ -2244,10 +2286,14 @@ export type PresetSingleDto = {
2244
2286
  permittedAdvisors?: Array<AdvisorWithShareSettingDto>;
2245
2287
  availableActions: PresetAvailableActionsDto;
2246
2288
  reservedElectionIds: Array<string>;
2247
- electionApprovals: unknown;
2289
+ electionApprovals: {
2290
+ [key: string]: ApprovalDto;
2291
+ };
2248
2292
  schemaUpgradeReleaseNotes: Array<SchemaUpgradeReleaseNotesDto>;
2249
2293
  lastAuthored: string;
2250
- answerSummaries: unknown;
2294
+ answerSummaries: {
2295
+ [key: string]: ElectionAnswerSummaryDto;
2296
+ };
2251
2297
  documentApproval?: ApprovalDto;
2252
2298
  eventHistory: PresetEventHistoryDto;
2253
2299
  currentparty: UIPartyPosition;
@@ -2255,7 +2301,9 @@ export type PresetSingleDto = {
2255
2301
  author: string;
2256
2302
  name: string;
2257
2303
  counterparty: UIPartyPosition;
2258
- nestedAnswersSummaries: unknown;
2304
+ nestedAnswersSummaries: {
2305
+ [key: string]: NestedAnswersSummaryDto;
2306
+ };
2259
2307
  phase2ReservedElectionIds: Array<string>;
2260
2308
  description?: string;
2261
2309
  document: DocumentWithPackDto;
@@ -2294,13 +2342,17 @@ export type ProcessingExtractionSimilarityResultDto = {
2294
2342
 
2295
2343
  export type FilterResultsDto = {
2296
2344
  total: number;
2297
- results: unknown;
2345
+ results: {
2346
+ [key: string]: Array<FilterResultDto>;
2347
+ };
2298
2348
  };
2299
2349
 
2300
2350
  export type CreateBulkSetItemDto = {
2301
2351
  ownerEntityId?: string;
2302
2352
  counterparty?: CounterpartyWithReferenceIdDto;
2303
- elections: unknown;
2353
+ elections: {
2354
+ [key: string]: ElectionAnswerDto;
2355
+ };
2304
2356
  };
2305
2357
 
2306
2358
  export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
@@ -2343,14 +2395,20 @@ export type PartyElectionNestedAnswersForVersionDto = {
2343
2395
 
2344
2396
  export type TemplatePreviewDto = {
2345
2397
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
2346
- documentElementAttributes: unknown;
2347
- electionSections: unknown;
2398
+ documentElementAttributes: {
2399
+ [key: string]: string;
2400
+ };
2401
+ electionSections: {
2402
+ [key: string]: Array<string>;
2403
+ };
2348
2404
  docuSignSigners: Array<DocuSignPreviewSignerDto>;
2349
2405
  };
2350
2406
 
2351
2407
  export type ComponentAnswerDto_NestedAnswers = {
2352
2408
  nestedAnswersId: string;
2353
- answers: PartyAnswersDto;
2409
+ answers: {
2410
+ [key: string]: ElectionAnswerDto;
2411
+ };
2354
2412
  };
2355
2413
 
2356
2414
  export type DocumentPackState = 'private' | 'public' | 'restricted';
@@ -2895,11 +2953,15 @@ export type ApprovalRoundDto = {
2895
2953
  submittedAt: string;
2896
2954
  id: string;
2897
2955
  overallDecision: string;
2898
- electionApprovals: unknown;
2956
+ electionApprovals: {
2957
+ [key: string]: ApprovalDto;
2958
+ };
2899
2959
  type: string;
2900
2960
  documentApproval?: ApprovalDto;
2901
2961
  decidedAt: string;
2902
- affectedElectionApprovals?: unknown;
2962
+ affectedElectionApprovals?: {
2963
+ [key: string]: ApprovalDto;
2964
+ };
2903
2965
  };
2904
2966
 
2905
2967
  export type ComponentAnswerDto_ExhibitValueSchemaDto = {
@@ -2988,7 +3050,9 @@ export type CancelGuestApprovalRequestDto = {
2988
3050
  export type NegotiationFilter_ApprovalsPendingForMe_ApprovalsPendingForMeValue = 'Approvals pending for me' | 'Approvals pending for others';
2989
3051
 
2990
3052
  export type ExtractionFeedbackDto = {
2991
- value: unknown;
3053
+ value: {
3054
+ [key: string]: boolean;
3055
+ };
2992
3056
  };
2993
3057
 
2994
3058
  export type StaleNegotiationBucketDto = {
@@ -3175,7 +3239,9 @@ export type AdminAccountDetailDto = {
3175
3239
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3176
3240
  isAdvisor: boolean;
3177
3241
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3178
- integrationData: unknown;
3242
+ integrationData: {
3243
+ [key: string]: AccountIntegrationDataDto;
3244
+ };
3179
3245
  isOneLink: boolean;
3180
3246
  secondarySsoExpiry?: string;
3181
3247
  primarySsoExpiry?: string;
@@ -3236,7 +3302,9 @@ export type ElectionApprovalCountsDto = {
3236
3302
  };
3237
3303
 
3238
3304
  export type NegotiationUpgradeChangesDto = {
3239
- majorChanges: unknown;
3305
+ majorChanges: {
3306
+ [key: string]: Array<MajorChangeSummaryDto>;
3307
+ };
3240
3308
  afterSchemaSubset: Array<{
3241
3309
  [key: string]: unknown;
3242
3310
  }>;
@@ -3286,7 +3354,9 @@ export type DocumentWithPackDto = {
3286
3354
  version?: MajorMinorDto;
3287
3355
  startNegotiationsAsPartyB: boolean;
3288
3356
  id: string;
3289
- copyMapping: unknown;
3357
+ copyMapping: {
3358
+ [key: string]: string;
3359
+ };
3290
3360
  uploadExecutedVersionOnlyNoSignaturePages: boolean;
3291
3361
  partyThatCanConfirmExecutionVersion?: 'initiator' | 'receiver' | 'moderator';
3292
3362
  autoAttachDocxToInvites: boolean;
@@ -3431,7 +3501,9 @@ export type AdminAccountDetailWithDocumentPackDto = {
3431
3501
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3432
3502
  isAdvisor: boolean;
3433
3503
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3434
- integrationData: unknown;
3504
+ integrationData: {
3505
+ [key: string]: AccountIntegrationDataDto;
3506
+ };
3435
3507
  isOneLink: boolean;
3436
3508
  secondarySsoExpiry?: string;
3437
3509
  primarySsoExpiry?: string;
@@ -3502,7 +3574,9 @@ export type NegotiationSingleDto = {
3502
3574
  isTurn: boolean;
3503
3575
  state: NegotiationUIState;
3504
3576
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
3505
- nestedAnswersSummaries: unknown;
3577
+ nestedAnswersSummaries: {
3578
+ [key: string]: NestedAnswersSummaryDto;
3579
+ };
3506
3580
  phase2ReservedElectionIds?: Array<string>;
3507
3581
  matchingElections?: number;
3508
3582
  phase2PreviouslyReservedElectionIds?: Array<string>;
@@ -3538,9 +3612,13 @@ export type NegotiationSingleDto = {
3538
3612
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3539
3613
  reservedElectionIds: Array<string>;
3540
3614
  isExtracted: boolean;
3541
- electionApprovals: unknown;
3615
+ electionApprovals: {
3616
+ [key: string]: ApprovalDto;
3617
+ };
3542
3618
  presetSwapped?: boolean;
3543
- answerSummaries: unknown;
3619
+ answerSummaries: {
3620
+ [key: string]: ElectionAnswerSummaryDto;
3621
+ };
3544
3622
  forkedFrom: Array<NegotiationSummaryDto>;
3545
3623
  progressStatus: NegotiationStateGroup;
3546
3624
  forkedTo: Array<NegotiationSummaryDto>;
@@ -3565,13 +3643,25 @@ export type AccountStatisticsDto = {
3565
3643
  entities: number;
3566
3644
  ssoEnabled: boolean;
3567
3645
  accountId: string;
3568
- roleCounts: unknown;
3569
- apiUserCounts: unknown;
3646
+ roleCounts: {
3647
+ [key: string]: number;
3648
+ };
3649
+ apiUserCounts: {
3650
+ [key: string]: number;
3651
+ };
3570
3652
  subAccounts: number;
3571
- negotiationCounts: unknown;
3572
- apiKeyUsageWrites: unknown;
3573
- apiKeyUsageReads: unknown;
3574
- invitationCounts: unknown;
3653
+ negotiationCounts: {
3654
+ [key: string]: number;
3655
+ };
3656
+ apiKeyUsageWrites: {
3657
+ [key: string]: number;
3658
+ };
3659
+ apiKeyUsageReads: {
3660
+ [key: string]: number;
3661
+ };
3662
+ invitationCounts: {
3663
+ [key: string]: number;
3664
+ };
3575
3665
  presets: number;
3576
3666
  };
3577
3667
 
@@ -3625,7 +3715,10 @@ export type ReceiverDto = {
3625
3715
  export type SubAccountContextStatisticsDto = {
3626
3716
  negotiationCount: number;
3627
3717
  presetCount: number;
3628
- unreadNotifications: unknown;
3718
+ unreadNotifications: {
3719
+ general?: number;
3720
+ personal?: number;
3721
+ };
3629
3722
  };
3630
3723
 
3631
3724
  export type LoginType = 'SSO' | 'UsernamePassword' | 'OneLink';
@@ -3637,7 +3730,9 @@ export type AdvisorRequestStatus = 'pending' | 'accepted' | 'rejected' | 'cancel
3637
3730
  export type AllowlistOrDenylist = 'allowlist' | 'denylist';
3638
3731
 
3639
3732
  export type TemplateSettingsDto = {
3640
- pages: unknown;
3733
+ pages: {
3734
+ [key: string]: TemplateSettingsDto_TemplatePageSettingsDto;
3735
+ };
3641
3736
  styles: TemplateSettingsDto_TemplateStylesDto;
3642
3737
  continuousPageNumbering: boolean;
3643
3738
  exhibitValueColumnMode: 'single' | 'multiple';
@@ -3690,7 +3785,9 @@ export type TemplateSettingsDto_TemplatePageSettingsDto = {
3690
3785
 
3691
3786
  export type OneLinkInvitationNegotiationDetailsDto = {
3692
3787
  yourEntityName: string;
3693
- guestCopyMapping: unknown;
3788
+ guestCopyMapping: {
3789
+ [key: string]: string;
3790
+ };
3694
3791
  cancelled: boolean;
3695
3792
  comment?: string;
3696
3793
  counterpartyAccountName: string;
@@ -4041,7 +4138,14 @@ export type DocumentAvailability = 'default' | 'new' | 'unavailable';
4041
4138
 
4042
4139
  export type EmailPreferencesDto = {
4043
4140
  enabled: boolean;
4044
- preferences: unknown;
4141
+ preferences: {
4142
+ always_enabled?: Array<EmailPreferenceDto>;
4143
+ invitation?: Array<EmailPreferenceDto>;
4144
+ approval?: Array<EmailPreferenceDto>;
4145
+ negotiation_updates?: Array<EmailPreferenceDto>;
4146
+ notifications_panel_updates?: Array<EmailPreferenceDto>;
4147
+ other?: Array<EmailPreferenceDto>;
4148
+ };
4045
4149
  };
4046
4150
 
4047
4151
  export type ComponentAnswerDto = ComponentAnswerDto_Single | ComponentAnswerDto_Tabular | ComponentAnswerDto_DataEditor | ComponentAnswerDto_Multiple | ComponentAnswerDto_RepeatingGroup | ComponentAnswerDto_NestedAnswers;
@@ -4070,7 +4174,9 @@ export type InitiatorDto = {
4070
4174
  };
4071
4175
 
4072
4176
  export type TextSimilarityScoresDto = {
4073
- scores: unknown;
4177
+ scores: {
4178
+ [key: string]: Array<TextSimilarityScoreDto>;
4179
+ };
4074
4180
  };
4075
4181
 
4076
4182
  export type SendAdvisorRequestDto = {
@@ -4090,7 +4196,9 @@ export type BulkSetWithAttachmentsDto = {
4090
4196
  };
4091
4197
 
4092
4198
  export type SchemaSampleConfigurationDto = {
4093
- configuration: unknown;
4199
+ configuration: {
4200
+ [key: string]: ElectionSampleConfigurationDto;
4201
+ };
4094
4202
  };
4095
4203
 
4096
4204
  export type AdvisorAccountRelationshipsDto = {
@@ -4129,7 +4237,9 @@ export type NegotiationUIFilterCountsDto = {
4129
4237
  inBulkSet: number;
4130
4238
  failedToSendInBulkSet: number;
4131
4239
  totalFailedBulkSendNegotiation: number;
4132
- states: unknown;
4240
+ states: {
4241
+ [key: string]: number;
4242
+ };
4133
4243
  total: number;
4134
4244
  assignedToMe: number;
4135
4245
  sentInBulkSet: number;
@@ -4288,7 +4398,9 @@ export type InvitationCodeDto = {
4288
4398
  };
4289
4399
 
4290
4400
  export type AmendDefaultsDto = {
4291
- elections: unknown;
4401
+ elections: {
4402
+ [key: string]: string;
4403
+ };
4292
4404
  };
4293
4405
 
4294
4406
  export type DocumentPackAccess = 'required' | 'granted' | 'restricted';