@createiq/backend 1.0.60 → 1.0.61
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/sdk.gen.ts +18 -18
- package/client/types.gen.ts +36 -35
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +37 -36
- package/dist/index.d.ts +37 -36
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/swagger.json.sha256 +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ type BulkSetsCountsDto = {
|
|
|
11
11
|
bulkSets: Array<BulkSetJobCountDto>;
|
|
12
12
|
totalBulkSets: number;
|
|
13
13
|
};
|
|
14
|
-
type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
14
|
+
type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
15
15
|
/**
|
|
16
16
|
* A map of action name to boolean - true if the action can be performed, false otherwise. If and action cannot be performed a actionName_reason string property will be available that describes why that action is unavailable.
|
|
17
17
|
*/
|
|
@@ -1787,7 +1787,7 @@ type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
1787
1787
|
exists: boolean;
|
|
1788
1788
|
sigPageId: string;
|
|
1789
1789
|
};
|
|
1790
|
-
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' | 'chaserEmail' | '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';
|
|
1790
|
+
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' | 'chaserEmail' | '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' | 'contactSupportConfirmation';
|
|
1791
1791
|
type PartyRelativeRef = 'our' | 'counterparty';
|
|
1792
1792
|
type PresetOrderKey = 'name' | 'documentType' | 'status' | 'dateCreated';
|
|
1793
1793
|
type BulkSetDto = {
|
|
@@ -2028,6 +2028,7 @@ type SignatureExistsDto = {
|
|
|
2028
2028
|
type NegotiationSummaryAvailableActionsDto = {
|
|
2029
2029
|
canInvite: boolean;
|
|
2030
2030
|
canInviteNoPreset: boolean;
|
|
2031
|
+
canNegotiateVolumeBilledDocument: boolean;
|
|
2031
2032
|
};
|
|
2032
2033
|
type ESignAccountStatus = 'never-connected' | 'connected' | 'disconnected';
|
|
2033
2034
|
type FeatureDto = {
|
|
@@ -4886,35 +4887,6 @@ type ForkNegotiation_Responses = {
|
|
|
4886
4887
|
200: NegotiationSingleDto;
|
|
4887
4888
|
};
|
|
4888
4889
|
type ForkNegotiation_Response = ForkNegotiation_Responses[keyof ForkNegotiation_Responses];
|
|
4889
|
-
type AcceptAllCounterpartyPositions_Data = {
|
|
4890
|
-
body?: never;
|
|
4891
|
-
path: {
|
|
4892
|
-
subAccountId: string;
|
|
4893
|
-
negotiationId: string;
|
|
4894
|
-
partyId: string;
|
|
4895
|
-
};
|
|
4896
|
-
query?: {
|
|
4897
|
-
excludeNestedAnswers?: boolean;
|
|
4898
|
-
};
|
|
4899
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}';
|
|
4900
|
-
};
|
|
4901
|
-
type AcceptAllCounterpartyPositions_Errors = {
|
|
4902
|
-
/**
|
|
4903
|
-
* The counterparty's position is not available
|
|
4904
|
-
*/
|
|
4905
|
-
400: unknown;
|
|
4906
|
-
/**
|
|
4907
|
-
* Negotiation not found
|
|
4908
|
-
*/
|
|
4909
|
-
404: unknown;
|
|
4910
|
-
};
|
|
4911
|
-
type AcceptAllCounterpartyPositions_Responses = {
|
|
4912
|
-
/**
|
|
4913
|
-
* A JSON document describing the negotiation from the point of view of the requester
|
|
4914
|
-
*/
|
|
4915
|
-
200: NegotiationWithTimelineAndPreviewDto;
|
|
4916
|
-
};
|
|
4917
|
-
type AcceptAllCounterpartyPositions_Response = AcceptAllCounterpartyPositions_Responses[keyof AcceptAllCounterpartyPositions_Responses];
|
|
4918
4890
|
type NegotiationGetDocumentSchema_Data = {
|
|
4919
4891
|
body?: never;
|
|
4920
4892
|
path: {
|
|
@@ -5164,6 +5136,35 @@ type AddElectionApproval_Responses = {
|
|
|
5164
5136
|
200: NegotiationSingleDto;
|
|
5165
5137
|
};
|
|
5166
5138
|
type AddElectionApproval_Response = AddElectionApproval_Responses[keyof AddElectionApproval_Responses];
|
|
5139
|
+
type AcceptAllCounterpartyPositions_Data = {
|
|
5140
|
+
body?: never;
|
|
5141
|
+
path: {
|
|
5142
|
+
subAccountId: string;
|
|
5143
|
+
negotiationId: string;
|
|
5144
|
+
partyId: string;
|
|
5145
|
+
};
|
|
5146
|
+
query?: {
|
|
5147
|
+
excludeNestedAnswers?: boolean;
|
|
5148
|
+
};
|
|
5149
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}';
|
|
5150
|
+
};
|
|
5151
|
+
type AcceptAllCounterpartyPositions_Errors = {
|
|
5152
|
+
/**
|
|
5153
|
+
* The counterparty's position is not available
|
|
5154
|
+
*/
|
|
5155
|
+
400: unknown;
|
|
5156
|
+
/**
|
|
5157
|
+
* Negotiation not found
|
|
5158
|
+
*/
|
|
5159
|
+
404: unknown;
|
|
5160
|
+
};
|
|
5161
|
+
type AcceptAllCounterpartyPositions_Responses = {
|
|
5162
|
+
/**
|
|
5163
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
5164
|
+
*/
|
|
5165
|
+
200: NegotiationWithTimelineAndPreviewDto;
|
|
5166
|
+
};
|
|
5167
|
+
type AcceptAllCounterpartyPositions_Response = AcceptAllCounterpartyPositions_Responses[keyof AcceptAllCounterpartyPositions_Responses];
|
|
5167
5168
|
type RejectFinalDocument_Data = {
|
|
5168
5169
|
body: ApprovalCommentDto;
|
|
5169
5170
|
path: {
|
|
@@ -10326,11 +10327,6 @@ declare const generateNegotiationsReport: <ThrowOnError extends boolean = false>
|
|
|
10326
10327
|
* Starts a new negotiation where all elections are prefilled from the specified negotiation. Once the new negotiation is executed, the documents produced will indicate that they restate the original documents. In order to restate a negotiation it must be executed, the document must support restatement and there must not be any other sequential restatements for this negotiation. Any subsequent restatement should be made from the the latest executed restatement.
|
|
10327
10328
|
*/
|
|
10328
10329
|
declare const forkNegotiation: <ThrowOnError extends boolean = false>(options: Options<ForkNegotiation_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto, unknown, ThrowOnError>;
|
|
10329
|
-
/**
|
|
10330
|
-
* Accept the counterparty position for all elections of a negotiation
|
|
10331
|
-
* Accept the counterparty position for all elections of a negotiation.
|
|
10332
|
-
*/
|
|
10333
|
-
declare const acceptAllCounterpartyPositions: <ThrowOnError extends boolean = false>(options: Options<AcceptAllCounterpartyPositions_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationWithTimelineAndPreviewDto, unknown, ThrowOnError>;
|
|
10334
10330
|
/**
|
|
10335
10331
|
* View the schema for a negotiation's document
|
|
10336
10332
|
* View the schema for a negotiation's document.
|
|
@@ -10381,6 +10377,11 @@ declare const setBulkSetAttachments: <ThrowOnError extends boolean = false>(opti
|
|
|
10381
10377
|
* Approve an election.
|
|
10382
10378
|
*/
|
|
10383
10379
|
declare const addElectionApproval: <ThrowOnError extends boolean = false>(options: Options<AddElectionApproval_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto, unknown, ThrowOnError>;
|
|
10380
|
+
/**
|
|
10381
|
+
* Accept the counterparty position for all elections of a negotiation
|
|
10382
|
+
* Accept the counterparty position for all elections of a negotiation.
|
|
10383
|
+
*/
|
|
10384
|
+
declare const acceptAllCounterpartyPositions: <ThrowOnError extends boolean = false>(options: Options<AcceptAllCounterpartyPositions_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationWithTimelineAndPreviewDto, unknown, ThrowOnError>;
|
|
10384
10385
|
/**
|
|
10385
10386
|
* Reject the final document and revert to an amending state
|
|
10386
10387
|
* Reject the final document and revert to an amending state.
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ type BulkSetsCountsDto = {
|
|
|
11
11
|
bulkSets: Array<BulkSetJobCountDto>;
|
|
12
12
|
totalBulkSets: number;
|
|
13
13
|
};
|
|
14
|
-
type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
14
|
+
type AnalyticsEventType = 'PASSWORD_RESET_START' | 'PASSWORD_RESET_SUCCESS' | 'INVITATION_ACCEPTED' | 'LOGIN_START' | 'LOGIN' | 'SUPPORT_IMPERSONATED_USER_LOGIN' | 'LOGIN_REFRESH' | 'USER_REMOVED' | 'CONTACT_SUPPORT' | 'API_KEY_CREATED' | 'API_READ' | 'API_WRITE' | 'CREATE_PRESET' | 'REQUEST_APPROVAL_PRESET' | 'PUBLISH_PRESET' | 'REJECT_PRESET' | 'DURATION_NEW_PRESET_TO_FINALISE_PRESET' | 'DOCUMENT_COMMENT' | 'ELECTION_COMMENT' | 'NEGOTIATION_CREATED' | 'INITIAL_SEND_TO_COUNTERPARTY' | 'SEND_TO_COUNTERPARTY' | 'RECEIVER_DRAFT' | 'AMENDING' | 'AGREED' | 'FINAL_DOCUMENT_APPROVAL' | 'FINAL_DOCUMENT_REJECTION' | 'ELECTION_APPROVAL' | 'ELECTION_REJECTION' | 'ESIGN_CREATE_DRAFT' | 'ESIGN_SEND_FOR_SIGNING' | 'ESIGN_SIGNING_COMPLETE' | 'EXECUTED' | 'DURATION_CREATE_NEGOTIATION_TO_INITIAL_SEND_TO_CP' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_OFFLINE_EXECUTION' | 'DURATION_ACCEPT_INVITATION_TO_CONFIRM_ESIGN_EXECUTION' | 'DOWNLOAD_NEGOTIATION_METADATA' | 'DOWNLOAD_COMPLETED_NEGOTIATIONS' | 'DOWNLOAD_NEGOTIATION_CDM' | 'NO_VOLUME_BILLED_SUBSCRIPTION_NEGOTIATION_ACCESS' | 'ACCOUNT_CREATED' | 'COUNT_ACCOUNT_USER' | 'ACCOUNT_DISABLE' | 'ACCOUNT_DELETE' | 'ACCOUNT_COUNTERPARTY_COUNT' | 'EMAIL_DELIVERY' | 'EMAIL_BOUNCE' | 'EMAIL_OPEN' | 'EMAIL_CLICK' | 'EMAIL_UNSUBSCRIBE' | 'EXTRACTION_STARTED' | 'EXTRACTION_COMPLETE' | 'EXTRACTION_REVIEW_STARTED' | 'EXTRACTION_REVIEW_COMPLETE' | 'EXTRACTION_CANCELLED' | 'EXTRACTION_FAILED';
|
|
15
15
|
/**
|
|
16
16
|
* A map of action name to boolean - true if the action can be performed, false otherwise. If and action cannot be performed a actionName_reason string property will be available that describes why that action is unavailable.
|
|
17
17
|
*/
|
|
@@ -1787,7 +1787,7 @@ type SignatureExistsDto_RequiredSignaturePageDto = {
|
|
|
1787
1787
|
exists: boolean;
|
|
1788
1788
|
sigPageId: string;
|
|
1789
1789
|
};
|
|
1790
|
-
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' | 'chaserEmail' | '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';
|
|
1790
|
+
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' | 'chaserEmail' | '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' | 'contactSupportConfirmation';
|
|
1791
1791
|
type PartyRelativeRef = 'our' | 'counterparty';
|
|
1792
1792
|
type PresetOrderKey = 'name' | 'documentType' | 'status' | 'dateCreated';
|
|
1793
1793
|
type BulkSetDto = {
|
|
@@ -2028,6 +2028,7 @@ type SignatureExistsDto = {
|
|
|
2028
2028
|
type NegotiationSummaryAvailableActionsDto = {
|
|
2029
2029
|
canInvite: boolean;
|
|
2030
2030
|
canInviteNoPreset: boolean;
|
|
2031
|
+
canNegotiateVolumeBilledDocument: boolean;
|
|
2031
2032
|
};
|
|
2032
2033
|
type ESignAccountStatus = 'never-connected' | 'connected' | 'disconnected';
|
|
2033
2034
|
type FeatureDto = {
|
|
@@ -4886,35 +4887,6 @@ type ForkNegotiation_Responses = {
|
|
|
4886
4887
|
200: NegotiationSingleDto;
|
|
4887
4888
|
};
|
|
4888
4889
|
type ForkNegotiation_Response = ForkNegotiation_Responses[keyof ForkNegotiation_Responses];
|
|
4889
|
-
type AcceptAllCounterpartyPositions_Data = {
|
|
4890
|
-
body?: never;
|
|
4891
|
-
path: {
|
|
4892
|
-
subAccountId: string;
|
|
4893
|
-
negotiationId: string;
|
|
4894
|
-
partyId: string;
|
|
4895
|
-
};
|
|
4896
|
-
query?: {
|
|
4897
|
-
excludeNestedAnswers?: boolean;
|
|
4898
|
-
};
|
|
4899
|
-
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}';
|
|
4900
|
-
};
|
|
4901
|
-
type AcceptAllCounterpartyPositions_Errors = {
|
|
4902
|
-
/**
|
|
4903
|
-
* The counterparty's position is not available
|
|
4904
|
-
*/
|
|
4905
|
-
400: unknown;
|
|
4906
|
-
/**
|
|
4907
|
-
* Negotiation not found
|
|
4908
|
-
*/
|
|
4909
|
-
404: unknown;
|
|
4910
|
-
};
|
|
4911
|
-
type AcceptAllCounterpartyPositions_Responses = {
|
|
4912
|
-
/**
|
|
4913
|
-
* A JSON document describing the negotiation from the point of view of the requester
|
|
4914
|
-
*/
|
|
4915
|
-
200: NegotiationWithTimelineAndPreviewDto;
|
|
4916
|
-
};
|
|
4917
|
-
type AcceptAllCounterpartyPositions_Response = AcceptAllCounterpartyPositions_Responses[keyof AcceptAllCounterpartyPositions_Responses];
|
|
4918
4890
|
type NegotiationGetDocumentSchema_Data = {
|
|
4919
4891
|
body?: never;
|
|
4920
4892
|
path: {
|
|
@@ -5164,6 +5136,35 @@ type AddElectionApproval_Responses = {
|
|
|
5164
5136
|
200: NegotiationSingleDto;
|
|
5165
5137
|
};
|
|
5166
5138
|
type AddElectionApproval_Response = AddElectionApproval_Responses[keyof AddElectionApproval_Responses];
|
|
5139
|
+
type AcceptAllCounterpartyPositions_Data = {
|
|
5140
|
+
body?: never;
|
|
5141
|
+
path: {
|
|
5142
|
+
subAccountId: string;
|
|
5143
|
+
negotiationId: string;
|
|
5144
|
+
partyId: string;
|
|
5145
|
+
};
|
|
5146
|
+
query?: {
|
|
5147
|
+
excludeNestedAnswers?: boolean;
|
|
5148
|
+
};
|
|
5149
|
+
url: '/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}';
|
|
5150
|
+
};
|
|
5151
|
+
type AcceptAllCounterpartyPositions_Errors = {
|
|
5152
|
+
/**
|
|
5153
|
+
* The counterparty's position is not available
|
|
5154
|
+
*/
|
|
5155
|
+
400: unknown;
|
|
5156
|
+
/**
|
|
5157
|
+
* Negotiation not found
|
|
5158
|
+
*/
|
|
5159
|
+
404: unknown;
|
|
5160
|
+
};
|
|
5161
|
+
type AcceptAllCounterpartyPositions_Responses = {
|
|
5162
|
+
/**
|
|
5163
|
+
* A JSON document describing the negotiation from the point of view of the requester
|
|
5164
|
+
*/
|
|
5165
|
+
200: NegotiationWithTimelineAndPreviewDto;
|
|
5166
|
+
};
|
|
5167
|
+
type AcceptAllCounterpartyPositions_Response = AcceptAllCounterpartyPositions_Responses[keyof AcceptAllCounterpartyPositions_Responses];
|
|
5167
5168
|
type RejectFinalDocument_Data = {
|
|
5168
5169
|
body: ApprovalCommentDto;
|
|
5169
5170
|
path: {
|
|
@@ -10326,11 +10327,6 @@ declare const generateNegotiationsReport: <ThrowOnError extends boolean = false>
|
|
|
10326
10327
|
* Starts a new negotiation where all elections are prefilled from the specified negotiation. Once the new negotiation is executed, the documents produced will indicate that they restate the original documents. In order to restate a negotiation it must be executed, the document must support restatement and there must not be any other sequential restatements for this negotiation. Any subsequent restatement should be made from the the latest executed restatement.
|
|
10327
10328
|
*/
|
|
10328
10329
|
declare const forkNegotiation: <ThrowOnError extends boolean = false>(options: Options<ForkNegotiation_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto, unknown, ThrowOnError>;
|
|
10329
|
-
/**
|
|
10330
|
-
* Accept the counterparty position for all elections of a negotiation
|
|
10331
|
-
* Accept the counterparty position for all elections of a negotiation.
|
|
10332
|
-
*/
|
|
10333
|
-
declare const acceptAllCounterpartyPositions: <ThrowOnError extends boolean = false>(options: Options<AcceptAllCounterpartyPositions_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationWithTimelineAndPreviewDto, unknown, ThrowOnError>;
|
|
10334
10330
|
/**
|
|
10335
10331
|
* View the schema for a negotiation's document
|
|
10336
10332
|
* View the schema for a negotiation's document.
|
|
@@ -10381,6 +10377,11 @@ declare const setBulkSetAttachments: <ThrowOnError extends boolean = false>(opti
|
|
|
10381
10377
|
* Approve an election.
|
|
10382
10378
|
*/
|
|
10383
10379
|
declare const addElectionApproval: <ThrowOnError extends boolean = false>(options: Options<AddElectionApproval_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationSingleDto, unknown, ThrowOnError>;
|
|
10380
|
+
/**
|
|
10381
|
+
* Accept the counterparty position for all elections of a negotiation
|
|
10382
|
+
* Accept the counterparty position for all elections of a negotiation.
|
|
10383
|
+
*/
|
|
10384
|
+
declare const acceptAllCounterpartyPositions: <ThrowOnError extends boolean = false>(options: Options<AcceptAllCounterpartyPositions_Data, ThrowOnError>) => _hey_api_client_fetch.RequestResult<NegotiationWithTimelineAndPreviewDto, unknown, ThrowOnError>;
|
|
10384
10385
|
/**
|
|
10385
10386
|
* Reject the final document and revert to an amending state
|
|
10386
10387
|
* Reject the final document and revert to an amending state.
|
package/dist/index.js
CHANGED
|
@@ -852,18 +852,6 @@ var forkNegotiation = (options) => {
|
|
|
852
852
|
...options
|
|
853
853
|
});
|
|
854
854
|
};
|
|
855
|
-
var acceptAllCounterpartyPositions = (options) => {
|
|
856
|
-
return (options.client ?? client).put({
|
|
857
|
-
security: [
|
|
858
|
-
{
|
|
859
|
-
name: "Authorization",
|
|
860
|
-
type: "apiKey"
|
|
861
|
-
}
|
|
862
|
-
],
|
|
863
|
-
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}",
|
|
864
|
-
...options
|
|
865
|
-
});
|
|
866
|
-
};
|
|
867
855
|
var negotiationGetDocumentSchema = (options) => {
|
|
868
856
|
return (options.client ?? client).get({
|
|
869
857
|
security: [
|
|
@@ -1009,6 +997,18 @@ var addElectionApproval = (options) => {
|
|
|
1009
997
|
}
|
|
1010
998
|
});
|
|
1011
999
|
};
|
|
1000
|
+
var acceptAllCounterpartyPositions = (options) => {
|
|
1001
|
+
return (options.client ?? client).put({
|
|
1002
|
+
security: [
|
|
1003
|
+
{
|
|
1004
|
+
name: "Authorization",
|
|
1005
|
+
type: "apiKey"
|
|
1006
|
+
}
|
|
1007
|
+
],
|
|
1008
|
+
url: "/api/v1/subAccounts/{subAccountId}/negotiations/{negotiationId}/acceptCpPosition/{partyId}",
|
|
1009
|
+
...options
|
|
1010
|
+
});
|
|
1011
|
+
};
|
|
1012
1012
|
var rejectFinalDocument = (options) => {
|
|
1013
1013
|
return (options.client ?? client).put({
|
|
1014
1014
|
security: [
|