@r2wa-org/eden 0.0.112 → 0.0.113
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/admin/index.d.ts +261 -3
- package/dist/asset-price/user/router.d.ts +1 -13
- package/dist/auth/better-auth.d.ts +7 -1
- package/dist/auth/permissions.d.ts +6 -1
- package/dist/auth/roles.d.ts +15 -0
- package/dist/content-video/internal/service.d.ts +2 -2
- package/dist/db/schemas.d.ts +1 -0
- package/dist/deposit/user/router.d.ts +13 -1
- package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
- package/dist/file-storage/admin/router.d.ts +2 -2
- package/dist/file-storage/admin/service.d.ts +2 -2
- package/dist/file-storage/db.schemas.d.ts +4 -4
- package/dist/file-storage/internal/service.d.ts +1 -1
- package/dist/file-storage/s3.client.d.ts +12 -0
- package/dist/file-storage/schema.d.ts +3 -3
- package/dist/file-storage/share/dto.schemas.d.ts +1 -0
- package/dist/file-storage/share/router.d.ts +1 -1
- package/dist/file-storage/user/dto.schemas.d.ts +6 -4
- package/dist/file-storage/user/router.d.ts +3 -3
- package/dist/file-storage/user/service.d.ts +2 -2
- package/dist/index.d.ts +481 -7
- package/dist/ledger/admin/router.d.ts +13 -1
- package/dist/live-stream-video/internal/service.d.ts +2 -2
- package/dist/meeting-check-in/admin/import.dto.schemas.d.ts +660 -0
- package/dist/meeting-check-in/admin/import.router.d.ts +711 -0
- package/dist/meeting-check-in/admin/import.service.d.ts +101 -0
- package/dist/meeting-check-in/admin/router.d.ts +259 -13
- package/dist/meeting-check-in/constants.d.ts +4 -0
- package/dist/meeting-check-in/errors/index.d.ts +6 -0
- package/dist/meeting-check-in/errors/locales/zh.d.ts +6 -0
- package/dist/meeting-check-in/import.db.schemas.d.ts +1132 -0
- package/dist/meeting-check-in/import.schema.d.ts +589 -0
- package/dist/meeting-check-in/index.d.ts +18 -0
- package/dist/meeting-check-in/internal/check-in.service.d.ts +33 -0
- package/dist/meeting-check-in/internal/import.service.d.ts +22 -0
- package/dist/meeting-check-in/internal/reward.service.d.ts +72 -0
- package/dist/meeting-check-in/permissions.d.ts +1 -0
- package/dist/meeting-check-in/user/check-in.dto.schemas.d.ts +337 -0
- package/dist/meeting-check-in/user/check-in.service.d.ts +31 -0
- package/dist/meeting-check-in/user/reward.dto.schemas.d.ts +136 -0
- package/dist/meeting-check-in/user/reward.service.d.ts +62 -0
- package/dist/meeting-check-in/user/router.d.ts +1596 -0
- package/dist/meeting-check-in/worker.d.ts +1 -0
- package/dist/news/admin/router.d.ts +1 -1
- package/dist/news/admin/service.d.ts +1 -1
- package/dist/news/user/service.d.ts +2 -2
- package/dist/trade-market/user/router.d.ts +1 -13
- package/dist/user-kyc/admin/router.d.ts +13 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare const listAdminFilesFilterSchema: import("@sinclair/typebox").TOb
|
|
|
10
10
|
kyc_document: "kyc_document";
|
|
11
11
|
ledger_account_import: "ledger_account_import";
|
|
12
12
|
live_stream_video: "live_stream_video";
|
|
13
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
13
14
|
news_attachment: "news_attachment";
|
|
14
15
|
notification_attachment: "notification_attachment";
|
|
15
16
|
other: "other";
|
|
@@ -46,6 +47,7 @@ export declare const listAdminFilesQuerySchema: import("@sinclair/typebox").TObj
|
|
|
46
47
|
kyc_document: "kyc_document";
|
|
47
48
|
ledger_account_import: "ledger_account_import";
|
|
48
49
|
live_stream_video: "live_stream_video";
|
|
50
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
49
51
|
news_attachment: "news_attachment";
|
|
50
52
|
notification_attachment: "notification_attachment";
|
|
51
53
|
other: "other";
|
|
@@ -86,6 +88,7 @@ export declare const fileStorageWithRelationsSchema: import("@sinclair/typebox")
|
|
|
86
88
|
kyc_document: "kyc_document";
|
|
87
89
|
ledger_account_import: "ledger_account_import";
|
|
88
90
|
live_stream_video: "live_stream_video";
|
|
91
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
89
92
|
news_attachment: "news_attachment";
|
|
90
93
|
notification_attachment: "notification_attachment";
|
|
91
94
|
other: "other";
|
|
@@ -153,6 +156,7 @@ export declare const listAdminFilesResponseSchema: import("@sinclair/typebox").T
|
|
|
153
156
|
kyc_document: "kyc_document";
|
|
154
157
|
ledger_account_import: "ledger_account_import";
|
|
155
158
|
live_stream_video: "live_stream_video";
|
|
159
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
156
160
|
news_attachment: "news_attachment";
|
|
157
161
|
notification_attachment: "notification_attachment";
|
|
158
162
|
other: "other";
|
|
@@ -417,7 +417,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
|
|
|
417
417
|
offset?: number | undefined;
|
|
418
418
|
pageSize?: number | undefined;
|
|
419
419
|
pageIndex?: number | undefined;
|
|
420
|
-
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
420
|
+
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
421
421
|
businessId?: string | undefined;
|
|
422
422
|
status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
|
|
423
423
|
accessControl?: "private" | "public" | "restricted" | null | undefined;
|
|
@@ -431,7 +431,7 @@ export declare const fileStorageAdminRouter: Elysia<"/file_storage", {
|
|
|
431
431
|
archivedAt: Date | null;
|
|
432
432
|
businessId: string | null;
|
|
433
433
|
businessMetadata: string | null;
|
|
434
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
434
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
435
435
|
createdAt: Date;
|
|
436
436
|
deletedAt: Date | null;
|
|
437
437
|
downloadCount: number | null;
|
|
@@ -15,7 +15,7 @@ export declare abstract class AdminFileStorageService extends BaseFileStorageSer
|
|
|
15
15
|
s3Key: string;
|
|
16
16
|
s3Region: string;
|
|
17
17
|
s3ETag: string | null;
|
|
18
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
18
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
19
19
|
businessId: string | null;
|
|
20
20
|
businessMetadata: string | null;
|
|
21
21
|
ownerId: string;
|
|
@@ -39,7 +39,7 @@ export declare abstract class AdminFileStorageService extends BaseFileStorageSer
|
|
|
39
39
|
archivedAt: Date | null;
|
|
40
40
|
businessId: string | null;
|
|
41
41
|
businessMetadata: string | null;
|
|
42
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
42
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
43
43
|
createdAt: Date;
|
|
44
44
|
deletedAt: Date | null;
|
|
45
45
|
downloadCount: number | null;
|
|
@@ -225,14 +225,14 @@ export declare const fileStorageSelectSchema: import("drizzle-typebox").BuildSch
|
|
|
225
225
|
tableName: "file_storage";
|
|
226
226
|
dataType: "string";
|
|
227
227
|
columnType: "PgEnumColumn";
|
|
228
|
-
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
228
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
229
229
|
driverParam: string;
|
|
230
230
|
notNull: true;
|
|
231
231
|
hasDefault: false;
|
|
232
232
|
isPrimaryKey: false;
|
|
233
233
|
isAutoincrement: false;
|
|
234
234
|
hasRuntimeDefault: false;
|
|
235
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
235
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
236
236
|
baseColumn: never;
|
|
237
237
|
identity: undefined;
|
|
238
238
|
generated: undefined;
|
|
@@ -738,14 +738,14 @@ export declare const fileStorageInsertSchema: import("drizzle-typebox").BuildSch
|
|
|
738
738
|
tableName: "file_storage";
|
|
739
739
|
dataType: "string";
|
|
740
740
|
columnType: "PgEnumColumn";
|
|
741
|
-
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
741
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
742
742
|
driverParam: string;
|
|
743
743
|
notNull: true;
|
|
744
744
|
hasDefault: false;
|
|
745
745
|
isPrimaryKey: false;
|
|
746
746
|
isAutoincrement: false;
|
|
747
747
|
hasRuntimeDefault: false;
|
|
748
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
748
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
749
749
|
baseColumn: never;
|
|
750
750
|
identity: undefined;
|
|
751
751
|
generated: undefined;
|
|
@@ -33,7 +33,7 @@ export declare abstract class InternalFileStorageService extends BaseFileStorage
|
|
|
33
33
|
s3Key: string;
|
|
34
34
|
s3Region: string;
|
|
35
35
|
s3ETag: string | null;
|
|
36
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
36
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
37
37
|
businessId: string | null;
|
|
38
38
|
businessMetadata: string | null;
|
|
39
39
|
ownerId: string;
|
|
@@ -140,6 +140,12 @@ export declare const BUSINESS_TYPE_CONFIG: {
|
|
|
140
140
|
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
|
|
141
141
|
readonly description: '\u7528\u6237\u8D26\u6237\u5BFC\u5165\u6587\u4EF6';
|
|
142
142
|
};
|
|
143
|
+
readonly meeting_check_in_import: {
|
|
144
|
+
readonly defaultAccessControl: 'private';
|
|
145
|
+
readonly maxSize: number;
|
|
146
|
+
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel", "text/csv"];
|
|
147
|
+
readonly description: '\u4F1A\u8BAE\u7B7E\u5230\u5BFC\u5165\u6587\u4EF6';
|
|
148
|
+
};
|
|
143
149
|
readonly avatar: {
|
|
144
150
|
readonly defaultAccessControl: 'public';
|
|
145
151
|
readonly maxSize: number;
|
|
@@ -251,6 +257,12 @@ export declare function getBusinessTypeConfig<T extends BusinessType>(businessTy
|
|
|
251
257
|
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
|
|
252
258
|
readonly description: '\u7528\u6237\u8D26\u6237\u5BFC\u5165\u6587\u4EF6';
|
|
253
259
|
};
|
|
260
|
+
readonly meeting_check_in_import: {
|
|
261
|
+
readonly defaultAccessControl: 'private';
|
|
262
|
+
readonly maxSize: number;
|
|
263
|
+
readonly allowedMimeTypes: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel", "text/csv"];
|
|
264
|
+
readonly description: '\u4F1A\u8BAE\u7B7E\u5230\u5BFC\u5165\u6587\u4EF6';
|
|
265
|
+
};
|
|
254
266
|
readonly avatar: {
|
|
255
267
|
readonly defaultAccessControl: 'public';
|
|
256
268
|
readonly maxSize: number;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* 文件业务类型枚举
|
|
3
3
|
* 按业务场景分类,便于权限控制和生命周期管理
|
|
4
4
|
*/
|
|
5
|
-
export declare const fileBusinessTypeEnum: import("drizzle-orm/pg-core").PgEnum<["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"]>;
|
|
5
|
+
export declare const fileBusinessTypeEnum: import("drizzle-orm/pg-core").PgEnum<["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"]>;
|
|
6
6
|
/**
|
|
7
7
|
* 文件访问控制枚举
|
|
8
8
|
*/
|
|
@@ -245,14 +245,14 @@ export declare const fileStorage: import("drizzle-orm/pg-core").PgTableWithColum
|
|
|
245
245
|
tableName: "file_storage";
|
|
246
246
|
dataType: "string";
|
|
247
247
|
columnType: "PgEnumColumn";
|
|
248
|
-
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
248
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
249
249
|
driverParam: string;
|
|
250
250
|
notNull: true;
|
|
251
251
|
hasDefault: false;
|
|
252
252
|
isPrimaryKey: false;
|
|
253
253
|
isAutoincrement: false;
|
|
254
254
|
hasRuntimeDefault: false;
|
|
255
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
255
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
256
256
|
baseColumn: never;
|
|
257
257
|
identity: undefined;
|
|
258
258
|
generated: undefined;
|
|
@@ -12,6 +12,7 @@ export declare const generateUploadUrlSchema: import("@sinclair/typebox").TObjec
|
|
|
12
12
|
kyc_document: "kyc_document";
|
|
13
13
|
ledger_account_import: "ledger_account_import";
|
|
14
14
|
live_stream_video: "live_stream_video";
|
|
15
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
15
16
|
news_attachment: "news_attachment";
|
|
16
17
|
notification_attachment: "notification_attachment";
|
|
17
18
|
other: "other";
|
|
@@ -386,7 +386,7 @@ export declare const fileStorageShareRouter: Elysia<"/file_storage", {
|
|
|
386
386
|
body: {
|
|
387
387
|
fileName: string;
|
|
388
388
|
fileSize: number;
|
|
389
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
389
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
390
390
|
fileExtension?: string | undefined;
|
|
391
391
|
mimeType?: string | undefined;
|
|
392
392
|
businessId?: string | undefined;
|
|
@@ -10,6 +10,7 @@ export declare const listUserFilesFilterSchema: import("@sinclair/typebox").TObj
|
|
|
10
10
|
kyc_document: "kyc_document";
|
|
11
11
|
ledger_account_import: "ledger_account_import";
|
|
12
12
|
live_stream_video: "live_stream_video";
|
|
13
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
13
14
|
news_attachment: "news_attachment";
|
|
14
15
|
notification_attachment: "notification_attachment";
|
|
15
16
|
other: "other";
|
|
@@ -46,6 +47,7 @@ export declare const listUserFilesQuerySchema: import("@sinclair/typebox").TObje
|
|
|
46
47
|
kyc_document: "kyc_document";
|
|
47
48
|
ledger_account_import: "ledger_account_import";
|
|
48
49
|
live_stream_video: "live_stream_video";
|
|
50
|
+
meeting_check_in_import: "meeting_check_in_import";
|
|
49
51
|
news_attachment: "news_attachment";
|
|
50
52
|
notification_attachment: "notification_attachment";
|
|
51
53
|
other: "other";
|
|
@@ -294,14 +296,14 @@ export declare const listUserFilesResponseSchema: import("@sinclair/typebox").TO
|
|
|
294
296
|
tableName: "file_storage";
|
|
295
297
|
dataType: "string";
|
|
296
298
|
columnType: "PgEnumColumn";
|
|
297
|
-
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
299
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
298
300
|
driverParam: string;
|
|
299
301
|
notNull: true;
|
|
300
302
|
hasDefault: false;
|
|
301
303
|
isPrimaryKey: false;
|
|
302
304
|
isAutoincrement: false;
|
|
303
305
|
hasRuntimeDefault: false;
|
|
304
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
306
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
305
307
|
baseColumn: never;
|
|
306
308
|
identity: undefined;
|
|
307
309
|
generated: undefined;
|
|
@@ -817,14 +819,14 @@ export declare const getFileByIdResponseSchema: import("drizzle-typebox").BuildS
|
|
|
817
819
|
tableName: "file_storage";
|
|
818
820
|
dataType: "string";
|
|
819
821
|
columnType: "PgEnumColumn";
|
|
820
|
-
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
822
|
+
data: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
821
823
|
driverParam: string;
|
|
822
824
|
notNull: true;
|
|
823
825
|
hasDefault: false;
|
|
824
826
|
isPrimaryKey: false;
|
|
825
827
|
isAutoincrement: false;
|
|
826
828
|
hasRuntimeDefault: false;
|
|
827
|
-
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
829
|
+
enumValues: ["kyc_document", "contract", "financial_report", "ledger_account_import", "meeting_check_in_import", "avatar", "cover_image", "notification_attachment", "transaction_receipt", "export_report", "bank_verification", "news_attachment", "app_video", "live_stream_video", "other"];
|
|
828
830
|
baseColumn: never;
|
|
829
831
|
identity: undefined;
|
|
830
832
|
generated: undefined;
|
|
@@ -390,7 +390,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
|
|
|
390
390
|
offset?: number | undefined;
|
|
391
391
|
pageSize?: number | undefined;
|
|
392
392
|
pageIndex?: number | undefined;
|
|
393
|
-
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
393
|
+
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
394
394
|
businessId?: string | undefined;
|
|
395
395
|
status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
|
|
396
396
|
accessControl?: "private" | "public" | "restricted" | null | undefined;
|
|
@@ -413,7 +413,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
|
|
|
413
413
|
s3Key: string;
|
|
414
414
|
s3Region: string;
|
|
415
415
|
s3ETag: string | null;
|
|
416
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
416
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
417
417
|
businessId: string | null;
|
|
418
418
|
businessMetadata: string | null;
|
|
419
419
|
ownerId: string;
|
|
@@ -478,7 +478,7 @@ export declare const fileStorageRouter: Elysia<"/file_storage", {
|
|
|
478
478
|
s3Key: string;
|
|
479
479
|
s3Region: string;
|
|
480
480
|
s3ETag: string | null;
|
|
481
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
481
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
482
482
|
businessId: string | null;
|
|
483
483
|
businessMetadata: string | null;
|
|
484
484
|
ownerId: string;
|
|
@@ -7,7 +7,7 @@ export declare abstract class UserFileStorageService extends BaseFileStorageServ
|
|
|
7
7
|
archivedAt: Date | null;
|
|
8
8
|
businessId: string | null;
|
|
9
9
|
businessMetadata: string | null;
|
|
10
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
10
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
11
11
|
createdAt: Date;
|
|
12
12
|
deletedAt: Date | null;
|
|
13
13
|
downloadCount: number | null;
|
|
@@ -47,7 +47,7 @@ export declare abstract class UserFileStorageService extends BaseFileStorageServ
|
|
|
47
47
|
archivedAt: Date | null;
|
|
48
48
|
businessId: string | null;
|
|
49
49
|
businessMetadata: string | null;
|
|
50
|
-
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
50
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "live_stream_video" | "meeting_check_in_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
51
51
|
createdAt: Date;
|
|
52
52
|
deletedAt: Date | null;
|
|
53
53
|
downloadCount: number | null;
|