@oneblink/apps-react
    Preparing search index...

    Type Alias FormSubmissionResult

    FormSubmissionResult: FormSubmission & {
        attachmentsAccessToken?: string;
        downloadSubmissionPdfs?: {
            configuration: PDFConfiguration;
            id: string;
            url: string;
        }[];
        downloadSubmissionPdfUrl?: string;
        isInPendingQueue: boolean;
        isOffline: boolean;
        isUploadingAttachments: boolean;
        payment: | {
            amount: number;
            hostedFormUrl: string;
            paymentFormUrl: string
            | undefined;
            paymentReceiptUrl: string;
            submissionEvent: FormPaymentEvent;
        }
        | null;
        scheduling: | { bookingUrl: string; submissionEvent: FormSchedulingEvent }
        | null;
        submissionId: string | null;
        submissionTimestamp: string | null;
    }

    Type Declaration

    • OptionalattachmentsAccessToken?: string

      The access token to download post-submission attachment urls and metadata.

    • OptionaldownloadSubmissionPdfs?: { configuration: PDFConfiguration; id: string; url: string }[]
    • OptionaldownloadSubmissionPdfUrl?: string

      Only returned when legacy post submission download configuration is in use. For non legacy configured forms, use downloadSubmissionPdfs instead.

    • isInPendingQueue: boolean

      true if the submission was not submitted yet and was added to the pending queue

    • isOffline: boolean

      true if the submission was attempted offline

    • isUploadingAttachments: boolean

      True if the submission was attempted whilst attachments were uploading

    • payment:
          | {
              amount: number;
              hostedFormUrl: string;
              paymentFormUrl: string
              | undefined;
              paymentReceiptUrl: string;
              submissionEvent: FormPaymentEvent;
          }
          | null

      null if the form submission does not require a payment

    • scheduling: { bookingUrl: string; submissionEvent: FormSchedulingEvent } | null

      null if the form submission does not require a booking

    • submissionId: string | null

      The identifier that represents the submission. null if the form submission was unsuccessful

    • submissionTimestamp: string | null

      The timestamp the form was submitted, null if the form submission was unsuccessful