@develit-services/ledger 0.3.3 → 0.3.4

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.
@@ -161,13 +161,133 @@ declare const account: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
161
161
  identity: undefined;
162
162
  generated: undefined;
163
163
  }, {}, {}>;
164
- id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
165
- createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
166
- createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
167
- updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
168
- updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
169
- deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
170
- deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
164
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
165
+ name: "id";
166
+ tableName: "account";
167
+ dataType: "string";
168
+ columnType: "SQLiteText";
169
+ data: string;
170
+ driverParam: string;
171
+ notNull: true;
172
+ hasDefault: false;
173
+ isPrimaryKey: true;
174
+ isAutoincrement: false;
175
+ hasRuntimeDefault: false;
176
+ enumValues: [string, ...string[]];
177
+ baseColumn: never;
178
+ identity: undefined;
179
+ generated: undefined;
180
+ }, {}, {
181
+ length: number | undefined;
182
+ }>;
183
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
184
+ name: "created_at";
185
+ tableName: "account";
186
+ dataType: "date";
187
+ columnType: "SQLiteTimestamp";
188
+ data: Date;
189
+ driverParam: number;
190
+ notNull: false;
191
+ hasDefault: true;
192
+ isPrimaryKey: false;
193
+ isAutoincrement: false;
194
+ hasRuntimeDefault: false;
195
+ enumValues: undefined;
196
+ baseColumn: never;
197
+ identity: undefined;
198
+ generated: undefined;
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: true;
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
+ }>;
219
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
220
+ name: "updated_at";
221
+ tableName: "account";
222
+ dataType: "date";
223
+ columnType: "SQLiteTimestamp";
224
+ data: Date;
225
+ driverParam: number;
226
+ notNull: false;
227
+ hasDefault: true;
228
+ isPrimaryKey: false;
229
+ isAutoincrement: false;
230
+ hasRuntimeDefault: false;
231
+ enumValues: undefined;
232
+ baseColumn: never;
233
+ identity: undefined;
234
+ generated: undefined;
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: true;
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
+ }>;
255
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
256
+ name: "deleted_at";
257
+ tableName: "account";
258
+ dataType: "date";
259
+ columnType: "SQLiteTimestamp";
260
+ data: Date;
261
+ driverParam: number;
262
+ notNull: false;
263
+ hasDefault: true;
264
+ isPrimaryKey: false;
265
+ isAutoincrement: false;
266
+ hasRuntimeDefault: false;
267
+ enumValues: undefined;
268
+ baseColumn: never;
269
+ identity: undefined;
270
+ generated: undefined;
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: true;
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
+ }>;
171
291
  };
172
292
  dialect: "sqlite";
173
293
  }>;
@@ -373,7 +493,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
373
493
  tableName: "account_identifier";
374
494
  dataType: "string";
375
495
  columnType: "SQLiteText";
376
- data: "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
496
+ data: "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
377
497
  driverParam: string;
378
498
  notNull: false;
379
499
  hasDefault: false;
@@ -386,15 +506,135 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
386
506
  generated: undefined;
