import * as i from '../interfaces'; import { FieldMask } from './field-mask'; import { LineItem } from './workflow'; import { PagedRequestOptions, PagedResponseMetadata } from './paging'; import * as e from '../enums'; export declare function enumStringToValue(enumRef: any, value: string): E; export declare class ArchiveDocumentRequest implements i.ArchiveDocumentRequestInterface { documentId: string; static fromProto(proto: any): ArchiveDocumentRequest; constructor(kwargs?: i.ArchiveDocumentRequestInterface); toApiJson(): object; } export declare class Content implements i.ContentInterface { type: e.ContentType; value: string; static fromProto(proto: any): Content; constructor(kwargs?: i.ContentInterface); toApiJson(): object; } export declare class CreateDocumentRequest implements i.CreateDocumentRequestInterface { document: Document; static fromProto(proto: any): CreateDocumentRequest; constructor(kwargs?: i.CreateDocumentRequestInterface); toApiJson(): object; } export declare class CreateDocumentResponse implements i.CreateDocumentResponseInterface { documentId: string; static fromProto(proto: any): CreateDocumentResponse; constructor(kwargs?: i.CreateDocumentResponseInterface); toApiJson(): object; } export declare class DeleteDocumentRequest implements i.DeleteDocumentRequestInterface { documentId: string; static fromProto(proto: any): DeleteDocumentRequest; constructor(kwargs?: i.DeleteDocumentRequestInterface); toApiJson(): object; } export declare class Document implements i.DocumentInterface { documentId: string; title: string; description: string; created: Date; updated: Date; deleted: Date; pageCount: number; jsonContent: string; type: e.DocumentType; shareType: e.DocumentShareType; organizationId: string; organizationType: e.OrganizationType; creatorUserId: string; recipientOrganizationId: string; recipientOrganizationType: e.OrganizationType; orderId: string; tags: string[]; marketId: string; status: e.DocumentStatus; archived: Date; viewCount: number; thumbnailPath: string; pdfPath: string; snapshotId: string; currencyCode: string; recipientContactId: string; format: Format; static fromProto(proto: any): Document; constructor(kwargs?: i.DocumentInterface); toApiJson(): object; } export declare class DocumentEmailRecipient implements i.DocumentEmailRecipientInterface { name: string; emailAddress: string; static fromProto(proto: any): DocumentEmailRecipient; constructor(kwargs?: i.DocumentEmailRecipientInterface); toApiJson(): object; } export declare class DocumentEvent implements i.DocumentEventInterface { documentId: string; occurred: Date; performedBy: string; eventType: e.DocumentEventType; eventContext: string; deleted: Date; context: DocumentEventContext; static fromProto(proto: any): DocumentEvent; constructor(kwargs?: i.DocumentEventInterface); toApiJson(): object; } export declare class DocumentEventContext implements i.DocumentEventContextInterface { sentByEmailContext: DocumentEventContextSentByEmail; viewedByRecipientContext: DocumentEventContextViewedByRecipient; approvedByRecipientContext: DocumentEventContextApprovedByRecipient; feedbackFromRecipientContext: DocumentEventContextFeedbackFromRecipient; commentFromInternalUserContext: DocumentEventContextCommentFromInternalUser; sendForInternalReviewContext: DocumentEventContextSendForInternalReview; reviewedByInternalUserContext: DocumentEventContextReviewedByInternalUser; unlockedDocumentContext: DocumentEventContextUnlockDocument; static fromProto(proto: any): DocumentEventContext; constructor(kwargs?: i.DocumentEventContextInterface); toApiJson(): object; } export declare class DocumentEventContextApprovedByRecipient implements i.DocumentEventContextApprovedByRecipientInterface { email: string; static fromProto(proto: any): DocumentEventContextApprovedByRecipient; constructor(kwargs?: i.DocumentEventContextApprovedByRecipientInterface); toApiJson(): object; } export declare class DocumentEventContextCommentFromInternalUser implements i.DocumentEventContextCommentFromInternalUserInterface { userId: string; conversationOriginLocationExternalId: string; static fromProto(proto: any): DocumentEventContextCommentFromInternalUser; constructor(kwargs?: i.DocumentEventContextCommentFromInternalUserInterface); toApiJson(): object; } export declare class DocumentEventContextFeedbackFromRecipient implements i.DocumentEventContextFeedbackFromRecipientInterface { orderId: string; recipientOrganizationId: string; recipientOrganizationType: e.OrganizationType; recipientEmail: string; recipientName: string; static fromProto(proto: any): DocumentEventContextFeedbackFromRecipient; constructor(kwargs?: i.DocumentEventContextFeedbackFromRecipientInterface); toApiJson(): object; } export declare class DocumentEventContextReviewedByInternalUser implements i.DocumentEventContextReviewedByInternalUserInterface { reviewerUserId: string; comment: string; static fromProto(proto: any): DocumentEventContextReviewedByInternalUser; constructor(kwargs?: i.DocumentEventContextReviewedByInternalUserInterface); toApiJson(): object; } export declare class DocumentEventContextSendForInternalReview implements i.DocumentEventContextSendForInternalReviewInterface { requesterUserId: string; reviewerUserId: string; comment: string; static fromProto(proto: any): DocumentEventContextSendForInternalReview; constructor(kwargs?: i.DocumentEventContextSendForInternalReviewInterface); toApiJson(): object; } export declare class DocumentEventContextSentByEmail implements i.DocumentEventContextSentByEmailInterface { sentEmails: SentDocumentEmail[]; static fromProto(proto: any): DocumentEventContextSentByEmail; constructor(kwargs?: i.DocumentEventContextSentByEmailInterface); toApiJson(): object; } export declare class DocumentEventContextUnlockDocument implements i.DocumentEventContextUnlockDocumentInterface { userId: string; static fromProto(proto: any): DocumentEventContextUnlockDocument; constructor(kwargs?: i.DocumentEventContextUnlockDocumentInterface); toApiJson(): object; } export declare class DocumentEventContextViewedByRecipient implements i.DocumentEventContextViewedByRecipientInterface { orderId: string; recipientOrganizationId: string; recipientOrganizationType: e.OrganizationType; recipientEmail: string; recipientName: string; static fromProto(proto: any): DocumentEventContextViewedByRecipient; constructor(kwargs?: i.DocumentEventContextViewedByRecipientInterface); toApiJson(): object; } export declare class ListDocumentEventsRequestFilters implements i.ListDocumentEventsRequestFiltersInterface { eventTypes: e.DocumentEventType[]; static fromProto(proto: any): ListDocumentEventsRequestFilters; constructor(kwargs?: i.ListDocumentEventsRequestFiltersInterface); toApiJson(): object; } export declare class ListDocumentsRequestFilters implements i.ListDocumentsRequestFiltersInterface { types: e.DocumentType[]; organizationId: string; recipientOrganizationId: string; marketId: string; statuses: e.DocumentStatus[]; static fromProto(proto: any): ListDocumentsRequestFilters; constructor(kwargs?: i.ListDocumentsRequestFiltersInterface); toApiJson(): object; } export declare class SearchDocumentsRequestFilters implements i.SearchDocumentsRequestFiltersInterface { types: e.DocumentType[]; statuses: e.DocumentStatus[]; organizationId: string; recipientOrganizationId: string; marketId: string; organizationUserIds: string[]; static fromProto(proto: any): SearchDocumentsRequestFilters; constructor(kwargs?: i.SearchDocumentsRequestFiltersInterface); toApiJson(): object; } export declare class Format implements i.FormatInterface { orientation: e.Orientation; static fromProto(proto: any): Format; constructor(kwargs?: i.FormatInterface); toApiJson(): object; } export declare class GenerateDocumentPDFRequest implements i.GenerateDocumentPDFRequestInterface { documentId: string; static fromProto(proto: any): GenerateDocumentPDFRequest; constructor(kwargs?: i.GenerateDocumentPDFRequestInterface); toApiJson(): object; } export declare class GetDocumentLineItemsRequest implements i.GetDocumentLineItemsRequestInterface { documentId: string; static fromProto(proto: any): GetDocumentLineItemsRequest; constructor(kwargs?: i.GetDocumentLineItemsRequestInterface); toApiJson(): object; } export declare class GetDocumentLineItemsResponse implements i.GetDocumentLineItemsResponseInterface { lineItems: LineItem[]; static fromProto(proto: any): GetDocumentLineItemsResponse; constructor(kwargs?: i.GetDocumentLineItemsResponseInterface); toApiJson(): object; } export declare class GetDocumentRequest implements i.GetDocumentRequestInterface { documentId: string; static fromProto(proto: any): GetDocumentRequest; constructor(kwargs?: i.GetDocumentRequestInterface); toApiJson(): object; } export declare class GetDocumentResponse implements i.GetDocumentResponseInterface { document: Document; static fromProto(proto: any): GetDocumentResponse; constructor(kwargs?: i.GetDocumentResponseInterface); toApiJson(): object; } export declare class GetMultiDocumentsRequest implements i.GetMultiDocumentsRequestInterface { documentIds: string[]; static fromProto(proto: any): GetMultiDocumentsRequest; constructor(kwargs?: i.GetMultiDocumentsRequestInterface); toApiJson(): object; } export declare class GetMultiDocumentsResponse implements i.GetMultiDocumentsResponseInterface { documents: Document[]; static fromProto(proto: any): GetMultiDocumentsResponse; constructor(kwargs?: i.GetMultiDocumentsResponseInterface); toApiJson(): object; } export declare class GetProposalEmailPreviewRequest implements i.GetProposalEmailPreviewRequestInterface { documentId: string; proposalEmailDetails: ProposalEmailDetails; senderUserId: string; static fromProto(proto: any): GetProposalEmailPreviewRequest; constructor(kwargs?: i.GetProposalEmailPreviewRequestInterface); toApiJson(): object; } export declare class GetProposalEmailPreviewResponse implements i.GetProposalEmailPreviewResponseInterface { emailPreviewContent: Content; static fromProto(proto: any): GetProposalEmailPreviewResponse; constructor(kwargs?: i.GetProposalEmailPreviewResponseInterface); toApiJson(): object; } export declare class ListDocumentEventsRequest implements i.ListDocumentEventsRequestInterface { documentId: string; filters: ListDocumentEventsRequestFilters; static fromProto(proto: any): ListDocumentEventsRequest; constructor(kwargs?: i.ListDocumentEventsRequestInterface); toApiJson(): object; } export declare class ListDocumentEventsResponse implements i.ListDocumentEventsResponseInterface { events: DocumentEvent[]; static fromProto(proto: any): ListDocumentEventsResponse; constructor(kwargs?: i.ListDocumentEventsResponseInterface); toApiJson(): object; } export declare class ListDocumentsRequest implements i.ListDocumentsRequestInterface { paging: PagedRequestOptions; filters: ListDocumentsRequestFilters; static fromProto(proto: any): ListDocumentsRequest; constructor(kwargs?: i.ListDocumentsRequestInterface); toApiJson(): object; } export declare class ListDocumentsResponse implements i.ListDocumentsResponseInterface { documents: Document[]; paging: PagedResponseMetadata; static fromProto(proto: any): ListDocumentsResponse; constructor(kwargs?: i.ListDocumentsResponseInterface); toApiJson(): object; } export declare class MarkDocumentAsReviewedRequest implements i.MarkDocumentAsReviewedRequestInterface { documentId: string; reviewerUserId: string; comment: string; static fromProto(proto: any): MarkDocumentAsReviewedRequest; constructor(kwargs?: i.MarkDocumentAsReviewedRequestInterface); toApiJson(): object; } export declare class MarkDocumentAsViewedRequest implements i.MarkDocumentAsViewedRequestInterface { documentId: string; orderToken: string; static fromProto(proto: any): MarkDocumentAsViewedRequest; constructor(kwargs?: i.MarkDocumentAsViewedRequestInterface); toApiJson(): object; } export declare class ProposalEmailDetails implements i.ProposalEmailDetailsInterface { subject: string; emailText: string; proposalLinkText: string; closingText: string; static fromProto(proto: any): ProposalEmailDetails; constructor(kwargs?: i.ProposalEmailDetailsInterface); toApiJson(): object; } export declare class ProposalEmailMessage implements i.ProposalEmailMessageInterface { to: Recipient[]; replyTo: Recipient; static fromProto(proto: any): ProposalEmailMessage; constructor(kwargs?: i.ProposalEmailMessageInterface); toApiJson(): object; } export declare class Recipient implements i.RecipientInterface { name: string; emailAddress: string; static fromProto(proto: any): Recipient; constructor(kwargs?: i.RecipientInterface); toApiJson(): object; } export declare class SearchDocumentsRequest implements i.SearchDocumentsRequestInterface { paging: PagedRequestOptions; filters: SearchDocumentsRequestFilters; searchTerm: string; static fromProto(proto: any): SearchDocumentsRequest; constructor(kwargs?: i.SearchDocumentsRequestInterface); toApiJson(): object; } export declare class SearchDocumentsResponse implements i.SearchDocumentsResponseInterface { documents: Document[]; paging: PagedResponseMetadata; static fromProto(proto: any): SearchDocumentsResponse; constructor(kwargs?: i.SearchDocumentsResponseInterface); toApiJson(): object; } export declare class SendDocumentForInternalReviewRequest implements i.SendDocumentForInternalReviewRequestInterface { documentId: string; requesterUserId: string; reviewerUserId: string; comment: string; static fromProto(proto: any): SendDocumentForInternalReviewRequest; constructor(kwargs?: i.SendDocumentForInternalReviewRequestInterface); toApiJson(): object; } export declare class SendProposalRecipientEmailRequest implements i.SendProposalRecipientEmailRequestInterface { proposalEmailMessage: ProposalEmailMessage; senderUserId: string; documentId: string; idempotencyKey: string; organizationId: string; proposalEmailDetails: ProposalEmailDetails; static fromProto(proto: any): SendProposalRecipientEmailRequest; constructor(kwargs?: i.SendProposalRecipientEmailRequestInterface); toApiJson(): object; } export declare class SentDocumentEmail implements i.SentDocumentEmailInterface { emailId: string; recipient: DocumentEmailRecipient; static fromProto(proto: any): SentDocumentEmail; constructor(kwargs?: i.SentDocumentEmailInterface); toApiJson(): object; } export declare class UnarchiveDocumentRequest implements i.UnarchiveDocumentRequestInterface { documentId: string; static fromProto(proto: any): UnarchiveDocumentRequest; constructor(kwargs?: i.UnarchiveDocumentRequestInterface); toApiJson(): object; } export declare class UnlockDocumentRequest implements i.UnlockDocumentRequestInterface { documentId: string; userId: string; static fromProto(proto: any): UnlockDocumentRequest; constructor(kwargs?: i.UnlockDocumentRequestInterface); toApiJson(): object; } export declare class UpdateDocumentRequest implements i.UpdateDocumentRequestInterface { documentId: string; document: Document; fieldMask: FieldMask; static fromProto(proto: any): UpdateDocumentRequest; constructor(kwargs?: i.UpdateDocumentRequestInterface); toApiJson(): object; } export declare class UpsertDocumentLineItemsRequest implements i.UpsertDocumentLineItemsRequestInterface { documentId: string; lineItems: LineItem[]; static fromProto(proto: any): UpsertDocumentLineItemsRequest; constructor(kwargs?: i.UpsertDocumentLineItemsRequestInterface); toApiJson(): object; }