@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.
Files changed (49) hide show
  1. package/dist/admin/index.d.ts +261 -3
  2. package/dist/asset-price/user/router.d.ts +1 -13
  3. package/dist/auth/better-auth.d.ts +7 -1
  4. package/dist/auth/permissions.d.ts +6 -1
  5. package/dist/auth/roles.d.ts +15 -0
  6. package/dist/content-video/internal/service.d.ts +2 -2
  7. package/dist/db/schemas.d.ts +1 -0
  8. package/dist/deposit/user/router.d.ts +13 -1
  9. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  10. package/dist/file-storage/admin/router.d.ts +2 -2
  11. package/dist/file-storage/admin/service.d.ts +2 -2
  12. package/dist/file-storage/db.schemas.d.ts +4 -4
  13. package/dist/file-storage/internal/service.d.ts +1 -1
  14. package/dist/file-storage/s3.client.d.ts +12 -0
  15. package/dist/file-storage/schema.d.ts +3 -3
  16. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  17. package/dist/file-storage/share/router.d.ts +1 -1
  18. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  19. package/dist/file-storage/user/router.d.ts +3 -3
  20. package/dist/file-storage/user/service.d.ts +2 -2
  21. package/dist/index.d.ts +481 -7
  22. package/dist/ledger/admin/router.d.ts +13 -1
  23. package/dist/live-stream-video/internal/service.d.ts +2 -2
  24. package/dist/meeting-check-in/admin/import.dto.schemas.d.ts +660 -0
  25. package/dist/meeting-check-in/admin/import.router.d.ts +711 -0
  26. package/dist/meeting-check-in/admin/import.service.d.ts +101 -0
  27. package/dist/meeting-check-in/admin/router.d.ts +259 -13
  28. package/dist/meeting-check-in/constants.d.ts +4 -0
  29. package/dist/meeting-check-in/errors/index.d.ts +6 -0
  30. package/dist/meeting-check-in/errors/locales/zh.d.ts +6 -0
  31. package/dist/meeting-check-in/import.db.schemas.d.ts +1132 -0
  32. package/dist/meeting-check-in/import.schema.d.ts +589 -0
  33. package/dist/meeting-check-in/index.d.ts +18 -0
  34. package/dist/meeting-check-in/internal/check-in.service.d.ts +33 -0
  35. package/dist/meeting-check-in/internal/import.service.d.ts +22 -0
  36. package/dist/meeting-check-in/internal/reward.service.d.ts +72 -0
  37. package/dist/meeting-check-in/permissions.d.ts +1 -0
  38. package/dist/meeting-check-in/user/check-in.dto.schemas.d.ts +337 -0
  39. package/dist/meeting-check-in/user/check-in.service.d.ts +31 -0
  40. package/dist/meeting-check-in/user/reward.dto.schemas.d.ts +136 -0
  41. package/dist/meeting-check-in/user/reward.service.d.ts +62 -0
  42. package/dist/meeting-check-in/user/router.d.ts +1596 -0
  43. package/dist/meeting-check-in/worker.d.ts +1 -0
  44. package/dist/news/admin/router.d.ts +1 -1
  45. package/dist/news/admin/service.d.ts +1 -1
  46. package/dist/news/user/service.d.ts +2 -2
  47. package/dist/trade-market/user/router.d.ts +1 -13
  48. package/dist/user-kyc/admin/router.d.ts +13 -1
  49. package/package.json +1 -1
@@ -8690,7 +8690,7 @@ export declare const adminRouter: Elysia<"/admin", {
8690
8690
  archivedAt: Date | null;
8691
8691
  businessId: string | null;
8692
8692
  businessMetadata: string | null;
8693
- 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";
8693
+ 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";
8694
8694
  createdAt: Date;
8695
8695
  deletedAt: Date | null;
8696
8696
  downloadCount: number | null;
@@ -11079,6 +11079,264 @@ export declare const adminRouter: Elysia<"/admin", {
11079
11079
  };
11080
11080
  };
11081
11081
  };
