@develit-services/ledger 0.2.0 → 0.3.0

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.
@@ -197,6 +197,25 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
197
197
  identity: undefined;
198
198
  generated: undefined;
199
199
  }, {}, {}>;
200
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
201
+ name: "created_by";
202
+ tableName: "account";
203
+ dataType: "string";
204
+ columnType: "SQLiteText";
205
+ data: string;
206
+ driverParam: string;
207
+ notNull: false;
208
+ hasDefault: false;
209
+ isPrimaryKey: false;
210
+ isAutoincrement: false;
211
+ hasRuntimeDefault: false;
212
+ enumValues: [string, ...string[]];
213
+ baseColumn: never;
214
+ identity: undefined;
215
+ generated: undefined;
216
+ }, {}, {
217
+ length: number | undefined;
218
+ }>;
200
219
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
201
220
  name: "updated_at";
202
221
  tableName: "account";
@@ -214,6 +233,25 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
214
233
  identity: undefined;
215
234
  generated: undefined;
216
235
  }, {}, {}>;
236
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
237
+ name: "updated_by";
238
+ tableName: "account";
239
+ dataType: "string";
240
+ columnType: "SQLiteText";
241
+ data: string;
242
+ driverParam: string;
243
+ notNull: false;
244
+ hasDefault: false;
245
+ isPrimaryKey: false;
246
+ isAutoincrement: false;
247
+ hasRuntimeDefault: false;
248
+ enumValues: [string, ...string[]];
249
+ baseColumn: never;
250
+ identity: undefined;
251
+ generated: undefined;
252
+ }, {}, {
253
+ length: number | undefined;
254
+ }>;
217
255
  deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
218
256
  name: "deleted_at";
219
257
  tableName: "account";
@@ -231,6 +269,25 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
231
269
  identity: undefined;
232
270
  generated: undefined;
233
271
  }, {}, {}>;
272
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
273
+ name: "deleted_by";
274
+ tableName: "account";
275
+ dataType: "string";
276
+ columnType: "SQLiteText";
277
+ data: string;
278
+ driverParam: string;
279
+ notNull: false;
280
+ hasDefault: false;
281
+ isPrimaryKey: false;
282
+ isAutoincrement: false;
283
+ hasRuntimeDefault: false;
284
+ enumValues: [string, ...string[]];
285
+ baseColumn: never;
286
+ identity: undefined;
287
+ generated: undefined;
288
+ }, {}, {
289
+ length: number | undefined;
290
+ }>;
234
291
  };
235
292
  dialect: "sqlite";
236
293
  }>;
@@ -487,6 +544,25 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
487
544
  identity: undefined;
488
545
  generated: undefined;
489
546
  }, {}, {}>;
547
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
548
+ name: "created_by";
549
+ tableName: "account_identifier";
550
+ dataType: "string";
551
+ columnType: "SQLiteText";
552
+ data: string;
553
+ driverParam: string;
554
+ notNull: false;
555
+ hasDefault: false;
556
+ isPrimaryKey: false;
557
+ isAutoincrement: false;
558
+ hasRuntimeDefault: false;
559
+ enumValues: [string, ...string[]];
560
+ baseColumn: never;
561
+ identity: undefined;
562
+ generated: undefined;
563
+ }, {}, {
564
+ length: number | undefined;
565
+ }>;
490
566
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
491
567
  name: "updated_at";
492
568
  tableName: "account_identifier";
@@ -504,6 +580,25 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
504
580
  identity: undefined;
505
581
  generated: undefined;
506
582
  }, {}, {}>;
583
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
584
+ name: "updated_by";
585
+ tableName: "account_identifier";
586
+ dataType: "string";
587
+ columnType: "SQLiteText";
588
+ data: string;
589
+ driverParam: string;
590
+ notNull: false;
591
+ hasDefault: false;
592
+ isPrimaryKey: false;
593
+ isAutoincrement: false;
594
+ hasRuntimeDefault: false;
595
+ enumValues: [string, ...string[]];
596
+ baseColumn: never;
597
+ identity: undefined;
598
+ generated: undefined;
599
+ }, {}, {
600
+ length: number | undefined;
601
+ }>;
507
602
  deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
