@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
|
@@ -35,19 +35,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
39
|
-
domain?: string | undefined;
|
|
40
|
-
expires?: Date | undefined;
|
|
41
|
-
httpOnly?: boolean | undefined;
|
|
42
|
-
maxAge?: number | undefined;
|
|
43
|
-
path?: string | undefined;
|
|
44
|
-
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
-
partitioned?: boolean | undefined;
|
|
46
|
-
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
-
secure?: boolean | undefined;
|
|
48
|
-
secrets?: string | null | (string | null)[];
|
|
49
|
-
value?: unknown;
|
|
50
|
-
}>;
|
|
38
|
+
cookie?: Record<string, import("elysia/cookies").ElysiaCookie>;
|
|
51
39
|
};
|
|
52
40
|
path: string;
|
|
53
41
|
route: string;
|
|
@@ -2681,7 +2681,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2681
2681
|
readonly 'asset:item'?: ("create" | "list" | "read" | "update")[] | undefined;
|
|
2682
2682
|
readonly 'checkIn:checkIn'?: ("create" | "list" | "read")[] | undefined;
|
|
2683
2683
|
readonly 'checkIn:admin'?: ("list" | "read")[] | undefined;
|
|
2684
|
-
readonly 'checkIn:rewardPlan'?: ("create" | "delete" | "
|
|
2684
|
+
readonly 'checkIn:rewardPlan'?: ("create" | "delete" | "read" | "update")[] | undefined;
|
|
2685
2685
|
readonly 'checkIn:rewardRule'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2686
2686
|
readonly 'content_video:video'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2687
2687
|
readonly 'deposit:order'?: ("create" | "list" | "read" | "update")[] | undefined;
|
|
@@ -2801,7 +2801,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2801
2801
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2802
2802
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2803
2803
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2804
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
2804
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2805
2805
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2806
2806
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2807
2807
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2851,7 +2851,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2851
2851
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2852
2852
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2853
2853
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2854
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
2854
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2855
2855
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2856
2856
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2857
2857
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2901,7 +2901,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2901
2901
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2902
2902
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2903
2903
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2904
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
2904
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2905
2905
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2906
2906
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2907
2907
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2950,7 +2950,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2950
2950
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2951
2951
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2952
2952
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2953
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
2953
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
2954
2954
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2955
2955
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2956
2956
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -3000,7 +3000,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
3000
3000
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
3001
3001
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
3002
3002
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
3003
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
3003
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
3004
3004
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3005
3005
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3006
3006
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -10,7 +10,7 @@ export declare const ac: {
|
|
|
10
10
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
11
11
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
12
12
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
13
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
13
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
14
14
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
15
15
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
16
16
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -60,7 +60,7 @@ export declare const ac: {
|
|
|
60
60
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
61
61
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
62
62
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
63
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
63
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
64
64
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
65
65
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
66
66
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -110,7 +110,7 @@ export declare const ac: {
|
|
|
110
110
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
111
111
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
112
112
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
113
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
113
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
114
114
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
115
115
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
116
116
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -159,7 +159,7 @@ export declare const ac: {
|
|
|
159
159
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
160
160
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
161
161
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
162
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
162
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
163
163
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
164
164
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
165
165
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -209,7 +209,7 @@ export declare const ac: {
|
|
|
209
209
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
210
210
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
211
211
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
212
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
212
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
213
213
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
214
214
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
215
215
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
package/dist/auth/roles.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ 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'
|
|
14
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
15
15
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
16
16
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
17
17
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -61,7 +61,7 @@ export declare const authAdmin: {
|
|
|
61
61
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
62
62
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
63
63
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
64
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
64
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
65
65
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
66
66
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
67
67
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -110,7 +110,7 @@ export declare const authAdmin: {
|
|
|
110
110
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
111
111
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
112
112
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
113
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
113
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
114
114
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
115
115
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
116
116
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -162,7 +162,7 @@ export declare const authUser: {
|
|
|
162
162
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
163
163
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
164
164
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
165
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
165
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
166
166
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
167
167
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
168
168
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -212,7 +212,7 @@ export declare const authUser: {
|
|
|
212
212
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
213
213
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
214
214
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
215
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
215
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
216
216
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
217
217
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
218
218
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -261,7 +261,7 @@ export declare const authUser: {
|
|
|
261
261
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
262
262
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
263
263
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
264
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
264
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
265
265
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
266
266
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
267
267
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -318,7 +318,7 @@ export declare const superAdmin: {
|
|
|
318
318
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
319
319
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
320
320
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
321
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
321
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
322
322
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
323
323
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
324
324
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -368,7 +368,7 @@ export declare const superAdmin: {
|
|
|
368
368
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
369
369
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
370
370
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
371
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
371
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
372
372
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
373
373
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
374
374
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -417,7 +417,7 @@ export declare const superAdmin: {
|
|
|
417
417
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
418
418
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
419
419
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
420
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
420
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
421
421
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
422
422
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
423
423
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -474,7 +474,7 @@ export declare const user: {
|
|
|
474
474
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
475
475
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
476
476
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
477
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
477
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
478
478
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
479
479
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
480
480
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -524,7 +524,7 @@ export declare const user: {
|
|
|
524
524
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
525
525
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
526
526
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
527
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
527
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
528
528
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
529
529
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
530
530
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -573,7 +573,7 @@ export declare const user: {
|
|
|
573
573
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
574
574
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
575
575
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
576
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
576
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
577
577
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
578
578
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
579
579
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -630,7 +630,7 @@ export declare const admin: {
|
|
|
630
630
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
631
631
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
632
632
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
633
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
633
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
634
634
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
635
635
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
636
636
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -680,7 +680,7 @@ export declare const admin: {
|
|
|
680
680
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
681
681
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
682
682
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
683
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
683
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
684
684
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
685
685
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
686
686
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -729,7 +729,7 @@ export declare const admin: {
|
|
|
729
729
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
730
730
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
731
731
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
732
|
-
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'
|
|
732
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete'];
|
|
733
733
|
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
734
734
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
735
735
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
export declare const checkInRewardPlanIdParamsSchema: import("@sinclair/typebox").TObject<{
|
|
2
|
-
id: import("@sinclair/typebox").TString;
|
|
3
|
-
}>;
|
|
4
1
|
export declare const checkInRewardRuleIdParamsSchema: import("@sinclair/typebox").TObject<{
|
|
5
2
|
ruleId: import("@sinclair/typebox").TString;
|
|
6
3
|
}>;
|
|
7
|
-
export declare const checkInRewardPlanRuleParamsSchema: import("@sinclair/typebox").TObject<{
|
|
8
|
-
id: import("@sinclair/typebox").TString;
|
|
9
|
-
ruleId: import("@sinclair/typebox").TString;
|
|
10
|
-
}>;
|
|
11
4
|
export declare const checkInRewardRuleResponseSchema: import("@sinclair/typebox").TObject<{
|
|
12
5
|
createdAt: import("@sinclair/typebox").TDate;
|
|
13
6
|
createdBy: import("@sinclair/typebox").TString;
|
|
@@ -118,114 +111,6 @@ export declare const checkInRewardPlanResponseSchema: import("@sinclair/typebox"
|
|
|
118
111
|
email: import("@sinclair/typebox").TString;
|
|
119
112
|
}>, import("@sinclair/typebox").TNull]>;
|
|
120
113
|
}>;
|
|
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
114
|
export declare const checkInRewardPlanCreateSchema: import("@sinclair/typebox").TObject<{
|
|
230
115
|
checkInType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
231
116
|
app: "app";
|
|
@@ -238,16 +123,16 @@ export declare const checkInRewardPlanCreateSchema: import("@sinclair/typebox").
|
|
|
238
123
|
name: import("@sinclair/typebox").TString;
|
|
239
124
|
rewardAssetId: import("@sinclair/typebox").TString;
|
|
240
125
|
rules: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
126
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
127
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
128
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
129
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
241
130
|
ruleType: import("@sinclair/typebox").TEnum<{
|
|
242
131
|
consecutive: "consecutive";
|
|
243
132
|
cumulative: "cumulative";
|
|
244
133
|
}>;
|
|
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
134
|
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
135
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
251
136
|
}>>>;
|
|
252
137
|
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
253
138
|
}>;
|
|
@@ -267,28 +152,28 @@ export declare const checkInRewardPlanUpdateSchema: import("@sinclair/typebox").
|
|
|
267
152
|
}>;
|
|
268
153
|
export type CheckInRewardPlanUpdateInputType = typeof checkInRewardPlanUpdateSchema.static;
|
|
269
154
|
export declare const checkInRewardRuleCreateSchema: import("@sinclair/typebox").TObject<{
|
|
155
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
156
|
+
payoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
157
|
+
rewardAmount: import("@sinclair/typebox").TString;
|
|
158
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
270
159
|
ruleType: import("@sinclair/typebox").TEnum<{
|
|
271
160
|
consecutive: "consecutive";
|
|
272
161
|
cumulative: "cumulative";
|
|
273
162
|
}>;
|
|
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
163
|
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
164
|
+
thresholdDays: import("@sinclair/typebox").TInteger;
|
|
280
165
|
}>;
|
|
281
166
|
export type CheckInRewardRuleCreateInputType = typeof checkInRewardRuleCreateSchema.static;
|
|
282
167
|
export declare const checkInRewardRuleUpdateSchema: import("@sinclair/typebox").TObject<{
|
|
168
|
+
isEnabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
169
|
+
payoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
170
|
+
rewardAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
171
|
+
rewardCategory: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
283
172
|
ruleType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
284
173
|
consecutive: "consecutive";
|
|
285
174
|
cumulative: "cumulative";
|
|
286
175
|
}>>;
|
|
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
176
|
sortOrder: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
177
|
+
thresholdDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
293
178
|
}>;
|
|
294
179
|
export type CheckInRewardRuleUpdateInputType = typeof checkInRewardRuleUpdateSchema.static;
|