@develit-services/ledger 0.0.4 → 0.0.5
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/@types.d.cts +3 -3
- package/dist/@types.d.mts +3 -3
- package/dist/@types.d.ts +3 -3
- 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.d.cts +2 -2
- package/dist/export/worker.d.mts +2 -2
- package/dist/export/worker.d.ts +2 -2
- package/dist/export/wrangler.cjs +10 -26
- package/dist/export/wrangler.d.cts +5 -7
- package/dist/export/wrangler.d.mts +5 -7
- package/dist/export/wrangler.d.ts +5 -7
- package/dist/export/wrangler.mjs +10 -26
- package/dist/shared/{ledger.BGRlMRXt.d.cts → ledger.DAZkVJGP.d.cts} +8 -8
- package/dist/shared/{ledger.BGRlMRXt.d.mts → ledger.DAZkVJGP.d.mts} +8 -8
- package/dist/shared/{ledger.BGRlMRXt.d.ts → ledger.DAZkVJGP.d.ts} +8 -8
- package/dist/shared/{ledger.DsBxXE_T.d.mts → ledger.DYO-p4CG.d.mts} +13 -13
- package/dist/shared/{ledger.DIS4VedH.d.ts → ledger.SIFMVIVa.d.ts} +13 -13
- package/dist/shared/{ledger.DuAJRwwr.d.cts → ledger.hh5byAnS.d.cts} +13 -13
- package/package.json +2 -2
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 { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } 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.DAZkVJGP.cjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.hh5byAnS.cjs';
|
|
3
|
+
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.hh5byAnS.cjs';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.cjs';
|
|
5
5
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
6
6
|
import 'drizzle-orm';
|
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 { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } 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.DAZkVJGP.mjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.DYO-p4CG.mjs';
|
|
3
|
+
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.DYO-p4CG.mjs';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.mjs';
|
|
5
5
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
6
6
|
import 'drizzle-orm';
|
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 { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } 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.DAZkVJGP.js';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.SIFMVIVa.js';
|
|
3
|
+
export { K as AccountIdentifierInsertType, N as AccountIdentifierMappingInsertType, M as AccountIdentifierMappingSelectType, J as AccountIdentifierSelectType, H as AccountInsertType, E as AccountSelectType, P as AccountWithIdentifiersSelectType, h as CreateAccountInput, i as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, l as DeleteAccountOutput, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, r as GetAccountIdentifierInput, s as GetAccountIdentifierOutput, m as GetAccountInput, n as GetAccountOutput, o as GetAccountsByOwnerInput, p as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, I as IncludeRelation, B as InferResultType, u as ListAccountIdentifiersInput, v as ListAccountIdentifiersOutput, L as ListAccountsInput, q as ListAccountsOutput, O as TransactionInsertType, j as UpdateAccountInput, k as UpdateAccountOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, Q as createAccountInputSchema, R as createTransactionInputSchema, S as deleteAccountInputSchema, V as findAccountByIdentifierInputSchema, X as getAccountBalanceInputSchema, Y as getAccountIdentifierInputSchema, W as getAccountInputSchema, Z as getAccountsByOwnerInputSchema, a2 as getTransactionByIdInputSchema, a3 as getTransactionsByReferenceIdInputSchema, a4 as getTransactionsInputSchema, _ as listAccountIdentifiersInputSchema, $ as listAccountsInputSchema, a0 as updateAccountInputSchema, a5 as updateTransactionConfirmationSentAtInputSchema, a1 as updateTransactionInputSchema } from './shared/ledger.SIFMVIVa.js';
|
|
4
4
|
export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.js';
|
|
5
5
|
export { BANK_CODES, CRYPTO_NETWORK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
6
6
|
import 'drizzle-orm';
|
|
@@ -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.DAZkVJGP.cjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -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.DAZkVJGP.mjs';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/general-codes';
|
|
@@ -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.DAZkVJGP.js';
|
|
2
2
|
import 'drizzle-orm';
|
|
3
3
|
import 'drizzle-orm/sqlite-core';
|
|
4
4
|
import '@develit-io/general-codes';
|
package/dist/export/worker.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
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
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, h as CreateAccountInput, i as CreateAccountOutput, j 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, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.
|
|
4
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, h as CreateAccountInput, i as CreateAccountOutput, j 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, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.hh5byAnS.cjs';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.DAZkVJGP.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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
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
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, h as CreateAccountInput, i as CreateAccountOutput, j 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, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.
|
|
4
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, h as CreateAccountInput, i as CreateAccountOutput, j 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, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.DYO-p4CG.mjs';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.DAZkVJGP.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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
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
|
-
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, h as CreateAccountInput, i as CreateAccountOutput, j 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, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.
|
|
4
|
+
import { t as tables, C as CreateTransactionInput, a as CreateTransactionOutput, U as UpdateTransactionInput, b as UpdateTransactionOutput, G as GetTransactionByIdInput, c as GetTransactionByIdOutput, d as GetTransactionsByIdReferenceInput, e as GetTransactionsByReferenceIdOutput, f as GetTransactionsInput, g as GetTransactionsOutput, h as CreateAccountInput, i as CreateAccountOutput, j 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, F as FindAccountByIdentifierInput, w as FindAccountByIdentifierOutput, x as GetAccountBalanceInput, y as GetAccountBalanceOutput, z as UpdateTransactionConfirmationSentAtInput, A as UpdateTransactionConfirmationSentAtOutput } from '../shared/ledger.SIFMVIVa.js';
|
|
5
5
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../shared/ledger.
|
|
7
|
+
import '../shared/ledger.DAZkVJGP.js';
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/sqlite-core';
|
|
10
10
|
import '@develit-io/general-codes';
|
package/dist/export/wrangler.cjs
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
function defineLedgerServiceWrangler(config) {
|
|
4
4
|
const { project, name, envs } = config;
|
|
5
5
|
const base = {
|
|
6
|
-
|
|
6
|
+
$schema: "../../node_modules/wrangler/config-schema.json",
|
|
7
|
+
name: `${project}-${name}-service`,
|
|
7
8
|
main: "./src/index.ts",
|
|
8
9
|
compatibility_date: "2025-06-04",
|
|
9
10
|
compatibility_flags: ["nodejs_compat"],
|
|
@@ -11,19 +12,22 @@ function defineLedgerServiceWrangler(config) {
|
|
|
11
12
|
enabled: true,
|
|
12
13
|
head_sampling_rate: 1,
|
|
13
14
|
logs: {
|
|
15
|
+
enabled: true,
|
|
14
16
|
invocation_logs: false
|
|
15
17
|
}
|
|
16
18
|
},
|
|
17
19
|
preview_urls: false,
|
|
18
20
|
workers_dev: false,
|
|
21
|
+
keep_vars: true,
|
|
19
22
|
vars: {
|
|
23
|
+
//vars
|
|
20
24
|
...envs.local.vars,
|
|
21
25
|
ENVIRONMENT: "localhost"
|
|
22
26
|
},
|
|
23
27
|
d1_databases: [
|
|
24
28
|
{
|
|
25
29
|
binding: "LEDGER_D1",
|
|
26
|
-
database_name:
|
|
30
|
+
database_name: `${project}-ledger`,
|
|
27
31
|
database_id: envs.local.d1.id,
|
|
28
32
|
migrations_dir: "./src/database/migrations"
|
|
29
33
|
}
|
|
@@ -36,13 +40,11 @@ function defineLedgerServiceWrangler(config) {
|
|
|
36
40
|
},
|
|
37
41
|
{
|
|
38
42
|
binding: "NOTIFICATIONS_QUEUE",
|
|
39
|
-
queue: `${project}-notifications
|
|
40
|
-
delivery_delay: 5
|
|
43
|
+
queue: `${project}-notifications`
|
|
41
44
|
},
|
|
42
45
|
{
|
|
43
46
|
binding: "QUEUE_BUS_QUEUE",
|
|
44
|
-
queue: `${project}-queue-bus
|
|
45
|
-
delivery_delay: 5
|
|
47
|
+
queue: `${project}-queue-bus`
|
|
46
48
|
}
|
|
47
49
|
]
|
|
48
50
|
},
|
|
@@ -59,29 +61,11 @@ function defineLedgerServiceWrangler(config) {
|
|
|
59
61
|
d1_databases: [
|
|
60
62
|
{
|
|
61
63
|
binding: "LEDGER_D1",
|
|
62
|
-
database_name: `${
|
|
64
|
+
database_name: `${project}-ledger-${envName}`,
|
|
63
65
|
database_id: envCfg.d1.id,
|
|
64
66
|
migrations_dir: "./src/database/migrations"
|
|
65
67
|
}
|
|
66
|
-
]
|
|
67
|
-
queues: {
|
|
68
|
-
producers: [
|
|
69
|
-
{
|
|
70
|
-
binding: "PAYMENTS_READY_TO_BATCH_QUEUE",
|
|
71
|
-
queue: `${project}-payments-ready-to-batch-${envName}`
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
binding: "NOTIFICATIONS_QUEUE",
|
|
75
|
-
queue: `${project}-notifications-${envName}`,
|
|
76
|
-
delivery_delay: 5
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
binding: "QUEUE_BUS_QUEUE",
|
|
80
|
-
queue: `${project}-queue-bus-${envName}`,
|
|
81
|
-
delivery_delay: 5
|
|
82
|
-
}
|
|
83
|
-
]
|
|
84
|
-
}
|
|
68
|
+
]
|
|
85
69
|
};
|
|
86
70
|
}
|
|
87
71
|
return base;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { L as LedgerServiceWranglerConfig } from '../shared/ledger.Ce2yPDUS.cjs';
|
|
2
2
|
|
|
3
3
|
declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig): {
|
|
4
|
+
$schema: string;
|
|
4
5
|
name: string;
|
|
5
6
|
main: string;
|
|
6
7
|
compatibility_date: string;
|
|
@@ -9,11 +10,13 @@ declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig
|
|
|
9
10
|
enabled: boolean;
|
|
10
11
|
head_sampling_rate: number;
|
|
11
12
|
logs: {
|
|
13
|
+
enabled: boolean;
|
|
12
14
|
invocation_logs: boolean;
|
|
13
15
|
};
|
|
14
16
|
};
|
|
15
17
|
preview_urls: boolean;
|
|
16
18
|
workers_dev: boolean;
|
|
19
|
+
keep_vars: boolean;
|
|
17
20
|
vars: {
|
|
18
21
|
ENVIRONMENT: string;
|
|
19
22
|
};
|
|
@@ -24,15 +27,10 @@ declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig
|
|
|
24
27
|
migrations_dir: string;
|
|
25
28
|
}[];
|
|
26
29
|
queues: {
|
|
27
|
-
producers:
|
|
30
|
+
producers: {
|
|
28
31
|
binding: string;
|
|
29
32
|
queue: string;
|
|
30
|
-
|
|
31
|
-
} | {
|
|
32
|
-
binding: string;
|
|
33
|
-
queue: string;
|
|
34
|
-
delivery_delay: number;
|
|
35
|
-
})[];
|
|
33
|
+
}[];
|
|
36
34
|
};
|
|
37
35
|
env: Record<string, unknown>;
|
|
38
36
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { L as LedgerServiceWranglerConfig } from '../shared/ledger.Ce2yPDUS.mjs';
|
|
2
2
|
|
|
3
3
|
declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig): {
|
|
4
|
+
$schema: string;
|
|
4
5
|
name: string;
|
|
5
6
|
main: string;
|
|
6
7
|
compatibility_date: string;
|
|
@@ -9,11 +10,13 @@ declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig
|
|
|
9
10
|
enabled: boolean;
|
|
10
11
|
head_sampling_rate: number;
|
|
11
12
|
logs: {
|
|
13
|
+
enabled: boolean;
|
|
12
14
|
invocation_logs: boolean;
|
|
13
15
|
};
|
|
14
16
|
};
|
|
15
17
|
preview_urls: boolean;
|
|
16
18
|
workers_dev: boolean;
|
|
19
|
+
keep_vars: boolean;
|
|
17
20
|
vars: {
|
|
18
21
|
ENVIRONMENT: string;
|
|
19
22
|
};
|
|
@@ -24,15 +27,10 @@ declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig
|
|
|
24
27
|
migrations_dir: string;
|
|
25
28
|
}[];
|
|
26
29
|
queues: {
|
|
27
|
-
producers:
|
|
30
|
+
producers: {
|
|
28
31
|
binding: string;
|
|
29
32
|
queue: string;
|
|
30
|
-
|
|
31
|
-
} | {
|
|
32
|
-
binding: string;
|
|
33
|
-
queue: string;
|
|
34
|
-
delivery_delay: number;
|
|
35
|
-
})[];
|
|
33
|
+
}[];
|
|
36
34
|
};
|
|
37
35
|
env: Record<string, unknown>;
|
|
38
36
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { L as LedgerServiceWranglerConfig } from '../shared/ledger.Ce2yPDUS.js';
|
|
2
2
|
|
|
3
3
|
declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig): {
|
|
4
|
+
$schema: string;
|
|
4
5
|
name: string;
|
|
5
6
|
main: string;
|
|
6
7
|
compatibility_date: string;
|
|
@@ -9,11 +10,13 @@ declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig
|
|
|
9
10
|
enabled: boolean;
|
|
10
11
|
head_sampling_rate: number;
|
|
11
12
|
logs: {
|
|
13
|
+
enabled: boolean;
|
|
12
14
|
invocation_logs: boolean;
|
|
13
15
|
};
|
|
14
16
|
};
|
|
15
17
|
preview_urls: boolean;
|
|
16
18
|
workers_dev: boolean;
|
|
19
|
+
keep_vars: boolean;
|
|
17
20
|
vars: {
|
|
18
21
|
ENVIRONMENT: string;
|
|
19
22
|
};
|
|
@@ -24,15 +27,10 @@ declare function defineLedgerServiceWrangler(config: LedgerServiceWranglerConfig
|
|
|
24
27
|
migrations_dir: string;
|
|
25
28
|
}[];
|
|
26
29
|
queues: {
|
|
27
|
-
producers:
|
|
30
|
+
producers: {
|
|
28
31
|
binding: string;
|
|
29
32
|
queue: string;
|
|
30
|
-
|
|
31
|
-
} | {
|
|
32
|
-
binding: string;
|
|
33
|
-
queue: string;
|
|
34
|
-
delivery_delay: number;
|
|
35
|
-
})[];
|
|
33
|
+
}[];
|
|
36
34
|
};
|
|
37
35
|
env: Record<string, unknown>;
|
|
38
36
|
};
|
package/dist/export/wrangler.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
function defineLedgerServiceWrangler(config) {
|
|
2
2
|
const { project, name, envs } = config;
|
|
3
3
|
const base = {
|
|
4
|
-
|
|
4
|
+
$schema: "../../node_modules/wrangler/config-schema.json",
|
|
5
|
+
name: `${project}-${name}-service`,
|
|
5
6
|
main: "./src/index.ts",
|
|
6
7
|
compatibility_date: "2025-06-04",
|
|
7
8
|
compatibility_flags: ["nodejs_compat"],
|
|
@@ -9,19 +10,22 @@ function defineLedgerServiceWrangler(config) {
|
|
|
9
10
|
enabled: true,
|
|
10
11
|
head_sampling_rate: 1,
|
|
11
12
|
logs: {
|
|
13
|
+
enabled: true,
|
|
12
14
|
invocation_logs: false
|
|
13
15
|
}
|
|
14
16
|
},
|
|
15
17
|
preview_urls: false,
|
|
16
18
|
workers_dev: false,
|
|
19
|
+
keep_vars: true,
|
|
17
20
|
vars: {
|
|
21
|
+
//vars
|
|
18
22
|
...envs.local.vars,
|
|
19
23
|
ENVIRONMENT: "localhost"
|
|
20
24
|
},
|
|
21
25
|
d1_databases: [
|
|
22
26
|
{
|
|
23
27
|
binding: "LEDGER_D1",
|
|
24
|
-
database_name:
|
|
28
|
+
database_name: `${project}-ledger`,
|
|
25
29
|
database_id: envs.local.d1.id,
|
|
26
30
|
migrations_dir: "./src/database/migrations"
|
|
27
31
|
}
|
|
@@ -34,13 +38,11 @@ function defineLedgerServiceWrangler(config) {
|
|
|
34
38
|
},
|
|
35
39
|
{
|
|
36
40
|
binding: "NOTIFICATIONS_QUEUE",
|
|
37
|
-
queue: `${project}-notifications
|
|
38
|
-
delivery_delay: 5
|
|
41
|
+
queue: `${project}-notifications`
|
|
39
42
|
},
|
|
40
43
|
{
|
|
41
44
|
binding: "QUEUE_BUS_QUEUE",
|
|
42
|
-
queue: `${project}-queue-bus
|
|
43
|
-
delivery_delay: 5
|
|
45
|
+
queue: `${project}-queue-bus`
|
|
44
46
|
}
|
|
45
47
|
]
|
|
46
48
|
},
|
|
@@ -57,29 +59,11 @@ function defineLedgerServiceWrangler(config) {
|
|
|
57
59
|
d1_databases: [
|
|
58
60
|
{
|
|
59
61
|
binding: "LEDGER_D1",
|
|
60
|
-
database_name: `${
|
|
62
|
+
database_name: `${project}-ledger-${envName}`,
|
|
61
63
|
database_id: envCfg.d1.id,
|
|
62
64
|
migrations_dir: "./src/database/migrations"
|
|
63
65
|
}
|
|
64
|
-
]
|
|
65
|
-
queues: {
|
|
66
|
-
producers: [
|
|
67
|
-
{
|
|
68
|
-
binding: "PAYMENTS_READY_TO_BATCH_QUEUE",
|
|
69
|
-
queue: `${project}-payments-ready-to-batch-${envName}`
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
binding: "NOTIFICATIONS_QUEUE",
|
|
73
|
-
queue: `${project}-notifications-${envName}`,
|
|
74
|
-
delivery_delay: 5
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
binding: "QUEUE_BUS_QUEUE",
|
|
78
|
-
queue: `${project}-queue-bus-${envName}`,
|
|
79
|
-
delivery_delay: 5
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
66
|
+
]
|
|
83
67
|
};
|
|
84
68
|
}
|
|
85
69
|
return base;
|
|
@@ -262,7 +262,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
262
262
|
tableName: "account_identifier";
|
|
263
263
|
dataType: "string";
|
|
264
264
|
columnType: "SQLiteText";
|
|
265
|
-
data: "
|
|
265
|
+
data: "IBAN" | "LOCAL_CZ" | "SWIFT" | "CRYPTO_ADDRESS";
|
|
266
266
|
driverParam: string;
|
|
267
267
|
notNull: true;
|
|
268
268
|
hasDefault: false;
|
|
@@ -275,7 +275,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
275
275
|
generated: undefined;
|
|
276
276
|
}, {}, {
|
|
277
277
|
length: number | undefined;
|
|
278
|
-
$type: "
|
|
278
|
+
$type: "IBAN" | "LOCAL_CZ" | "SWIFT" | "CRYPTO_ADDRESS";
|
|
279
279
|
}>;
|
|
280
280
|
iban: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
281
281
|
name: "iban";
|
|
@@ -1000,7 +1000,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1000
1000
|
tableName: "transaction";
|
|
1001
1001
|
dataType: "string";
|
|
1002
1002
|
columnType: "SQLiteText";
|
|
1003
|
-
data: "
|
|
1003
|
+
data: "PAYMENT" | "EXCHANGE" | "ORDER";
|
|
1004
1004
|
driverParam: string;
|
|
1005
1005
|
notNull: true;
|
|
1006
1006
|
hasDefault: false;
|
|
@@ -1013,7 +1013,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1013
1013
|
generated: undefined;
|
|
1014
1014
|
}, {}, {
|
|
1015
1015
|
length: number | undefined;
|
|
1016
|
-
$type: "
|
|
1016
|
+
$type: "PAYMENT" | "EXCHANGE" | "ORDER";
|
|
1017
1017
|
}>;
|
|
1018
1018
|
referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1019
1019
|
name: "reference_id";
|
|
@@ -1039,7 +1039,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1039
1039
|
tableName: "transaction";
|
|
1040
1040
|
dataType: "string";
|
|
1041
1041
|
columnType: "SQLiteText";
|
|
1042
|
-
data: "
|
|
1042
|
+
data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1043
1043
|
driverParam: string;
|
|
1044
1044
|
notNull: true;
|
|
1045
1045
|
hasDefault: false;
|
|
@@ -1052,7 +1052,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1052
1052
|
generated: undefined;
|
|
1053
1053
|
}, {}, {
|
|
1054
1054
|
length: number | undefined;
|
|
1055
|
-
$type: "
|
|
1055
|
+
$type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1056
1056
|
}>;
|
|
1057
1057
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1058
1058
|
name: "description";
|
|
@@ -1112,7 +1112,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1112
1112
|
tableName: "transaction";
|
|
1113
1113
|
dataType: "string";
|
|
1114
1114
|
columnType: "SQLiteText";
|
|
1115
|
-
data: "
|
|
1115
|
+
data: "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "FAILED" | "CANCELLED" | "COMPLETED";
|
|
1116
1116
|
driverParam: string;
|
|
1117
1117
|
notNull: true;
|
|
1118
1118
|
hasDefault: false;
|
|
@@ -1125,7 +1125,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1125
1125
|
generated: undefined;
|
|
1126
1126
|
}, {}, {
|
|
1127
1127
|
length: number | undefined;
|
|
1128
|
-
$type: "
|
|
1128
|
+
$type: "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "FAILED" | "CANCELLED" | "COMPLETED";
|
|
1129
1129
|
}>;
|
|
1130
1130
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1131
1131
|
name: "status_reason";
|
|
@@ -262,7 +262,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
262
262
|
tableName: "account_identifier";
|
|
263
263
|
dataType: "string";
|
|
264
264
|
columnType: "SQLiteText";
|
|
265
|
-
data: "
|
|
265
|
+
data: "IBAN" | "LOCAL_CZ" | "SWIFT" | "CRYPTO_ADDRESS";
|
|
266
266
|
driverParam: string;
|
|
267
267
|
notNull: true;
|
|
268
268
|
hasDefault: false;
|
|
@@ -275,7 +275,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
275
275
|
generated: undefined;
|
|
276
276
|
}, {}, {
|
|
277
277
|
length: number | undefined;
|
|
278
|
-
$type: "
|
|
278
|
+
$type: "IBAN" | "LOCAL_CZ" | "SWIFT" | "CRYPTO_ADDRESS";
|
|
279
279
|
}>;
|
|
280
280
|
iban: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
281
281
|
name: "iban";
|
|
@@ -1000,7 +1000,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1000
1000
|
tableName: "transaction";
|
|
1001
1001
|
dataType: "string";
|
|
1002
1002
|
columnType: "SQLiteText";
|
|
1003
|
-
data: "
|
|
1003
|
+
data: "PAYMENT" | "EXCHANGE" | "ORDER";
|
|
1004
1004
|
driverParam: string;
|
|
1005
1005
|
notNull: true;
|
|
1006
1006
|
hasDefault: false;
|
|
@@ -1013,7 +1013,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1013
1013
|
generated: undefined;
|
|
1014
1014
|
}, {}, {
|
|
1015
1015
|
length: number | undefined;
|
|
1016
|
-
$type: "
|
|
1016
|
+
$type: "PAYMENT" | "EXCHANGE" | "ORDER";
|
|
1017
1017
|
}>;
|
|
1018
1018
|
referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1019
1019
|
name: "reference_id";
|
|
@@ -1039,7 +1039,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1039
1039
|
tableName: "transaction";
|
|
1040
1040
|
dataType: "string";
|
|
1041
1041
|
columnType: "SQLiteText";
|
|
1042
|
-
data: "
|
|
1042
|
+
data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1043
1043
|
driverParam: string;
|
|
1044
1044
|
notNull: true;
|
|
1045
1045
|
hasDefault: false;
|
|
@@ -1052,7 +1052,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1052
1052
|
generated: undefined;
|
|
1053
1053
|
}, {}, {
|
|
1054
1054
|
length: number | undefined;
|
|
1055
|
-
$type: "
|
|
1055
|
+
$type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1056
1056
|
}>;
|
|
1057
1057
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1058
1058
|
name: "description";
|
|
@@ -1112,7 +1112,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1112
1112
|
tableName: "transaction";
|
|
1113
1113
|
dataType: "string";
|
|
1114
1114
|
columnType: "SQLiteText";
|
|
1115
|
-
data: "
|
|
1115
|
+
data: "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "FAILED" | "CANCELLED" | "COMPLETED";
|
|
1116
1116
|
driverParam: string;
|
|
1117
1117
|
notNull: true;
|
|
1118
1118
|
hasDefault: false;
|
|
@@ -1125,7 +1125,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1125
1125
|
generated: undefined;
|
|
1126
1126
|
}, {}, {
|
|
1127
1127
|
length: number | undefined;
|
|
1128
|
-
$type: "
|
|
1128
|
+
$type: "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "FAILED" | "CANCELLED" | "COMPLETED";
|
|
1129
1129
|
}>;
|
|
1130
1130
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1131
1131
|
name: "status_reason";
|
|
@@ -262,7 +262,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
262
262
|
tableName: "account_identifier";
|
|
263
263
|
dataType: "string";
|
|
264
264
|
columnType: "SQLiteText";
|
|
265
|
-
data: "
|
|
265
|
+
data: "IBAN" | "LOCAL_CZ" | "SWIFT" | "CRYPTO_ADDRESS";
|
|
266
266
|
driverParam: string;
|
|
267
267
|
notNull: true;
|
|
268
268
|
hasDefault: false;
|
|
@@ -275,7 +275,7 @@ declare const accountIdentifier: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
275
275
|
generated: undefined;
|
|
276
276
|
}, {}, {
|
|
277
277
|
length: number | undefined;
|
|
278
|
-
$type: "
|
|
278
|
+
$type: "IBAN" | "LOCAL_CZ" | "SWIFT" | "CRYPTO_ADDRESS";
|
|
279
279
|
}>;
|
|
280
280
|
iban: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
281
281
|
name: "iban";
|
|
@@ -1000,7 +1000,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1000
1000
|
tableName: "transaction";
|
|
1001
1001
|
dataType: "string";
|
|
1002
1002
|
columnType: "SQLiteText";
|
|
1003
|
-
data: "
|
|
1003
|
+
data: "PAYMENT" | "EXCHANGE" | "ORDER";
|
|
1004
1004
|
driverParam: string;
|
|
1005
1005
|
notNull: true;
|
|
1006
1006
|
hasDefault: false;
|
|
@@ -1013,7 +1013,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1013
1013
|
generated: undefined;
|
|
1014
1014
|
}, {}, {
|
|
1015
1015
|
length: number | undefined;
|
|
1016
|
-
$type: "
|
|
1016
|
+
$type: "PAYMENT" | "EXCHANGE" | "ORDER";
|
|
1017
1017
|
}>;
|
|
1018
1018
|
referenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1019
1019
|
name: "reference_id";
|
|
@@ -1039,7 +1039,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1039
1039
|
tableName: "transaction";
|
|
1040
1040
|
dataType: "string";
|
|
1041
1041
|
columnType: "SQLiteText";
|
|
1042
|
-
data: "
|
|
1042
|
+
data: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1043
1043
|
driverParam: string;
|
|
1044
1044
|
notNull: true;
|
|
1045
1045
|
hasDefault: false;
|
|
@@ -1052,7 +1052,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1052
1052
|
generated: undefined;
|
|
1053
1053
|
}, {}, {
|
|
1054
1054
|
length: number | undefined;
|
|
1055
|
-
$type: "
|
|
1055
|
+
$type: "EXCHANGE" | "CLIENT_FUND_IN" | "CLIENT_FUND_OUT" | "PROVIDER_FUND_IN" | "PROVIDER_FUND_OUT" | "UNMATCHED" | "ADJUSTMENT" | "TRANSFER";
|
|
1056
1056
|
}>;
|
|
1057
1057
|
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1058
1058
|
name: "description";
|
|
@@ -1112,7 +1112,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1112
1112
|
tableName: "transaction";
|
|
1113
1113
|
dataType: "string";
|
|
1114
1114
|
columnType: "SQLiteText";
|
|
1115
|
-
data: "
|
|
1115
|
+
data: "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "FAILED" | "CANCELLED" | "COMPLETED";
|
|
1116
1116
|
driverParam: string;
|
|
1117
1117
|
notNull: true;
|
|
1118
1118
|
hasDefault: false;
|
|
@@ -1125,7 +1125,7 @@ declare const transaction: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1125
1125
|
generated: undefined;
|
|
1126
1126
|
}, {}, {
|
|
1127
1127
|
length: number | undefined;
|
|
1128
|
-
$type: "
|
|
1128
|
+
$type: "WAITING_FOR_PAYMENT" | "PAUSED" | "WAITING_FOR_MANUAL_PROCESSING" | "MATCHED" | "RETURNING" | "RETURNED" | "FAILED" | "CANCELLED" | "COMPLETED";
|
|
1129
1129
|
}>;
|
|
1130
1130
|
statusReason: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1131
1131
|
name: "status_reason";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.DAZkVJGP.mjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
declare const tables: typeof schema;
|
|
@@ -331,9 +331,9 @@ declare const createAccountInputSchema: z.ZodObject<{
|
|
|
331
331
|
}>>;
|
|
332
332
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
333
333
|
kind: z.ZodEnum<{
|
|
334
|
-
SWIFT: "SWIFT";
|
|
335
334
|
IBAN: "IBAN";
|
|
336
335
|
LOCAL_CZ: "LOCAL_CZ";
|
|
336
|
+
SWIFT: "SWIFT";
|
|
337
337
|
CRYPTO_ADDRESS: "CRYPTO_ADDRESS";
|
|
338
338
|
}>;
|
|
339
339
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -403,17 +403,17 @@ interface CreateAccountOutput {
|
|
|
403
403
|
declare const createTransactionInputSchema: z.ZodObject<{
|
|
404
404
|
correlationId: z.ZodString;
|
|
405
405
|
referenceType: z.ZodEnum<{
|
|
406
|
-
EXCHANGE: "EXCHANGE";
|
|
407
406
|
PAYMENT: "PAYMENT";
|
|
407
|
+
EXCHANGE: "EXCHANGE";
|
|
408
408
|
ORDER: "ORDER";
|
|
409
409
|
}>;
|
|
410
410
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
411
411
|
type: z.ZodEnum<{
|
|
412
|
+
EXCHANGE: "EXCHANGE";
|
|
412
413
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
413
414
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
414
415
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
415
416
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
416
|
-
EXCHANGE: "EXCHANGE";
|
|
417
417
|
UNMATCHED: "UNMATCHED";
|
|
418
418
|
ADJUSTMENT: "ADJUSTMENT";
|
|
419
419
|
TRANSFER: "TRANSFER";
|
|
@@ -606,15 +606,15 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
606
606
|
}, z.core.$strip>>;
|
|
607
607
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
608
608
|
status: z.ZodEnum<{
|
|
609
|
-
FAILED: "FAILED";
|
|
610
|
-
COMPLETED: "COMPLETED";
|
|
611
609
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
612
610
|
PAUSED: "PAUSED";
|
|
613
611
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
614
612
|
MATCHED: "MATCHED";
|
|
615
613
|
RETURNING: "RETURNING";
|
|
616
614
|
RETURNED: "RETURNED";
|
|
615
|
+
FAILED: "FAILED";
|
|
617
616
|
CANCELLED: "CANCELLED";
|
|
617
|
+
COMPLETED: "COMPLETED";
|
|
618
618
|
}>;
|
|
619
619
|
}, z.core.$strip>;
|
|
620
620
|
interface CreateTransactionInput extends z.infer<typeof createTransactionInputSchema> {
|
|
@@ -919,15 +919,15 @@ interface UpdateAccountOutput extends AccountSelectType {
|
|
|
919
919
|
declare const updateTransactionInputSchema: z.ZodObject<{
|
|
920
920
|
transactionId: z.ZodUUID;
|
|
921
921
|
status: z.ZodEnum<{
|
|
922
|
-
FAILED: "FAILED";
|
|
923
|
-
COMPLETED: "COMPLETED";
|
|
924
922
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
925
923
|
PAUSED: "PAUSED";
|
|
926
924
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
927
925
|
MATCHED: "MATCHED";
|
|
928
926
|
RETURNING: "RETURNING";
|
|
929
927
|
RETURNED: "RETURNED";
|
|
928
|
+
FAILED: "FAILED";
|
|
930
929
|
CANCELLED: "CANCELLED";
|
|
930
|
+
COMPLETED: "COMPLETED";
|
|
931
931
|
}>;
|
|
932
932
|
completedAt: z.ZodOptional<z.ZodDate>;
|
|
933
933
|
}, z.core.$strip>;
|
|
@@ -946,8 +946,8 @@ interface GetTransactionByIdOutput extends TransactionSelectType {
|
|
|
946
946
|
|
|
947
947
|
declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
|
|
948
948
|
referenceType: z.ZodEnum<{
|
|
949
|
-
EXCHANGE: "EXCHANGE";
|
|
950
949
|
PAYMENT: "PAYMENT";
|
|
950
|
+
EXCHANGE: "EXCHANGE";
|
|
951
951
|
ORDER: "ORDER";
|
|
952
952
|
}>;
|
|
953
953
|
referenceId: z.ZodUUID;
|
|
@@ -969,17 +969,17 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
969
969
|
}, z.core.$strip>;
|
|
970
970
|
filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
|
|
971
971
|
filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
|
|
972
|
-
EXCHANGE: "EXCHANGE";
|
|
973
972
|
PAYMENT: "PAYMENT";
|
|
973
|
+
EXCHANGE: "EXCHANGE";
|
|
974
974
|
ORDER: "ORDER";
|
|
975
975
|
}>>;
|
|
976
976
|
filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
|
|
977
977
|
filterTransactionType: z.ZodOptional<z.ZodEnum<{
|
|
978
|
+
EXCHANGE: "EXCHANGE";
|
|
978
979
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
979
980
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
980
981
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
981
982
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
982
|
-
EXCHANGE: "EXCHANGE";
|
|
983
983
|
UNMATCHED: "UNMATCHED";
|
|
984
984
|
ADJUSTMENT: "ADJUSTMENT";
|
|
985
985
|
TRANSFER: "TRANSFER";
|
|
@@ -989,15 +989,15 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
989
989
|
filterTransactionDateTo: z.ZodOptional<z.ZodDate>;
|
|
990
990
|
filterTransactionCompletedAt: z.ZodOptional<z.ZodDate>;
|
|
991
991
|
filterTransactionStatus: z.ZodOptional<z.ZodEnum<{
|
|
992
|
-
FAILED: "FAILED";
|
|
993
|
-
COMPLETED: "COMPLETED";
|
|
994
992
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
995
993
|
PAUSED: "PAUSED";
|
|
996
994
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
997
995
|
MATCHED: "MATCHED";
|
|
998
996
|
RETURNING: "RETURNING";
|
|
999
997
|
RETURNED: "RETURNED";
|
|
998
|
+
FAILED: "FAILED";
|
|
1000
999
|
CANCELLED: "CANCELLED";
|
|
1000
|
+
COMPLETED: "COMPLETED";
|
|
1001
1001
|
}>>;
|
|
1002
1002
|
search: z.ZodOptional<z.ZodString>;
|
|
1003
1003
|
}, z.core.$strip>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.DAZkVJGP.js';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
declare const tables: typeof schema;
|
|
@@ -331,9 +331,9 @@ declare const createAccountInputSchema: z.ZodObject<{
|
|
|
331
331
|
}>>;
|
|
332
332
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
333
333
|
kind: z.ZodEnum<{
|
|
334
|
-
SWIFT: "SWIFT";
|
|
335
334
|
IBAN: "IBAN";
|
|
336
335
|
LOCAL_CZ: "LOCAL_CZ";
|
|
336
|
+
SWIFT: "SWIFT";
|
|
337
337
|
CRYPTO_ADDRESS: "CRYPTO_ADDRESS";
|
|
338
338
|
}>;
|
|
339
339
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -403,17 +403,17 @@ interface CreateAccountOutput {
|
|
|
403
403
|
declare const createTransactionInputSchema: z.ZodObject<{
|
|
404
404
|
correlationId: z.ZodString;
|
|
405
405
|
referenceType: z.ZodEnum<{
|
|
406
|
-
EXCHANGE: "EXCHANGE";
|
|
407
406
|
PAYMENT: "PAYMENT";
|
|
407
|
+
EXCHANGE: "EXCHANGE";
|
|
408
408
|
ORDER: "ORDER";
|
|
409
409
|
}>;
|
|
410
410
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
411
411
|
type: z.ZodEnum<{
|
|
412
|
+
EXCHANGE: "EXCHANGE";
|
|
412
413
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
413
414
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
414
415
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
415
416
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
416
|
-
EXCHANGE: "EXCHANGE";
|
|
417
417
|
UNMATCHED: "UNMATCHED";
|
|
418
418
|
ADJUSTMENT: "ADJUSTMENT";
|
|
419
419
|
TRANSFER: "TRANSFER";
|
|
@@ -606,15 +606,15 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
606
606
|
}, z.core.$strip>>;
|
|
607
607
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
608
608
|
status: z.ZodEnum<{
|
|
609
|
-
FAILED: "FAILED";
|
|
610
|
-
COMPLETED: "COMPLETED";
|
|
611
609
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
612
610
|
PAUSED: "PAUSED";
|
|
613
611
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
614
612
|
MATCHED: "MATCHED";
|
|
615
613
|
RETURNING: "RETURNING";
|
|
616
614
|
RETURNED: "RETURNED";
|
|
615
|
+
FAILED: "FAILED";
|
|
617
616
|
CANCELLED: "CANCELLED";
|
|
617
|
+
COMPLETED: "COMPLETED";
|
|
618
618
|
}>;
|
|
619
619
|
}, z.core.$strip>;
|
|
620
620
|
interface CreateTransactionInput extends z.infer<typeof createTransactionInputSchema> {
|
|
@@ -919,15 +919,15 @@ interface UpdateAccountOutput extends AccountSelectType {
|
|
|
919
919
|
declare const updateTransactionInputSchema: z.ZodObject<{
|
|
920
920
|
transactionId: z.ZodUUID;
|
|
921
921
|
status: z.ZodEnum<{
|
|
922
|
-
FAILED: "FAILED";
|
|
923
|
-
COMPLETED: "COMPLETED";
|
|
924
922
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
925
923
|
PAUSED: "PAUSED";
|
|
926
924
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
927
925
|
MATCHED: "MATCHED";
|
|
928
926
|
RETURNING: "RETURNING";
|
|
929
927
|
RETURNED: "RETURNED";
|
|
928
|
+
FAILED: "FAILED";
|
|
930
929
|
CANCELLED: "CANCELLED";
|
|
930
|
+
COMPLETED: "COMPLETED";
|
|
931
931
|
}>;
|
|
932
932
|
completedAt: z.ZodOptional<z.ZodDate>;
|
|
933
933
|
}, z.core.$strip>;
|
|
@@ -946,8 +946,8 @@ interface GetTransactionByIdOutput extends TransactionSelectType {
|
|
|
946
946
|
|
|
947
947
|
declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
|
|
948
948
|
referenceType: z.ZodEnum<{
|
|
949
|
-
EXCHANGE: "EXCHANGE";
|
|
950
949
|
PAYMENT: "PAYMENT";
|
|
950
|
+
EXCHANGE: "EXCHANGE";
|
|
951
951
|
ORDER: "ORDER";
|
|
952
952
|
}>;
|
|
953
953
|
referenceId: z.ZodUUID;
|
|
@@ -969,17 +969,17 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
969
969
|
}, z.core.$strip>;
|
|
970
970
|
filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
|
|
971
971
|
filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
|
|
972
|
-
EXCHANGE: "EXCHANGE";
|
|
973
972
|
PAYMENT: "PAYMENT";
|
|
973
|
+
EXCHANGE: "EXCHANGE";
|
|
974
974
|
ORDER: "ORDER";
|
|
975
975
|
}>>;
|
|
976
976
|
filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
|
|
977
977
|
filterTransactionType: z.ZodOptional<z.ZodEnum<{
|
|
978
|
+
EXCHANGE: "EXCHANGE";
|
|
978
979
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
979
980
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
980
981
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
981
982
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
982
|
-
EXCHANGE: "EXCHANGE";
|
|
983
983
|
UNMATCHED: "UNMATCHED";
|
|
984
984
|
ADJUSTMENT: "ADJUSTMENT";
|
|
985
985
|
TRANSFER: "TRANSFER";
|
|
@@ -989,15 +989,15 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
989
989
|
filterTransactionDateTo: z.ZodOptional<z.ZodDate>;
|
|
990
990
|
filterTransactionCompletedAt: z.ZodOptional<z.ZodDate>;
|
|
991
991
|
filterTransactionStatus: z.ZodOptional<z.ZodEnum<{
|
|
992
|
-
FAILED: "FAILED";
|
|
993
|
-
COMPLETED: "COMPLETED";
|
|
994
992
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
995
993
|
PAUSED: "PAUSED";
|
|
996
994
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
997
995
|
MATCHED: "MATCHED";
|
|
998
996
|
RETURNING: "RETURNING";
|
|
999
997
|
RETURNED: "RETURNED";
|
|
998
|
+
FAILED: "FAILED";
|
|
1000
999
|
CANCELLED: "CANCELLED";
|
|
1000
|
+
COMPLETED: "COMPLETED";
|
|
1001
1001
|
}>>;
|
|
1002
1002
|
search: z.ZodOptional<z.ZodString>;
|
|
1003
1003
|
}, z.core.$strip>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { D as schema } from './ledger.
|
|
2
|
+
import { D as schema } from './ledger.DAZkVJGP.cjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
declare const tables: typeof schema;
|
|
@@ -331,9 +331,9 @@ declare const createAccountInputSchema: z.ZodObject<{
|
|
|
331
331
|
}>>;
|
|
332
332
|
identifier: z.ZodOptional<z.ZodObject<{
|
|
333
333
|
kind: z.ZodEnum<{
|
|
334
|
-
SWIFT: "SWIFT";
|
|
335
334
|
IBAN: "IBAN";
|
|
336
335
|
LOCAL_CZ: "LOCAL_CZ";
|
|
336
|
+
SWIFT: "SWIFT";
|
|
337
337
|
CRYPTO_ADDRESS: "CRYPTO_ADDRESS";
|
|
338
338
|
}>;
|
|
339
339
|
iban: z.ZodOptional<z.ZodString>;
|
|
@@ -403,17 +403,17 @@ interface CreateAccountOutput {
|
|
|
403
403
|
declare const createTransactionInputSchema: z.ZodObject<{
|
|
404
404
|
correlationId: z.ZodString;
|
|
405
405
|
referenceType: z.ZodEnum<{
|
|
406
|
-
EXCHANGE: "EXCHANGE";
|
|
407
406
|
PAYMENT: "PAYMENT";
|
|
407
|
+
EXCHANGE: "EXCHANGE";
|
|
408
408
|
ORDER: "ORDER";
|
|
409
409
|
}>;
|
|
410
410
|
referenceId: z.ZodOptional<z.ZodString>;
|
|
411
411
|
type: z.ZodEnum<{
|
|
412
|
+
EXCHANGE: "EXCHANGE";
|
|
412
413
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
413
414
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
414
415
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
415
416
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
416
|
-
EXCHANGE: "EXCHANGE";
|
|
417
417
|
UNMATCHED: "UNMATCHED";
|
|
418
418
|
ADJUSTMENT: "ADJUSTMENT";
|
|
419
419
|
TRANSFER: "TRANSFER";
|
|
@@ -606,15 +606,15 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
606
606
|
}, z.core.$strip>>;
|
|
607
607
|
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
608
608
|
status: z.ZodEnum<{
|
|
609
|
-
FAILED: "FAILED";
|
|
610
|
-
COMPLETED: "COMPLETED";
|
|
611
609
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
612
610
|
PAUSED: "PAUSED";
|
|
613
611
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
614
612
|
MATCHED: "MATCHED";
|
|
615
613
|
RETURNING: "RETURNING";
|
|
616
614
|
RETURNED: "RETURNED";
|
|
615
|
+
FAILED: "FAILED";
|
|
617
616
|
CANCELLED: "CANCELLED";
|
|
617
|
+
COMPLETED: "COMPLETED";
|
|
618
618
|
}>;
|
|
619
619
|
}, z.core.$strip>;
|
|
620
620
|
interface CreateTransactionInput extends z.infer<typeof createTransactionInputSchema> {
|
|
@@ -919,15 +919,15 @@ interface UpdateAccountOutput extends AccountSelectType {
|
|
|
919
919
|
declare const updateTransactionInputSchema: z.ZodObject<{
|
|
920
920
|
transactionId: z.ZodUUID;
|
|
921
921
|
status: z.ZodEnum<{
|
|
922
|
-
FAILED: "FAILED";
|
|
923
|
-
COMPLETED: "COMPLETED";
|
|
924
922
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
925
923
|
PAUSED: "PAUSED";
|
|
926
924
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
927
925
|
MATCHED: "MATCHED";
|
|
928
926
|
RETURNING: "RETURNING";
|
|
929
927
|
RETURNED: "RETURNED";
|
|
928
|
+
FAILED: "FAILED";
|
|
930
929
|
CANCELLED: "CANCELLED";
|
|
930
|
+
COMPLETED: "COMPLETED";
|
|
931
931
|
}>;
|
|
932
932
|
completedAt: z.ZodOptional<z.ZodDate>;
|
|
933
933
|
}, z.core.$strip>;
|
|
@@ -946,8 +946,8 @@ interface GetTransactionByIdOutput extends TransactionSelectType {
|
|
|
946
946
|
|
|
947
947
|
declare const getTransactionsByReferenceIdInputSchema: z.ZodObject<{
|
|
948
948
|
referenceType: z.ZodEnum<{
|
|
949
|
-
EXCHANGE: "EXCHANGE";
|
|
950
949
|
PAYMENT: "PAYMENT";
|
|
950
|
+
EXCHANGE: "EXCHANGE";
|
|
951
951
|
ORDER: "ORDER";
|
|
952
952
|
}>;
|
|
953
953
|
referenceId: z.ZodUUID;
|
|
@@ -969,17 +969,17 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
969
969
|
}, z.core.$strip>;
|
|
970
970
|
filterTransactionCorrelationId: z.ZodOptional<z.ZodUUID>;
|
|
971
971
|
filterTransactionReferenceType: z.ZodOptional<z.ZodEnum<{
|
|
972
|
-
EXCHANGE: "EXCHANGE";
|
|
973
972
|
PAYMENT: "PAYMENT";
|
|
973
|
+
EXCHANGE: "EXCHANGE";
|
|
974
974
|
ORDER: "ORDER";
|
|
975
975
|
}>>;
|
|
976
976
|
filterTransactionReferenceId: z.ZodOptional<z.ZodUUID>;
|
|
977
977
|
filterTransactionType: z.ZodOptional<z.ZodEnum<{
|
|
978
|
+
EXCHANGE: "EXCHANGE";
|
|
978
979
|
CLIENT_FUND_IN: "CLIENT_FUND_IN";
|
|
979
980
|
CLIENT_FUND_OUT: "CLIENT_FUND_OUT";
|
|
980
981
|
PROVIDER_FUND_IN: "PROVIDER_FUND_IN";
|
|
981
982
|
PROVIDER_FUND_OUT: "PROVIDER_FUND_OUT";
|
|
982
|
-
EXCHANGE: "EXCHANGE";
|
|
983
983
|
UNMATCHED: "UNMATCHED";
|
|
984
984
|
ADJUSTMENT: "ADJUSTMENT";
|
|
985
985
|
TRANSFER: "TRANSFER";
|
|
@@ -989,15 +989,15 @@ declare const getTransactionsInputSchema: z.ZodObject<{
|
|
|
989
989
|
filterTransactionDateTo: z.ZodOptional<z.ZodDate>;
|
|
990
990
|
filterTransactionCompletedAt: z.ZodOptional<z.ZodDate>;
|
|
991
991
|
filterTransactionStatus: z.ZodOptional<z.ZodEnum<{
|
|
992
|
-
FAILED: "FAILED";
|
|
993
|
-
COMPLETED: "COMPLETED";
|
|
994
992
|
WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
|
|
995
993
|
PAUSED: "PAUSED";
|
|
996
994
|
WAITING_FOR_MANUAL_PROCESSING: "WAITING_FOR_MANUAL_PROCESSING";
|
|
997
995
|
MATCHED: "MATCHED";
|
|
998
996
|
RETURNING: "RETURNING";
|
|
999
997
|
RETURNED: "RETURNED";
|
|
998
|
+
FAILED: "FAILED";
|
|
1000
999
|
CANCELLED: "CANCELLED";
|
|
1000
|
+
COMPLETED: "COMPLETED";
|
|
1001
1001
|
}>>;
|
|
1002
1002
|
search: z.ZodOptional<z.ZodString>;
|
|
1003
1003
|
}, z.core.$strip>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develit-services/ledger",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"author": "Develit.io s.r.o.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"drizzle-kit": "^0.31.5",
|
|
54
54
|
"drizzle-orm": "^0.44.6",
|
|
55
55
|
"drizzle-seed": "^0.3.1",
|
|
56
|
-
"wrangler": "^4.
|
|
56
|
+
"wrangler": "^4.43.0",
|
|
57
57
|
"zod": "^4.1.12"
|
|
58
58
|
}
|
|
59
59
|
}
|