@createiq/backend 1.0.110 → 1.0.112
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 +72 -12
- package/client/types.gen.ts +150 -23
- package/dist/index.d.mts +157 -26
- package/dist/index.mjs +82 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/client/types.gen.ts
CHANGED
|
@@ -427,6 +427,7 @@ export type CreateDocumentMetadataDto = {
|
|
|
427
427
|
abbreviation: string;
|
|
428
428
|
documentPackId: string;
|
|
429
429
|
eSignCanBeStartedByInitiatorOnly: boolean;
|
|
430
|
+
showIncompleteElectionsOnTurnSwap?: 'initiator' | 'receiver' | 'all';
|
|
430
431
|
integrationRestriction?: 'Integration Only' | 'CIQ Only';
|
|
431
432
|
supportsReservedElections: boolean;
|
|
432
433
|
description?: string;
|
|
@@ -914,6 +915,7 @@ export type DocumentDto = {
|
|
|
914
915
|
documentPackId: string;
|
|
915
916
|
dateAdded: string;
|
|
916
917
|
eSignCanBeStartedByInitiatorOnly: boolean;
|
|
918
|
+
showIncompleteElectionsOnTurnSwap?: 'initiator' | 'receiver' | 'all';
|
|
917
919
|
integrationRestriction?: 'Integration Only' | 'CIQ Only';
|
|
918
920
|
supportsReservedElections: boolean;
|
|
919
921
|
state: 'draft' | 'private' | 'retired' | 'inherited';
|
|
@@ -1028,6 +1030,7 @@ export type UpdateDocumentDto = {
|
|
|
1028
1030
|
abbreviation: string;
|
|
1029
1031
|
documentPackId: string;
|
|
1030
1032
|
eSignCanBeStartedByInitiatorOnly: boolean;
|
|
1033
|
+
showIncompleteElectionsOnTurnSwap?: 'initiator' | 'receiver' | 'all';
|
|
1031
1034
|
integrationRestriction?: 'Integration Only' | 'CIQ Only';
|
|
1032
1035
|
supportsReservedElections: boolean;
|
|
1033
1036
|
state: 'draft' | 'private' | 'retired' | 'inherited';
|
|
@@ -1301,6 +1304,7 @@ export type NegotiationWithTimelinePreviewAndMultipleNestedAnswersDto = Negotiat
|
|
|
1301
1304
|
|
|
1302
1305
|
export type ApproversWithQuorumDto = {
|
|
1303
1306
|
namedApprovers: Array<ApproverInRulesDto>;
|
|
1307
|
+
guestApprovalRequests: Array<GuestApprovalRequestDto>;
|
|
1304
1308
|
quorum: number;
|
|
1305
1309
|
isBroken: boolean;
|
|
1306
1310
|
};
|
|
@@ -1603,10 +1607,6 @@ export type GetNegotiationDeltasDto = {
|
|
|
1603
1607
|
negotiationGroupId?: string;
|
|
1604
1608
|
};
|
|
1605
1609
|
|
|
1606
|
-
export type UpdateNegotiationGroupMembersDto = {
|
|
1607
|
-
negotiations: Array<string>;
|
|
1608
|
-
};
|
|
1609
|
-
|
|
1610
1610
|
export type ESignAccountStatusDto = {
|
|
1611
1611
|
value: string;
|
|
1612
1612
|
};
|
|
@@ -1709,6 +1709,15 @@ export type FixApprovalRulesDto = {
|
|
|
1709
1709
|
user: string;
|
|
1710
1710
|
};
|
|
1711
1711
|
|
|
1712
|
+
export type RequestGuestApprovalDto = {
|
|
1713
|
+
email: DraftEmailDto;
|
|
1714
|
+
message: string;
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1717
|
+
export type UpdateNegotiationGroupMembersDto = {
|
|
1718
|
+
negotiations: Array<string>;
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1712
1721
|
export type CreateApiUserRequest = {
|
|
1713
1722
|
name: string;
|
|
1714
1723
|
role: string;
|
|
@@ -2270,7 +2279,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
2270
2279
|
sigPageId: string;
|
|
2271
2280
|
};
|
|
2272
2281
|
|
|
2273
|
-
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' | 'finalDocumentRejected' | 'finalDocumentApproved' | 'finalApprovalRequired' | 'contactSMForNewApprovalRequired' | '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' | 'contactSupportConfirmation';
|
|
2282
|
+
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' | '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' | 'contactSupportConfirmation';
|
|
2274
2283
|
|
|
2275
2284
|
export type PartyRelativeRef = 'our' | 'counterparty';
|
|
2276
2285
|
|
|
@@ -2854,6 +2863,10 @@ export type DocumentDisclaimerDto = {
|
|
|
2854
2863
|
body: string;
|
|
2855
2864
|
};
|
|
2856
2865
|
|
|
2866
|
+
export type CancelGuestApprovalRequestDto = {
|
|
2867
|
+
email: string;
|
|
2868
|
+
};
|
|
2869
|
+
|
|
2857
2870
|
export type ExtractionFeedbackDto = {
|
|
2858
2871
|
value: {
|
|
2859
2872
|
[key: string]: boolean;
|
|
@@ -3126,6 +3139,7 @@ export type DocumentWithPackDto = {
|
|
|
3126
3139
|
dateAdded: string;
|
|
3127
3140
|
documentPublisher: DocumentPublisherDto;
|
|
3128
3141
|
eSignCanBeStartedByInitiatorOnly: boolean;
|
|
3142
|
+
showIncompleteElectionsOnTurnSwap?: 'initiator' | 'receiver' | 'all';
|
|
3129
3143
|
integrationRestriction?: 'Integration Only' | 'CIQ Only';
|
|
3130
3144
|
supportsReservedElections: boolean;
|
|
3131
3145
|
state: 'draft' | 'private' | 'retired' | 'inherited';
|
|
@@ -3311,6 +3325,8 @@ export type SupportAccessClientDto = {
|
|
|
3311
3325
|
clientEmail: string;
|
|
3312
3326
|
};
|
|
3313
3327
|
|
|
3328
|
+
export type ShowIncompleteElectionsOnTurnSwap = 'initiator' | 'receiver' | 'all';
|
|
3329
|
+
|
|
3314
3330
|
export type CalendricalFrequency = 'daily' | 'weekly' | 'monthly';
|
|
3315
3331
|
|
|
3316
3332
|
export type NegotiationSingleDto = {
|
|
@@ -3756,6 +3772,11 @@ export type ElectionAnswerSummaryDto = {
|
|
|
3756
3772
|
amendMatched?: boolean;
|
|
3757
3773
|
};
|
|
3758
3774
|
|
|
3775
|
+
export type GuestApprovalRequestDto = {
|
|
3776
|
+
email: string;
|
|
3777
|
+
message: string;
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3759
3780
|
export type ChangeSigningModeDto = {
|
|
3760
3781
|
signingMode: string;
|
|
3761
3782
|
};
|
|
@@ -8732,6 +8753,58 @@ export type downloadPresetResponses = {
|
|
|
8732
8753
|
|
|
8733
8754
|
export type downloadPresetResponse = downloadPresetResponses[keyof downloadPresetResponses];
|
|
8734
8755
|
|
|
8756
|
+
export type cancelGuestFinalApprovalRequestData = {
|
|
8757
|
+
body: CancelGuestApprovalRequestDto;
|
|
8758
|
+
path: {
|
|
8759
|
+
subAccountId: string;
|
|
8760
|
+
negotiationId: string;
|
|
8761
|
+
};
|
|
8762
|
+
query?: never;
|
|
8763
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/document';
|
|
8764
|
+
};
|
|
8765
|
+
|
|
8766
|
+
export type cancelGuestFinalApprovalRequestErrors = {
|
|
8767
|
+
/**
|
|
8768
|
+
* Invalid email address
|
|
8769
|
+
*/
|
|
8770
|
+
400: unknown;
|
|
8771
|
+
};
|
|
8772
|
+
|
|
8773
|
+
export type cancelGuestFinalApprovalRequestResponses = {
|
|
8774
|
+
/**
|
|
8775
|
+
* Guest approval request has been deleted.
|
|
8776
|
+
*/
|
|
8777
|
+
200: NegotiationSingleDto;
|
|
8778
|
+
};
|
|
8779
|
+
|
|
8780
|
+
export type cancelGuestFinalApprovalRequestResponse = cancelGuestFinalApprovalRequestResponses[keyof cancelGuestFinalApprovalRequestResponses];
|
|
8781
|
+
|
|
8782
|
+
export type requestGuestFinalApprovalData = {
|
|
8783
|
+
body: RequestGuestApprovalDto;
|
|
8784
|
+
path: {
|
|
8785
|
+
subAccountId: string;
|
|
8786
|
+
negotiationId: string;
|
|
8787
|
+
};
|
|
8788
|
+
query?: never;
|
|
8789
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/document';
|
|
8790
|
+
};
|
|
8791
|
+
|
|
8792
|
+
export type requestGuestFinalApprovalErrors = {
|
|
8793
|
+
/**
|
|
8794
|
+
* Invalid email address
|
|
8795
|
+
*/
|
|
8796
|
+
400: unknown;
|
|
8797
|
+
};
|
|
8798
|
+
|
|
8799
|
+
export type requestGuestFinalApprovalResponses = {
|
|
8800
|
+
/**
|
|
8801
|
+
* Guest approval has been requested.
|
|
8802
|
+
*/
|
|
8803
|
+
200: NegotiationSingleDto;
|
|
8804
|
+
};
|
|
8805
|
+
|
|
8806
|
+
export type requestGuestFinalApprovalResponse = requestGuestFinalApprovalResponses[keyof requestGuestFinalApprovalResponses];
|
|
8807
|
+
|
|
8735
8808
|
export type assignUserData = {
|
|
8736
8809
|
body?: never;
|
|
8737
8810
|
path: {
|
|
@@ -11834,24 +11907,6 @@ export type createAuditTrailPDFResponses = {
|
|
|
11834
11907
|
|
|
11835
11908
|
export type createAuditTrailPDFResponse = createAuditTrailPDFResponses[keyof createAuditTrailPDFResponses];
|
|
11836
11909
|
|
|
11837
|
-
export type listRecentExtractionsData = {
|
|
11838
|
-
body?: never;
|
|
11839
|
-
path: {
|
|
11840
|
-
subAccountId: string;
|
|
11841
|
-
};
|
|
11842
|
-
query?: never;
|
|
11843
|
-
url: '/api/v1/subAccounts/{subAccountId}/extraction/recent';
|
|
11844
|
-
};
|
|
11845
|
-
|
|
11846
|
-
export type listRecentExtractionsResponses = {
|
|
11847
|
-
/**
|
|
11848
|
-
* Extraction results that have been updated in the last hour
|
|
11849
|
-
*/
|
|
11850
|
-
200: Array<ExtractionResultSummaryDto>;
|
|
11851
|
-
};
|
|
11852
|
-
|
|
11853
|
-
export type listRecentExtractionsResponse = listRecentExtractionsResponses[keyof listRecentExtractionsResponses];
|
|
11854
|
-
|
|
11855
11910
|
export type initialAnswersData = {
|
|
11856
11911
|
body?: never;
|
|
11857
11912
|
path: {
|
|
@@ -11949,3 +12004,75 @@ export type getProfileResponses = {
|
|
|
11949
12004
|
};
|
|
11950
12005
|
|
|
11951
12006
|
export type getProfileResponse = getProfileResponses[keyof getProfileResponses];
|
|
12007
|
+
|
|
12008
|
+
export type listRecentExtractionsData = {
|
|
12009
|
+
body?: never;
|
|
12010
|
+
path: {
|
|
12011
|
+
subAccountId: string;
|
|
12012
|
+
};
|
|
12013
|
+
query?: never;
|
|
12014
|
+
url: '/api/v1/subAccounts/{subAccountId}/extraction/recent';
|
|
12015
|
+
};
|
|
12016
|
+
|
|
12017
|
+
export type listRecentExtractionsResponses = {
|
|
12018
|
+
/**
|
|
12019
|
+
* Extraction results that have been updated in the last hour
|
|
12020
|
+
*/
|
|
12021
|
+
200: Array<ExtractionResultSummaryDto>;
|
|
12022
|
+
};
|
|
12023
|
+
|
|
12024
|
+
export type listRecentExtractionsResponse = listRecentExtractionsResponses[keyof listRecentExtractionsResponses];
|
|
12025
|
+
|
|
12026
|
+
export type cancelGuestElectionApprovalRequestData = {
|
|
12027
|
+
body: CancelGuestApprovalRequestDto;
|
|
12028
|
+
path: {
|
|
12029
|
+
subAccountId: string;
|
|
12030
|
+
negotiationId: string;
|
|
12031
|
+
electionId: string;
|
|
12032
|
+
};
|
|
12033
|
+
query?: never;
|
|
12034
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/elections/{electionId}';
|
|
12035
|
+
};
|
|
12036
|
+
|
|
12037
|
+
export type cancelGuestElectionApprovalRequestErrors = {
|
|
12038
|
+
/**
|
|
12039
|
+
* Invalid email address
|
|
12040
|
+
*/
|
|
12041
|
+
400: unknown;
|
|
12042
|
+
};
|
|
12043
|
+
|
|
12044
|
+
export type cancelGuestElectionApprovalRequestResponses = {
|
|
12045
|
+
/**
|
|
12046
|
+
* Guest approval request has been deleted.
|
|
12047
|
+
*/
|
|
12048
|
+
200: NegotiationSingleDto;
|
|
12049
|
+
};
|
|
12050
|
+
|
|
12051
|
+
export type cancelGuestElectionApprovalRequestResponse = cancelGuestElectionApprovalRequestResponses[keyof cancelGuestElectionApprovalRequestResponses];
|
|
12052
|
+
|
|
12053
|
+
export type requestGuestElectionApprovalData = {
|
|
12054
|
+
body: RequestGuestApprovalDto;
|
|
12055
|
+
path: {
|
|
12056
|
+
subAccountId: string;
|
|
12057
|
+
negotiationId: string;
|
|
12058
|
+
electionId: string;
|
|
12059
|
+
};
|
|
12060
|
+
query?: never;
|
|
12061
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/elections/{electionId}';
|
|
12062
|
+
};
|
|
12063
|
+
|
|
12064
|
+
export type requestGuestElectionApprovalErrors = {
|
|
12065
|
+
/**
|
|
12066
|
+
* Invalid email address
|
|
12067
|
+
*/
|
|
12068
|
+
400: unknown;
|
|
12069
|
+
};
|
|
12070
|
+
|
|
12071
|
+
export type requestGuestElectionApprovalResponses = {
|
|
12072
|
+
/**
|
|
12073
|
+
* Guest approval has been requested.
|
|
12074
|
+
*/
|
|
12075
|
+
200: NegotiationSingleDto;
|
|
12076
|
+
};
|
|
12077
|
+
|
|
12078
|
+
export type requestGuestElectionApprovalResponse = requestGuestElectionApprovalResponses[keyof requestGuestElectionApprovalResponses];
|