@r2wa-org/eden 0.0.59 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/src/admin/admin/dto.schemas.d.ts +8 -0
  2. package/dist/src/admin/admin/errors/index.d.ts +1 -0
  3. package/dist/src/admin/admin/errors/locales/zh.d.ts +1 -0
  4. package/dist/src/admin/admin/router.d.ts +31 -0
  5. package/dist/src/admin/admin/service.d.ts +3 -0
  6. package/dist/src/admin/index.d.ts +166 -35
  7. package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +44 -12
  8. package/dist/src/asset-convert-product/admin/router.d.ts +83 -23
  9. package/dist/src/asset-convert-product/admin/service.d.ts +73 -17
  10. package/dist/src/asset-convert-product/db.schemas.d.ts +76 -8
  11. package/dist/src/asset-convert-product/errors/index.d.ts +4 -0
  12. package/dist/src/asset-convert-product/errors/locales/zh.d.ts +4 -0
  13. package/dist/src/asset-convert-product/internal/service.d.ts +4 -3
  14. package/dist/src/asset-convert-product/schema.d.ts +41 -6
  15. package/dist/src/asset-convert-product/user/dto.schemas.d.ts +264 -14
  16. package/dist/src/asset-convert-product/user/router.d.ts +10 -8
  17. package/dist/src/asset-convert-product/user/service.d.ts +9 -5
  18. package/dist/src/index.d.ts +263 -48
  19. package/dist/src/ledger/admin/dto.schemas.d.ts +80 -1
  20. package/dist/src/ledger/admin/router.d.ts +8 -1
  21. package/dist/src/ledger/admin/service.d.ts +17 -4
  22. package/dist/src/ledger/internal/service.d.ts +0 -146
  23. package/dist/src/ledger/user/service.d.ts +8 -4
  24. package/dist/src/ledger-account/admin/router.d.ts +1 -1
  25. package/dist/src/ledger-account/user/dto.schemas.d.ts +5 -0
  26. package/dist/src/ledger-account/user/router.d.ts +61 -0
  27. package/dist/src/ledger-account/user/service.d.ts +51 -1
  28. package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +6 -6
  29. package/dist/src/ledger-account-import/admin/router.d.ts +9 -9
  30. package/dist/src/ledger-account-import/admin/service.d.ts +7 -7
  31. package/dist/src/ledger-account-import/db.schemas.d.ts +4 -4
  32. package/dist/src/ledger-account-import/schema.d.ts +2 -2
  33. package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +95 -2
  34. package/dist/src/welfare-cycle/admin/router.d.ts +34 -1
  35. package/dist/src/welfare-cycle/admin/service.d.ts +26 -1
  36. package/dist/src/welfare-cycle/db.schemas.d.ts +174 -4
  37. package/dist/src/welfare-cycle/errors/index.d.ts +6 -0
  38. package/dist/src/welfare-cycle/errors/locales/zh.d.ts +6 -0
  39. package/dist/src/welfare-cycle/internal/service.d.ts +41 -3
  40. package/dist/src/welfare-cycle/schema.d.ts +92 -3
  41. package/dist/src/welfare-cycle/user/dto.schemas.d.ts +106 -6
  42. package/dist/src/welfare-cycle/user/router.d.ts +14 -5
  43. package/dist/src/welfare-cycle/user/service.d.ts +14 -3
  44. package/dist/src/withdraw/user/dto.schemas.d.ts +599 -0
  45. package/dist/src/withdraw/user/router.d.ts +73 -0
  46. package/dist/src/withdraw/user/service.d.ts +2 -1
  47. package/package.json +1 -1
