@r2wa-org/eden 0.0.100 → 0.0.102

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 (35) hide show
  1. package/dist/admin/index.d.ts +282 -365
  2. package/dist/asset-convert-product/admin/dto.schemas.d.ts +12 -0
  3. package/dist/asset-convert-product/admin/router.d.ts +13 -25
  4. package/dist/asset-convert-product/admin/service.d.ts +12 -12
  5. package/dist/auth/better-auth.d.ts +6 -6
  6. package/dist/auth/permissions.d.ts +5 -5
  7. package/dist/auth/roles.d.ts +15 -15
  8. package/dist/check-in/admin/reward.dto.schemas.d.ts +113 -86
  9. package/dist/check-in/admin/reward.router.d.ts +266 -349
  10. package/dist/check-in/admin/reward.service.d.ts +11 -57
  11. package/dist/check-in/admin/router.d.ts +266 -349
  12. package/dist/check-in/constants.d.ts +2 -0
  13. package/dist/check-in/errors/index.d.ts +1 -0
  14. package/dist/check-in/errors/locales/zh.d.ts +1 -0
  15. package/dist/check-in/index.d.ts +2 -0
  16. package/dist/check-in/internal/reward-config.service.d.ts +31 -0
  17. package/dist/check-in/internal/reward.service.d.ts +31 -0
  18. package/dist/check-in/permissions.d.ts +1 -1
  19. package/dist/check-in/user/dto.schemas.d.ts +3 -22
  20. package/dist/check-in/user/router.d.ts +3 -10
  21. package/dist/check-in/user/service.d.ts +3 -4
  22. package/dist/content-video/user/router.d.ts +1 -13
  23. package/dist/file-storage/user/router.d.ts +13 -1
  24. package/dist/index.d.ts +287 -377
  25. package/dist/ledger/admin/dto.schemas.d.ts +12 -0
  26. package/dist/ledger/admin/router.d.ts +4 -4
  27. package/dist/ledger/db.schemas.d.ts +8 -8
  28. package/dist/ledger/schema.d.ts +6 -6
  29. package/dist/ledger/user/dto.schemas.d.ts +8 -8
  30. package/dist/ledger/user/router.d.ts +2 -2
  31. package/dist/ledger/user/service.d.ts +2 -2
  32. package/dist/referral/admin/router.d.ts +1 -13
  33. package/dist/team/user/router.d.ts +13 -1
  34. package/dist/welfare-cycle/admin/router.d.ts +13 -1
  35. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -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" | "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";