11082
+ } & {
11083
+ meeting_check_ins: {
11084
+ imports: {};
11085
+ } & {
11086
+ imports: {
11087
+ jobs: {
11088
+ post: {
11089
+ body: {
11090
+ title: string;
11091
+ fileId: string;
11092
+ };
11093
+ params: {};
11094
+ query: {};
11095
+ headers: {};
11096
+ response: {
11097
+ 200: {
11098
+ createdAt: Date;
11099
+ updatedAt: Date;
11100
+ id: string;
11101
+ fileId: string;
11102
+ title: string;
11103
+ status: "failed" | "pending" | "running" | "success";
11104
+ total: number;
11105
+ processed: number;
11106
+ success: number;
11107
+ failed: number;
11108
+ ignored: number;
11109
+ error: string | null;
11110
+ createdBy: string;
11111
+ startedAt: Date | null;
11112
+ finishedAt: Date | null;
11113
+ };
11114
+ 401: "Unauthorized";
11115
+ 403: "Forbidden: Admins only";
11116
+ 422: {
11117
+ type: 'validation';
11118
+ on: string;
11119
+ summary?: string;
11120
+ message?: string;
11121
+ found?: unknown;
11122
+ property?: string;
11123
+ expected?: string;
11124
+ };
11125
+ };
11126
+ };
11127
+ };
11128
+ };
11129
+ } & {
11130
+ imports: {
11131
+ jobs: {
11132
+ get: {
11133
+ body: {};
11134
+ params: {};
11135
+ query: {
11136
+ limit?: number | undefined;
11137
+ offset?: number | undefined;
11138
+ pageSize?: number | undefined;
11139
+ pageIndex?: number | undefined;
11140
+ status?: "failed" | "pending" | "running" | "success" | undefined;
11141
+ title?: string | undefined;
11142
+ };
11143
+ headers: {};
11144
+ response: {
11145
+ 200: {
11146
+ data: {
11147
+ createdAt: Date;
11148
+ updatedAt: Date;
11149
+ id: string;
11150
+ fileId: string;
11151
+ title: string;
11152
+ status: "failed" | "pending" | "running" | "success";
11153
+ total: number;
11154
+ processed: number;
11155
+ success: number;
11156
+ failed: number;
11157
+ ignored: number;
11158
+ error: string | null;
11159
+ createdBy: string;
11160
+ startedAt: Date | null;
11161
+ finishedAt: Date | null;
11162
+ }[];
11163
+ pagination: {
11164
+ pageSize: number;
11165
+ pageIndex: number;
11166
+ total: number;
11167
+ totalPages: number;
11168
+ hasNextPage: boolean;
11169
+ };
11170
+ };
11171
+ 401: "Unauthorized";
11172
+ 403: "Forbidden: Admins only";
11173
+ 422: {
11174
+ type: 'validation';
11175
+ on: string;
11176
+ summary?: string;
11177
+ message?: string;
11178
+ found?: unknown;
11179
+ property?: string;
11180
+ expected?: string;
11181
+ };
11182
+ };
11183
+ };
11184
+ };
11185
+ };
11186
+ } & {
11187
+ imports: {
11188
+ jobs: {
11189
+ ":id": {
11190
+ get: {
11191
+ body: {};
11192
+ params: {
11193
+ id: string;
11194
+ };
11195
+ query: {};
11196
+ headers: {};
11197
+ response: {
11198
+ 200: {
11199
+ createdAt: Date;
11200
+ updatedAt: Date;
11201
+ id: string;
11202
+ fileId: string;
11203
+ title: string;
11204
+ status: "failed" | "pending" | "running" | "success";
11205
+ total: number;
11206
+ processed: number;
11207
+ success: number;
11208
+ failed: number;
11209
+ ignored: number;
11210
+ error: string | null;
11211
+ createdBy: string;
11212
+ startedAt: Date | null;
11213
+ finishedAt: Date | null;
11214
+ };
11215
+ 401: "Unauthorized";
11216
+ 403: "Forbidden: Admins only";
11217
+ 422: {
11218
+ type: 'validation';
11219
+ on: string;
11220
+ summary?: string;
11221
+ message?: string;
11222
+ found?: unknown;
11223
+ property?: string;
11224
+ expected?: string;
11225
+ };
11226
+ };
11227
+ };
11228
+ };
11229
+ };
11230
+ };
11231
+ } & {
11232
+ imports: {
11233
+ jobs: {
11234
+ ":id": {
11235
+ items: {
11236
+ get: {
11237
+ body: {};
11238
+ params: {
11239
+ id: string;
11240
+ };
11241
+ query: {
11242
+ limit?: number | undefined;
11243
+ offset?: number | undefined;
11244
+ pageSize?: number | undefined;
11245
+ pageIndex?: number | undefined;
11246
+ status?: "failed" | "ignored" | "success" | undefined;
11247
+ phoneNumber?: string | undefined;
11248
+ referrerName?: string | undefined;
11249
+ };
11250
+ headers: {};
11251
+ response: {
11252
+ 200: {
11253
+ data: {
11254
+ checkInAt: Date | null;
11255
+ checkInId: string | null;
11256
+ createdAt: Date;
11257
+ csvUserId: string | null;
11258
+ displayName: string | null;
11259
+ email: string | null;
11260
+ error: string | null;
11261
+ id: string;
11262
+ isIdempotent: boolean;
11263
+ jobId: string;
11264
+ phoneNumber: string | null;
11265
+ referrerMatchStatus: "ambiguous" | "empty" | "matched" | "not_found" | null;
11266
+ referrerName: string | null;
11267
+ referrerUser: {
11268
+ id?: string | undefined;
11269
+ name?: string | undefined;
11270
+ username?: string | null | undefined;
11271
+ displayUsername?: string | null | undefined;
11272
+ email?: string | undefined;
11273
+ phoneNumber?: string | null | undefined;
11274
+ };
11275
+ referrerUserId: string | null;
11276
+ rowNumber: number;
11277
+ status: "failed" | "ignored" | "success";
11278
+ updatedAt: Date;
11279
+ user?: {
11280
+ id: string;
11281
+ name: string;
11282
+ username: string | null;
11283
+ displayUsername: string | null;
11284
+ email: string;
11285
+ phoneNumber: string | null;
11286
+ } | undefined;
11287
+ userId: string | null;
11288
+ }[];
11289
+ pagination: {
11290
+ pageSize: number;
11291
+ pageIndex: number;
11292
+ total: number;
11293
+ totalPages: number;
11294
+ hasNextPage: boolean;
11295
+ };
11296
+ };
11297
+ 401: "Unauthorized";
11298
+ 403: "Forbidden: Admins only";
11299
+ 422: {
11300
+ type: 'validation';
11301
+ on: string;
11302
+ summary?: string;
11303
+ message?: string;
11304
+ found?: unknown;
11305
+ property?: string;
11306
+ expected?: string;
11307
+ };
11308
+ };
11309
+ };
11310
+ };
11311
+ };
11312
+ };
11313
+ };
11314
+ } & {
11315
+ imports: {
11316
+ template: {
11317
+ get: {
11318
+ body: {};
11319
+ params: {};
11320
+ query: {};
11321
+ headers: {};
11322
+ response: {
11323
+ 200: ArrayBuffer;
11324
+ 401: "Unauthorized";
11325
+ 403: "Forbidden: Admins only";
11326
+ 422: {
11327
+ type: 'validation';
11328
+ on: string;
11329
+ summary?: string;
11330
+ message?: string;
11331
+ found?: unknown;
11332
+ property?: string;
11333
+ expected?: string;
11334
+ };
11335
+ };
11336
+ };
11337
+ };
11338
+ };
11339
+ };
11082
11340
  };