508
603
  name: "deleted_at";
509
604
  tableName: "account_identifier";
@@ -521,6 +616,25 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
521
616
  identity: undefined;
522
617
  generated: undefined;
523
618
  }, {}, {}>;
619
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
620
+ name: "deleted_by";
621
+ tableName: "account_identifier";
622
+ dataType: "string";
623
+ columnType: "SQLiteText";
624
+ data: string;
625
+ driverParam: string;
626
+ notNull: false;
627
+ hasDefault: false;
628
+ isPrimaryKey: false;
629
+ isAutoincrement: false;
630
+ hasRuntimeDefault: false;
631
+ enumValues: [string, ...string[]];
632
+ baseColumn: never;
633
+ identity: undefined;
634
+ generated: undefined;
635
+ }, {}, {
636
+ length: number | undefined;
637
+ }>;
524
638
  };
525
639
  dialect: "sqlite";
526
640
  }>;
@@ -590,11 +704,11 @@ declare const IDENTIFIER_KINDS: readonly ["IBAN", "LOCAL_CZ", "SWIFT", "CRYPTO_A
590
704
  type IdentifierKind = (typeof IDENTIFIER_KINDS)[number];
591
705
  declare const ENTRY_STATUSES: readonly ["PENDING", "REALIZED", "FAILED", "CANCELED"];
592
706
  type EntryStatus = (typeof ENTRY_STATUSES)[number];
593
- declare const TRANSACTION_STATUSES: readonly ["WAITING_FOR_PAYMENT", "PAUSED", "WAITING_FOR_MANUAL_PROCESSING", "MATCHED", "RETURNING", "RETURNED", "FAILED", "CANCELLED", "SETTLED"];
707
+ declare const TRANSACTION_STATUSES: readonly ["WAITING_FOR_PAYMENT", "WAITING_FOR_COLLATERAL", "COLLATERAL_PAID", "PAUSED", "WAITING_FOR_MANUAL_PROCESSING", "MATCHED", "RETURNING", "RETURNED", "FAILED", "CANCELLED", "SETTLED"];
594
708
  type TransactionStatus = (typeof TRANSACTION_STATUSES)[number];
595
- declare const TRANSACTION_TYPES: readonly ["CLIENT_FUND_IN", "CLIENT_FUND_OUT", "PROVIDER_FUND_IN", "PROVIDER_FUND_OUT", "EXCHANGE", "UNMATCHED", "ADJUSTMENT", "TRANSFER"];
709
+ declare const TRANSACTION_TYPES: readonly ["CLIENT_FUND_IN", "CLIENT_FUND_OUT", "PROVIDER_FUND_IN", "PROVIDER_FUND_OUT", "EXCHANGE", "UNMATCHED", "ADJUSTMENT", "TRANSFER", "COLLATERAL"];
596
710
  type TransactionType = (typeof TRANSACTION_TYPES)[number];
597
- declare const REFERENCE_TYPES: readonly ["PAYMENT", "EXCHANGE", "ORDER", "INTERNAL-TRANSFER"];
711
+ declare const REFERENCE_TYPES: readonly ["PAYMENT", "EXCHANGE", "ORDER", "INTERNAL-TRANSFER", "FORWARD"];
598
712
  type ReferenceType = (typeof REFERENCE_TYPES)[number];
599
713
  declare const PAYMENT_CHARGE_TYPES: readonly ["SHA", "OUR", "BEN"];
600
714
  type PaymentChargeType = (typeof PAYMENT_CHARGE_TYPES)[number];
@@ -832,7 +946,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
832
946
  tableName: "entry";
833
947
  dataType: "string";
834
948
  columnType: "SQLiteText";
835
- data: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
949
+ data: "PENDING" | "REALIZED" | "FAILED" | "CANCELED";
836
950
  driverParam: string;
837
951
  notNull: true;
838
952
  hasDefault: false;
@@ -845,7 +959,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
845
959
  generated: undefined;
846
960
  }, {}, {
847
961
  length: number | undefined;
848
- $type: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
962
+ $type: "PENDING" | "REALIZED" | "FAILED" | "CANCELED";
849
963
  }>;
