@r2wa-org/eden 0.0.97 → 0.0.99
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 +731 -152
- package/dist/asset/admin/router.d.ts +1 -13
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +8 -0
- package/dist/asset-convert-product/admin/router.d.ts +25 -13
- package/dist/asset-convert-product/admin/service.d.ts +12 -12
- package/dist/auth/better-auth.d.ts +7 -1
- package/dist/auth/i18n/zh.d.ts +100 -0
- package/dist/auth/permissions.d.ts +6 -1
- package/dist/auth/roles.d.ts +15 -0
- package/dist/bank-account/admin/router.d.ts +13 -1
- package/dist/content-video/admin/dto.schemas.d.ts +128 -0
- package/dist/content-video/admin/router.d.ts +861 -0
- package/dist/content-video/admin/service.d.ts +210 -0
- package/dist/content-video/db.schemas.d.ts +486 -0
- package/dist/content-video/errors/index.d.ts +17 -0
- package/dist/content-video/errors/locales/zh.d.ts +16 -0
- package/dist/content-video/index.d.ts +8 -0
- package/dist/content-video/internal/service.d.ts +106 -0
- package/dist/content-video/permissions.d.ts +4 -0
- package/dist/content-video/schema.d.ts +257 -0
- package/dist/content-video/user/dto.schemas.d.ts +52 -0
- package/dist/content-video/user/router.d.ts +482 -0
- package/dist/content-video/user/service.d.ts +36 -0
- package/dist/db/schemas.d.ts +1 -0
- 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 +22 -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 +1019 -170
- package/dist/ledger/admin/dto.schemas.d.ts +8 -0
- package/dist/ledger/admin/router.d.ts +4 -4
- package/dist/ledger/db.schemas.d.ts +8 -8
- package/dist/ledger/schema.d.ts +6 -6
- package/dist/ledger/user/dto.schemas.d.ts +8 -8
- package/dist/ledger/user/router.d.ts +2 -2
- package/dist/ledger/user/service.d.ts +2 -2
- package/dist/ledger-account-type/admin/router.d.ts +1 -13
- package/dist/lock-activity/admin/participation.dto.schemas.d.ts +52 -0
- package/dist/lock-activity/admin/reward.service.d.ts +48 -0
- package/dist/lock-activity/admin/router.d.ts +71 -0
- package/dist/lock-activity/constants.d.ts +2 -0
- package/dist/lock-activity/cron.d.ts +6 -0
- package/dist/lock-activity/errors/index.d.ts +3 -0
- package/dist/lock-activity/errors/locales/zh.d.ts +3 -0
- package/dist/lock-activity/internal/reward.service.d.ts +15 -0
- package/dist/lock-activity/user/router.d.ts +13 -1
- package/dist/news/admin/dto.schemas.d.ts +26 -26
- package/dist/news/admin/router.d.ts +25 -25
- package/dist/news/admin/service.d.ts +4 -1
- package/dist/news/user/service.d.ts +2 -2
- package/dist/referral/admin/dto.schemas.d.ts +597 -0
- package/dist/referral/admin/router.d.ts +553 -0
- package/dist/referral/admin/service.d.ts +6 -0
- package/dist/referral/errors/index.d.ts +15 -0
- package/dist/referral/errors/locales/zh.d.ts +14 -0
- package/dist/referral/index.d.ts +10 -0
- package/dist/referral/internal/service.d.ts +23 -0
- package/dist/referral/user/dto.schemas.d.ts +602 -0
- package/dist/referral/user/router.d.ts +606 -0
- package/dist/referral/user/service.d.ts +21 -0
- package/dist/user/internal/avatar.service.d.ts +42 -0
- package/dist/withdraw/user/router.d.ts +1 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -570,7 +570,7 @@ declare const app: Elysia<"/api", {
|
|
|
570
570
|
body: {
|
|
571
571
|
fileName: string;
|
|
572
572
|
fileSize: number;
|
|
573
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
573
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
574
574
|
fileExtension?: string | undefined;
|
|
575
575
|
mimeType?: string | undefined;
|
|
576
576
|
businessId?: string | undefined;
|
|
@@ -2199,19 +2199,19 @@ declare const app: Elysia<"/api", {
|
|
|
2199
2199
|
createdAt: Date;
|
|
2200
2200
|
creditLedgerEntry?: {
|
|
2201
2201
|
id: string;
|
|
2202
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2202
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2203
2203
|
amount: string;
|
|
2204
2204
|
referenceId: string;
|
|
2205
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2205
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2206
2206
|
createdAt: Date;
|
|
2207
2207
|
} | undefined;
|
|
2208
2208
|
creditLedgerEntryId: string | null;
|
|
2209
2209
|
debitLedgerEntry?: {
|
|
2210
2210
|
id: string;
|
|
2211
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2211
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2212
2212
|
amount: string;
|
|
2213
2213
|
referenceId: string;
|
|
2214
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2214
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2215
2215
|
createdAt: Date;
|
|
2216
2216
|
} | undefined;
|
|
2217
2217
|
debitLedgerEntryId: string | null;
|
|
@@ -2370,19 +2370,19 @@ declare const app: Elysia<"/api", {
|
|
|
2370
2370
|
createdAt: Date;
|
|
2371
2371
|
creditLedgerEntry?: {
|
|
2372
2372
|
id: string;
|
|
2373
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2373
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2374
2374
|
amount: string;
|
|
2375
2375
|
referenceId: string;
|
|
2376
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2376
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2377
2377
|
createdAt: Date;
|
|
2378
2378
|
} | undefined;
|
|
2379
2379
|
creditLedgerEntryId: string | null;
|
|
2380
2380
|
debitLedgerEntry?: {
|
|
2381
2381
|
id: string;
|
|
2382
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2382
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2383
2383
|
amount: string;
|
|
2384
2384
|
referenceId: string;
|
|
2385
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2385
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2386
2386
|
createdAt: Date;
|
|
2387
2387
|
} | undefined;
|
|
2388
2388
|
debitLedgerEntryId: string | null;
|
|
@@ -2535,19 +2535,19 @@ declare const app: Elysia<"/api", {
|
|
|
2535
2535
|
createdAt: Date;
|
|
2536
2536
|
creditLedgerEntry?: {
|
|
2537
2537
|
id: string;
|
|
2538
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2538
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2539
2539
|
amount: string;
|
|
2540
2540
|
referenceId: string;
|
|
2541
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2541
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2542
2542
|
createdAt: Date;
|
|
2543
2543
|
} | undefined;
|
|
2544
2544
|
creditLedgerEntryId: string | null;
|
|
2545
2545
|
debitLedgerEntry?: {
|
|
2546
2546
|
id: string;
|
|
2547
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2547
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
2548
2548
|
amount: string;
|
|
2549
2549
|
referenceId: string;
|
|
2550
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2550
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
2551
2551
|
createdAt: Date;
|
|
2552
2552
|
} | undefined;
|
|
2553
2553
|
debitLedgerEntryId: string | null;
|
|
@@ -4689,7 +4689,7 @@ declare const app: Elysia<"/api", {
|
|
|
4689
4689
|
query: {
|
|
4690
4690
|
accountId?: string | undefined;
|
|
4691
4691
|
assetId?: string | undefined;
|
|
4692
|
-
bizType?: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release" | undefined;
|
|
4692
|
+
bizType?: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release" | undefined;
|
|
4693
4693
|
changeDirection?: "decrease" | "increase" | undefined;
|
|
4694
4694
|
endDate?: Date | undefined;
|
|
4695
4695
|
limit?: number | undefined;
|
|
@@ -4698,7 +4698,7 @@ declare const app: Elysia<"/api", {
|
|
|
4698
4698
|
pageIndex?: number | undefined;
|
|
4699
4699
|
pageSize?: number | undefined;
|
|
4700
4700
|
referenceId?: string | undefined;
|
|
4701
|
-
referenceType?: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order" | undefined;
|
|
4701
|
+
referenceType?: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order" | undefined;
|
|
4702
4702
|
startDate?: Date | undefined;
|
|
4703
4703
|
userId?: string | undefined;
|
|
4704
4704
|
};
|
|
@@ -4717,7 +4717,7 @@ declare const app: Elysia<"/api", {
|
|
|
4717
4717
|
isActive: boolean;
|
|
4718
4718
|
};
|
|
4719
4719
|
assetId: string;
|
|
4720
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
4720
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
4721
4721
|
createdAt: Date;
|
|
4722
4722
|
fromAccount?: {
|
|
4723
4723
|
asset: {
|
|
@@ -4769,7 +4769,7 @@ declare const app: Elysia<"/api", {
|
|
|
4769
4769
|
} | undefined;
|
|
4770
4770
|
operatorId: string | null;
|
|
4771
4771
|
referenceId: string;
|
|
4772
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
4772
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
4773
4773
|
toAccount?: {
|
|
4774
4774
|
asset: {
|
|
4775
4775
|
id: string;
|
|
@@ -6305,6 +6305,106 @@ declare const app: Elysia<"/api", {
|
|
|
6305
6305
|
};
|
|
6306
6306
|
};
|
|
6307
6307
|
};
|
|
6308
|
+
} & {
|
|
6309
|
+
admin: {
|
|
6310
|
+
referrals: {};
|
|
6311
|
+
} & {
|
|
6312
|
+
referrals: {
|
|
6313
|
+
summary: {
|
|
6314
|
+
get: {
|
|
6315
|
+
body: {};
|
|
6316
|
+
params: {};
|
|
6317
|
+
query: {
|
|
6318
|
+
referralCode?: string | undefined;
|
|
6319
|
+
};
|
|
6320
|
+
headers: {};
|
|
6321
|
+
response: {
|
|
6322
|
+
200: {
|
|
6323
|
+
level1Count: number;
|
|
6324
|
+
level2Count: number;
|
|
6325
|
+
level3Count: number;
|
|
6326
|
+
referralCode: string;
|
|
6327
|
+
referredBy?: string | undefined;
|
|
6328
|
+
totalCount: number;
|
|
6329
|
+
userId: string;
|
|
6330
|
+
};
|
|
6331
|
+
401: "Unauthorized";
|
|
6332
|
+
403: "Forbidden: Admins only";
|
|
6333
|
+
422: {
|
|
6334
|
+
type: 'validation';
|
|
6335
|
+
on: string;
|
|
6336
|
+
summary?: string;
|
|
6337
|
+
message?: string;
|
|
6338
|
+
found?: unknown;
|
|
6339
|
+
property?: string;
|
|
6340
|
+
expected?: string;
|
|
6341
|
+
};
|
|
6342
|
+
};
|
|
6343
|
+
};
|
|
6344
|
+
};
|
|
6345
|
+
};
|
|
6346
|
+
} & {
|
|
6347
|
+
referrals: {
|
|
6348
|
+
members: {
|
|
6349
|
+
get: {
|
|
6350
|
+
body: {};
|
|
6351
|
+
params: {};
|
|
6352
|
+
query: {
|
|
6353
|
+
limit?: number | undefined;
|
|
6354
|
+
maxDepth?: number | undefined;
|
|
6355
|
+
offset?: number | undefined;
|
|
6356
|
+
pageIndex?: number | undefined;
|
|
6357
|
+
pageSize?: number | undefined;
|
|
6358
|
+
referralCode: string;
|
|
6359
|
+
};
|
|
6360
|
+
headers: {};
|
|
6361
|
+
response: {
|
|
6362
|
+
200: {
|
|
6363
|
+
data: {
|
|
6364
|
+
depth: number;
|
|
6365
|
+
user: {
|
|
6366
|
+
id: string;
|
|
6367
|
+
name: string;
|
|
6368
|
+
email: string;
|
|
6369
|
+
emailVerified: boolean;
|
|
6370
|
+
image: string | null;
|
|
6371
|
+
createdAt: Date;
|
|
6372
|
+
updatedAt: Date;
|
|
6373
|
+
twoFactorEnabled: boolean | null;
|
|
6374
|
+
username: string | null;
|
|
6375
|
+
displayUsername: string | null;
|
|
6376
|
+
phoneNumber: string | null;
|
|
6377
|
+
phoneNumberVerified: boolean | null;
|
|
6378
|
+
role: string | null;
|
|
6379
|
+
banned: boolean | null;
|
|
6380
|
+
banReason: string | null;
|
|
6381
|
+
banExpires: Date | null;
|
|
6382
|
+
};
|
|
6383
|
+
}[];
|
|
6384
|
+
pagination: {
|
|
6385
|
+
pageSize: number;
|
|
6386
|
+
pageIndex: number;
|
|
6387
|
+
total: number;
|
|
6388
|
+
totalPages: number;
|
|
6389
|
+
hasNextPage: boolean;
|
|
6390
|
+
};
|
|
6391
|
+
};
|
|
6392
|
+
401: "Unauthorized";
|
|
6393
|
+
403: "Forbidden: Admins only";
|
|
6394
|
+
422: {
|
|
6395
|
+
type: 'validation';
|
|
6396
|
+
on: string;
|
|
6397
|
+
summary?: string;
|
|
6398
|
+
message?: string;
|
|
6399
|
+
found?: unknown;
|
|
6400
|
+
property?: string;
|
|
6401
|
+
expected?: string;
|
|
6402
|
+
};
|
|
6403
|
+
};
|
|
6404
|
+
};
|
|
6405
|
+
};
|
|
6406
|
+
};
|
|
6407
|
+
};
|
|
6308
6408
|
} & {
|
|
6309
6409
|
admin: {
|
|
6310
6410
|
referrals: {
|
|
@@ -7408,22 +7508,22 @@ declare const app: Elysia<"/api", {
|
|
|
7408
7508
|
news: {
|
|
7409
7509
|
post: {
|
|
7410
7510
|
body: {
|
|
7411
|
-
|
|
7412
|
-
summary?: string | null | undefined;
|
|
7413
|
-
content: string;
|
|
7511
|
+
attachmentIds?: string[] | null | undefined;
|
|
7414
7512
|
categoryId?: string | undefined;
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
isHot?: boolean | undefined;
|
|
7513
|
+
content: string;
|
|
7514
|
+
expiresAt?: string | Date | null | undefined;
|
|
7515
|
+
externalUrl?: string | null | undefined;
|
|
7419
7516
|
hasVideo?: boolean | undefined;
|
|
7420
|
-
|
|
7517
|
+
isHot?: boolean | undefined;
|
|
7518
|
+
isPinned?: boolean | undefined;
|
|
7519
|
+
publishedAt?: string | Date | null | undefined;
|
|
7421
7520
|
requireReadConfirmation?: boolean | undefined;
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7521
|
+
scope?: string[] | undefined;
|
|
7522
|
+
sortOrder?: number | undefined;
|
|
7523
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
7524
|
+
summary?: string | null | undefined;
|
|
7425
7525
|
thumbnailId?: string | null | undefined;
|
|
7426
|
-
|
|
7526
|
+
title: string;
|
|
7427
7527
|
};
|
|
7428
7528
|
params: {};
|
|
7429
7529
|
query: {};
|
|
@@ -7483,18 +7583,402 @@ declare const app: Elysia<"/api", {
|
|
|
7483
7583
|
externalUrl: string | null;
|
|
7484
7584
|
hasVideo: boolean;
|
|
7485
7585
|
id: string;
|
|
7486
|
-
isHot: boolean;
|
|
7487
|
-
isPinned: boolean;
|
|
7586
|
+
isHot: boolean;
|
|
7587
|
+
isPinned: boolean;
|
|
7588
|
+
publishedAt: Date | null;
|
|
7589
|
+
requireReadConfirmation: boolean;
|
|
7590
|
+
scope: string[];
|
|
7591
|
+
sortOrder: number;
|
|
7592
|
+
status: "archived" | "draft" | "published";
|
|
7593
|
+
summary: string | null;
|
|
7594
|
+
thumbnailId: string | null;
|
|
7595
|
+
title: string;
|
|
7596
|
+
updatedAt: Date;
|
|
7597
|
+
viewCount: number;
|
|
7598
|
+
}[];
|
|
7599
|
+
pagination: {
|
|
7600
|
+
pageSize: number;
|
|
7601
|
+
pageIndex: number;
|
|
7602
|
+
total: number;
|
|
7603
|
+
totalPages: number;
|
|
7604
|
+
hasNextPage: boolean;
|
|
7605
|
+
};
|
|
7606
|
+
};
|
|
7607
|
+
401: "Unauthorized";
|
|
7608
|
+
403: "Forbidden: Admins only";
|
|
7609
|
+
422: {
|
|
7610
|
+
type: 'validation';
|
|
7611
|
+
on: string;
|
|
7612
|
+
summary?: string;
|
|
7613
|
+
message?: string;
|
|
7614
|
+
found?: unknown;
|
|
7615
|
+
property?: string;
|
|
7616
|
+
expected?: string;
|
|
7617
|
+
};
|
|
7618
|
+
};
|
|
7619
|
+
};
|
|
7620
|
+
};
|
|
7621
|
+
} & {
|
|
7622
|
+
news: {
|
|
7623
|
+
":id": {
|
|
7624
|
+
get: {
|
|
7625
|
+
body: {};
|
|
7626
|
+
params: {
|
|
7627
|
+
id: string;
|
|
7628
|
+
};
|
|
7629
|
+
query: {};
|
|
7630
|
+
headers: {};
|
|
7631
|
+
response: {
|
|
7632
|
+
200: {
|
|
7633
|
+
attachmentIds: string[] | null;
|
|
7634
|
+
category: {
|
|
7635
|
+
createdAt: Date;
|
|
7636
|
+
description: string | null;
|
|
7637
|
+
icon: string | null;
|
|
7638
|
+
id: string;
|
|
7639
|
+
isActive: boolean;
|
|
7640
|
+
name: string;
|
|
7641
|
+
slug: string | null;
|
|
7642
|
+
sortOrder: number;
|
|
7643
|
+
updatedAt: Date;
|
|
7644
|
+
};
|
|
7645
|
+
categoryId: string;
|
|
7646
|
+
content: string;
|
|
7647
|
+
createdAt: Date;
|
|
7648
|
+
createdBy: string;
|
|
7649
|
+
deletedAt: Date | null;
|
|
7650
|
+
expiresAt: Date | null;
|
|
7651
|
+
externalUrl: string | null;
|
|
7652
|
+
hasVideo: boolean;
|
|
7653
|
+
id: string;
|
|
7654
|
+
isHot: boolean;
|
|
7655
|
+
isPinned: boolean;
|
|
7656
|
+
publishedAt: Date | null;
|
|
7657
|
+
requireReadConfirmation: boolean;
|
|
7658
|
+
scope: string[];
|
|
7659
|
+
sortOrder: number;
|
|
7660
|
+
status: "archived" | "draft" | "published";
|
|
7661
|
+
summary: string | null;
|
|
7662
|
+
thumbnail: {
|
|
7663
|
+
accessControl: "private" | "public" | "restricted" | null;
|
|
7664
|
+
archivedAt: Date | null;
|
|
7665
|
+
businessId: string | null;
|
|
7666
|
+
businessMetadata: string | null;
|
|
7667
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
7668
|
+
createdAt: Date;
|
|
7669
|
+
deletedAt: Date | null;
|
|
7670
|
+
downloadCount: number | null;
|
|
7671
|
+
fileExtension: string | null;
|
|
7672
|
+
fileHash: string | null;
|
|
7673
|
+
fileName: string | null;
|
|
7674
|
+
fileSize: number | null;
|
|
7675
|
+
id: string;
|
|
7676
|
+
isVerified: boolean | null;
|
|
7677
|
+
lastDownloadedAt: Date | null;
|
|
7678
|
+
mimeType: string | null;
|
|
7679
|
+
ownerId: string;
|
|
7680
|
+
publicUrl: string | null;
|
|
7681
|
+
s3Bucket: string;
|
|
7682
|
+
s3ETag: string | null;
|
|
7683
|
+
s3Key: string;
|
|
7684
|
+
s3Region: string;
|
|
7685
|
+
status: "active" | "archived" | "pending_deletion" | "uploading" | null;
|
|
7686
|
+
thumbnailUrl: string | null;
|
|
7687
|
+
updatedAt: Date;
|
|
7688
|
+
uploadCompletedAt: Date | null;
|
|
7689
|
+
uploadIpAddress: string | null;
|
|
7690
|
+
verificationNote: string | null;
|
|
7691
|
+
verifiedAt: Date | null;
|
|
7692
|
+
verifiedBy: string | null;
|
|
7693
|
+
} | null;
|
|
7694
|
+
thumbnailId: string | null;
|
|
7695
|
+
title: string;
|
|
7696
|
+
updatedAt: Date;
|
|
7697
|
+
viewCount: number;
|
|
7698
|
+
};
|
|
7699
|
+
401: "Unauthorized";
|
|
7700
|
+
403: "Forbidden: Admins only";
|
|
7701
|
+
422: {
|
|
7702
|
+
type: 'validation';
|
|
7703
|
+
on: string;
|
|
7704
|
+
summary?: string;
|
|
7705
|
+
message?: string;
|
|
7706
|
+
found?: unknown;
|
|
7707
|
+
property?: string;
|
|
7708
|
+
expected?: string;
|
|
7709
|
+
};
|
|
7710
|
+
};
|
|
7711
|
+
};
|
|
7712
|
+
};
|
|
7713
|
+
};
|
|
7714
|
+
} & {
|
|
7715
|
+
news: {
|
|
7716
|
+
":id": {
|
|
7717
|
+
patch: {
|
|
7718
|
+
body: {
|
|
7719
|
+
attachmentIds?: string[] | null | undefined;
|
|
7720
|
+
categoryId?: string | undefined;
|
|
7721
|
+
content?: string | undefined;
|
|
7722
|
+
expiresAt?: string | Date | null | undefined;
|
|
7723
|
+
externalUrl?: string | null | undefined;
|
|
7724
|
+
hasVideo?: boolean | undefined;
|
|
7725
|
+
isHot?: boolean | undefined;
|
|
7726
|
+
isPinned?: boolean | undefined;
|
|
7727
|
+
publishedAt?: string | Date | null | undefined;
|
|
7728
|
+
requireReadConfirmation?: boolean | undefined;
|
|
7729
|
+
scope?: string[] | undefined;
|
|
7730
|
+
sortOrder?: number | undefined;
|
|
7731
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
7732
|
+
summary?: string | null | undefined;
|
|
7733
|
+
thumbnailId?: string | null | undefined;
|
|
7734
|
+
title?: string | undefined;
|
|
7735
|
+
};
|
|
7736
|
+
params: {
|
|
7737
|
+
id: string;
|
|
7738
|
+
};
|
|
7739
|
+
query: {};
|
|
7740
|
+
headers: {};
|
|
7741
|
+
response: {
|
|
7742
|
+
401: "Unauthorized";
|
|
7743
|
+
403: "Forbidden: Admins only";
|
|
7744
|
+
422: {
|
|
7745
|
+
type: 'validation';
|
|
7746
|
+
on: string;
|
|
7747
|
+
summary?: string;
|
|
7748
|
+
message?: string;
|
|
7749
|
+
found?: unknown;
|
|
7750
|
+
property?: string;
|
|
7751
|
+
expected?: string;
|
|
7752
|
+
};
|
|
7753
|
+
};
|
|
7754
|
+
};
|
|
7755
|
+
};
|
|
7756
|
+
};
|
|
7757
|
+
} & {
|
|
7758
|
+
news: {
|
|
7759
|
+
":id": {
|
|
7760
|
+
delete: {
|
|
7761
|
+
body: {};
|
|
7762
|
+
params: {
|
|
7763
|
+
id: string;
|
|
7764
|
+
};
|
|
7765
|
+
query: {};
|
|
7766
|
+
headers: {};
|
|
7767
|
+
response: {
|
|
7768
|
+
200: {
|
|
7769
|
+
success: boolean;
|
|
7770
|
+
};
|
|
7771
|
+
401: "Unauthorized";
|
|
7772
|
+
403: "Forbidden: Admins only";
|
|
7773
|
+
422: {
|
|
7774
|
+
type: 'validation';
|
|
7775
|
+
on: string;
|
|
7776
|
+
summary?: string;
|
|
7777
|
+
message?: string;
|
|
7778
|
+
found?: unknown;
|
|
7779
|
+
property?: string;
|
|
7780
|
+
expected?: string;
|
|
7781
|
+
};
|
|
7782
|
+
};
|
|
7783
|
+
};
|
|
7784
|
+
};
|
|
7785
|
+
};
|
|
7786
|
+
} & {
|
|
7787
|
+
news: {
|
|
7788
|
+
":id": {
|
|
7789
|
+
pin: {
|
|
7790
|
+
post: {
|
|
7791
|
+
body: {
|
|
7792
|
+
isPinned: boolean;
|
|
7793
|
+
sortOrder?: number | undefined;
|
|
7794
|
+
};
|
|
7795
|
+
params: {
|
|
7796
|
+
id: string;
|
|
7797
|
+
};
|
|
7798
|
+
query: {};
|
|
7799
|
+
headers: {};
|
|
7800
|
+
response: {
|
|
7801
|
+
401: "Unauthorized";
|
|
7802
|
+
403: "Forbidden: Admins only";
|
|
7803
|
+
422: {
|
|
7804
|
+
type: 'validation';
|
|
7805
|
+
on: string;
|
|
7806
|
+
summary?: string;
|
|
7807
|
+
message?: string;
|
|
7808
|
+
found?: unknown;
|
|
7809
|
+
property?: string;
|
|
7810
|
+
expected?: string;
|
|
7811
|
+
};
|
|
7812
|
+
};
|
|
7813
|
+
};
|
|
7814
|
+
};
|
|
7815
|
+
};
|
|
7816
|
+
};
|
|
7817
|
+
} & {
|
|
7818
|
+
news: {
|
|
7819
|
+
":id": {
|
|
7820
|
+
hot: {
|
|
7821
|
+
post: {
|
|
7822
|
+
body: {
|
|
7823
|
+
isHot: boolean;
|
|
7824
|
+
};
|
|
7825
|
+
params: {
|
|
7826
|
+
id: string;
|
|
7827
|
+
};
|
|
7828
|
+
query: {};
|
|
7829
|
+
headers: {};
|
|
7830
|
+
response: {
|
|
7831
|
+
401: "Unauthorized";
|
|
7832
|
+
403: "Forbidden: Admins only";
|
|
7833
|
+
422: {
|
|
7834
|
+
type: 'validation';
|
|
7835
|
+
on: string;
|
|
7836
|
+
summary?: string;
|
|
7837
|
+
message?: string;
|
|
7838
|
+
found?: unknown;
|
|
7839
|
+
property?: string;
|
|
7840
|
+
expected?: string;
|
|
7841
|
+
};
|
|
7842
|
+
};
|
|
7843
|
+
};
|
|
7844
|
+
};
|
|
7845
|
+
};
|
|
7846
|
+
};
|
|
7847
|
+
} & {
|
|
7848
|
+
news: {
|
|
7849
|
+
stats: {
|
|
7850
|
+
get: {
|
|
7851
|
+
body: {};
|
|
7852
|
+
params: {};
|
|
7853
|
+
query: {};
|
|
7854
|
+
headers: {};
|
|
7855
|
+
response: {
|
|
7856
|
+
200: {
|
|
7857
|
+
total: number;
|
|
7858
|
+
published: number;
|
|
7859
|
+
pinned: number;
|
|
7860
|
+
requireConfirmation: number;
|
|
7861
|
+
};
|
|
7862
|
+
401: "Unauthorized";
|
|
7863
|
+
403: "Forbidden: Admins only";
|
|
7864
|
+
};
|
|
7865
|
+
};
|
|
7866
|
+
};
|
|
7867
|
+
};
|
|
7868
|
+
};
|
|
7869
|
+
} & {
|
|
7870
|
+
admin: {
|
|
7871
|
+
content_videos: {};
|
|
7872
|
+
} & {
|
|
7873
|
+
content_videos: {
|
|
7874
|
+
post: {
|
|
7875
|
+
body: {
|
|
7876
|
+
title: string;
|
|
7877
|
+
description?: string | null | undefined;
|
|
7878
|
+
videoFileId: string;
|
|
7879
|
+
coverFileId?: string | undefined;
|
|
7880
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
7881
|
+
isEnabled?: boolean | undefined;
|
|
7882
|
+
sortOrder?: number | undefined;
|
|
7883
|
+
durationSeconds?: number | null | undefined;
|
|
7884
|
+
publishedAt?: Date | null | undefined;
|
|
7885
|
+
};
|
|
7886
|
+
params: {};
|
|
7887
|
+
query: {};
|
|
7888
|
+
headers: {};
|
|
7889
|
+
response: {
|
|
7890
|
+
200: {
|
|
7891
|
+
coverFile?: {
|
|
7892
|
+
id: string;
|
|
7893
|
+
fileName: string | null;
|
|
7894
|
+
mimeType: string | null;
|
|
7895
|
+
fileSize: number | null;
|
|
7896
|
+
publicUrl: string | null;
|
|
7897
|
+
} | undefined;
|
|
7898
|
+
coverFileId: string | null;
|
|
7899
|
+
coverUrl?: string | undefined;
|
|
7900
|
+
createdAt: Date;
|
|
7901
|
+
createdBy: string;
|
|
7902
|
+
description: string | null;
|
|
7903
|
+
durationSeconds: number | null;
|
|
7904
|
+
id: string;
|
|
7905
|
+
isEnabled: boolean;
|
|
7906
|
+
publishedAt: Date | null;
|
|
7907
|
+
sortOrder: number;
|
|
7908
|
+
status: "archived" | "draft" | "published";
|
|
7909
|
+
title: string;
|
|
7910
|
+
updatedAt: Date;
|
|
7911
|
+
videoFile?: {
|
|
7912
|
+
id: string;
|
|
7913
|
+
fileName: string | null;
|
|
7914
|
+
mimeType: string | null;
|
|
7915
|
+
fileSize: number | null;
|
|
7916
|
+
publicUrl: string | null;
|
|
7917
|
+
} | undefined;
|
|
7918
|
+
videoFileId: string;
|
|
7919
|
+
videoUrl?: string | undefined;
|
|
7920
|
+
};
|
|
7921
|
+
401: "Unauthorized";
|
|
7922
|
+
403: "Forbidden: Admins only";
|
|
7923
|
+
422: {
|
|
7924
|
+
type: 'validation';
|
|
7925
|
+
on: string;
|
|
7926
|
+
summary?: string;
|
|
7927
|
+
message?: string;
|
|
7928
|
+
found?: unknown;
|
|
7929
|
+
property?: string;
|
|
7930
|
+
expected?: string;
|
|
7931
|
+
};
|
|
7932
|
+
};
|
|
7933
|
+
};
|
|
7934
|
+
};
|
|
7935
|
+
} & {
|
|
7936
|
+
content_videos: {
|
|
7937
|
+
get: {
|
|
7938
|
+
body: {};
|
|
7939
|
+
params: {};
|
|
7940
|
+
query: {
|
|
7941
|
+
isEnabled?: boolean | undefined;
|
|
7942
|
+
keyword?: string | undefined;
|
|
7943
|
+
limit?: number | undefined;
|
|
7944
|
+
offset?: number | undefined;
|
|
7945
|
+
pageIndex?: number | undefined;
|
|
7946
|
+
pageSize?: number | undefined;
|
|
7947
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
7948
|
+
};
|
|
7949
|
+
headers: {};
|
|
7950
|
+
response: {
|
|
7951
|
+
200: {
|
|
7952
|
+
data: {
|
|
7953
|
+
coverFile?: {
|
|
7954
|
+
id: string;
|
|
7955
|
+
fileName: string | null;
|
|
7956
|
+
mimeType: string | null;
|
|
7957
|
+
fileSize: number | null;
|
|
7958
|
+
publicUrl: string | null;
|
|
7959
|
+
} | undefined;
|
|
7960
|
+
coverFileId: string | null;
|
|
7961
|
+
coverUrl?: string | undefined;
|
|
7962
|
+
createdAt: Date;
|
|
7963
|
+
createdBy: string;
|
|
7964
|
+
description: string | null;
|
|
7965
|
+
durationSeconds: number | null;
|
|
7966
|
+
id: string;
|
|
7967
|
+
isEnabled: boolean;
|
|
7488
7968
|
publishedAt: Date | null;
|
|
7489
|
-
requireReadConfirmation: boolean;
|
|
7490
|
-
scope: string[];
|
|
7491
7969
|
sortOrder: number;
|
|
7492
7970
|
status: "archived" | "draft" | "published";
|
|
7493
|
-
summary: string | null;
|
|
7494
|
-
thumbnailId: string | null;
|
|
7495
7971
|
title: string;
|
|
7496
7972
|
updatedAt: Date;
|
|
7497
|
-
|
|
7973
|
+
videoFile?: {
|
|
7974
|
+
id: string;
|
|
7975
|
+
fileName: string | null;
|
|
7976
|
+
mimeType: string | null;
|
|
7977
|
+
fileSize: number | null;
|
|
7978
|
+
publicUrl: string | null;
|
|
7979
|
+
} | undefined;
|
|
7980
|
+
videoFileId: string;
|
|
7981
|
+
videoUrl?: string | undefined;
|
|
7498
7982
|
}[];
|
|
7499
7983
|
pagination: {
|
|
7500
7984
|
pageSize: number;
|
|
@@ -7519,7 +8003,7 @@ declare const app: Elysia<"/api", {
|
|
|
7519
8003
|
};
|
|
7520
8004
|
};
|
|
7521
8005
|
} & {
|
|
7522
|
-
|
|
8006
|
+
content_videos: {
|
|
7523
8007
|
":id": {
|
|
7524
8008
|
get: {
|
|
7525
8009
|
body: {};
|
|
@@ -7530,71 +8014,35 @@ declare const app: Elysia<"/api", {
|
|
|
7530
8014
|
headers: {};
|
|
7531
8015
|
response: {
|
|
7532
8016
|
200: {
|
|
7533
|
-
|
|
7534
|
-
category: {
|
|
7535
|
-
createdAt: Date;
|
|
7536
|
-
description: string | null;
|
|
7537
|
-
icon: string | null;
|
|
8017
|
+
coverFile?: {
|
|
7538
8018
|
id: string;
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
content: string;
|
|
8019
|
+
fileName: string | null;
|
|
8020
|
+
mimeType: string | null;
|
|
8021
|
+
fileSize: number | null;
|
|
8022
|
+
publicUrl: string | null;
|
|
8023
|
+
} | undefined;
|
|
8024
|
+
coverFileId: string | null;
|
|
8025
|
+
coverUrl?: string | undefined;
|
|
7547
8026
|
createdAt: Date;
|
|
7548
8027
|
createdBy: string;
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
externalUrl: string | null;
|
|
7552
|
-
hasVideo: boolean;
|
|
8028
|
+
description: string | null;
|
|
8029
|
+
durationSeconds: number | null;
|
|
7553
8030
|
id: string;
|
|
7554
|
-
|
|
7555
|
-
isPinned: boolean;
|
|
8031
|
+
isEnabled: boolean;
|
|
7556
8032
|
publishedAt: Date | null;
|
|
7557
|
-
requireReadConfirmation: boolean;
|
|
7558
|
-
scope: string[];
|
|
7559
8033
|
sortOrder: number;
|
|
7560
8034
|
status: "archived" | "draft" | "published";
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
archivedAt: Date | null;
|
|
7565
|
-
businessId: string | null;
|
|
7566
|
-
businessMetadata: string | null;
|
|
7567
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
7568
|
-
createdAt: Date;
|
|
7569
|
-
deletedAt: Date | null;
|
|
7570
|
-
downloadCount: number | null;
|
|
7571
|
-
fileExtension: string | null;
|
|
7572
|
-
fileHash: string | null;
|
|
7573
|
-
fileName: string | null;
|
|
7574
|
-
fileSize: number | null;
|
|
8035
|
+
title: string;
|
|
8036
|
+
updatedAt: Date;
|
|
8037
|
+
videoFile?: {
|
|
7575
8038
|
id: string;
|
|
7576
|
-
|
|
7577
|
-
lastDownloadedAt: Date | null;
|
|
8039
|
+
fileName: string | null;
|
|
7578
8040
|
mimeType: string | null;
|
|
7579
|
-
|
|
8041
|
+
fileSize: number | null;
|
|
7580
8042
|
publicUrl: string | null;
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
s3Region: string;
|
|
7585
|
-
status: "active" | "archived" | "pending_deletion" | "uploading" | null;
|
|
7586
|
-
thumbnailUrl: string | null;
|
|
7587
|
-
updatedAt: Date;
|
|
7588
|
-
uploadCompletedAt: Date | null;
|
|
7589
|
-
uploadIpAddress: string | null;
|
|
7590
|
-
verificationNote: string | null;
|
|
7591
|
-
verifiedAt: Date | null;
|
|
7592
|
-
verifiedBy: string | null;
|
|
7593
|
-
} | null;
|
|
7594
|
-
thumbnailId: string | null;
|
|
7595
|
-
title: string;
|
|
7596
|
-
updatedAt: Date;
|
|
7597
|
-
viewCount: number;
|
|
8043
|
+
} | undefined;
|
|
8044
|
+
videoFileId: string;
|
|
8045
|
+
videoUrl?: string | undefined;
|
|
7598
8046
|
};
|
|
7599
8047
|
401: "Unauthorized";
|
|
7600
8048
|
403: "Forbidden: Admins only";
|
|
@@ -7612,53 +8060,20 @@ declare const app: Elysia<"/api", {
|
|
|
7612
8060
|
};
|
|
7613
8061
|
};
|
|
7614
8062
|
} & {
|
|
7615
|
-
|
|
8063
|
+
content_videos: {
|
|
7616
8064
|
":id": {
|
|
7617
8065
|
patch: {
|
|
7618
8066
|
body: {
|
|
7619
8067
|
title?: string | undefined;
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
8068
|
+
description?: string | null | undefined;
|
|
8069
|
+
videoFileId?: string | undefined;
|
|
8070
|
+
coverFileId?: string | undefined;
|
|
7623
8071
|
status?: "archived" | "draft" | "published" | undefined;
|
|
7624
|
-
|
|
7625
|
-
isPinned?: boolean | undefined;
|
|
7626
|
-
isHot?: boolean | undefined;
|
|
7627
|
-
hasVideo?: boolean | undefined;
|
|
8072
|
+
isEnabled?: boolean | undefined;
|
|
7628
8073
|
sortOrder?: number | undefined;
|
|
7629
|
-
|
|
7630
|
-
externalUrl?: string | null | undefined;
|
|
8074
|
+
durationSeconds?: number | null | undefined;
|
|
7631
8075
|
publishedAt?: Date | null | undefined;
|
|
7632
|
-
expiresAt?: Date | null | undefined;
|
|
7633
|
-
thumbnailId?: string | null | undefined;
|
|
7634
|
-
attachmentIds?: string[] | null | undefined;
|
|
7635
|
-
};
|
|
7636
|
-
params: {
|
|
7637
|
-
id: string;
|
|
7638
|
-
};
|
|
7639
|
-
query: {};
|
|
7640
|
-
headers: {};
|
|
7641
|
-
response: {
|
|
7642
|
-
401: "Unauthorized";
|
|
7643
|
-
403: "Forbidden: Admins only";
|
|
7644
|
-
422: {
|
|
7645
|
-
type: 'validation';
|
|
7646
|
-
on: string;
|
|
7647
|
-
summary?: string;
|
|
7648
|
-
message?: string;
|
|
7649
|
-
found?: unknown;
|
|
7650
|
-
property?: string;
|
|
7651
|
-
expected?: string;
|
|
7652
|
-
};
|
|
7653
8076
|
};
|
|
7654
|
-
};
|
|
7655
|
-
};
|
|
7656
|
-
};
|
|
7657
|
-
} & {
|
|
7658
|
-
news: {
|
|
7659
|
-
":id": {
|
|
7660
|
-
delete: {
|
|
7661
|
-
body: {};
|
|
7662
8077
|
params: {
|
|
7663
8078
|
id: string;
|
|
7664
8079
|
};
|
|
@@ -7666,7 +8081,35 @@ declare const app: Elysia<"/api", {
|
|
|
7666
8081
|
headers: {};
|
|
7667
8082
|
response: {
|
|
7668
8083
|
200: {
|
|
7669
|
-
|
|
8084
|
+
coverFile?: {
|
|
8085
|
+
id: string;
|
|
8086
|
+
fileName: string | null;
|
|
8087
|
+
mimeType: string | null;
|
|
8088
|
+
fileSize: number | null;
|
|
8089
|
+
publicUrl: string | null;
|
|
8090
|
+
} | undefined;
|
|
8091
|
+
coverFileId: string | null;
|
|
8092
|
+
coverUrl?: string | undefined;
|
|
8093
|
+
createdAt: Date;
|
|
8094
|
+
createdBy: string;
|
|
8095
|
+
description: string | null;
|
|
8096
|
+
durationSeconds: number | null;
|
|
8097
|
+
id: string;
|
|
8098
|
+
isEnabled: boolean;
|
|
8099
|
+
publishedAt: Date | null;
|
|
8100
|
+
sortOrder: number;
|
|
8101
|
+
status: "archived" | "draft" | "published";
|
|
8102
|
+
title: string;
|
|
8103
|
+
updatedAt: Date;
|
|
8104
|
+
videoFile?: {
|
|
8105
|
+
id: string;
|
|
8106
|
+
fileName: string | null;
|
|
8107
|
+
mimeType: string | null;
|
|
8108
|
+
fileSize: number | null;
|
|
8109
|
+
publicUrl: string | null;
|
|
8110
|
+
} | undefined;
|
|
8111
|
+
videoFileId: string;
|
|
8112
|
+
videoUrl?: string | undefined;
|
|
7670
8113
|
};
|
|
7671
8114
|
401: "Unauthorized";
|
|
7672
8115
|
403: "Forbidden: Admins only";
|
|
@@ -7684,20 +8127,48 @@ declare const app: Elysia<"/api", {
|
|
|
7684
8127
|
};
|
|
7685
8128
|
};
|
|
7686
8129
|
} & {
|
|
7687
|
-
|
|
8130
|
+
content_videos: {
|
|
7688
8131
|
":id": {
|
|
7689
|
-
|
|
8132
|
+
publish: {
|
|
7690
8133
|
post: {
|
|
7691
|
-
body: {
|
|
7692
|
-
isPinned: boolean;
|
|
7693
|
-
sortOrder?: number | undefined;
|
|
7694
|
-
};
|
|
8134
|
+
body: {};
|
|
7695
8135
|
params: {
|
|
7696
8136
|
id: string;
|
|
7697
8137
|
};
|
|
7698
8138
|
query: {};
|
|
7699
8139
|
headers: {};
|
|
7700
8140
|
response: {
|
|
8141
|
+
200: {
|
|
8142
|
+
coverFile?: {
|
|
8143
|
+
id: string;
|
|
8144
|
+
fileName: string | null;
|
|
8145
|
+
mimeType: string | null;
|
|
8146
|
+
fileSize: number | null;
|
|
8147
|
+
publicUrl: string | null;
|
|
8148
|
+
} | undefined;
|
|
8149
|
+
coverFileId: string | null;
|
|
8150
|
+
coverUrl?: string | undefined;
|
|
8151
|
+
createdAt: Date;
|
|
8152
|
+
createdBy: string;
|
|
8153
|
+
description: string | null;
|
|
8154
|
+
durationSeconds: number | null;
|
|
8155
|
+
id: string;
|
|
8156
|
+
isEnabled: boolean;
|
|
8157
|
+
publishedAt: Date | null;
|
|
8158
|
+
sortOrder: number;
|
|
8159
|
+
status: "archived" | "draft" | "published";
|
|
8160
|
+
title: string;
|
|
8161
|
+
updatedAt: Date;
|
|
8162
|
+
videoFile?: {
|
|
8163
|
+
id: string;
|
|
8164
|
+
fileName: string | null;
|
|
8165
|
+
mimeType: string | null;
|
|
8166
|
+
fileSize: number | null;
|
|
8167
|
+
publicUrl: string | null;
|
|
8168
|
+
} | undefined;
|
|
8169
|
+
videoFileId: string;
|
|
8170
|
+
videoUrl?: string | undefined;
|
|
8171
|
+
};
|
|
7701
8172
|
401: "Unauthorized";
|
|
7702
8173
|
403: "Forbidden: Admins only";
|
|
7703
8174
|
422: {
|
|
@@ -7715,19 +8186,48 @@ declare const app: Elysia<"/api", {
|
|
|
7715
8186
|
};
|
|
7716
8187
|
};
|
|
7717
8188
|
} & {
|
|
7718
|
-
|
|
8189
|
+
content_videos: {
|
|
7719
8190
|
":id": {
|
|
7720
|
-
|
|
8191
|
+
archive: {
|
|
7721
8192
|
post: {
|
|
7722
|
-
body: {
|
|
7723
|
-
isHot: boolean;
|
|
7724
|
-
};
|
|
8193
|
+
body: {};
|
|
7725
8194
|
params: {
|
|
7726
8195
|
id: string;
|
|
7727
8196
|
};
|
|
7728
8197
|
query: {};
|
|
7729
8198
|
headers: {};
|
|
7730
8199
|
response: {
|
|
8200
|
+
200: {
|
|
8201
|
+
coverFile?: {
|
|
8202
|
+
id: string;
|
|
8203
|
+
fileName: string | null;
|
|
8204
|
+
mimeType: string | null;
|
|
8205
|
+
fileSize: number | null;
|
|
8206
|
+
publicUrl: string | null;
|
|
8207
|
+
} | undefined;
|
|
8208
|
+
coverFileId: string | null;
|
|
8209
|
+
coverUrl?: string | undefined;
|
|
8210
|
+
createdAt: Date;
|
|
8211
|
+
createdBy: string;
|
|
8212
|
+
description: string | null;
|
|
8213
|
+
durationSeconds: number | null;
|
|
8214
|
+
id: string;
|
|
8215
|
+
isEnabled: boolean;
|
|
8216
|
+
publishedAt: Date | null;
|
|
8217
|
+
sortOrder: number;
|
|
8218
|
+
status: "archived" | "draft" | "published";
|
|
8219
|
+
title: string;
|
|
8220
|
+
updatedAt: Date;
|
|
8221
|
+
videoFile?: {
|
|
8222
|
+
id: string;
|
|
8223
|
+
fileName: string | null;
|
|
8224
|
+
mimeType: string | null;
|
|
8225
|
+
fileSize: number | null;
|
|
8226
|
+
publicUrl: string | null;
|
|
8227
|
+
} | undefined;
|
|
8228
|
+
videoFileId: string;
|
|
8229
|
+
videoUrl?: string | undefined;
|
|
8230
|
+
};
|
|
7731
8231
|
401: "Unauthorized";
|
|
7732
8232
|
403: "Forbidden: Admins only";
|
|
7733
8233
|
422: {
|
|
@@ -7745,22 +8245,30 @@ declare const app: Elysia<"/api", {
|
|
|
7745
8245
|
};
|
|
7746
8246
|
};
|
|
7747
8247
|
} & {
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
8248
|
+
content_videos: {
|
|
8249
|
+
":id": {
|
|
8250
|
+
delete: {
|
|
7751
8251
|
body: {};
|
|
7752
|
-
params: {
|
|
8252
|
+
params: {
|
|
8253
|
+
id: string;
|
|
8254
|
+
};
|
|
7753
8255
|
query: {};
|
|
7754
8256
|
headers: {};
|
|
7755
8257
|
response: {
|
|
7756
8258
|
200: {
|
|
7757
|
-
|
|
7758
|
-
published: number;
|
|
7759
|
-
pinned: number;
|
|
7760
|
-
requireConfirmation: number;
|
|
8259
|
+
success: boolean;
|
|
7761
8260
|
};
|
|
7762
8261
|
401: "Unauthorized";
|
|
7763
8262
|
403: "Forbidden: Admins only";
|
|
8263
|
+
422: {
|
|
8264
|
+
type: 'validation';
|
|
8265
|
+
on: string;
|
|
8266
|
+
summary?: string;
|
|
8267
|
+
message?: string;
|
|
8268
|
+
found?: unknown;
|
|
8269
|
+
property?: string;
|
|
8270
|
+
expected?: string;
|
|
8271
|
+
};
|
|
7764
8272
|
};
|
|
7765
8273
|
};
|
|
7766
8274
|
};
|
|
@@ -8174,7 +8682,7 @@ declare const app: Elysia<"/api", {
|
|
|
8174
8682
|
offset?: number | undefined;
|
|
8175
8683
|
pageSize?: number | undefined;
|
|
8176
8684
|
pageIndex?: number | undefined;
|
|
8177
|
-
businessType?: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
8685
|
+
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
8178
8686
|
businessId?: string | undefined;
|
|
8179
8687
|
status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
|
|
8180
8688
|
accessControl?: "private" | "public" | "restricted" | null | undefined;
|
|
@@ -8188,7 +8696,7 @@ declare const app: Elysia<"/api", {
|
|
|
8188
8696
|
archivedAt: Date | null;
|
|
8189
8697
|
businessId: string | null;
|
|
8190
8698
|
businessMetadata: string | null;
|
|
8191
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
8699
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
8192
8700
|
createdAt: Date;
|
|
8193
8701
|
deletedAt: Date | null;
|
|
8194
8702
|
downloadCount: number | null;
|
|
@@ -10430,18 +10938,89 @@ declare const app: Elysia<"/api", {
|
|
|
10430
10938
|
referralCode: string | null;
|
|
10431
10939
|
} | undefined;
|
|
10432
10940
|
};
|
|
10433
|
-
userId: string;
|
|
10434
|
-
};
|
|
10435
|
-
401: "Unauthorized";
|
|
10436
|
-
403: "Forbidden: Admins only";
|
|
10437
|
-
422: {
|
|
10438
|
-
type: 'validation';
|
|
10439
|
-
on: string;
|
|
10440
|
-
summary?: string;
|
|
10441
|
-
message?: string;
|
|
10442
|
-
found?: unknown;
|
|
10443
|
-
property?: string;
|
|
10444
|
-
expected?: string;
|
|
10941
|
+
userId: string;
|
|
10942
|
+
};
|
|
10943
|
+
401: "Unauthorized";
|
|
10944
|
+
403: "Forbidden: Admins only";
|
|
10945
|
+
422: {
|
|
10946
|
+
type: 'validation';
|
|
10947
|
+
on: string;
|
|
10948
|
+
summary?: string;
|
|
10949
|
+
message?: string;
|
|
10950
|
+
found?: unknown;
|
|
10951
|
+
property?: string;
|
|
10952
|
+
expected?: string;
|
|
10953
|
+
};
|
|
10954
|
+
};
|
|
10955
|
+
};
|
|
10956
|
+
};
|
|
10957
|
+
};
|
|
10958
|
+
};
|
|
10959
|
+
} & {
|
|
10960
|
+
lock_activity: {
|
|
10961
|
+
participations: {
|
|
10962
|
+
":id": {
|
|
10963
|
+
"issue-reward": {
|
|
10964
|
+
post: {
|
|
10965
|
+
body: {};
|
|
10966
|
+
params: {
|
|
10967
|
+
id: string;
|
|
10968
|
+
};
|
|
10969
|
+
query: {};
|
|
10970
|
+
headers: {};
|
|
10971
|
+
response: {
|
|
10972
|
+
200: {
|
|
10973
|
+
activity: {
|
|
10974
|
+
id: string;
|
|
10975
|
+
title: string;
|
|
10976
|
+
startAt: Date;
|
|
10977
|
+
endAt: Date;
|
|
10978
|
+
status: "active" | "cancelled" | "draft" | "ended";
|
|
10979
|
+
};
|
|
10980
|
+
activityId: string;
|
|
10981
|
+
adminRemark: string | null;
|
|
10982
|
+
createdAt: Date;
|
|
10983
|
+
id: string;
|
|
10984
|
+
inviteCode: string;
|
|
10985
|
+
inviter?: {
|
|
10986
|
+
id: string;
|
|
10987
|
+
email: string;
|
|
10988
|
+
username: string | null;
|
|
10989
|
+
} | undefined;
|
|
10990
|
+
inviterMatched: boolean;
|
|
10991
|
+
inviterUserId: string | null;
|
|
10992
|
+
isIdempotent: boolean;
|
|
10993
|
+
ledgerEntryId: string;
|
|
10994
|
+
rejectReason: string | null;
|
|
10995
|
+
reviewedAt: Date | null;
|
|
10996
|
+
rewardAmount: string;
|
|
10997
|
+
rewardIssuedAt: Date | null;
|
|
10998
|
+
status: "rejected" | "reward_issued" | "submitted" | "under_review";
|
|
10999
|
+
submittedAt: Date;
|
|
11000
|
+
updatedAt: Date;
|
|
11001
|
+
user: {
|
|
11002
|
+
id: string;
|
|
11003
|
+
email: string;
|
|
11004
|
+
username: string | null;
|
|
11005
|
+
profile?: {
|
|
11006
|
+
uid: string;
|
|
11007
|
+
country: string | null;
|
|
11008
|
+
referralCode: string | null;
|
|
11009
|
+
} | undefined;
|
|
11010
|
+
};
|
|
11011
|
+
userId: string;
|
|
11012
|
+
};
|
|
11013
|
+
401: "Unauthorized";
|
|
11014
|
+
403: "Forbidden: Admins only";
|
|
11015
|
+
422: {
|
|
11016
|
+
type: 'validation';
|
|
11017
|
+
on: string;
|
|
11018
|
+
summary?: string;
|
|
11019
|
+
message?: string;
|
|
11020
|
+
found?: unknown;
|
|
11021
|
+
property?: string;
|
|
11022
|
+
expected?: string;
|
|
11023
|
+
};
|
|
10445
11024
|
};
|
|
10446
11025
|
};
|
|
10447
11026
|
};
|
|
@@ -14052,7 +14631,7 @@ declare const app: Elysia<"/api", {
|
|
|
14052
14631
|
assetId: string;
|
|
14053
14632
|
fromAccountId: string | null;
|
|
14054
14633
|
toAccountId: string | null;
|
|
14055
|
-
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
14634
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "lock_activity_reward_payout" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
14056
14635
|
amount: string;
|
|
14057
14636
|
fromAvailableBefore: string | null;
|
|
14058
14637
|
fromAvailableAfter: string | null;
|
|
@@ -14063,7 +14642,7 @@ declare const app: Elysia<"/api", {
|
|
|
14063
14642
|
toLockedBefore: string | null;
|
|
14064
14643
|
toLockedAfter: string | null;
|
|
14065
14644
|
referenceId: string;
|
|
14066
|
-
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
14645
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
14067
14646
|
idempotencyKey: string;
|
|
14068
14647
|
operatorId: string | null;
|
|
14069
14648
|
memo: string | null;
|
|
@@ -15219,6 +15798,190 @@ declare const app: Elysia<"/api", {
|
|
|
15219
15798
|
};
|
|
15220
15799
|
};
|
|
15221
15800
|
};
|
|
15801
|
+
} & {
|
|
15802
|
+
api: {
|
|
15803
|
+
referrals: {};
|
|
15804
|
+
} & {
|
|
15805
|
+
referrals: {
|
|
15806
|
+
code: {
|
|
15807
|
+
check: {
|
|
15808
|
+
get: {
|
|
15809
|
+
body: {};
|
|
15810
|
+
params: {};
|
|
15811
|
+
query: {
|
|
15812
|
+
referralCode: string;
|
|
15813
|
+
};
|
|
15814
|
+
headers: {};
|
|
15815
|
+
response: {
|
|
15816
|
+
200: {
|
|
15817
|
+
exists: boolean;
|
|
15818
|
+
};
|
|
15819
|
+
422: {
|
|
15820
|
+
type: 'validation';
|
|
15821
|
+
on: string;
|
|
15822
|
+
summary?: string;
|
|
15823
|
+
message?: string;
|
|
15824
|
+
found?: unknown;
|
|
15825
|
+
property?: string;
|
|
15826
|
+
expected?: string;
|
|
15827
|
+
};
|
|
15828
|
+
};
|
|
15829
|
+
};
|
|
15830
|
+
};
|
|
15831
|
+
};
|
|
15832
|
+
};
|
|
15833
|
+
} & {
|
|
15834
|
+
referrals: {
|
|
15835
|
+
code: {
|
|
15836
|
+
check: {
|
|
15837
|
+
post: {
|
|
15838
|
+
body: {
|
|
15839
|
+
referralCode: string;
|
|
15840
|
+
};
|
|
15841
|
+
params: {};
|
|
15842
|
+
query: {};
|
|
15843
|
+
headers: {};
|
|
15844
|
+
response: {
|
|
15845
|
+
200: {
|
|
15846
|
+
exists: boolean;
|
|
15847
|
+
};
|
|
15848
|
+
422: {
|
|
15849
|
+
type: 'validation';
|
|
15850
|
+
on: string;
|
|
15851
|
+
summary?: string;
|
|
15852
|
+
message?: string;
|
|
15853
|
+
found?: unknown;
|
|
15854
|
+
property?: string;
|
|
15855
|
+
expected?: string;
|
|
15856
|
+
};
|
|
15857
|
+
};
|
|
15858
|
+
};
|
|
15859
|
+
};
|
|
15860
|
+
};
|
|
15861
|
+
};
|
|
15862
|
+
} & {
|
|
15863
|
+
referrals: {
|
|
15864
|
+
bind: {
|
|
15865
|
+
post: {
|
|
15866
|
+
body: {
|
|
15867
|
+
referralCode: string;
|
|
15868
|
+
};
|
|
15869
|
+
params: {};
|
|
15870
|
+
query: {};
|
|
15871
|
+
headers: {};
|
|
15872
|
+
response: {
|
|
15873
|
+
200: {
|
|
15874
|
+
userId: string;
|
|
15875
|
+
inviterId: string;
|
|
15876
|
+
depth: number;
|
|
15877
|
+
boundAt: Date;
|
|
15878
|
+
referralCode: string;
|
|
15879
|
+
};
|
|
15880
|
+
401: "Unauthorized";
|
|
15881
|
+
422: {
|
|
15882
|
+
type: 'validation';
|
|
15883
|
+
on: string;
|
|
15884
|
+
summary?: string;
|
|
15885
|
+
message?: string;
|
|
15886
|
+
found?: unknown;
|
|
15887
|
+
property?: string;
|
|
15888
|
+
expected?: string;
|
|
15889
|
+
};
|
|
15890
|
+
};
|
|
15891
|
+
};
|
|
15892
|
+
};
|
|
15893
|
+
};
|
|
15894
|
+
} & {
|
|
15895
|
+
referrals: {
|
|
15896
|
+
summary: {
|
|
15897
|
+
get: {
|
|
15898
|
+
body: {};
|
|
15899
|
+
params: {};
|
|
15900
|
+
query: {};
|
|
15901
|
+
headers: {};
|
|
15902
|
+
response: {
|
|
15903
|
+
200: {
|
|
15904
|
+
referralCode: string;
|
|
15905
|
+
referredBy?: string | undefined;
|
|
15906
|
+
level1Count: number;
|
|
15907
|
+
level2Count: number;
|
|
15908
|
+
level3Count: number;
|
|
15909
|
+
totalCount: number;
|
|
15910
|
+
};
|
|
15911
|
+
401: "Unauthorized";
|
|
15912
|
+
422: {
|
|
15913
|
+
type: 'validation';
|
|
15914
|
+
on: string;
|
|
15915
|
+
summary?: string;
|
|
15916
|
+
message?: string;
|
|
15917
|
+
found?: unknown;
|
|
15918
|
+
property?: string;
|
|
15919
|
+
expected?: string;
|
|
15920
|
+
};
|
|
15921
|
+
};
|
|
15922
|
+
};
|
|
15923
|
+
};
|
|
15924
|
+
};
|
|
15925
|
+
} & {
|
|
15926
|
+
referrals: {
|
|
15927
|
+
members: {
|
|
15928
|
+
get: {
|
|
15929
|
+
body: {};
|
|
15930
|
+
params: {};
|
|
15931
|
+
query: {
|
|
15932
|
+
limit?: number | undefined;
|
|
15933
|
+
maxDepth?: number | undefined;
|
|
15934
|
+
offset?: number | undefined;
|
|
15935
|
+
pageIndex?: number | undefined;
|
|
15936
|
+
pageSize?: number | undefined;
|
|
15937
|
+
};
|
|
15938
|
+
headers: {};
|
|
15939
|
+
response: {
|
|
15940
|
+
200: {
|
|
15941
|
+
data: {
|
|
15942
|
+
depth: number;
|
|
15943
|
+
user: {
|
|
15944
|
+
id: string;
|
|
15945
|
+
name: string;
|
|
15946
|
+
email: string;
|
|
15947
|
+
emailVerified: boolean;
|
|
15948
|
+
image: string | null;
|
|
15949
|
+
createdAt: Date;
|
|
15950
|
+
updatedAt: Date;
|
|
15951
|
+
twoFactorEnabled: boolean | null;
|
|
15952
|
+
username: string | null;
|
|
15953
|
+
displayUsername: string | null;
|
|
15954
|
+
phoneNumber: string | null;
|
|
15955
|
+
phoneNumberVerified: boolean | null;
|
|
15956
|
+
role: string | null;
|
|
15957
|
+
banned: boolean | null;
|
|
15958
|
+
banReason: string | null;
|
|
15959
|
+
banExpires: Date | null;
|
|
15960
|
+
};
|
|
15961
|
+
}[];
|
|
15962
|
+
pagination: {
|
|
15963
|
+
pageSize: number;
|
|
15964
|
+
pageIndex: number;
|
|
15965
|
+
total: number;
|
|
15966
|
+
totalPages: number;
|
|
15967
|
+
hasNextPage: boolean;
|
|
15968
|
+
};
|
|
15969
|
+
};
|
|
15970
|
+
401: "Unauthorized";
|
|
15971
|
+
422: {
|
|
15972
|
+
type: 'validation';
|
|
15973
|
+
on: string;
|
|
15974
|
+
summary?: string;
|
|
15975
|
+
message?: string;
|
|
15976
|
+
found?: unknown;
|
|
15977
|
+
property?: string;
|
|
15978
|
+
expected?: string;
|
|
15979
|
+
};
|
|
15980
|
+
};
|
|
15981
|
+
};
|
|
15982
|
+
};
|
|
15983
|
+
};
|
|
15984
|
+
};
|
|
15222
15985
|
} & {
|
|
15223
15986
|
api: {
|
|
15224
15987
|
team: {};
|
|
@@ -15974,6 +16737,92 @@ declare const app: Elysia<"/api", {
|
|
|
15974
16737
|
};
|
|
15975
16738
|
};
|
|
15976
16739
|
};
|
|
16740
|
+
} & {
|
|
16741
|
+
api: {
|
|
16742
|
+
content_videos: {};
|
|
16743
|
+
} & {
|
|
16744
|
+
content_videos: {
|
|
16745
|
+
get: {
|
|
16746
|
+
body: {};
|
|
16747
|
+
params: {};
|
|
16748
|
+
query: {
|
|
16749
|
+
limit?: number | undefined;
|
|
16750
|
+
offset?: number | undefined;
|
|
16751
|
+
pageSize?: number | undefined;
|
|
16752
|
+
pageIndex?: number | undefined;
|
|
16753
|
+
};
|
|
16754
|
+
headers: {};
|
|
16755
|
+
response: {
|
|
16756
|
+
200: {
|
|
16757
|
+
data: {
|
|
16758
|
+
id: string;
|
|
16759
|
+
title: string;
|
|
16760
|
+
description?: string | undefined;
|
|
16761
|
+
videoUrl: string;
|
|
16762
|
+
coverUrl?: string | undefined;
|
|
16763
|
+
mimeType?: string | undefined;
|
|
16764
|
+
fileSize?: number | undefined;
|
|
16765
|
+
durationSeconds?: number | undefined;
|
|
16766
|
+
sortOrder: number;
|
|
16767
|
+
publishedAt?: Date | undefined;
|
|
16768
|
+
}[];
|
|
16769
|
+
pagination: {
|
|
16770
|
+
pageSize: number;
|
|
16771
|
+
pageIndex: number;
|
|
16772
|
+
total: number;
|
|
16773
|
+
totalPages: number;
|
|
16774
|
+
hasNextPage: boolean;
|
|
16775
|
+
};
|
|
16776
|
+
};
|
|
16777
|
+
422: {
|
|
16778
|
+
type: 'validation';
|
|
16779
|
+
on: string;
|
|
16780
|
+
summary?: string;
|
|
16781
|
+
message?: string;
|
|
16782
|
+
found?: unknown;
|
|
16783
|
+
property?: string;
|
|
16784
|
+
expected?: string;
|
|
16785
|
+
};
|
|
16786
|
+
};
|
|
16787
|
+
};
|
|
16788
|
+
};
|
|
16789
|
+
} & {
|
|
16790
|
+
content_videos: {
|
|
16791
|
+
":id": {
|
|
16792
|
+
get: {
|
|
16793
|
+
body: {};
|
|
16794
|
+
params: {
|
|
16795
|
+
id: string;
|
|
16796
|
+
};
|
|
16797
|
+
query: {};
|
|
16798
|
+
headers: {};
|
|
16799
|
+
response: {
|
|
16800
|
+
200: {
|
|
16801
|
+
id: string;
|
|
16802
|
+
title: string;
|
|
16803
|
+
description?: string | undefined;
|
|
16804
|
+
videoUrl: string;
|
|
16805
|
+
coverUrl?: string | undefined;
|
|
16806
|
+
mimeType?: string | undefined;
|
|
16807
|
+
fileSize?: number | undefined;
|
|
16808
|
+
durationSeconds?: number | undefined;
|
|
16809
|
+
sortOrder: number;
|
|
16810
|
+
publishedAt?: Date | undefined;
|
|
16811
|
+
};
|
|
16812
|
+
422: {
|
|
16813
|
+
type: 'validation';
|
|
16814
|
+
on: string;
|
|
16815
|
+
summary?: string;
|
|
16816
|
+
message?: string;
|
|
16817
|
+
found?: unknown;
|
|
16818
|
+
property?: string;
|
|
16819
|
+
expected?: string;
|
|
16820
|
+
};
|
|
16821
|
+
};
|
|
16822
|
+
};
|
|
16823
|
+
};
|
|
16824
|
+
};
|
|
16825
|
+
};
|
|
15977
16826
|
} & {
|
|
15978
16827
|
api: {
|
|
15979
16828
|
file_storage: {};
|
|
@@ -15988,7 +16837,7 @@ declare const app: Elysia<"/api", {
|
|
|
15988
16837
|
offset?: number | undefined;
|
|
15989
16838
|
pageSize?: number | undefined;
|
|
15990
16839
|
pageIndex?: number | undefined;
|
|
15991
|
-
businessType?: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
16840
|
+
businessType?: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt" | undefined;
|
|
15992
16841
|
businessId?: string | undefined;
|
|
15993
16842
|
status?: "active" | "archived" | "pending_deletion" | "uploading" | null | undefined;
|
|
15994
16843
|
accessControl?: "private" | "public" | "restricted" | null | undefined;
|
|
@@ -16011,7 +16860,7 @@ declare const app: Elysia<"/api", {
|
|
|
16011
16860
|
s3Key: string;
|
|
16012
16861
|
s3Region: string;
|
|
16013
16862
|
s3ETag: string | null;
|
|
16014
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
16863
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
16015
16864
|
businessId: string | null;
|
|
16016
16865
|
businessMetadata: string | null;
|
|
16017
16866
|
ownerId: string;
|
|
@@ -16076,7 +16925,7 @@ declare const app: Elysia<"/api", {
|
|
|
16076
16925
|
s3Key: string;
|
|
16077
16926
|
s3Region: string;
|
|
16078
16927
|
s3ETag: string | null;
|
|
16079
|
-
businessType: "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
16928
|
+
businessType: "app_video" | "avatar" | "bank_verification" | "contract" | "cover_image" | "export_report" | "financial_report" | "kyc_document" | "ledger_account_import" | "news_attachment" | "notification_attachment" | "other" | "transaction_receipt";
|
|
16080
16929
|
businessId: string | null;
|
|
16081
16930
|
businessMetadata: string | null;
|
|
16082
16931
|
ownerId: string;
|