From 45396ceb8a4a4a53d7993e028aa4a7713551c1a0 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Thu, 26 Mar 2026 16:02:12 +1100 Subject: [PATCH 1/2] AP-7797 # Removed pdf conversion types --- index.d.ts | 1 - typescript/pdfConversion.ts | 33 --------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 typescript/pdfConversion.ts diff --git a/index.d.ts b/index.d.ts index a2b32941..7107b8b1 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/pdfConversion.ts b/typescript/pdfConversion.ts deleted file mode 100644 index efa071e1..00000000 --- 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 -} From ecfa07e6a688ba9de7933bdc41be35f6103456af Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Thu, 26 Mar 2026 16:29:19 +1100 Subject: [PATCH 2/2] AP-7797 # Added AIFormsBuilder audit type --- typescript/organisations.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typescript/organisations.d.ts b/typescript/organisations.d.ts index 36775fcb..a9b97a85 100644 --- a/typescript/organisations.d.ts +++ b/typescript/organisations.d.ts @@ -178,6 +178,7 @@ type AuditRecordType = | 'FormVersion' | 'FormSubmissionDraft' | 'PDFConversion' + | 'AIFormsBuilder' | 'FormKeyAssociation' | 'FormsAppMfaRequirement' | 'FormsAppEnvironmentSendingAddress'