@r2wa-org/eden 0.0.65 → 0.0.66

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 (2) hide show
  1. package/dist/src/index.d.ts +180 -0
  2. package/package.json +1 -1
@@ -10176,6 +10176,186 @@ declare const app: Elysia<"/api", {
10176
10176
  };
10177
10177
  };
10178
10178
  };
10179
+ } & {
10180
+ api: {
10181
+ ledger_accounts: {};
10182
+ } & {
10183
+ ledger_accounts: {
10184
+ "account-types": {
10185
+ ":accountTypeKey": {
10186
+ assets: {
10187
+ ":assetCode": {
10188
+ get: {
10189
+ body: {};
10190
+ params: {
10191
+ assetCode: string;
10192
+ accountTypeKey: string;
10193
+ };
10194
+ query: {};
10195
+ headers: {};
10196
+ response: {
10197
+ 200: {
10198
+ id: string;
10199
+ createdAt: Date;
10200
+ updatedAt: Date;
10201
+ userId: string;
10202
+ status: "active" | "frozen" | "disabled";
10203
+ asset: {
10204
+ symbol: string;
10205
+ id: string;
10206
+ name: string;
10207
+ code: string;
10208
+ iconUrl: string;
10209
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
10210
+ isActive: boolean;
10211
+ precision: number;
10212
+ };
10213
+ assetId: string;
10214
+ ledgerAccountTypeId: string;
10215
+ available: string;
10216
+ locked: string;
10217
+ version: number;
10218
+ ledgerAccountType: {
10219
+ id: string;
10220
+ name: string;
10221
+ description: string | null;
10222
+ key: string;
10223
+ isActive: boolean;
10224
+ };
10225
+ };
10226
+ 422: {
10227
+ type: "validation";
10228
+ on: string;
10229
+ summary?: string;
10230
+ message?: string;
10231
+ found?: unknown;
10232
+ property?: string;
10233
+ expected?: string;
10234
+ };
10235
+ 401: "Unauthorized";
10236
+ };
10237
+ };
10238
+ };
10239
+ };
10240
+ };
10241
+ };
10242
+ };
10243
+ } & {
10244
+ ledger_accounts: {
10245
+ "account-type-ids": {
10246
+ ":ledgerAccountTypeId": {
10247
+ assets: {
10248
+ ":assetId": {
10249
+ get: {
10250
+ body: {};
10251
+ params: {
10252
+ assetId: string;
10253
+ ledgerAccountTypeId: string;
10254
+ };
10255
+ query: {};
10256
+ headers: {};
10257
+ response: {
10258
+ 200: {
10259
+ id: string;
10260
+ createdAt: Date;
10261
+ updatedAt: Date;
10262
+ userId: string;
10263
+ status: "active" | "frozen" | "disabled";
10264
+ asset: {
10265
+ symbol: string;
10266
+ id: string;
10267
+ name: string;
10268
+ code: string;
10269
+ iconUrl: string;
10270
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
10271
+ isActive: boolean;
10272
+ precision: number;
10273
+ };
10274
+ assetId: string;
10275
+ ledgerAccountTypeId: string;
10276
+ available: string;
10277
+ locked: string;
10278
+ version: number;
10279
+ ledgerAccountType: {
10280
+ id: string;
10281
+ name: string;
10282
+ description: string | null;
10283
+ key: string;
10284
+ isActive: boolean;
10285
+ };
10286
+ };
10287
+ 422: {
10288
+ type: "validation";
10289
+ on: string;
10290
+ summary?: string;
10291
+ message?: string;
10292
+ found?: unknown;
10293
+ property?: string;
10294
+ expected?: string;
10295
+ };
10296
+ 401: "Unauthorized";
10297
+ };
10298
+ };
10299
+ };
10300
+ };
10301
+ };
10302
+ };
10303
+ };
10304
+ } & {
10305
+ ledger_accounts: {
10306
+ ":id": {
10307
+ get: {
10308
+ body: {};
10309
+ params: {
10310
+ id: string;
10311
+ };
10312
+ query: {};
10313
+ headers: {};
10314
+ response: {
10315
+ 200: {
10316
+ id: string;
10317
+ createdAt: Date;
10318
+ updatedAt: Date;
10319
+ userId: string;
10320
+ status: "active" | "frozen" | "disabled";
10321
+ asset: {
10322
+ symbol: string;
10323
+ id: string;
10324
+ name: string;
10325
+ code: string;
10326
+ iconUrl: string;
10327
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
10328
+ isActive: boolean;
10329
+ precision: number;
10330
+ };
10331
+ assetId: string;
10332
+ ledgerAccountTypeId: string;
10333
+ available: string;
10334
+ locked: string;
10335
+ version: number;
10336
+ ledgerAccountType: {
10337
+ id: string;
10338
+ name: string;
10339
+ description: string | null;
10340
+ key: string;
10341
+ isActive: boolean;
10342
+ };
10343
+ };
10344
+ 422: {
10345
+ type: "validation";
10346
+ on: string;
10347
+ summary?: string;
10348
+ message?: string;
10349
+ found?: unknown;
10350
+ property?: string;
10351
+ expected?: string;
10352
+ };
10353
+ 401: "Unauthorized";
10354
+ };
10355
+ };
10356
+ };
10357
+ };
10358
+ };
10179
10359
  } & {
10180
10360
  api: {
10181
10361
  bank_account: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2wa-org/eden",
3
- "version": "0.0.65",
3
+ "version": "0.0.66",
4
4
  "description": "Elysia API type definitions for Eden Treaty",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "files": [