import { AgreementInterface, OrderInterface, CustomFieldInterface, CommonFieldInterface, FieldInterface } from './sales-orders.interface'; import { ConfigInterface } from './config.interface'; export interface ApproveRequestInterface { orderId?: string; agreements?: AgreementInterface[]; } export interface ApproveResponseInterface { order?: OrderInterface; } export interface DeclineRequestInterface { orderId?: string; declinedReason?: string; } export interface DeclineResponseInterface { order?: OrderInterface; } export interface GetConfigurationRequestInterface { orderId?: string; } export interface GetConfigurationResponseInterface { configuration?: ConfigInterface; } export interface GetOrderRecipientSessionRequestInterface { token?: string; } export interface GetOrderRecipientSessionResponseInterface { session?: string; } export interface GetRequestInterface { orderId?: string; } export interface GetResponseInterface { order?: OrderInterface; } export interface UpdateOrderFormAnswersRequestInterface { orderId?: string; customFields?: CustomFieldInterface[]; commonFields?: CommonFieldInterface[]; extraFields?: FieldInterface[]; } export interface UpdateOrderFormAnswersResponseInterface { order?: OrderInterface; }