@r2wa-org/eden 0.0.97 → 0.0.100

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 (89) hide show
  1. package/dist/admin/index.d.ts +1460 -86
  2. package/dist/asset/admin/router.d.ts +1 -13
  3. package/dist/asset-convert-product/admin/dto.schemas.d.ts +8 -0
  4. package/dist/asset-convert-product/admin/router.d.ts +25 -13
  5. package/dist/asset-convert-product/admin/service.d.ts +12 -12
  6. package/dist/auth/better-auth.d.ts +19 -1
  7. package/dist/auth/i18n/zh.d.ts +100 -0
  8. package/dist/auth/permissions.d.ts +16 -1
  9. package/dist/auth/roles.d.ts +45 -0
  10. package/dist/check-in/admin/reward.dto.schemas.d.ts +294 -0
  11. package/dist/check-in/admin/reward.router.d.ts +1192 -0
  12. package/dist/check-in/admin/reward.service.d.ts +479 -0
  13. package/dist/check-in/admin/router.d.ts +745 -0
  14. package/dist/check-in/errors/index.d.ts +9 -0
  15. package/dist/check-in/errors/locales/zh.d.ts +9 -0
  16. package/dist/check-in/index.d.ts +5 -0
  17. package/dist/check-in/internal/reward-config.service.d.ts +66 -0
  18. package/dist/check-in/permissions.d.ts +2 -0
  19. package/dist/check-in/reward.db.schemas.d.ts +896 -0
  20. package/dist/check-in/reward.schema.d.ts +477 -0
  21. package/dist/content-video/admin/dto.schemas.d.ts +128 -0
  22. package/dist/content-video/admin/router.d.ts +861 -0
  23. package/dist/content-video/admin/service.d.ts +211 -0
  24. package/dist/content-video/db.schemas.d.ts +486 -0
  25. package/dist/content-video/errors/index.d.ts +17 -0
  26. package/dist/content-video/errors/locales/zh.d.ts +16 -0
  27. package/dist/content-video/index.d.ts +8 -0
  28. package/dist/content-video/internal/service.d.ts +106 -0
  29. package/dist/content-video/permissions.d.ts +4 -0
  30. package/dist/content-video/schema.d.ts +257 -0
  31. package/dist/content-video/user/dto.schemas.d.ts +52 -0
  32. package/dist/content-video/user/router.d.ts +494 -0
  33. package/dist/content-video/user/service.d.ts +36 -0
  34. package/dist/db/schemas.d.ts +2 -0
  35. package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
  36. package/dist/file-storage/admin/router.d.ts +2 -2
  37. package/dist/file-storage/admin/service.d.ts +2 -2
  38. package/dist/file-storage/db.schemas.d.ts +4 -4
  39. package/dist/file-storage/internal/service.d.ts +1 -1
  40. package/dist/file-storage/s3.client.d.ts +22 -0
  41. package/dist/file-storage/schema.d.ts +3 -3
  42. package/dist/file-storage/share/dto.schemas.d.ts +1 -0
  43. package/dist/file-storage/share/router.d.ts +1 -1
  44. package/dist/file-storage/user/dto.schemas.d.ts +6 -4
  45. package/dist/file-storage/user/router.d.ts +3 -3
  46. package/dist/file-storage/user/service.d.ts +2 -2
  47. package/dist/index.d.ts +1875 -215
  48. package/dist/ledger/admin/dto.schemas.d.ts +8 -0
  49. package/dist/ledger/admin/router.d.ts +4 -4
  50. package/dist/ledger/db.schemas.d.ts +8 -8
  51. package/dist/ledger/schema.d.ts +6 -6
  52. package/dist/ledger/user/dto.schemas.d.ts +8 -8
  53. package/dist/ledger/user/router.d.ts +2 -2
  54. package/dist/ledger/user/service.d.ts +2 -2
  55. package/dist/ledger-account-type/admin/router.d.ts +1 -13
  56. package/dist/lock-activity/admin/dto.schemas.d.ts +16 -0
  57. package/dist/lock-activity/admin/participation.dto.schemas.d.ts +52 -0
  58. package/dist/lock-activity/admin/reward.service.d.ts +48 -0
  59. package/dist/lock-activity/admin/router.d.ts +127 -0
  60. package/dist/lock-activity/admin/service.d.ts +134 -8
  61. package/dist/lock-activity/constants.d.ts +2 -0
  62. package/dist/lock-activity/cron.d.ts +6 -0
  63. package/dist/lock-activity/db.schemas.d.ts +34 -0
  64. package/dist/lock-activity/errors/index.d.ts +3 -0
  65. package/dist/lock-activity/errors/locales/zh.d.ts +3 -0
  66. package/dist/lock-activity/internal/reward.service.d.ts +15 -0
  67. package/dist/lock-activity/internal/service.d.ts +41 -0
  68. package/dist/lock-activity/schema.d.ts +18 -0
  69. package/dist/lock-activity/shared.dto.schemas.d.ts +7 -0
  70. package/dist/lock-activity/user/dto.schemas.d.ts +24 -0
  71. package/dist/lock-activity/user/router.d.ts +16 -0
  72. package/dist/lock-activity/user/service.d.ts +39 -3
  73. package/dist/news/admin/dto.schemas.d.ts +26 -26
  74. package/dist/news/admin/router.d.ts +25 -25
  75. package/dist/news/admin/service.d.ts +4 -1
  76. package/dist/news/user/service.d.ts +2 -2
  77. package/dist/referral/admin/dto.schemas.d.ts +597 -0
  78. package/dist/referral/admin/router.d.ts +565 -0
  79. package/dist/referral/admin/service.d.ts +6 -0
  80. package/dist/referral/errors/index.d.ts +15 -0
  81. package/dist/referral/errors/locales/zh.d.ts +14 -0
  82. package/dist/referral/index.d.ts +10 -0
  83. package/dist/referral/internal/service.d.ts +23 -0
  84. package/dist/referral/user/dto.schemas.d.ts +602 -0
  85. package/dist/referral/user/router.d.ts +606 -0
  86. package/dist/referral/user/service.d.ts +21 -0
  87. package/dist/user/internal/avatar.service.d.ts +42 -0
  88. package/dist/withdraw/user/router.d.ts +1 -13
  89. package/package.json +1 -1
