@dentira/dentira-bulk-upload-widget 0.0.603 → 0.0.605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ import { BulkUploadConfig, JobType } from "../types";
2
+ export declare const useAcknowledgeJob: (setSelectedJob: React.Dispatch<React.SetStateAction<JobType | null>>, config: BulkUploadConfig) => {
3
+ acknowledgeJob: (id: string | undefined) => Promise<void>;
4
+ acknowledgingJob: boolean;
5
+ acknowledgeJobApiError: any;
6
+ };
@@ -116,7 +116,9 @@ export type sessionType = {
116
116
  };
117
117
  export type DownloadTemplateConfigType = {
118
118
  hasDynamicTemplate?: boolean;
119
- downloadRequestPayload?: Record<any, any>;
119
+ downloadRequestPayload?: Record<any, any> & {
120
+ request_id?: string;
121
+ };
120
122
  showDownloadButton?: boolean;
121
123
  downloadButtonLabel?: string;
122
124
  };
@@ -13,3 +13,4 @@ export declare const EXCEL = "EXCEL";
13
13
  export declare const CSV = "CSV";
14
14
  export declare const CENTER = "center";
15
15
  export declare const ANIMATIONBASE = "https://s3.us-west-1.amazonaws.com/dentira.com/ui/icons";
16
+ export declare const INCORRECT_USE_ERROR_MESSAGE = "useDialog must be used within a DialogProvider";
@@ -1,4 +1,4 @@
1
- export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"loadingJobs" | "listItemText" | "highlightedWord" | "listSubheader" | "uploadingErrorContainer" | "statusCheckingScreen" | "downloadingTemplateScreen" | "errorOutlineIcon" | "fileUploadContainer" | "fileUploadAnimation" | "bodyText" | "doneAllIcon" | "@keyframes scaleup">;
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"loadingJobs" | "ListItem" | "listItemText" | "highlightedWord" | "listSubheader" | "uploadingErrorContainer" | "statusCheckingScreen" | "downloadingTemplateScreen" | "errorOutlineIcon" | "fileUploadContainer" | "fileUploadAnimation" | "bodyText" | "doneAllIcon" | "@keyframes scaleup">;
2
2
  interface TitleContainerProps {
3
3
  hasDynamicTemplate?: boolean;
4
4
  }