@develit-services/ledger 0.3.0 → 0.3.1

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.mts CHANGED
@@ -1,7 +1,7 @@
1
- export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.D9n1klaX.mjs';
2
- import { T as TransactionSelectType } from './shared/ledger.o5dDJQGc.mjs';
3
- export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.o5dDJQGc.mjs';
4
- export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.mjs';
1
+ export { A as ACCOUNT_TYPES, a as ASSET_TYPES, b as AccountType, c as AssetType, B as BALANCE_STRATEGIES, d as BATCH_STATUSES, e as BalanceStrategy, f as BankCode, g as BatchStatus, C as COUNTRY_CODES, h as CountryCode, i as CryptoNetworkCode, j as Currency, k as CurrencyCode, E as ENTRY_STATUSES, l as EntryMetadata, m as EntryStatus, I as IDENTIFIER_KINDS, n as IdentifierKind, P as PAYMENT_CHARGE_TYPES, o as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, q as PAYMENT_TYPES, r as PaymentChargeType, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as ReferenceType, T as TRANSACTION_STATUSES, w as TRANSACTION_TYPES, x as TransactionMetadata, y as TransactionStatus, z as TransactionType } from './shared/ledger.Ci2NnLFo.mjs';
2
+ import { T as TransactionSelectType } from './shared/ledger.C63GL8Bq.mjs';
3
+ export { I as AccountIdentifierInsertType, J as AccountIdentifierMappingInsertType, K as AccountIdentifierMappingSelectType, N as AccountIdentifierSelectType, O as AccountInsertType, P as AccountSelectType, Q as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, R as IncludeRelation, S as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, V as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a0 as getAccountBalanceInputSchema, a1 as getAccountIdentifierInputSchema, a2 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a5 as getTransactionsByReferenceIdInputSchema, a6 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.C63GL8Bq.mjs';
4
+ export { a as LedgerServiceEnv, b as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.VQWxyeV6.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';
7
7
  import 'drizzle-orm';
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { A as ACCOUNT_TYPES, b as ASSET_TYPES, a as AccountType, c as AssetType, B as BALANCE_STRATEGIES, u as BATCH_STATUSES, d as BalanceStrategy, x as BankCode, v as BatchStatus, y as COUNTRY_CODES, z as CountryCode, C as CryptoNetworkCode, w as Currency, t as CurrencyCode, E as ENTRY_STATUSES, o as EntryMetadata, f as EntryStatus, I as IDENTIFIER_KINDS, e as IdentifierKind, P as PAYMENT_CHARGE_TYPES, r as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, l as PAYMENT_TYPES, k as PaymentChargeType, s as PaymentDirection, q as PaymentStatus, m as PaymentType, R as REFERENCE_TYPES, j as ReferenceType, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, n as TransactionMetadata, g as TransactionStatus, i as TransactionType } from './shared/ledger.D9n1klaX.js';
2
- import { T as TransactionSelectType } from './shared/ledger.DHX1YtaC.js';
3
- export { P as AccountIdentifierInsertType, R as AccountIdentifierMappingInsertType, Q as AccountIdentifierMappingSelectType, O as AccountIdentifierSelectType, N as AccountInsertType, K as AccountSelectType, V as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, I as IncludeRelation, J as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, S as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a1 as getAccountBalanceInputSchema, a2 as getAccountIdentifierInputSchema, a0 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a6 as getTransactionsByReferenceIdInputSchema, a5 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.DHX1YtaC.js';
4
- export { b as LedgerServiceEnv, a as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.Ce2yPDUS.js';
1
+ export { A as ACCOUNT_TYPES, a as ASSET_TYPES, b as AccountType, c as AssetType, B as BALANCE_STRATEGIES, d as BATCH_STATUSES, e as BalanceStrategy, f as BankCode, g as BatchStatus, C as COUNTRY_CODES, h as CountryCode, i as CryptoNetworkCode, j as Currency, k as CurrencyCode, E as ENTRY_STATUSES, l as EntryMetadata, m as EntryStatus, I as IDENTIFIER_KINDS, n as IdentifierKind, P as PAYMENT_CHARGE_TYPES, o as PAYMENT_DIRECTIONS, p as PAYMENT_STATUSES, q as PAYMENT_TYPES, r as PaymentChargeType, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as ReferenceType, T as TRANSACTION_STATUSES, w as TRANSACTION_TYPES, x as TransactionMetadata, y as TransactionStatus, z as TransactionType } from './shared/ledger.Ci2NnLFo.js';
2
+ import { T as TransactionSelectType } from './shared/ledger.Bombc2Sm.js';
3
+ export { I as AccountIdentifierInsertType, J as AccountIdentifierMappingInsertType, K as AccountIdentifierMappingSelectType, N as AccountIdentifierSelectType, O as AccountInsertType, P as AccountSelectType, Q as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, k as CreateAccountInput, l as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, n as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, y as FindAccountByIdentifierInput, z as FindAccountByIdentifierOutput, A as GetAccountBalanceInput, B as GetAccountBalanceOutput, u as GetAccountIdentifierInput, v as GetAccountIdentifierOutput, o as GetAccountInput, p as GetAccountOutput, q as GetAccountsByOwnerInput, r as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, f as GetTransactionByIdOutput, g as GetTransactionsByIdReferenceInput, h as GetTransactionsByReferenceIdOutput, i as GetTransactionsInput, j as GetTransactionsOutput, R as IncludeRelation, S as InferResultType, w as ListAccountIdentifiersInput, x as ListAccountIdentifiersOutput, L as ListAccountsInput, s as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, V as TransactionInsertType, U as UpdateAccountInput, m as UpdateAccountOutput, E as UpdateTransactionConfirmationSentAtInput, H as UpdateTransactionConfirmationSentAtOutput, W as cancelTransactionInputSchema, X as createAccountInputSchema, Y as createTransactionInputSchema, Z as deleteAccountInputSchema, _ as failTransactionInputSchema, $ as findAccountByIdentifierInputSchema, a0 as getAccountBalanceInputSchema, a1 as getAccountIdentifierInputSchema, a2 as getAccountInputSchema, a3 as getAccountsByOwnerInputSchema, a4 as getTransactionByIdInputSchema, a5 as getTransactionsByReferenceIdInputSchema, a6 as getTransactionsInputSchema, a7 as listAccountIdentifiersInputSchema, a8 as listAccountsInputSchema, a9 as matchTransactionInputSchema, aa as updateAccountInputSchema, ab as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.Bombc2Sm.js';
4
+ export { a as LedgerServiceEnv, b as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.VQWxyeV6.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';
7
7
  import 'drizzle-orm';
package/dist/types.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ACCOUNT_TYPES, d as ALLOWED_TRANSACTION_FILTERS, a as ASSET_TYPES, B as BALANCE_STRATEGIES, y as BATCH_STATUSES, C as COUNTRY_CODES, E as ENTRY_STATUSES, I as IDENTIFIER_KINDS, P as PAYMENT_CHARGE_TYPES, x as PAYMENT_DIRECTIONS, w as PAYMENT_STATUSES, c as PAYMENT_TYPES, R as REFERENCE_TYPES, T as TRANSACTION_STATUSES, b as TRANSACTION_TYPES, e as cancelTransactionInputSchema, f as createAccountInputSchema, g as createTransactionInputSchema, h as deleteAccountInputSchema, i as failTransactionInputSchema, j as findAccountByIdentifierInputSchema, l as getAccountBalanceInputSchema, m as getAccountIdentifierInputSchema, k as getAccountInputSchema, n as getAccountsByOwnerInputSchema, o as getTransactionByIdInputSchema, q as getTransactionsByReferenceIdInputSchema, p as getTransactionsInputSchema, r as listAccountIdentifiersInputSchema, s as listAccountsInputSchema, t as matchTransactionInputSchema, u as updateAccountInputSchema, v as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.229hTbXo.mjs';
1
+ export { A as ACCOUNT_TYPES, a as ALLOWED_TRANSACTION_FILTERS, b as ASSET_TYPES, B as BALANCE_STRATEGIES, c as BATCH_STATUSES, C as COUNTRY_CODES, E as ENTRY_STATUSES, I as IDENTIFIER_KINDS, P as PAYMENT_CHARGE_TYPES, d as PAYMENT_DIRECTIONS, e as PAYMENT_STATUSES, f as PAYMENT_TYPES, R as REFERENCE_TYPES, T as TRANSACTION_STATUSES, g as TRANSACTION_TYPES, h as cancelTransactionInputSchema, i as createAccountInputSchema, j as createTransactionInputSchema, k as deleteAccountInputSchema, l as failTransactionInputSchema, m as findAccountByIdentifierInputSchema, n as getAccountBalanceInputSchema, o as getAccountIdentifierInputSchema, p as getAccountInputSchema, q as getAccountsByOwnerInputSchema, r as getTransactionByIdInputSchema, s as getTransactionsByReferenceIdInputSchema, t as getTransactionsInputSchema, u as listAccountIdentifiersInputSchema, v as listAccountsInputSchema, w as matchTransactionInputSchema, x as updateAccountInputSchema, y as updateTransactionConfirmationSentAtInputSchema } from './shared/ledger.DkcYdsVZ.mjs';
2
2
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
3
3
  import 'zod';
4
4
  import '@develit-io/backend-sdk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/ledger",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -45,6 +45,9 @@
45
45
  "test:int": "vitest integration",
46
46
  "build": "unbuild"
47
47
  },
48
+ "dependencies": {
49
+ "@cloudflare/workers-types": "^4.20251202.0"
50
+ },
48
51
  "peerDependencies": {
49
52
  "@develit-io/backend-sdk": "^9.8.1",
50
53
  "@develit-io/general-codes": "^1.14.0",