@createiq/backend 1.0.162 → 1.0.164
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 +45 -1
- package/client/types.gen.ts +208 -32
- package/dist/index.d.mts +202 -28
- package/dist/index.mjs +53 -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;
|
|
@@ -1778,6 +1797,18 @@ export type ESignAccountStatusDto = {
|
|
|
1778
1797
|
value: string;
|
|
1779
1798
|
};
|
|
1780
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
|
+
|
|
1781
1812
|
export type ShareRequestDto = {
|
|
1782
1813
|
generalMessage?: string;
|
|
1783
1814
|
accountUsers: Array<AccountUserShareDto>;
|
|
@@ -2132,6 +2163,8 @@ export type AccountAvailableActionsDto = {
|
|
|
2132
2163
|
disableIsAdvisor: boolean;
|
|
2133
2164
|
};
|
|
2134
2165
|
|
|
2166
|
+
export type ComponentInsightDto = ComponentInsightDto_Component | ComponentInsightDto_TextAmendment;
|
|
2167
|
+
|
|
2135
2168
|
export type ClassificationConfidence = 'High' | 'Medium' | 'Low';
|
|
2136
2169
|
|
|
2137
2170
|
export type UpsertDocumentPublisherDto = {
|
|
@@ -2166,6 +2199,11 @@ export type OneLinkInvitationDetailsDto = {
|
|
|
2166
2199
|
|
|
2167
2200
|
export type PresetHealthIssue = 'approvalrulesbroken' | 'schemaupgraderequired';
|
|
2168
2201
|
|
|
2202
|
+
export type InsightVersionDto = {
|
|
2203
|
+
version: string;
|
|
2204
|
+
comparePosition: boolean;
|
|
2205
|
+
};
|
|
2206
|
+
|
|
2169
2207
|
export type PartyAnswersPatchDto = {
|
|
2170
2208
|
answersLastModified?: string;
|
|
2171
2209
|
patch: Array<{
|
|
@@ -2584,10 +2622,6 @@ export type RawResultSetDto = {
|
|
|
2584
2622
|
|
|
2585
2623
|
export type UIPartyPosition = 'partyA' | 'partyB' | 'moderator';
|
|
2586
2624
|
|
|
2587
|
-
export type UpdateCapitalMarketsOrganisationTypeDto = {
|
|
2588
|
-
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
2589
|
-
};
|
|
2590
|
-
|
|
2591
2625
|
export type SubAccountIdNameShareSettingsDto = {
|
|
2592
2626
|
id: string;
|
|
2593
2627
|
name: string;
|
|
@@ -2596,6 +2630,12 @@ export type SubAccountIdNameShareSettingsDto = {
|
|
|
2596
2630
|
|
|
2597
2631
|
export type DocumentOrderKey = 'negotiationId';
|
|
2598
2632
|
|
|
2633
|
+
export type PositionStatus = 'held' | 'negotiated' | 'cp-accepted' | 'not-applicable';
|
|
2634
|
+
|
|
2635
|
+
export type UpdateCapitalMarketsOrganisationTypeDto = {
|
|
2636
|
+
capitalMarketsOrganisationType?: CapitalMarketsOrganisationType;
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2599
2639
|
export type SecurityContextDto = {
|
|
2600
2640
|
name: string;
|
|
2601
2641
|
enabledFeatures: Array<string>;
|
|
@@ -3458,11 +3498,6 @@ export type SelectedElectionsRequestDto = {
|
|
|
3458
3498
|
electionIds: Array<string>;
|
|
3459
3499
|
};
|
|
3460
3500
|
|
|
3461
|
-
export type SubAccountIdAndNameDto = {
|
|
3462
|
-
subAccountId: string;
|
|
3463
|
-
subAccountName: string;
|
|
3464
|
-
};
|
|
3465
|
-
|
|
3466
3501
|
export type ChannelType = 'internal' | 'external' | 'moderator' | 'execution' | 'internal-execution';
|
|
3467
3502
|
|
|
3468
3503
|
export type OwnerEntityDto = {
|
|
@@ -3538,6 +3573,19 @@ export type TimelineEventType = never;
|
|
|
3538
3573
|
|
|
3539
3574
|
export type AccessRequestState = 'pending' | 'approved' | 'rejected';
|
|
3540
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
|
+
|
|
3541
3589
|
export type UserId = string;
|
|
3542
3590
|
|
|
3543
3591
|
export type PartyElectionNestedAnswersDto = {
|
|
@@ -4338,6 +4386,14 @@ export type AuditTrailFiltersDto = {
|
|
|
4338
4386
|
subAccounts: Array<SubAccountWithIdAndOptionalNameDto>;
|
|
4339
4387
|
};
|
|
4340
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
|
+
|
|
4341
4397
|
export type NegotiationUIFilterCountsDto = {
|
|
4342
4398
|
ourTurn: number;
|
|
4343
4399
|
triparty: number;
|
|
@@ -4429,18 +4485,6 @@ export type PartyAnswersDto = {
|
|
|
4429
4485
|
[key: string]: ElectionAnswerDto;
|
|
4430
4486
|
};
|
|
4431
4487
|
|
|
4432
|
-
export type NegotiationListMetadataDto = {
|
|
4433
|
-
hasPendingExtractions: boolean;
|
|
4434
|
-
activeFilters: FilterResultsDto;
|
|
4435
|
-
pagingMeta?: PagingMetaDto;
|
|
4436
|
-
totalPhase2Templates: number;
|
|
4437
|
-
displayReferenceIds: Array<string>;
|
|
4438
|
-
negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
|
|
4439
|
-
totalFavouriteConfirmedTemplates: number;
|
|
4440
|
-
negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
|
|
4441
|
-
negotiationEntityFilters: NegotiationEntityFiltersDto;
|
|
4442
|
-
};
|
|
4443
|
-
|
|
4444
4488
|
export type DocuSignPreviewSignerDto = {
|
|
4445
4489
|
routingOrder: number;
|
|
4446
4490
|
name: string;
|
|
@@ -4526,6 +4570,24 @@ export type ElectionDto = {
|
|
|
4526
4570
|
|
|
4527
4571
|
export type VolumeBilledNegotiationAccess = 'Subscribed' | 'NotSellSide' | 'OrganisationTypeNotSet' | 'NoSubscription';
|
|
4528
4572
|
|
|
4573
|
+
export type InsightEventDto = TimelineEventDto & {
|
|
4574
|
+
progressPercentage?: number;
|
|
4575
|
+
activeUserHistory?: Array<UserDto>;
|
|
4576
|
+
children?: Array<InsightEventDto>;
|
|
4577
|
+
};
|
|
4578
|
+
|
|
4579
|
+
export type NegotiationListMetadataDto = {
|
|
4580
|
+
hasPendingExtractions: boolean;
|
|
4581
|
+
activeFilters: FilterResultsDto;
|
|
4582
|
+
pagingMeta?: PagingMetaDto;
|
|
4583
|
+
totalPhase2Templates: number;
|
|
4584
|
+
displayReferenceIds: Array<string>;
|
|
4585
|
+
negotiationPackageNames: Array<NegotiationPackageIdAndNameDto>;
|
|
4586
|
+
totalFavouriteConfirmedTemplates: number;
|
|
4587
|
+
negotiationUIFilterCounts: NegotiationUIFilterCountsDto;
|
|
4588
|
+
negotiationEntityFilters: NegotiationEntityFiltersDto;
|
|
4589
|
+
};
|
|
4590
|
+
|
|
4529
4591
|
export type AccountNameDto = {
|
|
4530
4592
|
accountName: string;
|
|
4531
4593
|
};
|
|
@@ -8498,6 +8560,33 @@ export type updateUserAnswersResponses = {
|
|
|
8498
8560
|
|
|
8499
8561
|
export type updateUserAnswersResponse = updateUserAnswersResponses[keyof updateUserAnswersResponses];
|
|
8500
8562
|
|
|
8563
|
+
export type getNestedAnswerInsightsData = {
|
|
8564
|
+
body?: never;
|
|
8565
|
+
path: {
|
|
8566
|
+
subAccountId: string;
|
|
8567
|
+
negotiationId: string;
|
|
8568
|
+
nestedAnswerId: string;
|
|
8569
|
+
};
|
|
8570
|
+
query?: never;
|
|
8571
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/nestedAnswers/{nestedAnswerId}';
|
|
8572
|
+
};
|
|
8573
|
+
|
|
8574
|
+
export type getNestedAnswerInsightsErrors = {
|
|
8575
|
+
/**
|
|
8576
|
+
* Forbidden - user does not have access to this negotiation
|
|
8577
|
+
*/
|
|
8578
|
+
403: unknown;
|
|
8579
|
+
};
|
|
8580
|
+
|
|
8581
|
+
export type getNestedAnswerInsightsResponses = {
|
|
8582
|
+
/**
|
|
8583
|
+
* The nested answer's per-version election history
|
|
8584
|
+
*/
|
|
8585
|
+
200: NegotiationInsightDto;
|
|
8586
|
+
};
|
|
8587
|
+
|
|
8588
|
+
export type getNestedAnswerInsightsResponse = getNestedAnswerInsightsResponses[keyof getNestedAnswerInsightsResponses];
|
|
8589
|
+
|
|
8501
8590
|
export type updateNegotiationsToMatchData = {
|
|
8502
8591
|
body: UpdateNegotiationsToMatchDto;
|
|
8503
8592
|
path: {
|
|
@@ -9308,6 +9397,32 @@ export type consentCodeCallbackData = {
|
|
|
9308
9397
|
url: '/api/v1/docusign/redirectCodeCallback';
|
|
9309
9398
|
};
|
|
9310
9399
|
|
|
9400
|
+
export type getNegotiationInsightsData = {
|
|
9401
|
+
body?: never;
|
|
9402
|
+
path: {
|
|
9403
|
+
subAccountId: string;
|
|
9404
|
+
negotiationId: string;
|
|
9405
|
+
};
|
|
9406
|
+
query?: never;
|
|
9407
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/elections';
|
|
9408
|
+
};
|
|
9409
|
+
|
|
9410
|
+
export type getNegotiationInsightsErrors = {
|
|
9411
|
+
/**
|
|
9412
|
+
* Forbidden - user does not have access to this negotiation
|
|
9413
|
+
*/
|
|
9414
|
+
403: unknown;
|
|
9415
|
+
};
|
|
9416
|
+
|
|
9417
|
+
export type getNegotiationInsightsResponses = {
|
|
9418
|
+
/**
|
|
9419
|
+
* The per-version answer history of every election
|
|
9420
|
+
*/
|
|
9421
|
+
200: NegotiationInsightDto;
|
|
9422
|
+
};
|
|
9423
|
+
|
|
9424
|
+
export type getNegotiationInsightsResponse = getNegotiationInsightsResponses[keyof getNegotiationInsightsResponses];
|
|
9425
|
+
|
|
9311
9426
|
export type getOfflineNegotiatedDocumentAnnotationsData = {
|
|
9312
9427
|
body?: never;
|
|
9313
9428
|
path: {
|
|
@@ -9435,6 +9550,37 @@ export type listAdvisorsForWorkspaceResponses = {
|
|
|
9435
9550
|
|
|
9436
9551
|
export type listAdvisorsForWorkspaceResponse = listAdvisorsForWorkspaceResponses[keyof listAdvisorsForWorkspaceResponses];
|
|
9437
9552
|
|
|
9553
|
+
export type getElectionInsightsData = {
|
|
9554
|
+
body?: never;
|
|
9555
|
+
path: {
|
|
9556
|
+
subAccountId: string;
|
|
9557
|
+
negotiationId: string;
|
|
9558
|
+
electionId: string;
|
|
9559
|
+
};
|
|
9560
|
+
query?: never;
|
|
9561
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/elections/{electionId}';
|
|
9562
|
+
};
|
|
9563
|
+
|
|
9564
|
+
export type getElectionInsightsErrors = {
|
|
9565
|
+
/**
|
|
9566
|
+
* The election specified does not exist in the schema
|
|
9567
|
+
*/
|
|
9568
|
+
400: unknown;
|
|
9569
|
+
/**
|
|
9570
|
+
* Forbidden - user does not have access to this negotiation
|
|
9571
|
+
*/
|
|
9572
|
+
403: unknown;
|
|
9573
|
+
};
|
|
9574
|
+
|
|
9575
|
+
export type getElectionInsightsResponses = {
|
|
9576
|
+
/**
|
|
9577
|
+
* The election's per-version answer history
|
|
9578
|
+
*/
|
|
9579
|
+
200: ElectionInsightDto;
|
|
9580
|
+
};
|
|
9581
|
+
|
|
9582
|
+
export type getElectionInsightsResponse = getElectionInsightsResponses[keyof getElectionInsightsResponses];
|
|
9583
|
+
|
|
9438
9584
|
export type checkOfflineNegotiatedDocumentData = {
|
|
9439
9585
|
body?: never;
|
|
9440
9586
|
path: {
|
|
@@ -10576,6 +10722,36 @@ export type cancelNegotiationsResponses = {
|
|
|
10576
10722
|
|
|
10577
10723
|
export type cancelNegotiationsResponse = cancelNegotiationsResponses[keyof cancelNegotiationsResponses];
|
|
10578
10724
|
|
|
10725
|
+
export type getInsightsTimelineData = {
|
|
10726
|
+
body?: never;
|
|
10727
|
+
path: {
|
|
10728
|
+
subAccountId: string;
|
|
10729
|
+
negotiationId: string;
|
|
10730
|
+
};
|
|
10731
|
+
query?: never;
|
|
10732
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/insights/timeline';
|
|
10733
|
+
};
|
|
10734
|
+
|
|
10735
|
+
export type getInsightsTimelineErrors = {
|
|
10736
|
+
/**
|
|
10737
|
+
* Forbidden - user does not have access to this negotiation
|
|
10738
|
+
*/
|
|
10739
|
+
403: unknown;
|
|
10740
|
+
/**
|
|
10741
|
+
* Negotiation not found
|
|
10742
|
+
*/
|
|
10743
|
+
404: unknown;
|
|
10744
|
+
};
|
|
10745
|
+
|
|
10746
|
+
export type getInsightsTimelineResponses = {
|
|
10747
|
+
/**
|
|
10748
|
+
* The insights activity timeline
|
|
10749
|
+
*/
|
|
10750
|
+
200: Array<InsightEventDto>;
|
|
10751
|
+
};
|
|
10752
|
+
|
|
10753
|
+
export type getInsightsTimelineResponse = getInsightsTimelineResponses[keyof getInsightsTimelineResponses];
|
|
10754
|
+
|
|
10579
10755
|
export type getNegotiationDraftingNotesData = {
|
|
10580
10756
|
body?: never;
|
|
10581
10757
|
path: {
|