@develit-services/bank 0.7.5 → 0.7.7

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.
Files changed (32) hide show
  1. package/dist/database/schema.cjs +1 -1
  2. package/dist/database/schema.d.cts +1 -1
  3. package/dist/database/schema.d.mts +1 -1
  4. package/dist/database/schema.d.ts +1 -1
  5. package/dist/database/schema.mjs +1 -1
  6. package/dist/export/worker.cjs +4 -5
  7. package/dist/export/worker.d.cts +30 -27
  8. package/dist/export/worker.d.mts +30 -27
  9. package/dist/export/worker.d.ts +30 -27
  10. package/dist/export/worker.mjs +4 -5
  11. package/dist/export/workflows.cjs +4 -4
  12. package/dist/export/workflows.mjs +4 -4
  13. package/dist/shared/{bank.CTqIXnHg.cjs → bank.7tVPcX9l.cjs} +2 -2
  14. package/dist/shared/{bank.wq0LUeFW.mjs → bank.C5nVngk9.mjs} +1 -1
  15. package/dist/shared/{bank.CBQJX5Zr.cjs → bank.CDLlfzki.cjs} +1 -1
  16. package/dist/shared/{bank.C6_7Rch8.d.cts → bank.CJAPmWGK.d.cts} +85 -81
  17. package/dist/shared/{bank.C6_7Rch8.d.mts → bank.CJAPmWGK.d.mts} +85 -81
  18. package/dist/shared/{bank.C6_7Rch8.d.ts → bank.CJAPmWGK.d.ts} +85 -81
  19. package/dist/shared/{bank.BVIkpji3.d.cts → bank.COC0tqmL.d.cts} +2 -0
  20. package/dist/shared/{bank.BVIkpji3.d.mts → bank.COC0tqmL.d.mts} +2 -0
  21. package/dist/shared/{bank.BVIkpji3.d.ts → bank.COC0tqmL.d.ts} +2 -0
  22. package/dist/shared/{bank.DlW1XNug.cjs → bank.CTLxLhFX.cjs} +1 -1
  23. package/dist/shared/{bank.CTtFAN03.mjs → bank.Co1V8lgi.mjs} +1 -1
  24. package/dist/shared/{bank.D7kwLMqF.cjs → bank.DF8G4iKu.cjs} +2 -0
  25. package/dist/shared/{bank.BnIYdBEF.mjs → bank.DixDj12f.mjs} +2 -0
  26. package/dist/shared/{bank.e8T8fQDG.mjs → bank.FXsG6L3j.mjs} +2 -2
  27. package/dist/types.cjs +2 -2
  28. package/dist/types.d.cts +3 -3
  29. package/dist/types.d.mts +3 -3
  30. package/dist/types.d.ts +3 -3
  31. package/dist/types.mjs +2 -2
  32. package/package.json +3 -3
package/dist/types.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.C6_7Rch8.cjs';
2
- export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.C6_7Rch8.cjs';
1
+ import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.CJAPmWGK.cjs';
2
+ export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.CJAPmWGK.cjs';
3
3
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.cjs';
4
4
  import { BaseEvent } from '@develit-io/backend-sdk';
5
5
  import * as drizzle_zod from 'drizzle-zod';
6
6
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
7
7
  import { z } from 'zod';
8
- import { S as SendPaymentInput } from './shared/bank.BVIkpji3.cjs';
8
+ import { S as SendPaymentInput } from './shared/bank.COC0tqmL.cjs';
9
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
10
10
  import 'drizzle-orm';
11
11
 
package/dist/types.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.C6_7Rch8.mjs';
2
- export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.C6_7Rch8.mjs';
1
+ import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.CJAPmWGK.mjs';
2
+ export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.CJAPmWGK.mjs';
3
3
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.mjs';
4
4
  import { BaseEvent } from '@develit-io/backend-sdk';
5
5
  import * as drizzle_zod from 'drizzle-zod';
6
6
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
7
7
  import { z } from 'zod';
8
- import { S as SendPaymentInput } from './shared/bank.BVIkpji3.mjs';
8
+ import { S as SendPaymentInput } from './shared/bank.COC0tqmL.mjs';
9
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
10
10
  import 'drizzle-orm';
11
11
 
