diff --git a/apps/passport-server/src/services/generic-issuance/pipelines/CSVTicketPipeline/CSVTicketPipeline.ts b/apps/passport-server/src/services/generic-issuance/pipelines/CSVTicketPipeline/CSVTicketPipeline.ts index 4e22175935..a9079f4e01 100644 --- a/apps/passport-server/src/services/generic-issuance/pipelines/CSVTicketPipeline/CSVTicketPipeline.ts +++ b/apps/passport-server/src/services/generic-issuance/pipelines/CSVTicketPipeline/CSVTicketPipeline.ts @@ -321,7 +321,14 @@ export class CSVTicketPipeline implements BasePipeline { timestampConsumed: 0, timestampSigned: new Date().getTime(), isConsumed: false, - isRevoked: false + isRevoked: false, + imageUrl: this.definition.options.imageOptions?.imageUrl, + qrCodeOverrideImageUrl: + atom.imageUrl || + this.definition.options.imageOptions?.qrCodeOverrideImageUrl, + eventLocation: this.definition.options.imageOptions?.eventLocation, + eventStartDate: this.definition.options.imageOptions?.eventStartDate, + accentColor: this.definition.options.imageOptions?.accentColor }; const pcd = await EdDSATicketPCDPackage.prove({ @@ -368,7 +375,14 @@ export class CSVTicketPipeline implements BasePipeline { timestampConsumed: 0, timestampSigned: new Date().getTime(), isConsumed: false, - isRevoked: false + isRevoked: false, + imageUrl: this.definition.options.imageOptions?.imageUrl, + qrCodeOverrideImageUrl: + atom.imageUrl || + this.definition.options.imageOptions?.qrCodeOverrideImageUrl, + eventLocation: this.definition.options.imageOptions?.eventLocation, + eventStartDate: this.definition.options.imageOptions?.eventStartDate, + accentColor: this.definition.options.imageOptions?.accentColor }; const pcd = await PODTicketPCDPackage.prove({ diff --git a/packages/lib/passport-interface/src/genericIssuanceTypes.ts b/packages/lib/passport-interface/src/genericIssuanceTypes.ts index e9a834bf5b..3cefdc1d33 100644 --- a/packages/lib/passport-interface/src/genericIssuanceTypes.ts +++ b/packages/lib/passport-interface/src/genericIssuanceTypes.ts @@ -724,7 +724,8 @@ const CSVTicketPipelineOptionsSchema = BasePipelineOptionsSchema.extend({ feedOptions: FeedIssuanceOptionsSchema, pcdTypes: z.array(z.enum(["EdDSATicketPCD", "PODTicketPCD"])).min(1), issueToUnmatchedEmail: z.boolean().optional(), - semaphoreGroupName: z.string().optional() + semaphoreGroupName: z.string().optional(), + imageOptions: ImageOptionsSchema.optional() }); export type CSVTicketPipelineOptions = z.infer<