|
|
@@ -12,6 +12,7 @@ import type {
|
|
|
export type PdfCtrlSyncJobStatus202Status = typeof PdfCtrlSyncJobStatus202Status[keyof typeof PdfCtrlSyncJobStatus202Status];
|
|
|
|
|
|
|
|
|
+// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
|
export const PdfCtrlSyncJobStatus202Status = {
|
|
|
HTML_EXPORT_IN_PROGRESS: 'HTML_EXPORT_IN_PROGRESS',
|
|
|
HTML_EXPORT_DONE: 'HTML_EXPORT_DONE',
|
|
|
@@ -29,6 +30,7 @@ export type PdfCtrlSyncJobStatus202 = {
|
|
|
export type PdfCtrlSyncJobStatusBodyStatus = typeof PdfCtrlSyncJobStatusBodyStatus[keyof typeof PdfCtrlSyncJobStatusBodyStatus];
|
|
|
|
|
|
|
|
|
+// eslint-disable-next-line @typescript-eslint/no-redeclare
|
|
|
export const PdfCtrlSyncJobStatusBodyStatus = {
|
|
|
HTML_EXPORT_IN_PROGRESS: 'HTML_EXPORT_IN_PROGRESS',
|
|
|
HTML_EXPORT_DONE: 'HTML_EXPORT_DONE',
|
|
|
@@ -83,11 +85,11 @@ export interface InternalServerError {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- *
|
|
|
+ *
|
|
|
Sync job pdf convert status with GROWI.
|
|
|
Register or update job inside pdf-converter with given jobId, expirationDate, and status.
|
|
|
Return resulting status of job to GROWI.
|
|
|
-
|
|
|
+
|
|
|
*/
|
|
|
export const pdfCtrlSyncJobStatus = <TData = AxiosResponse<PdfCtrlSyncJobStatus202>>(
|
|
|
pdfCtrlSyncJobStatusBody: PdfCtrlSyncJobStatusBody, options?: AxiosRequestConfig
|