387
507
  }, {}, {
388
508
  length: number | undefined;
389
- $type: "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
509
+ $type: "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
510
+ }>;
511
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
512
+ name: "id";
513
+ tableName: "account_identifier";
514
+ dataType: "string";
515
+ columnType: "SQLiteText";
516
+ data: string;
517
+ driverParam: string;
518
+ notNull: true;
519
+ hasDefault: false;
520
+ isPrimaryKey: true;
521
+ isAutoincrement: false;
522
+ hasRuntimeDefault: false;
523
+ enumValues: [string, ...string[]];
524
+ baseColumn: never;
525
+ identity: undefined;
526
+ generated: undefined;
527
+ }, {}, {
528
+ length: number | undefined;
529
+ }>;
530
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
531
+ name: "created_at";
532
+ tableName: "account_identifier";
533
+ dataType: "date";
534
+ columnType: "SQLiteTimestamp";
535
+ data: Date;
536
+ driverParam: number;
537
+ notNull: false;
538
+ hasDefault: true;
539
+ isPrimaryKey: false;
540
+ isAutoincrement: false;
541
+ hasRuntimeDefault: false;
542
+ enumValues: undefined;
543
+ baseColumn: never;
544
+ identity: undefined;
545
+ generated: undefined;
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: true;
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
+ }>;
566
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
567
+ name: "updated_at";
568
+ tableName: "account_identifier";
569
+ dataType: "date";
570
+ columnType: "SQLiteTimestamp";
571
+ data: Date;
572
+ driverParam: number;
573
+ notNull: false;
574
+ hasDefault: true;
575
+ isPrimaryKey: false;
576
+ isAutoincrement: false;
577
+ hasRuntimeDefault: false;
578
+ enumValues: undefined;
579
+ baseColumn: never;
580
+ identity: undefined;
581
+ generated: undefined;
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: true;
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
+ }>;
602
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
603
+ name: "deleted_at";
604
+ tableName: "account_identifier";
605
+ dataType: "date";
606
+ columnType: "SQLiteTimestamp";
607
+ data: Date;
608
+ driverParam: number;
609
+ notNull: false;
610
+ hasDefault: true;
611
+ isPrimaryKey: false;
612
+ isAutoincrement: false;
613
+ hasRuntimeDefault: false;
614
+ enumValues: undefined;
615
+ baseColumn: never;
616
+ identity: undefined;
617
+ generated: undefined;
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: true;
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;
390
637
  }>;
391
- id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
392
- createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
393
- createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
394
- updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
395
- updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
396
- deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
397
- deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
398
638
  };
399
639
  dialect: "sqlite";
400
640
  }>;
