@r2wa-org/eden 0.0.100 → 0.0.101
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 +247 -348
- package/dist/asset-convert-product/admin/router.d.ts +1 -13
- 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 +15 -130
- package/dist/check-in/admin/reward.router.d.ts +247 -348
- package/dist/check-in/admin/reward.service.d.ts +7 -56
- package/dist/check-in/admin/router.d.ts +247 -348
- 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/internal/reward-config.service.d.ts +31 -0
- package/dist/check-in/permissions.d.ts +1 -1
- package/dist/content-video/user/router.d.ts +1 -13
- package/dist/index.d.ts +247 -348
- package/dist/lock-activity/admin/router.d.ts +13 -1
- package/dist/lock-activity/user/router.d.ts +13 -1
- package/dist/news/admin/router.d.ts +13 -1
- package/dist/referral/admin/router.d.ts +1 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4374,26 +4374,8 @@ declare const app: Elysia<"/api", {
|
|
|
4374
4374
|
"reward-plans": {};
|
|
4375
4375
|
} & {
|
|
4376
4376
|
"reward-plans": {
|
|
4377
|
-
|
|
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: {};
|
|
@@ -4484,23 +4466,61 @@ declare const app: Elysia<"/api", {
|
|
|
4484
4466
|
};
|
|
4485
4467
|
} & {
|
|
4486
4468
|
"reward-plans": {
|
|
4487
|
-
|
|
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
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
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
|
-
|
|
4503
|
-
|
|
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
|
-
|
|
4523
|
-
rewardAsset: {
|
|
4533
|
+
payoutAccountType: {
|
|
4524
4534
|
id: string;
|
|
4525
|
-
|
|
4535
|
+
key: string;
|
|
4526
4536
|
name: string;
|
|
4527
|
-
symbol: string | null;
|
|
4528
|
-
precision: number;
|
|
4529
4537
|
isActive: boolean;
|
|
4530
4538
|
};
|
|
4531
|
-
|
|
4532
|
-
|
|
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
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
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,52 @@ declare const app: Elysia<"/api", {
|
|
|
4563
4576
|
};
|
|
4564
4577
|
} & {
|
|
4565
4578
|
"reward-plans": {
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4579
|
+
patch: {
|
|
4580
|
+
body: {
|
|
4581
|
+
name?: string | undefined;
|
|
4582
|
+
rewardAssetId?: string | undefined;
|
|
4583
|
+
dailyRewardAmount?: string | undefined;
|
|
4584
|
+
dailyRewardCategory?: string | undefined;
|
|
4585
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
4586
|
+
checkInType?: "app" | "meeting" | undefined;
|
|
4587
|
+
isEnabled?: boolean | undefined;
|
|
4588
|
+
sortOrder?: number | undefined;
|
|
4589
|
+
};
|
|
4590
|
+
params: {};
|
|
4591
|
+
query: {};
|
|
4592
|
+
headers: {};
|
|
4593
|
+
response: {
|
|
4594
|
+
200: {
|
|
4595
|
+
checkInType: "app" | "meeting";
|
|
4596
|
+
createdAt: Date;
|
|
4597
|
+
createdBy: string;
|
|
4598
|
+
creator: {
|
|
4599
|
+
id: string;
|
|
4600
|
+
name: string;
|
|
4601
|
+
email: string;
|
|
4602
|
+
} | null;
|
|
4603
|
+
dailyPayoutAccountType: {
|
|
4604
|
+
id: string;
|
|
4605
|
+
key: string;
|
|
4606
|
+
name: string;
|
|
4607
|
+
isActive: boolean;
|
|
4608
|
+
};
|
|
4609
|
+
dailyPayoutAccountTypeId: string;
|
|
4610
|
+
dailyRewardAmount: string;
|
|
4611
|
+
dailyRewardCategory: string;
|
|
4570
4612
|
id: string;
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4613
|
+
isEnabled: boolean;
|
|
4614
|
+
name: string;
|
|
4615
|
+
rewardAsset: {
|
|
4616
|
+
id: string;
|
|
4617
|
+
code: string;
|
|
4618
|
+
name: string;
|
|
4619
|
+
symbol: string | null;
|
|
4620
|
+
precision: number;
|
|
4621
|
+
isActive: boolean;
|
|
4622
|
+
};
|
|
4623
|
+
rewardAssetId: string;
|
|
4624
|
+
rules: {
|
|
4577
4625
|
createdAt: Date;
|
|
4578
4626
|
createdBy: string;
|
|
4579
4627
|
creator: {
|
|
@@ -4581,59 +4629,21 @@ declare const app: Elysia<"/api", {
|
|
|
4581
4629
|
name: string;
|
|
4582
4630
|
email: string;
|
|
4583
4631
|
} | 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
4632
|
id: string;
|
|
4594
4633
|
isEnabled: boolean;
|
|
4595
|
-
|
|
4596
|
-
rewardAsset: {
|
|
4634
|
+
payoutAccountType: {
|
|
4597
4635
|
id: string;
|
|
4598
|
-
|
|
4636
|
+
key: string;
|
|
4599
4637
|
name: string;
|
|
4600
|
-
symbol: string | null;
|
|
4601
|
-
precision: number;
|
|
4602
4638
|
isActive: boolean;
|
|
4603
4639
|
};
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
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
|
-
}[];
|
|
4640
|
+
payoutAccountTypeId: string;
|
|
4641
|
+
planId: string;
|
|
4642
|
+
rewardAmount: string;
|
|
4643
|
+
rewardCategory: string;
|
|
4644
|
+
ruleType: "consecutive" | "cumulative";
|
|
4636
4645
|
sortOrder: number;
|
|
4646
|
+
thresholdDays: number;
|
|
4637
4647
|
updatedAt: Date;
|
|
4638
4648
|
updatedBy: string | null;
|
|
4639
4649
|
updater: {
|
|
@@ -4641,39 +4651,69 @@ declare const app: Elysia<"/api", {
|
|
|
4641
4651
|
name: string;
|
|
4642
4652
|
email: string;
|
|
4643
4653
|
} | null;
|
|
4644
|
-
};
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4654
|
+
}[];
|
|
4655
|
+
sortOrder: number;
|
|
4656
|
+
updatedAt: Date;
|
|
4657
|
+
updatedBy: string | null;
|
|
4658
|
+
updater: {
|
|
4659
|
+
id: string;
|
|
4660
|
+
name: string;
|
|
4661
|
+
email: string;
|
|
4662
|
+
} | null;
|
|
4663
|
+
};
|
|
4664
|
+
401: "Unauthorized";
|
|
4665
|
+
403: "Forbidden: Admins only";
|
|
4666
|
+
422: {
|
|
4667
|
+
type: 'validation';
|
|
4668
|
+
on: string;
|
|
4669
|
+
summary?: string;
|
|
4670
|
+
message?: string;
|
|
4671
|
+
found?: unknown;
|
|
4672
|
+
property?: string;
|
|
4673
|
+
expected?: string;
|
|
4656
4674
|
};
|
|
4657
4675
|
};
|
|
4658
4676
|
};
|
|
4659
4677
|
};
|
|
4660
4678
|
} & {
|
|
4661
4679
|
"reward-plans": {
|
|
4662
|
-
|
|
4663
|
-
|
|
4680
|
+
delete: {
|
|
4681
|
+
body: {};
|
|
4682
|
+
params: {};
|
|
4683
|
+
query: {};
|
|
4684
|
+
headers: {};
|
|
4685
|
+
response: {
|
|
4686
|
+
200: {
|
|
4687
|
+
success: boolean;
|
|
4688
|
+
};
|
|
4689
|
+
401: "Unauthorized";
|
|
4690
|
+
403: "Forbidden: Admins only";
|
|
4691
|
+
422: {
|
|
4692
|
+
type: 'validation';
|
|
4693
|
+
on: string;
|
|
4694
|
+
summary?: string;
|
|
4695
|
+
message?: string;
|
|
4696
|
+
found?: unknown;
|
|
4697
|
+
property?: string;
|
|
4698
|
+
expected?: string;
|
|
4699
|
+
};
|
|
4700
|
+
};
|
|
4701
|
+
};
|
|
4702
|
+
};
|
|
4703
|
+
} & {
|
|
4704
|
+
"reward-plans": {
|
|
4705
|
+
rules: {
|
|
4706
|
+
post: {
|
|
4664
4707
|
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
4708
|
isEnabled?: boolean | undefined;
|
|
4709
|
+
payoutAccountTypeId: string;
|
|
4710
|
+
rewardAmount: string;
|
|
4711
|
+
rewardCategory?: string | undefined;
|
|
4712
|
+
ruleType: "consecutive" | "cumulative";
|
|
4672
4713
|
sortOrder?: number | undefined;
|
|
4714
|
+
thresholdDays: number;
|
|
4673
4715
|
};
|
|
4674
|
-
params: {
|
|
4675
|
-
id: string;
|
|
4676
|
-
};
|
|
4716
|
+
params: {};
|
|
4677
4717
|
query: {};
|
|
4678
4718
|
headers: {};
|
|
4679
4719
|
response: {
|
|
@@ -4764,49 +4804,20 @@ declare const app: Elysia<"/api", {
|
|
|
4764
4804
|
};
|
|
4765
4805
|
} & {
|
|
4766
4806
|
"reward-plans": {
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
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: {
|
|
4807
|
+
rules: {
|
|
4808
|
+
":ruleId": {
|
|
4809
|
+
patch: {
|
|
4799
4810
|
body: {
|
|
4800
|
-
ruleType: "consecutive" | "cumulative";
|
|
4801
|
-
thresholdDays: number;
|
|
4802
|
-
rewardAmount: string;
|
|
4803
|
-
rewardCategory?: string | undefined;
|
|
4804
|
-
payoutAccountTypeId: string;
|
|
4805
4811
|
isEnabled?: boolean | undefined;
|
|
4812
|
+
payoutAccountTypeId?: string | undefined;
|
|
4813
|
+
rewardAmount?: string | undefined;
|
|
4814
|
+
rewardCategory?: string | undefined;
|
|
4815
|
+
ruleType?: "consecutive" | "cumulative" | undefined;
|
|
4806
4816
|
sortOrder?: number | undefined;
|
|
4817
|
+
thresholdDays?: number | undefined;
|
|
4807
4818
|
};
|
|
4808
4819
|
params: {
|
|
4809
|
-
|
|
4820
|
+
ruleId: string;
|
|
4810
4821
|
};
|
|
4811
4822
|
query: {};
|
|
4812
4823
|
headers: {};
|
|
@@ -4899,129 +4910,47 @@ declare const app: Elysia<"/api", {
|
|
|
4899
4910
|
};
|
|
4900
4911
|
} & {
|
|
4901
4912
|
"reward-plans": {
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
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;
|
|
4913
|
+
rules: {
|
|
4914
|
+
":ruleId": {
|
|
4915
|
+
delete: {
|
|
4916
|
+
body: {};
|
|
4917
|
+
params: {
|
|
4918
|
+
ruleId: string;
|
|
4919
|
+
};
|
|
4920
|
+
query: {};
|
|
4921
|
+
headers: {};
|
|
4922
|
+
response: {
|
|
4923
|
+
200: {
|
|
4924
|
+
checkInType: "app" | "meeting";
|
|
4925
|
+
createdAt: Date;
|
|
4926
|
+
createdBy: string;
|
|
4927
|
+
creator: {
|
|
4940
4928
|
id: string;
|
|
4941
|
-
isEnabled: boolean;
|
|
4942
4929
|
name: string;
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
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;
|
|
4930
|
+
email: string;
|
|
4931
|
+
} | null;
|
|
4932
|
+
dailyPayoutAccountType: {
|
|
4933
|
+
id: string;
|
|
4934
|
+
key: string;
|
|
4935
|
+
name: string;
|
|
4936
|
+
isActive: boolean;
|
|
5002
4937
|
};
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
};
|
|
5007
|
-
};
|
|
5008
|
-
};
|
|
5009
|
-
} & {
|
|
5010
|
-
"reward-plans": {
|
|
5011
|
-
":id": {
|
|
5012
|
-
rules: {
|
|
5013
|
-
":ruleId": {
|
|
5014
|
-
delete: {
|
|
5015
|
-
body: {};
|
|
5016
|
-
params: {
|
|
4938
|
+
dailyPayoutAccountTypeId: string;
|
|
4939
|
+
dailyRewardAmount: string;
|
|
4940
|
+
dailyRewardCategory: string;
|
|
5017
4941
|
id: string;
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
4942
|
+
isEnabled: boolean;
|
|
4943
|
+
name: string;
|
|
4944
|
+
rewardAsset: {
|
|
4945
|
+
id: string;
|
|
4946
|
+
code: string;
|
|
4947
|
+
name: string;
|
|
4948
|
+
symbol: string | null;
|
|
4949
|
+
precision: number;
|
|
4950
|
+
isActive: boolean;
|
|
4951
|
+
};
|
|
4952
|
+
rewardAssetId: string;
|
|
4953
|
+
rules: {
|
|
5025
4954
|
createdAt: Date;
|
|
5026
4955
|
createdBy: string;
|
|
5027
4956
|
creator: {
|
|
@@ -5029,59 +4958,21 @@ declare const app: Elysia<"/api", {
|
|
|
5029
4958
|
name: string;
|
|
5030
4959
|
email: string;
|
|
5031
4960
|
} | 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
4961
|
id: string;
|
|
5042
4962
|
isEnabled: boolean;
|
|
5043
|
-
|
|
5044
|
-
rewardAsset: {
|
|
4963
|
+
payoutAccountType: {
|
|
5045
4964
|
id: string;
|
|
5046
|
-
|
|
4965
|
+
key: string;
|
|
5047
4966
|
name: string;
|
|
5048
|
-
symbol: string | null;
|
|
5049
|
-
precision: number;
|
|
5050
4967
|
isActive: boolean;
|
|
5051
4968
|
};
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
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
|
-
}[];
|
|
4969
|
+
payoutAccountTypeId: string;
|
|
4970
|
+
planId: string;
|
|
4971
|
+
rewardAmount: string;
|
|
4972
|
+
rewardCategory: string;
|
|
4973
|
+
ruleType: "consecutive" | "cumulative";
|
|
5084
4974
|
sortOrder: number;
|
|
4975
|
+
thresholdDays: number;
|
|
5085
4976
|
updatedAt: Date;
|
|
5086
4977
|
updatedBy: string | null;
|
|
5087
4978
|
updater: {
|
|
@@ -5089,18 +4980,26 @@ declare const app: Elysia<"/api", {
|
|
|
5089
4980
|
name: string;
|
|
5090
4981
|
email: string;
|
|
5091
4982
|
} | null;
|
|
5092
|
-
};
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
4983
|
+
}[];
|
|
4984
|
+
sortOrder: number;
|
|
4985
|
+
updatedAt: Date;
|
|
4986
|
+
updatedBy: string | null;
|
|
4987
|
+
updater: {
|
|
4988
|
+
id: string;
|
|
4989
|
+
name: string;
|
|
4990
|
+
email: string;
|
|
4991
|
+
} | null;
|
|
4992
|
+
};
|
|
4993
|
+
401: "Unauthorized";
|
|
4994
|
+
403: "Forbidden: Admins only";
|
|
4995
|
+
422: {
|
|
4996
|
+
type: 'validation';
|
|
4997
|
+
on: string;
|
|
4998
|
+
summary?: string;
|
|
4999
|
+
message?: string;
|
|
5000
|
+
found?: unknown;
|
|
5001
|
+
property?: string;
|
|
5002
|
+
expected?: string;
|
|
5104
5003
|
};
|
|
5105
5004
|
};
|
|
5106
5005
|
};
|