2202
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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" | "lock_activity_participation" | "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" | "user_check_in" | "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" | "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";
2211
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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" | "lock_activity_participation" | "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" | "user_check_in" | "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" | "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";
2373
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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" | "lock_activity_participation" | "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" | "user_check_in" | "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" | "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";
2382
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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" | "lock_activity_participation" | "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" | "user_check_in" | "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" | "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";
2538
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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" | "lock_activity_participation" | "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" | "user_check_in" | "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" | "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";
2547
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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" | "lock_activity_participation" | "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" | "user_check_in" | "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;
@@ -4374,26 +4374,8 @@ declare const app: Elysia<"/api", {
4374
4374
  "reward-plans": {};
4375
4375
  } & {
4376
4376
  "reward-plans": {
4377
- post: {
4378
- body: {
4379
- checkInType?: "app" | "meeting" | undefined;
4380
- dailyPayoutAccountTypeId: string;
4381
- dailyRewardAmount: string;
4382
- dailyRewardCategory?: string | undefined;
4383
- isEnabled?: boolean | undefined;
4384
- name: string;
4385
- rewardAssetId: string;
4386
- rules?: {
4387
- ruleType: "consecutive" | "cumulative";
4388
- thresholdDays: number;
4389
- rewardAmount: string;
4390
- rewardCategory?: string | undefined;
4391
- payoutAccountTypeId: string;
4392
- isEnabled?: boolean | undefined;
4393
- sortOrder?: number | undefined;
4394
- }[] | undefined;
4395
- sortOrder?: number | undefined;
4396
- };
4377
+ get: {
4378
+ body: {};
4397
4379
  params: {};
4398
4380
  query: {};
4399
4381
  headers: {};
@@ -4467,7 +4449,7 @@ declare const app: Elysia<"/api", {
4467
4449
  name: string;
4468
4450
  email: string;
4469
4451
  } | null;
4470
- };
4452
+ } | null;
4471
4453
  401: "Unauthorized";
4472
4454
  403: "Forbidden: Admins only";
4473
4455
  422: {
@@ -4484,23 +4466,61 @@ declare const app: Elysia<"/api", {
4484
4466
  };
4485
4467
  } & {
4486
4468
  "reward-plans": {
4487
- get: {
4488
- body: {};
4489
- params: {};
4490
- query: {
4469
+ post: {
4470
+ body: {
4491
4471
  checkInType?: "app" | "meeting" | undefined;
4472
+ dailyPayoutAccountTypeId: string;
4473
+ dailyRewardAmount: string;
4474
+ dailyRewardCategory?: string | undefined;
4492
4475
  isEnabled?: boolean | undefined;
4493
- keyword?: string | undefined;
4494
- limit?: number | undefined;
4495
- offset?: number | undefined;
4496
- pageIndex?: number | undefined;
4497
- pageSize?: number | undefined;
4476
+ name: string;
4477
+ rewardAssetId: string;
4478
+ rules?: {
4479
+ isEnabled?: boolean | undefined;
4480
+ payoutAccountTypeId: string;
4481
+ rewardAmount: string;
4482
+ rewardCategory?: string | undefined;
4483
+ ruleType: "consecutive" | "cumulative";
4484
+ sortOrder?: number | undefined;
4485
+ thresholdDays: number;
4486
+ }[] | undefined;
4487
+ sortOrder?: number | undefined;
4498
4488
  };
4489
+ params: {};
4490
+ query: {};
4499
4491
  headers: {};
4500
4492
  response: {
4501
4493
  200: {
4502
- data: {
4503
- checkInType: "app" | "meeting";
4494
+ checkInType: "app" | "meeting";
4495
+ createdAt: Date;
4496
+ createdBy: string;
4497
+ creator: {
4498
+ id: string;
4499
+ name: string;
4500
+ email: string;
4501
+ } | null;
4502
+ dailyPayoutAccountType: {
4503
+ id: string;
4504
+ key: string;
4505
+ name: string;
4506
+ isActive: boolean;
4507
+ };
4508
+ dailyPayoutAccountTypeId: string;
4509
+ dailyRewardAmount: string;
4510
+ dailyRewardCategory: string;
4511
+ id: string;
4512
+ isEnabled: boolean;
4513
+ name: string;
4514
+ rewardAsset: {
4515
+ id: string;
4516
+ code: string;
4517
+ name: string;
4518
+ symbol: string | null;
4519
+ precision: number;
4520
+ isActive: boolean;
4521
+ };
4522
+ rewardAssetId: string;
4523
+ rules: {
4504
4524
  createdAt: Date;
4505
4525
  createdBy: string;
4506
4526
  creator: {
@@ -4508,29 +4528,21 @@ declare const app: Elysia<"/api", {
4508
4528
  name: string;
4509
4529
  email: string;
4510
4530
  } | null;
4511
- dailyPayoutAccountType: {
4512
- id: string;
4513
- key: string;
4514
- name: string;
4515
- isActive: boolean;
4516
- };
4517
- dailyPayoutAccountTypeId: string;
4518
- dailyRewardAmount: string;
4519
- dailyRewardCategory: string;
4520
4531
  id: string;
4521
4532
  isEnabled: boolean;
4522
- name: string;
4523
- rewardAsset: {
4533
+ payoutAccountType: {
4524
4534
  id: string;
4525
- code: string;
4535
+ key: string;
4526
4536
  name: string;
4527
- symbol: string | null;
4528
- precision: number;
4529
4537
  isActive: boolean;
4530
4538
  };
4531
- rewardAssetId: string;
4532
- ruleCount: number;
4539
+ payoutAccountTypeId: string;
4540
+ planId: string;
4541
+ rewardAmount: string;
4542
+ rewardCategory: string;
4543
+ ruleType: "consecutive" | "cumulative";
4533
4544
  sortOrder: number;
4545
+ thresholdDays: number;
4534
4546
  updatedAt: Date;
4535
4547
  updatedBy: string | null;
4536
4548
  updater: {
@@ -4539,13 +4551,14 @@ declare const app: Elysia<"/api", {
4539
4551
  email: string;
4540
4552
  } | null;
4541
4553
  }[];
4542
- pagination: {
4543
- pageSize: number;
4544
- pageIndex: number;
4545
- total: number;
4546
- totalPages: number;
4547
- hasNextPage: boolean;
4548
- };
4554
+ sortOrder: number;
4555
+ updatedAt: Date;
4556
+ updatedBy: string | null;
4557
+ updater: {
4558
+ id: string;
4559
+ name: string;
4560
+ email: string;
4561
+ } | null;
4549
4562
  };
4550
4563
  401: "Unauthorized";
4551
4564
  403: "Forbidden: Admins only";
@@ -4563,17 +4576,70 @@ declare const app: Elysia<"/api", {
4563
4576
  };
4564
4577
  } & {
4565
4578
  "reward-plans": {
4566
- ":id": {
4567
- get: {
4568
- body: {};
4569
- params: {
4579
+ patch: {
4580
+ body: {
4581
+ checkInType?: "app" | "meeting" | undefined;
4582
+ dailyPayoutAccountTypeId?: string | undefined;
4583
+ dailyRewardAmount?: string | undefined;
4584
+ dailyRewardCategory?: string | undefined;
4585
+ isEnabled?: boolean | undefined;
4586
+ name?: string | undefined;
4587
+ rewardAssetId?: string | undefined;
4588
+ rules?: ({
4570
4589
  id: string;
4571
- };
4572
- query: {};
4573
- headers: {};
4574
- response: {
4575
- 200: {
4576
- checkInType: "app" | "meeting";
4590
+ isEnabled?: boolean | undefined;
4591
+ payoutAccountTypeId?: string | undefined;
4592
+ rewardAmount?: string | undefined;
4593
+ rewardCategory?: string | undefined;
4594
+ ruleType?: "consecutive" | "cumulative" | undefined;
4595
+ sortOrder?: number | undefined;
4596
+ thresholdDays?: number | undefined;
4597
+ } | {
4598
+ isEnabled?: boolean | undefined;
4599
+ payoutAccountTypeId: string;
4600
+ rewardAmount: string;
4601
+ rewardCategory?: string | undefined;
4602
+ ruleType: "consecutive" | "cumulative";
4603
+ sortOrder?: number | undefined;
4604
+ thresholdDays: number;
4605
+ })[] | undefined;
4606
+ sortOrder?: number | undefined;
4607
+ };
4608
+ params: {};
4609
+ query: {};
4610
+ headers: {};
4611
+ response: {
4612
+ 200: {
4613
+ checkInType: "app" | "meeting";
4614
+ createdAt: Date;
4615
+ createdBy: string;
4616
+ creator: {
4617
+ id: string;
4618
+ name: string;
4619
+ email: string;
4620
+ } | null;
4621
+ dailyPayoutAccountType: {
4622
+ id: string;
4623
+ key: string;
4624
+ name: string;
4625
+ isActive: boolean;
4626
+ };
4627
+ dailyPayoutAccountTypeId: string;
4628
+ dailyRewardAmount: string;
4629
+ dailyRewardCategory: string;
4630
+ id: string;
4631
+ isEnabled: boolean;
4632
+ name: string;
4633
+ rewardAsset: {
4634
+ id: string;
4635
+ code: string;
4636
+ name: string;
4637
+ symbol: string | null;
4638
+ precision: number;
4639
+ isActive: boolean;
4640
+ };
4641
+ rewardAssetId: string;
4642
+ rules: {
4577
4643
  createdAt: Date;
4578
4644
  createdBy: string;
4579
4645
  creator: {
@@ -4581,59 +4647,21 @@ declare const app: Elysia<"/api", {
4581
4647
  name: string;
4582
4648
  email: string;
4583
4649
  } | null;
4584
- dailyPayoutAccountType: {
4585
- id: string;
4586
- key: string;
4587
- name: string;
4588
- isActive: boolean;
4589
- };
4590
- dailyPayoutAccountTypeId: string;
4591
- dailyRewardAmount: string;
4592
- dailyRewardCategory: string;
4593
4650
  id: string;
4594
4651
  isEnabled: boolean;
4595
- name: string;
4596
- rewardAsset: {
4652
+ payoutAccountType: {
4597
4653
  id: string;
4598
- code: string;
4654
+ key: string;
4599
4655
  name: string;
4600
- symbol: string | null;
4601
- precision: number;
4602
4656
  isActive: boolean;
4603
4657
  };
4604
- rewardAssetId: string;
4605
- rules: {
4606
- createdAt: Date;
4607
- createdBy: string;
4608
- creator: {
4609
- id: string;
4610
- name: string;
4611
- email: string;
4612
- } | null;
4613
- id: string;
4614
- isEnabled: boolean;
4615
- payoutAccountType: {
4616
- id: string;
4617
- key: string;
4618
- name: string;
4619
- isActive: boolean;
4620
- };
4621
- payoutAccountTypeId: string;
4622
- planId: string;
4623
- rewardAmount: string;
4624
- rewardCategory: string;
4625
- ruleType: "consecutive" | "cumulative";
4626
- sortOrder: number;
4627
- thresholdDays: number;
4628
- updatedAt: Date;
4629
- updatedBy: string | null;
4630
- updater: {
4631
- id: string;
4632
- name: string;
4633
- email: string;
4634
- } | null;
4635
- }[];
4658
+ payoutAccountTypeId: string;
4659
+ planId: string;
4660
+ rewardAmount: string;
4661
+ rewardCategory: string;
4662
+ ruleType: "consecutive" | "cumulative";
4636
4663
  sortOrder: number;
4664
+ thresholdDays: number;
4637
4665
  updatedAt: Date;
4638
4666
  updatedBy: string | null;
4639
4667
  updater: {
@@ -4641,39 +4669,69 @@ declare const app: Elysia<"/api", {
4641
4669
  name: string;
4642
4670
  email: string;
4643
4671
  } | null;
4644
- };
4645
- 401: "Unauthorized";
4646
- 403: "Forbidden: Admins only";
4647
- 422: {
4648
- type: 'validation';
4649
- on: string;
4650
- summary?: string;
4651
- message?: string;
4652
- found?: unknown;
4653
- property?: string;
4654
- expected?: string;
4655
- };
4672
+ }[];
4673
+ sortOrder: number;
4674
+ updatedAt: Date;
4675
+ updatedBy: string | null;
4676
+ updater: {
4677
+ id: string;
4678
+ name: string;
4679
+ email: string;
4680
+ } | null;
4681
+ };
4682
+ 401: "Unauthorized";
4683
+ 403: "Forbidden: Admins only";
4684
+ 422: {
4685
+ type: 'validation';
4686
+ on: string;
4687
+ summary?: string;
4688
+ message?: string;
4689
+ found?: unknown;
4690
+ property?: string;
4691
+ expected?: string;
4656
4692
  };
4657
4693
  };
4658
4694
  };
4659
4695
  };
4660
4696
  } & {
4661
4697
  "reward-plans": {
4662
- ":id": {
4663
- patch: {
4698
+ delete: {
4699
+ body: {};
4700
+ params: {};
4701
+ query: {};
4702
+ headers: {};
4703
+ response: {
4704
+ 200: {
4705
+ success: boolean;
4706
+ };
4707
+ 401: "Unauthorized";
4708
+ 403: "Forbidden: Admins only";
4709
+ 422: {
4710
+ type: 'validation';
4711
+ on: string;
4712
+ summary?: string;
4713
+ message?: string;
4714
+ found?: unknown;
4715
+ property?: string;
4716
+ expected?: string;
4717
+ };
4718
+ };
4719
+ };
4720
+ };
4721
+ } & {
4722
+ "reward-plans": {
4723
+ rules: {
4724
+ post: {
4664
4725
  body: {
4665
- name?: string | undefined;
4666
- rewardAssetId?: string | undefined;
4667
- dailyRewardAmount?: string | undefined;
4668
- dailyRewardCategory?: string | undefined;
4669
- dailyPayoutAccountTypeId?: string | undefined;
4670
- checkInType?: "app" | "meeting" | undefined;
4671
4726
  isEnabled?: boolean | undefined;
4727
+ payoutAccountTypeId: string;
4728
+ rewardAmount: string;
4729
+ rewardCategory?: string | undefined;
4730
+ ruleType: "consecutive" | "cumulative";
4672
4731
  sortOrder?: number | undefined;
4732
+ thresholdDays: number;
4673
4733
  };
4674
- params: {
4675
- id: string;
4676
- };
4734
+ params: {};
4677
4735
  query: {};
4678
4736
  headers: {};
4679
4737
  response: {
@@ -4764,49 +4822,20 @@ declare const app: Elysia<"/api", {
4764
4822
  };
4765
4823
  } & {
4766
4824
  "reward-plans": {
4767
- ":id": {
4768
- delete: {
4769
- body: {};
4770
- params: {
4771
- id: string;
4772
- };
4773
- query: {};
4774
- headers: {};
4775
- response: {
4776
- 200: {
4777
- success: boolean;
4778
- };
4779
- 401: "Unauthorized";
4780
- 403: "Forbidden: Admins only";
4781
- 422: {
4782
- type: 'validation';
4783
- on: string;
4784
- summary?: string;
4785
- message?: string;
4786
- found?: unknown;
4787
- property?: string;
4788
- expected?: string;
4789
- };
4790
- };
4791
- };
4792
- };
4793
- };
4794
- } & {
4795
- "reward-plans": {
4796
- ":id": {
4797
- rules: {
4798
- post: {
4825
+ rules: {
4826
+ ":ruleId": {
4827
+ patch: {
4799
4828
  body: {
4800
- ruleType: "consecutive" | "cumulative";
4801
- thresholdDays: number;
4802
- rewardAmount: string;
4803
- rewardCategory?: string | undefined;
4804
- payoutAccountTypeId: string;
4805
4829
  isEnabled?: boolean | undefined;
4830
+ payoutAccountTypeId?: string | undefined;
4831
+ rewardAmount?: string | undefined;
4832
+ rewardCategory?: string | undefined;
4833
+ ruleType?: "consecutive" | "cumulative" | undefined;
4806
4834
  sortOrder?: number | undefined;
4835
+ thresholdDays?: number | undefined;
4807
4836
  };
4808
4837
  params: {
4809
- id: string;
4838
+ ruleId: string;
4810
4839
  };
4811
4840
  query: {};
4812
4841
  headers: {};
@@ -4899,129 +4928,47 @@ declare const app: Elysia<"/api", {
4899
4928
  };
4900
4929
  } & {
4901
4930
  "reward-plans": {
4902
- ":id": {
4903
- rules: {
4904
- ":ruleId": {
4905
- patch: {
4906
- body: {
4907
- ruleType?: "consecutive" | "cumulative" | undefined;
4908
- thresholdDays?: number | undefined;
4909
- rewardAmount?: string | undefined;
4910
- rewardCategory?: string | undefined;
4911
- payoutAccountTypeId?: string | undefined;
4912
- isEnabled?: boolean | undefined;
4913
- sortOrder?: number | undefined;
4914
- };
4915
- params: {
4916
- id: string;
4917
- ruleId: string;
4918
- };
4919
- query: {};
4920
- headers: {};
4921
- response: {
4922
- 200: {
4923
- checkInType: "app" | "meeting";
4924
- createdAt: Date;
4925
- createdBy: string;
4926
- creator: {
4927
- id: string;
4928
- name: string;
4929
- email: string;
4930
- } | null;
4931
- dailyPayoutAccountType: {
4932
- id: string;
4933
- key: string;
4934
- name: string;
4935
- isActive: boolean;
4936
- };
4937
- dailyPayoutAccountTypeId: string;
4938
- dailyRewardAmount: string;
4939
- dailyRewardCategory: string;
4931
+ rules: {
4932
+ ":ruleId": {
4933
+ delete: {
4934
+ body: {};
4935
+ params: {
4936
+ ruleId: string;
4937
+ };
4938
+ query: {};
4939
+ headers: {};
4940
+ response: {
4941
+ 200: {
4942
+ checkInType: "app" | "meeting";
4943
+ createdAt: Date;
4944
+ createdBy: string;
4945
+ creator: {
4940
4946
  id: string;
4941
- isEnabled: boolean;
4942
4947
  name: string;
4943
- rewardAsset: {
4944
- id: string;
4945
- code: string;
4946
- name: string;
4947
- symbol: string | null;
4948
- precision: number;
4949
- isActive: boolean;
4950
- };
4951
- rewardAssetId: string;
4952
- rules: {
4953
- createdAt: Date;
4954
- createdBy: string;
4955
- creator: {
4956
- id: string;
4957
- name: string;
4958
- email: string;
4959
- } | null;
4960
- id: string;
4961
- isEnabled: boolean;
4962
- payoutAccountType: {
4963
- id: string;
4964
- key: string;
4965
- name: string;
4966
- isActive: boolean;
4967
- };
4968
- payoutAccountTypeId: string;
4969
- planId: string;
4970
- rewardAmount: string;
4971
- rewardCategory: string;
4972
- ruleType: "consecutive" | "cumulative";
4973
- sortOrder: number;
4974
- thresholdDays: number;
4975
- updatedAt: Date;
4976
- updatedBy: string | null;
4977
- updater: {
4978
- id: string;
4979
- name: string;
4980
- email: string;
4981
- } | null;
4982
- }[];
4983
- sortOrder: number;
4984
- updatedAt: Date;
4985
- updatedBy: string | null;
4986
- updater: {
4987
- id: string;
4988
- name: string;
4989
- email: string;
4990
- } | null;
4991
- };
4992
- 401: "Unauthorized";
4993
- 403: "Forbidden: Admins only";
4994
- 422: {
4995
- type: 'validation';
4996
- on: string;
4997
- summary?: string;
4998
- message?: string;
4999
- found?: unknown;
5000
- property?: string;
5001
- expected?: string;
4948
+ email: string;
4949
+ } | null;
4950
+ dailyPayoutAccountType: {
4951
+ id: string;
4952
+ key: string;
4953
+ name: string;
4954
+ isActive: boolean;
5002
4955
  };
5003
- };
5004
- };
5005
- };
5006
- };
5007
- };
5008
- };
5009
- } & {
5010
- "reward-plans": {
5011
- ":id": {
5012
- rules: {
5013
- ":ruleId": {
5014
- delete: {
5015
- body: {};
5016
- params: {
4956
+ dailyPayoutAccountTypeId: string;
4957
+ dailyRewardAmount: string;
4958
+ dailyRewardCategory: string;
5017
4959
  id: string;
5018
- ruleId: string;
5019
- };
5020
- query: {};
5021
- headers: {};
5022
- response: {
5023
- 200: {
5024
- checkInType: "app" | "meeting";
4960
+ isEnabled: boolean;
4961
+ name: string;
4962
+ rewardAsset: {
4963
+ id: string;
4964
+ code: string;
4965
+ name: string;
4966
+ symbol: string | null;
4967
+ precision: number;
4968
+ isActive: boolean;
4969
+ };
4970
+ rewardAssetId: string;
4971
+ rules: {
5025
4972
  createdAt: Date;
5026
4973
  createdBy: string;
5027
4974
  creator: {
@@ -5029,59 +4976,21 @@ declare const app: Elysia<"/api", {
5029
4976
  name: string;
5030
4977
  email: string;
5031
4978
  } | null;
5032
- dailyPayoutAccountType: {
5033
- id: string;
5034
- key: string;
5035
- name: string;
5036
- isActive: boolean;
5037
- };
5038
- dailyPayoutAccountTypeId: string;
5039
- dailyRewardAmount: string;
5040
- dailyRewardCategory: string;
5041
4979
  id: string;
5042
4980
  isEnabled: boolean;
5043
- name: string;
5044
- rewardAsset: {
4981
+ payoutAccountType: {
5045
4982
  id: string;
5046
- code: string;
4983
+ key: string;
5047
4984
  name: string;
5048
- symbol: string | null;
5049
- precision: number;
5050
4985
  isActive: boolean;
5051
4986
  };
5052
- rewardAssetId: string;
5053
- rules: {
5054
- createdAt: Date;
5055
- createdBy: string;
5056
- creator: {
5057
- id: string;
5058
- name: string;
5059
- email: string;
5060
- } | null;
5061
- id: string;
5062
- isEnabled: boolean;
5063
- payoutAccountType: {
5064
- id: string;
5065
- key: string;
5066
- name: string;
5067
- isActive: boolean;
5068
- };
5069
- payoutAccountTypeId: string;
5070
- planId: string;
5071
- rewardAmount: string;
5072
- rewardCategory: string;
5073
- ruleType: "consecutive" | "cumulative";
5074
- sortOrder: number;
5075
- thresholdDays: number;
5076
- updatedAt: Date;
5077
- updatedBy: string | null;
5078
- updater: {
5079
- id: string;
5080
- name: string;
5081
- email: string;
5082
- } | null;
5083
- }[];
4987
+ payoutAccountTypeId: string;
4988
+ planId: string;
4989
+ rewardAmount: string;
4990
+ rewardCategory: string;
4991
+ ruleType: "consecutive" | "cumulative";
5084
4992
  sortOrder: number;
4993
+ thresholdDays: number;
5085
4994
  updatedAt: Date;
5086
4995
  updatedBy: string | null;
5087
4996
  updater: {
@@ -5089,18 +4998,26 @@ declare const app: Elysia<"/api", {
5089
4998
  name: string;
5090
4999
  email: string;
5091
5000
  } | null;
5092
- };
5093
- 401: "Unauthorized";
5094
- 403: "Forbidden: Admins only";
5095
- 422: {
5096
- type: 'validation';
5097
- on: string;
5098
- summary?: string;
5099
- message?: string;
5100
- found?: unknown;
5101
- property?: string;
5102
- expected?: string;
5103
- };
5001
+ }[];
5002
+ sortOrder: number;
5003
+ updatedAt: Date;
5004
+ updatedBy: string | null;
5005
+ updater: {
5006
+ id: string;
5007
+ name: string;
5008
+ email: string;
5009
+ } | null;
5010
+ };
5011
+ 401: "Unauthorized";
5012
+ 403: "Forbidden: Admins only";
5013
+ 422: {
5014
+ type: 'validation';
5015
+ on: string;
5016
+ summary?: string;
5017
+ message?: string;
5018
+ found?: unknown;
5019
+ property?: string;
5020
+ expected?: string;
5104
5021
  };
5105
5022
  };
5106
5023
  };
@@ -5428,7 +5345,7 @@ declare const app: Elysia<"/api", {
5428
5345
  query: {
5429
5346
  accountId?: string | undefined;
5430
5347
  assetId?: string | undefined;
5431
- 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;
5348
+ bizType?: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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;
5432
5349
  changeDirection?: "decrease" | "increase" | undefined;
5433
5350
  endDate?: Date | undefined;
5434
5351
  limit?: number | undefined;
@@ -5437,7 +5354,7 @@ declare const app: Elysia<"/api", {
5437
5354
  pageIndex?: number | undefined;
5438
5355
  pageSize?: number | undefined;
5439
5356
  referenceId?: string | undefined;
5440
- 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;
5357
+ referenceType?: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "user_check_in" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order" | undefined;
5441
5358
  startDate?: Date | undefined;
5442
5359
  userId?: string | undefined;
5443
5360
  };
@@ -5456,7 +5373,7 @@ declare const app: Elysia<"/api", {
5456
5373
  isActive: boolean;
5457
5374
  };
5458
5375
  assetId: string;
5459
- 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";
5376
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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";
5460
5377
  createdAt: Date;
5461
5378
  fromAccount?: {
5462
5379
  asset: {
@@ -5508,7 +5425,7 @@ declare const app: Elysia<"/api", {
5508
5425
  } | undefined;
5509
5426
  operatorId: string | null;
5510
5427
  referenceId: string;
5511
- 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";
5428
+ referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "user_check_in" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
5512
5429
  toAccount?: {
5513
5430
  asset: {
5514
5431
  id: string;
@@ -14699,9 +14616,7 @@ declare const app: Elysia<"/api", {
14699
14616
  } & {
14700
14617
  checkIns: {
14701
14618
  post: {
14702
- body: {
14703
- checkInType?: "app" | "meeting" | undefined;
14704
- };
14619
+ body: {};
14705
14620
  params: {};
14706
14621
  query: {};
14707
14622
  headers: {};
@@ -14736,7 +14651,6 @@ declare const app: Elysia<"/api", {
14736
14651
  body: {};
14737
14652
  params: {};
14738
14653
  query: {
14739
- checkInType?: "app" | "meeting" | undefined;
14740
14654
  endDate?: Date | undefined;
14741
14655
  limit?: number | undefined;
14742
14656
  offset?: number | undefined;
@@ -14803,9 +14717,7 @@ declare const app: Elysia<"/api", {
14803
14717
  get: {
14804
14718
  body: {};
14805
14719
  params: {};
14806
- query: {
14807
- checkInType?: "app" | "meeting" | undefined;
14808
- };
14720
+ query: {};
14809
14721
  headers: {};
14810
14722
  response: {
14811
14723
  200: {
@@ -14867,9 +14779,7 @@ declare const app: Elysia<"/api", {
14867
14779
  get: {
14868
14780
  body: {};
14869
14781
  params: {};
14870
- query: {
14871
- checkInType?: "app" | "meeting" | undefined;
14872
- };
14782
+ query: {};
14873
14783
  headers: {};
14874
14784
  response: {
14875
14785
  200: {
@@ -15426,7 +15336,7 @@ declare const app: Elysia<"/api", {
15426
15336
  assetId: string;
15427
15337
  fromAccountId: string | null;
15428
15338
  toAccountId: string | null;
15429
- 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";
15339
+ bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "check_in_daily_reward_payout" | "check_in_milestone_reward_payout" | "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";
15430
15340
  amount: string;
15431
15341
  fromAvailableBefore: string | null;
15432
15342
  fromAvailableAfter: string | null;
@@ -15437,7 +15347,7 @@ declare const app: Elysia<"/api", {
15437
15347
  toLockedBefore: string | null;
15438
15348
  toLockedAfter: string | null;
15439
15349
  referenceId: string;
15440
- 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";
15350
+ referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "lock_activity_participation" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "user_check_in" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
15441
15351
  idempotencyKey: string;
15442
15352
  operatorId: string | null;
15443
15353
  memo: string | null;