Skip to content
@archipel/platform-esigning Auto-generated

@breadstone/archipel-platform-esigning

Classes

ClassDescription
EsigningClientPortAbstract port for e-signing provider clients. Each provider (DocuSign, Adobe Sign, Dropbox Sign, signNow, Internal) must implement this contract so that the consuming application can switch providers without changing business logic.
EsigningErrorBase error for all e-signing related failures.
EsigningModuleNestJS module providing generic e-signing infrastructure. Exposes a configurable signing client and optional persistence tracking. The specific e-signing provider is selected via the options.
EsigningPersistencePortAbstract port for persisting signing request state. Implement this port in the consuming application to track signing requests in a database.
EsigningServiceApplication-level service for e-signing operations. Delegates to the configured EsigningClientPort and optionally invokes the EsigningPersistencePort for state tracking.
InternalEsigningProviderBuilt-in e-signing provider that manages signing requests in-memory. This provider fulfills the same contract as external providers and can be used for development, testing, or simple self-managed signing workflows.
SigningProviderErrorThrown when a provider-level operation fails.
SigningRequestNotFoundErrorThrown when a signing request cannot be found by the provider.
WebhookVerificationErrorThrown when a webhook signature verification fails.

Interfaces

InterfaceDescription
ICreateSigningRequestInput for creating a new signing request.
ICreateSigningRequestDocumentA document to include when creating a signing request.
ICreateSigningRequestSignerA signer to include when creating a signing request.
ICreateSigningSessionRequestInput for creating a signing session (signing link) for a specific signer.
IEsigningModuleOptionsConfiguration options for the EsigningModule.
IEsigningWebhookEventNormalized representation of a webhook event from an e-signing provider.
ISignedDocumentNormalized representation of a signed (completed) document.
ISignerNormalized representation of a signer participating in a signing request.
ISigningDocumentNormalized representation of a document within a signing request.
ISigningFieldNormalized representation of a signing field placed on a document.
ISigningRequestNormalized representation of a signing request (envelope/agreement).
ISigningSessionNormalized representation of a signing session or signing link.

Type Aliases

Type AliasDescription
SignerRoleUnion type derived from SignerRoles.
SignerStatusUnion type derived from SignerStatuses.
SigningFieldTypeUnion type derived from SigningFieldTypes.
SigningRequestStatusUnion type derived from SigningRequestStatuses.
WebhookEventTypeUnion type derived from WebhookEventTypes.

Variables

VariableDescription
ADOBE_SIGN_BASE_URLAdobe Sign base URL.
ADOBE_SIGN_CLIENT_SECRETAdobe Sign client secret.
ADOBE_SIGN_CONFIG_ENTRIESConfiguration entries required by the Adobe Sign e-signing provider.
ADOBE_SIGN_INTEGRATION_KEYAdobe Sign integration key.
ADOBE_SIGN_WEBHOOK_CLIENT_IDAdobe Sign webhook client ID for verification.
DOCUSIGN_ACCOUNT_IDDocuSign account ID.
DOCUSIGN_BASE_URLDocuSign base URL (e.g. https://demo.docusign.net for sandbox).
DOCUSIGN_CONFIG_ENTRIESConfiguration entries required by the DocuSign e-signing provider.
DOCUSIGN_INTEGRATION_KEYDocuSign integration key (client ID).
DOCUSIGN_SECRET_KEYDocuSign secret key (client secret).
DOCUSIGN_WEBHOOK_HMAC_KEYDocuSign webhook HMAC key.
DROPBOX_SIGN_API_KEYDropbox Sign API key.
DROPBOX_SIGN_CLIENT_IDDropbox Sign client ID.
DROPBOX_SIGN_CONFIG_ENTRIESConfiguration entries required by the Dropbox Sign e-signing provider.
DROPBOX_SIGN_WEBHOOK_SECRETDropbox Sign webhook secret.
ESIGNING_API_BASE_URLActive e-signing provider base URL.
ESIGNING_API_KEYActive e-signing provider API key.
ESIGNING_PROVIDER-
ESIGNING_PROVIDER_OPTIONS-
ESIGNING_WEBHOOK_SECRETActive e-signing provider webhook signing secret.
PLATFORM_ESIGNING_CONFIG_ENTRIESAll configuration entries required by platform-esigning.
SignerRolesRepresents the role of a signer in a signing request.
SignerStatusesRepresents the status of an individual signer within a signing request.
SigningFieldTypesRepresents the type of a signing field placed on a document.
SigningRequestStatusesRepresents the lifecycle status of a signing request.
SIGNNOW_API_KEYsignNow API key (basic token).
SIGNNOW_BASE_URLsignNow base URL.
SIGNNOW_CLIENT_IDsignNow client ID.
SIGNNOW_CLIENT_SECRETsignNow client secret.
SIGNNOW_CONFIG_ENTRIESConfiguration entries required by the signNow e-signing provider.
SIGNNOW_WEBHOOK_SECRETsignNow webhook callback secret.
WebhookEventTypesRepresents the type of webhook event emitted by a signing provider.

Released under the MIT License.