@@ -11,6 +11,9 @@ export declare const authAdmin: {
11
11
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
12
12
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
13
13
  readonly 'checkIn:admin': readonly ['read', 'list'];
14
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
15
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
16
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
14
17
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
15
18
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
16
19
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -58,6 +61,9 @@ export declare const authAdmin: {
58
61
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
59
62
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
60
63
  readonly 'checkIn:admin': readonly ['read', 'list'];
64
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
65
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
66
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
61
67
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
62
68
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
63
69
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -104,6 +110,9 @@ export declare const authAdmin: {
104
110
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
105
111
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
106
112
  readonly 'checkIn:admin': readonly ['read', 'list'];
113
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
114
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
115
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
107
116
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
108
117
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
109
118
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -153,6 +162,9 @@ export declare const authUser: {
153
162
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
154
163
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
155
164
  readonly 'checkIn:admin': readonly ['read', 'list'];
165
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
166
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
167
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
156
168
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
157
169
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
158
170
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -200,6 +212,9 @@ export declare const authUser: {
200
212
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
201
213
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
202
214
  readonly 'checkIn:admin': readonly ['read', 'list'];
215
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
216
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
217
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
203
218
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
204
219
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
205
220
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -246,6 +261,9 @@ export declare const authUser: {
246
261
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
247
262
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
248
263
  readonly 'checkIn:admin': readonly ['read', 'list'];
264
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
265
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
266
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
249
267
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
250
268
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
251
269
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -300,6 +318,9 @@ export declare const superAdmin: {
300
318
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
301
319
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
302
320
  readonly 'checkIn:admin': readonly ['read', 'list'];
321
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
322
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
323
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
303
324
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
304
325
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
305
326
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -347,6 +368,9 @@ export declare const superAdmin: {
347
368
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
348
369
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
349
370
  readonly 'checkIn:admin': readonly ['read', 'list'];
371
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
372
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
373
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
350
374
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
351
375
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
352
376
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -393,6 +417,9 @@ export declare const superAdmin: {
393
417
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
394
418
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
395
419
  readonly 'checkIn:admin': readonly ['read', 'list'];
420
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
421
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
422
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
396
423
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
397
424
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
398
425
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -447,6 +474,9 @@ export declare const user: {
447
474
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
448
475
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
449
476
  readonly 'checkIn:admin': readonly ['read', 'list'];
477
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
478
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
479
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
450
480
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
451
481
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
452
482
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -494,6 +524,9 @@ export declare const user: {
494
524
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
495
525
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
496
526
  readonly 'checkIn:admin': readonly ['read', 'list'];
527
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
528
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
529
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
497
530
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
498
531
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
499
532
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -540,6 +573,9 @@ export declare const user: {
540
573
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
541
574
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
542
575
  readonly 'checkIn:admin': readonly ['read', 'list'];
576
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
577
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
578
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
543
579
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
544
580
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
545
581
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -594,6 +630,9 @@ export declare const admin: {
594
630
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
595
631
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
596
632
  readonly 'checkIn:admin': readonly ['read', 'list'];
633
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
634
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
635
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
597
636
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
598
637
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
599
638
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -641,6 +680,9 @@ export declare const admin: {
641
680
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
642
681
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
643
682
  readonly 'checkIn:admin': readonly ['read', 'list'];
683
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
684
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
685
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
644
686
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
645
687
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
646
688
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -687,6 +729,9 @@ export declare const admin: {
687
729
  readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
688
730
  readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
689
731
  readonly 'checkIn:admin': readonly ['read', 'list'];
732
+ readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
733
+ readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
734
+ readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
690
735
  readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
691
736
  readonly 'deposit:review': readonly ['read', 'update', 'list'];
692
737
  readonly 'ledger_account:import': readonly ['create', 'read', 'list'];
@@ -0,0 +1,294 @@
1
+ export declare const checkInRewardPlanIdParamsSchema: import("@sinclair/typebox").TObject<{
2
+ id: import("@sinclair/typebox").TString;
3
+ }>;
4
+ export declare const checkInRewardRuleIdParamsSchema: import("@sinclair/typebox").TObject<{
5
+ ruleId: import("@sinclair/typebox").TString;
6
+ }>;
7
+ export declare const checkInRewardPlanRuleParamsSchema: import("@sinclair/typebox").TObject<{
8
+ id: import("@sinclair/typebox").TString;
9
+ ruleId: import("@sinclair/typebox").TString;
10
+ }>;
11
+ export declare const checkInRewardRuleResponseSchema: import("@sinclair/typebox").TObject<{
12
+ createdAt: import("@sinclair/typebox").TDate;
13
+ createdBy: import("@sinclair/typebox").TString;
14
+ creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
15
+ id: import("@sinclair/typebox").TString;
16
+ name: import("@sinclair/typebox").TString;
17
+ email: import("@sinclair/typebox").TString;
18
+ }>, import("@sinclair/typebox").TNull]>;
19
+ id: import("@sinclair/typebox").TString;
20
+ isEnabled: import("@sinclair/typebox").TBoolean;
21
+ payoutAccountType: import("@sinclair/typebox").TObject<{
22
+ id: import("@sinclair/typebox").TString;
23
+ key: import("@sinclair/typebox").TString;
24
+ name: import("@sinclair/typebox").TString;
25
+ isActive: import("@sinclair/typebox").TBoolean;
26
+ }>;
27
+ payoutAccountTypeId: import("@sinclair/typebox").TString;
28
+ planId: import("@sinclair/typebox").TString;
29
+ rewardAmount: import("@sinclair/typebox").TString;
30
+ rewardCategory: import("@sinclair/typebox").TString;
31
+ ruleType: import("@sinclair/typebox").TEnum<{
32
+ consecutive: "consecutive";
33
+ cumulative: "cumulative";
34
+ }>;
35
+ sortOrder: import("@sinclair/typebox").TInteger;
36
+ thresholdDays: import("@sinclair/typebox").TInteger;
37
+ updatedAt: import("@sinclair/typebox").TDate;
38
+ updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
39
+ updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
40
+ id: import("@sinclair/typebox").TString;
41
+ name: import("@sinclair/typebox").TString;
42
+ email: import("@sinclair/typebox").TString;
43
+ }>, import("@sinclair/typebox").TNull]>;
44
+ }>;
45
+ export declare const checkInRewardPlanResponseSchema: import("@sinclair/typebox").TObject<{
46
+ checkInType: import("@sinclair/typebox").TEnum<{
47
+ app: "app";
48
+ meeting: "meeting";
49
+ }>;
50
+ createdAt: import("@sinclair/typebox").TDate;
51
+ createdBy: import("@sinclair/typebox").TString;
52
+ creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
53
+ id: import("@sinclair/typebox").TString;
54
+ name: import("@sinclair/typebox").TString;
55
+ email: import("@sinclair/typebox").TString;
56
+ }>, import("@sinclair/typebox").TNull]>;
57
+ dailyPayoutAccountType: import("@sinclair/typebox").TObject<{
58
+ id: import("@sinclair/typebox").TString;
59
+ key: import("@sinclair/typebox").TString;
60
+ name: import("@sinclair/typebox").TString;
61
+ isActive: import("@sinclair/typebox").TBoolean;
62
+ }>;
63
+ dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
64
+ dailyRewardAmount: import("@sinclair/typebox").TString;
65
+ dailyRewardCategory: import("@sinclair/typebox").TString;
66
+ id: import("@sinclair/typebox").TString;
67
+ isEnabled: import("@sinclair/typebox").TBoolean;
68
+ name: import("@sinclair/typebox").TString;
69
+ rewardAsset: import("@sinclair/typebox").TObject<{
70
+ id: import("@sinclair/typebox").TString;
71
+ code: import("@sinclair/typebox").TString;
72
+ name: import("@sinclair/typebox").TString;
73
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
74
+ precision: import("@sinclair/typebox").TInteger;
75
+ isActive: import("@sinclair/typebox").TBoolean;
76
+ }>;
77
+ rewardAssetId: import("@sinclair/typebox").TString;
78
+ rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
79
+ createdAt: import("@sinclair/typebox").TDate;
80
+ createdBy: import("@sinclair/typebox").TString;
81
+ creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
82
+ id: import("@sinclair/typebox").TString;
83
+ name: import("@sinclair/typebox").TString;
84
+ email: import("@sinclair/typebox").TString;
85
+ }>, import("@sinclair/typebox").TNull]>;
86
+ id: import("@sinclair/typebox").TString;
87
+ isEnabled: import("@sinclair/typebox").TBoolean;
88
+ payoutAccountType: import("@sinclair/typebox").TObject<{
89
+ id: import("@sinclair/typebox").TString;
90
+ key: import("@sinclair/typebox").TString;
91
+ name: import("@sinclair/typebox").TString;
92
+ isActive: import("@sinclair/typebox").TBoolean;
93
+ }>;
94
+ payoutAccountTypeId: import("@sinclair/typebox").TString;
95
+ planId: import("@sinclair/typebox").TString;
96
+ rewardAmount: import("@sinclair/typebox").TString;
97
+ rewardCategory: import("@sinclair/typebox").TString;
98
+ ruleType: import("@sinclair/typebox").TEnum<{
99
+ consecutive: "consecutive";
100
+ cumulative: "cumulative";
101
+ }>;
102
+ sortOrder: import("@sinclair/typebox").TInteger;
103
+ thresholdDays: import("@sinclair/typebox").TInteger;
104
+ updatedAt: import("@sinclair/typebox").TDate;
105
+ updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
106
+ updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
107
+ id: import("@sinclair/typebox").TString;
108
+ name: import("@sinclair/typebox").TString;
109
+ email: import("@sinclair/typebox").TString;
110
+ }>, import("@sinclair/typebox").TNull]>;
111
+ }>>;
112
+ sortOrder: import("@sinclair/typebox").TInteger;
113
+ updatedAt: import("@sinclair/typebox").TDate;
114
+ updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
115
+ updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
116
+ id: import("@sinclair/typebox").TString;
117
+ name: import("@sinclair/typebox").TString;
118
+ email: import("@sinclair/typebox").TString;
119
+ }>, import("@sinclair/typebox").TNull]>;
120
+ }>;
121
+ export declare const checkInRewardPlanListItemSchema: import("@sinclair/typebox").TObject<{
122
+ checkInType: import("@sinclair/typebox").TEnum<{
123
+ app: "app";
124
+ meeting: "meeting";
125
+ }>;
126
+ createdAt: import("@sinclair/typebox").TDate;
127
+ createdBy: import("@sinclair/typebox").TString;
128
+ creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
129
+ id: import("@sinclair/typebox").TString;
130
+ name: import("@sinclair/typebox").TString;
131
+ email: import("@sinclair/typebox").TString;
132
+ }>, import("@sinclair/typebox").TNull]>;
133
+ dailyPayoutAccountType: import("@sinclair/typebox").TObject<{
134
+ id: import("@sinclair/typebox").TString;
135
+ key: import("@sinclair/typebox").TString;
136
+ name: import("@sinclair/typebox").TString;
137
+ isActive: import("@sinclair/typebox").TBoolean;
138
+ }>;
139
+ dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
140
+ dailyRewardAmount: import("@sinclair/typebox").TString;
141
+ dailyRewardCategory: import("@sinclair/typebox").TString;
142
+ id: import("@sinclair/typebox").TString;
143
+ isEnabled: import("@sinclair/typebox").TBoolean;
144
+ name: import("@sinclair/typebox").TString;
145
+ rewardAsset: import("@sinclair/typebox").TObject<{
146
+ id: import("@sinclair/typebox").TString;
147
+ code: import("@sinclair/typebox").TString;
148
+ name: import("@sinclair/typebox").TString;
149
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
150
+ precision: import("@sinclair/typebox").TInteger;
151
+ isActive: import("@sinclair/typebox").TBoolean;
152
+ }>;
153
+ rewardAssetId: import("@sinclair/typebox").TString;
154
+ ruleCount: import("@sinclair/typebox").TInteger;
155
+ sortOrder: import("@sinclair/typebox").TInteger;
156
+ updatedAt: import("@sinclair/typebox").TDate;
157
+ updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
158
+ updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
159
+ id: import("@sinclair/typebox").TString;
160
+ name: import("@sinclair/typebox").TString;
161
+ email: import("@sinclair/typebox").TString;
162
+ }>, import("@sinclair/typebox").TNull]>;
163
+ }>;
164
+ export declare const checkInRewardPlanListResponseSchema: import("@sinclair/typebox").TObject<{
165
+ data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
166
+ checkInType: import("@sinclair/typebox").TEnum<{
167
+ app: "app";
168
+ meeting: "meeting";
169
+ }>;
170
+ createdAt: import("@sinclair/typebox").TDate;
171
+ createdBy: import("@sinclair/typebox").TString;
172
+ creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
173
+ id: import("@sinclair/typebox").TString;
174
+ name: import("@sinclair/typebox").TString;
175
+ email: import("@sinclair/typebox").TString;
176
+ }>, import("@sinclair/typebox").TNull]>;
177
+ dailyPayoutAccountType: import("@sinclair/typebox").TObject<{
178
+ id: import("@sinclair/typebox").TString;
179
+ key: import("@sinclair/typebox").TString;
180
+ name: import("@sinclair/typebox").TString;
181
+ isActive: import("@sinclair/typebox").TBoolean;
182
+ }>;
183
+ dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
184
+ dailyRewardAmount: import("@sinclair/typebox").TString;
185
+ dailyRewardCategory: import("@sinclair/typebox").TString;
186
+ id: import("@sinclair/typebox").TString;
187
+ isEnabled: import("@sinclair/typebox").TBoolean;
188
+ name: import("@sinclair/typebox").TString;
189
+ rewardAsset: import("@sinclair/typebox").TObject<{
190
+ id: import("@sinclair/typebox").TString;
191
+ code: import("@sinclair/typebox").TString;
192
+ name: import("@sinclair/typebox").TString;
193
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
194
+ precision: import("@sinclair/typebox").TInteger;
195
+ isActive: import("@sinclair/typebox").TBoolean;
196
+ }>;
197
+ rewardAssetId: import("@sinclair/typebox").TString;
198
+ ruleCount: import("@sinclair/typebox").TInteger;
199
+ sortOrder: import("@sinclair/typebox").TInteger;
200
+ updatedAt: import("@sinclair/typebox").TDate;
201
+ updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
202
+ updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
203
+ id: import("@sinclair/typebox").TString;
204
+ name: import("@sinclair/typebox").TString;
205
+ email: import("@sinclair/typebox").TString;
206
+ }>, import("@sinclair/typebox").TNull]>;
207
+ }>>;
208
+ pagination: import("@sinclair/typebox").TObject<{
209
+ pageSize: import("@sinclair/typebox").TNumber;
210
+ pageIndex: import("@sinclair/typebox").TNumber;
211
+ total: import("@sinclair/typebox").TNumber;
212
+ totalPages: import("@sinclair/typebox").TNumber;
213
+ hasNextPage: import("@sinclair/typebox").TBoolean;
214
+ }>;
215
+ }>;
216
+ export declare const checkInRewardPlanListQuerySchema: import("@sinclair/typebox").TObject<{
217
+ checkInType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
218
+ app: "app";
219
+ meeting: "meeting";
220
+ }>>;
221
+ isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
222
+ keyword: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
223
+ limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
224
+ offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
225
+ pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
226
+ pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
227
+ }>;
228
+ export type CheckInRewardPlanListQueryType = typeof checkInRewardPlanListQuerySchema.static;
229
+ export declare const checkInRewardPlanCreateSchema: import("@sinclair/typebox").TObject<{
230
+ checkInType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
231
+ app: "app";
232
+ meeting: "meeting";
233
+ }>>;
234
+ dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
235
+ dailyRewardAmount: import("@sinclair/typebox").TString;
236
+ dailyRewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
237
+ isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
238
+ name: import("@sinclair/typebox").TString;
239
+ rewardAssetId: import("@sinclair/typebox").TString;
240
+ rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
241
+ ruleType: import("@sinclair/typebox").TEnum<{
242
+ consecutive: "consecutive";
243
+ cumulative: "cumulative";
244
+ }>;
245
+ thresholdDays: import("@sinclair/typebox").TInteger;
246
+ rewardAmount: import("@sinclair/typebox").TString;
247
+ rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
248
+ payoutAccountTypeId: import("@sinclair/typebox").TString;
249
+ isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
250
+ sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
251
+ }>>>;
252
+ sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
253
+ }>;
254
+ export type CheckInRewardPlanCreateInputType = typeof checkInRewardPlanCreateSchema.static;
255
+ export declare const checkInRewardPlanUpdateSchema: import("@sinclair/typebox").TObject<{
256
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
257
+ rewardAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
258
+ dailyRewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
259
+ dailyRewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
260
+ dailyPayoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
261
+ checkInType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
262
+ app: "app";
263
+ meeting: "meeting";
264
+ }>>;
265
+ isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
266
+ sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
267
+ }>;
268
+ export type CheckInRewardPlanUpdateInputType = typeof checkInRewardPlanUpdateSchema.static;
269
+ export declare const checkInRewardRuleCreateSchema: import("@sinclair/typebox").TObject<{
270
+ ruleType: import("@sinclair/typebox").TEnum<{
271
+ consecutive: "consecutive";
272
+ cumulative: "cumulative";
273
+ }>;
274
+ thresholdDays: import("@sinclair/typebox").TInteger;
275
+ rewardAmount: import("@sinclair/typebox").TString;
276
+ rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
277
+ payoutAccountTypeId: import("@sinclair/typebox").TString;
278
+ isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
279
+ sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
280
+ }>;
281
+ export type CheckInRewardRuleCreateInputType = typeof checkInRewardRuleCreateSchema.static;
282
+ export declare const checkInRewardRuleUpdateSchema: import("@sinclair/typebox").TObject<{
283
+ ruleType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
284
+ consecutive: "consecutive";
285
+ cumulative: "cumulative";
286
+ }>>;
287
+ thresholdDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
288
+ rewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
289
+ rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
290
+ payoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
291
+ isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
292
+ sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
293
+ }>;
294
+ export type CheckInRewardRuleUpdateInputType = typeof checkInRewardRuleUpdateSchema.static;