@develit-services/ledger 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/database/schema.d.cts +1 -1
- package/dist/database/schema.d.mts +1 -1
- package/dist/database/schema.d.ts +1 -1
- package/dist/export/worker.cjs +3 -3
- package/dist/export/worker.d.cts +2 -2
- package/dist/export/worker.d.mts +2 -2
- package/dist/export/worker.d.ts +2 -2
- package/dist/export/worker.mjs +3 -3
- package/dist/shared/{ledger.tpkrwIRx.d.mts → ledger.C9ZgmZrv.d.cts} +6 -6
- package/dist/shared/{ledger.tpkrwIRx.d.ts → ledger.C9ZgmZrv.d.mts} +6 -6
- package/dist/shared/{ledger.tpkrwIRx.d.cts → ledger.C9ZgmZrv.d.ts} +6 -6
- package/dist/shared/{ledger.CFnSmSCU.d.ts → ledger.CrqaHbwM.d.ts} +8 -8
- package/dist/shared/{ledger.DuJ4UNsU.d.cts → ledger.DLQ2e8kE.d.mts} +8 -8
- package/dist/shared/{ledger.p0QODpxM.d.mts → ledger.bWo3rI1l.d.cts} +8 -8
- package/dist/types.d.cts +3 -3
- package/dist/types.d.mts +3 -3
- package/dist/types.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, L as accountIdentifierMappingRelations, K as accountIdentifierRelations, J as accountRelations, M as entry, N as transaction } from '../shared/ledger.
|
|
1
|
+
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, L as accountIdentifierMappingRelations, K as accountIdentifierRelations, J as accountRelations, M as entry, N as transaction } from '../shared/ledger.C9ZgmZrv.cjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, L as accountIdentifierMappingRelations, K as accountIdentifierRelations, J as accountRelations, M as entry, N as transaction } from '../shared/ledger.
|
|
1
|
+
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, L as accountIdentifierMappingRelations, K as accountIdentifierRelations, J as accountRelations, M as entry, N as transaction } from '../shared/ledger.C9ZgmZrv.mjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, L as accountIdentifierMappingRelations, K as accountIdentifierRelations, J as accountRelations, M as entry, N as transaction } from '../shared/ledger.
|
|
1
|
+
export { F as account, G as accountIdentifier, H as accountIdentifierMapping, L as accountIdentifierMappingRelations, K as accountIdentifierRelations, J as accountRelations, M as entry, N as transaction } from '../shared/ledger.C9ZgmZrv.js';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
package/dist/export/worker.cjs
CHANGED
|
@@ -324,7 +324,8 @@ let LedgerServiceBase = class extends backendSdk.develitWorker(
|
|
|
324
324
|
type,
|
|
325
325
|
description,
|
|
326
326
|
paymentId,
|
|
327
|
-
metadata
|
|
327
|
+
metadata,
|
|
328
|
+
status
|
|
328
329
|
// TODO: entries will be implemented later
|
|
329
330
|
// entries: inputEntries,
|
|
330
331
|
} = params;
|
|
@@ -343,8 +344,7 @@ let LedgerServiceBase = class extends backendSdk.develitWorker(
|
|
|
343
344
|
description,
|
|
344
345
|
createdAt: timestamp,
|
|
345
346
|
completedAt: null,
|
|
346
|
-
status
|
|
347
|
-
//todo: get from input?
|
|
347
|
+
status,
|
|
348
348
|
paymentId,
|
|
349
349
|
metadata,
|
|
350
350
|
updatedAt: timestamp
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -2,9 +2,9 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, i as CreateAccountInput, j as CreateAccountOutput, U as UpdateAccountInput, k as UpdateAccountOutput, D as DeleteAccountInput, l as DeleteAccountOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, L as ListAccountsInput, q as ListAccountsOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.
|
|
5
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, i as CreateAccountInput, j as CreateAccountOutput, U as UpdateAccountInput, k as UpdateAccountOutput, D as DeleteAccountInput, l as DeleteAccountOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, L as ListAccountsInput, q as ListAccountsOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.bWo3rI1l.cjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.C9ZgmZrv.cjs';
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/sqlite-core';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.mts
CHANGED
|
@@ -2,9 +2,9 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, i as CreateAccountInput, j as CreateAccountOutput, U as UpdateAccountInput, k as UpdateAccountOutput, D as DeleteAccountInput, l as DeleteAccountOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, L as ListAccountsInput, q as ListAccountsOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.
|
|
5
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, i as CreateAccountInput, j as CreateAccountOutput, U as UpdateAccountInput, k as UpdateAccountOutput, D as DeleteAccountInput, l as DeleteAccountOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, L as ListAccountsInput, q as ListAccountsOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.DLQ2e8kE.mjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.C9ZgmZrv.mjs';
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/sqlite-core';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as _develit_io_backend_sdk from '@develit-io/backend-sdk';
|
|
|
2
2
|
import { IRPCResponse } from '@develit-io/backend-sdk';
|
|
3
3
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
4
4
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
5
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, i as CreateAccountInput, j as CreateAccountOutput, U as UpdateAccountInput, k as UpdateAccountOutput, D as DeleteAccountInput, l as DeleteAccountOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, L as ListAccountsInput, q as ListAccountsOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.
|
|
5
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, M as MatchTransactionInput, b as MatchTransactionOutput, F as FailTransactionInput, c as FailTransactionOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, i as CreateAccountInput, j as CreateAccountOutput, U as UpdateAccountInput, k as UpdateAccountOutput, D as DeleteAccountInput, l as DeleteAccountOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, L as ListAccountsInput, q as ListAccountsOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.CrqaHbwM.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.C9ZgmZrv.js';
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/sqlite-core';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/worker.mjs
CHANGED
|
@@ -320,7 +320,8 @@ let LedgerServiceBase = class extends develitWorker(
|
|
|
320
320
|
type,
|
|
321
321
|
description,
|
|
322
322
|
paymentId,
|
|
323
|
-
metadata
|
|
323
|
+
metadata,
|
|
324
|
+
status
|
|
324
325
|
// TODO: entries will be implemented later
|
|
325
326
|
// entries: inputEntries,
|
|
326
327
|
} = params;
|
|
@@ -339,8 +340,7 @@ let LedgerServiceBase = class extends develitWorker(
|
|
|
339
340
|
description,
|
|
340
341
|
createdAt: timestamp,
|
|
341
342
|
completedAt: null,
|
|
342
|
-
status
|
|
343
|
-
//todo: get from input?
|
|
343
|
+
status,
|
|
344
344
|
paymentId,
|
|
345
345
|
metadata,
|
|
346
346
|
updatedAt: timestamp
|
|
@@ -832,7 +832,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
832
832
|
tableName: "entry";
|
|
833
833
|
dataType: "string";
|
|
834
834
|
columnType: "SQLiteText";
|
|
835
|
-
data: "
|
|
835
|
+
data: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
|
|
836
836
|
driverParam: string;
|
|
837
837
|
notNull: true;
|
|
838
838
|
hasDefault: false;
|
|
@@ -845,7 +845,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
845
845
|
generated: undefined;
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: number | undefined;
|
|
848
|
-
$type: "
|
|
848
|
+
$type: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
|
|
849
849
|
}>;
|
|
850
850
|
isBalanced: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
851
851
|
name: "is_balanced";
|
|
@@ -1002,7 +1002,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1002
1002
|
tableName: "transaction";
|
|
1003
1003
|
dataType: "string";
|
|
1004
1004
|
columnType: "SQLiteText";
|
|
1005
|
-
data: "
|
|
1005
|
+
data: "EXCHANGE" | "PAYMENT" | "ORDER";
|
|
1006
1006
|
driverParam: string;
|
|
1007
1007
|
notNull: true;
|
|
1008
1008
|
hasDefault: false;
|
|
@@ -1015,7 +1015,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1015
1015
|
generated: undefined;
|
|
1016
1016
|
}, {}, {
|
|
1017
1017
|
length: number | undefined;
|
|
1018
|
-
$type: "
|
|
1018
|
+
$type: "EXCHANGE" | "PAYMENT" | "ORDER";
|
|
1019
1019
|
}>;
|
|
1020
1020
|
referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1021
1021
|
name: "reference_id";
|
|
@@ -1041,7 +1041,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1041
1041
|
tableName: "transaction";
|
|
1042
1042
|
dataType: "string";
|
|
1043
1043
|
columnType: "SQLiteText";
|
|
1044
|
-
data: "
|
|
1044
|
+
data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1045
1045
|
driverParam: string;
|
|
1046
1046
|
notNull: true;
|
|
1047
1047
|
hasDefault: false;
|
|
@@ -1054,7 +1054,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1054
1054
|
generated: undefined;
|
|
1055
1055
|
}, {}, {
|
|
1056
1056
|
length: number | undefined;
|
|
1057
|
-
$type: "
|
|
1057
|
+
$type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1058
1058
|
}>;
|
|
1059
1059
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1060
1060
|
name: "description";
|
|
@@ -832,7 +832,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
832
832
|
tableName: "entry";
|
|
833
833
|
dataType: "string";
|
|
834
834
|
columnType: "SQLiteText";
|
|
835
|
-
data: "
|
|
835
|
+
data: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
|
|
836
836
|
driverParam: string;
|
|
837
837
|
notNull: true;
|
|
838
838
|
hasDefault: false;
|
|
@@ -845,7 +845,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
845
845
|
generated: undefined;
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: number | undefined;
|
|
848
|
-
$type: "
|
|
848
|
+
$type: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
|
|
849
849
|
}>;
|
|
850
850
|
isBalanced: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
851
851
|
name: "is_balanced";
|
|
@@ -1002,7 +1002,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1002
1002
|
tableName: "transaction";
|
|
1003
1003
|
dataType: "string";
|
|
1004
1004
|
columnType: "SQLiteText";
|
|
1005
|
-
data: "
|
|
1005
|
+
data: "EXCHANGE" | "PAYMENT" | "ORDER";
|
|
1006
1006
|
driverParam: string;
|
|
1007
1007
|
notNull: true;
|
|
1008
1008
|
hasDefault: false;
|
|
@@ -1015,7 +1015,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1015
1015
|
generated: undefined;
|
|
1016
1016
|
}, {}, {
|
|
1017
1017
|
length: number | undefined;
|
|
1018
|
-
$type: "
|
|
1018
|
+
$type: "EXCHANGE" | "PAYMENT" | "ORDER";
|
|
1019
1019
|
}>;
|
|
1020
1020
|
referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1021
1021
|
name: "reference_id";
|
|
@@ -1041,7 +1041,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1041
1041
|
tableName: "transaction";
|
|
1042
1042
|
dataType: "string";
|
|
1043
1043
|
columnType: "SQLiteText";
|
|
1044
|
-
data: "
|
|
1044
|
+
data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1045
1045
|
driverParam: string;
|
|
1046
1046
|
notNull: true;
|
|
1047
1047
|
hasDefault: false;
|
|
@@ -1054,7 +1054,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1054
1054
|
generated: undefined;
|
|
1055
1055
|
}, {}, {
|
|
1056
1056
|
length: number | undefined;
|
|
1057
|
-
$type: "
|
|
1057
|
+
$type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1058
1058
|
}>;
|
|
1059
1059
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1060
1060
|
name: "description";
|
|
@@ -832,7 +832,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
832
832
|
tableName: "entry";
|
|
833
833
|
dataType: "string";
|
|
834
834
|
columnType: "SQLiteText";
|
|
835
|
-
data: "
|
|
835
|
+
data: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
|
|
836
836
|
driverParam: string;
|
|
837
837
|
notNull: true;
|
|
838
838
|
hasDefault: false;
|
|
@@ -845,7 +845,7 @@ declare const entry: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
845
845
|
generated: undefined;
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: number | undefined;
|
|
848
|
-
$type: "
|
|
848
|
+
$type: "FAILED" | "PENDING" | "REALIZED" | "CANCELED";
|
|
849
849
|
}>;
|
|
850
850
|
isBalanced: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
851
851
|
name: "is_balanced";
|
|
@@ -1002,7 +1002,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1002
1002
|
tableName: "transaction";
|
|
1003
1003
|
dataType: "string";
|
|
1004
1004
|
columnType: "SQLiteText";
|
|
1005
|
-
data: "
|
|
1005
|
+
data: "EXCHANGE" | "PAYMENT" | "ORDER";
|
|
1006
1006
|
driverParam: string;
|
|
1007
1007
|
notNull: true;
|
|
1008
1008
|
hasDefault: false;
|
|
@@ -1015,7 +1015,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1015
1015
|
generated: undefined;
|
|
1016
1016
|
}, {}, {
|
|
1017
1017
|
length: number | undefined;
|
|
1018
|
-
$type: "
|
|
1018
|
+
$type: "EXCHANGE" | "PAYMENT" | "ORDER";
|
|
1019
1019
|
}>;
|
|
1020
1020
|
referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1021
1021
|
name: "reference_id";
|
|
@@ -1041,7 +1041,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1041
1041
|
tableName: "transaction";
|
|
1042
1042
|
dataType: "string";
|
|
1043
1043
|
columnType: "SQLiteText";
|
|
1044
|
-
data: "
|
|
1044
|
+
data: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1045
1045
|
driverParam: string;
|
|
1046
1046
|
notNull: true;
|
|
1047
1047
|
hasDefault: false;
|
|
@@ -1054,7 +1054,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1054
1054
|
generated: undefined;
|
|
1055
1055
|
}, {}, {
|
|
1056
1056
|
length: number | undefined;
|
|
1057
|
-
$type: "
|
|
1057
|
+
$type: "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "EXCHANGE" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1058
1058
|
}>;
|
|
1059
1059
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1060
1060
|
name: "description";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.C9ZgmZrv.js';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -401,17 +401,17 @@ interface CreateAccountOutput {
|
|
|
401
401
|
declare const createTransactionInputSchema: z.ZodObject<{
|
|
402
402
|
correlationId: z.ZodString;
|
|
403
403
|
referenceType: z.ZodEnum<{
|
|
404
|
-
PAYMENT: "PAYMENT";
|
|
405
404
|
EXCHANGE: "EXCHANGE";
|
|
405
|
+
PAYMENT: "PAYMENT";
|
|
406
406
|
ORDER: "ORDER";
|
|
407
407
|
}>;
|
|
408
408
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
409
409
|
type: z.ZodEnum<{
|
|
410
|
-
EXCHANGE: "EXCHANGE";
|
|
411
410
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
412
411
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
413
412
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
414
413
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
414
|
+
EXCHANGE: "EXCHANGE";
|
|
415
415
|
UNMATCHED: "UNMATCHED";
|
|
416
416
|
ADJUSTMENT: "ADJUSTMENT";
|
|
417
417
|
TRANSFER: "TRANSFER";
|
|
@@ -540,7 +540,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
540
540
|
MATIC: "MATIC";
|
|
541
541
|
AVAX: "AVAX";
|
|
542
542
|
}>>;
|
|
543
|
-
|
|
543
|
+
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
544
544
|
AF: "AF";
|
|
545
545
|
AL: "AL";
|
|
546
546
|
DZ: "DZ";
|
|
@@ -869,7 +869,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
869
869
|
MATIC: "MATIC";
|
|
870
870
|
AVAX: "AVAX";
|
|
871
871
|
}>>;
|
|
872
|
-
|
|
872
|
+
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
873
873
|
AF: "AF";
|
|
874
874
|
AL: "AL";
|
|
875
875
|
DZ: "DZ";
|
|
@@ -1294,17 +1294,17 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
1294
1294
|
}, z.core.$strip>;
|
|
1295
1295
|
filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
|
|
1296
1296
|
filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
-
PAYMENT: "PAYMENT";
|
|
1298
1297
|
EXCHANGE: "EXCHANGE";
|
|
1298
|
+
PAYMENT: "PAYMENT";
|
|
1299
1299
|
ORDER: "ORDER";
|
|
1300
1300
|
}>>;
|
|
1301
1301
|
filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
|
|
1302
1302
|
filterTransactionType: z.ZodOptional<z.ZodEnum<{
|
|
1303
|
-
EXCHANGE: "EXCHANGE";
|
|
1304
1303
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
1305
1304
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
1306
1305
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
1307
1306
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
1307
|
+
EXCHANGE: "EXCHANGE";
|
|
1308
1308
|
UNMATCHED: "UNMATCHED";
|
|
1309
1309
|
ADJUSTMENT: "ADJUSTMENT";
|
|
1310
1310
|
TRANSFER: "TRANSFER";
|
|
@@ -1335,8 +1335,8 @@ interface GetTransactionsOutput {
|
|
|
1335
1335
|
|
|
1336
1336
|
declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
|
|
1337
1337
|
referenceType: z.ZodEnum<{
|
|
1338
|
-
PAYMENT: "PAYMENT";
|
|
1339
1338
|
EXCHANGE: "EXCHANGE";
|
|
1339
|
+
PAYMENT: "PAYMENT";
|
|
1340
1340
|
ORDER: "ORDER";
|
|
1341
1341
|
}>;
|
|
1342
1342
|
referenceId: z.ZodUUID;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.C9ZgmZrv.mjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -401,17 +401,17 @@ interface CreateAccountOutput {
|
|
|
401
401
|
declare const createTransactionInputSchema: z.ZodObject<{
|
|
402
402
|
correlationId: z.ZodString;
|
|
403
403
|
referenceType: z.ZodEnum<{
|
|
404
|
-
PAYMENT: "PAYMENT";
|
|
405
404
|
EXCHANGE: "EXCHANGE";
|
|
405
|
+
PAYMENT: "PAYMENT";
|
|
406
406
|
ORDER: "ORDER";
|
|
407
407
|
}>;
|
|
408
408
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
409
409
|
type: z.ZodEnum<{
|
|
410
|
-
EXCHANGE: "EXCHANGE";
|
|
411
410
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
412
411
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
413
412
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
414
413
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
414
|
+
EXCHANGE: "EXCHANGE";
|
|
415
415
|
UNMATCHED: "UNMATCHED";
|
|
416
416
|
ADJUSTMENT: "ADJUSTMENT";
|
|
417
417
|
TRANSFER: "TRANSFER";
|
|
@@ -540,7 +540,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
540
540
|
MATIC: "MATIC";
|
|
541
541
|
AVAX: "AVAX";
|
|
542
542
|
}>>;
|
|
543
|
-
|
|
543
|
+
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
544
544
|
AF: "AF";
|
|
545
545
|
AL: "AL";
|
|
546
546
|
DZ: "DZ";
|
|
@@ -869,7 +869,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
869
869
|
MATIC: "MATIC";
|
|
870
870
|
AVAX: "AVAX";
|
|
871
871
|
}>>;
|
|
872
|
-
|
|
872
|
+
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
873
873
|
AF: "AF";
|
|
874
874
|
AL: "AL";
|
|
875
875
|
DZ: "DZ";
|
|
@@ -1294,17 +1294,17 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
1294
1294
|
}, z.core.$strip>;
|
|
1295
1295
|
filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
|
|
1296
1296
|
filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
-
PAYMENT: "PAYMENT";
|
|
1298
1297
|
EXCHANGE: "EXCHANGE";
|
|
1298
|
+
PAYMENT: "PAYMENT";
|
|
1299
1299
|
ORDER: "ORDER";
|
|
1300
1300
|
}>>;
|
|
1301
1301
|
filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
|
|
1302
1302
|
filterTransactionType: z.ZodOptional<z.ZodEnum<{
|
|
1303
|
-
EXCHANGE: "EXCHANGE";
|
|
1304
1303
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
1305
1304
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
1306
1305
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
1307
1306
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
1307
|
+
EXCHANGE: "EXCHANGE";
|
|
1308
1308
|
UNMATCHED: "UNMATCHED";
|
|
1309
1309
|
ADJUSTMENT: "ADJUSTMENT";
|
|
1310
1310
|
TRANSFER: "TRANSFER";
|
|
@@ -1335,8 +1335,8 @@ interface GetTransactionsOutput {
|
|
|
1335
1335
|
|
|
1336
1336
|
declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
|
|
1337
1337
|
referenceType: z.ZodEnum<{
|
|
1338
|
-
PAYMENT: "PAYMENT";
|
|
1339
1338
|
EXCHANGE: "EXCHANGE";
|
|
1339
|
+
PAYMENT: "PAYMENT";
|
|
1340
1340
|
ORDER: "ORDER";
|
|
1341
1341
|
}>;
|
|
1342
1342
|
referenceId: z.ZodUUID;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.C9ZgmZrv.cjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -401,17 +401,17 @@ interface CreateAccountOutput {
|
|
|
401
401
|
declare const createTransactionInputSchema: z.ZodObject<{
|
|
402
402
|
correlationId: z.ZodString;
|
|
403
403
|
referenceType: z.ZodEnum<{
|
|
404
|
-
PAYMENT: "PAYMENT";
|
|
405
404
|
EXCHANGE: "EXCHANGE";
|
|
405
|
+
PAYMENT: "PAYMENT";
|
|
406
406
|
ORDER: "ORDER";
|
|
407
407
|
}>;
|
|
408
408
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
409
409
|
type: z.ZodEnum<{
|
|
410
|
-
EXCHANGE: "EXCHANGE";
|
|
411
410
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
412
411
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
413
412
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
414
413
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
414
|
+
EXCHANGE: "EXCHANGE";
|
|
415
415
|
UNMATCHED: "UNMATCHED";
|
|
416
416
|
ADJUSTMENT: "ADJUSTMENT";
|
|
417
417
|
TRANSFER: "TRANSFER";
|
|
@@ -540,7 +540,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
540
540
|
MATIC: "MATIC";
|
|
541
541
|
AVAX: "AVAX";
|
|
542
542
|
}>>;
|
|
543
|
-
|
|
543
|
+
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
544
544
|
AF: "AF";
|
|
545
545
|
AL: "AL";
|
|
546
546
|
DZ: "DZ";
|
|
@@ -869,7 +869,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
869
869
|
MATIC: "MATIC";
|
|
870
870
|
AVAX: "AVAX";
|
|
871
871
|
}>>;
|
|
872
|
-
|
|
872
|
+
countryCode: z.ZodOptional<z.ZodEnum<{
|
|
873
873
|
AF: "AF";
|
|
874
874
|
AL: "AL";
|
|
875
875
|
DZ: "DZ";
|
|
@@ -1294,17 +1294,17 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
1294
1294
|
}, z.core.$strip>;
|
|
1295
1295
|
filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
|
|
1296
1296
|
filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
|
|
1297
|
-
PAYMENT: "PAYMENT";
|
|
1298
1297
|
EXCHANGE: "EXCHANGE";
|
|
1298
|
+
PAYMENT: "PAYMENT";
|
|
1299
1299
|
ORDER: "ORDER";
|
|
1300
1300
|
}>>;
|
|
1301
1301
|
filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
|
|
1302
1302
|
filterTransactionType: z.ZodOptional<z.ZodEnum<{
|
|
1303
|
-
EXCHANGE: "EXCHANGE";
|
|
1304
1303
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
1305
1304
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
1306
1305
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
1307
1306
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
1307
|
+
EXCHANGE: "EXCHANGE";
|
|
1308
1308
|
UNMATCHED: "UNMATCHED";
|
|
1309
1309
|
ADJUSTMENT: "ADJUSTMENT";
|
|
1310
1310
|
TRANSFER: "TRANSFER";
|
|
@@ -1335,8 +1335,8 @@ interface GetTransactionsOutput {
|
|
|
1335
1335
|
|
|
1336
1336
|
declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
|
|
1337
1337
|
referenceType: z.ZodEnum<{
|
|
1338
|
-
PAYMENT: "PAYMENT";
|
|
1339
1338
|
EXCHANGE: "EXCHANGE";
|
|
1339
|
+
PAYMENT: "PAYMENT";
|
|
1340
1340
|
ORDER: "ORDER";
|
|
1341
1341
|
}>;
|
|
1342
1342
|
referenceId: z.ZodUUID;
|
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, m 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, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { N as AccountIdentifierInsertType, P as AccountIdentifierMappingInsertType, O as AccountIdentifierMappingSelectType, K as AccountIdentifierSelectType, J as AccountInsertType, H as AccountSelectType, R as AccountWithIdentifiersSelectType, i as CreateAccountInput, j as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, I as IncludeRelation, E as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, Q as TransactionInsertType, U as UpdateAccountInput, k as UpdateAccountOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput, S as createAccountInputSchema, V as createTransactionInputSchema, W as deleteAccountInputSchema, X as failTransactionInputSchema, Y as findAccountByIdentifierInputSchema, _ as getAccountBalanceInputSchema, $ as getAccountIdentifierInputSchema, Z as getAccountInputSchema, a0 as getAccountsByOwnerInputSchema, a1 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a2 as getTransactionsInputSchema, a4 as listAccountIdentifiersInputSchema, a5 as listAccountsInputSchema, a6 as matchTransactionInputSchema, a7 as updateAccountInputSchema, a8 as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.
|
|
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, m 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, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.C9ZgmZrv.cjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.bWo3rI1l.cjs';
|
|
3
|
+
export { N as AccountIdentifierInsertType, P as AccountIdentifierMappingInsertType, O as AccountIdentifierMappingSelectType, K as AccountIdentifierSelectType, J as AccountInsertType, H as AccountSelectType, R as AccountWithIdentifiersSelectType, i as CreateAccountInput, j as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, I as IncludeRelation, E as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, Q as TransactionInsertType, U as UpdateAccountInput, k as UpdateAccountOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput, S as createAccountInputSchema, V as createTransactionInputSchema, W as deleteAccountInputSchema, X as failTransactionInputSchema, Y as findAccountByIdentifierInputSchema, _ as getAccountBalanceInputSchema, $ as getAccountIdentifierInputSchema, Z as getAccountInputSchema, a0 as getAccountsByOwnerInputSchema, a1 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a2 as getTransactionsInputSchema, a4 as listAccountIdentifiersInputSchema, a5 as listAccountsInputSchema, a6 as matchTransactionInputSchema, a7 as updateAccountInputSchema, a8 as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.bWo3rI1l.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, m 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, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { N as AccountIdentifierInsertType, P as AccountIdentifierMappingInsertType, O as AccountIdentifierMappingSelectType, K as AccountIdentifierSelectType, J as AccountInsertType, H as AccountSelectType, R as AccountWithIdentifiersSelectType, i as CreateAccountInput, j as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, I as IncludeRelation, E as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, Q as TransactionInsertType, U as UpdateAccountInput, k as UpdateAccountOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput, S as createAccountInputSchema, V as createTransactionInputSchema, W as deleteAccountInputSchema, X as failTransactionInputSchema, Y as findAccountByIdentifierInputSchema, _ as getAccountBalanceInputSchema, $ as getAccountIdentifierInputSchema, Z as getAccountInputSchema, a0 as getAccountsByOwnerInputSchema, a1 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a2 as getTransactionsInputSchema, a4 as listAccountIdentifiersInputSchema, a5 as listAccountsInputSchema, a6 as matchTransactionInputSchema, a7 as updateAccountInputSchema, a8 as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.
|
|
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, m 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, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.C9ZgmZrv.mjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.DLQ2e8kE.mjs';
|
|
3
|
+
export { N as AccountIdentifierInsertType, P as AccountIdentifierMappingInsertType, O as AccountIdentifierMappingSelectType, K as AccountIdentifierSelectType, J as AccountInsertType, H as AccountSelectType, R as AccountWithIdentifiersSelectType, i as CreateAccountInput, j as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, I as IncludeRelation, E as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, Q as TransactionInsertType, U as UpdateAccountInput, k as UpdateAccountOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput, S as createAccountInputSchema, V as createTransactionInputSchema, W as deleteAccountInputSchema, X as failTransactionInputSchema, Y as findAccountByIdentifierInputSchema, _ as getAccountBalanceInputSchema, $ as getAccountIdentifierInputSchema, Z as getAccountInputSchema, a0 as getAccountsByOwnerInputSchema, a1 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a2 as getTransactionsInputSchema, a4 as listAccountIdentifiersInputSchema, a5 as listAccountsInputSchema, a6 as matchTransactionInputSchema, a7 as updateAccountInputSchema, a8 as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.DLQ2e8kE.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';
|
package/dist/types.d.ts
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, m 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, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { N as AccountIdentifierInsertType, P as AccountIdentifierMappingInsertType, O as AccountIdentifierMappingSelectType, K as AccountIdentifierSelectType, J as AccountInsertType, H as AccountSelectType, R as AccountWithIdentifiersSelectType, i as CreateAccountInput, j as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, I as IncludeRelation, E as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, Q as TransactionInsertType, U as UpdateAccountInput, k as UpdateAccountOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput, S as createAccountInputSchema, V as createTransactionInputSchema, W as deleteAccountInputSchema, X as failTransactionInputSchema, Y as findAccountByIdentifierInputSchema, _ as getAccountBalanceInputSchema, $ as getAccountIdentifierInputSchema, Z as getAccountInputSchema, a0 as getAccountsByOwnerInputSchema, a1 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a2 as getTransactionsInputSchema, a4 as listAccountIdentifiersInputSchema, a5 as listAccountsInputSchema, a6 as matchTransactionInputSchema, a7 as updateAccountInputSchema, a8 as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.
|
|
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, m 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, n as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, o as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, l as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.C9ZgmZrv.js';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.CrqaHbwM.js';
|
|
3
|
+
export { N as AccountIdentifierInsertType, P as AccountIdentifierMappingInsertType, O as AccountIdentifierMappingSelectType, K as AccountIdentifierSelectType, J as AccountInsertType, H as AccountSelectType, R as AccountWithIdentifiersSelectType, i as CreateAccountInput, j as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, w as FindAccountByIdentifierInput, x as FindAccountByIdentifierOutput, y as GetAccountBalanceInput, z as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, d as GetTransactionByIdOutput, e as GetTransactionsByIdReferenceInput, f as GetTransactionsByReferenceIdOutput, g as GetTransactionsInput, h as GetTransactionsOutput, I as IncludeRelation, E as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, Q as TransactionInsertType, U as UpdateAccountInput, k as UpdateAccountOutput, A as UpdateTransactionConfirmationSentAtInput, B as UpdateTransactionConfirmationSentAtOutput, S as createAccountInputSchema, V as createTransactionInputSchema, W as deleteAccountInputSchema, X as failTransactionInputSchema, Y as findAccountByIdentifierInputSchema, _ as getAccountBalanceInputSchema, $ as getAccountIdentifierInputSchema, Z as getAccountInputSchema, a0 as getAccountsByOwnerInputSchema, a1 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a2 as getTransactionsInputSchema, a4 as listAccountIdentifiersInputSchema, a5 as listAccountsInputSchema, a6 as matchTransactionInputSchema, a7 as updateAccountInputSchema, a8 as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.CrqaHbwM.js';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.js';
|
|
5
5
|
import { BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|