@@ -470,8 +710,8 @@ declare const TRANSACTION_TYPES: readonly ["CLIENT_FUND_IN", "CLIENT_FUND_OUT",
470
710
  type TransactionType = (typeof TRANSACTION_TYPES)[number];
471
711
  declare const REFERENCE_TYPES: readonly ["PAYMENT", "EXCHANGE", "ORDER", "INTERNAL-TRANSFER", "FORWARD", "TRANSACTION"];
472
712
  type ReferenceType = (typeof REFERENCE_TYPES)[number];
473
- declare const PAYMENT_CHARGE_TYPES: readonly ["SHA", "OUR", "BEN"];
474
- type PaymentChargeType = (typeof PAYMENT_CHARGE_TYPES)[number];
713
+ declare const CHARGE_BEARERS: readonly ["SHA", "OUR", "BEN"];
714
+ type ChargeBearer = (typeof CHARGE_BEARERS)[number];
475
715
  declare const PAYMENT_TYPES: readonly ["DOMESTIC", "SEPA", "SWIFT", "UNKNOWN"];
476
716
  type PaymentType = (typeof PAYMENT_TYPES)[number];
477
717
  declare const REFUNDABLE_TRANSACTION_STATUSES: readonly ["WAITING_FOR_MANUAL_PROCESSING"];
@@ -494,7 +734,7 @@ type BatchStatus = (typeof BATCH_STATUSES)[number];
494
734
  type Currency = CODES.Currency;
495
735
 
496
736
  type BankCode = (typeof BANK_CODES)[number];
497
- declare const COUNTRY_CODES: ["AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW", ...("AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW")[]];
737
+ declare const COUNTRY_CODES: ["AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW", ...("AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW")[]];
498
738
  type CountryCode = (typeof COUNTRY_CODES)[number];
499
739
 
500
740
  interface TransactionMetadata {
@@ -507,7 +747,8 @@ interface TransactionMetadata {
507
747
  ks?: string;
508
748
  message?: string;
509
749
  type: PaymentType;
510
- paymentChargeType?: PaymentChargeType;
750
+ direction?: PaymentDirection;
751
+ chargeBearer?: ChargeBearer;
511
752
  expressPayment?: boolean;
512
753
  reference?: string;
513
754
  creditor?: BankAccountMetadata;
@@ -713,7 +954,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
713
954
  tableName: "entry";
714
955
  dataType: "string";
715
956
  columnType: "SQLiteText";
716
- data: "PENDING" | "REALIZED" | "FAILED" | "CANCELED";
957
+ data: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
717
958
  driverParam: string;
718
959
  notNull: true;
719
960
  hasDefault: false;
@@ -726,7 +967,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
726
967
  generated: undefined;
727
968
  }, {}, {
728
969
  length: number | undefined;
729
- $type: "PENDING" | "REALIZED" | "FAILED" | "CANCELED";
970
+ $type: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
730
971
  }>;
731
972
  isBalanced: drizzle_orm_sqlite_core.SQLiteColumn<{
732
973
  name: "is_balanced";
@@ -781,13 +1022,133 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
781
1022
  identity: undefined;
782
1023
  generated: undefined;
783
1024
  }, {}, {}>;
784
- id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
785
- createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
786
- createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
787
- updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
788
- updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
789
- deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
790
- deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
1025
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
1026
+ name: "id";
1027
+ tableName: "entry";
1028
+ dataType: "string";
1029
+ columnType: "SQLiteText";
1030
+ data: string;
1031
+ driverParam: string;
1032
+ notNull: true;
1033
+ hasDefault: false;
1034
+ isPrimaryKey: true;
1035
+ isAutoincrement: false;
1036
+ hasRuntimeDefault: false;
1037
+ enumValues: [string, ...string[]];
1038
+ baseColumn: never;
1039
+ identity: undefined;
1040
+ generated: undefined;
1041
+ }, {}, {
1042
+ length: number | undefined;
1043
+ }>;
1044
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1045
+ name: "created_at";
1046
+ tableName: "entry";
1047
+ dataType: "date";
1048
+ columnType: "SQLiteTimestamp";
1049
+ data: Date;
1050
+ driverParam: number;
1051
+ notNull: false;
1052
+ hasDefault: true;
1053
+ isPrimaryKey: false;
1054
+ isAutoincrement: false;
1055
+ hasRuntimeDefault: false;
1056
+ enumValues: undefined;
1057
+ baseColumn: never;
1058
+ identity: undefined;
1059
+ generated: undefined;
1060
+ }, {}, {}>;
1061
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1062
+ name: "created_by";
1063
+ tableName: "entry";
1064
+ dataType: "string";
1065
+ columnType: "SQLiteText";
1066
+ data: string;
1067
+ driverParam: string;
1068
+ notNull: false;
1069
+ hasDefault: true;
1070
+ isPrimaryKey: false;
1071
+ isAutoincrement: false;
1072
+ hasRuntimeDefault: false;
1073
+ enumValues: [string, ...string[]];
1074
+ baseColumn: never;
1075
+ identity: undefined;
1076
+ generated: undefined;
1077
+ }, {}, {
1078
+ length: number | undefined;
1079
+ }>;
1080
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1081
+ name: "updated_at";
1082
+ tableName: "entry";
1083
+ dataType: "date";
1084
+ columnType: "SQLiteTimestamp";
1085
+ data: Date;
1086
+ driverParam: number;
1087
+ notNull: false;
1088
+ hasDefault: true;
1089
+ isPrimaryKey: false;
1090
+ isAutoincrement: false;
1091
+ hasRuntimeDefault: false;
1092
+ enumValues: undefined;
1093
+ baseColumn: never;
1094
+ identity: undefined;
1095
+ generated: undefined;
1096
+ }, {}, {}>;
1097
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1098
+ name: "updated_by";
1099
+ tableName: "entry";
1100
+ dataType: "string";
1101
+ columnType: "SQLiteText";
1102
+ data: string;
1103
+ driverParam: string;
1104
+ notNull: false;
1105
+ hasDefault: true;
1106
+ isPrimaryKey: false;
1107
+ isAutoincrement: false;
1108
+ hasRuntimeDefault: false;
1109
+ enumValues: [string, ...string[]];
1110
+ baseColumn: never;
1111
+ identity: undefined;
1112
+ generated: undefined;
1113
+ }, {}, {
1114
+ length: number | undefined;
1115
+ }>;
1116
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1117
+ name: "deleted_at";
1118
+ tableName: "entry";
1119
+ dataType: "date";
1120
+ columnType: "SQLiteTimestamp";
1121
+ data: Date;
1122
+ driverParam: number;
1123
+ notNull: false;
1124
+ hasDefault: true;
1125
+ isPrimaryKey: false;
1126
+ isAutoincrement: false;
1127
+ hasRuntimeDefault: false;
1128
+ enumValues: undefined;
1129
+ baseColumn: never;
1130
+ identity: undefined;
1131
+ generated: undefined;
1132
+ }, {}, {}>;
1133
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1134
+ name: "deleted_by";
1135
+ tableName: "entry";
1136
+ dataType: "string";
1137
+ columnType: "SQLiteText";
1138
+ data: string;
1139
+ driverParam: string;
1140
+ notNull: false;
1141
+ hasDefault: true;
1142
+ isPrimaryKey: false;
1143
+ isAutoincrement: false;
1144
+ hasRuntimeDefault: false;
1145
+ enumValues: [string, ...string[]];
1146
+ baseColumn: never;
1147
+ identity: undefined;
1148
+ generated: undefined;
1149
+ }, {}, {
1150
+ length: number | undefined;
1151
+ }>;
791
1152
  };
