@createiq/backend 1.0.111 → 1.0.113
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 +145 -23
- package/dist/index.d.mts +153 -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
|
@@ -542,6 +542,7 @@ export type ContextAvailableActionsDto = {
|
|
|
542
542
|
canManageRelationshipNegotiations: boolean;
|
|
543
543
|
canManageSSO: boolean;
|
|
544
544
|
canViewNegotiationReports: boolean;
|
|
545
|
+
canStartNegotiations: boolean;
|
|
545
546
|
canViewReports: boolean;
|
|
546
547
|
canManageEntities: boolean;
|
|
547
548
|
};
|
|
@@ -1304,6 +1305,7 @@ export type NegotiationWithTimelinePreviewAndMultipleNestedAnswersDto = Negotiat
|
|
|
1304
1305
|
|
|
1305
1306
|
export type ApproversWithQuorumDto = {
|
|
1306
1307
|
namedApprovers: Array<ApproverInRulesDto>;
|
|
1308
|
+
guestApprovalRequests: Array<GuestApprovalRequestDto>;
|
|
1307
1309
|
quorum: number;
|
|
1308
1310
|
isBroken: boolean;
|
|
1309
1311
|
};
|
|
@@ -1606,10 +1608,6 @@ export type GetNegotiationDeltasDto = {
|
|
|
1606
1608
|
negotiationGroupId?: string;
|
|
1607
1609
|
};
|
|
1608
1610
|
|
|
1609
|
-
export type UpdateNegotiationGroupMembersDto = {
|
|
1610
|
-
negotiations: Array<string>;
|
|
1611
|
-
};
|
|
1612
|
-
|
|
1613
1611
|
export type ESignAccountStatusDto = {
|
|
1614
1612
|
value: string;
|
|
1615
1613
|
};
|
|
@@ -1712,6 +1710,15 @@ export type FixApprovalRulesDto = {
|
|
|
1712
1710
|
user: string;
|
|
1713
1711
|
};
|
|
1714
1712
|
|
|
1713
|
+
export type RequestGuestApprovalDto = {
|
|
1714
|
+
email: DraftEmailDto;
|
|
1715
|
+
message: string;
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
export type UpdateNegotiationGroupMembersDto = {
|
|
1719
|
+
negotiations: Array<string>;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1715
1722
|
export type CreateApiUserRequest = {
|
|
1716
1723
|
name: string;
|
|
1717
1724
|
role: string;
|
|
@@ -2273,7 +2280,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
2273
2280
|
sigPageId: string;
|
|
2274
2281
|
};
|
|
2275
2282
|
|
|
2276
|
-
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';
|
|
2283
|
+
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';
|
|
2277
2284
|
|
|
2278
2285
|
export type PartyRelativeRef = 'our' | 'counterparty';
|
|
2279
2286
|
|
|
@@ -2857,6 +2864,10 @@ export type DocumentDisclaimerDto = {
|
|
|
2857
2864
|
body: string;
|
|
2858
2865
|
};
|
|
2859
2866
|
|
|
2867
|
+
export type CancelGuestApprovalRequestDto = {
|
|
2868
|
+
email: string;
|
|
2869
|
+
};
|
|
2870
|
+
|
|
2860
2871
|
export type ExtractionFeedbackDto = {
|
|
2861
2872
|
value: {
|
|
2862
2873
|
[key: string]: boolean;
|
|
@@ -3762,6 +3773,11 @@ export type ElectionAnswerSummaryDto = {
|
|
|
3762
3773
|
amendMatched?: boolean;
|
|
3763
3774
|
};
|
|
3764
3775
|
|
|
3776
|
+
export type GuestApprovalRequestDto = {
|
|
3777
|
+
email: string;
|
|
3778
|
+
message: string;
|
|
3779
|
+
};
|
|
3780
|
+
|
|
3765
3781
|
export type ChangeSigningModeDto = {
|
|
3766
3782
|
signingMode: string;
|
|
3767
3783
|
};
|
|
@@ -8738,6 +8754,58 @@ export type downloadPresetResponses = {
|
|
|
8738
8754
|
|
|
8739
8755
|
export type downloadPresetResponse = downloadPresetResponses[keyof downloadPresetResponses];
|
|
8740
8756
|
|
|
8757
|
+
export type cancelGuestFinalApprovalRequestData = {
|
|
8758
|
+
body: CancelGuestApprovalRequestDto;
|
|
8759
|
+
path: {
|
|
8760
|
+
subAccountId: string;
|
|
8761
|
+
negotiationId: string;
|
|
8762
|
+
};
|
|
8763
|
+
query?: never;
|
|
8764
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/document';
|
|
8765
|
+
};
|
|
8766
|
+
|
|
8767
|
+
export type cancelGuestFinalApprovalRequestErrors = {
|
|
8768
|
+
/**
|
|
8769
|
+
* Invalid email address
|
|
8770
|
+
*/
|
|
8771
|
+
400: unknown;
|
|
8772
|
+
};
|
|
8773
|
+
|
|
8774
|
+
export type cancelGuestFinalApprovalRequestResponses = {
|
|
8775
|
+
/**
|
|
8776
|
+
* Guest approval request has been deleted.
|
|
8777
|
+
*/
|
|
8778
|
+
200: NegotiationSingleDto;
|
|
8779
|
+
};
|
|
8780
|
+
|
|
8781
|
+
export type cancelGuestFinalApprovalRequestResponse = cancelGuestFinalApprovalRequestResponses[keyof cancelGuestFinalApprovalRequestResponses];
|
|
8782
|
+
|
|
8783
|
+
export type requestGuestFinalApprovalData = {
|
|
8784
|
+
body: RequestGuestApprovalDto;
|
|
8785
|
+
path: {
|
|
8786
|
+
subAccountId: string;
|
|
8787
|
+
negotiationId: string;
|
|
8788
|
+
};
|
|
8789
|
+
query?: never;
|
|
8790
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/document';
|
|
8791
|
+
};
|
|
8792
|
+
|
|
8793
|
+
export type requestGuestFinalApprovalErrors = {
|
|
8794
|
+
/**
|
|
8795
|
+
* Invalid email address
|
|
8796
|
+
*/
|
|
8797
|
+
400: unknown;
|
|
8798
|
+
};
|
|
8799
|
+
|
|
8800
|
+
export type requestGuestFinalApprovalResponses = {
|
|
8801
|
+
/**
|
|
8802
|
+
* Guest approval has been requested.
|
|
8803
|
+
*/
|
|
8804
|
+
200: NegotiationSingleDto;
|
|
8805
|
+
};
|
|
8806
|
+
|
|
8807
|
+
export type requestGuestFinalApprovalResponse = requestGuestFinalApprovalResponses[keyof requestGuestFinalApprovalResponses];
|
|
8808
|
+
|
|
8741
8809
|
export type assignUserData = {
|
|
8742
8810
|
body?: never;
|
|
8743
8811
|
path: {
|
|
@@ -11840,24 +11908,6 @@ export type createAuditTrailPDFResponses = {
|
|
|
11840
11908
|
|
|
11841
11909
|
export type createAuditTrailPDFResponse = createAuditTrailPDFResponses[keyof createAuditTrailPDFResponses];
|
|
11842
11910
|
|
|
11843
|
-
export type listRecentExtractionsData = {
|
|
11844
|
-
body?: never;
|
|
11845
|
-
path: {
|
|
11846
|
-
subAccountId: string;
|
|
11847
|
-
};
|
|
11848
|
-
query?: never;
|
|
11849
|
-
url: '/api/v1/subAccounts/{subAccountId}/extraction/recent';
|
|
11850
|
-
};
|
|
11851
|
-
|
|
11852
|
-
export type listRecentExtractionsResponses = {
|
|
11853
|
-
/**
|
|
11854
|
-
* Extraction results that have been updated in the last hour
|
|
11855
|
-
*/
|
|
11856
|
-
200: Array<ExtractionResultSummaryDto>;
|
|
11857
|
-
};
|
|
11858
|
-
|
|
11859
|
-
export type listRecentExtractionsResponse = listRecentExtractionsResponses[keyof listRecentExtractionsResponses];
|
|
11860
|
-
|
|
11861
11911
|
export type initialAnswersData = {
|
|
11862
11912
|
body?: never;
|
|
11863
11913
|
path: {
|
|
@@ -11955,3 +12005,75 @@ export type getProfileResponses = {
|
|
|
11955
12005
|
};
|
|
11956
12006
|
|
|
11957
12007
|
export type getProfileResponse = getProfileResponses[keyof getProfileResponses];
|
|
12008
|
+
|
|
12009
|
+
export type listRecentExtractionsData = {
|
|
12010
|
+
body?: never;
|
|
12011
|
+
path: {
|
|
12012
|
+
subAccountId: string;
|
|
12013
|
+
};
|
|
12014
|
+
query?: never;
|
|
12015
|
+
url: '/api/v1/subAccounts/{subAccountId}/extraction/recent';
|
|
12016
|
+
};
|
|
12017
|
+
|
|
12018
|
+
export type listRecentExtractionsResponses = {
|
|
12019
|
+
/**
|
|
12020
|
+
* Extraction results that have been updated in the last hour
|
|
12021
|
+
*/
|
|
12022
|
+
200: Array<ExtractionResultSummaryDto>;
|
|
12023
|
+
};
|
|
12024
|
+
|
|
12025
|
+
export type listRecentExtractionsResponse = listRecentExtractionsResponses[keyof listRecentExtractionsResponses];
|
|
12026
|
+
|
|
12027
|
+
export type cancelGuestElectionApprovalRequestData = {
|
|
12028
|
+
body: CancelGuestApprovalRequestDto;
|
|
12029
|
+
path: {
|
|
12030
|
+
subAccountId: string;
|
|
12031
|
+
negotiationId: string;
|
|
12032
|
+
electionId: string;
|
|
12033
|
+
};
|
|
12034
|
+
query?: never;
|
|
12035
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/elections/{electionId}';
|
|
12036
|
+
};
|
|
12037
|
+
|
|
12038
|
+
export type cancelGuestElectionApprovalRequestErrors = {
|
|
12039
|
+
/**
|
|
12040
|
+
* Invalid email address
|
|
12041
|
+
*/
|
|
12042
|
+
400: unknown;
|
|
12043
|
+
};
|
|
12044
|
+
|
|
12045
|
+
export type cancelGuestElectionApprovalRequestResponses = {
|
|
12046
|
+
/**
|
|
12047
|
+
* Guest approval request has been deleted.
|
|
12048
|
+
*/
|
|
12049
|
+
200: NegotiationSingleDto;
|
|
12050
|
+
};
|
|
12051
|
+
|
|
12052
|
+
export type cancelGuestElectionApprovalRequestResponse = cancelGuestElectionApprovalRequestResponses[keyof cancelGuestElectionApprovalRequestResponses];
|
|
12053
|
+
|
|
12054
|
+
export type requestGuestElectionApprovalData = {
|
|
12055
|
+
body: RequestGuestApprovalDto;
|
|
12056
|
+
path: {
|
|
12057
|
+
subAccountId: string;
|
|
12058
|
+
negotiationId: string;
|
|
12059
|
+
electionId: string;
|
|
12060
|
+
};
|
|
12061
|
+
query?: never;
|
|
12062
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/approvals/requestGuestApproval/elections/{electionId}';
|
|
12063
|
+
};
|
|
12064
|
+
|
|
12065
|
+
export type requestGuestElectionApprovalErrors = {
|
|
12066
|
+
/**
|
|
12067
|
+
* Invalid email address
|
|
12068
|
+
*/
|
|
12069
|
+
400: unknown;
|
|
12070
|
+
};
|
|
12071
|
+
|
|
12072
|
+
export type requestGuestElectionApprovalResponses = {
|
|
12073
|
+
/**
|
|
12074
|
+
* Guest approval has been requested.
|
|
12075
|
+
*/
|
|
12076
|
+
200: NegotiationSingleDto;
|
|
12077
|
+
};
|
|
12078
|
+
|
|
12079
|
+
export type requestGuestElectionApprovalResponse = requestGuestElectionApprovalResponses[keyof requestGuestElectionApprovalResponses];
|