@r2wa-org/eden 0.0.59 → 0.0.60
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/src/admin/admin/dto.schemas.d.ts +8 -0
- package/dist/src/admin/admin/errors/index.d.ts +1 -0
- package/dist/src/admin/admin/errors/locales/zh.d.ts +1 -0
- package/dist/src/admin/admin/router.d.ts +31 -0
- package/dist/src/admin/admin/service.d.ts +3 -0
- package/dist/src/admin/index.d.ts +158 -34
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +44 -12
- package/dist/src/asset-convert-product/admin/router.d.ts +83 -23
- package/dist/src/asset-convert-product/admin/service.d.ts +73 -17
- package/dist/src/asset-convert-product/db.schemas.d.ts +76 -8
- package/dist/src/asset-convert-product/errors/index.d.ts +4 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +4 -0
- package/dist/src/asset-convert-product/internal/service.d.ts +4 -3
- package/dist/src/asset-convert-product/schema.d.ts +41 -6
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +264 -14
- package/dist/src/asset-convert-product/user/router.d.ts +10 -8
- package/dist/src/asset-convert-product/user/service.d.ts +9 -5
- package/dist/src/index.d.ts +255 -47
- package/dist/src/ledger-account/admin/router.d.ts +1 -1
- package/dist/src/ledger-account/user/dto.schemas.d.ts +5 -0
- package/dist/src/ledger-account/user/router.d.ts +61 -0
- package/dist/src/ledger-account/user/service.d.ts +51 -1
- package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +6 -6
- package/dist/src/ledger-account-import/admin/router.d.ts +9 -9
- package/dist/src/ledger-account-import/admin/service.d.ts +7 -7
- package/dist/src/ledger-account-import/db.schemas.d.ts +4 -4
- package/dist/src/ledger-account-import/schema.d.ts +2 -2
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +95 -2
- package/dist/src/welfare-cycle/admin/router.d.ts +34 -1
- package/dist/src/welfare-cycle/admin/service.d.ts +26 -1
- package/dist/src/welfare-cycle/db.schemas.d.ts +174 -4
- package/dist/src/welfare-cycle/errors/index.d.ts +6 -0
- package/dist/src/welfare-cycle/errors/locales/zh.d.ts +6 -0
- package/dist/src/welfare-cycle/internal/service.d.ts +41 -3
- package/dist/src/welfare-cycle/schema.d.ts +92 -3
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +106 -6
- package/dist/src/welfare-cycle/user/router.d.ts +14 -5
- package/dist/src/welfare-cycle/user/service.d.ts +14 -3
- package/dist/src/withdraw/user/dto.schemas.d.ts +599 -0
- package/dist/src/withdraw/user/router.d.ts +73 -0
- package/dist/src/withdraw/user/service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -98,6 +98,23 @@ export declare const welfareCyclePlanListResponseSchema: import("@sinclair/typeb
|
|
|
98
98
|
identity: undefined;
|
|
99
99
|
generated: undefined;
|
|
100
100
|
}, {}, {}>;
|
|
101
|
+
coverImageUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
102
|
+
name: "cover_image_url";
|
|
103
|
+
tableName: "welfare_cycle_plan";
|
|
104
|
+
dataType: "string";
|
|
105
|
+
columnType: "PgText";
|
|
106
|
+
data: string;
|
|
107
|
+
driverParam: string;
|
|
108
|
+
notNull: false;
|
|
109
|
+
hasDefault: false;
|
|
110
|
+
isPrimaryKey: false;
|
|
111
|
+
isAutoincrement: false;
|
|
112
|
+
hasRuntimeDefault: false;
|
|
113
|
+
enumValues: [string, ...string[]];
|
|
114
|
+
baseColumn: never;
|
|
115
|
+
identity: undefined;
|
|
116
|
+
generated: undefined;
|
|
117
|
+
}, {}, {}>;
|
|
101
118
|
rightsAssetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
102
119
|
name: "rights_asset_id";
|
|
103
120
|
tableName: "welfare_cycle_plan";
|
|
@@ -132,6 +149,57 @@ export declare const welfareCyclePlanListResponseSchema: import("@sinclair/typeb
|
|
|
132
149
|
identity: undefined;
|
|
133
150
|
generated: undefined;
|
|
134
151
|
}, {}, {}>;
|
|
152
|
+
sourcePricingAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
153
|
+
name: "source_pricing_account_type_id";
|
|
154
|
+
tableName: "welfare_cycle_plan";
|
|
155
|
+
dataType: "string";
|
|
156
|
+
columnType: "PgUUID";
|
|
157
|
+
data: string;
|
|
158
|
+
driverParam: string;
|
|
159
|
+
notNull: true;
|
|
160
|
+
hasDefault: false;
|
|
161
|
+
isPrimaryKey: false;
|
|
162
|
+
isAutoincrement: false;
|
|
163
|
+
hasRuntimeDefault: false;
|
|
164
|
+
enumValues: undefined;
|
|
165
|
+
baseColumn: never;
|
|
166
|
+
identity: undefined;
|
|
167
|
+
generated: undefined;
|
|
168
|
+
}, {}, {}>;
|
|
169
|
+
dailyPayoutAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
170
|
+
name: "daily_payout_account_type_id";
|
|
171
|
+
tableName: "welfare_cycle_plan";
|
|
172
|
+
dataType: "string";
|
|
173
|
+
columnType: "PgUUID";
|
|
174
|
+
data: string;
|
|
175
|
+
driverParam: string;
|
|
176
|
+
notNull: true;
|
|
177
|
+
hasDefault: false;
|
|
178
|
+
isPrimaryKey: false;
|
|
179
|
+
isAutoincrement: false;
|
|
180
|
+
hasRuntimeDefault: false;
|
|
181
|
+
enumValues: undefined;
|
|
182
|
+
baseColumn: never;
|
|
183
|
+
identity: undefined;
|
|
184
|
+
generated: undefined;
|
|
185
|
+
}, {}, {}>;
|
|
186
|
+
maturitySettlementAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
187
|
+
name: "maturity_settlement_account_type_id";
|
|
188
|
+
tableName: "welfare_cycle_plan";
|
|
189
|
+
dataType: "string";
|
|
190
|
+
columnType: "PgUUID";
|
|
191
|
+
data: string;
|
|
192
|
+
driverParam: string;
|
|
193
|
+
notNull: true;
|
|
194
|
+
hasDefault: false;
|
|
195
|
+
isPrimaryKey: false;
|
|
196
|
+
isAutoincrement: false;
|
|
197
|
+
hasRuntimeDefault: false;
|
|
198
|
+
enumValues: undefined;
|
|
199
|
+
baseColumn: never;
|
|
200
|
+
identity: undefined;
|
|
201
|
+
generated: undefined;
|
|
202
|
+
}, {}, {}>;
|
|
135
203
|
pricePerShare: import("drizzle-orm/pg-core").PgColumn<{
|
|
136
204
|
name: "price_per_share";
|
|
137
205
|
tableName: "welfare_cycle_plan";
|
|
@@ -314,8 +382,6 @@ export declare const welfareCyclePlanListResponseSchema: import("@sinclair/typeb
|
|
|
314
382
|
export type WelfareCyclePlanListResponseType = typeof welfareCyclePlanListResponseSchema.static;
|
|
315
383
|
export declare const welfareCycleSubscribeSchema: import("@sinclair/typebox").TObject<{
|
|
316
384
|
planId: import("@sinclair/typebox").TString;
|
|
317
|
-
sourcePricingAccountId: import("@sinclair/typebox").TString;
|
|
318
|
-
rightsReceiveAccountId: import("@sinclair/typebox").TString;
|
|
319
385
|
shares: import("@sinclair/typebox").TInteger;
|
|
320
386
|
idempotencyKey: import("@sinclair/typebox").TString;
|
|
321
387
|
}>;
|
|
@@ -457,8 +523,25 @@ export declare const welfareCycleSubscriptionResponseSchema: import("drizzle-typ
|
|
|
457
523
|
identity: undefined;
|
|
458
524
|
generated: undefined;
|
|
459
525
|
}, {}, {}>;
|
|
460
|
-
|
|
461
|
-
name: "
|
|
526
|
+
dailyPayoutReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
527
|
+
name: "daily_payout_receive_account_id";
|
|
528
|
+
tableName: "welfare_cycle_subscription";
|
|
529
|
+
dataType: "string";
|
|
530
|
+
columnType: "PgUUID";
|
|
531
|
+
data: string;
|
|
532
|
+
driverParam: string;
|
|
533
|
+
notNull: true;
|
|
534
|
+
hasDefault: false;
|
|
535
|
+
isPrimaryKey: false;
|
|
536
|
+
isAutoincrement: false;
|
|
537
|
+
hasRuntimeDefault: false;
|
|
538
|
+
enumValues: undefined;
|
|
539
|
+
baseColumn: never;
|
|
540
|
+
identity: undefined;
|
|
541
|
+
generated: undefined;
|
|
542
|
+
}, {}, {}>;
|
|
543
|
+
maturitySettlementReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
544
|
+
name: "maturity_settlement_receive_account_id";
|
|
462
545
|
tableName: "welfare_cycle_subscription";
|
|
463
546
|
dataType: "string";
|
|
464
547
|
columnType: "PgUUID";
|
|
@@ -884,8 +967,25 @@ export declare const welfareCycleSubscriptionListResponseSchema: import("@sincla
|
|
|
884
967
|
identity: undefined;
|
|
885
968
|
generated: undefined;
|
|
886
969
|
}, {}, {}>;
|
|
887
|
-
|
|
888
|
-
name: "
|
|
970
|
+
dailyPayoutReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
971
|
+
name: "daily_payout_receive_account_id";
|
|
972
|
+
tableName: "welfare_cycle_subscription";
|
|
973
|
+
dataType: "string";
|
|
974
|
+
columnType: "PgUUID";
|
|
975
|
+
data: string;
|
|
976
|
+
driverParam: string;
|
|
977
|
+
notNull: true;
|
|
978
|
+
hasDefault: false;
|
|
979
|
+
isPrimaryKey: false;
|
|
980
|
+
isAutoincrement: false;
|
|
981
|
+
hasRuntimeDefault: false;
|
|
982
|
+
enumValues: undefined;
|
|
983
|
+
baseColumn: never;
|
|
984
|
+
identity: undefined;
|
|
985
|
+
generated: undefined;
|
|
986
|
+
}, {}, {}>;
|
|
987
|
+
maturitySettlementReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
988
|
+
name: "maturity_settlement_receive_account_id";
|
|
889
989
|
tableName: "welfare_cycle_subscription";
|
|
890
990
|
dataType: "string";
|
|
891
991
|
columnType: "PgUUID";
|
|
@@ -402,8 +402,12 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
402
402
|
updatedAt: Date;
|
|
403
403
|
description: string | null;
|
|
404
404
|
status: "active" | "draft" | "paused" | "ended";
|
|
405
|
+
coverImageUrl: string | null;
|
|
405
406
|
rightsAssetId: string;
|
|
406
407
|
pricingAssetId: string;
|
|
408
|
+
sourcePricingAccountTypeId: string;
|
|
409
|
+
dailyPayoutAccountTypeId: string;
|
|
410
|
+
maturitySettlementAccountTypeId: string;
|
|
407
411
|
pricePerShare: string;
|
|
408
412
|
rightsPerShare: string;
|
|
409
413
|
cycleDays: number;
|
|
@@ -455,8 +459,12 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
455
459
|
updatedAt: Date;
|
|
456
460
|
description: string | null;
|
|
457
461
|
status: "active" | "draft" | "paused" | "ended";
|
|
462
|
+
coverImageUrl: string | null;
|
|
458
463
|
rightsAssetId: string;
|
|
459
464
|
pricingAssetId: string;
|
|
465
|
+
sourcePricingAccountTypeId: string;
|
|
466
|
+
dailyPayoutAccountTypeId: string;
|
|
467
|
+
maturitySettlementAccountTypeId: string;
|
|
460
468
|
pricePerShare: string;
|
|
461
469
|
rightsPerShare: string;
|
|
462
470
|
cycleDays: number;
|
|
@@ -489,8 +497,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
489
497
|
body: {
|
|
490
498
|
idempotencyKey: string;
|
|
491
499
|
planId: string;
|
|
492
|
-
sourcePricingAccountId: string;
|
|
493
|
-
rightsReceiveAccountId: string;
|
|
494
500
|
shares: number;
|
|
495
501
|
};
|
|
496
502
|
params: {};
|
|
@@ -507,7 +513,8 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
507
513
|
orderNo: string;
|
|
508
514
|
planId: string;
|
|
509
515
|
sourcePricingAccountId: string;
|
|
510
|
-
|
|
516
|
+
dailyPayoutReceiveAccountId: string;
|
|
517
|
+
maturitySettlementReceiveAccountId: string;
|
|
511
518
|
shares: number;
|
|
512
519
|
totalPricingAmount: string;
|
|
513
520
|
totalRightsPrincipal: string;
|
|
@@ -564,7 +571,8 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
564
571
|
orderNo: string;
|
|
565
572
|
planId: string;
|
|
566
573
|
sourcePricingAccountId: string;
|
|
567
|
-
|
|
574
|
+
dailyPayoutReceiveAccountId: string;
|
|
575
|
+
maturitySettlementReceiveAccountId: string;
|
|
568
576
|
shares: number;
|
|
569
577
|
totalPricingAmount: string;
|
|
570
578
|
totalRightsPrincipal: string;
|
|
@@ -624,7 +632,8 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
624
632
|
orderNo: string;
|
|
625
633
|
planId: string;
|
|
626
634
|
sourcePricingAccountId: string;
|
|
627
|
-
|
|
635
|
+
dailyPayoutReceiveAccountId: string;
|
|
636
|
+
maturitySettlementReceiveAccountId: string;
|
|
628
637
|
shares: number;
|
|
629
638
|
totalPricingAmount: string;
|
|
630
639
|
totalRightsPrincipal: string;
|
|
@@ -9,8 +9,12 @@ export declare abstract class UserWelfareCycleService extends BaseWelfareCycleSe
|
|
|
9
9
|
updatedAt: Date;
|
|
10
10
|
description: string | null;
|
|
11
11
|
status: "active" | "draft" | "paused" | "ended";
|
|
12
|
+
coverImageUrl: string | null;
|
|
12
13
|
rightsAssetId: string;
|
|
13
14
|
pricingAssetId: string;
|
|
15
|
+
sourcePricingAccountTypeId: string;
|
|
16
|
+
dailyPayoutAccountTypeId: string;
|
|
17
|
+
maturitySettlementAccountTypeId: string;
|
|
14
18
|
pricePerShare: string;
|
|
15
19
|
rightsPerShare: string;
|
|
16
20
|
cycleDays: number;
|
|
@@ -36,8 +40,12 @@ export declare abstract class UserWelfareCycleService extends BaseWelfareCycleSe
|
|
|
36
40
|
updatedAt: Date;
|
|
37
41
|
description: string | null;
|
|
38
42
|
status: "active" | "draft" | "paused" | "ended";
|
|
43
|
+
coverImageUrl: string | null;
|
|
39
44
|
rightsAssetId: string;
|
|
40
45
|
pricingAssetId: string;
|
|
46
|
+
sourcePricingAccountTypeId: string;
|
|
47
|
+
dailyPayoutAccountTypeId: string;
|
|
48
|
+
maturitySettlementAccountTypeId: string;
|
|
41
49
|
pricePerShare: string;
|
|
42
50
|
rightsPerShare: string;
|
|
43
51
|
cycleDays: number;
|
|
@@ -58,7 +66,8 @@ export declare abstract class UserWelfareCycleService extends BaseWelfareCycleSe
|
|
|
58
66
|
orderNo: string;
|
|
59
67
|
planId: string;
|
|
60
68
|
sourcePricingAccountId: string;
|
|
61
|
-
|
|
69
|
+
dailyPayoutReceiveAccountId: string;
|
|
70
|
+
maturitySettlementReceiveAccountId: string;
|
|
62
71
|
shares: number;
|
|
63
72
|
totalPricingAmount: string;
|
|
64
73
|
totalRightsPrincipal: string;
|
|
@@ -85,7 +94,8 @@ export declare abstract class UserWelfareCycleService extends BaseWelfareCycleSe
|
|
|
85
94
|
orderNo: string;
|
|
86
95
|
planId: string;
|
|
87
96
|
sourcePricingAccountId: string;
|
|
88
|
-
|
|
97
|
+
dailyPayoutReceiveAccountId: string;
|
|
98
|
+
maturitySettlementReceiveAccountId: string;
|
|
89
99
|
shares: number;
|
|
90
100
|
totalPricingAmount: string;
|
|
91
101
|
totalRightsPrincipal: string;
|
|
@@ -119,7 +129,8 @@ export declare abstract class UserWelfareCycleService extends BaseWelfareCycleSe
|
|
|
119
129
|
orderNo: string;
|
|
120
130
|
planId: string;
|
|
121
131
|
sourcePricingAccountId: string;
|
|
122
|
-
|
|
132
|
+
dailyPayoutReceiveAccountId: string;
|
|
133
|
+
maturitySettlementReceiveAccountId: string;
|
|
123
134
|
shares: number;
|
|
124
135
|
totalPricingAmount: string;
|
|
125
136
|
totalRightsPrincipal: string;
|