@r2wa-org/eden 0.0.68 → 0.0.69

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.
@@ -1277,6 +1277,7 @@ export declare const adminRouter: Elysia<"/admin", {
1277
1277
  body: {
1278
1278
  description?: string | null | undefined;
1279
1279
  status?: "active" | "draft" | "paused" | "ended" | undefined;
1280
+ allowPurchase?: boolean | undefined;
1280
1281
  name: string;
1281
1282
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1282
1283
  targetAssetId: string;
@@ -1304,6 +1305,7 @@ export declare const adminRouter: Elysia<"/admin", {
1304
1305
  receiveAccountTypeId: string;
1305
1306
  minPayAmount: string;
1306
1307
  settlementMode: "available" | "locked";
1308
+ allowPurchase: boolean;
1307
1309
  targetAsset: {
1308
1310
  symbol: string;
1309
1311
  id: string;
@@ -1364,6 +1366,7 @@ export declare const adminRouter: Elysia<"/admin", {
1364
1366
  receiveAccountTypeId?: string | undefined;
1365
1367
  minPayAmount?: string | undefined;
1366
1368
  settlementMode?: "available" | "locked" | undefined;
1369
+ allowPurchase?: boolean | undefined;
1367
1370
  };
1368
1371
  params: {
1369
1372
  id: string;
@@ -1385,6 +1388,7 @@ export declare const adminRouter: Elysia<"/admin", {
1385
1388
  receiveAccountTypeId: string;
1386
1389
  minPayAmount: string;
1387
1390
  settlementMode: "available" | "locked";
1391
+ allowPurchase: boolean;
1388
1392
  targetAsset: {
1389
1393
  symbol: string;
1390
1394
  id: string;
@@ -1457,6 +1461,7 @@ export declare const adminRouter: Elysia<"/admin", {
1457
1461
  receiveAccountTypeId: string;
1458
1462
  minPayAmount: string;
1459
1463
  settlementMode: "available" | "locked";
1464
+ allowPurchase: boolean;
1460
1465
  targetAsset: {
1461
1466
  symbol: string;
1462
1467
  id: string;
@@ -1530,6 +1535,7 @@ export declare const adminRouter: Elysia<"/admin", {
1530
1535
  receiveAccountTypeId: string;
1531
1536
  minPayAmount: string;
1532
1537
  settlementMode: "available" | "locked";
1538
+ allowPurchase: boolean;
1533
1539
  targetAsset: {
1534
1540
  symbol: string;
1535
1541
  id: string;
@@ -1603,6 +1609,7 @@ export declare const adminRouter: Elysia<"/admin", {
1603
1609
  receiveAccountTypeId: string;
1604
1610
  minPayAmount: string;
1605
1611
  settlementMode: "available" | "locked";
1612
+ allowPurchase: boolean;
1606
1613
  targetAsset: {
1607
1614
  symbol: string;
1608
1615
  id: string;
@@ -1675,6 +1682,7 @@ export declare const adminRouter: Elysia<"/admin", {
1675
1682
  receiveAccountTypeId: string;
1676
1683
  minPayAmount: string;
1677
1684
  settlementMode: "available" | "locked";
1685
+ allowPurchase: boolean;
1678
1686
  targetAsset: {
1679
1687
  symbol: string;
1680
1688
  id: string;
@@ -1736,6 +1744,7 @@ export declare const adminRouter: Elysia<"/admin", {
1736
1744
  payAccountTypeId?: string | undefined;
1737
1745
  receiveAccountTypeId?: string | undefined;
1738
1746
  settlementMode?: "available" | "locked" | undefined;
1747
+ allowPurchase?: boolean | undefined;
1739
1748
  limit?: number | undefined;
1740
1749
  offset?: number | undefined;
1741
1750
  pageSize?: number | undefined;
@@ -1762,6 +1771,7 @@ export declare const adminRouter: Elysia<"/admin", {
1762
1771
  receiveAccountTypeId: string;
1763
1772
  minPayAmount: string;
1764
1773
  settlementMode: "available" | "locked";
1774
+ allowPurchase: boolean;
1765
1775
  targetAsset: {
1766
1776
  symbol: string;
1767
1777
  id: string;
@@ -53,6 +53,7 @@ export declare const assetConvertProductAdminResponseSchema: import("@sinclair/t
53
53
  available: "available";
54
54
  locked: "locked";
55
55
  }>;
56
+ allowPurchase: import("@sinclair/typebox").TBoolean;
56
57
  targetAsset: import("@sinclair/typebox").TObject<{
57
58
  symbol: import("@sinclair/typebox").TString;
58
59
  id: import("@sinclair/typebox").TString;
@@ -260,6 +261,7 @@ export declare const assetConvertProductCreateSchema: import("@sinclair/typebox"
260
261
  paused: "paused";
261
262
  ended: "ended";
262
263
  }>>;
264
+ allowPurchase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
263
265
  }>;
264
266
  export type AssetConvertProductCreateInputType = typeof assetConvertProductCreateSchema.static;
265
267
  export declare const assetConvertProductUpdateSchema: import("@sinclair/typebox").TObject<{
@@ -286,6 +288,7 @@ export declare const assetConvertProductUpdateSchema: import("@sinclair/typebox"
286
288
  paused: "paused";
287
289
  ended: "ended";
288
290
  }>>;
291
+ allowPurchase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
289
292
  }>;
290
293
  export type AssetConvertProductUpdateInputType = typeof assetConvertProductUpdateSchema.static;
291
294
  export declare const assetConvertProductListQuerySchema: import("@sinclair/typebox").TObject<{
@@ -311,6 +314,7 @@ export declare const assetConvertProductListQuerySchema: import("@sinclair/typeb
311
314
  available: "available";
312
315
  locked: "locked";
313
316
  }>>;
317
+ allowPurchase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
314
318
  createdAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
315
319
  createdAtEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
316
320
  updatedAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
@@ -349,6 +353,7 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
349
353
  available: "available";
350
354
  locked: "locked";
351
355
  }>;
356
+ allowPurchase: import("@sinclair/typebox").TBoolean;
352
357
  targetAsset: import("@sinclair/typebox").TObject<{
353
358
  symbol: import("@sinclair/typebox").TString;
354
359
  id: import("@sinclair/typebox").TString;
@@ -386,6 +386,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
386
386
  body: {
387
387
  description?: string | null | undefined;
388
388
  status?: "active" | "draft" | "paused" | "ended" | undefined;
389
+ allowPurchase?: boolean | undefined;
389
390
  name: string;
390
391
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
391
392
  targetAssetId: string;
@@ -413,6 +414,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
413
414
  receiveAccountTypeId: string;
414
415
  minPayAmount: string;
415
416
  settlementMode: "available" | "locked";
417
+ allowPurchase: boolean;
416
418
  targetAsset: {
417
419
  symbol: string;
418
420
  id: string;
@@ -473,6 +475,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
473
475
  receiveAccountTypeId?: string | undefined;
474
476
  minPayAmount?: string | undefined;
475
477
  settlementMode?: "available" | "locked" | undefined;
478
+ allowPurchase?: boolean | undefined;
476
479
  };
477
480
  params: {
478
481
  id: string;
@@ -494,6 +497,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
494
497
  receiveAccountTypeId: string;
495
498
  minPayAmount: string;
496
499
  settlementMode: "available" | "locked";
500
+ allowPurchase: boolean;
497
501
  targetAsset: {
498
502
  symbol: string;
499
503
  id: string;
@@ -566,6 +570,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
566
570
  receiveAccountTypeId: string;
567
571
  minPayAmount: string;
568
572
  settlementMode: "available" | "locked";
573
+ allowPurchase: boolean;
569
574
  targetAsset: {
570
575
  symbol: string;
571
576
  id: string;
@@ -639,6 +644,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
639
644
  receiveAccountTypeId: string;
640
645
  minPayAmount: string;
641
646
  settlementMode: "available" | "locked";
647
+ allowPurchase: boolean;
642
648
  targetAsset: {
643
649
  symbol: string;
644
650
  id: string;
@@ -712,6 +718,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
712
718
  receiveAccountTypeId: string;
713
719
  minPayAmount: string;
714
720
  settlementMode: "available" | "locked";
721
+ allowPurchase: boolean;
715
722
  targetAsset: {
716
723
  symbol: string;
717
724
  id: string;
@@ -784,6 +791,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
784
791
  receiveAccountTypeId: string;
785
792
  minPayAmount: string;
786
793
  settlementMode: "available" | "locked";
794
+ allowPurchase: boolean;
787
795
  targetAsset: {
788
796
  symbol: string;
789
797
  id: string;
@@ -845,6 +853,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
845
853
  payAccountTypeId?: string | undefined;
846
854
  receiveAccountTypeId?: string | undefined;
847
855
  settlementMode?: "available" | "locked" | undefined;
856
+ allowPurchase?: boolean | undefined;
848
857
  limit?: number | undefined;
849
858
  offset?: number | undefined;
850
859
  pageSize?: number | undefined;
@@ -871,6 +880,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
871
880
  receiveAccountTypeId: string;
872
881
  minPayAmount: string;
873
882
  settlementMode: "available" | "locked";
883
+ allowPurchase: boolean;
874
884
  targetAsset: {
875
885
  symbol: string;
876
886
  id: string;
@@ -97,6 +97,7 @@ export declare abstract class AdminAssetConvertProductService {
97
97
  receiveAccountTypeId: string;
98
98
  minPayAmount: string;
99
99
  settlementMode: "available" | "locked";
100
+ allowPurchase: boolean;
100
101
  }>;
101
102
  static updateProduct(productId: string, input: AssetConvertProductUpdateInputType): Promise<{
102
103
  id: string;
@@ -112,6 +113,7 @@ export declare abstract class AdminAssetConvertProductService {
112
113
  receiveAccountTypeId: string;
113
114
  minPayAmount: string;
114
115
  settlementMode: "available" | "locked";
116
+ allowPurchase: boolean;
115
117
  targetAsset: {
116
118
  symbol: string;
117
119
  id: string;
@@ -155,6 +157,7 @@ export declare abstract class AdminAssetConvertProductService {
155
157
  receiveAccountTypeId: string;
156
158
  minPayAmount: string;
157
159
  settlementMode: "available" | "locked";
160
+ allowPurchase: boolean;
158
161
  targetAsset: {
159
162
  symbol: string;
160
163
  id: string;
@@ -198,6 +201,7 @@ export declare abstract class AdminAssetConvertProductService {
198
201
  receiveAccountTypeId: string;
199
202
  minPayAmount: string;
200
203
  settlementMode: "available" | "locked";
204
+ allowPurchase: boolean;
201
205
  targetAsset: {
202
206
  symbol: string;
203
207
  id: string;
@@ -241,6 +245,7 @@ export declare abstract class AdminAssetConvertProductService {
241
245
  receiveAccountTypeId: string;
242
246
  minPayAmount: string;
243
247
  settlementMode: "available" | "locked";
248
+ allowPurchase: boolean;
244
249
  targetAsset: {
245
250
  symbol: string;
246
251
  id: string;
@@ -284,6 +289,7 @@ export declare abstract class AdminAssetConvertProductService {
284
289
  receiveAccountTypeId: string;
285
290
  minPayAmount: string;
286
291
  settlementMode: "available" | "locked";
292
+ allowPurchase: boolean;
287
293
  targetAsset: {
288
294
  symbol: string;
289
295
  id: string;
@@ -328,6 +334,7 @@ export declare abstract class AdminAssetConvertProductService {
328
334
  receiveAccountTypeId: string;
329
335
  minPayAmount: string;
330
336
  settlementMode: "available" | "locked";
337
+ allowPurchase: boolean;
331
338
  targetAsset: {
332
339
  symbol: string;
333
340
  id: string;
@@ -220,6 +220,23 @@ export declare const assetConvertProductSelectSchema: import("drizzle-typebox").
220
220
  identity: undefined;
221
221
  generated: undefined;
222
222
  }, {}, {}>;
223
+ allowPurchase: import("drizzle-orm/pg-core").PgColumn<{
224
+ name: "allow_purchase";
225
+ tableName: "asset_convert_product";
226
+ dataType: "boolean";
227
+ columnType: "PgBoolean";
228
+ data: boolean;
229
+ driverParam: boolean;
230
+ notNull: true;
231
+ hasDefault: true;
232
+ isPrimaryKey: false;
233
+ isAutoincrement: false;
234
+ hasRuntimeDefault: false;
235
+ enumValues: undefined;
236
+ baseColumn: never;
237
+ identity: undefined;
238
+ generated: undefined;
239
+ }, {}, {}>;
223
240
  }, undefined>;
224
241
  export type AssetConvertProductSelectSchemaType = typeof assetConvertProductSelectSchema.static;
225
242
  export declare const assetConvertProductInsertSchema: import("drizzle-typebox").BuildSchema<"insert", {
@@ -444,6 +461,23 @@ export declare const assetConvertProductInsertSchema: import("drizzle-typebox").
444
461
  identity: undefined;
445
462
  generated: undefined;
446
463
  }, {}, {}>;
464
+ allowPurchase: import("drizzle-orm/pg-core").PgColumn<{
465
+ name: "allow_purchase";
466
+ tableName: "asset_convert_product";
467
+ dataType: "boolean";
468
+ columnType: "PgBoolean";
469
+ data: boolean;
470
+ driverParam: boolean;
471
+ notNull: true;
472
+ hasDefault: true;
473
+ isPrimaryKey: false;
474
+ isAutoincrement: false;
475
+ hasRuntimeDefault: false;
476
+ enumValues: undefined;
477
+ baseColumn: never;
478
+ identity: undefined;
479
+ generated: undefined;
480
+ }, {}, {}>;
447
481
  }, undefined>;
448
482
  export type AssetConvertProductInsertSchemaType = typeof assetConvertProductInsertSchema.static;
449
483
  export declare const assetConvertOrderSelectSchema: import("drizzle-typebox").BuildSchema<"select", {
@@ -2,6 +2,7 @@ export * from "./locales/zh";
2
2
  export declare const AssetConvertProductErrorCodes: {
3
3
  readonly ASSET_CONVERT_PRODUCT_NOT_FOUND: "ASSET_CONVERT_PRODUCT_NOT_FOUND";
4
4
  readonly ASSET_CONVERT_PRODUCT_STATUS_INVALID: "ASSET_CONVERT_PRODUCT_STATUS_INVALID";
5
+ readonly ASSET_CONVERT_PRODUCT_PURCHASE_NOT_ALLOWED: "ASSET_CONVERT_PRODUCT_PURCHASE_NOT_ALLOWED";
5
6
  readonly ASSET_CONVERT_PRODUCT_STATUS_TRANSITION_INVALID: "ASSET_CONVERT_PRODUCT_STATUS_TRANSITION_INVALID";
6
7
  readonly ASSET_CONVERT_PRODUCT_PRICE_NOT_FOUND: "ASSET_CONVERT_PRODUCT_PRICE_NOT_FOUND";
7
8
  readonly ASSET_CONVERT_PRODUCT_ASSET_NOT_FOUND: "ASSET_CONVERT_PRODUCT_ASSET_NOT_FOUND";
@@ -1,6 +1,7 @@
1
1
  export declare const zh: {
2
2
  ASSET_CONVERT_PRODUCT_NOT_FOUND: string;
3
3
  ASSET_CONVERT_PRODUCT_STATUS_INVALID: string;
4
+ ASSET_CONVERT_PRODUCT_PURCHASE_NOT_ALLOWED: string;
4
5
  ASSET_CONVERT_PRODUCT_STATUS_TRANSITION_INVALID: string;
5
6
  ASSET_CONVERT_PRODUCT_PRICE_NOT_FOUND: string;
6
7
  ASSET_CONVERT_PRODUCT_ASSET_NOT_FOUND: string;
@@ -246,6 +246,23 @@ export declare const assetConvertProduct: import("drizzle-orm/pg-core").PgTableW
246
246
  identity: undefined;
247
247
  generated: undefined;
248
248
  }, {}, {}>;
249
+ allowPurchase: import("drizzle-orm/pg-core").PgColumn<{
250
+ name: "allow_purchase";
251
+ tableName: "asset_convert_product";
252
+ dataType: "boolean";
253
+ columnType: "PgBoolean";
254
+ data: boolean;
255
+ driverParam: boolean;
256
+ notNull: true;
257
+ hasDefault: true;
258
+ isPrimaryKey: false;
259
+ isAutoincrement: false;
260
+ hasRuntimeDefault: false;
261
+ enumValues: undefined;
262
+ baseColumn: never;
263
+ identity: undefined;
264
+ generated: undefined;
265
+ }, {}, {}>;
249
266
  };
250
267
  dialect: "pg";
251
268
  }>;
@@ -38,6 +38,7 @@ export declare const assetConvertProductListItemResponseSchema: import("@sinclai
38
38
  available: "available";
39
39
  locked: "locked";
40
40
  }>;
41
+ allowPurchase: import("@sinclair/typebox").TBoolean;
41
42
  targetAsset: import("@sinclair/typebox").TObject<{
42
43
  symbol: import("@sinclair/typebox").TString;
43
44
  id: import("@sinclair/typebox").TString;
@@ -120,6 +121,7 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
120
121
  available: "available";
121
122
  locked: "locked";
122
123
  }>;
124
+ allowPurchase: import("@sinclair/typebox").TBoolean;
123
125
  targetAsset: import("@sinclair/typebox").TObject<{
124
126
  symbol: import("@sinclair/typebox").TString;
125
127
  id: import("@sinclair/typebox").TString;
@@ -210,6 +212,7 @@ export declare const assetConvertProductResponseSchema: import("@sinclair/typebo
210
212
  available: "available";
211
213
  locked: "locked";
212
214
  }>;
215
+ allowPurchase: import("@sinclair/typebox").TBoolean;
213
216
  targetAsset: import("@sinclair/typebox").TObject<{
214
217
  symbol: import("@sinclair/typebox").TString;
215
218
  id: import("@sinclair/typebox").TString;
@@ -420,6 +420,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
420
420
  receiveAccountTypeId: string;
421
421
  minPayAmount: string;
422
422
  settlementMode: "available" | "locked";
423
+ allowPurchase: boolean;
423
424
  targetAsset: {
424
425
  symbol: string;
425
426
  id: string;
@@ -512,6 +513,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
512
513
  receiveAccountTypeId: string;
513
514
  minPayAmount: string;
514
515
  settlementMode: "available" | "locked";
516
+ allowPurchase: boolean;
515
517
  targetAsset: {
516
518
  symbol: string;
517
519
  id: string;
@@ -18,8 +18,10 @@ declare abstract class BaseUserAssetConvertProductService {
18
18
  receiveAccountTypeId: string;
19
19
  minPayAmount: string;
20
20
  settlementMode: "available" | "locked";
21
+ allowPurchase: boolean;
21
22
  }>;
22
23
  protected static assertProductActive(product: typeof assetConvertProduct.$inferSelect): void;
24
+ protected static assertProductPurchaseAllowed(product: typeof assetConvertProduct.$inferSelect): void;
23
25
  protected static ensureProductPayAmount(productMinPayAmount: string, payAmount: Decimal): void;
24
26
  protected static calcTargetAmount(payAmount: Decimal, price: string): string;
25
27
  protected static getLatestProductPrice(tx: TransactionTx, product: typeof assetConvertProduct.$inferSelect): Promise<{
@@ -167,6 +169,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
167
169
  receiveAccountTypeId: string;
168
170
  minPayAmount: string;
169
171
  settlementMode: "available" | "locked";
172
+ allowPurchase: boolean;
170
173
  }[];
171
174
  pagination: {
172
175
  pageSize: number;
@@ -281,6 +284,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
281
284
  receiveAccountTypeId: string;
282
285
  minPayAmount: string;
283
286
  settlementMode: "available" | "locked";
287
+ allowPurchase: boolean;
284
288
  }>;
285
289
  static createOrder(userId: string, input: AssetConvertOrderCreateInputType): Promise<{
286
290
  id: string;
@@ -1600,6 +1600,7 @@ declare const app: Elysia<"/api", {
1600
1600
  body: {
1601
1601
  description?: string | null | undefined;
1602
1602
  status?: "active" | "draft" | "paused" | "ended" | undefined;
1603
+ allowPurchase?: boolean | undefined;
1603
1604
  name: string;
1604
1605
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1605
1606
  targetAssetId: string;
@@ -1627,6 +1628,7 @@ declare const app: Elysia<"/api", {
1627
1628
  receiveAccountTypeId: string;
1628
1629
  minPayAmount: string;
1629
1630
  settlementMode: "available" | "locked";
1631
+ allowPurchase: boolean;
1630
1632
  targetAsset: {
1631
1633
  symbol: string;
1632
1634
  id: string;
@@ -1687,6 +1689,7 @@ declare const app: Elysia<"/api", {
1687
1689
  receiveAccountTypeId?: string | undefined;
1688
1690
  minPayAmount?: string | undefined;
1689
1691
  settlementMode?: "available" | "locked" | undefined;
1692
+ allowPurchase?: boolean | undefined;
1690
1693
  };
1691
1694
  params: {
1692
1695
  id: string;
@@ -1708,6 +1711,7 @@ declare const app: Elysia<"/api", {
1708
1711
  receiveAccountTypeId: string;
1709
1712
  minPayAmount: string;
1710
1713
  settlementMode: "available" | "locked";
1714
+ allowPurchase: boolean;
1711
1715
  targetAsset: {
1712
1716
  symbol: string;
1713
1717
  id: string;
@@ -1780,6 +1784,7 @@ declare const app: Elysia<"/api", {
1780
1784
  receiveAccountTypeId: string;
1781
1785
  minPayAmount: string;
1782
1786
  settlementMode: "available" | "locked";
1787
+ allowPurchase: boolean;
1783
1788
  targetAsset: {
1784
1789
  symbol: string;
1785
1790
  id: string;
@@ -1853,6 +1858,7 @@ declare const app: Elysia<"/api", {
1853
1858
  receiveAccountTypeId: string;
1854
1859
  minPayAmount: string;
1855
1860
  settlementMode: "available" | "locked";
1861
+ allowPurchase: boolean;
1856
1862
  targetAsset: {
1857
1863
  symbol: string;
1858
1864
  id: string;
@@ -1926,6 +1932,7 @@ declare const app: Elysia<"/api", {
1926
1932
  receiveAccountTypeId: string;
1927
1933
  minPayAmount: string;
1928
1934
  settlementMode: "available" | "locked";
1935
+ allowPurchase: boolean;
1929
1936
  targetAsset: {
1930
1937
  symbol: string;
1931
1938
  id: string;
@@ -1998,6 +2005,7 @@ declare const app: Elysia<"/api", {
1998
2005
  receiveAccountTypeId: string;
1999
2006
  minPayAmount: string;
2000
2007
  settlementMode: "available" | "locked";
2008
+ allowPurchase: boolean;
2001
2009
  targetAsset: {
2002
2010
  symbol: string;
2003
2011
  id: string;
@@ -2059,6 +2067,7 @@ declare const app: Elysia<"/api", {
2059
2067
  payAccountTypeId?: string | undefined;
2060
2068
  receiveAccountTypeId?: string | undefined;
2061
2069
  settlementMode?: "available" | "locked" | undefined;
2070
+ allowPurchase?: boolean | undefined;
2062
2071
  limit?: number | undefined;
2063
2072
  offset?: number | undefined;
2064
2073
  pageSize?: number | undefined;
@@ -2085,6 +2094,7 @@ declare const app: Elysia<"/api", {
2085
2094
  receiveAccountTypeId: string;
2086
2095
  minPayAmount: string;
2087
2096
  settlementMode: "available" | "locked";
2097
+ allowPurchase: boolean;
2088
2098
  targetAsset: {
2089
2099
  symbol: string;
2090
2100
  id: string;
@@ -9339,6 +9349,7 @@ declare const app: Elysia<"/api", {
9339
9349
  receiveAccountTypeId: string;
9340
9350
  minPayAmount: string;
9341
9351
  settlementMode: "available" | "locked";
9352
+ allowPurchase: boolean;
9342
9353
  targetAsset: {
9343
9354
  symbol: string;
9344
9355
  id: string;
@@ -9431,6 +9442,7 @@ declare const app: Elysia<"/api", {
9431
9442
  receiveAccountTypeId: string;
9432
9443
  minPayAmount: string;
9433
9444
  settlementMode: "available" | "locked";
9445
+ allowPurchase: boolean;
9434
9446
  targetAsset: {
9435
9447
  symbol: string;
9436
9448
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2wa-org/eden",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "description": "Elysia API type definitions for Eden Treaty",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "files": [