850
964
  isBalanced: drizzle_orm_sqlite_core.SQLiteColumn<{
851
965
  name: "is_balanced";
@@ -936,6 +1050,25 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
936
1050
  identity: undefined;
937
1051
  generated: undefined;
938
1052
  }, {}, {}>;
1053
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1054
+ name: "created_by";
1055
+ tableName: "entry";
1056
+ dataType: "string";
1057
+ columnType: "SQLiteText";
1058
+ data: string;
1059
+ driverParam: string;
1060
+ notNull: false;
1061
+ hasDefault: false;
1062
+ isPrimaryKey: false;
1063
+ isAutoincrement: false;
1064
+ hasRuntimeDefault: false;
1065
+ enumValues: [string, ...string[]];
1066
+ baseColumn: never;
1067
+ identity: undefined;
1068
+ generated: undefined;
1069
+ }, {}, {
1070
+ length: number | undefined;
1071
+ }>;
939
1072
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
940
1073
  name: "updated_at";
941
1074
  tableName: "entry";
@@ -953,6 +1086,25 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
953
1086
  identity: undefined;
954
1087
  generated: undefined;
955
1088
  }, {}, {}>;
1089
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1090
+ name: "updated_by";
1091
+ tableName: "entry";
1092
+ dataType: "string";
1093
+ columnType: "SQLiteText";
1094
+ data: string;
1095
+ driverParam: string;
1096
+ notNull: false;
1097
+ hasDefault: false;
1098
+ isPrimaryKey: false;
1099
+ isAutoincrement: false;
1100
+ hasRuntimeDefault: false;
1101
+ enumValues: [string, ...string[]];
1102
+ baseColumn: never;
1103
+ identity: undefined;
1104
+ generated: undefined;
1105
+ }, {}, {
1106
+ length: number | undefined;
1107
+ }>;
956
1108
  deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
957
1109
  name: "deleted_at";
958
1110
  tableName: "entry";
@@ -970,6 +1122,25 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
970
1122
  identity: undefined;
971
1123
  generated: undefined;
972
1124
  }, {}, {}>;
1125
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1126
+ name: "deleted_by";
1127
+ tableName: "entry";
1128
+ dataType: "string";
1129
+ columnType: "SQLiteText";
1130
+ data: string;
1131
+ driverParam: string;
1132
+ notNull: false;
1133
+ hasDefault: false;
1134
+ isPrimaryKey: false;
1135
+ isAutoincrement: false;
1136
+ hasRuntimeDefault: false;
1137
+ enumValues: [string, ...string[]];
1138
+ baseColumn: never;
1139
+ identity: undefined;
1140
+ generated: undefined;
1141
+ }, {}, {
1142
+ length: number | undefined;
1143
+ }>;
973
1144
  };
974
1145
  dialect: "sqlite";
975
1146
  }>;
@@ -1002,20 +1173,20 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1002
1173
  tableName: "transaction";
1003
1174
  dataType: "string";
1004
1175
  columnType: "SQLiteText";
1005
- data: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER";
1176
+ data: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD";
1006
1177
  driverParam: string;
1007
1178
  notNull: true;
1008
1179
  hasDefault: false;
1009
1180
  isPrimaryKey: false;
1010
1181
  isAutoincrement: false;
1011
1182
  hasRuntimeDefault: false;
1012
- enumValues: ["PAYMENT", "EXCHANGE", "ORDER", "INTERNAL-TRANSFER"];
1183
+ enumValues: ["PAYMENT", "EXCHANGE", "ORDER", "INTERNAL-TRANSFER", "FORWARD"];
1013
1184
  baseColumn: never;
1014
1185
  identity: undefined;
1015
1186
  generated: undefined;
1016
1187
  }, {}, {
1017
1188
  length: number | undefined;
1018
- $type: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER";
1189
+ $type: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD";
1019
1190
  }>;
1020
1191
  referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
1021
1192
  name: "reference_id";
@@ -1041,20 +1212,20 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1041
1212
  tableName: "transaction";
1042
1213
  dataType: "string";
1043
1214
  columnType: "SQLiteText";
1044
- data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
1215
+ data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "COLLATERAL";
1045
1216
  driverParam: string;
