@develit-services/bank 0.0.41 → 0.0.43
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 +2 -1
- package/dist/database/schema.d.mts +2 -1
- package/dist/database/schema.d.ts +2 -1
- package/dist/database/schema.mjs +2 -2
- package/dist/export/worker.cjs +229 -224
- package/dist/export/worker.d.cts +1825 -46
- package/dist/export/worker.d.mts +1825 -46
- package/dist/export/worker.d.ts +1825 -46
- package/dist/export/worker.mjs +230 -225
- package/dist/shared/{bank.E-nyO12E.mjs → bank.6WoCPIFy.mjs} +1 -1
- package/dist/shared/{bank.e_XSg9KV.d.cts → bank.B7uB4cyW.d.cts} +154 -60
- package/dist/shared/{bank.e_XSg9KV.d.mts → bank.B7uB4cyW.d.mts} +154 -60
- package/dist/shared/{bank.e_XSg9KV.d.ts → bank.B7uB4cyW.d.ts} +154 -60
- package/dist/shared/{bank.DBgpADhg.cjs → bank.BPcrbUBa.cjs} +1 -1
- package/dist/shared/{bank.C2tmTjwq.cjs → bank.BVzOzXdX.cjs} +85 -51
- package/dist/shared/{bank.HuMp6uP6.mjs → bank.BWcFhTu1.mjs} +84 -52
- package/dist/shared/{bank.BmcSkaZh.d.mts → bank.B_JR9YGK.d.cts} +359 -19
- package/dist/shared/{bank.CELgdPJI.d.cts → bank.C9Z9B0Po.d.ts} +359 -19
- package/dist/shared/{bank.C_BFyEi4.d.ts → bank.Dadvg35r.d.mts} +359 -19
- package/dist/types.cjs +5 -3
- package/dist/types.d.cts +5 -4
- package/dist/types.d.mts +5 -4
- package/dist/types.d.ts +5 -4
- package/dist/types.mjs +3 -3
- package/package.json +1 -1
package/dist/types.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const database_schema = require('./shared/bank.
|
|
4
|
-
const mockCobs_connector = require('./shared/bank.
|
|
3
|
+
const database_schema = require('./shared/bank.BVzOzXdX.cjs');
|
|
4
|
+
const mockCobs_connector = require('./shared/bank.BPcrbUBa.cjs');
|
|
5
5
|
const generalCodes = require('@develit-io/general-codes');
|
|
6
6
|
require('@develit-io/backend-sdk');
|
|
7
7
|
require('drizzle-orm/sqlite-core');
|
|
8
|
+
require('date-fns');
|
|
8
9
|
require('drizzle-orm');
|
|
9
10
|
require('zod');
|
|
10
11
|
require('jose');
|
|
11
12
|
require('drizzle-zod');
|
|
12
|
-
require('date-fns');
|
|
13
13
|
require('drizzle-orm/relations');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -17,6 +17,7 @@ require('drizzle-orm/relations');
|
|
|
17
17
|
exports.ACCOUNT_STATUSES = database_schema.ACCOUNT_STATUSES;
|
|
18
18
|
exports.BATCH_STATUES = database_schema.BATCH_STATUSES;
|
|
19
19
|
exports.BATCH_STATUSES = database_schema.BATCH_STATUSES;
|
|
20
|
+
exports.CHARGE_BEARERS = database_schema.CHARGE_BEARERS;
|
|
20
21
|
exports.CONNECTOR_KEYS = database_schema.CONNECTOR_KEYS;
|
|
21
22
|
exports.COUNTRY_CODES = database_schema.COUNTRY_CODES;
|
|
22
23
|
exports.CREDENTIALS_TYPES = database_schema.CREDENTIALS_TYPES;
|
|
@@ -25,6 +26,7 @@ exports.FINBRICKS_ENDPOINTS = database_schema.FINBRICKS_ENDPOINTS;
|
|
|
25
26
|
exports.FinbricksClient = database_schema.FinbricksClient;
|
|
26
27
|
exports.FinbricksConnector = database_schema.FinbricksConnector;
|
|
27
28
|
exports.IBankConnector = database_schema.IBankConnector;
|
|
29
|
+
exports.INSTRUCTION_PRIORITIES = database_schema.INSTRUCTION_PRIORITIES;
|
|
28
30
|
exports.MockConnector = database_schema.MockConnector;
|
|
29
31
|
exports.PAYMENT_DIRECTIONS = database_schema.PAYMENT_DIRECTIONS;
|
|
30
32
|
exports.PAYMENT_STATUSES = database_schema.PAYMENT_STATUSES;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export {
|
|
3
|
-
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.B_JR9YGK.cjs';
|
|
2
|
+
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.B_JR9YGK.cjs';
|
|
3
|
+
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.B7uB4cyW.cjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.B7uB4cyW.cjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.cjs';
|
|
@@ -600,6 +600,7 @@ interface ErsteObtainAuthorizationURLResponse {
|
|
|
600
600
|
|
|
601
601
|
type BankPaymentEvent = BaseEvent & {
|
|
602
602
|
eventType: 'BANK_PAYMENT';
|
|
603
|
+
eventSignal: 'created' | 'completed' | 'failed';
|
|
603
604
|
bankPayment: Partial<PaymentSelectType>;
|
|
604
605
|
};
|
|
605
606
|
|
package/dist/types.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export {
|
|
3
|
-
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.Dadvg35r.mjs';
|
|
2
|
+
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.Dadvg35r.mjs';
|
|
3
|
+
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.B7uB4cyW.mjs';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.B7uB4cyW.mjs';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.mjs';
|
|
@@ -600,6 +600,7 @@ interface ErsteObtainAuthorizationURLResponse {
|
|
|
600
600
|
|
|
601
601
|
type BankPaymentEvent = BaseEvent & {
|
|
602
602
|
eventType: 'BANK_PAYMENT';
|
|
603
|
+
eventSignal: 'created' | 'completed' | 'failed';
|
|
603
604
|
bankPayment: Partial<PaymentSelectType>;
|
|
604
605
|
};
|
|
605
606
|
|
package/dist/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.
|
|
2
|
-
export {
|
|
3
|
-
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.
|
|
4
|
-
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.
|
|
1
|
+
import { I as IBankConnector, b as IncomingPaymentMessage, c as InitiatedPayment, a as ConnectorKey, d as ConnectedAccount, e as AccountCredentialsInsertType, f as AccountInsertType, P as PaymentPreparedInsertType, g as InitiatedBatch, B as BatchMetadata, A as AccountSelectType, h as PaymentStatus, i as BatchStatus, j as CurrencyCode, k as BankCode, l as CountryCode, m as AuthInput, n as Currency } from './shared/bank.C9Z9B0Po.js';
|
|
2
|
+
export { D as ACCOUNT_STATUSES, Y as AccountCredentialsPatchType, Z as AccountCredentialsSelectType, X as AccountCredentialsUpdateType, S as AccountPatchType, E as AccountStatus, R as AccountUpdateType, q as BATCH_STATUES, q as BATCH_STATUSES, G as BankAccountWithLastSync, t as CHARGE_BEARERS, H as CONNECTOR_KEYS, F as COUNTRY_CODES, J as CREDENTIALS_TYPES, u as ChargeBearer, C as ConfigEnvironmentBank, K as CredentialsType, v as INSTRUCTION_PRIORITIES, w as InstructionPriority, O as OutgoingPaymentMessage, y as PAYMENT_DIRECTIONS, x as PAYMENT_STATUSES, r as PAYMENT_TYPES, z as PaymentDirection, o as PaymentFailedInsertType, s as PaymentType, T as TOKEN_TYPES, L as TokenType, U as accountCredentialsInsertSchema, W as accountCredentialsSelectSchema, V as accountCredentialsUpdateSchema, M as accountInsertSchema, Q as accountSelectSchema, N as accountUpdateSchema, p as paymentInitializedInsertType } from './shared/bank.C9Z9B0Po.js';
|
|
3
|
+
import { a as PaymentInsertType, t as tables, P as PaymentSelectType } from './shared/bank.B7uB4cyW.js';
|
|
4
|
+
export { b as BatchInsertType, B as BatchSelectType, p as paymentInsertTypeZod } from './shared/bank.B7uB4cyW.js';
|
|
5
5
|
import { Environment, BaseEvent } from '@develit-io/backend-sdk';
|
|
6
6
|
import { DrizzleD1Database } from 'drizzle-orm/d1';
|
|
7
7
|
export { b as BankServiceEnv, a as BankServiceEnvironmentConfig, B as BankServiceWranglerConfig } from './shared/bank.BchnXQDL.js';
|
|
@@ -600,6 +600,7 @@ interface ErsteObtainAuthorizationURLResponse {
|
|
|
600
600
|
|
|
601
601
|
type BankPaymentEvent = BaseEvent & {
|
|
602
602
|
eventType: 'BANK_PAYMENT';
|
|
603
|
+
eventSignal: 'created' | 'completed' | 'failed';
|
|
603
604
|
bankPayment: Partial<PaymentSelectType>;
|
|
604
605
|
};
|
|
605
606
|
|
package/dist/types.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES,
|
|
2
|
-
export { M as MockCobsConnector } from './shared/bank.
|
|
1
|
+
export { A as ACCOUNT_STATUSES, B as BATCH_STATUES, B as BATCH_STATUSES, C as CHARGE_BEARERS, g as CONNECTOR_KEYS, f as COUNTRY_CODES, h as CREDENTIALS_TYPES, E as ErsteConnector, b as FINBRICKS_ENDPOINTS, a as FinbricksClient, F as FinbricksConnector, I as IBankConnector, c as INSTRUCTION_PRIORITIES, M as MockConnector, e as PAYMENT_DIRECTIONS, d as PAYMENT_STATUSES, P as PAYMENT_TYPES, T as TOKEN_TYPES, l as accountCredentialsInsertSchema, n as accountCredentialsSelectSchema, m as accountCredentialsUpdateSchema, i as accountInsertSchema, k as accountSelectSchema, j as accountUpdateSchema, o as ottInsertSchema, r as ottSelectSchema, q as ottUpdateSchema, p as paymentInsertTypeZod, s as signFinbricksJws, u as useFinbricksFetch } from './shared/bank.BWcFhTu1.mjs';
|
|
2
|
+
export { M as MockCobsConnector } from './shared/bank.6WoCPIFy.mjs';
|
|
3
3
|
export { BANK_CODES, CURRENCY_CODES } from '@develit-io/general-codes';
|
|
4
4
|
import '@develit-io/backend-sdk';
|
|
5
5
|
import 'drizzle-orm/sqlite-core';
|
|
6
|
+
import 'date-fns';
|
|
6
7
|
import 'drizzle-orm';
|
|
7
8
|
import 'zod';
|
|
8
9
|
import 'jose';
|
|
9
10
|
import 'drizzle-zod';
|
|
10
|
-
import 'date-fns';
|
|
11
11
|
import 'drizzle-orm/relations';
|