@develit-services/ledger 0.3.3 → 0.3.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/database/schema.cjs +2 -2
- 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/database/schema.mjs +2 -2
- package/dist/export/worker.cjs +2 -2
- 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 +2 -2
- package/dist/shared/{ledger.BeDlCGN3.d.ts → ledger.BZeNQHQ7.d.cts} +5 -2
- package/dist/shared/{ledger.DWO4eS7Q.mjs → ledger.Bb6l1o9P.mjs} +3 -3
- package/dist/shared/{ledger.QNHpaH-m.cjs → ledger.Bmi7Cafn.cjs} +3 -3
- package/dist/shared/{ledger.aRF1eJOD.d.cts → ledger.CT5yBFAm.d.cts} +517 -36
- package/dist/shared/{ledger.aRF1eJOD.d.ts → ledger.CT5yBFAm.d.mts} +517 -36
- package/dist/shared/{ledger.aRF1eJOD.d.mts → ledger.CT5yBFAm.d.ts} +517 -36
- package/dist/shared/{ledger.OvxTlwqn.d.cts → ledger.Cn5pQymQ.d.mts} +5 -2
- package/dist/shared/{ledger.rYDhcjdG.d.mts → ledger.DKJ1Mplk.d.ts} +5 -2
- package/dist/shared/{ledger.B-gGCFFu.mjs → ledger.DKVdStuQ.mjs} +1 -1
- package/dist/shared/{ledger._WA8Ag9K.cjs → ledger.V5SF3fcq.cjs} +1 -1
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +3 -3
- package/dist/types.d.mts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/types.mjs +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { F as schema } from './ledger.
|
|
2
|
+
import { F as schema } from './ledger.CT5yBFAm.mjs';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -326,6 +326,7 @@ declare const createAccountInputSchema: z.ZodObject<{
|
|
|
326
326
|
UA: "UA";
|
|
327
327
|
AE: "AE";
|
|
328
328
|
GB: "GB";
|
|
329
|
+
US: "US";
|
|
329
330
|
UZ: "UZ";
|
|
330
331
|
VU: "VU";
|
|
331
332
|
VE: "VE";
|
|
@@ -449,7 +450,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
449
450
|
SEPA: "SEPA";
|
|
450
451
|
UNKNOWN: "UNKNOWN";
|
|
451
452
|
}>;
|
|
452
|
-
|
|
453
|
+
chargeBearer: z.ZodOptional<z.ZodEnum<{
|
|
453
454
|
SHA: "SHA";
|
|
454
455
|
OUR: "OUR";
|
|
455
456
|
BEN: "BEN";
|
|
@@ -769,6 +770,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
769
770
|
UA: "UA";
|
|
770
771
|
AE: "AE";
|
|
771
772
|
GB: "GB";
|
|
773
|
+
US: "US";
|
|
772
774
|
UZ: "UZ";
|
|
773
775
|
VU: "VU";
|
|
774
776
|
VE: "VE";
|
|
@@ -1098,6 +1100,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
1098
1100
|
UA: "UA";
|
|
1099
1101
|
AE: "AE";
|
|
1100
1102
|
GB: "GB";
|
|
1103
|
+
US: "US";
|
|
1101
1104
|
UZ: "UZ";
|
|
1102
1105
|
VU: "VU";
|
|
1103
1106
|
VE: "VE";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { F as schema } from './ledger.
|
|
2
|
+
import { F as schema } from './ledger.CT5yBFAm.js';
|
|
3
3
|
import { InferSelectModel, ExtractTablesWithRelations, DBQueryConfig, BuildQueryResult, InferInsertModel } from 'drizzle-orm';
|
|
4
4
|
|
|
5
5
|
interface TSchema extends ExtractTablesWithRelations<typeof tables> {
|
|
@@ -326,6 +326,7 @@ declare const createAccountInputSchema: z.ZodObject<{
|
|
|
326
326
|
UA: "UA";
|
|
327
327
|
AE: "AE";
|
|
328
328
|
GB: "GB";
|
|
329
|
+
US: "US";
|
|
329
330
|
UZ: "UZ";
|
|
330
331
|
VU: "VU";
|
|
331
332
|
VE: "VE";
|
|
@@ -449,7 +450,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
449
450
|
SEPA: "SEPA";
|
|
450
451
|
UNKNOWN: "UNKNOWN";
|
|
451
452
|
}>;
|
|
452
|
-
|
|
453
|
+
chargeBearer: z.ZodOptional<z.ZodEnum<{
|
|
453
454
|
SHA: "SHA";
|
|
454
455
|
OUR: "OUR";
|
|
455
456
|
BEN: "BEN";
|
|
@@ -769,6 +770,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
769
770
|
UA: "UA";
|
|
770
771
|
AE: "AE";
|
|
771
772
|
GB: "GB";
|
|
773
|
+
US: "US";
|
|
772
774
|
UZ: "UZ";
|
|
773
775
|
VU: "VU";
|
|
774
776
|
VE: "VE";
|
|
@@ -1098,6 +1100,7 @@ declare const createTransactionInputSchema: z.ZodObject<{
|
|
|
1098
1100
|
UA: "UA";
|
|
1099
1101
|
AE: "AE";
|
|
1100
1102
|
GB: "GB";
|
|
1103
|
+
US: "US";
|
|
1101
1104
|
UZ: "UZ";
|
|
1102
1105
|
VU: "VU";
|
|
1103
1106
|
VE: "VE";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base } from '@develit-io/backend-sdk';
|
|
2
2
|
import { relations } from 'drizzle-orm';
|
|
3
3
|
import { sqliteTable, integer, text, real } from 'drizzle-orm/sqlite-core';
|
|
4
|
-
import { T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, R as REFERENCE_TYPES } from './ledger.
|
|
4
|
+
import { T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, R as REFERENCE_TYPES } from './ledger.Bb6l1o9P.mjs';
|
|
5
5
|
import '@develit-io/general-codes';
|
|
6
6
|
|
|
7
7
|
const account = sqliteTable("account", {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const backendSdk = require('@develit-io/backend-sdk');
|
|
4
4
|
const drizzleOrm = require('drizzle-orm');
|
|
5
5
|
const sqliteCore = require('drizzle-orm/sqlite-core');
|
|
6
|
-
const updateTransactionStatus = require('./ledger.
|
|
6
|
+
const updateTransactionStatus = require('./ledger.Bmi7Cafn.cjs');
|
|
7
7
|
require('@develit-io/general-codes');
|
|
8
8
|
|
|
9
9
|
const account = sqliteCore.sqliteTable("account", {
|
package/dist/types.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const updateTransactionStatus = require('./shared/ledger.
|
|
3
|
+
const updateTransactionStatus = require('./shared/ledger.Bmi7Cafn.cjs');
|
|
4
4
|
const generalCodes = require('@develit-io/general-codes');
|
|
5
5
|
require('zod');
|
|
6
6
|
require('@develit-io/backend-sdk');
|
|
@@ -12,10 +12,10 @@ exports.ALLOWED_TRANSACTION_FILTERS = updateTransactionStatus.ALLOWED_TRANSACTIO
|
|
|
12
12
|
exports.ASSET_TYPES = updateTransactionStatus.ASSET_TYPES;
|
|
13
13
|
exports.BALANCE_STRATEGIES = updateTransactionStatus.BALANCE_STRATEGIES;
|
|
14
14
|
exports.BATCH_STATUSES = updateTransactionStatus.BATCH_STATUSES;
|
|
15
|
+
exports.CHARGE_BEARERS = updateTransactionStatus.CHARGE_BEARERS;
|
|
15
16
|
exports.COUNTRY_CODES = updateTransactionStatus.COUNTRY_CODES;
|
|
16
17
|
exports.ENTRY_STATUSES = updateTransactionStatus.ENTRY_STATUSES;
|
|
17
18
|
exports.IDENTIFIER_KINDS = updateTransactionStatus.IDENTIFIER_KINDS;
|
|
18
|
-
exports.PAYMENT_CHARGE_TYPES = updateTransactionStatus.PAYMENT_CHARGE_TYPES;
|
|
19
19
|
exports.PAYMENT_DIRECTIONS = updateTransactionStatus.PAYMENT_DIRECTIONS;
|
|
20
20
|
exports.PAYMENT_STATUSES = updateTransactionStatus.PAYMENT_STATUSES;
|
|
21
21
|
exports.PAYMENT_TYPES = updateTransactionStatus.PAYMENT_TYPES;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { N as AccountIdentifierInsertType, O as AccountIdentifierMappingInsertType, P as AccountIdentifierMappingSelectType, Q as AccountIdentifierSelectType, S as AccountInsertType, V as AccountSelectType, W as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, l as CreateAccountInput, m as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, o as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, z as FindAccountByIdentifierInput, A as FindAccountByIdentifierOutput, B as GetAccountBalanceInput, E as GetAccountBalanceOutput, v as GetAccountIdentifierInput, w as GetAccountIdentifierOutput, p as GetAccountInput, q as GetAccountOutput, r as GetAccountsByOwnerInput, s as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, g as GetTransactionByIdOutput, h as GetTransactionsByIdReferenceInput, i as GetTransactionsByReferenceIdOutput, j as GetTransactionsInput, k as GetTransactionsOutput, X as IncludeRelation, Y as InferResultType, x as ListAccountIdentifiersInput, y as ListAccountIdentifiersOutput, L as ListAccountsInput, u as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as RefundTransactionInput, f as RefundTransactionOutput, Z as TransactionInsertType, U as UpdateAccountInput, n as UpdateAccountOutput, H as UpdateTransactionConfirmationSentAtInput, I as UpdateTransactionConfirmationSentAtOutput, J as UpdateTransactionStatusInput, K as UpdateTransactionStatusOutput, _ as cancelTransactionInputSchema, $ as createAccountInputSchema, a0 as createTransactionInputSchema, a1 as deleteAccountInputSchema, a2 as failTransactionInputSchema, a3 as findAccountByIdentifierInputSchema, a4 as getAccountBalanceInputSchema, a5 as getAccountIdentifierInputSchema, a6 as getAccountInputSchema, a7 as getAccountsByOwnerInputSchema, a8 as getTransactionByIdInputSchema, a9 as getTransactionsByReferenceIdInputSchema, aa as getTransactionsInputSchema, ab as listAccountIdentifiersInputSchema, ac as listAccountsInputSchema, ad as matchTransactionInputSchema, ae as refundTransactionInputSchema, af as updateAccountInputSchema, ag as updateTransactionConfirmationSentAtInputSchema, ah as updateTransactionStatusInputSchema } from './shared/ledger.
|
|
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 CHARGE_BEARERS, h as COUNTRY_CODES, i as ChargeBearer, j as CountryCode, k as CryptoNetworkCode, l as Currency, m as CurrencyCode, E as ENTRY_STATUSES, n as EntryMetadata, o as EntryStatus, I as IDENTIFIER_KINDS, p as IdentifierKind, P as PAYMENT_DIRECTIONS, q as PAYMENT_STATUSES, r as PAYMENT_TYPES, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as REFUNDABLE_TRANSACTION_STATUSES, w as ReferenceType, T as TRANSACTION_STATUSES, x as TRANSACTION_TYPES, y as TransactionMetadata, z as TransactionStatus, D as TransactionType } from './shared/ledger.CT5yBFAm.cjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.BZeNQHQ7.cjs';
|
|
3
|
+
export { N as AccountIdentifierInsertType, O as AccountIdentifierMappingInsertType, P as AccountIdentifierMappingSelectType, Q as AccountIdentifierSelectType, S as AccountInsertType, V as AccountSelectType, W as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, l as CreateAccountInput, m as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, o as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, z as FindAccountByIdentifierInput, A as FindAccountByIdentifierOutput, B as GetAccountBalanceInput, E as GetAccountBalanceOutput, v as GetAccountIdentifierInput, w as GetAccountIdentifierOutput, p as GetAccountInput, q as GetAccountOutput, r as GetAccountsByOwnerInput, s as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, g as GetTransactionByIdOutput, h as GetTransactionsByIdReferenceInput, i as GetTransactionsByReferenceIdOutput, j as GetTransactionsInput, k as GetTransactionsOutput, X as IncludeRelation, Y as InferResultType, x as ListAccountIdentifiersInput, y as ListAccountIdentifiersOutput, L as ListAccountsInput, u as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as RefundTransactionInput, f as RefundTransactionOutput, Z as TransactionInsertType, U as UpdateAccountInput, n as UpdateAccountOutput, H as UpdateTransactionConfirmationSentAtInput, I as UpdateTransactionConfirmationSentAtOutput, J as UpdateTransactionStatusInput, K as UpdateTransactionStatusOutput, _ as cancelTransactionInputSchema, $ as createAccountInputSchema, a0 as createTransactionInputSchema, a1 as deleteAccountInputSchema, a2 as failTransactionInputSchema, a3 as findAccountByIdentifierInputSchema, a4 as getAccountBalanceInputSchema, a5 as getAccountIdentifierInputSchema, a6 as getAccountInputSchema, a7 as getAccountsByOwnerInputSchema, a8 as getTransactionByIdInputSchema, a9 as getTransactionsByReferenceIdInputSchema, aa as getTransactionsInputSchema, ab as listAccountIdentifiersInputSchema, ac as listAccountsInputSchema, ad as matchTransactionInputSchema, ae as refundTransactionInputSchema, af as updateAccountInputSchema, ag as updateTransactionConfirmationSentAtInputSchema, ah as updateTransactionStatusInputSchema } from './shared/ledger.BZeNQHQ7.cjs';
|
|
4
4
|
export { a as LedgerServiceEnv, b as LedgerServiceEnvironmentConfig, L as LedgerServiceWranglerConfig } from './shared/ledger.VQWxyeV6.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, 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
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { N as AccountIdentifierInsertType, O as AccountIdentifierMappingInsertType, P as AccountIdentifierMappingSelectType, Q as AccountIdentifierSelectType, S as AccountInsertType, V as AccountSelectType, W as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, l as CreateAccountInput, m as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, o as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, z as FindAccountByIdentifierInput, A as FindAccountByIdentifierOutput, B as GetAccountBalanceInput, E as GetAccountBalanceOutput, v as GetAccountIdentifierInput, w as GetAccountIdentifierOutput, p as GetAccountInput, q as GetAccountOutput, r as GetAccountsByOwnerInput, s as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, g as GetTransactionByIdOutput, h as GetTransactionsByIdReferenceInput, i as GetTransactionsByReferenceIdOutput, j as GetTransactionsInput, k as GetTransactionsOutput, X as IncludeRelation, Y as InferResultType, x as ListAccountIdentifiersInput, y as ListAccountIdentifiersOutput, L as ListAccountsInput, u as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as RefundTransactionInput, f as RefundTransactionOutput, Z as TransactionInsertType, U as UpdateAccountInput, n as UpdateAccountOutput, H as UpdateTransactionConfirmationSentAtInput, I as UpdateTransactionConfirmationSentAtOutput, J as UpdateTransactionStatusInput, K as UpdateTransactionStatusOutput, _ as cancelTransactionInputSchema, $ as createAccountInputSchema, a0 as createTransactionInputSchema, a1 as deleteAccountInputSchema, a2 as failTransactionInputSchema, a3 as findAccountByIdentifierInputSchema, a4 as getAccountBalanceInputSchema, a5 as getAccountIdentifierInputSchema, a6 as getAccountInputSchema, a7 as getAccountsByOwnerInputSchema, a8 as getTransactionByIdInputSchema, a9 as getTransactionsByReferenceIdInputSchema, aa as getTransactionsInputSchema, ab as listAccountIdentifiersInputSchema, ac as listAccountsInputSchema, ad as matchTransactionInputSchema, ae as refundTransactionInputSchema, af as updateAccountInputSchema, ag as updateTransactionConfirmationSentAtInputSchema, ah as updateTransactionStatusInputSchema } from './shared/ledger.
|
|
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 CHARGE_BEARERS, h as COUNTRY_CODES, i as ChargeBearer, j as CountryCode, k as CryptoNetworkCode, l as Currency, m as CurrencyCode, E as ENTRY_STATUSES, n as EntryMetadata, o as EntryStatus, I as IDENTIFIER_KINDS, p as IdentifierKind, P as PAYMENT_DIRECTIONS, q as PAYMENT_STATUSES, r as PAYMENT_TYPES, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as REFUNDABLE_TRANSACTION_STATUSES, w as ReferenceType, T as TRANSACTION_STATUSES, x as TRANSACTION_TYPES, y as TransactionMetadata, z as TransactionStatus, D as TransactionType } from './shared/ledger.CT5yBFAm.mjs';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.Cn5pQymQ.mjs';
|
|
3
|
+
export { N as AccountIdentifierInsertType, O as AccountIdentifierMappingInsertType, P as AccountIdentifierMappingSelectType, Q as AccountIdentifierSelectType, S as AccountInsertType, V as AccountSelectType, W as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, l as CreateAccountInput, m as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, o as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, z as FindAccountByIdentifierInput, A as FindAccountByIdentifierOutput, B as GetAccountBalanceInput, E as GetAccountBalanceOutput, v as GetAccountIdentifierInput, w as GetAccountIdentifierOutput, p as GetAccountInput, q as GetAccountOutput, r as GetAccountsByOwnerInput, s as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, g as GetTransactionByIdOutput, h as GetTransactionsByIdReferenceInput, i as GetTransactionsByReferenceIdOutput, j as GetTransactionsInput, k as GetTransactionsOutput, X as IncludeRelation, Y as InferResultType, x as ListAccountIdentifiersInput, y as ListAccountIdentifiersOutput, L as ListAccountsInput, u as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as RefundTransactionInput, f as RefundTransactionOutput, Z as TransactionInsertType, U as UpdateAccountInput, n as UpdateAccountOutput, H as UpdateTransactionConfirmationSentAtInput, I as UpdateTransactionConfirmationSentAtOutput, J as UpdateTransactionStatusInput, K as UpdateTransactionStatusOutput, _ as cancelTransactionInputSchema, $ as createAccountInputSchema, a0 as createTransactionInputSchema, a1 as deleteAccountInputSchema, a2 as failTransactionInputSchema, a3 as findAccountByIdentifierInputSchema, a4 as getAccountBalanceInputSchema, a5 as getAccountIdentifierInputSchema, a6 as getAccountInputSchema, a7 as getAccountsByOwnerInputSchema, a8 as getTransactionByIdInputSchema, a9 as getTransactionsByReferenceIdInputSchema, aa as getTransactionsInputSchema, ab as listAccountIdentifiersInputSchema, ac as listAccountsInputSchema, ad as matchTransactionInputSchema, ae as refundTransactionInputSchema, af as updateAccountInputSchema, ag as updateTransactionConfirmationSentAtInputSchema, ah as updateTransactionStatusInputSchema } from './shared/ledger.Cn5pQymQ.mjs';
|
|
4
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';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
2
|
-
import { T as TransactionSelectType } from './shared/ledger.
|
|
3
|
-
export { N as AccountIdentifierInsertType, O as AccountIdentifierMappingInsertType, P as AccountIdentifierMappingSelectType, Q as AccountIdentifierSelectType, S as AccountInsertType, V as AccountSelectType, W as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, l as CreateAccountInput, m as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, o as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, z as FindAccountByIdentifierInput, A as FindAccountByIdentifierOutput, B as GetAccountBalanceInput, E as GetAccountBalanceOutput, v as GetAccountIdentifierInput, w as GetAccountIdentifierOutput, p as GetAccountInput, q as GetAccountOutput, r as GetAccountsByOwnerInput, s as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, g as GetTransactionByIdOutput, h as GetTransactionsByIdReferenceInput, i as GetTransactionsByReferenceIdOutput, j as GetTransactionsInput, k as GetTransactionsOutput, X as IncludeRelation, Y as InferResultType, x as ListAccountIdentifiersInput, y as ListAccountIdentifiersOutput, L as ListAccountsInput, u as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as RefundTransactionInput, f as RefundTransactionOutput, Z as TransactionInsertType, U as UpdateAccountInput, n as UpdateAccountOutput, H as UpdateTransactionConfirmationSentAtInput, I as UpdateTransactionConfirmationSentAtOutput, J as UpdateTransactionStatusInput, K as UpdateTransactionStatusOutput, _ as cancelTransactionInputSchema, $ as createAccountInputSchema, a0 as createTransactionInputSchema, a1 as deleteAccountInputSchema, a2 as failTransactionInputSchema, a3 as findAccountByIdentifierInputSchema, a4 as getAccountBalanceInputSchema, a5 as getAccountIdentifierInputSchema, a6 as getAccountInputSchema, a7 as getAccountsByOwnerInputSchema, a8 as getTransactionByIdInputSchema, a9 as getTransactionsByReferenceIdInputSchema, aa as getTransactionsInputSchema, ab as listAccountIdentifiersInputSchema, ac as listAccountsInputSchema, ad as matchTransactionInputSchema, ae as refundTransactionInputSchema, af as updateAccountInputSchema, ag as updateTransactionConfirmationSentAtInputSchema, ah as updateTransactionStatusInputSchema } from './shared/ledger.
|
|
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 CHARGE_BEARERS, h as COUNTRY_CODES, i as ChargeBearer, j as CountryCode, k as CryptoNetworkCode, l as Currency, m as CurrencyCode, E as ENTRY_STATUSES, n as EntryMetadata, o as EntryStatus, I as IDENTIFIER_KINDS, p as IdentifierKind, P as PAYMENT_DIRECTIONS, q as PAYMENT_STATUSES, r as PAYMENT_TYPES, s as PaymentDirection, t as PaymentStatus, u as PaymentType, R as REFERENCE_TYPES, v as REFUNDABLE_TRANSACTION_STATUSES, w as ReferenceType, T as TRANSACTION_STATUSES, x as TRANSACTION_TYPES, y as TransactionMetadata, z as TransactionStatus, D as TransactionType } from './shared/ledger.CT5yBFAm.js';
|
|
2
|
+
import { T as TransactionSelectType } from './shared/ledger.DKJ1Mplk.js';
|
|
3
|
+
export { N as AccountIdentifierInsertType, O as AccountIdentifierMappingInsertType, P as AccountIdentifierMappingSelectType, Q as AccountIdentifierSelectType, S as AccountInsertType, V as AccountSelectType, W as AccountWithIdentifiersSelectType, d as CancelTransactionInput, e as CancelTransactionOutput, l as CreateAccountInput, m as CreateAccountOutput, C as CreateTransactionInput, a as CreateTransactionOutput, D as DeleteAccountInput, o as DeleteAccountOutput, F as FailTransactionInput, c as FailTransactionOutput, z as FindAccountByIdentifierInput, A as FindAccountByIdentifierOutput, B as GetAccountBalanceInput, E as GetAccountBalanceOutput, v as GetAccountIdentifierInput, w as GetAccountIdentifierOutput, p as GetAccountInput, q as GetAccountOutput, r as GetAccountsByOwnerInput, s as GetAccountsByOwnerOutput, G as GetTransactionByIdInput, g as GetTransactionByIdOutput, h as GetTransactionsByIdReferenceInput, i as GetTransactionsByReferenceIdOutput, j as GetTransactionsInput, k as GetTransactionsOutput, X as IncludeRelation, Y as InferResultType, x as ListAccountIdentifiersInput, y as ListAccountIdentifiersOutput, L as ListAccountsInput, u as ListAccountsOutput, M as MatchTransactionInput, b as MatchTransactionOutput, R as RefundTransactionInput, f as RefundTransactionOutput, Z as TransactionInsertType, U as UpdateAccountInput, n as UpdateAccountOutput, H as UpdateTransactionConfirmationSentAtInput, I as UpdateTransactionConfirmationSentAtOutput, J as UpdateTransactionStatusInput, K as UpdateTransactionStatusOutput, _ as cancelTransactionInputSchema, $ as createAccountInputSchema, a0 as createTransactionInputSchema, a1 as deleteAccountInputSchema, a2 as failTransactionInputSchema, a3 as findAccountByIdentifierInputSchema, a4 as getAccountBalanceInputSchema, a5 as getAccountIdentifierInputSchema, a6 as getAccountInputSchema, a7 as getAccountsByOwnerInputSchema, a8 as getTransactionByIdInputSchema, a9 as getTransactionsByReferenceIdInputSchema, aa as getTransactionsInputSchema, ab as listAccountIdentifiersInputSchema, ac as listAccountsInputSchema, ad as matchTransactionInputSchema, ae as refundTransactionInputSchema, af as updateAccountInputSchema, ag as updateTransactionConfirmationSentAtInputSchema, ah as updateTransactionStatusInputSchema } from './shared/ledger.DKJ1Mplk.js';
|
|
4
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';
|
package/dist/types.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 CHARGE_BEARERS, d as COUNTRY_CODES, E as ENTRY_STATUSES, I as IDENTIFIER_KINDS, P as PAYMENT_DIRECTIONS, e as PAYMENT_STATUSES, f as PAYMENT_TYPES, R as REFERENCE_TYPES, g as REFUNDABLE_TRANSACTION_STATUSES, T as TRANSACTION_STATUSES, h as TRANSACTION_TYPES, i as cancelTransactionInputSchema, j as createAccountInputSchema, k as createTransactionInputSchema, l as deleteAccountInputSchema, m as failTransactionInputSchema, n as findAccountByIdentifierInputSchema, o as getAccountBalanceInputSchema, p as getAccountIdentifierInputSchema, q as getAccountInputSchema, r as getAccountsByOwnerInputSchema, s as getTransactionByIdInputSchema, t as getTransactionsByReferenceIdInputSchema, u as getTransactionsInputSchema, v as listAccountIdentifiersInputSchema, w as listAccountsInputSchema, x as matchTransactionInputSchema, y as refundTransactionInputSchema, z as updateAccountInputSchema, D as updateTransactionConfirmationSentAtInputSchema, F as updateTransactionStatusInputSchema } from './shared/ledger.Bb6l1o9P.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.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"author": "Develit.io s.r.o.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@cloudflare/workers-types": "^4.20251202.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@develit-io/backend-sdk": "^9.
|
|
53
|
-
"@develit-io/general-codes": "^1.
|
|
52
|
+
"@develit-io/backend-sdk": "^9.10.3",
|
|
53
|
+
"@develit-io/general-codes": "^1.15.0",
|
|
54
54
|
"drizzle-orm": "^0.45.0",
|
|
55
55
|
"zod": "^4.1.13"
|
|
56
56
|
}
|