1046
1217
  notNull: true;
1047
1218
  hasDefault: false;
1048
1219
  isPrimaryKey: false;
1049
1220
  isAutoincrement: false;
1050
1221
  hasRuntimeDefault: false;
1051
- enumValues: ["CLIENT_FUND_IN", "CLIENT_FUND_OUT", "PROVIDER_FUND_IN", "PROVIDER_FUND_OUT", "EXCHANGE", "UNMATCHED", "ADJUSTMENT", "TRANSFER"];
1222
+ enumValues: ["CLIENT_FUND_IN", "CLIENT_FUND_OUT", "PROVIDER_FUND_IN", "PROVIDER_FUND_OUT", "EXCHANGE", "UNMATCHED", "ADJUSTMENT", "TRANSFER", "COLLATERAL"];
1052
1223
  baseColumn: never;
1053
1224
  identity: undefined;
1054
1225
  generated: undefined;
1055
1226
  }, {}, {
1056
1227
  length: number | undefined;
1057
- $type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
1228
+ $type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "COLLATERAL";
1058
1229
  }>;
1059
1230
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
1060
1231
  name: "description";
@@ -1114,20 +1285,20 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1114
1285
  tableName: "transaction";
1115
1286
  dataType: "string";
1116
1287
  columnType: "SQLiteText";
1117
- data: "FAILED" | "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "CANCELLED" | "SETTLED";
1288
+ data: "FAILED" | "WAITING_FOR_PAYMENT" | "WAITING_FOR_COLLATERAL" | "COLLATERAL_PAID" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "CANCELLED" | "SETTLED";
1118
1289
  driverParam: string;
1119
1290
  notNull: true;
1120
1291
  hasDefault: false;
1121
1292
  isPrimaryKey: false;
1122
1293
  isAutoincrement: false;
1123
1294
  hasRuntimeDefault: false;
1124
- enumValues: ["WAITING_FOR_PAYMENT", "PAUSED", "WAITING_FOR_MANUAL_PROCESSING", "MATCHED", "RETURNING", "RETURNED", "FAILED", "CANCELLED", "SETTLED"];
1295
+ enumValues: ["WAITING_FOR_PAYMENT", "WAITING_FOR_COLLATERAL", "COLLATERAL_PAID", "PAUSED", "WAITING_FOR_MANUAL_PROCESSING", "MATCHED", "RETURNING", "RETURNED", "FAILED", "CANCELLED", "SETTLED"];
1125
1296
  baseColumn: never;
1126
1297
  identity: undefined;
1127
1298
  generated: undefined;
1128
1299
  }, {}, {
1129
1300
  length: number | undefined;
1130
- $type: "FAILED" | "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "CANCELLED" | "SETTLED";
1301
+ $type: "FAILED" | "WAITING_FOR_PAYMENT" | "WAITING_FOR_COLLATERAL" | "COLLATERAL_PAID" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "CANCELLED" | "SETTLED";
1131
1302
  }>;
1132
1303
  statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
1133
1304
  name: "status_reason";
@@ -1259,6 +1430,25 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1259
1430
  identity: undefined;
1260
1431
  generated: undefined;
1261
1432
  }, {}, {}>;
1433
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1434
+ name: "created_by";
1435
+ tableName: "transaction";
1436
+ dataType: "string";
1437
+ columnType: "SQLiteText";
1438
+ data: string;
1439
+ driverParam: string;
1440
+ notNull: false;
1441
+ hasDefault: false;
1442
+ isPrimaryKey: false;
1443
+ isAutoincrement: false;
1444
+ hasRuntimeDefault: false;
1445
+ enumValues: [string, ...string[]];
1446
+ baseColumn: never;
1447
+ identity: undefined;
1448
+ generated: undefined;
1449
+ }, {}, {
1450
+ length: number | undefined;
1451
+ }>;
1262
1452
  updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1263
1453
  name: "updated_at";
1264
1454
  tableName: "transaction";
@@ -1276,6 +1466,25 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1276
1466
  identity: undefined;
1277
1467
  generated: undefined;
1278
1468
  }, {}, {}>;
