import type { contracts_ContractField } from './contracts_ContractField'; import type { contracts_SignatureEvent } from './contracts_SignatureEvent'; import type { users_Owner } from './users_Owner'; export type contracts_Contract = { /** * ClientID is the ID of the client the contract is assigned to. */ clientId?: string; /** * CompanyID is the ID of the company the contract is associated with. */ companyId?: string; /** * ContractTemplateID is the ID of the template the contract was created from, when applicable. */ contractTemplateId?: string; createdAt?: string; /** * CreationMode indicates whether the contract was created from a template or as a one-off document. */ creationMode?: contracts_Contract.creationMode; creatorId?: string; data?: string; /** * ContractFields Represent all the inputs which are dropped on the contract to be filled by admin, client or autofilled */ fields?: Array; /** * FileKey is a presigned URL to the original (unsigned) contract document. */ fileUrl?: string; id?: string; identityId?: string; isMigrated?: boolean; /** * Name is the human-readable name of the contract. */ name?: string; object?: string; owner?: users_Owner; pageKeys?: Array; portalId?: string; previousAttributes?: Record; /** * Deprecated: use ClientID and CompanyID instead */ recipientId?: string; ref?: string; shareDate?: string; /** * SignatureEvents holds the audit information about the user who performed any action on the contract document */ signatureEvents?: Array; /** * SignedFileKey is a presigned URL to the signed contract document, populated once the contract is signed. */ signedFileUrl?: string; /** * Status is the current status of the contract. */ status?: contracts_Contract.status; submissionDate?: string; updatedAt?: string; }; export declare namespace contracts_Contract { /** * CreationMode indicates whether the contract was created from a template or as a one-off document. */ enum creationMode { ONE_OFF = "oneOff", TEMPLATE = "template" } /** * Status is the current status of the contract. */ enum status { PENDING = "pending", SIGNED = "signed" } }