@airporting/integrations-app 0.4.127 → 0.4.129
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.
- package/dist/mf/2070.css +73 -73
- package/dist/mf/5741.js +1 -1
- package/dist/mf/@mf-types/compiled-types/api/fec-imports/fecImportMutations.d.ts +9 -2
- package/dist/mf/@mf-types/compiled-types/api/fec-imports/types.d.ts +7 -0
- package/dist/mf/@mf-types/compiled-types/api/useApiSynchro.d.ts +2 -0
- package/dist/mf/@mf-types.zip +0 -0
- package/dist/mf/__federation_expose_synchronisation.js +1 -1
- package/dist/mf/index.js +3 -3
- package/dist/mf/integrations_app.js +3 -3
- package/dist/mf/mf-manifest.json +2 -2
- package/dist/mf/mf-stats.json +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
import { FecImportDetail, FecImportSummary } from './types.ts';
|
|
1
|
+
import { FecImportDetail, FecImportSummary, FileImportMapping } from './types.ts';
|
|
2
2
|
export declare function useFecImportUploadMutation(): import("@tanstack/react-query").UseMutationResult<FecImportDetail, Error, File, unknown>;
|
|
3
|
-
export declare function useFecImportMappingMutation(importId: string | null): import("@tanstack/react-query").UseMutationResult<FecImportDetail, Error,
|
|
3
|
+
export declare function useFecImportMappingMutation(importId: string | null): import("@tanstack/react-query").UseMutationResult<FecImportDetail, Error, {
|
|
4
|
+
mapping: FileImportMapping;
|
|
5
|
+
hasHeader: boolean;
|
|
6
|
+
}, unknown>;
|
|
4
7
|
export declare function useFecImportCommitMutation(): import("@tanstack/react-query").UseMutationResult<FecImportSummary, Error, string, unknown>;
|
|
5
8
|
export declare function useFecImportDeleteMutation(): import("@tanstack/react-query").UseMutationResult<FecImportSummary, Error, string, unknown>;
|
|
9
|
+
export declare function useFecImportDownload(): import("@tanstack/react-query").UseMutationResult<void, Error, {
|
|
10
|
+
id: string;
|
|
11
|
+
file_name: string;
|
|
12
|
+
}, unknown>;
|
|
@@ -16,10 +16,13 @@ export type FecImportSummary = {
|
|
|
16
16
|
source_format: FileImportSourceFormat;
|
|
17
17
|
source_sheet_name: string | null;
|
|
18
18
|
source_columns: string[];
|
|
19
|
+
has_header: boolean;
|
|
20
|
+
header_values: string[];
|
|
19
21
|
mapping: FileImportMapping | null;
|
|
20
22
|
file_name: string;
|
|
21
23
|
file_checksum: string;
|
|
22
24
|
file_size_bytes: number;
|
|
25
|
+
has_raw_file: boolean;
|
|
23
26
|
encoding: string | null;
|
|
24
27
|
period_start: string | null;
|
|
25
28
|
period_end: string | null;
|
|
@@ -51,3 +54,7 @@ export type FecImportStagingLine = {
|
|
|
51
54
|
export type FecImportDetail = FecImportSummary & {
|
|
52
55
|
rows: FecImportStagingLine[];
|
|
53
56
|
};
|
|
57
|
+
export type PresignUploadResponse = {
|
|
58
|
+
uploadUrl: string;
|
|
59
|
+
objectKey: string;
|
|
60
|
+
};
|
|
@@ -4,4 +4,6 @@ export declare function useApiSynchro(): {
|
|
|
4
4
|
postForm: (path: string, body: FormData) => Promise<any>;
|
|
5
5
|
put: (path: string, body?: unknown) => Promise<any>;
|
|
6
6
|
delete: (path: string) => Promise<any>;
|
|
7
|
+
putToUrl: (url: string, body: Blob | File, contentType: string) => Promise<void>;
|
|
8
|
+
getBlob: (path: string) => Promise<Blob>;
|
|
7
9
|
};
|
package/dist/mf/@mf-types.zip
CHANGED
|
Binary file
|