1469
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1470
+ name: "updated_by";
1471
+ tableName: "transaction";
1472
+ dataType: "string";
1473
+ columnType: "SQLiteText";
1474
+ data: string;
1475
+ driverParam: string;
1476
+ notNull: false;
1477
+ hasDefault: false;
1478
+ isPrimaryKey: false;
1479
+ isAutoincrement: false;
1480
+ hasRuntimeDefault: false;
1481
+ enumValues: [string, ...string[]];
1482
+ baseColumn: never;
1483
+ identity: undefined;
1484
+ generated: undefined;
1485
+ }, {}, {
1486
+ length: number | undefined;
1487
+ }>;
1279
1488
  deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1280
1489
  name: "deleted_at";
1281
1490
  tableName: "transaction";
@@ -1293,6 +1502,25 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1293
1502
  identity: undefined;
1294
1503
  generated: undefined;
1295
1504
  }, {}, {}>;
1505
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1506
+ name: "deleted_by";
1507
+ tableName: "transaction";
1508
+ dataType: "string";
1509
+ columnType: "SQLiteText";
1510
+ data: string;
1511
+ driverParam: string;
1512
+ notNull: false;
1513
+ hasDefault: false;
1514
+ isPrimaryKey: false;
1515
+ isAutoincrement: false;
1516
+ hasRuntimeDefault: false;
1517
+ enumValues: [string, ...string[]];
1518
+ baseColumn: never;
1519
+ identity: undefined;
1520
+ generated: undefined;
1521
+ }, {}, {
1522
+ length: number | undefined;
1523
+ }>;
1296
1524
  };
1297
1525
  dialect: "sqlite";
1298
1526
  }>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { D as schema } from './ledger.Bo3kdRvg.mjs';
2
+ import { D as schema } from './ledger.D9n1klaX.js';
3
3
  import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
4
4
 