792
1153
  dialect: "sqlite";
793
1154
  }>;
@@ -820,7 +1181,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
820
1181
  tableName: "transaction";
821
1182
  dataType: "string";
822
1183
  columnType: "SQLiteText";
823
- data: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1184
+ data: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
824
1185
  driverParam: string;
825
1186
  notNull: true;
826
1187
  hasDefault: false;
@@ -833,7 +1194,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
833
1194
  generated: undefined;
834
1195
  }, {}, {
835
1196
  length: number | undefined;
836
- $type: "PAYMENT" | "EXCHANGE" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
1197
+ $type: "EXCHANGE" | "PAYMENT" | "ORDER" | "INTERNAL-TRANSFER" | "FORWARD" | "TRANSACTION";
837
1198
  }>;
838
1199
  referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
839
1200
  name: "reference_id";
@@ -859,7 +1220,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
859
1220
  tableName: "transaction";
860
1221
  dataType: "string";
861
1222
  columnType: "SQLiteText";
862
- data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1223
+ data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
863
1224
  driverParam: string;
864
1225
  notNull: true;
865
1226
  hasDefault: false;
@@ -872,7 +1233,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
872
1233
  generated: undefined;
873
1234
  }, {}, {
874
1235
  length: number | undefined;
875
- $type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
1236
+ $type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "COLLATERAL_FUND_IN" | "COLLATERAL_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER" | "REFUND";
876
1237
  }>;
877
1238
  description: drizzle_orm_sqlite_core.SQLiteColumn<{
878
1239
  name: "description";
@@ -1041,13 +1402,133 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1041
1402
  length: number | undefined;
1042
1403
  $type: "CZK" | "EUR" | "USD" | "PLN" | "RON" | "GBP" | "RUB" | "HUF" | "CHF" | "DKK" | "SEK" | "HRK" | "NOK" | "BGN" | "TRY" | "AUD" | "CAD" | "JPY" | "CNY" | "INR" | "BRL" | "MXN" | "ZAR" | "SGD" | "HKD" | "KRW" | "MYR" | "THB" | "IDR" | "PHP" | "AED" | "SAR" | "ILS" | "EGP" | "NGN" | "PKR" | "COP" | "CLP" | "PEN" | "VND" | "KZT" | "UAH" | "BTC" | "ETH" | "ADA" | "DOT" | "ATOM" | "XRP" | "LTC" | "SOL" | "DOGE" | "MATIC" | "AVAX";
1043
1404
  }>;
