clarion-shared-types 1.0.28 → 1.0.30
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/cjs/modules/dms/enums/audio-processing-status.js +11 -0
- package/dist/cjs/modules/dms/enums/audio-processing-status.js.map +1 -0
- package/dist/cjs/modules/dms/enums/video-processing-status.js +11 -0
- package/dist/cjs/modules/dms/enums/video-processing-status.js.map +1 -0
- package/dist/cjs/modules/dms/index.js +16 -0
- package/dist/cjs/modules/dms/index.js.map +1 -1
- package/dist/cjs/modules/dms/interfaces/audio-file-metadata.js +3 -0
- package/dist/cjs/modules/dms/interfaces/audio-file-metadata.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/audio-file-upload-options.js +3 -0
- package/dist/cjs/modules/dms/interfaces/audio-file-upload-options.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/audio-file.js +3 -0
- package/dist/cjs/modules/dms/interfaces/audio-file.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/audio-files-by-user.js +3 -0
- package/dist/cjs/modules/dms/interfaces/audio-files-by-user.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/audio-files-user-storage-info.js +3 -0
- package/dist/cjs/modules/dms/interfaces/audio-files-user-storage-info.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/document-file-metadata.js +3 -0
- package/dist/cjs/modules/dms/interfaces/document-file-metadata.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/document-file-upload-options.js +3 -0
- package/dist/cjs/modules/dms/interfaces/document-file-upload-options.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/document-file.js +3 -0
- package/dist/cjs/modules/dms/interfaces/document-file.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/document-files-by-user.js +3 -0
- package/dist/cjs/modules/dms/interfaces/document-files-by-user.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/document-files-user-storage-info.js +3 -0
- package/dist/cjs/modules/dms/interfaces/document-files-user-storage-info.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/multi-file-upload.js +11 -0
- package/dist/cjs/modules/dms/interfaces/multi-file-upload.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/video-file-metadata.js +3 -0
- package/dist/cjs/modules/dms/interfaces/video-file-metadata.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/video-file-upload-options.js +3 -0
- package/dist/cjs/modules/dms/interfaces/video-file-upload-options.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/video-file.js +3 -0
- package/dist/cjs/modules/dms/interfaces/video-file.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/video-files-by-user.js +3 -0
- package/dist/cjs/modules/dms/interfaces/video-files-by-user.js.map +1 -0
- package/dist/cjs/modules/dms/interfaces/video-files-user-storage-info.js +3 -0
- package/dist/cjs/modules/dms/interfaces/video-files-user-storage-info.js.map +1 -0
- package/dist/esm/modules/dms/enums/audio-processing-status.js +8 -0
- package/dist/esm/modules/dms/enums/audio-processing-status.js.map +1 -0
- package/dist/esm/modules/dms/enums/video-processing-status.js +8 -0
- package/dist/esm/modules/dms/enums/video-processing-status.js.map +1 -0
- package/dist/esm/modules/dms/index.js +16 -0
- package/dist/esm/modules/dms/index.js.map +1 -1
- package/dist/esm/modules/dms/interfaces/audio-file-metadata.js +2 -0
- package/dist/esm/modules/dms/interfaces/audio-file-metadata.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/audio-file-upload-options.js +2 -0
- package/dist/esm/modules/dms/interfaces/audio-file-upload-options.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/audio-file.js +2 -0
- package/dist/esm/modules/dms/interfaces/audio-file.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/audio-files-by-user.js +2 -0
- package/dist/esm/modules/dms/interfaces/audio-files-by-user.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/audio-files-user-storage-info.js +2 -0
- package/dist/esm/modules/dms/interfaces/audio-files-user-storage-info.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/document-file-metadata.js +2 -0
- package/dist/esm/modules/dms/interfaces/document-file-metadata.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/document-file-upload-options.js +2 -0
- package/dist/esm/modules/dms/interfaces/document-file-upload-options.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/document-file.js +2 -0
- package/dist/esm/modules/dms/interfaces/document-file.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/document-files-by-user.js +2 -0
- package/dist/esm/modules/dms/interfaces/document-files-by-user.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/document-files-user-storage-info.js +2 -0
- package/dist/esm/modules/dms/interfaces/document-files-user-storage-info.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/multi-file-upload.js +8 -0
- package/dist/esm/modules/dms/interfaces/multi-file-upload.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/video-file-metadata.js +2 -0
- package/dist/esm/modules/dms/interfaces/video-file-metadata.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/video-file-upload-options.js +2 -0
- package/dist/esm/modules/dms/interfaces/video-file-upload-options.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/video-file.js +2 -0
- package/dist/esm/modules/dms/interfaces/video-file.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/video-files-by-user.js +2 -0
- package/dist/esm/modules/dms/interfaces/video-files-by-user.js.map +1 -0
- package/dist/esm/modules/dms/interfaces/video-files-user-storage-info.js +2 -0
- package/dist/esm/modules/dms/interfaces/video-files-user-storage-info.js.map +1 -0
- package/dist/types/modules/dms/enums/audio-processing-status.d.ts +6 -0
- package/dist/types/modules/dms/enums/video-processing-status.d.ts +6 -0
- package/dist/types/modules/dms/index.d.ts +16 -0
- package/dist/types/modules/dms/interfaces/audio-file-metadata.d.ts +23 -0
- package/dist/types/modules/dms/interfaces/audio-file-upload-options.d.ts +19 -0
- package/dist/types/modules/dms/interfaces/audio-file.d.ts +48 -0
- package/dist/types/modules/dms/interfaces/audio-files-by-user.d.ts +8 -0
- package/dist/types/modules/dms/interfaces/audio-files-user-storage-info.d.ts +7 -0
- package/dist/types/modules/dms/interfaces/document-file-metadata.d.ts +17 -0
- package/dist/types/modules/dms/interfaces/document-file-upload-options.d.ts +10 -0
- package/dist/types/modules/dms/interfaces/document-file.d.ts +25 -0
- package/dist/types/modules/dms/interfaces/document-files-by-user.d.ts +8 -0
- package/dist/types/modules/dms/interfaces/document-files-user-storage-info.d.ts +6 -0
- package/dist/types/modules/dms/interfaces/multi-file-upload.d.ts +35 -0
- package/dist/types/modules/dms/interfaces/video-file-metadata.d.ts +24 -0
- package/dist/types/modules/dms/interfaces/video-file-upload-options.d.ts +15 -0
- package/dist/types/modules/dms/interfaces/video-file.d.ts +46 -0
- package/dist/types/modules/dms/interfaces/video-files-by-user.d.ts +8 -0
- package/dist/types/modules/dms/interfaces/video-files-user-storage-info.d.ts +7 -0
- package/dist/types/modules/incident/intefaces/incident.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AudioProcessingStatus = void 0;
|
|
4
|
+
var AudioProcessingStatus;
|
|
5
|
+
(function (AudioProcessingStatus) {
|
|
6
|
+
AudioProcessingStatus["PENDING"] = "pending";
|
|
7
|
+
AudioProcessingStatus["PROCESSING"] = "processing";
|
|
8
|
+
AudioProcessingStatus["COMPLETED"] = "completed";
|
|
9
|
+
AudioProcessingStatus["FAILED"] = "failed";
|
|
10
|
+
})(AudioProcessingStatus || (exports.AudioProcessingStatus = AudioProcessingStatus = {}));
|
|
11
|
+
//# sourceMappingURL=audio-processing-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-processing-status.js","sourceRoot":"","sources":["../../../../../src/modules/dms/enums/audio-processing-status.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;AACrB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VideoProcessingStatus = void 0;
|
|
4
|
+
var VideoProcessingStatus;
|
|
5
|
+
(function (VideoProcessingStatus) {
|
|
6
|
+
VideoProcessingStatus["PENDING"] = "pending";
|
|
7
|
+
VideoProcessingStatus["PROCESSING"] = "processing";
|
|
8
|
+
VideoProcessingStatus["COMPLETED"] = "completed";
|
|
9
|
+
VideoProcessingStatus["FAILED"] = "failed";
|
|
10
|
+
})(VideoProcessingStatus || (exports.VideoProcessingStatus = VideoProcessingStatus = {}));
|
|
11
|
+
//# sourceMappingURL=video-processing-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-processing-status.js","sourceRoot":"","sources":["../../../../../src/modules/dms/enums/video-processing-status.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;AACrB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
|
|
@@ -20,6 +20,22 @@ __exportStar(require("./interfaces/image-file-upload-options"), exports);
|
|
|
20
20
|
__exportStar(require("./interfaces/image-file-metadata"), exports);
|
|
21
21
|
__exportStar(require("./interfaces/image-files-user-storage-info"), exports);
|
|
22
22
|
__exportStar(require("./interfaces/image-files-by-user"), exports);
|
|
23
|
+
__exportStar(require("./interfaces/document-file"), exports);
|
|
24
|
+
__exportStar(require("./interfaces/document-file-upload-options"), exports);
|
|
25
|
+
__exportStar(require("./interfaces/document-file-metadata"), exports);
|
|
26
|
+
__exportStar(require("./interfaces/document-files-user-storage-info"), exports);
|
|
27
|
+
__exportStar(require("./interfaces/document-files-by-user"), exports);
|
|
28
|
+
__exportStar(require("./interfaces/video-file"), exports);
|
|
29
|
+
__exportStar(require("./interfaces/video-file-upload-options"), exports);
|
|
30
|
+
__exportStar(require("./interfaces/video-file-metadata"), exports);
|
|
31
|
+
__exportStar(require("./interfaces/video-files-user-storage-info"), exports);
|
|
32
|
+
__exportStar(require("./interfaces/video-files-by-user"), exports);
|
|
33
|
+
__exportStar(require("./interfaces/audio-file"), exports);
|
|
34
|
+
__exportStar(require("./interfaces/audio-file-upload-options"), exports);
|
|
35
|
+
__exportStar(require("./interfaces/audio-file-metadata"), exports);
|
|
36
|
+
__exportStar(require("./interfaces/audio-files-user-storage-info"), exports);
|
|
37
|
+
__exportStar(require("./interfaces/audio-files-by-user"), exports);
|
|
38
|
+
__exportStar(require("./interfaces/multi-file-upload"), exports);
|
|
23
39
|
// Enums
|
|
24
40
|
__exportStar(require("./enums/file-status"), exports);
|
|
25
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/dms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,aAAa;AACb,0DAAwC;AACxC,yEAAuD;AACvD,mEAAiD;AACjD,6EAA2D;AAC3D,mEAAiD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/dms/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,aAAa;AACb,0DAAwC;AACxC,yEAAuD;AACvD,mEAAiD;AACjD,6EAA2D;AAC3D,mEAAiD;AACjD,6DAA2C;AAC3C,4EAA0D;AAC1D,sEAAoD;AACpD,gFAA8D;AAC9D,sEAAoD;AACpD,0DAAwC;AACxC,yEAAuD;AACvD,mEAAiD;AACjD,6EAA2D;AAC3D,mEAAiD;AACjD,0DAAwC;AACxC,yEAAuD;AACvD,mEAAiD;AACjD,6EAA2D;AAC3D,mEAAiD;AACjD,iEAA+C;AAE/C,QAAQ;AACR,sDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-file-metadata.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-file-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-file-upload-options.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-file-upload-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-file.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-file.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-files-by-user.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-files-by-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-files-user-storage-info.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-files-user-storage-info.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-file-metadata.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-file-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-file-upload-options.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-file-upload-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-file.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-file.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-files-by-user.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-files-by-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-files-user-storage-info.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-files-user-storage-info.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileType = void 0;
|
|
4
|
+
var FileType;
|
|
5
|
+
(function (FileType) {
|
|
6
|
+
FileType["IMAGE"] = "image";
|
|
7
|
+
FileType["DOCUMENT"] = "document";
|
|
8
|
+
FileType["VIDEO"] = "video";
|
|
9
|
+
FileType["AUDIO"] = "audio";
|
|
10
|
+
})(FileType || (exports.FileType = FileType = {}));
|
|
11
|
+
//# sourceMappingURL=multi-file-upload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multi-file-upload.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/multi-file-upload.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,2BAAe,CAAA;AACnB,CAAC,EALW,QAAQ,wBAAR,QAAQ,QAKnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-file-metadata.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-file-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-file-upload-options.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-file-upload-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-file.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-file.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-files-by-user.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-files-by-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-files-user-storage-info.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-files-user-storage-info.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var AudioProcessingStatus;
|
|
2
|
+
(function (AudioProcessingStatus) {
|
|
3
|
+
AudioProcessingStatus["PENDING"] = "pending";
|
|
4
|
+
AudioProcessingStatus["PROCESSING"] = "processing";
|
|
5
|
+
AudioProcessingStatus["COMPLETED"] = "completed";
|
|
6
|
+
AudioProcessingStatus["FAILED"] = "failed";
|
|
7
|
+
})(AudioProcessingStatus || (AudioProcessingStatus = {}));
|
|
8
|
+
//# sourceMappingURL=audio-processing-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-processing-status.js","sourceRoot":"","sources":["../../../../../src/modules/dms/enums/audio-processing-status.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;AACrB,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var VideoProcessingStatus;
|
|
2
|
+
(function (VideoProcessingStatus) {
|
|
3
|
+
VideoProcessingStatus["PENDING"] = "pending";
|
|
4
|
+
VideoProcessingStatus["PROCESSING"] = "processing";
|
|
5
|
+
VideoProcessingStatus["COMPLETED"] = "completed";
|
|
6
|
+
VideoProcessingStatus["FAILED"] = "failed";
|
|
7
|
+
})(VideoProcessingStatus || (VideoProcessingStatus = {}));
|
|
8
|
+
//# sourceMappingURL=video-processing-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-processing-status.js","sourceRoot":"","sources":["../../../../../src/modules/dms/enums/video-processing-status.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,gDAAuB,CAAA;IACvB,0CAAiB,CAAA;AACrB,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC"}
|
|
@@ -4,6 +4,22 @@ export * from './interfaces/image-file-upload-options';
|
|
|
4
4
|
export * from './interfaces/image-file-metadata';
|
|
5
5
|
export * from './interfaces/image-files-user-storage-info';
|
|
6
6
|
export * from './interfaces/image-files-by-user';
|
|
7
|
+
export * from './interfaces/document-file';
|
|
8
|
+
export * from './interfaces/document-file-upload-options';
|
|
9
|
+
export * from './interfaces/document-file-metadata';
|
|
10
|
+
export * from './interfaces/document-files-user-storage-info';
|
|
11
|
+
export * from './interfaces/document-files-by-user';
|
|
12
|
+
export * from './interfaces/video-file';
|
|
13
|
+
export * from './interfaces/video-file-upload-options';
|
|
14
|
+
export * from './interfaces/video-file-metadata';
|
|
15
|
+
export * from './interfaces/video-files-user-storage-info';
|
|
16
|
+
export * from './interfaces/video-files-by-user';
|
|
17
|
+
export * from './interfaces/audio-file';
|
|
18
|
+
export * from './interfaces/audio-file-upload-options';
|
|
19
|
+
export * from './interfaces/audio-file-metadata';
|
|
20
|
+
export * from './interfaces/audio-files-user-storage-info';
|
|
21
|
+
export * from './interfaces/audio-files-by-user';
|
|
22
|
+
export * from './interfaces/multi-file-upload';
|
|
7
23
|
// Enums
|
|
8
24
|
export * from './enums/file-status';
|
|
9
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/dms/index.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/dms/index.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAE/C,QAAQ;AACR,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-file-metadata.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-file-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-file-upload-options.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-file-upload-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-file.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-file.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-files-by-user.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-files-by-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio-files-user-storage-info.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/audio-files-user-storage-info.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-file-metadata.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-file-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-file-upload-options.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-file-upload-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-file.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-file.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-files-by-user.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-files-by-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-files-user-storage-info.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/document-files-user-storage-info.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"multi-file-upload.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/multi-file-upload.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAKX;AALD,WAAY,QAAQ;IAChB,2BAAe,CAAA;IACf,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,2BAAe,CAAA;AACnB,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-file-metadata.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-file-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-file-upload-options.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-file-upload-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-file.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-file.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-files-by-user.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-files-by-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-files-user-storage-info.js","sourceRoot":"","sources":["../../../../../src/modules/dms/interfaces/video-files-user-storage-info.ts"],"names":[],"mappings":""}
|
|
@@ -3,4 +3,20 @@ export * from './interfaces/image-file-upload-options';
|
|
|
3
3
|
export * from './interfaces/image-file-metadata';
|
|
4
4
|
export * from './interfaces/image-files-user-storage-info';
|
|
5
5
|
export * from './interfaces/image-files-by-user';
|
|
6
|
+
export * from './interfaces/document-file';
|
|
7
|
+
export * from './interfaces/document-file-upload-options';
|
|
8
|
+
export * from './interfaces/document-file-metadata';
|
|
9
|
+
export * from './interfaces/document-files-user-storage-info';
|
|
10
|
+
export * from './interfaces/document-files-by-user';
|
|
11
|
+
export * from './interfaces/video-file';
|
|
12
|
+
export * from './interfaces/video-file-upload-options';
|
|
13
|
+
export * from './interfaces/video-file-metadata';
|
|
14
|
+
export * from './interfaces/video-files-user-storage-info';
|
|
15
|
+
export * from './interfaces/video-files-by-user';
|
|
16
|
+
export * from './interfaces/audio-file';
|
|
17
|
+
export * from './interfaces/audio-file-upload-options';
|
|
18
|
+
export * from './interfaces/audio-file-metadata';
|
|
19
|
+
export * from './interfaces/audio-files-user-storage-info';
|
|
20
|
+
export * from './interfaces/audio-files-by-user';
|
|
21
|
+
export * from './interfaces/multi-file-upload';
|
|
6
22
|
export * from './enums/file-status';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface AudioFileMetadata {
|
|
2
|
+
duration?: number;
|
|
3
|
+
bitrate?: number;
|
|
4
|
+
sampleRate?: number;
|
|
5
|
+
channels?: number;
|
|
6
|
+
format?: string;
|
|
7
|
+
codec?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
artist?: string;
|
|
10
|
+
album?: string;
|
|
11
|
+
genre?: string;
|
|
12
|
+
year?: number;
|
|
13
|
+
track?: number;
|
|
14
|
+
disc?: number;
|
|
15
|
+
composer?: string;
|
|
16
|
+
albumArtist?: string;
|
|
17
|
+
lyrics?: string;
|
|
18
|
+
bpm?: number;
|
|
19
|
+
key?: string;
|
|
20
|
+
isStreamable?: boolean;
|
|
21
|
+
hasLyrics?: boolean;
|
|
22
|
+
hasCoverArt?: boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface AudioFileUploadOptions {
|
|
2
|
+
folder?: string;
|
|
3
|
+
maxSizeInMB?: number;
|
|
4
|
+
allowedMimeTypes?: string[];
|
|
5
|
+
isPublic?: boolean;
|
|
6
|
+
tags?: string[];
|
|
7
|
+
title?: string;
|
|
8
|
+
artist?: string;
|
|
9
|
+
album?: string;
|
|
10
|
+
genre?: string;
|
|
11
|
+
year?: number;
|
|
12
|
+
description?: string;
|
|
13
|
+
generateWaveform?: boolean;
|
|
14
|
+
extractCoverArt?: boolean;
|
|
15
|
+
enableTranscoding?: boolean;
|
|
16
|
+
targetQualities?: ('high' | 'medium' | 'low')[];
|
|
17
|
+
enableStreaming?: boolean;
|
|
18
|
+
preserveOriginalName?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { AudioProcessingStatus } from "../enums/audio-processing-status";
|
|
2
|
+
import { FileStatus } from "../enums/file-status";
|
|
3
|
+
export interface AudioFile {
|
|
4
|
+
id: number;
|
|
5
|
+
fileName: string;
|
|
6
|
+
originalFileName: string;
|
|
7
|
+
url: string;
|
|
8
|
+
waveformUrl?: string;
|
|
9
|
+
coverArtUrl?: string;
|
|
10
|
+
mimeType: string;
|
|
11
|
+
size: number;
|
|
12
|
+
originalSize: number;
|
|
13
|
+
duration?: number;
|
|
14
|
+
bitrate?: number;
|
|
15
|
+
sampleRate?: number;
|
|
16
|
+
channels?: number;
|
|
17
|
+
format?: string;
|
|
18
|
+
codec?: string;
|
|
19
|
+
status: FileStatus;
|
|
20
|
+
title?: string;
|
|
21
|
+
artist?: string;
|
|
22
|
+
album?: string;
|
|
23
|
+
genre?: string;
|
|
24
|
+
year?: number;
|
|
25
|
+
description?: string;
|
|
26
|
+
tags?: string[];
|
|
27
|
+
metadata?: Record<string, any>;
|
|
28
|
+
userId: number;
|
|
29
|
+
folder?: string;
|
|
30
|
+
cdnUrl?: string;
|
|
31
|
+
streamingUrl?: string;
|
|
32
|
+
lastAccessedAt?: Date;
|
|
33
|
+
accessCount: number;
|
|
34
|
+
isPublic: boolean;
|
|
35
|
+
processingStatus?: AudioProcessingStatus;
|
|
36
|
+
qualityVariants?: AudioQualityVariant[];
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
updatedAt: Date;
|
|
39
|
+
deletedAt?: Date;
|
|
40
|
+
signedUrl?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface AudioQualityVariant {
|
|
43
|
+
quality: 'high' | 'medium' | 'low';
|
|
44
|
+
bitrate: number;
|
|
45
|
+
url: string;
|
|
46
|
+
size: number;
|
|
47
|
+
format: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface DocumentFileMetadata {
|
|
2
|
+
pageCount?: number;
|
|
3
|
+
wordCount?: number;
|
|
4
|
+
author?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
subject?: string;
|
|
7
|
+
creator?: string;
|
|
8
|
+
producer?: string;
|
|
9
|
+
creationDate?: string;
|
|
10
|
+
modificationDate?: string;
|
|
11
|
+
language?: string;
|
|
12
|
+
version?: string;
|
|
13
|
+
hasPassword?: boolean;
|
|
14
|
+
isEncrypted?: boolean;
|
|
15
|
+
fileType: string;
|
|
16
|
+
encoding?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FileStatus } from "../enums/file-status";
|
|
2
|
+
export interface DocumentFile {
|
|
3
|
+
id: number;
|
|
4
|
+
fileName: string;
|
|
5
|
+
originalFileName: string;
|
|
6
|
+
url: string;
|
|
7
|
+
mimeType: string;
|
|
8
|
+
size: number;
|
|
9
|
+
originalSize: number;
|
|
10
|
+
fileExtension: string;
|
|
11
|
+
status: FileStatus;
|
|
12
|
+
description?: string;
|
|
13
|
+
tags?: string[];
|
|
14
|
+
metadata?: Record<string, any>;
|
|
15
|
+
userId: number;
|
|
16
|
+
folder?: string;
|
|
17
|
+
cdnUrl?: string;
|
|
18
|
+
lastAccessedAt?: Date;
|
|
19
|
+
accessCount: number;
|
|
20
|
+
isPublic: boolean;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
deletedAt?: Date;
|
|
24
|
+
signedUrl?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare enum FileType {
|
|
2
|
+
IMAGE = "image",
|
|
3
|
+
DOCUMENT = "document",
|
|
4
|
+
VIDEO = "video",
|
|
5
|
+
AUDIO = "audio"
|
|
6
|
+
}
|
|
7
|
+
export interface FileUploadRequest {
|
|
8
|
+
file: any;
|
|
9
|
+
type: FileType;
|
|
10
|
+
options?: any;
|
|
11
|
+
}
|
|
12
|
+
export interface MultiFileUploadResult {
|
|
13
|
+
success: boolean;
|
|
14
|
+
results: FileUploadItemResult[];
|
|
15
|
+
totalProcessed: number;
|
|
16
|
+
totalSuccessful: number;
|
|
17
|
+
totalFailed: number;
|
|
18
|
+
errors?: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface FileUploadItemResult {
|
|
21
|
+
filename: string;
|
|
22
|
+
type: FileType;
|
|
23
|
+
success: boolean;
|
|
24
|
+
fileId?: string;
|
|
25
|
+
size?: number;
|
|
26
|
+
error?: string;
|
|
27
|
+
data?: any;
|
|
28
|
+
}
|
|
29
|
+
export interface MultiFileUploadOptions {
|
|
30
|
+
userId: string;
|
|
31
|
+
organizationId: string;
|
|
32
|
+
tags?: string[];
|
|
33
|
+
description?: string;
|
|
34
|
+
isPublic?: boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface VideoChapter {
|
|
2
|
+
title: string;
|
|
3
|
+
startTime: number;
|
|
4
|
+
endTime: number;
|
|
5
|
+
}
|
|
6
|
+
export interface VideoFileMetadata {
|
|
7
|
+
duration?: number;
|
|
8
|
+
width?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
frameRate?: number;
|
|
11
|
+
bitrate?: number;
|
|
12
|
+
format?: string;
|
|
13
|
+
codec?: string;
|
|
14
|
+
audioCodec?: string;
|
|
15
|
+
audioChannels?: number;
|
|
16
|
+
audioSampleRate?: number;
|
|
17
|
+
aspectRatio?: string;
|
|
18
|
+
rotation?: number;
|
|
19
|
+
hasAudio?: boolean;
|
|
20
|
+
hasVideo?: boolean;
|
|
21
|
+
isStreamable?: boolean;
|
|
22
|
+
chapters?: VideoChapter[];
|
|
23
|
+
thumbnailTimestamp?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface VideoFileUploadOptions {
|
|
2
|
+
folder?: string;
|
|
3
|
+
maxSizeInMB?: number;
|
|
4
|
+
allowedMimeTypes?: string[];
|
|
5
|
+
isPublic?: boolean;
|
|
6
|
+
tags?: string[];
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
generateThumbnail?: boolean;
|
|
10
|
+
generatePreview?: boolean;
|
|
11
|
+
enableTranscoding?: boolean;
|
|
12
|
+
targetQualities?: ('1080p' | '720p' | '480p' | '360p' | '240p')[];
|
|
13
|
+
enableStreaming?: boolean;
|
|
14
|
+
preserveOriginalName?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FileStatus } from "../enums/file-status";
|
|
2
|
+
import { VideoProcessingStatus } from "../enums/video-processing-status";
|
|
3
|
+
export interface VideoFile {
|
|
4
|
+
id: number;
|
|
5
|
+
fileName: string;
|
|
6
|
+
originalFileName: string;
|
|
7
|
+
url: string;
|
|
8
|
+
thumbnailUrl?: string;
|
|
9
|
+
previewUrl?: string;
|
|
10
|
+
mimeType: string;
|
|
11
|
+
size: number;
|
|
12
|
+
originalSize: number;
|
|
13
|
+
duration?: number;
|
|
14
|
+
width?: number;
|
|
15
|
+
height?: number;
|
|
16
|
+
frameRate?: number;
|
|
17
|
+
bitrate?: number;
|
|
18
|
+
format?: string;
|
|
19
|
+
codec?: string;
|
|
20
|
+
status: FileStatus;
|
|
21
|
+
title?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
tags?: string[];
|
|
24
|
+
metadata?: Record<string, any>;
|
|
25
|
+
userId: number;
|
|
26
|
+
folder?: string;
|
|
27
|
+
cdnUrl?: string;
|
|
28
|
+
streamingUrl?: string;
|
|
29
|
+
lastAccessedAt?: Date;
|
|
30
|
+
accessCount: number;
|
|
31
|
+
isPublic: boolean;
|
|
32
|
+
processingStatus?: VideoProcessingStatus;
|
|
33
|
+
qualityVariants?: VideoQualityVariant[];
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
updatedAt: Date;
|
|
36
|
+
deletedAt?: Date;
|
|
37
|
+
signedUrl?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface VideoQualityVariant {
|
|
40
|
+
quality: '1080p' | '720p' | '480p' | '360p' | '240p';
|
|
41
|
+
url: string;
|
|
42
|
+
size: number;
|
|
43
|
+
bitrate: number;
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
}
|