@@ -12,8 +12,12 @@ export declare abstract class BaseWelfareCycleService {
12
12
  updatedAt: Date;
13
13
  description: string | null;
14
14
  status: "active" | "draft" | "paused" | "ended";
15
+ coverImageUrl: string | null;
15
16
  rightsAssetId: string;
16
17
  pricingAssetId: string;
18
+ sourcePricingAccountTypeId: string;
19
+ dailyPayoutAccountTypeId: string;
20
+ maturitySettlementAccountTypeId: string;
17
21
  pricePerShare: string;
18
22
  rightsPerShare: string;
19
23
  cycleDays: number;
@@ -34,7 +38,8 @@ export declare abstract class BaseWelfareCycleService {
34
38
  orderNo: string;
35
39
  planId: string;
36
40
  sourcePricingAccountId: string;
37
- rightsReceiveAccountId: string;
41
+ dailyPayoutReceiveAccountId: string;
42
+ maturitySettlementReceiveAccountId: string;
38
43
  shares: number;
39
44
  totalPricingAmount: string;
40
45
  totalRightsPrincipal: string;
@@ -56,8 +61,12 @@ export declare abstract class BaseWelfareCycleService {
56
61
  updatedAt: Date;
57
62
  description: string | null;
58
63
  status: "active" | "draft" | "paused" | "ended";
64
+ coverImageUrl: string | null;
59
65
  rightsAssetId: string;
60
66
  pricingAssetId: string;
67
+ sourcePricingAccountTypeId: string;
68
+ dailyPayoutAccountTypeId: string;
69
+ maturitySettlementAccountTypeId: string;
61
70
  pricePerShare: string;
62
71
  rightsPerShare: string;
63
72
  cycleDays: number;
@@ -81,6 +90,25 @@ export declare abstract class BaseWelfareCycleService {
81
90
  locked: string;
82
91
  version: number;
83
92
  }>;
93
+ protected static getActiveAccountByTypeForUser(tx: TransactionTx, userId: string, assetId: string, accountTypeId: string): Promise<{
94
+ id: string;
95
+ createdAt: Date;
96
+ updatedAt: Date;
97
+ userId: string;
98
+ status: "active" | "frozen" | "disabled";
99
+ assetId: string;
100
+ ledgerAccountTypeId: string;
101
+ available: string;
102
+ locked: string;
103
+ version: number;
104
+ }>;
105
+ protected static ensurePlanReferencesValid(tx: TransactionTx, input: {
106
+ rightsAssetId: string;
107
+ pricingAssetId: string;
108
+ sourcePricingAccountTypeId: string;
109
+ dailyPayoutAccountTypeId: string;
110
+ maturitySettlementAccountTypeId: string;
111
+ }): Promise<void>;
84
112
  protected static calcTotalPricingAmount(pricePerShare: string, shares: number): string;
85
113
  protected static calcTotalRightsPrincipal(rightsPerShare: string, shares: number): string;
86
114
  protected static calcDailyPayoutAmount(totalRightsPrincipal: string, dailyYieldRate: string): string;
@@ -125,7 +153,8 @@ export declare abstract class InternalWelfareCycleService extends BaseWelfareCyc
125
153
  orderNo: string;
126
154
  planId: string;
127
155
  sourcePricingAccountId: string;
128
- rightsReceiveAccountId: string;
156
+ dailyPayoutReceiveAccountId: string;
157
+ maturitySettlementReceiveAccountId: string;
129
158
  shares: number;
130
159
  totalPricingAmount: string;
131
160
  totalRightsPrincipal: string;
@@ -147,8 +176,12 @@ export declare abstract class InternalWelfareCycleService extends BaseWelfareCyc
147
176
  updatedAt: Date;
148
177
  description: string | null;
149
178
  status: "active" | "draft" | "paused" | "ended";
179
+ coverImageUrl: string | null;
150
180
  rightsAssetId: string;
151
181
  pricingAssetId: string;
182
+ sourcePricingAccountTypeId: string;
183
+ dailyPayoutAccountTypeId: string;
184
+ maturitySettlementAccountTypeId: string;
152
185
  pricePerShare: string;
153
186
  rightsPerShare: string;
154
187
  cycleDays: number;
@@ -170,7 +203,8 @@ export declare abstract class InternalWelfareCycleService extends BaseWelfareCyc
170
203
  orderNo: string;
171
204
  planId: string;
172
205
  sourcePricingAccountId: string;
173
- rightsReceiveAccountId: string;
206
+ dailyPayoutReceiveAccountId: string;
207
+ maturitySettlementReceiveAccountId: string;
174
208
  shares: number;
175
209
  totalPricingAmount: string;
176
210
  totalRightsPrincipal: string;
@@ -192,8 +226,12 @@ export declare abstract class InternalWelfareCycleService extends BaseWelfareCyc
192
226
  updatedAt: Date;
193
227
  description: string | null;
194
228
  status: "active" | "draft" | "paused" | "ended";
229
+ coverImageUrl: string | null;
195
230
  rightsAssetId: string;
196
231
  pricingAssetId: string;
232
+ sourcePricingAccountTypeId: string;
233
+ dailyPayoutAccountTypeId: string;
234
+ maturitySettlementAccountTypeId: string;
197
235
  pricePerShare: string;
198
236
  rightsPerShare: string;
199
237
  cycleDays: number;
@@ -97,6 +97,23 @@ export declare const welfareCyclePlan: import("drizzle-orm/pg-core").PgTableWith
97
97
  identity: undefined;
98
98
  generated: undefined;
99
99
  }, {}, {}>;
100
+ coverImageUrl: import("drizzle-orm/pg-core").PgColumn<{
101
+ name: "cover_image_url";
102
+ tableName: "welfare_cycle_plan";
103
+ dataType: "string";
104
+ columnType: "PgText";
105
+ data: string;
106
+ driverParam: string;
107
+ notNull: false;
108
+ hasDefault: false;
109
+ isPrimaryKey: false;
110
+ isAutoincrement: false;
111
+ hasRuntimeDefault: false;
112
+ enumValues: [string, ...string[]];
113
+ baseColumn: never;
114
+ identity: undefined;
115
+ generated: undefined;
116
+ }, {}, {}>;
100
117
  rightsAssetId: import("drizzle-orm/pg-core").PgColumn<{
101
118
  name: "rights_asset_id";
102
119
  tableName: "welfare_cycle_plan";
@@ -131,6 +148,57 @@ export declare const welfareCyclePlan: import("drizzle-orm/pg-core").PgTableWith
131
148
  identity: undefined;
132
149
  generated: undefined;
133
150
  }, {}, {}>;
151
+ sourcePricingAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
152
+ name: "source_pricing_account_type_id";
153
+ tableName: "welfare_cycle_plan";
154
+ dataType: "string";
155
+ columnType: "PgUUID";
156
+ data: string;
157
+ driverParam: string;
158
+ notNull: true;
159
+ hasDefault: false;
160
+ isPrimaryKey: false;
161
+ isAutoincrement: false;
162
+ hasRuntimeDefault: false;
163
+ enumValues: undefined;
164
+ baseColumn: never;
165
+ identity: undefined;
166
+ generated: undefined;
167
+ }, {}, {}>;
168
+ dailyPayoutAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
169
+ name: "daily_payout_account_type_id";
170
+ tableName: "welfare_cycle_plan";
171
+ dataType: "string";
172
+ columnType: "PgUUID";
173
+ data: string;
174
+ driverParam: string;
175
+ notNull: true;
176
+ hasDefault: false;
177
+ isPrimaryKey: false;
178
+ isAutoincrement: false;
179
+ hasRuntimeDefault: false;
180
+ enumValues: undefined;
181
+ baseColumn: never;
182
+ identity: undefined;
183
+ generated: undefined;
184
+ }, {}, {}>;
185
+ maturitySettlementAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
186
+ name: "maturity_settlement_account_type_id";
187
+ tableName: "welfare_cycle_plan";
188
+ dataType: "string";
189
+ columnType: "PgUUID";
190
+ data: string;
191
+ driverParam: string;
192
+ notNull: true;
193
+ hasDefault: false;
194
+ isPrimaryKey: false;
195
+ isAutoincrement: false;
196
+ hasRuntimeDefault: false;
197
+ enumValues: undefined;
198
+ baseColumn: never;
199
+ identity: undefined;
200
+ generated: undefined;
201
+ }, {}, {}>;
134
202
  pricePerShare: import("drizzle-orm/pg-core").PgColumn<{
135
203
  name: "price_per_share";
136
204
  tableName: "welfare_cycle_plan";
@@ -448,8 +516,25 @@ export declare const welfareCycleSubscription: import("drizzle-orm/pg-core").PgT
448
516
  identity: undefined;
449
517
  generated: undefined;
450
518
  }, {}, {}>;