package/dist/types.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.C6_7Rch8.js';
2
- export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.C6_7Rch8.js';
1
+ import { I as IBankConnector, a as ConnectorKey, b as ConnectedAccount, c as PaymentType, d as AccountCredentialsInsertType, e as AccountInsertType, f as BatchedPayment, g as InitiatedPayment, h as InitiatedBatch, A as AccountSelectType, i as ParsedBankPayment, j as PaymentStatus, k as BatchStatus, l as IncomingPayment, m as BatchMetadata, n as CurrencyCode, o as BankCode, p as CountryCode, q as Currency, P as PaymentSelectType, r as AccountAssignedPayment, s as PreparedPayment, u as CompletedPayment } from './shared/bank.CJAPmWGK.js';
2
+ export { v as ACCOUNT_STATUSES, w as AccountCredentialsPatchType, x as AccountCredentialsSelectType, y as AccountCredentialsUpdateType, z as AccountPatchType, D as AccountStatus, E as AccountUpdateType, F as BATCH_STATUES, F as BATCH_STATUSES, G as BankAccountWithLastSync, H as BatchInsertType, J as BatchLifecycle, K as BatchPayment, B as BatchSelectType, M as CHARGE_BEARERS, N as CONNECTOR_KEYS, O as COUNTRY_CODES, Q as CREDENTIALS_TYPES, R as ChargeBearer, S as CompletedBatch, C as ConfigEnvironmentBank, T as CreatedBatch, U as CredentialsType, V as INSTRUCTION_PRIORITIES, W as InstructionPriority, L as LastSyncMetadata, X as PAYMENT_DIRECTIONS, Y as PAYMENT_STATUSES, Z as PAYMENT_TYPES, _ as PaymentDirection, $ as PaymentFailedInsertType, a0 as PaymentInsertType, a1 as PaymentLifecycle, a2 as PaymentPreparedInsertType, a3 as ProcessingBatch, a4 as ReadyToSignBatch, a5 as SignedBatch, a6 as TOKEN_TYPES, a7 as TokenType, a8 as accountCredentialsInsertSchema, a9 as accountCredentialsSelectSchema, aa as accountCredentialsUpdateSchema, ab as accountInsertSchema, ac as accountSelectSchema, ad as accountUpdateSchema, ae as hasPaymentAccountAssigned, af as isBatchCompleted, ag as isBatchFailed, ah as isBatchInitiated, ai as isBatchOpen, aj as isBatchProcessing, ak as isBatchReadyToSign, al as isBatchSigned, am as isPaymentCompleted, an as isPaymentPrepared } from './shared/bank.CJAPmWGK.js';
3
3
  export { a as BankServiceEnv, b as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BC06Rbrx.js';
4
4
  import { BaseEvent } from '@develit-io/backend-sdk';
5
5
  import * as drizzle_zod from 'drizzle-zod';
6
6
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
7
7
  import { z } from 'zod';
8
- import { S as SendPaymentInput } from './shared/bank.BVIkpji3.js';
8
+ import { S as SendPaymentInput } from './shared/bank.COC0tqmL.js';
9
9
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
10
10
  import 'drizzle-orm';
11
11
 
package/dist/types.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, M as MockCobsConnector, c as MockConnector, d as assignAccount, e as batchTransform, s as signFinbricksJws, t as toBatchedPayment, f as toCompletedPayment, g as toIncomingPayment, h as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.wq0LUeFW.mjs';
2
- export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, a as CONNECTOR_KEYS, b as COUNTRY_CODES, c as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, P as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, e as PAYMENT_TYPES, T as TOKEN_TYPES, f as accountCredentialsInsertSchema, g as accountCredentialsSelectSchema, h as accountCredentialsUpdateSchema, i as accountInsertSchema, j as accountSelectSchema, k as accountUpdateSchema, o as ottInsertSchema, l as ottSelectSchema, m as ottUpdateSchema } from './shared/bank.BnIYdBEF.mjs';
1
+ export { D as DbuConnector, E as ErsteConnector, F as FINBRICKS_ENDPOINTS, a as FinbricksClient, b as FinbricksConnector, I as IBankConnector, M as MockCobsConnector, c as MockConnector, d as assignAccount, e as batchTransform, s as signFinbricksJws, t as toBatchedPayment, f as toCompletedPayment, g as toIncomingPayment, h as toPreparedPayment, u as useFinbricksFetch } from './shared/bank.C5nVngk9.mjs';
2
+ export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, a as CONNECTOR_KEYS, b as COUNTRY_CODES, c as CREDENTIALS_TYPES, I as INSTRUCTION_PRIORITIES, P as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, e as PAYMENT_TYPES, T as TOKEN_TYPES, f as accountCredentialsInsertSchema, g as accountCredentialsSelectSchema, h as accountCredentialsUpdateSchema, i as accountInsertSchema, j as accountSelectSchema, k as accountUpdateSchema, o as ottInsertSchema, l as ottSelectSchema, m as ottUpdateSchema } from './shared/bank.DixDj12f.mjs';
3
3
  export { h as hasPaymentAccountAssigned, i as isBatchCompleted, a as isBatchFailed, b as isBatchInitiated, c as isBatchOpen, d as isBatchProcessing, e as isBatchReadyToSign, f as isBatchSigned, g as isPaymentCompleted, j as isPaymentPrepared } from './shared/bank.CbAwwIhZ.mjs';
4
4
  export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
5
5
  import '@develit-io/backend-sdk';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/bank",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -56,8 +56,8 @@
56
56
  "jose": "^6.1.3"
57
57
  },
58
58
  "peerDependencies": {
59
- "@develit-io/backend-sdk": "^9.8.1",
60
- "@develit-io/general-codes": "^1.14.0",
59
+ "@develit-io/backend-sdk": "^9.10.3",
60
+ "@develit-io/general-codes": "^1.15.0",
61
61
  "drizzle-orm": "^0.45.0",
62
62
  "drizzle-zod": "^0.8.3",
63
63
  "zod": "^4.1.13"