1044
- id: _packages_backend_sdk.IsPrimaryKey<_packages_backend_sdk.NotNull<_packages_backend_sdk.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>;
1045
- createdAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"created_at">>;
1046
- createdBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"created_by", [string, ...string[]], number | undefined>;
1047
- updatedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"updated_at">>>;
1048
- updatedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"updated_by", [string, ...string[]], number | undefined>;
1049
- deletedAt: _packages_backend_sdk.HasDefault<_packages_backend_sdk.SQLiteTimestampBuilderInitial<"deleted_at">>;
1050
- deletedBy: _packages_backend_sdk.SQLiteTextBuilderInitial<"deleted_by", [string, ...string[]], number | undefined>;
1405
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
1406
+ name: "id";
1407
+ tableName: "transaction";
1408
+ dataType: "string";
1409
+ columnType: "SQLiteText";
1410
+ data: string;
1411
+ driverParam: string;
1412
+ notNull: true;
1413
+ hasDefault: false;
1414
+ isPrimaryKey: true;
1415
+ isAutoincrement: false;
1416
+ hasRuntimeDefault: false;
1417
+ enumValues: [string, ...string[]];
1418
+ baseColumn: never;
1419
+ identity: undefined;
1420
+ generated: undefined;
1421
+ }, {}, {
1422
+ length: number | undefined;
1423
+ }>;
1424
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1425
+ name: "created_at";
1426
+ tableName: "transaction";
1427
+ dataType: "date";
1428
+ columnType: "SQLiteTimestamp";
1429
+ data: Date;
1430
+ driverParam: number;
1431
+ notNull: false;
1432
+ hasDefault: true;
1433
+ isPrimaryKey: false;
1434
+ isAutoincrement: false;
1435
+ hasRuntimeDefault: false;
1436
+ enumValues: undefined;
1437
+ baseColumn: never;
1438
+ identity: undefined;
1439
+ generated: undefined;
1440
+ }, {}, {}>;
1441
+ createdBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1442
+ name: "created_by";
1443
+ tableName: "transaction";
1444
+ dataType: "string";
1445
+ columnType: "SQLiteText";
1446
+ data: string;
1447
+ driverParam: string;
1448
+ notNull: false;
1449
+ hasDefault: true;
1450
+ isPrimaryKey: false;
1451
+ isAutoincrement: false;
1452
+ hasRuntimeDefault: false;
1453
+ enumValues: [string, ...string[]];
1454
+ baseColumn: never;
1455
+ identity: undefined;
1456
+ generated: undefined;
1457
+ }, {}, {
1458
+ length: number | undefined;
1459
+ }>;
1460
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1461
+ name: "updated_at";
1462
+ tableName: "transaction";
1463
+ dataType: "date";
1464
+ columnType: "SQLiteTimestamp";
1465
+ data: Date;
1466
+ driverParam: number;
1467
+ notNull: false;
1468
+ hasDefault: true;
1469
+ isPrimaryKey: false;
1470
+ isAutoincrement: false;
1471
+ hasRuntimeDefault: false;
1472
+ enumValues: undefined;
1473
+ baseColumn: never;
1474
+ identity: undefined;
1475
+ generated: undefined;
1476
+ }, {}, {}>;
1477
+ updatedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1478
+ name: "updated_by";
1479
+ tableName: "transaction";
1480
+ dataType: "string";
1481
+ columnType: "SQLiteText";
1482
+ data: string;
1483
+ driverParam: string;
1484
+ notNull: false;
1485
+ hasDefault: true;
1486
+ isPrimaryKey: false;
1487
+ isAutoincrement: false;
1488
+ hasRuntimeDefault: false;
1489
+ enumValues: [string, ...string[]];
1490
+ baseColumn: never;
1491
+ identity: undefined;
1492
+ generated: undefined;
1493
+ }, {}, {
1494
+ length: number | undefined;
1495
+ }>;
1496
+ deletedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
1497
+ name: "deleted_at";
1498
+ tableName: "transaction";
1499
+ dataType: "date";
1500
+ columnType: "SQLiteTimestamp";
1501
+ data: Date;
1502
+ driverParam: number;
1503
+ notNull: false;
1504
+ hasDefault: true;
1505
+ isPrimaryKey: false;
1506
+ isAutoincrement: false;
1507
+ hasRuntimeDefault: false;
1508
+ enumValues: undefined;
1509
+ baseColumn: never;
1510
+ identity: undefined;
1511
+ generated: undefined;
1512
+ }, {}, {}>;
1513
+ deletedBy: drizzle_orm_sqlite_core.SQLiteColumn<{
1514
+ name: "deleted_by";
1515
+ tableName: "transaction";
1516
+ dataType: "string";
1517
+ columnType: "SQLiteText";
1518
+ data: string;
1519
+ driverParam: string;
1520
+ notNull: false;
1521
+ hasDefault: true;
1522
+ isPrimaryKey: false;
1523
+ isAutoincrement: false;
1524
+ hasRuntimeDefault: false;
1525
+ enumValues: [string, ...string[]];
1526
+ baseColumn: never;
1527
+ identity: undefined;
1528
+ generated: undefined;
1529
+ }, {}, {
1530
+ length: number | undefined;
1531
+ }>;
1051
1532
  };
