@createiq/backend 1.0.129 → 1.0.131

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.
@@ -23,7 +23,7 @@ export type BulkSetsCountsDto = {
23
23
  totalBulkSets: number;
24
24
  };
25
25
 
26
- export type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'MARK_AS_OFFLINE' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
26
+ export type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'MARK_AS_OFFLINE' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
27
27
 
28
28
  /**
29
29
  * A map of action name to boolean - true if the action can be performed, false otherwise. If and action cannot be performed a actionName_reason string property will be available that describes why that action is unavailable.
@@ -280,12 +280,8 @@ export type SharedSubAccountIdWithNegotiationsDto = {
280
280
 
281
281
  export type RenderedTemplateDto = {
282
282
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
283
- documentElementAttributes: {
284
- [key: string]: string;
285
- };
286
- electionSections: {
287
- [key: string]: Array<string>;
288
- };
283
+ documentElementAttributes: unknown;
284
+ electionSections: unknown;
289
285
  };
290
286
 
291
287
  export type DocumentListDto = {
@@ -340,6 +336,7 @@ export type SchemaUpgradeReleaseNotesDto = {
340
336
  };
341
337
 
342
338
  export type ActiveOrPendingUserDto = {
339
+ permittedNegotiationIds?: Array<string>;
343
340
  profileColour?: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
344
341
  subAccountIds: Array<string>;
345
342
  lastName: string;
@@ -670,9 +667,7 @@ export type ComponentDto = {
670
667
  export type NestedAnswersSummariesWithPresetAnswersDto = {
671
668
  completedElections: Array<string>;
672
669
  answeredElections: Array<string>;
673
- answerSummaries: {
674
- [key: string]: ElectionAnswerSummaryDto;
675
- };
670
+ answerSummaries: unknown;
676
671
  answers: PartyAnswersDto;
677
672
  };
678
673
 
@@ -1123,20 +1118,12 @@ export type FailedExtractionResultDto = {
1123
1118
 
1124
1119
  export type PlatformStatisticsDto = {
1125
1120
  entities: number;
1126
- roleCounts: {
1127
- [key: string]: number;
1128
- };
1129
- apiUserCounts: {
1130
- [key: string]: number;
1131
- };
1121
+ roleCounts: unknown;
1122
+ apiUserCounts: unknown;
1132
1123
  subAccounts: number;
1133
- negotiationCounts: {
1134
- [key: string]: number;
1135
- };
1124
+ negotiationCounts: unknown;
1136
1125
  accounts: number;
1137
- invitationCounts: {
1138
- [key: string]: number;
1139
- };
1126
+ invitationCounts: unknown;
1140
1127
  presets: number;
1141
1128
  };
1142
1129
 
@@ -1212,10 +1199,7 @@ export type ApprovalCommentAvailableActionsDto = {
1212
1199
  };
1213
1200
 
1214
1201
  export type UnreadNotificationCountsDto = {
1215
- unread: {
1216
- general?: number;
1217
- personal?: number;
1218
- };
1202
+ unread: unknown;
1219
1203
  };
1220
1204
 
1221
1205
  export type TimelineEventDto = {
@@ -1227,12 +1211,7 @@ export type TimelineEventDto = {
1227
1211
  updated?: string;
1228
1212
  approvers?: ApprovalRuleChangesDto;
1229
1213
  removedApprovers?: Array<UserWithRoleDto>;
1230
- commentReactions?: {
1231
- [key: string]: Array<{
1232
- user: UserDto;
1233
- timestamp: string;
1234
- }>;
1235
- };
1214
+ commentReactions?: unknown;
1236
1215
  negotiationReminder?: NegotiationReminderWithRecipientsDto;
1237
1216
  type: string;
1238
1217
  created: string;
@@ -1314,9 +1293,7 @@ export type DocumentPublisherPackDisclaimerDto = {
1314
1293
 
1315
1294
  export type ApprovalCommentsDto = {
1316
1295
  document: Array<ApprovalCommentDto>;
1317
- election: {
1318
- [key: string]: Array<ApprovalCommentDto>;
1319
- };
1296
+ election: unknown;
1320
1297
  availableActions: ApprovalCommentsAvailableActionsDto;
1321
1298
  };
1322
1299
 
@@ -1532,9 +1509,7 @@ export type NestedAnswersSummariesWithAnswersDto = {
1532
1509
  moderator?: PartyAnswersDto;
1533
1510
  matchingElections?: number;
1534
1511
  partyA?: PartyAnswersDto;
1535
- answerSummaries: {
1536
- [key: string]: ElectionAnswerSummaryDto;
1537
- };
1512
+ answerSummaries: unknown;
1538
1513
  answeredElections: Array<string>;
1539
1514
  answeredElectionsOtherSides?: Array<string>;
1540
1515
  completedElections: Array<string>;
@@ -1721,12 +1696,8 @@ export type ExecutedNegotiationSummaryDto = {
1721
1696
  participants: Array<UserDto>;
1722
1697
  answers: NegotiationAnswersDto;
1723
1698
  totalElections: number;
1724
- moderatorElectionComments?: {
1725
- [key: string]: Array<TimelineEventDto>;
1726
- };
1727
- internalElectionComments?: {
1728
- [key: string]: Array<TimelineEventDto>;
1729
- };
1699
+ moderatorElectionComments?: unknown;
1700
+ internalElectionComments?: unknown;
1730
1701
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1731
1702
  internalDocumentComments?: Array<TimelineEventDto>;
1732
1703
  negotiationGroup?: NegotiationGroupDto;
@@ -1736,9 +1707,7 @@ export type ExecutedNegotiationSummaryDto = {
1736
1707
  dates: NegotiationDatesDto;
1737
1708
  totalDuration?: number;
1738
1709
  documentApproval?: ApprovalDto;
1739
- externalElectionComments?: {
1740
- [key: string]: Array<TimelineEventDto>;
1741
- };
1710
+ externalElectionComments?: unknown;
1742
1711
  };
1743
1712
 
1744
1713
  export type BlacklineEnvelopeDto = {
@@ -1796,12 +1765,8 @@ export type InvitationDocumentDetailsDto = {
1796
1765
  };
1797
1766
 
1798
1767
  export type AnswersSummariesDto = {
1799
- answerSummaries: {
1800
- [key: string]: ElectionAnswerSummaryDto;
1801
- };
1802
- nestedAnswersSummaries: {
1803
- [key: string]: NestedAnswersSummariesWithAnswersDto;
1804
- };
1768
+ answerSummaries: unknown;
1769
+ nestedAnswersSummaries: unknown;
1805
1770
  };
1806
1771
 
1807
1772
  export type RenderedTemplateDto_RenderedTemplatePageDto = {
@@ -1882,9 +1847,7 @@ export type CompletedExtractionSimilarityResultDto = {
1882
1847
  expectedUnstructured: UnstructuredExtractionResultDto;
1883
1848
  actualUnstructured: UnstructuredExtractionResultDto;
1884
1849
  similarityUnstructured: TextSimilarityScoresDto;
1885
- similarityStructured: {
1886
- [key: string]: ElectionValueSimilarityScoreDto;
1887
- };
1850
+ similarityStructured: unknown;
1888
1851
  created: string;
1889
1852
  actualAnswers: PartyAnswersDto;
1890
1853
  version?: string;
@@ -2211,9 +2174,7 @@ export type CreateApiUserResponse = {
2211
2174
  };
2212
2175
 
2213
2176
  export type NestedPartyAnswersDto = {
2214
- nestedAnswers: {
2215
- [key: string]: PartyAnswersDto;
2216
- };
2177
+ nestedAnswers: unknown;
2217
2178
  };
2218
2179
 
2219
2180
  export type AdminAccountOnlyDto = {
@@ -2268,14 +2229,10 @@ export type PresetSingleDto = {
2268
2229
  permittedAdvisors?: Array<AdvisorWithShareSettingDto>;
2269
2230
  availableActions: PresetAvailableActionsDto;
2270
2231
  reservedElectionIds: Array<string>;
2271
- electionApprovals: {
2272
- [key: string]: ApprovalDto;
2273
- };
2232
+ electionApprovals: unknown;
2274
2233
  schemaUpgradeReleaseNotes: Array<SchemaUpgradeReleaseNotesDto>;
2275
2234
  lastAuthored: string;
2276
- answerSummaries: {
2277
- [key: string]: ElectionAnswerSummaryDto;
2278
- };
2235
+ answerSummaries: unknown;
2279
2236
  documentApproval?: ApprovalDto;
2280
2237
  eventHistory: PresetEventHistoryDto;
2281
2238
  currentparty: UIPartyPosition;
@@ -2283,9 +2240,7 @@ export type PresetSingleDto = {
2283
2240
  author: string;
2284
2241
  name: string;
2285
2242
  counterparty: UIPartyPosition;
2286
- nestedAnswersSummaries: {
2287
- [key: string]: NestedAnswersSummaryDto;
2288
- };
2243
+ nestedAnswersSummaries: unknown;
2289
2244
  phase2ReservedElectionIds: Array<string>;
2290
2245
  description?: string;
2291
2246
  document: DocumentWithPackDto;
@@ -2324,17 +2279,13 @@ export type ProcessingExtractionSimilarityResultDto = {
2324
2279
 
2325
2280
  export type FilterResultsDto = {
2326
2281
  total: number;
2327
- results: {
2328
- [key: string]: Array<FilterResultDto>;
2329
- };
2282
+ results: unknown;
2330
2283
  };
2331
2284
 
2332
2285
  export type CreateBulkSetItemDto = {
2333
2286
  ownerEntityId?: string;
2334
2287
  counterparty?: CounterpartyWithReferenceIdDto;
2335
- elections: {
2336
- [key: string]: ElectionAnswerDto;
2337
- };
2288
+ elections: unknown;
2338
2289
  };
2339
2290
 
2340
2291
  export type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
@@ -2377,20 +2328,14 @@ export type PartyElectionNestedAnswersForVersionDto = {
2377
2328
 
2378
2329
  export type TemplatePreviewDto = {
2379
2330
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
2380
- documentElementAttributes: {
2381
- [key: string]: string;
2382
- };
2383
- electionSections: {
2384
- [key: string]: Array<string>;
2385
- };
2331
+ documentElementAttributes: unknown;
2332
+ electionSections: unknown;
2386
2333
  docuSignSigners: Array<DocuSignPreviewSignerDto>;
2387
2334
  };
2388
2335
 
2389
2336
  export type ComponentAnswerDto_NestedAnswers = {
2390
2337
  nestedAnswersId: string;
2391
- answers: {
2392
- [key: string]: ElectionAnswerDto;
2393
- };
2338
+ answers: PartyAnswersDto;
2394
2339
  };
2395
2340
 
2396
2341
  export type DocumentPackState = 'private' | 'public' | 'restricted';
@@ -2405,7 +2350,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
2405
2350
  sigPageId: string;
2406
2351
  };
2407
2352
 
2408
- export type EmailTemplate = 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'userTaggedInComment' | 'userTaggedInApprovalComment' | 'shareNegotiation' | 'shareSubAccount' | 'accessRequest' | 'accessRequestResponse' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'negotiationInvite' | 'notifyDraft' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationUpdate' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | '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' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
2353
+ export type EmailTemplate = 'dailyNotificationDigest' | 'negotiationInvite' | 'userTaggedInComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'notifyDraft' | 'negotiationUpdate' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'userTaggedInApprovalComment' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'electionApprovalResponsesReceived' | 'shareSubAccount' | 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'accessRequestResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'existingApproverReplaced' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
2409
2354
 
2410
2355
  export type PartyRelativeRef = 'our' | 'counterparty';
2411
2356
 
@@ -2935,15 +2880,11 @@ export type ApprovalRoundDto = {
2935
2880
  submittedAt: string;
2936
2881
  id: string;
2937
2882
  overallDecision: string;
2938
- electionApprovals: {
2939
- [key: string]: ApprovalDto;
2940
- };
2883
+ electionApprovals: unknown;
2941
2884
  type: string;
2942
2885
  documentApproval?: ApprovalDto;
2943
2886
  decidedAt: string;
2944
- affectedElectionApprovals?: {
2945
- [key: string]: ApprovalDto;
2946
- };
2887
+ affectedElectionApprovals?: unknown;
2947
2888
  };
2948
2889
 
2949
2890
  export type ComponentAnswerDto_ExhibitValueSchemaDto = {
@@ -3032,9 +2973,7 @@ export type CancelGuestApprovalRequestDto = {
3032
2973
  export type NegotiationFilter_ApprovalsPendingForMe_ApprovalsPendingForMeValue = 'Approvals pending for me' | 'Approvals pending for others';
3033
2974
 
3034
2975
  export type ExtractionFeedbackDto = {
3035
- value: {
3036
- [key: string]: boolean;
3037
- };
2976
+ value: unknown;
3038
2977
  };
3039
2978
 
3040
2979
  export type StaleNegotiationBucketDto = {
@@ -3221,9 +3160,7 @@ export type AdminAccountDetailDto = {
3221
3160
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3222
3161
  isAdvisor: boolean;
3223
3162
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3224
- integrationData: {
3225
- [key: string]: AccountIntegrationDataDto;
3226
- };
3163
+ integrationData: unknown;
3227
3164
  isOneLink: boolean;
3228
3165
  secondarySsoExpiry?: string;
3229
3166
  primarySsoExpiry?: string;
@@ -3277,9 +3214,7 @@ export type ElectionApprovalCountsDto = {
3277
3214
  };
3278
3215
 
3279
3216
  export type NegotiationUpgradeChangesDto = {
3280
- majorChanges: {
3281
- [key: string]: Array<MajorChangeSummaryDto>;
3282
- };
3217
+ majorChanges: unknown;
3283
3218
  afterSchemaSubset: Array<{
3284
3219
  [key: string]: unknown;
3285
3220
  }>;
@@ -3328,9 +3263,7 @@ export type DocumentWithPackDto = {
3328
3263
  version?: MajorMinorDto;
3329
3264
  startNegotiationsAsPartyB: boolean;
3330
3265
  id: string;
3331
- copyMapping: {
3332
- [key: string]: string;
3333
- };
3266
+ copyMapping: unknown;
3334
3267
  uploadExecutedVersionOnlyNoSignaturePages: boolean;
3335
3268
  partyThatCanConfirmExecutionVersion?: 'initiator' | 'receiver' | 'moderator';
3336
3269
  autoAttachDocxToInvites: boolean;
@@ -3475,9 +3408,7 @@ export type AdminAccountDetailWithDocumentPackDto = {
3475
3408
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3476
3409
  isAdvisor: boolean;
3477
3410
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3478
- integrationData: {
3479
- [key: string]: AccountIntegrationDataDto;
3480
- };
3411
+ integrationData: unknown;
3481
3412
  isOneLink: boolean;
3482
3413
  secondarySsoExpiry?: string;
3483
3414
  primarySsoExpiry?: string;
@@ -3548,9 +3479,7 @@ export type NegotiationSingleDto = {
3548
3479
  isTurn: boolean;
3549
3480
  state: NegotiationUIState;
3550
3481
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
3551
- nestedAnswersSummaries: {
3552
- [key: string]: NestedAnswersSummaryDto;
3553
- };
3482
+ nestedAnswersSummaries: unknown;
3554
3483
  phase2ReservedElectionIds?: Array<string>;
3555
3484
  matchingElections?: number;
3556
3485
  phase2PreviouslyReservedElectionIds?: Array<string>;
@@ -3586,13 +3515,9 @@ export type NegotiationSingleDto = {
3586
3515
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3587
3516
  reservedElectionIds: Array<string>;
3588
3517
  isExtracted: boolean;
3589
- electionApprovals: {
3590
- [key: string]: ApprovalDto;
3591
- };
3518
+ electionApprovals: unknown;
3592
3519
  presetSwapped?: boolean;
3593
- answerSummaries: {
3594
- [key: string]: ElectionAnswerSummaryDto;
3595
- };
3520
+ answerSummaries: unknown;
3596
3521
  forkedFrom: Array<NegotiationSummaryDto>;
3597
3522
  progressStatus: NegotiationStateGroup;
3598
3523
  forkedTo: Array<NegotiationSummaryDto>;
@@ -3617,25 +3542,13 @@ export type AccountStatisticsDto = {
3617
3542
  entities: number;
3618
3543
  ssoEnabled: boolean;
3619
3544
  accountId: string;
3620
- roleCounts: {
3621
- [key: string]: number;
3622
- };
3623
- apiUserCounts: {
3624
- [key: string]: number;
3625
- };
3545
+ roleCounts: unknown;
3546
+ apiUserCounts: unknown;
3626
3547
  subAccounts: number;
3627
- negotiationCounts: {
3628
- [key: string]: number;
3629
- };
3630
- apiKeyUsageWrites: {
3631
- [key: string]: number;
3632
- };
3633
- apiKeyUsageReads: {
3634
- [key: string]: number;
3635
- };
3636
- invitationCounts: {
3637
- [key: string]: number;
3638
- };
3548
+ negotiationCounts: unknown;
3549
+ apiKeyUsageWrites: unknown;
3550
+ apiKeyUsageReads: unknown;
3551
+ invitationCounts: unknown;
3639
3552
  presets: number;
3640
3553
  };
3641
3554
 
@@ -3689,10 +3602,7 @@ export type ReceiverDto = {
3689
3602
  export type SubAccountContextStatisticsDto = {
3690
3603
  negotiationCount: number;
3691
3604
  presetCount: number;
3692
- unreadNotifications: {
3693
- general?: number;
3694
- personal?: number;
3695
- };
3605
+ unreadNotifications: unknown;
3696
3606
  };
3697
3607
 
3698
3608
  export type LoginType = 'SSO' | 'UsernamePassword' | 'OneLink';
@@ -3704,9 +3614,7 @@ export type AdvisorRequestStatus = 'pending' | 'accepted' | 'rejected' | 'cancel
3704
3614
  export type AllowlistOrDenylist = 'allowlist' | 'denylist';
3705
3615
 
3706
3616
  export type TemplateSettingsDto = {
3707
- pages: {
3708
- [key: string]: TemplateSettingsDto_TemplatePageSettingsDto;
3709
- };
3617
+ pages: unknown;
3710
3618
  styles: TemplateSettingsDto_TemplateStylesDto;
3711
3619
  continuousPageNumbering: boolean;
3712
3620
  exhibitValueColumnMode: 'single' | 'multiple';
@@ -3759,9 +3667,7 @@ export type TemplateSettingsDto_TemplatePageSettingsDto = {
3759
3667
 
3760
3668
  export type OneLinkInvitationNegotiationDetailsDto = {
3761
3669
  yourEntityName: string;
3762
- guestCopyMapping: {
3763
- [key: string]: string;
3764
- };
3670
+ guestCopyMapping: unknown;
3765
3671
  cancelled: boolean;
3766
3672
  comment?: string;
3767
3673
  counterpartyAccountName: string;
@@ -4107,14 +4013,7 @@ export type DocumentAvailability = 'default' | 'new' | 'unavailable';
4107
4013
 
4108
4014
  export type EmailPreferencesDto = {
4109
4015
  enabled: boolean;
4110
- preferences: {
4111
- always_enabled?: Array<EmailPreferenceDto>;
4112
- invitation?: Array<EmailPreferenceDto>;
4113
- approval?: Array<EmailPreferenceDto>;
4114
- negotiation_updates?: Array<EmailPreferenceDto>;
4115
- notifications_panel_updates?: Array<EmailPreferenceDto>;
4116
- other?: Array<EmailPreferenceDto>;
4117
- };
4016
+ preferences: unknown;
4118
4017
  };
4119
4018
 
4120
4019
  export type ComponentAnswerDto = ComponentAnswerDto_Single | ComponentAnswerDto_Tabular | ComponentAnswerDto_DataEditor | ComponentAnswerDto_Multiple | ComponentAnswerDto_RepeatingGroup | ComponentAnswerDto_NestedAnswers;
@@ -4143,9 +4042,7 @@ export type InitiatorDto = {
4143
4042
  };
4144
4043
 
4145
4044
  export type TextSimilarityScoresDto = {
4146
- scores: {
4147
- [key: string]: Array<TextSimilarityScoreDto>;
4148
- };
4045
+ scores: unknown;
4149
4046
  };
4150
4047
 
4151
4048
  export type SendAdvisorRequestDto = {
@@ -4165,9 +4062,7 @@ export type BulkSetWithAttachmentsDto = {
4165
4062
  };
4166
4063
 
4167
4064
  export type SchemaSampleConfigurationDto = {
4168
- configuration: {
4169
- [key: string]: ElectionSampleConfigurationDto;
4170
- };
4065
+ configuration: unknown;
4171
4066
  };
4172
4067
 
4173
4068
  export type AdvisorAccountRelationshipsDto = {
@@ -4206,9 +4101,7 @@ export type NegotiationUIFilterCountsDto = {
4206
4101
  inBulkSet: number;
4207
4102
  failedToSendInBulkSet: number;
4208
4103
  totalFailedBulkSendNegotiation: number;
4209
- states: {
4210
- [key: string]: number;
4211
- };
4104
+ states: unknown;
4212
4105
  total: number;
4213
4106
  assignedToMe: number;
4214
4107
  sentInBulkSet: number;
@@ -4367,9 +4260,7 @@ export type InvitationCodeDto = {
4367
4260
  };
4368
4261
 
4369
4262
  export type AmendDefaultsDto = {
4370
- elections: {
4371
- [key: string]: string;
4372
- };
4263
+ elections: unknown;
4373
4264
  };
4374
4265
 
4375
4266
  export type DocumentPackAccess = 'required' | 'granted' | 'restricted';
package/dist/index.d.mts CHANGED
@@ -328,7 +328,7 @@ type BulkSetsCountsDto = {
328
328
  bulkSets: Array<BulkSetJobCountDto>;
329
329
  totalBulkSets: number;
330
330
  };
331
- type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'MARK_AS_OFFLINE' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
331
+ type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'MARK_AS_OFFLINE' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
332
332
  /**
333
333
  * A map of action name to boolean - true if the action can be performed, false otherwise. If and action cannot be performed a actionName_reason string property will be available that describes why that action is unavailable.
334
334
  */
