@r2wa-org/eden 0.0.99 → 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.
- package/dist/admin/index.d.ts +807 -12
- package/dist/auth/better-auth.d.ts +13 -1
- package/dist/auth/permissions.d.ts +11 -1
- package/dist/auth/roles.d.ts +30 -0
- package/dist/bank-account/admin/router.d.ts +1 -13
- package/dist/check-in/admin/reward.dto.schemas.d.ts +294 -0
- package/dist/check-in/admin/reward.router.d.ts +1192 -0
- package/dist/check-in/admin/reward.service.d.ts +479 -0
- package/dist/check-in/admin/router.d.ts +745 -0
- package/dist/check-in/errors/index.d.ts +9 -0
- package/dist/check-in/errors/locales/zh.d.ts +9 -0
- package/dist/check-in/index.d.ts +5 -0
- package/dist/check-in/internal/reward-config.service.d.ts +66 -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 +14 -14
- package/dist/content-video/admin/router.d.ts +12 -12
- package/dist/content-video/admin/service.d.ts +1 -0
- package/dist/content-video/user/router.d.ts +13 -1
- package/dist/db/schemas.d.ts +1 -0
- package/dist/index.d.ts +823 -12
- package/dist/lock-activity/admin/dto.schemas.d.ts +16 -0
- package/dist/lock-activity/admin/router.d.ts +56 -0
- package/dist/lock-activity/admin/service.d.ts +134 -8
- package/dist/lock-activity/db.schemas.d.ts +34 -0
- package/dist/lock-activity/internal/service.d.ts +41 -0
- package/dist/lock-activity/schema.d.ts +18 -0
- package/dist/lock-activity/shared.dto.schemas.d.ts +7 -0
- package/dist/lock-activity/user/dto.schemas.d.ts +24 -0
- package/dist/lock-activity/user/router.d.ts +17 -13
- package/dist/lock-activity/user/service.d.ts +39 -3
- package/dist/referral/admin/router.d.ts +13 -1
- package/package.json +1 -1
|
@@ -2681,6 +2681,8 @@ 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" | "list" | "read" | "update")[] | undefined;
|
|
2685
|
+
readonly 'checkIn:rewardRule'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2684
2686
|
readonly 'content_video:video'?: ("create" | "delete" | "list" | "read" | "update")[] | undefined;
|
|
2685
2687
|
readonly 'deposit:order'?: ("create" | "list" | "read" | "update")[] | undefined;
|
|
2686
2688
|
readonly 'deposit:review'?: ("list" | "read" | "update")[] | undefined;
|
|
@@ -2788,7 +2790,7 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2788
2790
|
};
|
|
2789
2791
|
options: NoInfer<{
|
|
2790
2792
|
ac: {
|
|
2791
|
-
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
2793
|
+
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
2792
2794
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
|
|
2793
2795
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
2794
2796
|
readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -2799,6 +2801,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2799
2801
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2800
2802
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2801
2803
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2804
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2805
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2802
2806
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2803
2807
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
2804
2808
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -2847,6 +2851,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2847
2851
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2848
2852
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2849
2853
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2854
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2855
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2850
2856
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2851
2857
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
2852
2858
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -2895,6 +2901,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2895
2901
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2896
2902
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2897
2903
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2904
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2905
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2898
2906
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2899
2907
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
2900
2908
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -2942,6 +2950,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2942
2950
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2943
2951
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2944
2952
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
2953
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2954
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2945
2955
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2946
2956
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
2947
2957
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -2990,6 +3000,8 @@ export declare const auth: import("better-auth").Auth<{
|
|
|
2990
3000
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
2991
3001
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
2992
3002
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
3003
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
3004
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2993
3005
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
2994
3006
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
2995
3007
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ac: {
|
|
2
|
-
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
2
|
+
newRole<K extends "admin:user-profile" | "asset-type:type" | "asset:item" | "asset_convert_product:order" | "asset_convert_product:product" | "asset_price:admin" | "asset_price:price" | "checkIn:admin" | "checkIn:checkIn" | "checkIn:rewardPlan" | "checkIn:rewardRule" | "content_video:video" | "deposit:order" | "deposit:review" | "kyc:admin" | "kyc:method" | "ledger-account:account" | "ledger-account:type" | "ledger:entry" | "ledger_account:import" | "market_data:admin" | "market_data:kline" | "market_data:ticker" | "market_pricing:strategy" | "news:category" | "news:news" | "notification:admin" | "notification:notification" | "receipt_method:item" | "referral:depth-config" | "referral:relation" | "session" | "shipping_address:item" | "team:member" | "trade_market:market" | "trade_market:order" | "transfer:order" | "user" | "user:profile" | "user:referral" | "wallet:container" | "wallet:type" | "welfare_cycle:payout" | "welfare_cycle:plan" | "welfare_cycle:subscription" | "withdraw:manage" | "withdraw:review">(statements: import("better-auth/plugins").Subset<K, {
|
|
3
3
|
readonly user: readonly ["create", "list", "set-role", "ban", "impersonate", "impersonate-admins", "delete", "set-password", "get", "update"];
|
|
4
4
|
readonly session: readonly ["list", "revoke", "delete"];
|
|
5
5
|
readonly 'asset_convert_product:product': readonly ['create', 'read', 'update', 'list'];
|
|
@@ -10,6 +10,8 @@ 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', 'list'];
|
|
14
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
13
15
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
14
16
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
15
17
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -58,6 +60,8 @@ export declare const ac: {
|
|
|
58
60
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
59
61
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
60
62
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
63
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
64
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
61
65
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
62
66
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
63
67
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -106,6 +110,8 @@ export declare const ac: {
|
|
|
106
110
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
107
111
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
108
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'];
|
|
109
115
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
110
116
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
111
117
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -153,6 +159,8 @@ export declare const ac: {
|
|
|
153
159
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
154
160
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
155
161
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
162
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
163
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
156
164
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
157
165
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
158
166
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -201,6 +209,8 @@ export declare const ac: {
|
|
|
201
209
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
202
210
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
203
211
|
readonly 'checkIn:admin': readonly ['read', 'list'];
|
|
212
|
+
readonly 'checkIn:rewardPlan': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
213
|
+
readonly 'checkIn:rewardRule': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
204
214
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
205
215
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
206
216
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
package/dist/auth/roles.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ 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'];
|
|
14
16
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
15
17
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
16
18
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -59,6 +61,8 @@ export declare const authAdmin: {
|
|
|
59
61
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
60
62
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
61
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'];
|
|
62
66
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
63
67
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
64
68
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -106,6 +110,8 @@ export declare const authAdmin: {
|
|
|
106
110
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
107
111
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
108
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'];
|
|
109
115
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
110
116
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
111
117
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -156,6 +162,8 @@ export declare const authUser: {
|
|
|
156
162
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
157
163
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
158
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'];
|
|
159
167
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
160
168
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
161
169
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -204,6 +212,8 @@ export declare const authUser: {
|
|
|
204
212
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
205
213
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
206
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'];
|
|
207
217
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
208
218
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
209
219
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -251,6 +261,8 @@ export declare const authUser: {
|
|
|
251
261
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
252
262
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
253
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'];
|
|
254
266
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
255
267
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
256
268
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -306,6 +318,8 @@ export declare const superAdmin: {
|
|
|
306
318
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
307
319
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
308
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'];
|
|
309
323
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
310
324
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
311
325
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -354,6 +368,8 @@ export declare const superAdmin: {
|
|
|
354
368
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
355
369
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
356
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'];
|
|
357
373
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
358
374
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
359
375
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -401,6 +417,8 @@ export declare const superAdmin: {
|
|
|
401
417
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
402
418
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
403
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'];
|
|
404
422
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
405
423
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
406
424
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -456,6 +474,8 @@ export declare const user: {
|
|
|
456
474
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
457
475
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
458
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'];
|
|
459
479
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
460
480
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
461
481
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -504,6 +524,8 @@ export declare const user: {
|
|
|
504
524
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
505
525
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
506
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'];
|
|
507
529
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
508
530
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
509
531
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -551,6 +573,8 @@ export declare const user: {
|
|
|
551
573
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
552
574
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
553
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'];
|
|
554
578
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
555
579
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
556
580
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -606,6 +630,8 @@ export declare const admin: {
|
|
|
606
630
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
607
631
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
608
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'];
|
|
609
635
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
610
636
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
611
637
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -654,6 +680,8 @@ export declare const admin: {
|
|
|
654
680
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
655
681
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
656
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'];
|
|
657
685
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
658
686
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
659
687
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -701,6 +729,8 @@ export declare const admin: {
|
|
|
701
729
|
readonly 'asset:item': readonly ['create', 'read', 'update', 'list'];
|
|
702
730
|
readonly 'checkIn:checkIn': readonly ['create', 'read', 'list'];
|
|
703
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'];
|
|
704
734
|
readonly 'content_video:video': readonly ['create', 'read', 'update', 'delete', 'list'];
|
|
705
735
|
readonly 'deposit:order': readonly ['create', 'read', 'update', 'list'];
|
|
706
736
|
readonly 'deposit:review': readonly ['read', 'update', 'list'];
|
|
@@ -35,19 +35,7 @@ export declare const bankAccountAdminRouter: Elysia<"/bank_account", {
|
|
|
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;
|
|
@@ -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;
|