@aitlabs/namkwong 0.0.92 → 0.0.103
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 +2807 -797
- package/dist/app-version/admin/router.d.ts +13 -1
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +8 -0
- package/dist/asset-convert-product/admin/router.d.ts +12 -12
- package/dist/asset-convert-product/admin/service.d.ts +12 -12
- package/dist/auth/better-auth.d.ts +19 -1
- package/dist/auth/i18n/zh.d.ts +100 -0
- package/dist/auth/permissions.d.ts +16 -1
- package/dist/auth/roles.d.ts +45 -0
- package/dist/check-in/admin/reward.dto.schemas.d.ts +321 -0
- package/dist/check-in/admin/reward.router.d.ts +1109 -0
- package/dist/check-in/admin/reward.service.d.ts +433 -0
- package/dist/check-in/admin/router.d.ts +662 -0
- package/dist/check-in/errors/index.d.ts +10 -0
- package/dist/check-in/errors/locales/zh.d.ts +10 -0
- package/dist/check-in/index.d.ts +5 -0
- package/dist/check-in/internal/reward-config.service.d.ts +97 -0
- package/dist/check-in/permissions.d.ts +2 -0
- package/dist/check-in/reward.db.schemas.d.ts +896 -0
- package/dist/check-in/reward.schema.d.ts +477 -0
- package/dist/content-video/admin/dto.schemas.d.ts +128 -0
- package/dist/content-video/admin/router.d.ts +861 -0
- package/dist/content-video/admin/service.d.ts +211 -0
- package/dist/content-video/db.schemas.d.ts +486 -0
- package/dist/content-video/errors/index.d.ts +17 -0
- package/dist/content-video/errors/locales/zh.d.ts +16 -0
- package/dist/content-video/index.d.ts +8 -0
- package/dist/content-video/internal/service.d.ts +106 -0
- package/dist/content-video/permissions.d.ts +4 -0
- package/dist/content-video/schema.d.ts +257 -0
- package/dist/content-video/user/dto.schemas.d.ts +52 -0
- package/dist/content-video/user/router.d.ts +482 -0
- package/dist/content-video/user/service.d.ts +36 -0
- package/dist/db/schemas.d.ts +4 -0
- package/dist/file-storage/admin/dto.schemas.d.ts +4 -0
- package/dist/file-storage/admin/router.d.ts +2 -2
- package/dist/file-storage/admin/service.d.ts +2 -2
- package/dist/file-storage/db.schemas.d.ts +4 -4
- package/dist/file-storage/internal/service.d.ts +1 -1
- package/dist/file-storage/s3.client.d.ts +22 -0
- package/dist/file-storage/schema.d.ts +3 -3
- package/dist/file-storage/share/dto.schemas.d.ts +1 -0
- package/dist/file-storage/share/router.d.ts +1 -1
- package/dist/file-storage/user/dto.schemas.d.ts +6 -4
- package/dist/file-storage/user/router.d.ts +3 -3
- package/dist/file-storage/user/service.d.ts +2 -2
- package/dist/index.d.ts +3131 -805
- package/dist/ledger/admin/dto.schemas.d.ts +8 -0
- package/dist/ledger/admin/router.d.ts +5 -17
- 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/lock-activity/admin/dto.schemas.d.ts +161 -0
- package/dist/lock-activity/admin/participation.dto.schemas.d.ts +200 -0
- package/dist/lock-activity/admin/participation.service.d.ts +144 -0
- package/dist/lock-activity/admin/reward.service.d.ts +48 -0
- package/dist/lock-activity/admin/router.d.ts +1399 -0
- package/dist/lock-activity/admin/service.d.ts +518 -0
- package/dist/lock-activity/constants.d.ts +2 -0
- package/dist/lock-activity/cron.d.ts +6 -0
- package/dist/lock-activity/db.schemas.d.ts +516 -0
- package/dist/lock-activity/errors/index.d.ts +32 -0
- package/dist/lock-activity/errors/locales/zh.d.ts +31 -0
- package/dist/lock-activity/index.d.ts +7 -0
- package/dist/lock-activity/internal/participation.service.d.ts +42 -0
- package/dist/lock-activity/internal/reward.service.d.ts +15 -0
- package/dist/lock-activity/internal/service.d.ts +66 -0
- package/dist/lock-activity/participation.db.schemas.d.ts +448 -0
- package/dist/lock-activity/participation.schema.d.ts +239 -0
- package/dist/lock-activity/permissions.d.ts +5 -0
- package/dist/lock-activity/schema.d.ts +273 -0
- package/dist/lock-activity/shared.dto.schemas.d.ts +7 -0
- package/dist/lock-activity/user/dto.schemas.d.ts +116 -0
- package/dist/lock-activity/user/participation.dto.schemas.d.ts +25 -0
- package/dist/lock-activity/user/participation.service.d.ts +24 -0
- package/dist/lock-activity/user/router.d.ts +624 -0
- package/dist/lock-activity/user/service.d.ts +86 -0
- package/dist/market-pricing/admin/router.d.ts +13 -1
- package/dist/news/admin/dto.schemas.d.ts +26 -26
- package/dist/news/admin/router.d.ts +25 -25
- package/dist/news/admin/service.d.ts +4 -1
- package/dist/news/user/service.d.ts +2 -2
- package/dist/referral/index.d.ts +1 -0
- package/dist/referral/user/router.d.ts +29 -1
- package/dist/wallet-type/admin/router.d.ts +1 -13
- package/package.json +1 -1
package/dist/auth/roles.d.ts
CHANGED
|
@@ -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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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'];
|
|
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,321 @@
|
|
|
1
|
+
export declare const checkInRewardRuleIdParamsSchema: import("@sinclair/typebox").TObject<{
|
|
2
|
+
ruleId: import("@sinclair/typebox").TString;
|
|
3
|
+
}>;
|
|
4
|
+
export declare const checkInRewardRuleResponseSchema: import("@sinclair/typebox").TObject<{
|
|
5
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
6
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
7
|
+
creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
8
|
+
id: import("@sinclair/typebox").TString;
|
|
9
|
+
name: import("@sinclair/typebox").TString;
|
|
10
|
+
email: import("@sinclair/typebox").TString;
|
|
11
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
12
|
+
id: import("@sinclair/typebox").TString;
|
|
13
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
14
|
+
payoutAccountType: import("@sinclair/typebox").TObject<{
|
|
15
|
+
id: import("@sinclair/typebox").TString;
|
|
16
|
+
key: import("@sinclair/typebox").TString;
|
|
17
|
+
name: import("@sinclair/typebox").TString;
|
|
18
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
19
|
+
}>;
|
|
20
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
21
|
+
planId: import("@sinclair/typebox").TString;
|
|
22
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
23
|
+
rewardCategory: import("@sinclair/typebox").TString;
|
|
24
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
25
|
+
consecutive: "consecutive";
|
|
26
|
+
cumulative: "cumulative";
|
|
27
|
+
}>;
|
|
28
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
29
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
30
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
31
|
+
updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
32
|
+
updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
33
|
+
id: import("@sinclair/typebox").TString;
|
|
34
|
+
name: import("@sinclair/typebox").TString;
|
|
35
|
+
email: import("@sinclair/typebox").TString;
|
|
36
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const checkInRewardPlanResponseSchema: import("@sinclair/typebox").TObject<{
|
|
39
|
+
checkInType: import("@sinclair/typebox").TEnum<{
|
|
40
|
+
app: "app";
|
|
41
|
+
meeting: "meeting";
|
|
42
|
+
}>;
|
|
43
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
44
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
45
|
+
creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
46
|
+
id: import("@sinclair/typebox").TString;
|
|
47
|
+
name: import("@sinclair/typebox").TString;
|
|
48
|
+
email: import("@sinclair/typebox").TString;
|
|
49
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
50
|
+
dailyPayoutAccountType: import("@sinclair/typebox").TObject<{
|
|
51
|
+
id: import("@sinclair/typebox").TString;
|
|
52
|
+
key: import("@sinclair/typebox").TString;
|
|
53
|
+
name: import("@sinclair/typebox").TString;
|
|
54
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
55
|
+
}>;
|
|
56
|
+
dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
57
|
+
dailyRewardAmount: import("@sinclair/typebox").TString;
|
|
58
|
+
dailyRewardCategory: import("@sinclair/typebox").TString;
|
|
59
|
+
id: import("@sinclair/typebox").TString;
|
|
60
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
61
|
+
name: import("@sinclair/typebox").TString;
|
|
62
|
+
rewardAsset: import("@sinclair/typebox").TObject<{
|
|
63
|
+
id: import("@sinclair/typebox").TString;
|
|
64
|
+
code: import("@sinclair/typebox").TString;
|
|
65
|
+
name: import("@sinclair/typebox").TString;
|
|
66
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
67
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
68
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
69
|
+
}>;
|
|
70
|
+
rewardAssetId: import("@sinclair/typebox").TString;
|
|
71
|
+
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
72
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
73
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
74
|
+
creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
75
|
+
id: import("@sinclair/typebox").TString;
|
|
76
|
+
name: import("@sinclair/typebox").TString;
|
|
77
|
+
email: import("@sinclair/typebox").TString;
|
|
78
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
79
|
+
id: import("@sinclair/typebox").TString;
|
|
80
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
81
|
+
payoutAccountType: import("@sinclair/typebox").TObject<{
|
|
82
|
+
id: import("@sinclair/typebox").TString;
|
|
83
|
+
key: import("@sinclair/typebox").TString;
|
|
84
|
+
name: import("@sinclair/typebox").TString;
|
|
85
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
86
|
+
}>;
|
|
87
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
88
|
+
planId: import("@sinclair/typebox").TString;
|
|
89
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
90
|
+
rewardCategory: import("@sinclair/typebox").TString;
|
|
91
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
92
|
+
consecutive: "consecutive";
|
|
93
|
+
cumulative: "cumulative";
|
|
94
|
+
}>;
|
|
95
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
96
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
97
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
98
|
+
updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
99
|
+
updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
100
|
+
id: import("@sinclair/typebox").TString;
|
|
101
|
+
name: import("@sinclair/typebox").TString;
|
|
102
|
+
email: import("@sinclair/typebox").TString;
|
|
103
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
104
|
+
}>>;
|
|
105
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
106
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
107
|
+
updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
108
|
+
updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
109
|
+
id: import("@sinclair/typebox").TString;
|
|
110
|
+
name: import("@sinclair/typebox").TString;
|
|
111
|
+
email: import("@sinclair/typebox").TString;
|
|
112
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
113
|
+
}>;
|
|
114
|
+
/** 尚未配置签到奖励时 GET 返回 null,避免首次进入管理页报错 */
|
|
115
|
+
export declare const checkInRewardPlanNullableResponseSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
116
|
+
checkInType: import("@sinclair/typebox").TEnum<{
|
|
117
|
+
app: "app";
|
|
118
|
+
meeting: "meeting";
|
|
119
|
+
}>;
|
|
120
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
121
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
122
|
+
creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
123
|
+
id: import("@sinclair/typebox").TString;
|
|
124
|
+
name: import("@sinclair/typebox").TString;
|
|
125
|
+
email: import("@sinclair/typebox").TString;
|
|
126
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
127
|
+
dailyPayoutAccountType: import("@sinclair/typebox").TObject<{
|
|
128
|
+
id: import("@sinclair/typebox").TString;
|
|
129
|
+
key: import("@sinclair/typebox").TString;
|
|
130
|
+
name: import("@sinclair/typebox").TString;
|
|
131
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
132
|
+
}>;
|
|
133
|
+
dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
134
|
+
dailyRewardAmount: import("@sinclair/typebox").TString;
|
|
135
|
+
dailyRewardCategory: import("@sinclair/typebox").TString;
|
|
136
|
+
id: import("@sinclair/typebox").TString;
|
|
137
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
138
|
+
name: import("@sinclair/typebox").TString;
|
|
139
|
+
rewardAsset: import("@sinclair/typebox").TObject<{
|
|
140
|
+
id: import("@sinclair/typebox").TString;
|
|
141
|
+
code: import("@sinclair/typebox").TString;
|
|
142
|
+
name: import("@sinclair/typebox").TString;
|
|
143
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
144
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
145
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
146
|
+
}>;
|
|
147
|
+
rewardAssetId: import("@sinclair/typebox").TString;
|
|
148
|
+
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
149
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
150
|
+
createdBy: import("@sinclair/typebox").TString;
|
|
151
|
+
creator: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
152
|
+
id: import("@sinclair/typebox").TString;
|
|
153
|
+
name: import("@sinclair/typebox").TString;
|
|
154
|
+
email: import("@sinclair/typebox").TString;
|
|
155
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
156
|
+
id: import("@sinclair/typebox").TString;
|
|
157
|
+
isEnabled: import("@sinclair/typebox").TBoolean;
|
|
158
|
+
payoutAccountType: import("@sinclair/typebox").TObject<{
|
|
159
|
+
id: import("@sinclair/typebox").TString;
|
|
160
|
+
key: import("@sinclair/typebox").TString;
|
|
161
|
+
name: import("@sinclair/typebox").TString;
|
|
162
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
163
|
+
}>;
|
|
164
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
165
|
+
planId: import("@sinclair/typebox").TString;
|
|
166
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
167
|
+
rewardCategory: import("@sinclair/typebox").TString;
|
|
168
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
169
|
+
consecutive: "consecutive";
|
|
170
|
+
cumulative: "cumulative";
|
|
171
|
+
}>;
|
|
172
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
173
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
174
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
175
|
+
updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
176
|
+
updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
177
|
+
id: import("@sinclair/typebox").TString;
|
|
178
|
+
name: import("@sinclair/typebox").TString;
|
|
179
|
+
email: import("@sinclair/typebox").TString;
|
|
180
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
181
|
+
}>>;
|
|
182
|
+
sortOrder: import("@sinclair/typebox").TInteger;
|
|
183
|
+
updatedAt: import("@sinclair/typebox").TDate;
|
|
184
|
+
updatedBy: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
185
|
+
updater: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
186
|
+
id: import("@sinclair/typebox").TString;
|
|
187
|
+
name: import("@sinclair/typebox").TString;
|
|
188
|
+
email: import("@sinclair/typebox").TString;
|
|
189
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
190
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
191
|
+
export declare const checkInRewardPlanCreateSchema: import("@sinclair/typebox").TObject<{
|
|
192
|
+
checkInType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
193
|
+
app: "app";
|
|
194
|
+
meeting: "meeting";
|
|
195
|
+
}>>;
|
|
196
|
+
dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
197
|
+
dailyRewardAmount: import("@sinclair/typebox").TString;
|
|
198
|
+
dailyRewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
199
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
200
|
+
name: import("@sinclair/typebox").TString;
|
|
201
|
+
rewardAssetId: import("@sinclair/typebox").TString;
|
|
202
|
+
rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
203
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
204
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
205
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
206
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
207
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
208
|
+
consecutive: "consecutive";
|
|
209
|
+
cumulative: "cumulative";
|
|
210
|
+
}>;
|
|
211
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
212
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
213
|
+
}>>>;
|
|
214
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
215
|
+
}>;
|
|
216
|
+
export type CheckInRewardPlanCreateInputType = typeof checkInRewardPlanCreateSchema.static;
|
|
217
|
+
export declare const checkInRewardRuleCreateSchema: import("@sinclair/typebox").TObject<{
|
|
218
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
219
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
220
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
221
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
222
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
223
|
+
consecutive: "consecutive";
|
|
224
|
+
cumulative: "cumulative";
|
|
225
|
+
}>;
|
|
226
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
227
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
228
|
+
}>;
|
|
229
|
+
export type CheckInRewardRuleCreateInputType = typeof checkInRewardRuleCreateSchema.static;
|
|
230
|
+
export declare const checkInRewardRuleUpdateSchema: import("@sinclair/typebox").TObject<{
|
|
231
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
232
|
+
payoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
233
|
+
rewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
234
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
235
|
+
ruleType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
236
|
+
consecutive: "consecutive";
|
|
237
|
+
cumulative: "cumulative";
|
|
238
|
+
}>>;
|
|
239
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
240
|
+
thresholdDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
241
|
+
}>;
|
|
242
|
+
export type CheckInRewardRuleUpdateInputType = typeof checkInRewardRuleUpdateSchema.static;
|
|
243
|
+
/** 更新既有里程碑规则(须带 id) */
|
|
244
|
+
export declare const checkInRewardRuleUpdateItemSchema: import("@sinclair/typebox").TObject<{
|
|
245
|
+
id: import("@sinclair/typebox").TString;
|
|
246
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
247
|
+
payoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
248
|
+
rewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
249
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
250
|
+
ruleType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
251
|
+
consecutive: "consecutive";
|
|
252
|
+
cumulative: "cumulative";
|
|
253
|
+
}>>;
|
|
254
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
255
|
+
thresholdDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
256
|
+
}>;
|
|
257
|
+
export type CheckInRewardRuleUpdateItemType = typeof checkInRewardRuleUpdateItemSchema.static;
|
|
258
|
+
/** 有 id 更新、无 id 新增 */
|
|
259
|
+
export declare const checkInRewardRuleUpsertItemSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
260
|
+
id: import("@sinclair/typebox").TString;
|
|
261
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
262
|
+
payoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
263
|
+
rewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
264
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
265
|
+
ruleType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
266
|
+
consecutive: "consecutive";
|
|
267
|
+
cumulative: "cumulative";
|
|
268
|
+
}>>;
|
|
269
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
270
|
+
thresholdDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
271
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
272
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
273
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
274
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
275
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
276
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
277
|
+
consecutive: "consecutive";
|
|
278
|
+
cumulative: "cumulative";
|
|
279
|
+
}>;
|
|
280
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
281
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
282
|
+
}>]>;
|
|
283
|
+
export type CheckInRewardRuleUpsertItemType = typeof checkInRewardRuleUpsertItemSchema.static;
|
|
284
|
+
export declare const checkInRewardPlanUpdateSchema: import("@sinclair/typebox").TObject<{
|
|
285
|
+
checkInType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
286
|
+
app: "app";
|
|
287
|
+
meeting: "meeting";
|
|
288
|
+
}>>;
|
|
289
|
+
dailyPayoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
290
|
+
dailyRewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
291
|
+
dailyRewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
292
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
293
|
+
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
294
|
+
rewardAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
295
|
+
rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
296
|
+
id: import("@sinclair/typebox").TString;
|
|
297
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
298
|
+
payoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
299
|
+
rewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
300
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
301
|
+
ruleType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
302
|
+
consecutive: "consecutive";
|
|
303
|
+
cumulative: "cumulative";
|
|
304
|
+
}>>;
|
|
305
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
306
|
+
thresholdDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
307
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
308
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
309
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
310
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
311
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
312
|
+
ruleType: import("@sinclair/typebox").TEnum<{
|
|
313
|
+
consecutive: "consecutive";
|
|
314
|
+
cumulative: "cumulative";
|
|
315
|
+
}>;
|
|
316
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
317
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
318
|
+
}>]>>>;
|
|
319
|
+
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
320
|
+
}>;
|
|
321
|
+
export type CheckInRewardPlanUpdateInputType = typeof checkInRewardPlanUpdateSchema.static;
|