451
- rightsReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
452
- name: "rights_receive_account_id";
519
+ dailyPayoutReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
520
+ name: "daily_payout_receive_account_id";
521
+ tableName: "welfare_cycle_subscription";
522
+ dataType: "string";
523
+ columnType: "PgUUID";
524
+ data: string;
525
+ driverParam: string;
526
+ notNull: true;
527
+ hasDefault: false;
528
+ isPrimaryKey: false;
529
+ isAutoincrement: false;
530
+ hasRuntimeDefault: false;
531
+ enumValues: undefined;
532
+ baseColumn: never;
533
+ identity: undefined;
534
+ generated: undefined;
535
+ }, {}, {}>;
536
+ maturitySettlementReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
537
+ name: "maturity_settlement_receive_account_id";
453
538
  tableName: "welfare_cycle_subscription";
454
539
  dataType: "string";
455
540
  columnType: "PgUUID";
@@ -1156,13 +1241,17 @@ export declare const welfareCycleMaturitySettlement: import("drizzle-orm/pg-core
1156
1241
  export declare const welfareCyclePlanRelations: import("drizzle-orm").Relations<"welfare_cycle_plan", {
1157
1242
  rightsAsset: import("drizzle-orm").One<"asset", true>;
1158
1243
  pricingAsset: import("drizzle-orm").One<"asset", true>;
1244
+ sourcePricingAccountType: import("drizzle-orm").One<"ledger_account_type", true>;
1245
+ dailyPayoutAccountType: import("drizzle-orm").One<"ledger_account_type", true>;
1246
+ maturitySettlementAccountType: import("drizzle-orm").One<"ledger_account_type", true>;
1159
1247
  subscriptions: import("drizzle-orm").Many<"welfare_cycle_subscription">;
1160
1248
  }>;
1161
1249
  export declare const welfareCycleSubscriptionRelations: import("drizzle-orm").Relations<"welfare_cycle_subscription", {
1162
1250
  user: import("drizzle-orm").One<"user", true>;
1163
1251
  plan: import("drizzle-orm").One<"welfare_cycle_plan", true>;
1164
1252
  sourcePricingAccount: import("drizzle-orm").One<"ledger_account", true>;
1165
- rightsReceiveAccount: import("drizzle-orm").One<"ledger_account", true>;
1253
+ dailyPayoutReceiveAccount: import("drizzle-orm").One<"ledger_account", true>;
1254
+ maturitySettlementReceiveAccount: import("drizzle-orm").One<"ledger_account", true>;
1166
1255
  pricingAssetSnapshot: import("drizzle-orm").One<"asset", true>;
1167
1256
  rightsAssetSnapshot: import("drizzle-orm").One<"asset", true>;
1168
1257
  dailyPayouts: import("drizzle-orm").Many<"welfare_cycle_daily_payout">;
@@ -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
- rightsReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
461
- name: "rights_receive_account_id";
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
- rightsReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
888
- name: "rights_receive_account_id";
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
- rightsReceiveAccountId: string;
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
- rightsReceiveAccountId: string;
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
- rightsReceiveAccountId: string;
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
- rightsReceiveAccountId: string;
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
- rightsReceiveAccountId: string;
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
- rightsReceiveAccountId: string;
132
+ dailyPayoutReceiveAccountId: string;
133
+ maturitySettlementReceiveAccountId: string;
123
134
  shares: number;
124
135
  totalPricingAmount: string;
125
136
  totalRightsPrincipal: string;