1052
1533
  dialect: "sqlite";
1053
1534
  }>;
@@ -1073,5 +1554,5 @@ declare namespace schema {
1073
1554
  };
1074
1555
  }
1075
1556
 
1076
- export { ACCOUNT_TYPES as A, BALANCE_STRATEGIES as B, COUNTRY_CODES as C, ENTRY_STATUSES as E, schema as F, account as G, accountIdentifier as H, IDENTIFIER_KINDS as I, accountIdentifierMapping as J, accountIdentifierMappingRelations as K, accountIdentifierRelations as L, accountRelations as M, entry as N, transaction as O, PAYMENT_CHARGE_TYPES as P, REFERENCE_TYPES as R, TRANSACTION_STATUSES as T, ASSET_TYPES as a, BATCH_STATUSES as d, PAYMENT_DIRECTIONS as o, PAYMENT_STATUSES as p, PAYMENT_TYPES as q, REFUNDABLE_TRANSACTION_STATUSES as v, TRANSACTION_TYPES as x };
1077
- export type { TransactionType as D, AccountType as b, AssetType as c, BalanceStrategy as e, BankCode as f, BatchStatus as g, CountryCode as h, CryptoNetworkCode as i, Currency as j, CurrencyCode as k, EntryMetadata as l, EntryStatus as m, IdentifierKind as n, PaymentChargeType as r, PaymentDirection as s, PaymentStatus as t, PaymentType as u, ReferenceType as w, TransactionMetadata as y, TransactionStatus as z };
1557
+ export { ACCOUNT_TYPES as A, BALANCE_STRATEGIES as B, CHARGE_BEARERS as C, ENTRY_STATUSES as E, schema as F, account as G, accountIdentifier as H, IDENTIFIER_KINDS as I, accountIdentifierMapping as J, accountIdentifierMappingRelations as K, accountIdentifierRelations as L, accountRelations as M, entry as N, transaction as O, PAYMENT_DIRECTIONS as P, REFERENCE_TYPES as R, TRANSACTION_STATUSES as T, ASSET_TYPES as a, BATCH_STATUSES as d, COUNTRY_CODES as h, PAYMENT_STATUSES as q, PAYMENT_TYPES as r, REFUNDABLE_TRANSACTION_STATUSES as v, TRANSACTION_TYPES as x };
1558
+ export type { TransactionType as D, AccountType as b, AssetType as c, BalanceStrategy as e, BankCode as f, BatchStatus as g, ChargeBearer as i, CountryCode as j, CryptoNetworkCode as k, Currency as l, CurrencyCode as m, EntryMetadata as n, EntryStatus as o, IdentifierKind as p, PaymentDirection as s, PaymentStatus as t, PaymentType as u, ReferenceType as w, TransactionMetadata as y, TransactionStatus as z };