@createiq/backend 1.0.111 → 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 +144 -23
- package/dist/index.d.mts +152 -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
|
@@ -1304,6 +1304,7 @@ export type NegotiationWithTimelinePreviewAndMultipleNestedAnswersDto = Negotiat
|
|
|
1304
1304
|
|
|
1305
1305
|
export type ApproversWithQuorumDto = {
|
|
1306
1306
|
namedApprovers: Array<ApproverInRulesDto>;
|
|
1307
|
+
guestApprovalRequests: Array<GuestApprovalRequestDto>;
|
|
1307
1308
|
quorum: number;
|
|
1308
1309
|
isBroken: boolean;
|
|
1309
1310
|
};
|
|
@@ -1606,10 +1607,6 @@ export type GetNegotiationDeltasDto = {
|
|
|
1606
1607
|
negotiationGroupId?: string;
|
|
1607
1608
|
};
|
|
1608
1609
|
|
|
1609
|
-
export type UpdateNegotiationGroupMembersDto = {
|
|
1610
|
-
negotiations: Array<string>;
|
|
1611
|
-
};
|
|
1612
|
-
|
|
1613
1610
|
export type ESignAccountStatusDto = {
|
|
1614
1611
|
value: string;
|
|
1615
1612
|
};
|
|
@@ -1712,6 +1709,15 @@ export type FixApprovalRulesDto = {
|
|
|
1712
1709
|
user: string;
|
|
1713
1710
|
};
|
|
1714
1711
|
|
|
1712
|
+
export type RequestGuestApprovalDto = {
|
|
1713
|
+
email: DraftEmailDto;
|
|
1714
|
+
message: string;
|
|
1715
|
+
};
|
|
1716
|
+
|
|
1717
|
+
export type UpdateNegotiationGroupMembersDto = {
|
|
1718
|
+
negotiations: Array<string>;
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1715
1721
|
export type CreateApiUserRequest = {
|
|
1716
1722
|
name: string;
|
|
1717
1723
|
role: string;
|
|
@@ -2273,7 +2279,7 @@ export type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
2273
2279
|
sigPageId: string;
|
|
2274
2280
|
};
|
|
2275
2281
|
|
|
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';
|
|
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';
|
|
2277
2283
|
|
|
2278
2284
|
export type PartyRelativeRef = 'our' | 'counterparty';
|
|
2279
2285
|
|
|
@@ -2857,6 +2863,10 @@ export type DocumentDisclaimerDto = {
|
|
|
2857
2863
|
body: string;
|
|
2858
2864
|
};
|
|
2859
2865
|
|
|
2866
|
+
export type CancelGuestApprovalRequestDto = {
|
|
2867
|
+
email: string;
|
|
2868
|
+
};
|
|
2869
|
+
|
|
2860
2870
|
export type ExtractionFeedbackDto = {
|
|
2861
2871
|
value: {
|
|
2862
2872
|
[key: string]: boolean;
|
|
@@ -3762,6 +3772,11 @@ export type ElectionAnswerSummaryDto = {
|
|
|
3762
3772
|
amendMatched?: boolean;
|
|
3763
3773
|
};
|
|
3764
3774
|
|
|
3775
|
+
export type GuestApprovalRequestDto = {
|
|
3776
|
+
email: string;
|
|
3777
|
+
message: string;
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3765
3780
|
export type ChangeSigningModeDto = {
|
|
3766
3781
|
signingMode: string;
|
|
3767
3782
|
};
|
|
@@ -8738,6 +8753,58 @@ export type downloadPresetResponses = {
|
|
|
8738
8753
|
|
|
8739
8754
|
export type downloadPresetResponse = downloadPresetResponses[keyof downloadPresetResponses];
|
|
8740
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
|
+
|
|
8741
8808
|
export type assignUserData = {
|
|
8742
8809
|
body?: never;
|
|
8743
8810
|
path: {
|
|
@@ -11840,24 +11907,6 @@ export type createAuditTrailPDFResponses = {
|
|
|
11840
11907
|
|
|
11841
11908
|
export type createAuditTrailPDFResponse = createAuditTrailPDFResponses[keyof createAuditTrailPDFResponses];
|
|
11842
11909
|
|
|
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
11910
|
export type initialAnswersData = {
|
|
11862
11911
|
body?: never;
|
|
11863
11912
|
path: {
|
|
@@ -11955,3 +12004,75 @@ export type getProfileResponses = {
|
|
|
11955
12004
|
};
|
|
11956
12005
|
|
|
11957
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];
|