@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.
- 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 +166 -35
- 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 +263 -48
- package/dist/src/ledger/admin/dto.schemas.d.ts +80 -1
- package/dist/src/ledger/admin/router.d.ts +8 -1
- package/dist/src/ledger/admin/service.d.ts +17 -4
- package/dist/src/ledger/internal/service.d.ts +0 -146
- package/dist/src/ledger/user/service.d.ts +8 -4
- 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
|
@@ -72,7 +72,7 @@ export declare const ledgerAccountImportJobSelectSchema: import("drizzle-typebox
|
|
|
72
72
|
tableName: "ledger_account_import_job";
|
|
73
73
|
dataType: "string";
|
|
74
74
|
columnType: "PgEnumColumn";
|
|
75
|
-
data: "pending" | "
|
|
75
|
+
data: "pending" | "running" | "success" | "failed";
|
|
76
76
|
driverParam: string;
|
|
77
77
|
notNull: true;
|
|
78
78
|
hasDefault: true;
|
|
@@ -448,7 +448,7 @@ export declare const ledgerAccountImportItemSelectSchema: import("drizzle-typebo
|
|
|
448
448
|
tableName: "ledger_account_import_item";
|
|
449
449
|
dataType: "string";
|
|
450
450
|
columnType: "PgEnumColumn";
|
|
451
|
-
data: "
|
|
451
|
+
data: "success" | "failed" | "ignored";
|
|
452
452
|
driverParam: string;
|
|
453
453
|
notNull: true;
|
|
454
454
|
hasDefault: false;
|
|
@@ -673,7 +673,7 @@ export declare const ledgerAccountImportJobInsertSchema: import("drizzle-typebox
|
|
|
673
673
|
tableName: "ledger_account_import_job";
|
|
674
674
|
dataType: "string";
|
|
675
675
|
columnType: "PgEnumColumn";
|
|
676
|
-
data: "pending" | "
|
|
676
|
+
data: "pending" | "running" | "success" | "failed";
|
|
677
677
|
driverParam: string;
|
|
678
678
|
notNull: true;
|
|
679
679
|
hasDefault: true;
|
|
@@ -1049,7 +1049,7 @@ export declare const ledgerAccountImportItemInsertSchema: import("drizzle-typebo
|
|
|
1049
1049
|
tableName: "ledger_account_import_item";
|
|
1050
1050
|
dataType: "string";
|
|
1051
1051
|
columnType: "PgEnumColumn";
|
|
1052
|
-
data: "
|
|
1052
|
+
data: "success" | "failed" | "ignored";
|
|
1053
1053
|
driverParam: string;
|
|
1054
1054
|
notNull: true;
|
|
1055
1055
|
hasDefault: false;
|
|
@@ -83,7 +83,7 @@ export declare const ledgerAccountImportJob: import("drizzle-orm/pg-core").PgTab
|
|
|
83
83
|
tableName: "ledger_account_import_job";
|
|
84
84
|
dataType: "string";
|
|
85
85
|
columnType: "PgEnumColumn";
|
|
86
|
-
data: "pending" | "
|
|
86
|
+
data: "pending" | "running" | "success" | "failed";
|
|
87
87
|
driverParam: string;
|
|
88
88
|
notNull: true;
|
|
89
89
|
hasDefault: true;
|
|
@@ -468,7 +468,7 @@ export declare const ledgerAccountImportItem: import("drizzle-orm/pg-core").PgTa
|
|
|
468
468
|
tableName: "ledger_account_import_item";
|
|
469
469
|
dataType: "string";
|
|
470
470
|
columnType: "PgEnumColumn";
|
|
471
|
-
data: "
|
|
471
|
+
data: "success" | "failed" | "ignored";
|
|
472
472
|
driverParam: string;
|
|
473
473
|
notNull: true;
|
|
474
474
|
hasDefault: false;
|
|
@@ -7,8 +7,12 @@ export declare const welfareCyclePlanCreateSchema: import("@sinclair/typebox").T
|
|
|
7
7
|
paused: "paused";
|
|
8
8
|
ended: "ended";
|
|
9
9
|
}>>;
|
|
10
|
+
coverImageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
10
11
|
rightsAssetId: import("@sinclair/typebox").TString;
|
|
11
12
|
pricingAssetId: import("@sinclair/typebox").TString;
|
|
13
|
+
sourcePricingAccountTypeId: import("@sinclair/typebox").TString;
|
|
14
|
+
dailyPayoutAccountTypeId: import("@sinclair/typebox").TString;
|
|
15
|
+
maturitySettlementAccountTypeId: import("@sinclair/typebox").TString;
|
|
12
16
|
pricePerShare: import("@sinclair/typebox").TString;
|
|
13
17
|
rightsPerShare: import("@sinclair/typebox").TString;
|
|
14
18
|
cycleDays: import("@sinclair/typebox").TInteger;
|
|
@@ -29,8 +33,12 @@ export declare const welfareCyclePlanUpdateSchema: import("@sinclair/typebox").T
|
|
|
29
33
|
paused: "paused";
|
|
30
34
|
ended: "ended";
|
|
31
35
|
}>>;
|
|
36
|
+
coverImageUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
32
37
|
rightsAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
33
38
|
pricingAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
39
|
+
sourcePricingAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
40
|
+
dailyPayoutAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
41
|
+
maturitySettlementAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
34
42
|
pricePerShare: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
43
|
rightsPerShare: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
36
44
|
cycleDays: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
@@ -142,6 +150,23 @@ export declare const welfareCyclePlanListResponseSchema: import("@sinclair/typeb
|
|
|
142
150
|
identity: undefined;
|
|
143
151
|
generated: undefined;
|
|
144
152
|
}, {}, {}>;
|
|
153
|
+
coverImageUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
154
|
+
name: "cover_image_url";
|
|
155
|
+
tableName: "welfare_cycle_plan";
|
|
156
|
+
dataType: "string";
|
|
157
|
+
columnType: "PgText";
|
|
158
|
+
data: string;
|
|
159
|
+
driverParam: string;
|
|
160
|
+
notNull: false;
|
|
161
|
+
hasDefault: false;
|
|
162
|
+
isPrimaryKey: false;
|
|
163
|
+
isAutoincrement: false;
|
|
164
|
+
hasRuntimeDefault: false;
|
|
165
|
+
enumValues: [string, ...string[]];
|
|
166
|
+
baseColumn: never;
|
|
167
|
+
identity: undefined;
|
|
168
|
+
generated: undefined;
|
|
169
|
+
}, {}, {}>;
|
|
145
170
|
rightsAssetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
146
171
|
name: "rights_asset_id";
|
|
147
172
|
tableName: "welfare_cycle_plan";
|
|
@@ -176,6 +201,57 @@ export declare const welfareCyclePlanListResponseSchema: import("@sinclair/typeb
|
|
|
176
201
|
identity: undefined;
|
|
177
202
|
generated: undefined;
|
|
178
203
|
}, {}, {}>;
|
|
204
|
+
sourcePricingAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
205
|
+
name: "source_pricing_account_type_id";
|
|
206
|
+
tableName: "welfare_cycle_plan";
|
|
207
|
+
dataType: "string";
|
|
208
|
+
columnType: "PgUUID";
|
|
209
|
+
data: string;
|
|
210
|
+
driverParam: string;
|
|
211
|
+
notNull: true;
|
|
212
|
+
hasDefault: false;
|
|
213
|
+
isPrimaryKey: false;
|
|
214
|
+
isAutoincrement: false;
|
|
215
|
+
hasRuntimeDefault: false;
|
|
216
|
+
enumValues: undefined;
|
|
217
|
+
baseColumn: never;
|
|
218
|
+
identity: undefined;
|
|
219
|
+
generated: undefined;
|
|
220
|
+
}, {}, {}>;
|
|
221
|
+
dailyPayoutAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
222
|
+
name: "daily_payout_account_type_id";
|
|
223
|
+
tableName: "welfare_cycle_plan";
|
|
224
|
+
dataType: "string";
|
|
225
|
+
columnType: "PgUUID";
|
|
226
|
+
data: string;
|
|
227
|
+
driverParam: string;
|
|
228
|
+
notNull: true;
|
|
229
|
+
hasDefault: false;
|
|
230
|
+
isPrimaryKey: false;
|
|
231
|
+
isAutoincrement: false;
|
|
232
|
+
hasRuntimeDefault: false;
|
|
233
|
+
enumValues: undefined;
|
|
234
|
+
baseColumn: never;
|
|
235
|
+
identity: undefined;
|
|
236
|
+
generated: undefined;
|
|
237
|
+
}, {}, {}>;
|
|
238
|
+
maturitySettlementAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
239
|
+
name: "maturity_settlement_account_type_id";
|
|
240
|
+
tableName: "welfare_cycle_plan";
|
|
241
|
+
dataType: "string";
|
|
242
|
+
columnType: "PgUUID";
|
|
243
|
+
data: string;
|
|
244
|
+
driverParam: string;
|
|
245
|
+
notNull: true;
|
|
246
|
+
hasDefault: false;
|
|
247
|
+
isPrimaryKey: false;
|
|
248
|
+
isAutoincrement: false;
|
|
249
|
+
hasRuntimeDefault: false;
|
|
250
|
+
enumValues: undefined;
|
|
251
|
+
baseColumn: never;
|
|
252
|
+
identity: undefined;
|
|
253
|
+
generated: undefined;
|
|
254
|
+
}, {}, {}>;
|
|
179
255
|
pricePerShare: import("drizzle-orm/pg-core").PgColumn<{
|
|
180
256
|
name: "price_per_share";
|
|
181
257
|
tableName: "welfare_cycle_plan";
|
|
@@ -509,8 +585,25 @@ export declare const welfareCycleSubscriptionListResponseSchema: import("@sincla
|
|
|
509
585
|
identity: undefined;
|
|
510
586
|
generated: undefined;
|
|
511
587
|
}, {}, {}>;
|
|
512
|
-
|
|
513
|
-
name: "
|
|
588
|
+
dailyPayoutReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
589
|
+
name: "daily_payout_receive_account_id";
|
|
590
|
+
tableName: "welfare_cycle_subscription";
|
|
591
|
+
dataType: "string";
|
|
592
|
+
columnType: "PgUUID";
|
|
593
|
+
data: string;
|
|
594
|
+
driverParam: string;
|
|
595
|
+
notNull: true;
|
|
596
|
+
hasDefault: false;
|
|
597
|
+
isPrimaryKey: false;
|
|
598
|
+
isAutoincrement: false;
|
|
599
|
+
hasRuntimeDefault: false;
|
|
600
|
+
enumValues: undefined;
|
|
601
|
+
baseColumn: never;
|
|
602
|
+
identity: undefined;
|
|
603
|
+
generated: undefined;
|
|
604
|
+
}, {}, {}>;
|
|
605
|
+
maturitySettlementReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
606
|
+
name: "maturity_settlement_receive_account_id";
|
|
514
607
|
tableName: "welfare_cycle_subscription";
|
|
515
608
|
dataType: "string";
|
|
516
609
|
columnType: "PgUUID";
|
|
@@ -386,6 +386,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
386
386
|
body: {
|
|
387
387
|
description?: string | null | undefined;
|
|
388
388
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
389
|
+
coverImageUrl?: string | null | undefined;
|
|
389
390
|
minShares?: number | undefined;
|
|
390
391
|
maxSharesPerOrder?: number | null | undefined;
|
|
391
392
|
saleStartAt?: Date | null | undefined;
|
|
@@ -393,6 +394,9 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
393
394
|
name: string;
|
|
394
395
|
rightsAssetId: string;
|
|
395
396
|
pricingAssetId: string;
|
|
397
|
+
sourcePricingAccountTypeId: string;
|
|
398
|
+
dailyPayoutAccountTypeId: string;
|
|
399
|
+
maturitySettlementAccountTypeId: string;
|
|
396
400
|
pricePerShare: string;
|
|
397
401
|
rightsPerShare: string;
|
|
398
402
|
cycleDays: number;
|
|
@@ -410,8 +414,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
410
414
|
updatedAt: Date;
|
|
411
415
|
description: string | null;
|
|
412
416
|
status: "active" | "draft" | "paused" | "ended";
|
|
417
|
+
coverImageUrl: string | null;
|
|
413
418
|
rightsAssetId: string;
|
|
414
419
|
pricingAssetId: string;
|
|
420
|
+
sourcePricingAccountTypeId: string;
|
|
421
|
+
dailyPayoutAccountTypeId: string;
|
|
422
|
+
maturitySettlementAccountTypeId: string;
|
|
415
423
|
pricePerShare: string;
|
|
416
424
|
rightsPerShare: string;
|
|
417
425
|
cycleDays: number;
|
|
@@ -446,8 +454,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
446
454
|
name?: string | undefined;
|
|
447
455
|
description?: string | null | undefined;
|
|
448
456
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
457
|
+
coverImageUrl?: string | null | undefined;
|
|
449
458
|
rightsAssetId?: string | undefined;
|
|
450
459
|
pricingAssetId?: string | undefined;
|
|
460
|
+
sourcePricingAccountTypeId?: string | undefined;
|
|
461
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
462
|
+
maturitySettlementAccountTypeId?: string | undefined;
|
|
451
463
|
pricePerShare?: string | undefined;
|
|
452
464
|
rightsPerShare?: string | undefined;
|
|
453
465
|
cycleDays?: number | undefined;
|
|
@@ -470,8 +482,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
470
482
|
id: string;
|
|
471
483
|
name: string;
|
|
472
484
|
description: string | null;
|
|
485
|
+
coverImageUrl: string | null;
|
|
473
486
|
rightsAssetId: string;
|
|
474
487
|
pricingAssetId: string;
|
|
488
|
+
sourcePricingAccountTypeId: string;
|
|
489
|
+
dailyPayoutAccountTypeId: string;
|
|
490
|
+
maturitySettlementAccountTypeId: string;
|
|
475
491
|
pricePerShare: string;
|
|
476
492
|
rightsPerShare: string;
|
|
477
493
|
cycleDays: number;
|
|
@@ -518,8 +534,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
518
534
|
id: string;
|
|
519
535
|
name: string;
|
|
520
536
|
description: string | null;
|
|
537
|
+
coverImageUrl: string | null;
|
|
521
538
|
rightsAssetId: string;
|
|
522
539
|
pricingAssetId: string;
|
|
540
|
+
sourcePricingAccountTypeId: string;
|
|
541
|
+
dailyPayoutAccountTypeId: string;
|
|
542
|
+
maturitySettlementAccountTypeId: string;
|
|
523
543
|
pricePerShare: string;
|
|
524
544
|
rightsPerShare: string;
|
|
525
545
|
cycleDays: number;
|
|
@@ -567,8 +587,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
567
587
|
id: string;
|
|
568
588
|
name: string;
|
|
569
589
|
description: string | null;
|
|
590
|
+
coverImageUrl: string | null;
|
|
570
591
|
rightsAssetId: string;
|
|
571
592
|
pricingAssetId: string;
|
|
593
|
+
sourcePricingAccountTypeId: string;
|
|
594
|
+
dailyPayoutAccountTypeId: string;
|
|
595
|
+
maturitySettlementAccountTypeId: string;
|
|
572
596
|
pricePerShare: string;
|
|
573
597
|
rightsPerShare: string;
|
|
574
598
|
cycleDays: number;
|
|
@@ -616,8 +640,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
616
640
|
id: string;
|
|
617
641
|
name: string;
|
|
618
642
|
description: string | null;
|
|
643
|
+
coverImageUrl: string | null;
|
|
619
644
|
rightsAssetId: string;
|
|
620
645
|
pricingAssetId: string;
|
|
646
|
+
sourcePricingAccountTypeId: string;
|
|
647
|
+
dailyPayoutAccountTypeId: string;
|
|
648
|
+
maturitySettlementAccountTypeId: string;
|
|
621
649
|
pricePerShare: string;
|
|
622
650
|
rightsPerShare: string;
|
|
623
651
|
cycleDays: number;
|
|
@@ -669,8 +697,12 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
669
697
|
updatedAt: Date;
|
|
670
698
|
description: string | null;
|
|
671
699
|
status: "active" | "draft" | "paused" | "ended";
|
|
700
|
+
coverImageUrl: string | null;
|
|
672
701
|
rightsAssetId: string;
|
|
673
702
|
pricingAssetId: string;
|
|
703
|
+
sourcePricingAccountTypeId: string;
|
|
704
|
+
dailyPayoutAccountTypeId: string;
|
|
705
|
+
maturitySettlementAccountTypeId: string;
|
|
674
706
|
pricePerShare: string;
|
|
675
707
|
rightsPerShare: string;
|
|
676
708
|
cycleDays: number;
|
|
@@ -732,7 +764,8 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
732
764
|
orderNo: string;
|
|
733
765
|
planId: string;
|
|
734
766
|
sourcePricingAccountId: string;
|
|
735
|
-
|
|
767
|
+
dailyPayoutReceiveAccountId: string;
|
|
768
|
+
maturitySettlementReceiveAccountId: string;
|
|
736
769
|
shares: number;
|
|
737
770
|
totalPricingAmount: string;
|
|
738
771
|
totalRightsPrincipal: string;
|
|
@@ -8,8 +8,12 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
8
8
|
updatedAt: Date;
|
|
9
9
|
description: string | null;
|
|
10
10
|
status: "active" | "draft" | "paused" | "ended";
|
|
11
|
+
coverImageUrl: string | null;
|
|
11
12
|
rightsAssetId: string;
|
|
12
13
|
pricingAssetId: string;
|
|
14
|
+
sourcePricingAccountTypeId: string;
|
|
15
|
+
dailyPayoutAccountTypeId: string;
|
|
16
|
+
maturitySettlementAccountTypeId: string;
|
|
13
17
|
pricePerShare: string;
|
|
14
18
|
rightsPerShare: string;
|
|
15
19
|
cycleDays: number;
|
|
@@ -26,8 +30,12 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
26
30
|
id: string;
|
|
27
31
|
name: string;
|
|
28
32
|
description: string | null;
|
|
33
|
+
coverImageUrl: string | null;
|
|
29
34
|
rightsAssetId: string;
|
|
30
35
|
pricingAssetId: string;
|
|
36
|
+
sourcePricingAccountTypeId: string;
|
|
37
|
+
dailyPayoutAccountTypeId: string;
|
|
38
|
+
maturitySettlementAccountTypeId: string;
|
|
31
39
|
pricePerShare: string;
|
|
32
40
|
rightsPerShare: string;
|
|
33
41
|
cycleDays: number;
|
|
@@ -45,8 +53,12 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
45
53
|
id: string;
|
|
46
54
|
name: string;
|
|
47
55
|
description: string | null;
|
|
56
|
+
coverImageUrl: string | null;
|
|
48
57
|
rightsAssetId: string;
|
|
49
58
|
pricingAssetId: string;
|
|
59
|
+
sourcePricingAccountTypeId: string;
|
|
60
|
+
dailyPayoutAccountTypeId: string;
|
|
61
|
+
maturitySettlementAccountTypeId: string;
|
|
50
62
|
pricePerShare: string;
|
|
51
63
|
rightsPerShare: string;
|
|
52
64
|
cycleDays: number;
|
|
@@ -64,8 +76,12 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
64
76
|
id: string;
|
|
65
77
|
name: string;
|
|
66
78
|
description: string | null;
|
|
79
|
+
coverImageUrl: string | null;
|
|
67
80
|
rightsAssetId: string;
|
|
68
81
|
pricingAssetId: string;
|
|
82
|
+
sourcePricingAccountTypeId: string;
|
|
83
|
+
dailyPayoutAccountTypeId: string;
|
|
84
|
+
maturitySettlementAccountTypeId: string;
|
|
69
85
|
pricePerShare: string;
|
|
70
86
|
rightsPerShare: string;
|
|
71
87
|
cycleDays: number;
|
|
@@ -83,8 +99,12 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
83
99
|
id: string;
|
|
84
100
|
name: string;
|
|
85
101
|
description: string | null;
|
|
102
|
+
coverImageUrl: string | null;
|
|
86
103
|
rightsAssetId: string;
|
|
87
104
|
pricingAssetId: string;
|
|
105
|
+
sourcePricingAccountTypeId: string;
|
|
106
|
+
dailyPayoutAccountTypeId: string;
|
|
107
|
+
maturitySettlementAccountTypeId: string;
|
|
88
108
|
pricePerShare: string;
|
|
89
109
|
rightsPerShare: string;
|
|
90
110
|
cycleDays: number;
|
|
@@ -105,8 +125,12 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
105
125
|
updatedAt: Date;
|
|
106
126
|
description: string | null;
|
|
107
127
|
status: "active" | "draft" | "paused" | "ended";
|
|
128
|
+
coverImageUrl: string | null;
|
|
108
129
|
rightsAssetId: string;
|
|
109
130
|
pricingAssetId: string;
|
|
131
|
+
sourcePricingAccountTypeId: string;
|
|
132
|
+
dailyPayoutAccountTypeId: string;
|
|
133
|
+
maturitySettlementAccountTypeId: string;
|
|
110
134
|
pricePerShare: string;
|
|
111
135
|
rightsPerShare: string;
|
|
112
136
|
cycleDays: number;
|
|
@@ -136,7 +160,8 @@ export declare abstract class AdminWelfareCycleService extends BaseWelfareCycleS
|
|
|
136
160
|
orderNo: string;
|
|
137
161
|
planId: string;
|
|
138
162
|
sourcePricingAccountId: string;
|
|
139
|
-
|
|
163
|
+
dailyPayoutReceiveAccountId: string;
|
|
164
|
+
maturitySettlementReceiveAccountId: string;
|
|
140
165
|
shares: number;
|
|
141
166
|
totalPricingAmount: string;
|
|
142
167
|
totalRightsPrincipal: string;
|
|
@@ -84,6 +84,23 @@ export declare const welfareCyclePlanSelectSchema: import("drizzle-typebox").Bui
|
|
|
84
84
|
identity: undefined;
|
|
85
85
|
generated: undefined;
|
|
86
86
|
}, {}, {}>;
|
|
87
|
+
coverImageUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
88
|
+
name: "cover_image_url";
|
|
89
|
+
tableName: "welfare_cycle_plan";
|
|
90
|
+
dataType: "string";
|
|
91
|
+
columnType: "PgText";
|
|
92
|
+
data: string;
|
|
93
|
+
driverParam: string;
|
|
94
|
+
notNull: false;
|
|
95
|
+
hasDefault: false;
|
|
96
|
+
isPrimaryKey: false;
|
|
97
|
+
isAutoincrement: false;
|
|
98
|
+
hasRuntimeDefault: false;
|
|
99
|
+
enumValues: [string, ...string[]];
|
|
100
|
+
baseColumn: never;
|
|
101
|
+
identity: undefined;
|
|
102
|
+
generated: undefined;
|
|
103
|
+
}, {}, {}>;
|
|
87
104
|
rightsAssetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
88
105
|
name: "rights_asset_id";
|
|
89
106
|
tableName: "welfare_cycle_plan";
|
|
@@ -118,6 +135,57 @@ export declare const welfareCyclePlanSelectSchema: import("drizzle-typebox").Bui
|
|
|
118
135
|
identity: undefined;
|
|
119
136
|
generated: undefined;
|
|
120
137
|
}, {}, {}>;
|
|
138
|
+
sourcePricingAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
139
|
+
name: "source_pricing_account_type_id";
|
|
140
|
+
tableName: "welfare_cycle_plan";
|
|
141
|
+
dataType: "string";
|
|
142
|
+
columnType: "PgUUID";
|
|
143
|
+
data: string;
|
|
144
|
+
driverParam: string;
|
|
145
|
+
notNull: true;
|
|
146
|
+
hasDefault: false;
|
|
147
|
+
isPrimaryKey: false;
|
|
148
|
+
isAutoincrement: false;
|
|
149
|
+
hasRuntimeDefault: false;
|
|
150
|
+
enumValues: undefined;
|
|
151
|
+
baseColumn: never;
|
|
152
|
+
identity: undefined;
|
|
153
|
+
generated: undefined;
|
|
154
|
+
}, {}, {}>;
|
|
155
|
+
dailyPayoutAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
156
|
+
name: "daily_payout_account_type_id";
|
|
157
|
+
tableName: "welfare_cycle_plan";
|
|
158
|
+
dataType: "string";
|
|
159
|
+
columnType: "PgUUID";
|
|
160
|
+
data: string;
|
|
161
|
+
driverParam: string;
|
|
162
|
+
notNull: true;
|
|
163
|
+
hasDefault: false;
|
|
164
|
+
isPrimaryKey: false;
|
|
165
|
+
isAutoincrement: false;
|
|
166
|
+
hasRuntimeDefault: false;
|
|
167
|
+
enumValues: undefined;
|
|
168
|
+
baseColumn: never;
|
|
169
|
+
identity: undefined;
|
|
170
|
+
generated: undefined;
|
|
171
|
+
}, {}, {}>;
|
|
172
|
+
maturitySettlementAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
173
|
+
name: "maturity_settlement_account_type_id";
|
|
174
|
+
tableName: "welfare_cycle_plan";
|
|
175
|
+
dataType: "string";
|
|
176
|
+
columnType: "PgUUID";
|
|
177
|
+
data: string;
|
|
178
|
+
driverParam: string;
|
|
179
|
+
notNull: true;
|
|
180
|
+
hasDefault: false;
|
|
181
|
+
isPrimaryKey: false;
|
|
182
|
+
isAutoincrement: false;
|
|
183
|
+
hasRuntimeDefault: false;
|
|
184
|
+
enumValues: undefined;
|
|
185
|
+
baseColumn: never;
|
|
186
|
+
identity: undefined;
|
|
187
|
+
generated: undefined;
|
|
188
|
+
}, {}, {}>;
|
|
121
189
|
pricePerShare: import("drizzle-orm/pg-core").PgColumn<{
|
|
122
190
|
name: "price_per_share";
|
|
123
191
|
tableName: "welfare_cycle_plan";
|
|
@@ -376,6 +444,23 @@ export declare const welfareCyclePlanInsertSchema: import("drizzle-typebox").Bui
|
|
|
376
444
|
identity: undefined;
|
|
377
445
|
generated: undefined;
|
|
378
446
|
}, {}, {}>;
|
|
447
|
+
coverImageUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
448
|
+
name: "cover_image_url";
|
|
449
|
+
tableName: "welfare_cycle_plan";
|
|
450
|
+
dataType: "string";
|
|
451
|
+
columnType: "PgText";
|
|
452
|
+
data: string;
|
|
453
|
+
driverParam: string;
|
|
454
|
+
notNull: false;
|
|
455
|
+
hasDefault: false;
|
|
456
|
+
isPrimaryKey: false;
|
|
457
|
+
isAutoincrement: false;
|
|
458
|
+
hasRuntimeDefault: false;
|
|
459
|
+
enumValues: [string, ...string[]];
|
|
460
|
+
baseColumn: never;
|
|
461
|
+
identity: undefined;
|
|
462
|
+
generated: undefined;
|
|
463
|
+
}, {}, {}>;
|
|
379
464
|
rightsAssetId: import("drizzle-orm/pg-core").PgColumn<{
|
|
380
465
|
name: "rights_asset_id";
|
|
381
466
|
tableName: "welfare_cycle_plan";
|
|
@@ -410,6 +495,57 @@ export declare const welfareCyclePlanInsertSchema: import("drizzle-typebox").Bui
|
|
|
410
495
|
identity: undefined;
|
|
411
496
|
generated: undefined;
|
|
412
497
|
}, {}, {}>;
|
|
498
|
+
sourcePricingAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
499
|
+
name: "source_pricing_account_type_id";
|
|
500
|
+
tableName: "welfare_cycle_plan";
|
|
501
|
+
dataType: "string";
|
|
502
|
+
columnType: "PgUUID";
|
|
503
|
+
data: string;
|
|
504
|
+
driverParam: string;
|
|
505
|
+
notNull: true;
|
|
506
|
+
hasDefault: false;
|
|
507
|
+
isPrimaryKey: false;
|
|
508
|
+
isAutoincrement: false;
|
|
509
|
+
hasRuntimeDefault: false;
|
|
510
|
+
enumValues: undefined;
|
|
511
|
+
baseColumn: never;
|
|
512
|
+
identity: undefined;
|
|
513
|
+
generated: undefined;
|
|
514
|
+
}, {}, {}>;
|
|
515
|
+
dailyPayoutAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
516
|
+
name: "daily_payout_account_type_id";
|
|
517
|
+
tableName: "welfare_cycle_plan";
|
|
518
|
+
dataType: "string";
|
|
519
|
+
columnType: "PgUUID";
|
|
520
|
+
data: string;
|
|
521
|
+
driverParam: string;
|
|
522
|
+
notNull: true;
|
|
523
|
+
hasDefault: false;
|
|
524
|
+
isPrimaryKey: false;
|
|
525
|
+
isAutoincrement: false;
|
|
526
|
+
hasRuntimeDefault: false;
|
|
527
|
+
enumValues: undefined;
|
|
528
|
+
baseColumn: never;
|
|
529
|
+
identity: undefined;
|
|
530
|
+
generated: undefined;
|
|
531
|
+
}, {}, {}>;
|
|
532
|
+
maturitySettlementAccountTypeId: import("drizzle-orm/pg-core").PgColumn<{
|
|
533
|
+
name: "maturity_settlement_account_type_id";
|
|
534
|
+
tableName: "welfare_cycle_plan";
|
|
535
|
+
dataType: "string";
|
|
536
|
+
columnType: "PgUUID";
|
|
537
|
+
data: string;
|
|
538
|
+
driverParam: string;
|
|
539
|
+
notNull: true;
|
|
540
|
+
hasDefault: false;
|
|
541
|
+
isPrimaryKey: false;
|
|
542
|
+
isAutoincrement: false;
|
|
543
|
+
hasRuntimeDefault: false;
|
|
544
|
+
enumValues: undefined;
|
|
545
|
+
baseColumn: never;
|
|
546
|
+
identity: undefined;
|
|
547
|
+
generated: undefined;
|
|
548
|
+
}, {}, {}>;
|
|
413
549
|
pricePerShare: import("drizzle-orm/pg-core").PgColumn<{
|
|
414
550
|
name: "price_per_share";
|
|
415
551
|
tableName: "welfare_cycle_plan";
|
|
@@ -719,8 +855,25 @@ export declare const welfareCycleSubscriptionSelectSchema: import("drizzle-typeb
|
|
|
719
855
|
identity: undefined;
|
|
720
856
|
generated: undefined;
|
|
721
857
|
}, {}, {}>;
|
|
722
|
-
|
|
723
|
-
name: "
|
|
858
|
+
dailyPayoutReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
859
|
+
name: "daily_payout_receive_account_id";
|
|
860
|
+
tableName: "welfare_cycle_subscription";
|
|
861
|
+
dataType: "string";
|
|
862
|
+
columnType: "PgUUID";
|
|
863
|
+
data: string;
|
|
864
|
+
driverParam: string;
|
|
865
|
+
notNull: true;
|
|
866
|
+
hasDefault: false;
|
|
867
|
+
isPrimaryKey: false;
|
|
868
|
+
isAutoincrement: false;
|
|
869
|
+
hasRuntimeDefault: false;
|
|
870
|
+
enumValues: undefined;
|
|
871
|
+
baseColumn: never;
|
|
872
|
+
identity: undefined;
|
|
873
|
+
generated: undefined;
|
|
874
|
+
}, {}, {}>;
|
|
875
|
+
maturitySettlementReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
876
|
+
name: "maturity_settlement_receive_account_id";
|
|
724
877
|
tableName: "welfare_cycle_subscription";
|
|
725
878
|
dataType: "string";
|
|
726
879
|
columnType: "PgUUID";
|
|
@@ -1130,8 +1283,25 @@ export declare const welfareCycleSubscriptionInsertSchema: import("drizzle-typeb
|
|
|
1130
1283
|
identity: undefined;
|
|
1131
1284
|
generated: undefined;
|
|
1132
1285
|
}, {}, {}>;
|
|
1133
|
-
|
|
1134
|
-
name: "
|
|
1286
|
+
dailyPayoutReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
1287
|
+
name: "daily_payout_receive_account_id";
|
|
1288
|
+
tableName: "welfare_cycle_subscription";
|
|
1289
|
+
dataType: "string";
|
|
1290
|
+
columnType: "PgUUID";
|
|
1291
|
+
data: string;
|
|
1292
|
+
driverParam: string;
|
|
1293
|
+
notNull: true;
|
|
1294
|
+
hasDefault: false;
|
|
1295
|
+
isPrimaryKey: false;
|
|
1296
|
+
isAutoincrement: false;
|
|
1297
|
+
hasRuntimeDefault: false;
|
|
1298
|
+
enumValues: undefined;
|
|
1299
|
+
baseColumn: never;
|
|
1300
|
+
identity: undefined;
|
|
1301
|
+
generated: undefined;
|
|
1302
|
+
}, {}, {}>;
|
|
1303
|
+
maturitySettlementReceiveAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
1304
|
+
name: "maturity_settlement_receive_account_id";
|
|
1135
1305
|
tableName: "welfare_cycle_subscription";
|
|
1136
1306
|
dataType: "string";
|
|
1137
1307
|
columnType: "PgUUID";
|
|
@@ -3,9 +3,15 @@ export declare const WelfareCycleErrorCodes: {
|
|
|
3
3
|
readonly WELFARE_CYCLE_PLAN_NOT_FOUND: "WELFARE_CYCLE_PLAN_NOT_FOUND";
|
|
4
4
|
readonly WELFARE_CYCLE_PLAN_STATUS_INVALID: "WELFARE_CYCLE_PLAN_STATUS_INVALID";
|
|
5
5
|
readonly WELFARE_CYCLE_PLAN_NOT_SALE_TIME: "WELFARE_CYCLE_PLAN_NOT_SALE_TIME";
|
|
6
|
+
readonly WELFARE_CYCLE_ASSET_NOT_FOUND: "WELFARE_CYCLE_ASSET_NOT_FOUND";
|
|
7
|
+
readonly WELFARE_CYCLE_ASSET_INACTIVE: "WELFARE_CYCLE_ASSET_INACTIVE";
|
|
8
|
+
readonly WELFARE_CYCLE_ACCOUNT_TYPE_NOT_FOUND: "WELFARE_CYCLE_ACCOUNT_TYPE_NOT_FOUND";
|
|
9
|
+
readonly WELFARE_CYCLE_ACCOUNT_TYPE_INACTIVE: "WELFARE_CYCLE_ACCOUNT_TYPE_INACTIVE";
|
|
6
10
|
readonly WELFARE_CYCLE_SUBSCRIPTION_NOT_FOUND: "WELFARE_CYCLE_SUBSCRIPTION_NOT_FOUND";
|
|
7
11
|
readonly WELFARE_CYCLE_INVALID_SHARES: "WELFARE_CYCLE_INVALID_SHARES";
|
|
8
12
|
readonly WELFARE_CYCLE_ACCOUNT_NOT_MATCH: "WELFARE_CYCLE_ACCOUNT_NOT_MATCH";
|
|
13
|
+
readonly WELFARE_CYCLE_ACCOUNT_NOT_FOUND: "WELFARE_CYCLE_ACCOUNT_NOT_FOUND";
|
|
14
|
+
readonly WELFARE_CYCLE_ACCOUNT_STATUS_INVALID: "WELFARE_CYCLE_ACCOUNT_STATUS_INVALID";
|
|
9
15
|
readonly WELFARE_CYCLE_ASSET_NOT_MATCH: "WELFARE_CYCLE_ASSET_NOT_MATCH";
|
|
10
16
|
readonly WELFARE_CYCLE_IDEMPOTENCY_CONFLICT: "WELFARE_CYCLE_IDEMPOTENCY_CONFLICT";
|
|
11
17
|
readonly WELFARE_CYCLE_SUBSCRIPTION_CREATE_FAILED: "WELFARE_CYCLE_SUBSCRIPTION_CREATE_FAILED";
|
|
@@ -2,9 +2,15 @@ export declare const zh: {
|
|
|
2
2
|
WELFARE_CYCLE_PLAN_NOT_FOUND: string;
|
|
3
3
|
WELFARE_CYCLE_PLAN_STATUS_INVALID: string;
|
|
4
4
|
WELFARE_CYCLE_PLAN_NOT_SALE_TIME: string;
|
|
5
|
+
WELFARE_CYCLE_ASSET_NOT_FOUND: string;
|
|
6
|
+
WELFARE_CYCLE_ASSET_INACTIVE: string;
|
|
7
|
+
WELFARE_CYCLE_ACCOUNT_TYPE_NOT_FOUND: string;
|
|
8
|
+
WELFARE_CYCLE_ACCOUNT_TYPE_INACTIVE: string;
|
|
5
9
|
WELFARE_CYCLE_SUBSCRIPTION_NOT_FOUND: string;
|
|
6
10
|
WELFARE_CYCLE_INVALID_SHARES: string;
|
|
7
11
|
WELFARE_CYCLE_ACCOUNT_NOT_MATCH: string;
|
|
12
|
+
WELFARE_CYCLE_ACCOUNT_NOT_FOUND: string;
|
|
13
|
+
WELFARE_CYCLE_ACCOUNT_STATUS_INVALID: string;
|
|
8
14
|
WELFARE_CYCLE_ASSET_NOT_MATCH: string;
|
|
9
15
|
WELFARE_CYCLE_IDEMPOTENCY_CONFLICT: string;
|
|
10
16
|
WELFARE_CYCLE_SUBSCRIPTION_CREATE_FAILED: string;
|