@@ -561,12 +561,8 @@ type SharedSubAccountIdWithNegotiationsDto = {
561
561
  };
562
562
  type RenderedTemplateDto = {
563
563
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
564
- documentElementAttributes: {
565
- [key: string]: string;
566
- };
567
- electionSections: {
568
- [key: string]: Array<string>;
569
- };
564
+ documentElementAttributes: unknown;
565
+ electionSections: unknown;
570
566
  };
571
567
  type DocumentListDto = {
572
568
  filter: FilterResultsDto;
@@ -611,6 +607,7 @@ type SchemaUpgradeReleaseNotesDto = {
611
607
  releaseNote?: ReleaseNotesDto;
612
608
  };
613
609
  type ActiveOrPendingUserDto = {
610
+ permittedNegotiationIds?: Array<string>;
614
611
  profileColour?: '#000000' | '#6750A4' | '#5C6B8A' | '#008569' | '#F5A623' | '#0172B1' | '#DC2773' | '#B3261E';
615
612
  subAccountIds: Array<string>;
616
613
  lastName: string;
@@ -906,9 +903,7 @@ type ComponentDto = {
906
903
  type NestedAnswersSummariesWithPresetAnswersDto = {
907
904
  completedElections: Array<string>;
908
905
  answeredElections: Array<string>;
909
- answerSummaries: {
910
- [key: string]: ElectionAnswerSummaryDto;
911
- };
906
+ answerSummaries: unknown;
912
907
  answers: PartyAnswersDto;
913
908
  };
914
909
  type SingleRecipientNotificationDto = {
@@ -1302,20 +1297,12 @@ type FailedExtractionResultDto = {
1302
1297
  };
1303
1298
  type PlatformStatisticsDto = {
1304
1299
  entities: number;
1305
- roleCounts: {
1306
- [key: string]: number;
1307
- };
1308
- apiUserCounts: {
1309
- [key: string]: number;
1310
- };
1300
+ roleCounts: unknown;
1301
+ apiUserCounts: unknown;
1311
1302
  subAccounts: number;
1312
- negotiationCounts: {
1313
- [key: string]: number;
1314
- };
1303
+ negotiationCounts: unknown;
1315
1304
  accounts: number;
1316
- invitationCounts: {
1317
- [key: string]: number;
1318
- };
1305
+ invitationCounts: unknown;
1319
1306
  presets: number;
1320
1307
  };
1321
1308
  type EditEventStateTag = 'pending' | 'accepted' | 'rejected' | 'retracted' | 'orphaned';
@@ -1377,10 +1364,7 @@ type ApprovalCommentAvailableActionsDto = {
1377
1364
  canDelete: boolean;
1378
1365
  };
1379
1366
  type UnreadNotificationCountsDto = {
1380
- unread: {
1381
- general?: number;
1382
- personal?: number;
1383
- };
1367
+ unread: unknown;
1384
1368
  };
1385
1369
  type TimelineEventDto = {
1386
1370
  channel: string;
@@ -1391,12 +1375,7 @@ type TimelineEventDto = {
1391
1375
  updated?: string;
1392
1376
  approvers?: ApprovalRuleChangesDto;
1393
1377
  removedApprovers?: Array<UserWithRoleDto>;
1394
- commentReactions?: {
1395
- [key: string]: Array<{
1396
- user: UserDto;
1397
- timestamp: string;
1398
- }>;
1399
- };
1378
+ commentReactions?: unknown;
1400
1379
  negotiationReminder?: NegotiationReminderWithRecipientsDto;
1401
1380
  type: string;
1402
1381
  created: string;
@@ -1466,9 +1445,7 @@ type DocumentPublisherPackDisclaimerDto = {
1466
1445
  };
1467
1446
  type ApprovalCommentsDto = {
1468
1447
  document: Array<ApprovalCommentDto>;
1469
- election: {
1470
- [key: string]: Array<ApprovalCommentDto>;
1471
- };
1448
+ election: unknown;
1472
1449
  availableActions: ApprovalCommentsAvailableActionsDto;
1473
1450
  };
1474
1451
  type ElectionAnswerDto_TextAmendment = {
@@ -1654,9 +1631,7 @@ type NestedAnswersSummariesWithAnswersDto = {
1654
1631
  moderator?: PartyAnswersDto;
1655
1632
  matchingElections?: number;
1656
1633
  partyA?: PartyAnswersDto;
1657
- answerSummaries: {
1658
- [key: string]: ElectionAnswerSummaryDto;
1659
- };
1634
+ answerSummaries: unknown;
1660
1635
  answeredElections: Array<string>;
1661
1636
  answeredElectionsOtherSides?: Array<string>;
1662
1637
  completedElections: Array<string>;
@@ -1815,12 +1790,8 @@ type ExecutedNegotiationSummaryDto = {
1815
1790
  participants: Array<UserDto>;
1816
1791
  answers: NegotiationAnswersDto;
1817
1792
  totalElections: number;
1818
- moderatorElectionComments?: {
1819
- [key: string]: Array<TimelineEventDto>;
1820
- };
1821
- internalElectionComments?: {
1822
- [key: string]: Array<TimelineEventDto>;
1823
- };
1793
+ moderatorElectionComments?: unknown;
1794
+ internalElectionComments?: unknown;
1824
1795
  partyA?: ExecutedNegotiationSummaryDto_PartyDto;
1825
1796
  internalDocumentComments?: Array<TimelineEventDto>;
1826
1797
  negotiationGroup?: NegotiationGroupDto;
@@ -1830,9 +1801,7 @@ type ExecutedNegotiationSummaryDto = {
1830
1801
  dates: NegotiationDatesDto;
1831
1802
  totalDuration?: number;
1832
1803
  documentApproval?: ApprovalDto;
1833
- externalElectionComments?: {
1834
- [key: string]: Array<TimelineEventDto>;
1835
- };
1804
+ externalElectionComments?: unknown;
1836
1805
  };
1837
1806
  type BlacklineEnvelopeDto = {
1838
1807
  negotiationVersion: MajorMinorDto;
@@ -1883,12 +1852,8 @@ type InvitationDocumentDetailsDto = {
1883
1852
  publisherCode: string;
1884
1853
  };
1885
1854
  type AnswersSummariesDto = {
1886
- answerSummaries: {
1887
- [key: string]: ElectionAnswerSummaryDto;
1888
- };
1889
- nestedAnswersSummaries: {
1890
- [key: string]: NestedAnswersSummariesWithAnswersDto;
1891
- };
1855
+ answerSummaries: unknown;
1856
+ nestedAnswersSummaries: unknown;
1892
1857
  };
1893
1858
  type RenderedTemplateDto_RenderedTemplatePageDto = {
1894
1859
  page: string;
@@ -1952,9 +1917,7 @@ type CompletedExtractionSimilarityResultDto = {
1952
1917
  expectedUnstructured: UnstructuredExtractionResultDto;
1953
1918
  actualUnstructured: UnstructuredExtractionResultDto;
1954
1919
  similarityUnstructured: TextSimilarityScoresDto;
1955
- similarityStructured: {
1956
- [key: string]: ElectionValueSimilarityScoreDto;
1957
- };
1920
+ similarityStructured: unknown;
1958
1921
  created: string;
1959
1922
  actualAnswers: PartyAnswersDto;
1960
1923
  version?: string;
@@ -2231,9 +2194,7 @@ type CreateApiUserResponse = {
2231
2194
  lastUsedAt?: string;
2232
2195
  };
2233
2196
  type NestedPartyAnswersDto = {
2234
- nestedAnswers: {
2235
- [key: string]: PartyAnswersDto;
2236
- };
2197
+ nestedAnswers: unknown;
2237
2198
  };
2238
2199
  type AdminAccountOnlyDto = {
2239
2200
  accountName: string;
@@ -2281,14 +2242,10 @@ type PresetSingleDto = {
2281
2242
  permittedAdvisors?: Array<AdvisorWithShareSettingDto>;
2282
2243
  availableActions: PresetAvailableActionsDto;
2283
2244
  reservedElectionIds: Array<string>;
2284
- electionApprovals: {
2285
- [key: string]: ApprovalDto;
2286
- };
2245
+ electionApprovals: unknown;
2287
2246
  schemaUpgradeReleaseNotes: Array<SchemaUpgradeReleaseNotesDto>;
2288
2247
  lastAuthored: string;
2289
- answerSummaries: {
2290
- [key: string]: ElectionAnswerSummaryDto;
2291
- };
2248
+ answerSummaries: unknown;
2292
2249
  documentApproval?: ApprovalDto;
2293
2250
  eventHistory: PresetEventHistoryDto;
2294
2251
  currentparty: UIPartyPosition;
@@ -2296,9 +2253,7 @@ type PresetSingleDto = {
2296
2253
  author: string;
2297
2254
  name: string;
2298
2255
  counterparty: UIPartyPosition;
2299
- nestedAnswersSummaries: {
2300
- [key: string]: NestedAnswersSummaryDto;
2301
- };
2256
+ nestedAnswersSummaries: unknown;
2302
2257
  phase2ReservedElectionIds: Array<string>;
2303
2258
  description?: string;
2304
2259
  document: DocumentWithPackDto;
@@ -2332,16 +2287,12 @@ type ProcessingExtractionSimilarityResultDto = {
2332
2287
  };
2333
2288
  type FilterResultsDto = {
2334
2289
  total: number;
2335
- results: {
2336
- [key: string]: Array<FilterResultDto>;
2337
- };
2290
+ results: unknown;
2338
2291
  };
2339
2292
  type CreateBulkSetItemDto = {
2340
2293
  ownerEntityId?: string;
2341
2294
  counterparty?: CounterpartyWithReferenceIdDto;
2342
- elections: {
2343
- [key: string]: ElectionAnswerDto;
2344
- };
2295
+ elections: unknown;
2345
2296
  };
2346
2297
  type TextValidationFormat = 'number' | 'decimal' | 'year' | 'onlyNumbers' | 'custom' | 'constant';
2347
2298
  type NegotiationPartyDto = ({
@@ -2374,19 +2325,13 @@ type PartyElectionNestedAnswersForVersionDto = {
2374
2325
  };
2375
2326
  type TemplatePreviewDto = {
2376
2327
  pages: Array<RenderedTemplateDto_RenderedTemplatePageDto>;
2377
- documentElementAttributes: {
2378
- [key: string]: string;
2379
- };
2380
- electionSections: {
2381
- [key: string]: Array<string>;
2382
- };
2328
+ documentElementAttributes: unknown;
2329
+ electionSections: unknown;
2383
2330
  docuSignSigners: Array<DocuSignPreviewSignerDto>;
2384
2331
  };
2385
2332
  type ComponentAnswerDto_NestedAnswers = {
2386
2333
  nestedAnswersId: string;
2387
- answers: {
2388
- [key: string]: ElectionAnswerDto;
2389
- };
2334
+ answers: PartyAnswersDto;
2390
2335
  };
2391
2336
  type DocumentPackState = 'private' | 'public' | 'restricted';
2392
2337
  type SignatureExistsDto_RequiredSignaturePageDto = {
@@ -2398,7 +2343,7 @@ type SignatureExistsDto_RequiredSignaturePageDto = {
2398
2343
  exists: boolean;
2399
2344
  sigPageId: string;
2400
2345
  };
2401
- type EmailTemplate = 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'userTaggedInComment' | 'userTaggedInApprovalComment' | 'shareNegotiation' | 'shareSubAccount' | 'accessRequest' | 'accessRequestResponse' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'negotiationInvite' | 'notifyDraft' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationUpdate' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | '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' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
2346
+ type EmailTemplate = 'dailyNotificationDigest' | 'negotiationInvite' | 'userTaggedInComment' | 'shareNegotiation' | 'accessRequest' | 'presetApprovalRequested' | 'presetApprovalResponse' | 'notifyDraft' | 'negotiationUpdate' | 'confirmAgreedForm' | 'executionAgreed' | 'negotiationComplete' | 'revertToAmending' | 'executionCpPagesUploaded' | 'auxiliaryDocumentUploaded' | 'negotiationExtendedWorkflowStage1ConfirmTemplate' | 'userTaggedInApprovalComment' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'electionApprovalRequired' | 'electionApprovalResponsesReceived' | 'shareSubAccount' | 'userInvite' | 'accountInvite' | 'negotiationCreateAccountInvite' | 'negotiationOneLinkInvite' | 'registerSSOUser' | 'approversRemoved' | 'approversFixed' | 'accessRequestResponse' | 'forwardInvite' | 'forgottenPassword' | 'unregisteredUserForgottenPassword' | 'supportAccessConfirmation' | 'negotiationInviteApproverOrAdmin' | 'negotiationInviteNamedWhereNoEntity' | 'negotiationInviteNamedWhereNoUser' | 'negotiationInviteEntityManagement' | 'negotiationStarted' | 'negotiationGroupInvite' | 'negotiationGroupCreateAccountInvite' | 'negotiationGroupInviteApproverOrAdmin' | 'negotiationGroupInviteNamedWhereNoEntity' | 'negotiationGroupInviteEntityManagement' | 'negotiationGroupInviteNamedWhereNoUser' | 'negotiationGroupUpdate' | 'negotiationGroupDissolved' | 'manualReminderEmail' | 'sSOExpiresSoon' | 'sSOExpiresImminently' | 'supportSamlJitDemotionBlocked' | 'contactSMForNewApprovalRequired' | 'guestFinalApprovalRequired' | 'guestElectionApprovalRequired' | 'documentApprovalReminder' | 'electionApprovalReminder' | 'inviteExistingUserAdvisorAccount' | 'inviteExistingUserNonAdvisorAccount' | 'inviteNewUserAdvisorAccount' | 'inviteNewUserNonAdvisorAccount' | 'inviteNewAccount' | 'advisorRequestRejected' | 'advisorRequestAccepted' | 'notifyBreakingChange' | 'noContent' | 'negotiationUnsubscribe' | 'negotiationReport' | 'auditReport' | 'notifyCounterpartyUnsubscribed' | 'existingApproverReplaced' | 'firstReminderUnassignedEmail' | 'secondReminderUnassignedEmail' | 'firstReminderAssignedEmail' | 'secondReminderAssignedEmail' | 'firstReminderFreeEmailAssignedEmail' | 'secondReminderFreeEmailAssignedEmail' | 'contactSupportConfirmation';
2402
2347
  type PartyRelativeRef = 'our' | 'counterparty';
2403
2348
  type PresetOrderKey = 'name' | 'documentType' | 'status' | 'dateCreated';
2404
2349
  type BulkSetDto = {
@@ -2850,15 +2795,11 @@ type ApprovalRoundDto = {
2850
2795
  submittedAt: string;
2851
2796
  id: string;
2852
2797
  overallDecision: string;
2853
- electionApprovals: {
2854
- [key: string]: ApprovalDto;
2855
- };
2798
+ electionApprovals: unknown;
2856
2799
  type: string;
2857
2800
  documentApproval?: ApprovalDto;
2858
2801
  decidedAt: string;
2859
- affectedElectionApprovals?: {
2860
- [key: string]: ApprovalDto;
2861
- };
2802
+ affectedElectionApprovals?: unknown;
2862
2803
  };
2863
2804
  type ComponentAnswerDto_ExhibitValueSchemaDto = {
2864
2805
  name: string;
@@ -2933,9 +2874,7 @@ type CancelGuestApprovalRequestDto = {
2933
2874
  };
2934
2875
  type NegotiationFilter_ApprovalsPendingForMe_ApprovalsPendingForMeValue = 'Approvals pending for me' | 'Approvals pending for others';
2935
2876
  type ExtractionFeedbackDto = {
2936
- value: {
2937
- [key: string]: boolean;
2938
- };
2877
+ value: unknown;
2939
2878
  };
2940
2879
  type StaleNegotiationBucketDto = {
2941
2880
  electionLevelApprovals: number;
@@ -3092,9 +3031,7 @@ type AdminAccountDetailDto = {
3092
3031
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3093
3032
  isAdvisor: boolean;
3094
3033
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3095
- integrationData: {
3096
- [key: string]: AccountIntegrationDataDto;
3097
- };
3034
+ integrationData: unknown;
3098
3035
  isOneLink: boolean;
3099
3036
  secondarySsoExpiry?: string;
3100
3037
  primarySsoExpiry?: string;
@@ -3141,9 +3078,7 @@ type ElectionApprovalCountsDto = {
3141
3078
  pendingForMe: number;
3142
3079
  };
3143
3080
  type NegotiationUpgradeChangesDto = {
3144
- majorChanges: {
3145
- [key: string]: Array<MajorChangeSummaryDto>;
3146
- };
3081
+ majorChanges: unknown;
3147
3082
  afterSchemaSubset: Array<{
3148
3083
  [key: string]: unknown;
3149
3084
  }>;
@@ -3191,9 +3126,7 @@ type DocumentWithPackDto = {
3191
3126
  version?: MajorMinorDto;
3192
3127
  startNegotiationsAsPartyB: boolean;
3193
3128
  id: string;
3194
- copyMapping: {
3195
- [key: string]: string;
3196
- };
3129
+ copyMapping: unknown;
3197
3130
  uploadExecutedVersionOnlyNoSignaturePages: boolean;
3198
3131
  partyThatCanConfirmExecutionVersion?: 'initiator' | 'receiver' | 'moderator';
3199
3132
  autoAttachDocxToInvites: boolean;
@@ -3312,9 +3245,7 @@ type AdminAccountDetailWithDocumentPackDto = {
3312
3245
  negotiationFilenameConfig?: NegotiationFilenameConfigDto;
3313
3246
  isAdvisor: boolean;
3314
3247
  docusignEmailRestriction: 'exact_email_match' | 'in_allowed_domains' | 'no_restriction';
3315
- integrationData: {
3316
- [key: string]: AccountIntegrationDataDto;
3317
- };
3248
+ integrationData: unknown;
3318
3249
  isOneLink: boolean;
3319
3250
  secondarySsoExpiry?: string;
3320
3251
  primarySsoExpiry?: string;
@@ -3379,9 +3310,7 @@ type NegotiationSingleDto = {
3379
3310
  isTurn: boolean;
3380
3311
  state: NegotiationUIState;
3381
3312
  workflowType: 'offline' | 'w1' | 'w1Ext' | 'w1ExtOffline' | 'w1ExtStage2' | 'w1ExtStage2Offline' | 'w1ExtCombinedStage' | 'w1ExtCombinedStageOffline';
3382
- nestedAnswersSummaries: {
3383
- [key: string]: NestedAnswersSummaryDto;
3384
- };
3313
+ nestedAnswersSummaries: unknown;
3385
3314
  phase2ReservedElectionIds?: Array<string>;
3386
3315
  matchingElections?: number;
3387
3316
  phase2PreviouslyReservedElectionIds?: Array<string>;
@@ -3417,13 +3346,9 @@ type NegotiationSingleDto = {
3417
3346
  externalDocumentApprovalState?: 'Pending' | 'Approved' | 'Rejected' | 'ApprovalRequired' | 'NoApprovalRequired';
3418
3347
  reservedElectionIds: Array<string>;
3419
3348
  isExtracted: boolean;
3420
- electionApprovals: {
3421
- [key: string]: ApprovalDto;
3422
- };
3349
+ electionApprovals: unknown;
3423
3350
  presetSwapped?: boolean;
3424
- answerSummaries: {
3425
- [key: string]: ElectionAnswerSummaryDto;
3426
- };
3351
+ answerSummaries: unknown;
3427
3352
  forkedFrom: Array<NegotiationSummaryDto>;
3428
3353
  progressStatus: NegotiationStateGroup;
3429
3354
  forkedTo: Array<NegotiationSummaryDto>;
@@ -3444,25 +3369,13 @@ type AccountStatisticsDto = {
3444
3369
  entities: number;
3445
3370
  ssoEnabled: boolean;
3446
3371
  accountId: string;
3447
- roleCounts: {
3448
- [key: string]: number;
3449
- };
3450
- apiUserCounts: {
3451
- [key: string]: number;
3452
- };
3372
+ roleCounts: unknown;
3373
+ apiUserCounts: unknown;
3453
3374
  subAccounts: number;
3454
- negotiationCounts: {
3455
- [key: string]: number;
3456
- };
3457
- apiKeyUsageWrites: {
3458
- [key: string]: number;
3459
- };
3460
- apiKeyUsageReads: {
3461
- [key: string]: number;
3462
- };
3463
- invitationCounts: {
3464
- [key: string]: number;
3465
- };
3375
+ negotiationCounts: unknown;
3376
+ apiKeyUsageWrites: unknown;
3377
+ apiKeyUsageReads: unknown;
3378
+ invitationCounts: unknown;
3466
3379
  presets: number;
3467
3380
  };
3468
3381
  type ActiveUserStatisticsDto = {
@@ -3509,19 +3422,14 @@ type ReceiverDto = {
3509
3422
  type SubAccountContextStatisticsDto = {
3510
3423
  negotiationCount: number;
3511
3424
  presetCount: number;
3512
- unreadNotifications: {
3513
- general?: number;
3514
- personal?: number;
3515
- };
3425
+ unreadNotifications: unknown;
3516
3426
  };
3517
3427
  type LoginType = 'SSO' | 'UsernamePassword' | 'OneLink';
3518
3428
  type NegotiationFilter_ApprovalType_ApprovalTypeValue = 'General' | 'Election' | 'Custodian';
3519
3429
  type AdvisorRequestStatus = 'pending' | 'accepted' | 'rejected' | 'cancelled';
3520
3430
  type AllowlistOrDenylist = 'allowlist' | 'denylist';
3521
3431
  type TemplateSettingsDto = {
3522
- pages: {
3523
- [key: string]: TemplateSettingsDto_TemplatePageSettingsDto;
3524
- };
3432
+ pages: unknown;
3525
3433
  styles: TemplateSettingsDto_TemplateStylesDto;
3526
3434
  continuousPageNumbering: boolean;
3527
3435
  exhibitValueColumnMode: 'single' | 'multiple';
@@ -3569,9 +3477,7 @@ type TemplateSettingsDto_TemplatePageSettingsDto = {
3569
3477
  };
3570
3478
  type OneLinkInvitationNegotiationDetailsDto = {
3571
3479
  yourEntityName: string;
3572
- guestCopyMapping: {
3573
- [key: string]: string;
3574
- };
3480
+ guestCopyMapping: unknown;
3575
3481
  cancelled: boolean;
3576
3482
  comment?: string;
3577
3483
  counterpartyAccountName: string;
@@ -3873,14 +3779,7 @@ type ComponentAnswerDto_OutOfScopeFundDto = {
3873
3779
  type DocumentAvailability = 'default' | 'new' | 'unavailable';
3874
3780
  type EmailPreferencesDto = {
3875
3781
  enabled: boolean;
3876
- preferences: {
3877
- always_enabled?: Array<EmailPreferenceDto>;
3878
- invitation?: Array<EmailPreferenceDto>;
3879
- approval?: Array<EmailPreferenceDto>;
3880
- negotiation_updates?: Array<EmailPreferenceDto>;
3881
- notifications_panel_updates?: Array<EmailPreferenceDto>;
3882
- other?: Array<EmailPreferenceDto>;
3883
- };
3782
+ preferences: unknown;
3884
3783
  };
3885
3784
  type ComponentAnswerDto = ComponentAnswerDto_Single | ComponentAnswerDto_Tabular | ComponentAnswerDto_DataEditor | ComponentAnswerDto_Multiple | ComponentAnswerDto_RepeatingGroup | ComponentAnswerDto_NestedAnswers;
3886
3785
  type SidedNegotiationCountsDto = {
@@ -3904,9 +3803,7 @@ type InitiatorDto = {
3904
3803
  canUploadSignaturePagesFor: Array<string>;
3905
3804
  };
3906
3805
  type TextSimilarityScoresDto = {
3907
- scores: {
3908
- [key: string]: Array<TextSimilarityScoreDto>;
3909
- };
3806
+ scores: unknown;
3910
3807
  };
3911
3808
  type SendAdvisorRequestDto = {
3912
3809
  email: string;
@@ -3922,9 +3819,7 @@ type BulkSetWithAttachmentsDto = {
3922
3819
  attachments: Array<AttachmentsExistsDto_ExistingAttachmentDto>;
3923
3820
  };
3924
3821
  type SchemaSampleConfigurationDto = {
3925
- configuration: {
3926
- [key: string]: ElectionSampleConfigurationDto;
3927
- };
3822
+ configuration: unknown;
3928
3823
  };
3929
3824
  type AdvisorAccountRelationshipsDto = {
3930
3825
  clients: Array<AdvisorAccountRelationshipDto>;
@@ -3957,9 +3852,7 @@ type NegotiationUIFilterCountsDto = {
3957
3852
  inBulkSet: number;
3958
3853
  failedToSendInBulkSet: number;
3959
3854
  totalFailedBulkSendNegotiation: number;
3960
- states: {
3961
- [key: string]: number;
3962
- };
3855
+ states: unknown;
3963
3856
  total: number;
3964
3857
  assignedToMe: number;
3965
3858
  sentInBulkSet: number;
@@ -4095,9 +3988,7 @@ type InvitationCodeDto = {
4095
3988
  invitationCode: string;
4096
3989
  };
4097
3990
  type AmendDefaultsDto = {
4098
- elections: {
4099
- [key: string]: string;
4100
- };
3991
+ elections: unknown;
4101
3992
  };
4102
3993
  type DocumentPackAccess = 'required' | 'granted' | 'restricted';
4103
3994
  type AccountNameDto = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@createiq/backend",
3
- "version": "1.0.129",
3
+ "version": "1.0.131",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
@@ -1 +1 @@
1
- fa1f1a123f03d43cc577620157b1158904a8f515b74a7524e7e9f8add3bfc52d
1
+ a33f0f6ae4b67f26e00313e4b1d7b441f5622a575efc5f5a8983d1dbcc8cb12e