5
5
  interface TSchema extends ExtractTablesWithRelations<typeof tables> {
@@ -410,21 +410,23 @@ interface CreateAccountOutput {
410
410
  declare const createTransactionInputSchema: z.ZodObject<{
411
411
  correlationId: z.ZodString;
412
412
  referenceType: z.ZodEnum<{
413
- EXCHANGE: "EXCHANGE";
414
413
  PAYMENT: "PAYMENT";
414
+ EXCHANGE: "EXCHANGE";
415
415
  ORDER: "ORDER";
416
416
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
417
+ FORWARD: "FORWARD";
417
418
  }>;
418
419
  referenceId: z.ZodOptional<z.ZodString>;
419
420
  type: z.ZodEnum<{
421
+ EXCHANGE: "EXCHANGE";
420
422
  CLIENT_FUND_IN: "CLIENT_FUND_IN";
421
423
  CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
422
424
  PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
423
425
  PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
424
- EXCHANGE: "EXCHANGE";
425
426
  UNMATCHED: "UNMATCHED";
426
427
  ADJUSTMENT: "ADJUSTMENT";
427
428
  TRANSFER: "TRANSFER";
429
+ COLLATERAL: "COLLATERAL";
428
430
  }>;
429
431
  description: z.ZodOptional<z.ZodString>;
430
432
  paymentId: z.ZodOptional<z.ZodString>;
@@ -1172,6 +1174,8 @@ declare const createTransactionInputSchema: z.ZodObject<{
1172
1174
  status: z.ZodEnum<{
1173
1175
  FAILED: "FAILED";
1174
1176
  WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
1177
+ WAITING_FOR_COLLATERAL: "WAITING_FOR_COLLATERAL";
1178
+ COLLATERAL_PAID: "COLLATERAL_PAID";
1175
1179
  PAUSED: "PAUSED";
1176
1180
  WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
1177
1181
  MATCHED: "MATCHED";
@@ -1373,21 +1377,23 @@ declare const getTransactionsInputSchema: z.ZodObject<{
1373
1377
  }, z.core.$strip>;
1374
1378
  filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
1375
1379
  filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
1376
- EXCHANGE: "EXCHANGE";
1377
1380
  PAYMENT: "PAYMENT";
1381
+ EXCHANGE: "EXCHANGE";
1378
1382
  ORDER: "ORDER";
1379
1383
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
1384
+ FORWARD: "FORWARD";
1380
1385
  }>>;
1381
1386
  filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
1382
1387
  filterTransactionType: z.ZodOptional<z.ZodEnum<{
1388
+ EXCHANGE: "EXCHANGE";
1383
1389
  CLIENT_FUND_IN: "CLIENT_FUND_IN";
1384
1390
  CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
1385
1391
  PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
1386
1392
  PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
1387
- EXCHANGE: "EXCHANGE";
1388
1393
  UNMATCHED: "UNMATCHED";
1389
1394
  ADJUSTMENT: "ADJUSTMENT";
1390
1395
  TRANSFER: "TRANSFER";
1396
+ COLLATERAL: "COLLATERAL";
1391
1397
  }>>;
1392
1398
  filterTransactionDescription: z.ZodOptional<z.ZodString>;
1393
1399
  filterTransactionDateFrom: z.ZodOptional<z.ZodDate>;
@@ -1396,6 +1402,8 @@ declare const getTransactionsInputSchema: z.ZodObject<{
1396
1402
  filterTransactionStatus: z.ZodOptional<z.ZodEnum<{
1397
1403
  FAILED: "FAILED";
1398
1404
  WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
1405
+ WAITING_FOR_COLLATERAL: "WAITING_FOR_COLLATERAL";
1406
+ COLLATERAL_PAID: "COLLATERAL_PAID";
1399
1407
  PAUSED: "PAUSED";
1400
1408
  WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
1401
1409
  MATCHED: "MATCHED";
@@ -1415,10 +1423,11 @@ interface GetTransactionsOutput {
1415
1423
 
1416
1424
  declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
1417
1425
  referenceType: z.ZodEnum<{
1418
- EXCHANGE: "EXCHANGE";
1419
1426
  PAYMENT: "PAYMENT";
1427
+ EXCHANGE: "EXCHANGE";
1420
1428
  ORDER: "ORDER";
1421
1429
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
1430
+ FORWARD: "FORWARD";
1422
1431
  }>;
1423
1432
  referenceId: z.ZodUUID;
1424
1433
  }, z.core.$strip>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { D as schema } from './ledger.Bo3kdRvg.js';
2
+ import { D as schema } from './ledger.D9n1klaX.mjs';
3
3
  import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
4
4
 
5
5
  interface TSchema extends ExtractTablesWithRelations<typeof tables> {
@@ -410,21 +410,23 @@ interface CreateAccountOutput {
410
410
  declare const createTransactionInputSchema: z.ZodObject<{
411
411
  correlationId: z.ZodString;
412
412
  referenceType: z.ZodEnum<{
413
- EXCHANGE: "EXCHANGE";
414
413
  PAYMENT: "PAYMENT";
414
+ EXCHANGE: "EXCHANGE";
415
415
  ORDER: "ORDER";
416
416
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
417
+ FORWARD: "FORWARD";
417
418
  }>;
418
419
  referenceId: z.ZodOptional<z.ZodString>;
419
420
  type: z.ZodEnum<{
421
+ EXCHANGE: "EXCHANGE";
420
422
  CLIENT_FUND_IN: "CLIENT_FUND_IN";
421
423
  CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
422
424
  PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
423
425
  PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
424
- EXCHANGE: "EXCHANGE";
425
426
  UNMATCHED: "UNMATCHED";
426
427
  ADJUSTMENT: "ADJUSTMENT";
427
428
  TRANSFER: "TRANSFER";
429
+ COLLATERAL: "COLLATERAL";
428
430
  }>;
429
431
  description: z.ZodOptional<z.ZodString>;
430
432
  paymentId: z.ZodOptional<z.ZodString>;
@@ -1172,6 +1174,8 @@ declare const createTransactionInputSchema: z.ZodObject<{
1172
1174
  status: z.ZodEnum<{
1173
1175
  FAILED: "FAILED";
1174
1176
  WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
1177
+ WAITING_FOR_COLLATERAL: "WAITING_FOR_COLLATERAL";
1178
+ COLLATERAL_PAID: "COLLATERAL_PAID";
1175
1179
  PAUSED: "PAUSED";
1176
1180
  WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
1177
1181
  MATCHED: "MATCHED";
@@ -1373,21 +1377,23 @@ declare const getTransactionsInputSchema: z.ZodObject<{
1373
1377
  }, z.core.$strip>;
1374
1378
  filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
1375
1379
  filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
1376
- EXCHANGE: "EXCHANGE";
1377
1380
  PAYMENT: "PAYMENT";
1381
+ EXCHANGE: "EXCHANGE";
1378
1382
  ORDER: "ORDER";
1379
1383
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
1384
+ FORWARD: "FORWARD";
1380
1385
  }>>;
1381
1386
  filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
1382
1387
  filterTransactionType: z.ZodOptional<z.ZodEnum<{
1388
+ EXCHANGE: "EXCHANGE";
1383
1389
  CLIENT_FUND_IN: "CLIENT_FUND_IN";
1384
1390
  CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
1385
1391
  PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
1386
1392
  PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
1387
- EXCHANGE: "EXCHANGE";
1388
1393
  UNMATCHED: "UNMATCHED";
1389
1394
  ADJUSTMENT: "ADJUSTMENT";
1390
1395
  TRANSFER: "TRANSFER";
1396
+ COLLATERAL: "COLLATERAL";
1391
1397
  }>>;
1392
1398
  filterTransactionDescription: z.ZodOptional<z.ZodString>;
1393
1399
  filterTransactionDateFrom: z.ZodOptional<z.ZodDate>;
@@ -1396,6 +1402,8 @@ declare const getTransactionsInputSchema: z.ZodObject<{
1396
1402
  filterTransactionStatus: z.ZodOptional<z.ZodEnum<{
1397
1403
  FAILED: "FAILED";
1398
1404
  WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
1405
+ WAITING_FOR_COLLATERAL: "WAITING_FOR_COLLATERAL";
1406
+ COLLATERAL_PAID: "COLLATERAL_PAID";
1399
1407
  PAUSED: "PAUSED";
1400
1408
  WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
1401
1409
  MATCHED: "MATCHED";
@@ -1415,10 +1423,11 @@ interface GetTransactionsOutput {
1415
1423
 
1416
1424
  declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
1417
1425
  referenceType: z.ZodEnum<{
1418
- EXCHANGE: "EXCHANGE";
1419
1426
  PAYMENT: "PAYMENT";
1427
+ EXCHANGE: "EXCHANGE";
1420
1428
  ORDER: "ORDER";
1421
1429
  "INTERNAL-TRANSFER": "INTERNAL-TRANSFER";
1430
+ FORWARD: "FORWARD";
1422
1431
  }>;
1423
1432
  referenceId: z.ZodUUID;
1424
1433
  }, z.core.$strip>;
package/dist/types.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const updateTransactionConfirmationSentAt = require('./shared/ledger.BChJGa5-.cjs');
3
+ const updateTransactionConfirmationSentAt = require('./shared/ledger.C6xAPWKq.cjs');
4
4
  const generalCodes = require('@develit-io/general-codes');
5
5
  require('zod');
6
6
  require('@develit-io/backend-sdk');
package/dist/types.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.Bo3kdRvg.cjs';
2
- import { T as TransactionSelectType } from './shared/ledger.CG3rFnGr.cjs';
3
- export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.CG3rFnGr.cjs';
1
+ export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.D9n1klaX.cjs';
2
+ import { T as TransactionSelectType } from './shared/ledger.B9-7wKL6.cjs';
3
+ export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.B9-7wKL6.cjs';
4
4
  export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.cjs';
5
5
  import { BaseEvent } from '@develit-io/backend-sdk';
6
6
  export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
package/dist/types.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.Bo3kdRvg.mjs';
2
- import { T as TransactionSelectType } from './shared/ledger.9Ll_cqva.mjs';
3
- export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.9Ll_cqva.mjs';
1
+ export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.D9n1klaX.mjs';
2
+ import { T as TransactionSelectType } from './shared/ledger.o5dDJQGc.mjs';
3
+ export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.o5dDJQGc.mjs';
4
4
  export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.mjs';
5
5
  import { BaseEvent } from '@develit-io/backend-sdk';
6
6
  export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';