@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.
- package/dist/admin/index.d.ts +282 -365
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +12 -0
- package/dist/asset-convert-product/admin/router.d.ts +13 -25
- package/dist/asset-convert-product/admin/service.d.ts +12 -12
- package/dist/auth/better-auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +5 -5
- package/dist/auth/roles.d.ts +15 -15
- package/dist/check-in/admin/reward.dto.schemas.d.ts +113 -86
- package/dist/check-in/admin/reward.router.d.ts +266 -349
- package/dist/check-in/admin/reward.service.d.ts +11 -57
- package/dist/check-in/admin/router.d.ts +266 -349
- package/dist/check-in/constants.d.ts +2 -0
- package/dist/check-in/errors/index.d.ts +1 -0
- package/dist/check-in/errors/locales/zh.d.ts +1 -0
- package/dist/check-in/index.d.ts +2 -0
- package/dist/check-in/internal/reward-config.service.d.ts +31 -0
- package/dist/check-in/internal/reward.service.d.ts +31 -0
- package/dist/check-in/permissions.d.ts +1 -1
- package/dist/check-in/user/dto.schemas.d.ts +3 -22
- package/dist/check-in/user/router.d.ts +3 -10
- package/dist/check-in/user/service.d.ts +3 -4
- package/dist/content-video/user/router.d.ts +1 -13
- package/dist/file-storage/user/router.d.ts +13 -1
- package/dist/index.d.ts +287 -377
- package/dist/ledger/admin/dto.schemas.d.ts +12 -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/referral/admin/router.d.ts +1 -13
- package/dist/team/user/router.d.ts +13 -1
- package/dist/welfare-cycle/admin/router.d.ts +13 -1
- package/package.json +1 -1
|
@@ -384,26 +384,8 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
384
384
|
"reward-plans": {};
|
|
385
385
|
} & {
|
|
386
386
|
"reward-plans": {
|
|
387
|
-
|
|
388
|
-
body: {
|
|
389
|
-
checkInType?: "app" | "meeting" | undefined;
|
|
390
|
-
dailyPayoutAccountTypeId: string;
|
|
391
|
-
dailyRewardAmount: string;
|
|
392
|
-
dailyRewardCategory?: string | undefined;
|
|
393
|
-
isEnabled?: boolean | undefined;
|
|
394
|
-
name: string;
|
|
395
|
-
rewardAssetId: string;
|
|
396
|
-
rules?: {
|
|
397
|
-
ruleType: "consecutive" | "cumulative";
|
|
398
|
-
thresholdDays: number;
|
|
399
|
-
rewardAmount: string;
|
|
400
|
-
rewardCategory?: string | undefined;
|
|
401
|
-
payoutAccountTypeId: string;
|
|
402
|
-
isEnabled?: boolean | undefined;
|
|
403
|
-
sortOrder?: number | undefined;
|
|
404
|
-
}[] | undefined;
|
|
405
|
-
sortOrder?: number | undefined;
|
|
406
|
-
};
|
|
387
|
+
get: {
|
|
388
|
+
body: {};
|
|
407
389
|
params: {};
|
|
408
390
|
query: {};
|
|
409
391
|
headers: {};
|
|
@@ -477,7 +459,7 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
477
459
|
name: string;
|
|
478
460
|
email: string;
|
|
479
461
|
} | null;
|
|
480
|
-
};
|
|
462
|
+
} | null;
|
|
481
463
|
401: "Unauthorized";
|
|
482
464
|
403: "Forbidden: Admins only";
|
|
483
465
|
422: {
|
|
@@ -494,23 +476,61 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
494
476
|
};
|
|
495
477
|
} & {
|
|
496
478
|
"reward-plans": {
|
|
497
|
-
|
|
498
|
-
body: {
|
|
499
|
-
params: {};
|
|
500
|
-
query: {
|
|
479
|
+
post: {
|
|
480
|
+
body: {
|
|
501
481
|
checkInType?: "app" | "meeting" | undefined;
|
|
482
|
+
dailyPayoutAccountTypeId: string;
|
|
483
|
+
dailyRewardAmount: string;
|
|
484
|
+
dailyRewardCategory?: string | undefined;
|
|
502
485
|
isEnabled?: boolean | undefined;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
486
|
+
name: string;
|
|
487
|
+
rewardAssetId: string;
|
|
488
|
+
rules?: {
|
|
489
|
+
isEnabled?: boolean | undefined;
|
|
490
|
+
payoutAccountTypeId: string;
|
|
491
|
+
rewardAmount: string;
|
|
492
|
+
rewardCategory?: string | undefined;
|
|
493
|
+
ruleType: "consecutive" | "cumulative";
|
|
494
|
+
sortOrder?: number | undefined;
|
|
495
|
+
thresholdDays: number;
|
|
496
|
+
}[] | undefined;
|
|
497
|
+
sortOrder?: number | undefined;
|
|
508
498
|
};
|
|
499
|
+
params: {};
|
|
500
|
+
query: {};
|
|
509
501
|
headers: {};
|
|
510
502
|
response: {
|
|
511
503
|
200: {
|
|
512
|
-
|
|
513
|
-
|
|
504
|
+
checkInType: "app" | "meeting";
|
|
505
|
+
createdAt: Date;
|
|
506
|
+
createdBy: string;
|
|
507
|
+
creator: {
|
|
508
|
+
id: string;
|
|
509
|
+
name: string;
|
|
510
|
+
email: string;
|
|
511
|
+
} | null;
|
|
512
|
+
dailyPayoutAccountType: {
|
|
513
|
+
id: string;
|
|
514
|
+
key: string;
|
|
515
|
+
name: string;
|
|
516
|
+
isActive: boolean;
|
|
517
|
+
};
|
|
518
|
+
dailyPayoutAccountTypeId: string;
|
|
519
|
+
dailyRewardAmount: string;
|
|
520
|
+
dailyRewardCategory: string;
|
|
521
|
+
id: string;
|
|
522
|
+
isEnabled: boolean;
|
|
523
|
+
name: string;
|
|
524
|
+
rewardAsset: {
|
|
525
|
+
id: string;
|
|
526
|
+
code: string;
|
|
527
|
+
name: string;
|
|
528
|
+
symbol: string | null;
|
|
529
|
+
precision: number;
|
|
530
|
+
isActive: boolean;
|
|
531
|
+
};
|
|
532
|
+
rewardAssetId: string;
|
|
533
|
+
rules: {
|
|
514
534
|
createdAt: Date;
|
|
515
535
|
createdBy: string;
|
|
516
536
|
creator: {
|
|
@@ -518,29 +538,21 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
518
538
|
name: string;
|
|
519
539
|
email: string;
|
|
520
540
|
} | null;
|
|
521
|
-
dailyPayoutAccountType: {
|
|
522
|
-
id: string;
|
|
523
|
-
key: string;
|
|
524
|
-
name: string;
|
|
525
|
-
isActive: boolean;
|
|
526
|
-
};
|
|
527
|
-
dailyPayoutAccountTypeId: string;
|
|
528
|
-
dailyRewardAmount: string;
|
|
529
|
-
dailyRewardCategory: string;
|
|
530
541
|
id: string;
|
|
531
542
|
isEnabled: boolean;
|
|
532
|
-
|
|
533
|
-
rewardAsset: {
|
|
543
|
+
payoutAccountType: {
|
|
534
544
|
id: string;
|
|
535
|
-
|
|
545
|
+
key: string;
|
|
536
546
|
name: string;
|
|
537
|
-
symbol: string | null;
|
|
538
|
-
precision: number;
|
|
539
547
|
isActive: boolean;
|
|
540
548
|
};
|
|
541
|
-
|
|
542
|
-
|
|
549
|
+
payoutAccountTypeId: string;
|
|
550
|
+
planId: string;
|
|
551
|
+
rewardAmount: string;
|
|
552
|
+
rewardCategory: string;
|
|
553
|
+
ruleType: "consecutive" | "cumulative";
|
|
543
554
|
sortOrder: number;
|
|
555
|
+
thresholdDays: number;
|
|
544
556
|
updatedAt: Date;
|
|
545
557
|
updatedBy: string | null;
|
|
546
558
|
updater: {
|
|
@@ -549,13 +561,14 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
549
561
|
email: string;
|
|
550
562
|
} | null;
|
|
551
563
|
}[];
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
564
|
+
sortOrder: number;
|
|
565
|
+
updatedAt: Date;
|
|
566
|
+
updatedBy: string | null;
|
|
567
|
+
updater: {
|
|
568
|
+
id: string;
|
|
569
|
+
name: string;
|
|
570
|
+
email: string;
|
|
571
|
+
} | null;
|
|
559
572
|
};
|
|
560
573
|
401: "Unauthorized";
|
|
561
574
|
403: "Forbidden: Admins only";
|
|
@@ -573,17 +586,70 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
573
586
|
};
|
|
574
587
|
} & {
|
|
575
588
|
"reward-plans": {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
589
|
+
patch: {
|
|
590
|
+
body: {
|
|
591
|
+
checkInType?: "app" | "meeting" | undefined;
|
|
592
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
593
|
+
dailyRewardAmount?: string | undefined;
|
|
594
|
+
dailyRewardCategory?: string | undefined;
|
|
595
|
+
isEnabled?: boolean | undefined;
|
|
596
|
+
name?: string | undefined;
|
|
597
|
+
rewardAssetId?: string | undefined;
|
|
598
|
+
rules?: ({
|
|
580
599
|
id: string;
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
600
|
+
isEnabled?: boolean | undefined;
|
|
601
|
+
payoutAccountTypeId?: string | undefined;
|
|
602
|
+
rewardAmount?: string | undefined;
|
|
603
|
+
rewardCategory?: string | undefined;
|
|
604
|
+
ruleType?: "consecutive" | "cumulative" | undefined;
|
|
605
|
+
sortOrder?: number | undefined;
|
|
606
|
+
thresholdDays?: number | undefined;
|
|
607
|
+
} | {
|
|
608
|
+
isEnabled?: boolean | undefined;
|
|
609
|
+
payoutAccountTypeId: string;
|
|
610
|
+
rewardAmount: string;
|
|
611
|
+
rewardCategory?: string | undefined;
|
|
612
|
+
ruleType: "consecutive" | "cumulative";
|
|
613
|
+
sortOrder?: number | undefined;
|
|
614
|
+
thresholdDays: number;
|
|
615
|
+
})[] | undefined;
|
|
616
|
+
sortOrder?: number | undefined;
|
|
617
|
+
};
|
|
618
|
+
params: {};
|
|
619
|
+
query: {};
|
|
620
|
+
headers: {};
|
|
621
|
+
response: {
|
|
622
|
+
200: {
|
|
623
|
+
checkInType: "app" | "meeting";
|
|
624
|
+
createdAt: Date;
|
|
625
|
+
createdBy: string;
|
|
626
|
+
creator: {
|
|
627
|
+
id: string;
|
|
628
|
+
name: string;
|
|
629
|
+
email: string;
|
|
630
|
+
} | null;
|
|
631
|
+
dailyPayoutAccountType: {
|
|
632
|
+
id: string;
|
|
633
|
+
key: string;
|
|
634
|
+
name: string;
|
|
635
|
+
isActive: boolean;
|
|
636
|
+
};
|
|
637
|
+
dailyPayoutAccountTypeId: string;
|
|
638
|
+
dailyRewardAmount: string;
|
|
639
|
+
dailyRewardCategory: string;
|
|
640
|
+
id: string;
|
|
641
|
+
isEnabled: boolean;
|
|
642
|
+
name: string;
|
|
643
|
+
rewardAsset: {
|
|
644
|
+
id: string;
|
|
645
|
+
code: string;
|
|
646
|
+
name: string;
|
|
647
|
+
symbol: string | null;
|
|
648
|
+
precision: number;
|
|
649
|
+
isActive: boolean;
|
|
650
|
+
};
|
|
651
|
+
rewardAssetId: string;
|
|
652
|
+
rules: {
|
|
587
653
|
createdAt: Date;
|
|
588
654
|
createdBy: string;
|
|
589
655
|
creator: {
|
|
@@ -591,59 +657,21 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
591
657
|
name: string;
|
|
592
658
|
email: string;
|
|
593
659
|
} | null;
|
|
594
|
-
dailyPayoutAccountType: {
|
|
595
|
-
id: string;
|
|
596
|
-
key: string;
|
|
597
|
-
name: string;
|
|
598
|
-
isActive: boolean;
|
|
599
|
-
};
|
|
600
|
-
dailyPayoutAccountTypeId: string;
|
|
601
|
-
dailyRewardAmount: string;
|
|
602
|
-
dailyRewardCategory: string;
|
|
603
660
|
id: string;
|
|
604
661
|
isEnabled: boolean;
|
|
605
|
-
|
|
606
|
-
rewardAsset: {
|
|
662
|
+
payoutAccountType: {
|
|
607
663
|
id: string;
|
|
608
|
-
|
|
664
|
+
key: string;
|
|
609
665
|
name: string;
|
|
610
|
-
symbol: string | null;
|
|
611
|
-
precision: number;
|
|
612
666
|
isActive: boolean;
|
|
613
667
|
};
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
id: string;
|
|
620
|
-
name: string;
|
|
621
|
-
email: string;
|
|
622
|
-
} | null;
|
|
623
|
-
id: string;
|
|
624
|
-
isEnabled: boolean;
|
|
625
|
-
payoutAccountType: {
|
|
626
|
-
id: string;
|
|
627
|
-
key: string;
|
|
628
|
-
name: string;
|
|
629
|
-
isActive: boolean;
|
|
630
|
-
};
|
|
631
|
-
payoutAccountTypeId: string;
|
|
632
|
-
planId: string;
|
|
633
|
-
rewardAmount: string;
|
|
634
|
-
rewardCategory: string;
|
|
635
|
-
ruleType: "consecutive" | "cumulative";
|
|
636
|
-
sortOrder: number;
|
|
637
|
-
thresholdDays: number;
|
|
638
|
-
updatedAt: Date;
|
|
639
|
-
updatedBy: string | null;
|
|
640
|
-
updater: {
|
|
641
|
-
id: string;
|
|
642
|
-
name: string;
|
|
643
|
-
email: string;
|
|
644
|
-
} | null;
|
|
645
|
-
}[];
|
|
668
|
+
payoutAccountTypeId: string;
|
|
669
|
+
planId: string;
|
|
670
|
+
rewardAmount: string;
|
|
671
|
+
rewardCategory: string;
|
|
672
|
+
ruleType: "consecutive" | "cumulative";
|
|
646
673
|
sortOrder: number;
|
|
674
|
+
thresholdDays: number;
|
|
647
675
|
updatedAt: Date;
|
|
648
676
|
updatedBy: string | null;
|
|
649
677
|
updater: {
|
|
@@ -651,39 +679,69 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
651
679
|
name: string;
|
|
652
680
|
email: string;
|
|
653
681
|
} | null;
|
|
654
|
-
};
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
682
|
+
}[];
|
|
683
|
+
sortOrder: number;
|
|
684
|
+
updatedAt: Date;
|
|
685
|
+
updatedBy: string | null;
|
|
686
|
+
updater: {
|
|
687
|
+
id: string;
|
|
688
|
+
name: string;
|
|
689
|
+
email: string;
|
|
690
|
+
} | null;
|
|
691
|
+
};
|
|
692
|
+
401: "Unauthorized";
|
|
693
|
+
403: "Forbidden: Admins only";
|
|
694
|
+
422: {
|
|
695
|
+
type: 'validation';
|
|
696
|
+
on: string;
|
|
697
|
+
summary?: string;
|
|
698
|
+
message?: string;
|
|
699
|
+
found?: unknown;
|
|
700
|
+
property?: string;
|
|
701
|
+
expected?: string;
|
|
666
702
|
};
|
|
667
703
|
};
|
|
668
704
|
};
|
|
669
705
|
};
|
|
670
706
|
} & {
|
|
671
707
|
"reward-plans": {
|
|
672
|
-
|
|
673
|
-
|
|
708
|
+
delete: {
|
|
709
|
+
body: {};
|
|
710
|
+
params: {};
|
|
711
|
+
query: {};
|
|
712
|
+
headers: {};
|
|
713
|
+
response: {
|
|
714
|
+
200: {
|
|
715
|
+
success: boolean;
|
|
716
|
+
};
|
|
717
|
+
401: "Unauthorized";
|
|
718
|
+
403: "Forbidden: Admins only";
|
|
719
|
+
422: {
|
|
720
|
+
type: 'validation';
|
|
721
|
+
on: string;
|
|
722
|
+
summary?: string;
|
|
723
|
+
message?: string;
|
|
724
|
+
found?: unknown;
|
|
725
|
+
property?: string;
|
|
726
|
+
expected?: string;
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
} & {
|
|
732
|
+
"reward-plans": {
|
|
733
|
+
rules: {
|
|
734
|
+
post: {
|
|
674
735
|
body: {
|
|
675
|
-
name?: string | undefined;
|
|
676
|
-
rewardAssetId?: string | undefined;
|
|
677
|
-
dailyRewardAmount?: string | undefined;
|
|
678
|
-
dailyRewardCategory?: string | undefined;
|
|
679
|
-
dailyPayoutAccountTypeId?: string | undefined;
|
|
680
|
-
checkInType?: "app" | "meeting" | undefined;
|
|
681
736
|
isEnabled?: boolean | undefined;
|
|
737
|
+
payoutAccountTypeId: string;
|
|
738
|
+
rewardAmount: string;
|
|
739
|
+
rewardCategory?: string | undefined;
|
|
740
|
+
ruleType: "consecutive" | "cumulative";
|
|
682
741
|
sortOrder?: number | undefined;
|
|
742
|
+
thresholdDays: number;
|
|
683
743
|
};
|
|
684
|
-
params: {
|
|
685
|
-
id: string;
|
|
686
|
-
};
|
|
744
|
+
params: {};
|
|
687
745
|
query: {};
|
|
688
746
|
headers: {};
|
|
689
747
|
response: {
|
|
@@ -774,49 +832,20 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
774
832
|
};
|
|
775
833
|
} & {
|
|
776
834
|
"reward-plans": {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
params: {
|
|
781
|
-
id: string;
|
|
782
|
-
};
|
|
783
|
-
query: {};
|
|
784
|
-
headers: {};
|
|
785
|
-
response: {
|
|
786
|
-
200: {
|
|
787
|
-
success: boolean;
|
|
788
|
-
};
|
|
789
|
-
401: "Unauthorized";
|
|
790
|
-
403: "Forbidden: Admins only";
|
|
791
|
-
422: {
|
|
792
|
-
type: 'validation';
|
|
793
|
-
on: string;
|
|
794
|
-
summary?: string;
|
|
795
|
-
message?: string;
|
|
796
|
-
found?: unknown;
|
|
797
|
-
property?: string;
|
|
798
|
-
expected?: string;
|
|
799
|
-
};
|
|
800
|
-
};
|
|
801
|
-
};
|
|
802
|
-
};
|
|
803
|
-
};
|
|
804
|
-
} & {
|
|
805
|
-
"reward-plans": {
|
|
806
|
-
":id": {
|
|
807
|
-
rules: {
|
|
808
|
-
post: {
|
|
835
|
+
rules: {
|
|
836
|
+
":ruleId": {
|
|
837
|
+
patch: {
|
|
809
838
|
body: {
|
|
810
|
-
ruleType: "consecutive" | "cumulative";
|
|
811
|
-
thresholdDays: number;
|
|
812
|
-
rewardAmount: string;
|
|
813
|
-
rewardCategory?: string | undefined;
|
|
814
|
-
payoutAccountTypeId: string;
|
|
815
839
|
isEnabled?: boolean | undefined;
|
|
840
|
+
payoutAccountTypeId?: string | undefined;
|
|
841
|
+
rewardAmount?: string | undefined;
|
|
842
|
+
rewardCategory?: string | undefined;
|
|
843
|
+
ruleType?: "consecutive" | "cumulative" | undefined;
|
|
816
844
|
sortOrder?: number | undefined;
|
|
845
|
+
thresholdDays?: number | undefined;
|
|
817
846
|
};
|
|
818
847
|
params: {
|
|
819
|
-
|
|
848
|
+
ruleId: string;
|
|
820
849
|
};
|
|
821
850
|
query: {};
|
|
822
851
|
headers: {};
|
|
@@ -909,129 +938,47 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
909
938
|
};
|
|
910
939
|
} & {
|
|
911
940
|
"reward-plans": {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
ruleId: string;
|
|
928
|
-
};
|
|
929
|
-
query: {};
|
|
930
|
-
headers: {};
|
|
931
|
-
response: {
|
|
932
|
-
200: {
|
|
933
|
-
checkInType: "app" | "meeting";
|
|
934
|
-
createdAt: Date;
|
|
935
|
-
createdBy: string;
|
|
936
|
-
creator: {
|
|
937
|
-
id: string;
|
|
938
|
-
name: string;
|
|
939
|
-
email: string;
|
|
940
|
-
} | null;
|
|
941
|
-
dailyPayoutAccountType: {
|
|
942
|
-
id: string;
|
|
943
|
-
key: string;
|
|
944
|
-
name: string;
|
|
945
|
-
isActive: boolean;
|
|
946
|
-
};
|
|
947
|
-
dailyPayoutAccountTypeId: string;
|
|
948
|
-
dailyRewardAmount: string;
|
|
949
|
-
dailyRewardCategory: string;
|
|
941
|
+
rules: {
|
|
942
|
+
":ruleId": {
|
|
943
|
+
delete: {
|
|
944
|
+
body: {};
|
|
945
|
+
params: {
|
|
946
|
+
ruleId: string;
|
|
947
|
+
};
|
|
948
|
+
query: {};
|
|
949
|
+
headers: {};
|
|
950
|
+
response: {
|
|
951
|
+
200: {
|
|
952
|
+
checkInType: "app" | "meeting";
|
|
953
|
+
createdAt: Date;
|
|
954
|
+
createdBy: string;
|
|
955
|
+
creator: {
|
|
950
956
|
id: string;
|
|
951
|
-
isEnabled: boolean;
|
|
952
957
|
name: string;
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
};
|
|
961
|
-
rewardAssetId: string;
|
|
962
|
-
rules: {
|
|
963
|
-
createdAt: Date;
|
|
964
|
-
createdBy: string;
|
|
965
|
-
creator: {
|
|
966
|
-
id: string;
|
|
967
|
-
name: string;
|
|
968
|
-
email: string;
|
|
969
|
-
} | null;
|
|
970
|
-
id: string;
|
|
971
|
-
isEnabled: boolean;
|
|
972
|
-
payoutAccountType: {
|
|
973
|
-
id: string;
|
|
974
|
-
key: string;
|
|
975
|
-
name: string;
|
|
976
|
-
isActive: boolean;
|
|
977
|
-
};
|
|
978
|
-
payoutAccountTypeId: string;
|
|
979
|
-
planId: string;
|
|
980
|
-
rewardAmount: string;
|
|
981
|
-
rewardCategory: string;
|
|
982
|
-
ruleType: "consecutive" | "cumulative";
|
|
983
|
-
sortOrder: number;
|
|
984
|
-
thresholdDays: number;
|
|
985
|
-
updatedAt: Date;
|
|
986
|
-
updatedBy: string | null;
|
|
987
|
-
updater: {
|
|
988
|
-
id: string;
|
|
989
|
-
name: string;
|
|
990
|
-
email: string;
|
|
991
|
-
} | null;
|
|
992
|
-
}[];
|
|
993
|
-
sortOrder: number;
|
|
994
|
-
updatedAt: Date;
|
|
995
|
-
updatedBy: string | null;
|
|
996
|
-
updater: {
|
|
997
|
-
id: string;
|
|
998
|
-
name: string;
|
|
999
|
-
email: string;
|
|
1000
|
-
} | null;
|
|
1001
|
-
};
|
|
1002
|
-
401: "Unauthorized";
|
|
1003
|
-
403: "Forbidden: Admins only";
|
|
1004
|
-
422: {
|
|
1005
|
-
type: 'validation';
|
|
1006
|
-
on: string;
|
|
1007
|
-
summary?: string;
|
|
1008
|
-
message?: string;
|
|
1009
|
-
found?: unknown;
|
|
1010
|
-
property?: string;
|
|
1011
|
-
expected?: string;
|
|
958
|
+
email: string;
|
|
959
|
+
} | null;
|
|
960
|
+
dailyPayoutAccountType: {
|
|
961
|
+
id: string;
|
|
962
|
+
key: string;
|
|
963
|
+
name: string;
|
|
964
|
+
isActive: boolean;
|
|
1012
965
|
};
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
};
|
|
1017
|
-
};
|
|
1018
|
-
};
|
|
1019
|
-
} & {
|
|
1020
|
-
"reward-plans": {
|
|
1021
|
-
":id": {
|
|
1022
|
-
rules: {
|
|
1023
|
-
":ruleId": {
|
|
1024
|
-
delete: {
|
|
1025
|
-
body: {};
|
|
1026
|
-
params: {
|
|
966
|
+
dailyPayoutAccountTypeId: string;
|
|
967
|
+
dailyRewardAmount: string;
|
|
968
|
+
dailyRewardCategory: string;
|
|
1027
969
|
id: string;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
970
|
+
isEnabled: boolean;
|
|
971
|
+
name: string;
|
|
972
|
+
rewardAsset: {
|
|
973
|
+
id: string;
|
|
974
|
+
code: string;
|
|
975
|
+
name: string;
|
|
976
|
+
symbol: string | null;
|
|
977
|
+
precision: number;
|
|
978
|
+
isActive: boolean;
|
|
979
|
+
};
|
|
980
|
+
rewardAssetId: string;
|
|
981
|
+
rules: {
|
|
1035
982
|
createdAt: Date;
|
|
1036
983
|
createdBy: string;
|
|
1037
984
|
creator: {
|
|
@@ -1039,59 +986,21 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
1039
986
|
name: string;
|
|
1040
987
|
email: string;
|
|
1041
988
|
} | null;
|
|
1042
|
-
dailyPayoutAccountType: {
|
|
1043
|
-
id: string;
|
|
1044
|
-
key: string;
|
|
1045
|
-
name: string;
|
|
1046
|
-
isActive: boolean;
|
|
1047
|
-
};
|
|
1048
|
-
dailyPayoutAccountTypeId: string;
|
|
1049
|
-
dailyRewardAmount: string;
|
|
1050
|
-
dailyRewardCategory: string;
|
|
1051
989
|
id: string;
|
|
1052
990
|
isEnabled: boolean;
|
|
1053
|
-
|
|
1054
|
-
rewardAsset: {
|
|
991
|
+
payoutAccountType: {
|
|
1055
992
|
id: string;
|
|
1056
|
-
|
|
993
|
+
key: string;
|
|
1057
994
|
name: string;
|
|
1058
|
-
symbol: string | null;
|
|
1059
|
-
precision: number;
|
|
1060
995
|
isActive: boolean;
|
|
1061
996
|
};
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
id: string;
|
|
1068
|
-
name: string;
|
|
1069
|
-
email: string;
|
|
1070
|
-
} | null;
|
|
1071
|
-
id: string;
|
|
1072
|
-
isEnabled: boolean;
|
|
1073
|
-
payoutAccountType: {
|
|
1074
|
-
id: string;
|
|
1075
|
-
key: string;
|
|
1076
|
-
name: string;
|
|
1077
|
-
isActive: boolean;
|
|
1078
|
-
};
|
|
1079
|
-
payoutAccountTypeId: string;
|
|
1080
|
-
planId: string;
|
|
1081
|
-
rewardAmount: string;
|
|
1082
|
-
rewardCategory: string;
|
|
1083
|
-
ruleType: "consecutive" | "cumulative";
|
|
1084
|
-
sortOrder: number;
|
|
1085
|
-
thresholdDays: number;
|
|
1086
|
-
updatedAt: Date;
|
|
1087
|
-
updatedBy: string | null;
|
|
1088
|
-
updater: {
|
|
1089
|
-
id: string;
|
|
1090
|
-
name: string;
|
|
1091
|
-
email: string;
|
|
1092
|
-
} | null;
|
|
1093
|
-
}[];
|
|
997
|
+
payoutAccountTypeId: string;
|
|
998
|
+
planId: string;
|
|
999
|
+
rewardAmount: string;
|
|
1000
|
+
rewardCategory: string;
|
|
1001
|
+
ruleType: "consecutive" | "cumulative";
|
|
1094
1002
|
sortOrder: number;
|
|
1003
|
+
thresholdDays: number;
|
|
1095
1004
|
updatedAt: Date;
|
|
1096
1005
|
updatedBy: string | null;
|
|
1097
1006
|
updater: {
|
|
@@ -1099,18 +1008,26 @@ export declare const checkInAdminRouter: Elysia<"/checkIns", {
|
|
|
1099
1008
|
name: string;
|
|
1100
1009
|
email: string;
|
|
1101
1010
|
} | null;
|
|
1102
|
-
};
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1011
|
+
}[];
|
|
1012
|
+
sortOrder: number;
|
|
1013
|
+
updatedAt: Date;
|
|
1014
|
+
updatedBy: string | null;
|
|
1015
|
+
updater: {
|
|
1016
|
+
id: string;
|
|
1017
|
+
name: string;
|
|
1018
|
+
email: string;
|
|
1019
|
+
} | null;
|
|
1020
|
+
};
|
|
1021
|
+
401: "Unauthorized";
|
|
1022
|
+
403: "Forbidden: Admins only";
|
|
1023
|
+
422: {
|
|
1024
|
+
type: 'validation';
|
|
1025
|
+
on: string;
|
|
1026
|
+
summary?: string;
|
|
1027
|
+
message?: string;
|
|
1028
|
+
found?: unknown;
|
|
1029
|
+
property?: string;
|
|
1030
|
+
expected?: string;
|
|
1114
1031
|
};
|
|
1115
1032
|
};
|
|
1116
1033
|
};
|