11083
11341
  } & {
11084
11342
  admin: {
@@ -11488,7 +11746,7 @@ export declare const adminRouter: Elysia<"/admin", {
11488
11746
  offset?: number | undefined;
11489
11747
  pageSize?: number | undefined;
11490
11748
  pageIndex?: number | undefined;
11491
- 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;
11749
+ 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;
11492
11750
  businessId?: string | undefined;
11493
11751
  status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
11494
11752
  accessControl?: "private" | "public" | "restricted" | null | undefined;
@@ -11502,7 +11760,7 @@ export declare const adminRouter: Elysia<"/admin", {
11502
11760
  archivedAt: Date | null;
11503
11761
  businessId: string | null;
11504
11762
  businessMetadata: string | null;
11505
- 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";
11763
+ 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";
11506
11764
  createdAt: Date;
11507
11765
  deletedAt: Date | null;
11508
11766
  downloadCount: number | null;
@@ -35,19 +35,7 @@ export declare const assetPriceRouter: Elysia<"/asset_prices", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, {
39
- domain?: string | undefined;
40
- expires?: Date | undefined;
41
- httpOnly?: boolean | undefined;
42
- maxAge?: number | undefined;
43
- path?: string | undefined;
44
- priority?: 'low' | 'medium' | 'high' | undefined;
45
- partitioned?: boolean | undefined;
46
- sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
- secure?: boolean | undefined;
48
- secrets?: string | null | (string | null)[];
49
- value?: unknown;
50
- }>;
38
+ cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
51
39
  };
52
40
  path: string;
53
41
  route: string;
@@ -2696,6 +2696,7 @@ export declare const auth: import("better-auth").Auth<{
2696
2696
  readonly 'market_data:admin'?: ("list" | "read" | "run")[] | undefined;
2697
2697
  readonly 'market_pricing:strategy'?: ("create" | "delete" | "list" | "read" | "run" | "update")[] | undefined;
2698
2698
  readonly 'meeting_check_in:reward_config'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
2699
+ readonly 'meeting_check_in:import'?: ("create" | "list" | "read")[] | undefined;
2699
2700
  readonly 'news:category'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
2700
2701
  readonly 'news:news'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
2701
2702
  readonly 'notification:notification'?: ("list" | "read" | "update")[] | undefined;
@@ -2795,7 +2796,7 @@ export declare const auth: import("better-auth").Auth<{
2795
2796
  };
2796
2797
  options: NoInfer<{
2797
2798
  ac: {
2798
- newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "live_stream_video:video" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "meeting_check_in:reward_config" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
2799
+ newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "live_stream_video:video" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "meeting_check_in:import" | "meeting_check_in:reward_config" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
2799
2800
  readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
2800
2801
  readonly session: readonly ["list", "revoke", "delete"];
2801
2802
  readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
@@ -2821,6 +2822,7 @@ export declare const auth: import("better-auth").Auth<{
2821
2822
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
2822
2823
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
2823
2824
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
2825
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
2824
2826
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
2825
2827
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
2826
2828
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -2876,6 +2878,7 @@ export declare const auth: import("better-auth").Auth<{
2876
2878
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
2877
2879
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
2878
2880
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
2881
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
2879
2882
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
2880
2883
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
2881
2884
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -2931,6 +2934,7 @@ export declare const auth: import("better-auth").Auth<{
2931
2934
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
2932
2935
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
2933
2936
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
2937
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
2934
2938
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
2935
2939
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
2936
2940
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -2985,6 +2989,7 @@ export declare const auth: import("better-auth").Auth<{
2985
2989
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
2986
2990
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
2987
2991
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
2992
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
2988
2993
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
2989
2994
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
2990
2995
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -3040,6 +3045,7 @@ export declare const auth: import("better-auth").Auth<{
3040
3045
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
3041
3046
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
3042
3047
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
3048
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
3043
3049
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
3044
3050
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
3045
3051
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -1,5 +1,5 @@
1
1
  export declare const ac: {
2
- newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "live_stream_video:video" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "meeting_check_in:reward_config" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
2
+ newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "live_stream_video:video" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "meeting_check_in:import" | "meeting_check_in:reward_config" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "team:milestoneReward" | "team:milestoneRewardPlan" | "team:milestoneRewardRule" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
3
3
  readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
4
4
  readonly session: readonly ["list", "revoke", "delete"];
5
5
  readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
@@ -25,6 +25,7 @@ export declare const ac: {
25
25
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
26
26
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
27
27
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
28
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
28
29
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
29
30
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
30
31
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -80,6 +81,7 @@ export declare const ac: {
80
81
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
81
82
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
82
83
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
84
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
83
85
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
84
86
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
85
87
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -135,6 +137,7 @@ export declare const ac: {
135
137
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
136
138
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
137
139
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
140
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
138
141
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
139
142
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
140
143
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -189,6 +192,7 @@ export declare const ac: {
189
192
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
190
193
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
191
194
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
195
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
192
196
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
193
197
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
194
198
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -244,6 +248,7 @@ export declare const ac: {
244
248
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
245
249
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
246
250
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
251
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
247
252
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
248
253
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
249
254
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -26,6 +26,7 @@ export declare const authAdmin: {
26
26
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
27
27
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
28
28
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
29
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
29
30
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
30
31
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
31
32
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -81,6 +82,7 @@ export declare const authAdmin: {
81
82
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
82
83
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
83
84
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
85
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
84
86
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
85
87
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
86
88
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -135,6 +137,7 @@ export declare const authAdmin: {
135
137
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
136
138
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
137
139
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
140
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
138
141
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
139
142
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
140
143
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -192,6 +195,7 @@ export declare const authUser: {
192
195
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
193
196
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
194
197
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
198
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
195
199
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
196
200
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
197
201
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -247,6 +251,7 @@ export declare const authUser: {
247
251
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
248
252
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
249
253
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
254
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
250
255
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
251
256
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
252
257
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -301,6 +306,7 @@ export declare const authUser: {
301
306
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
302
307
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
303
308
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
309
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
304
310
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
305
311
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
306
312
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -363,6 +369,7 @@ export declare const superAdmin: {
363
369
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
364
370
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
365
371
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
372
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
366
373
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
367
374
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
368
375
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -418,6 +425,7 @@ export declare const superAdmin: {
418
425
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
419
426
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
420
427
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
428
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
421
429
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
422
430
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
423
431
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -472,6 +480,7 @@ export declare const superAdmin: {
472
480
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
473
481
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
474
482
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
483
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
475
484
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
476
485
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
477
486
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -534,6 +543,7 @@ export declare const user: {
534
543
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
535
544
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
536
545
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
546
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
537
547
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
538
548
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
539
549
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -589,6 +599,7 @@ export declare const user: {
589
599
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
590
600
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
591
601
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
602
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
592
603
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
593
604
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
594
605
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -643,6 +654,7 @@ export declare const user: {
643
654
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
644
655
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
645
656
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
657
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
646
658
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
647
659
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
648
660
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -705,6 +717,7 @@ export declare const admin: {
705
717
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
706
718
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
707
719
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
720
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
708
721
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
709
722
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
710
723
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -760,6 +773,7 @@ export declare const admin: {
760
773
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
761
774
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
762
775
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
776
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
763
777
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
764
778
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
765
779
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -814,6 +828,7 @@ export declare const admin: {
814
828
  readonly 'market_data:admin': readonly ['read', 'list', 'run'];
815
829
  readonly 'market_pricing:strategy': readonly ['create', 'read', 'update', 'delete', 'list', 'run'];
816
830
  readonly 'meeting_check_in:reward_config': readonly ['create', 'read', 'update', 'delete', 'list'];
831
+ readonly 'meeting_check_in:import': readonly ['create', 'read', 'list'];
817
832
  readonly 'news:category': readonly ['create', 'read', 'update', 'delete', 'list'];
818
833
  readonly 'news:news': readonly ['create', 'read', 'update', 'delete', 'list'];
819
834
  readonly 'notification:notification': readonly ['read', 'update', 'list'];
@@ -10,7 +10,7 @@ export declare abstract class InternalContentVideoService {
10
10
  archivedAt: Date | null;
11
11
  businessId: string | null;
12
12
  businessMetadata: string | null;
13
- 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";
13
+ 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";
14
14
  createdAt: Date;
15
15
  deletedAt: Date | null;
16
16
  downloadCount: number | null;
@@ -45,7 +45,7 @@ export declare abstract class InternalContentVideoService {
45
45
  archivedAt: Date | null;
46
46
  businessId: string | null;
47
47
  businessMetadata: string | null;
48
- 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";
48
+ 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";
49
49
  createdAt: Date;
50
50
  deletedAt: Date | null;
51
51
  downloadCount: number | null;
@@ -39,3 +39,4 @@ export * from '../lock-activity/participation.schema';
39
39
  export * from '../content-video/schema';
40
40
  export * from '../live-stream-video/schema';
41
41
  export * from '../meeting-check-in/schema';
42
+ export * from '../meeting-check-in/import.schema';
@@ -35,7 +35,19 @@ export declare const depositRouter: Elysia<"/deposit", {
35
35
  headers: import("elysia").HTTPHeaders;
36
36
  status?: number | keyof import("elysia").StatusMap;
37
37
  redirect?: string;
38
- cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
38
+ cookie?: Record<string, {
39
+ domain?: string | undefined;
40
+ expires?: Date | undefined;
41
+ httpOnly?: boolean | undefined;
42
+ maxAge?: number | undefined;
43
+ path?: string | undefined;
44
+ priority?: 'low' | 'medium' | 'high' | undefined;
45
+ partitioned?: boolean | undefined;
46
+ sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
47
+ secure?: boolean | undefined;
48
+ secrets?: string | null | (string | null)[];
49
+ value?: unknown;
50
+ }>;
39
51
  };
40
52
  path: string;
41
53
  route: string;