diff --git a/index.d.ts b/index.d.ts index a2b3294..7107b8b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -22,7 +22,6 @@ export * as SchedulingTypes from './typescript/scheduling' export * as CDNTypes from './typescript/cdn' export * as EmailTemplateTypes from './typescript/emailTemplates' export * as FreshdeskTypes from './typescript/freshdesk' -export * as PDFConversionTypes from './typescript/pdfConversion' export * as ScheduledTasksTypes from './typescript/scheduledTasks' export * as WorkspaceTypes from './typescript/workspaces' export * as APINSWTypes from './typescript/api-nsw' diff --git a/typescript/organisations.d.ts b/typescript/organisations.d.ts index 36775fc..a9b97a8 100644 --- a/typescript/organisations.d.ts +++ b/typescript/organisations.d.ts @@ -178,6 +178,7 @@ type AuditRecordType = | 'FormVersion' | 'FormSubmissionDraft' | 'PDFConversion' + | 'AIFormsBuilder' | 'FormKeyAssociation' | 'FormsAppMfaRequirement' | 'FormsAppEnvironmentSendingAddress' diff --git a/typescript/pdfConversion.ts b/typescript/pdfConversion.ts deleted file mode 100644 index efa071e..0000000 --- a/typescript/pdfConversion.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { FormElement } from './forms' - -export type BasePDFConversionJob = { - formId: number - jobId: string - s3Location: { - bucket: string - key: string - } -} -export type NewPDFConversionJob = BasePDFConversionJob & { - status: 'STARTED' -} - -export type SuccessfulPDFConversionJob = BasePDFConversionJob & { - status: 'SUCCEEDED' - formElements: FormElement[] -} - -export type FailedPDFConversionJob = BasePDFConversionJob & { - status: 'FAILED' - errorMessage: string -} - -export type PDFConversionJob = ( - | NewPDFConversionJob - | SuccessfulPDFConversionJob - | FailedPDFConversionJob -) & { - id: number - createdAt: string - updatedAt: string -}