mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Add acme order id
This commit is contained in:
@@ -26,7 +26,8 @@ export const CertificateRequestsSchema = z.object({
|
||||
keyAlgorithm: z.string().nullable().optional(),
|
||||
signatureAlgorithm: z.string().nullable().optional(),
|
||||
errorMessage: z.string().nullable().optional(),
|
||||
metadata: z.string().nullable().optional()
|
||||
metadata: z.string().nullable().optional(),
|
||||
acmeOrderId: z.string().uuid().nullable().optional()
|
||||
});
|
||||
|
||||
export type TCertificateRequests = z.infer<typeof CertificateRequestsSchema>;
|
||||
|
||||
@@ -91,6 +91,7 @@ export const certificateRequestServiceFactory = ({
|
||||
permissionService
|
||||
}: TCertificateRequestServiceFactoryDep) => {
|
||||
const createCertificateRequest = async ({
|
||||
acmeOrderId,
|
||||
actor,
|
||||
actorId,
|
||||
actorAuthMethod,
|
||||
@@ -123,6 +124,7 @@ export const certificateRequestServiceFactory = ({
|
||||
{
|
||||
status,
|
||||
projectId,
|
||||
acmeOrderId,
|
||||
...validatedData
|
||||
},
|
||||
tx
|
||||
|
||||
@@ -21,6 +21,7 @@ export type TCreateCertificateRequestDTO = TProjectPermission & {
|
||||
metadata?: string;
|
||||
status: CertificateRequestStatus;
|
||||
certificateId?: string;
|
||||
acmeOrderId?: string;
|
||||
};
|
||||
|
||||
export type TGetCertificateRequestDTO = TProjectPermission & {
|
||||
|
||||
Reference in New Issue
Block a user