@createiq/backend 1.0.161 → 1.0.163
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.
- package/client/index.ts +2 -2
- package/client/sdk.gen.ts +34 -1
- package/client/types.gen.ts +185 -39
- package/dist/index.d.mts +177 -35
- package/dist/index.mjs +40 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/types.gen.ts
CHANGED
|
@@ -510,12 +510,6 @@ export type AccountIntegrationDataDto = {
|
|
|
510
510
|
accountCorrelationId: string;
|
|
511
511
|
};
|
|
512
512
|
|
|
513
|
-
export type AuditEventDto = {
|
|
514
|
-
auditEventId: string;
|
|
515
|
-
effect: AuditEventEffectDto;
|
|
516
|
-
cause: AuditEventCauseDto;
|
|
517
|
-
};
|
|
518
|
-
|
|
519
513
|
export type DocumentPackWithDocumentsDto = {
|
|
520
514
|
pack: DocumentPackDto;
|
|
521
515
|
access?: 'required' | 'granted' | 'restricted';
|
|
@@ -541,11 +535,6 @@ export type NegotiationFilesSummaryDto = {
|
|
|
541
535
|
negotiationFileNames: NegotiationFileNamesDto;
|
|
542
536
|
};
|
|
543
537
|
|
|
544
|
-
export type PartyNestedAnswersIdsDto = {
|
|
545
|
-
partyId: string;
|
|
546
|
-
nestedAnswersIds: Array<string>;
|
|
547
|
-
};
|
|
548
|
-
|
|
549
538
|
export type DocumentStatisticsDto_NegotiationStatistics = {
|
|
550
539
|
draft: DocumentStatisticsDto_StateStatistic;
|
|
551
540
|
inFlight: DocumentStatisticsDto_StateStatistic;
|
|
@@ -580,6 +569,20 @@ export type OneLinkDisplayTypeDto = 'oneLinkApproverLogin' | 'oneLinkEditorLogin
|
|
|
580
569
|
|
|
581
570
|
export type NotificationCategory = 'notifications_panel_updates' | 'invitation' | 'negotiation_updates' | 'approval' | 'other' | 'always_enabled';
|
|
582
571
|
|
|
572
|
+
export type ElectionInsightDto = {
|
|
573
|
+
number?: number;
|
|
574
|
+
description?: string;
|
|
575
|
+
label: string;
|
|
576
|
+
components: Array<ComponentInsightDto>;
|
|
577
|
+
id: string;
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
export type AuditEventDto = {
|
|
581
|
+
auditEventId: string;
|
|
582
|
+
effect: AuditEventEffectDto;
|
|
583
|
+
cause: AuditEventCauseDto;
|
|
584
|
+
};
|
|
585
|
+
|
|
583
586
|
export type NegotiationAnswersDto = {
|
|
584
587
|
partyA?: PartyAnswersDto;
|
|
585
588
|
partyB?: PartyAnswersDto;
|
|
@@ -723,6 +726,15 @@ export type SingleRecipientNotificationDto = {
|
|
|
723
726
|
notificationType: NotificationTypeDto;
|
|
724
727
|
};
|
|
725
728
|
|
|
729
|
+
export type PartyNestedAnswersIdsDto = {
|
|
730
|
+
partyId: string;
|
|
731
|
+
nestedAnswersIds: Array<string>;
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
export type ValueUnchangedDto = {
|
|
735
|
+
unchanged: boolean;
|
|
736
|
+
};
|
|
737
|
+
|
|
726
738
|
export type AdvisorNegotiationRequestDto = {
|
|
727
739
|
negotiationIds: Array<string>;
|
|
728
740
|
};
|
|
@@ -883,6 +895,13 @@ export type NegotiationReminderWithRecipientsDto = {
|
|
|
883
895
|
|
|
884
896
|
export type AuditReportType = 'audit_log_report' | 'comments_log_report';
|
|
885
897
|
|
|
898
|
+
export type NegotiationInsightStatusTotalsDto = {
|
|
899
|
+
held: number;
|
|
900
|
+
negotiated: number;
|
|
901
|
+
accepted: number;
|
|
902
|
+
total: number;
|
|
903
|
+
};
|
|
904
|
+
|
|
886
905
|
export type SetNegotiationPackagePartiesDto = {
|
|
887
906
|
ownerEntityId?: string;
|
|
888
907
|
counterparty?: PackageCounterpartyDto;
|
|
@@ -981,8 +1000,10 @@ export type PresetResultsDto = {
|
|
|
981
1000
|
};
|
|
982
1001
|
|
|
983
1002
|
export type DocumentPackAndPublisherDto = {
|
|
984
|
-
|
|
1003
|
+
state: 'private' | 'public' | 'restricted';
|
|
985
1004
|
documentPackName: string;
|
|
1005
|
+
documentPackId: string;
|
|
1006
|
+
isVolumeBillingEnabled: boolean;
|
|
986
1007
|
publisherName: string;
|
|
987
1008
|
};
|
|
988
1009
|
|
|
@@ -1058,12 +1079,14 @@ export type PopulateStatisticsRequestDto = {
|
|
|
1058
1079
|
};
|
|
1059
1080
|
|
|
1060
1081
|
export type AdminAccountSummaryDto = {
|
|
1061
|
-
accountName: string;
|
|
1062
1082
|
enabledFeatures: Array<string>;
|
|
1063
1083
|
accountId: string;
|
|
1064
1084
|
accountShortCode: string;
|
|
1085
|
+
hasRestrictedVolumeBilledPack: boolean;
|
|
1065
1086
|
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
1066
1087
|
allowedDomains: Array<string>;
|
|
1088
|
+
accountName: string;
|
|
1089
|
+
volumeBilledNegotiationAccess: VolumeBilledNegotiationAccess;
|
|
1067
1090
|
};
|
|
1068
1091
|
|
|
1069
1092
|
export type ActiveUserDto = {
|
|
@@ -1774,6 +1797,18 @@ export type ESignAccountStatusDto = {
|
|
|
1774
1797
|
value: string;
|
|
1775
1798
|
};
|
|
1776
1799
|
|
|
1800
|
+
export type ComponentInsightDto_Component = {
|
|
1801
|
+
children?: Array<ComponentInsightDto>;
|
|
1802
|
+
label: string;
|
|
1803
|
+
answers: {
|
|
1804
|
+
[key: string]: ComponentAnswerDto | ValueUnchangedDto;
|
|
1805
|
+
};
|
|
1806
|
+
status: PositionStatus;
|
|
1807
|
+
type: 'component';
|
|
1808
|
+
bulkUploadV2Label?: string;
|
|
1809
|
+
componentId: string;
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1777
1812
|
export type ShareRequestDto = {
|
|
1778
1813
|
generalMessage?: string;
|
|
1779
1814
|
accountUsers: Array<AccountUserShareDto>;
|
|
@@ -2128,6 +2163,8 @@ export type AccountAvailableActionsDto = {
|
|
|
2128
2163
|
disableIsAdvisor: boolean;
|
|
2129
2164
|
};
|
|
2130
2165
|
|
|
2166
|
+
export type ComponentInsightDto = ComponentInsightDto_Component | ComponentInsightDto_TextAmendment;
|
|
2167
|
+
|
|
2131
2168
|
export type ClassificationConfidence = 'High' | 'Medium' | 'Low';
|
|
2132
2169
|
|
|
2133
2170
|
export type UpsertDocumentPublisherDto = {
|
|
@@ -2162,6 +2199,11 @@ export type OneLinkInvitationDetailsDto = {
|
|
|
2162
2199
|
|
|
2163
2200
|
export type PresetHealthIssue = 'approvalrulesbroken' | 'schemaupgraderequired';
|
|
2164
2201
|
|
|
2202
|
+
export type InsightVersionDto = {
|
|
2203
|
+
version: string;
|
|
2204
|
+
comparePosition: boolean;
|
|
2205
|
+
};
|
|
2206
|
+
|
|
2165
2207
|
export type PartyAnswersPatchDto = {
|
|
2166
2208
|
answersLastModified?: string;
|
|
2167
2209
|
patch: Array<{
|
|
@@ -2580,10 +2622,6 @@ export type RawResultSetDto = {
|
|
|
2580
2622
|
|
|
2581
2623
|
export type UIPartyPosition = 'partyA' | 'partyB' | 'moderator';
|
|
2582
2624
|
|
|
2583
|
-
export type UpdateCapitalMarketsOrganisationTypeDto = {
|
|
2584
|
-
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
2585
|
-
};
|
|
2586
|
-
|
|
2587
2625
|
export type SubAccountIdNameShareSettingsDto = {
|
|
2588
2626
|
id: string;
|
|
2589
2627
|
name: string;
|
|
@@ -2592,6 +2630,12 @@ export type SubAccountIdNameShareSettingsDto = {
|
|
|
2592
2630
|
|
|
2593
2631
|
export type DocumentOrderKey = 'negotiationId';
|
|
2594
2632
|
|
|
2633
|
+
export type PositionStatus = 'held' | 'negotiated' | 'cp-accepted' | 'not-applicable';
|
|
2634
|
+
|
|
2635
|
+
export type UpdateCapitalMarketsOrganisationTypeDto = {
|
|
2636
|
+
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2595
2639
|
export type SecurityContextDto = {
|
|
2596
2640
|
name: string;
|
|
2597
2641
|
enabledFeatures: Array<string>;
|
|
@@ -3454,11 +3498,6 @@ export type SelectedElectionsRequestDto = {
|
|
|
3454
3498
|
electionIds: Array<string>;
|
|
3455
3499
|
};
|
|
3456
3500
|
|
|
3457
|
-
export type SubAccountIdAndNameDto = {
|
|
3458
|
-
subAccountId: string;
|
|
3459
|
-
subAccountName: string;
|
|
3460
|
-
};
|
|
3461
|
-
|
|
3462
3501
|
export type ChannelType = 'internal' | 'external' | 'moderator' | 'execution' | 'internal-execution';
|
|
3463
3502
|
|
|
3464
3503
|
export type OwnerEntityDto = {
|
|
@@ -3534,6 +3573,19 @@ export type TimelineEventType = never;
|
|
|
3534
3573
|
|
|
3535
3574
|
export type AccessRequestState = 'pending' | 'approved' | 'rejected';
|
|
3536
3575
|
|
|
3576
|
+
export type SubAccountIdAndNameDto = {
|
|
3577
|
+
subAccountId: string;
|
|
3578
|
+
subAccountName: string;
|
|
3579
|
+
};
|
|
3580
|
+
|
|
3581
|
+
export type ComponentInsightDto_TextAmendment = {
|
|
3582
|
+
status: PositionStatus;
|
|
3583
|
+
answers: {
|
|
3584
|
+
[key: string]: string | ValueUnchangedDto;
|
|
3585
|
+
};
|
|
3586
|
+
type: 'textAmendment';
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3537
3589
|
export type UserId = string;
|
|
3538
3590
|
|
|
3539
3591
|
export type PartyElectionNestedAnswersDto = {
|
|
@@ -4334,6 +4386,14 @@ export type AuditTrailFiltersDto = {
|
|
|
4334
4386
|
subAccounts: Array<SubAccountWithIdAndOptionalNameDto>;
|
|
4335
4387
|
};
|
|
4336
4388
|
|
|
4389
|
+
export type NegotiationInsightDto = {
|
|
4390
|
+
parties: Array<NegotiationPartyDto>;
|
|
4391
|
+
elections: Array<ElectionInsightDto>;
|
|
4392
|
+
statusTotals: NegotiationInsightStatusTotalsDto;
|
|
4393
|
+
negotiationState: NegotiationUIState;
|
|
4394
|
+
allVersions: Array<InsightVersionDto>;
|
|
4395
|
+
};
|
|
4396
|
+
|
|
4337
4397
|
export type NegotiationUIFilterCountsDto = {
|
|
4338
4398
|
ourTurn: number;
|
|
4339
4399
|
triparty: number;
|
|
@@ -4421,23 +4481,6 @@ export type NonUserWatcherDto = {
|
|
|
4421
4481
|
email: string;
|
|
4422
4482
|
};
|
|
4423
4483
|
|
|
4424
|
-
export type ElectionDto = {
|
|
4425
|
-
readOnly?: boolean;
|
|
4426
|
-
reservedByDefault?: boolean;
|
|
4427
|
-
description?: string;
|
|
4428
|
-
amend: boolean;
|
|
4429
|
-
restrictions: RestrictionsDto;
|
|
4430
|
-
components: Array<ComponentDto>;
|
|
4431
|
-
guidance?: string;
|
|
4432
|
-
id: string;
|
|
4433
|
-
amendValues?: unknown;
|
|
4434
|
-
clearOnPartySwap?: boolean;
|
|
4435
|
-
zuva?: ZuvaFieldDto;
|
|
4436
|
-
type: string;
|
|
4437
|
-
excludeFromPrincipals?: boolean;
|
|
4438
|
-
label: string;
|
|
4439
|
-
};
|
|
4440
|
-
|
|
4441
4484
|
export type PartyAnswersDto = {
|
|
4442
4485
|
[key: string]: ElectionAnswerDto;
|
|
4443
4486
|
};
|
|
@@ -4520,6 +4563,25 @@ export type ReportGenerationRequestDto = {
|
|
|
4520
4563
|
subAccountIdForNotification?: string;
|
|
4521
4564
|
};
|
|
4522
4565
|
|
|
4566
|
+
export type ElectionDto = {
|
|
4567
|
+
readOnly?: boolean;
|
|
4568
|
+
reservedByDefault?: boolean;
|
|
4569
|
+
description?: string;
|
|
4570
|
+
amend: boolean;
|
|
4571
|
+
restrictions: RestrictionsDto;
|
|
4572
|
+
components: Array<ComponentDto>;
|
|
4573
|
+
guidance?: string;
|
|
4574
|
+
id: string;
|
|
4575
|
+
amendValues?: unknown;
|
|
4576
|
+
clearOnPartySwap?: boolean;
|
|
4577
|
+
zuva?: ZuvaFieldDto;
|
|
4578
|
+
type: string;
|
|
4579
|
+
excludeFromPrincipals?: boolean;
|
|
4580
|
+
label: string;
|
|
4581
|
+
};
|
|
4582
|
+
|
|
4583
|
+
export type VolumeBilledNegotiationAccess = 'Subscribed' | 'NotSellSide' | 'OrganisationTypeNotSet' | 'NoSubscription';
|
|
4584
|
+
|
|
4523
4585
|
export type AccountNameDto = {
|
|
4524
4586
|
accountName: string;
|
|
4525
4587
|
};
|
|
@@ -8492,6 +8554,33 @@ export type updateUserAnswersResponses = {
|
|
|
8492
8554
|
|
|
8493
8555
|
export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
|
|
8494
8556
|
|
|
8557
|
+
export type getNestedAnswerInsightsData = {
|
|
8558
|
+
body?: never;
|
|
8559
|
+
path: {
|
|
8560
|
+
subAccountId: string;
|
|
8561
|
+
negotiationId: string;
|
|
8562
|
+
nestedAnswerId: string;
|
|
8563
|
+
};
|
|
8564
|
+
query?: never;
|
|
8565
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/nestedAnswers/{nestedAnswerId}';
|
|
8566
|
+
};
|
|
8567
|
+
|
|
8568
|
+
export type getNestedAnswerInsightsErrors = {
|
|
8569
|
+
/**
|
|
8570
|
+
* Forbidden - user does not have access to this negotiation
|
|
8571
|
+
*/
|
|
8572
|
+
403: unknown;
|
|
8573
|
+
};
|
|
8574
|
+
|
|
8575
|
+
export type getNestedAnswerInsightsResponses = {
|
|
8576
|
+
/**
|
|
8577
|
+
* The nested answer's per-version election history
|
|
8578
|
+
*/
|
|
8579
|
+
200: NegotiationInsightDto;
|
|
8580
|
+
};
|
|
8581
|
+
|
|
8582
|
+
export type getNestedAnswerInsightsResponse = getNestedAnswerInsightsResponses[keyof getNestedAnswerInsightsResponses];
|
|
8583
|
+
|
|
8495
8584
|
export type updateNegotiationsToMatchData = {
|
|
8496
8585
|
body: UpdateNegotiationsToMatchDto;
|
|
8497
8586
|
path: {
|
|
@@ -9302,6 +9391,32 @@ export type consentCodeCallbackData = {
|
|
|
9302
9391
|
url: '/api/v1/docusign/redirectCodeCallback';
|
|
9303
9392
|
};
|
|
9304
9393
|
|
|
9394
|
+
export type getNegotiationInsightsData = {
|
|
9395
|
+
body?: never;
|
|
9396
|
+
path: {
|
|
9397
|
+
subAccountId: string;
|
|
9398
|
+
negotiationId: string;
|
|
9399
|
+
};
|
|
9400
|
+
query?: never;
|
|
9401
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/elections';
|
|
9402
|
+
};
|
|
9403
|
+
|
|
9404
|
+
export type getNegotiationInsightsErrors = {
|
|
9405
|
+
/**
|
|
9406
|
+
* Forbidden - user does not have access to this negotiation
|
|
9407
|
+
*/
|
|
9408
|
+
403: unknown;
|
|
9409
|
+
};
|
|
9410
|
+
|
|
9411
|
+
export type getNegotiationInsightsResponses = {
|
|
9412
|
+
/**
|
|
9413
|
+
* The per-version answer history of every election
|
|
9414
|
+
*/
|
|
9415
|
+
200: NegotiationInsightDto;
|
|
9416
|
+
};
|
|
9417
|
+
|
|
9418
|
+
export type getNegotiationInsightsResponse = getNegotiationInsightsResponses[keyof getNegotiationInsightsResponses];
|
|
9419
|
+
|
|
9305
9420
|
export type getOfflineNegotiatedDocumentAnnotationsData = {
|
|
9306
9421
|
body?: never;
|
|
9307
9422
|
path: {
|
|
@@ -9429,6 +9544,37 @@ export type listAdvisorsForWorkspaceResponses = {
|
|
|
9429
9544
|
|
|
9430
9545
|
export type listAdvisorsForWorkspaceResponse = listAdvisorsForWorkspaceResponses[keyof listAdvisorsForWorkspaceResponses];
|
|
9431
9546
|
|
|
9547
|
+
export type getElectionInsightsData = {
|
|
9548
|
+
body?: never;
|
|
9549
|
+
path: {
|
|
9550
|
+
subAccountId: string;
|
|
9551
|
+
negotiationId: string;
|
|
9552
|
+
electionId: string;
|
|
9553
|
+
};
|
|
9554
|
+
query?: never;
|
|
9555
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/elections/{electionId}';
|
|
9556
|
+
};
|
|
9557
|
+
|
|
9558
|
+
export type getElectionInsightsErrors = {
|
|
9559
|
+
/**
|
|
9560
|
+
* The election specified does not exist in the schema
|
|
9561
|
+
*/
|
|
9562
|
+
400: unknown;
|
|
9563
|
+
/**
|
|
9564
|
+
* Forbidden - user does not have access to this negotiation
|
|
9565
|
+
*/
|
|
9566
|
+
403: unknown;
|
|
9567
|
+
};
|
|
9568
|
+
|
|
9569
|
+
export type getElectionInsightsResponses = {
|
|
9570
|
+
/**
|
|
9571
|
+
* The election's per-version answer history
|
|
9572
|
+
*/
|
|
9573
|
+
200: ElectionInsightDto;
|
|
9574
|
+
};
|
|
9575
|
+
|
|
9576
|
+
export type getElectionInsightsResponse = getElectionInsightsResponses[keyof getElectionInsightsResponses];
|
|
9577
|
+
|
|
9432
9578
|
export type checkOfflineNegotiatedDocumentData = {
|
|
9433
9579
|
body?: never;
|
|
9434
9580
|
path: {
|