import type { contracts_ContractField } from './contracts_ContractField'; export type contracts_CreateContractRequest = { /** * ClientId is the client the contract is assigned to. */ clientId?: string; /** * CompanyId is the company the contract is associated with. Required when the client belongs to multiple companies. */ companyId?: string; /** * ContractTemplateID is the template to create the contract from. Required unless creationMode is oneOff. */ contractTemplateId?: string; /** * CreationMode indicates whether the contract is created from a template or as a one-off document. */ creationMode?: contracts_CreateContractRequest.creationMode; /** * ContractFields are the input fields for a one-off contract. */ fields?: Array; /** * FileKey is the storage key of the uploaded document for a one-off contract. */ fileKey?: string; identityId?: string; /** * Name is the human-readable name of the contract. */ name?: string; /** * RecipientId is the recipient the contract is assigned to. Deprecated: use clientId instead. */ recipientId?: string; /** * VariableValues maps a template's variable field IDs to their values. Must cover every variable field on the template. */ variableValues?: Record; }; export declare namespace contracts_CreateContractRequest { /** * CreationMode indicates whether the contract is created from a template or as a one-off document. */ enum creationMode { ONE_OFF = "oneOff", TEMPLATE = "template" } }